]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Cast to uint64_t for 64-bit store
[thirdparty/glibc.git] / ChangeLog
CommitLineData
63bbedd4
JM
12012-09-18 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4 (tst-writev-ENV): Remove.
5 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6
626f8b6a
CM
72012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8
9 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10
b7aaa4d6
JM
112012-09-17 Joseph Myers <joseph@codesourcery.com>
12
13 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14 unconditional.
15 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16 Likewise.
17 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20 Likewise.
21
65513990
L
222012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23
24 [BZ #14587]
25 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26 * config.make.in (have-cpp-asm-debuginfo): Removed.
27 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28 * configure: Regenerated.
29
784761be
JM
302012-09-14 Joseph Myers <joseph@codesourcery.com>
31
32 [BZ #5044]
33 * stdio-common/printf_fp.c: Include <stdbool.h> and
34 <rounding-mode.h>.
35 (___printf_fp): Determine rounding using get_rounding_mode and
36 round_away.
37 * stdio-common/tst-printf-round.c: New file.
38 * stdio-common/Makefile (tests): Add tst-printf-round.
39 (link-libm): New variable.
40 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41
9503345f
L
422012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43
44 [BZ #14576]
45 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47 Likewise.
48 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49 Likewise.
50
ad35fc00
JM
512012-09-13 Joseph Myers <joseph@codesourcery.com>
52
53 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57
6c9b0f68
JM
582012-09-12 Joseph Myers <joseph@codesourcery.com>
59
60 [BZ #14518]
61 * include/rounding-mode.h: New file.
62 * sysdeps/generic/get-rounding-mode.h: Likewise.
63 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65 (MAX_VALUE): New macro.
66 (MIN_VALUE): Likewise.
67 (overflow_value): New function.
68 (underflow_value): Likewise.
69 (round_and_return): Use overflow_value and underflow_value to
70 determine return values in overflow and underflow cases. Use
71 round_away to determine rounding depending on rounding mode.
72 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73 determine return values in overflow and underflow cases.
74 * stdlib/tst-strtod-round.c: Include <fenv.h>.
75 (struct test_results): New structure.
76 (struct test): Use struct test_results to store expected results
77 for all rounding modes.
78 (TEST): Include expected results for all rounding modes.
79 (test_in_one_mode): New function.
80 (do_test): Use test_in_one_mode to compute and check results.
81 Check results for all rounding modes.
82 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
83 $(link-libm).
84
19fcedd5
AM
852012-12-09 Allan McRae <allan@archlinux.org>
86
87 * sysdeps/i386/fpu/libm-test-ulps: Update
88
8bbfd2f1
JM
892012-09-11 Joseph Myers <joseph@codesourcery.com>
90
91 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
92 (_G_int32_t): Likewise.
93 (_G_uint16_t): Likewise.
94 (_G_uint32_t): Likewise.
95 (_G_HAVE_BOOL): Likewise.
96 (_G_HAVE_ATEXIT): Likewise.
97 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
98 (_G_HAVE_IO_FILE_OPEN): Likewise.
99 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
100 (_G_int32_t): Likewise.
101 (_G_uint16_t): Likewise.
102 (_G_uint32_t): Likewise.
103 (_G_HAVE_BOOL): Likewise.
104 (_G_HAVE_ATEXIT): Likewise.
105 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
106 (_G_HAVE_IO_FILE_OPEN): Likewise.
107 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
108 (_G_int32_t): Likewise.
109 (_G_uint16_t): Likewise.
110 (_G_uint32_t): Likewise.
111 (_G_HAVE_BOOL): Likewise.
112 (_G_HAVE_ATEXIT): Likewise.
113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
114 (_G_HAVE_IO_FILE_OPEN): Likewise.
115
b1dc5912
L
1162012-09-11 H.J. Lu <hongjiu.lu@intel.com>
117
118 * csu/libc-tls.c: Update copyright years.
119
0e886ef9
JM
1202012-09-10 Joseph Myers <joseph@codesourcery.com>
121
28361c5e
JM
122 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
123 [!_G_USING_THUNKS]: Remove conditional code.
124 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
125 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
126
0e886ef9
JM
127 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
128 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
129 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
130 (_G_VTABLE_LABEL_PREFIX): Likewise.
131 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
132 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
133 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
134 (_G_VTABLE_LABEL_PREFIX): Likewise.
135 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
136 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
137 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
138 (_G_VTABLE_LABEL_PREFIX): Likewise.
139 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
140
bcba7aa2
L
1412012-09-10 H.J. Lu <hongjiu.lu@intel.com>
142
143 * libio/Makefile: Include ../Makeconfig before tests.
144 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
145 only if $(build-shared) is yes.
146
06585ee8
L
147 * iconv/gconv_db.c: Update copyright years.
148
80ccd52c
LD
1492012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
150
151 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
152 unwind info if defined PIC. Fix special cases description.
153 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
154
155 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
156 DP_HI_MASK entry.
157 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
158
691bc9c1
L
1592012-09-07 H.J. Lu <hongjiu.lu@intel.com>
160
3d9b46b3
L
161 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
162
de2139a9
L
163 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
164 is NULL.
165
5ca78dd0
L
166 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
167 (LDLIBS-tst-chk4): This.
168 (LDFLAGS-tst-chk5): Renamed to ...
169 (LDLIBS-tst-chk5): This.
170 (LDFLAGS-tst-chk6): Renamed to ...
171 (LDLIBS-tst-chk6): This.
172 (LDFLAGS-tst-lfschk4): Renamed to ...
173 (LDLIBS-tst-lfschk4): This.
174 (LDFLAGS-tst-lfschk5): Renamed to ...
175 (LDLIBS-tst-lfschk5): This.
176 (LDFLAGS-tst-lfschk6): Renamed to ...
177 (LDLIBS-tst-lfschk6): This.
178
691bc9c1
L
179 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
180 on $(common-objpfx)soversions.mk.
181
65cafb1c
JM
1822012-09-07 Joseph Myers <joseph@codesourcery.com>
183
184 [BZ #10014]
185 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
186 example host name.
187
c78ab094
SP
1882012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
189
190 * malloc/arena.c (arena_get_retry): New function that gets
191 another arena for the caller to try its request on.
192 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
193 current arena cannot fulfill the request.
194 (__libc_memalign): Likewise.
195 (__libc_memalign): Likewise.
196 (__libc_pvalloc): Likewise.
197 (__libc_calloc): Likewise.
198
01f49f59
JT
1992012-09-05 John Tobey <john.tobey@gmail.com>
200
201 [BZ #13542]
202 * manual/arith.texi (Operations on Complex): Fix description
203 of carg branch cut.
204
4c23fed5
JM
2052012-09-06 Joseph Myers <joseph@codesourcery.com>
206
1d3c8572
JM
207 [BZ #10014]
208 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
209 host name.
210
4c23fed5
JM
211 [BZ #10038]
212 * manual/memory.texi (Memory): Make order of menu items match
213 order of sections.
214
04570aaa
L
2152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
216
217 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
218 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
219 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
220
b80af2f4
L
2212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
222
223 * csu/libc-tls.c (static_dtv): Renamed to ...
224 (_dl_static_dtv): This. Make it global.
225 (_dl_initial_dtv): Removed.
226 (__libc_setup_tls): Updated.
227 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
228 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
229 DL_INITIAL_DTV.
230
2abe9f15
PM
2312012-09-06 Petr Machata <pmachata@redhat.com>
232
233 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
234 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
235 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
236 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
237
0948c3af
L
2382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
239
240 [BZ #14545]
241 * csu/libc-tls.c (_dl_initial_dtv): New variable.
242 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
243 freeing dtv[-1].
244
a5055ad1
L
2452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #14544]
248 * Makeconfig (link-static-before-libc): Replace $(+prector)
249 with $(+prectorT).
250 (link-static-after-libc): Replace $(+postctor) with
251 $(+postctorT).
252 (link-bounded): Replace $(+prector)/$(+postctor) with
253 $(+prectorT)/$(+postctorT).
254 (+prectorT): New macro.
255 (+postctorT): Likewise.
256
ed8c2ecd
JM
2572012-09-06 Joseph Myers <joseph@codesourcery.com>
258
259 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
260 (round_str): Handle values above the maximum for IBM long double
261 as inexact.
262 * stdlib/tst-strtod-round.c (tests): Regenerated.
263
14c996c8
AK
2642012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
265
266 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
267 assembler flag.
268 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
269 zarch_nohighgprs around the zarch optimized routines.
270 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
271 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
273 for zarch.
274
430d6ce6
DM
2752012-09-05 David S. Miller <davem@davemloft.net>
276
277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
278
ff04dda4
DM
279 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
280 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
281 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
282 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
283 entries.
284
24d4e01b
AO
2852012-09-05 Alexandre Oliva <aoliva@redhat.com>
286
287 * malloc/arena.c: Fold copyright years.
288 * malloc/mcheck.c, malloc/memusage.c: Likewise.
289
61d58174
AO
2902012-09-05 Alexandre Oliva <aoliva@redhat.com>
291
292 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
293
20196a5e
AO
2942012-09-05 Alexandre Oliva <aoliva@redhat.com>
295
296 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
297
5c447383
AO
2982012-09-05 Alexandre Oliva <aoliva@redhat.com>
299
300 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
301 change internal state upon failure.
302
fad64255
AO
3032012-09-05 Alexandre Oliva <aoliva@redhat.com>
304
305 * malloc/mcheck.c (mcheck_check_all): Fix typo.
306 * malloc/memusage.c (mmap): Likewise.
307 (mmap64, mremap): Likewise. Adjust name in comment.
308
1ffb8c90
SP
3092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
310
311 * libio/fileops.c: Fix typos in comments.
312 * libio/oldfileops.c: Likewise.
313 * libio/wfileops.c: Likewise.
314
6ef9cc37
SP
3152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
316
317 [BZ #1349]
318 * malloc/Makefile (tests): Add tst-malloc-usable test case.
319 (tst-malloc-usable-ENV): Set environment for test case.
320 * malloc/hooks.c (malloc_check_get_size): New function to get
321 requested size.
322 * malloc/malloc.c (musable): Use malloc_check_get_size.
323 * malloc/tst-malloc-usable.c: New test case.
324
4d038ae3
AS
3252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
326
327 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
328
c4e85184
AM
3292012-09-05 Allan McRae <allan@archlinux.org>
330
b9dafc56 331 [BZ #13966]
c4e85184
AM
332 * configure.in (CXX_SYSINCLUDES): Use compiler output to
333 determine header location.
334 * configure: Regenerated.
335
e1343020
AS
3362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
337
338 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
339 float format.
340 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
341 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
342 format.
e1343020
AS
343 (test): Regenerate.
344
0a9f1987
DM
3452012-09-04 David S. Miller <davem@davemloft.net>
346
347 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
348 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
349 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
350
29237804
FW
3512012-09-04 Florian Weimer <fweimer@redhat.com>
352
353 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
354 failures.
355
edb3cb88
FW
356 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
357
60160d83
JM
3582012-09-04 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #9914]
361 * libio/iogetdelim.c: Include <limits.h>.
362 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
363 + len + 1 would overflow.
364
bcd6c8dc
AJ
3652012-09-03 Andreas Jaeger <aj@suse.de>
366
367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369
4ffffbd2
LD
3702012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
371
372 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
373 Add s_sinf-sse2, s_conf-sse2.
374
375 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
376 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
377 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
378 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
379
380 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
381 for using routine as __sinf_ia32.
382 Use macro for function declaration and weak_alias.
383 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
384 for using routine as __cosf_ia32.
385 Use macro for function declaration and weak_alias.
386
387 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
388 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
389
390 * sysdeps/x86_64/fpu/s_sinf.S: New file.
391 * sysdeps/x86_64/fpu/s_cosf.S: New file.
392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
393
394 * math/libm-test.inc (cos_test): Add more test cases.
395 (sin_test): Likewise.
396 (sincos_test): Likewise.
397
511fa286
AK
3982012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
399
400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
401 (IFUNC_RESOLVE): Make pointers to the specialized implementations
402 hidden.
403 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
404
5f30cfec
L
4052012-09-02 H.J. Lu <hongjiu.lu@intel.com>
406
407 [BZ #14538]
408 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
409 first element of the GOT.
410 (elf_machine_load_address): Return the difference between
411 the runtime address of _DYNAMIC and elf_machine_dynamic ().
412
0786794f
AM
4132012-09-01 Allan McRae <allan@archlinux.org>
414
5f30cfec
L
415 [BZ #13412]
416 * configure.in (AWK): Require gawk version 3.0 or later.
417 * configure: Regenerated.
0786794f 418
26889eac
JM
4192012-09-01 Joseph Myers <joseph@codesourcery.com>
420
421 * sysdeps/unix/sysv/linux/kernel-features.h
422 (__ASSUME_POSIX_CPU_TIMERS): Remove.
423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
424 [__NR_clock_getres]: Make code unconditional.
425 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
426 (clock_getcpuclockid): Remove code left unreachable by removal of
427 conditionals.
428 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
429 code unconditional.
430 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
431 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
433 Make code unconditional.
434 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/clock_settime.c
437 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
438 conditional code.
439 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
440 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
441
d22e28b0
L
4422012-08-29 H.J. Lu <hongjiu.lu@intel.com>
443
444 [BZ #14476]
445 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
446 scripts/test-installation.pl.
447
448 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
449 and $ld_so_version if it is set.
450
050af9c4
SP
4512012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
452
453 [BZ #14516]
454 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
455 failure if reading from procfs failed.
456 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
457
ad845c0b
JM
4582012-08-27 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/unix/sysv/linux/kernel-features.h
461 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
462 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
463 Remove conditional code.
464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
465 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
466 Remove conditional code.
467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
468 * sysdeps/unix/sysv/linux/i386/fxstat.c
469 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
471 * sysdeps/unix/sysv/linux/i386/fxstatat.c
472 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
474 * sysdeps/unix/sysv/linux/i386/lxstat.c
475 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
477 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
478 Remove conditional code.
479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
480 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
481 Remove conditional code.
482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
483 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
484 <kernel-features.h>.
485 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
486 Remove.
487 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
488 Remove conditional code.
489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
490 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
491 Remove conditional.
492
5dbf56af
MF
4932012-08-27 Mike Frysinger <vapier@gentoo.org>
494
495 [BZ #5400]
496 * NEWS: Add fixed bug number.
497
d6e70f43
JM
4982012-08-27 Joseph Myers <joseph@codesourcery.com>
499
7efb4737
JM
500 [BZ #14519]
501 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
502 underflowing exponent in case of negative sign.
503 * stdlib/tst-strtod-round-data: Add more tests.
504 * stdlib/tst-strtod-round.c (tests): Regenerated.
505
af92131a
JM
506 [BZ #3479]
507 * stdlib/strtod_l.c (NDIG): Remove.
508 (HEXNDIG): Likewise.
509 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
510 smallest representable value.
511 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
512 lie within an exact representation of 1/2 ulp of the result.
513 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
514 unconditionally.
515 (TENS_P9_IDX): Define unconditionally.
516 (TENS_P9_SIZE): Likewise.
517 (TENS_P10_IDX): Likewise.
518 (TENS_P10_SIZE): Likewise.
519 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
520 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
521 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
522 entries for 10^2^13 and 10^2^14.
523 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
524 (TENS_P13_IDX): Define.
525 (TENS_P13_SIZE): Likewise.
526 (TENS_P14_IDX): Likewise.
527 (TENS_P14_SIZE): Likewise.
528 (_fpioconst_pow10): Change array size to
529 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
530 unconditional.
531 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
532 1024]: Add entries for 10^2^13 and 10^2^14.
533 [LAST_POW10 > _LAST_POW10]: Remove #error.
534 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
535 (_fpioconst_pow10): Change array size to
536 FPIOCONST_POW10_ARRAY_SIZE.
537 * stdlib/gen-fpioconst.c: New file.
538 * stdlib/gen-tst-strtod-round.c: Likewise.
539 * stdlib/tst-strtod-round-data: Likewise.
540 * stdlib/tst-strtod-round.c: Likewise.
541 * stdlib/Makefile (tests): Add tst-strtod-round.
542
d6e70f43
JM
543 [BZ #14459]
544 * stdlib/strtod_l.c: Include <stdint.h>.
545 (NDEBUG): Do not define.
546 (round_and_return): Change EXPONENT parameter to type intmax_t.
547 Rearrange calculations to avoid internal overflow possibilities.
548 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
549 Rearrange calculations to avoid internal overflow possibilities.
550 Assert that number fits inside MPNSIZE limbs.
551 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
552 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
553 calculations and add assertions to avoid internal overflow
554 possibilities. Add casts to avoid signed/unsigned operations.
555 * stdlib/tst-strtod-overflow.c: New file.
556 * stdlib/Makefile (tests): Add tst-strtod-overflow.
557
1f529f7d
MP
5582012-08-25 Marek Polacek <polacek@redhat.com>
559
560 * time/time.h: Fix some typos in comments.
561
59a629f1
RM
5622012-08-23 Roland McGrath <roland@hack.frob.com>
563
564 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
565 * posix/tst-rfc3484-2.c: Likewise.
566 * posix/tst-rfc3484-3.c: Likewise.
567
d3bafbc9
SM
5682012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
569
570 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
571 (EF_ARM_ABI_FLOAT_HARD): Likewise.
572
4efcc022
JM
5732012-08-23 Joseph Myers <joseph@codesourcery.com>
574
575 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
576 #include of fxstatat64.c.
577
3cc3ef96
RM
5782012-08-22 Roland McGrath <roland@hack.frob.com>
579
f04e2132
RM
580 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
581 * shadow/getspent_r.c: Likewise.
582 * shadow/getspnam.c: Likewise.
583 * shadow/getspnam_r.c: Likewise.
584 * gshadow/getsgent.c: Likewise.
585 * gshadow/getsgent_r.c: Likewise.
586 * gshadow/getsgnam.c: Likewise.
587 * gshadow/getsgnam_r.c: Likewise.
588 * inet/getnetbyad.c: Likewise.
589 * inet/getnetbyad_r.c: Likewise.
590 * inet/getnetbynm.c: Likewise.
591 * inet/getnetbynm_r.c: Likewise.
592 * inet/getnetent.c: Likewise.
593 * inet/getnetent_r.c: Likewise.
594 * inet/getproto.c: Likewise.
595 * inet/getproto_r.c: Likewise.
596 * inet/getprtent.c: Likewise.
597 * inet/getprtent_r.c: Likewise.
598 * inet/getprtname.c: Likewise.
599 * inet/getprtname_r.c: Likewise.
600 * inet/getrpcbyname.c: Likewise.
601 * inet/getrpcbyname_r.c: Likewise.
602 * inet/getrpcbynumber.c: Likewise.
603 * inet/getrpcbynumber_r.c: Likewise.
604 * inet/getrpcent.c: Likewise.
605 * inet/getrpcent_r.c: Likewise.
606 * inet/getaliasent.c: Likewise.
607 * inet/getaliasent_r.c: Likewise.
608 * inet/getaliasname.c: Likewise.
609 * inet/getaliasname_r.c: Likewise.
610 * nscd/getgrgid_r.c: Likewise.
611 * nscd/getgrnam_r.c: Likewise.
612 * nscd/gethstbyad_r.c: Likewise.
613 * nscd/gethstbynm3_r.c: Likewise.
614 * nscd/getpwnam_r.c: Likewise.
615 * nscd/getpwuid_r.c: Likewise.
616 * nscd/getsrvbynm_r.c: Likewise.
617 * nscd/getsrvbypt_r.c: Likewise.
618 * nscd/gai.c: Likewise.
619
c53d909c
RM
620 * configure.in (build_nscd): New substituted variable, set
621 by --disable-build-nscd and defaults to $use_nscd.
622 * configure: Regenerated.
623 * config.make.in (build-nscd): New substituted variable.
624 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
625 Change conditional to require [$(build-nscd) = yes] as well.
626 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
627
3cc3ef96
RM
628 [BZ# 13696]
629 * configure.in (use_nscd): New substituted variable, set by
630 --disable-nscd. If enabled, define USE_NSCD.
631 * configure: Regenerated.
632 * config.h.in: Add USE_NSCD.
633 * config.make.in (use-nscd): New substituted variable.
634 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
635 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
636 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
637 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
638 (CFLAGS-getgrnam_r.c): Likewise.
639 (CFLAGS-initgroups.c): Likewise.
640 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
641 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
642 Variables removed.
643 * inet/getnetgrent_r.c
644 (nscd_setnetgrent): New function, broken out of ...
645 (setnetgrent): ... here. Call it.
646 (innetgr): Conditionalize nscd bits on [USE_NSCD].
647 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
648 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
649 * nscd/Makefile (routines, aux): Move definitions after include of
650 Makeconfig. Conditionalize on [$(use-nscd) != no].
651 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
652 Conditionalize on [USE_NSCD].
653 (is_nscd, nscd_init_cb): Likewise.
654 (nss_load_library): Conditionalize init callback on [USE_NSCD].
655 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
656 * nss/nss_db/db-init.c: Likewise.
657 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
658 [USE_NSCD].
659 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
660 (make_request): Use it.
661 (cache_valid_p): New function.
662 (__check_pf): Use it.
663 * NEWS: Add item for --disable-nscd.
664
07e51550
DL
6652012-08-22 Dmitry V. Levin <ldv@altlinux.org>
666
667 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
668 to support sed >= 4.2.1-20-ga9bf076.
669 * configure: Regenerated.
670
35a5b08b
RM
6712012-08-22 Roland McGrath <roland@hack.frob.com>
672
673 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
674 Conditionalize whole body on [IREL].
675
8479f23a
JL
6762012-08-22 Jeff Law <law@redhat.com>
677
678 [BZ #14505]
679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
680 if the family is PF_UNSPEC.
681
48da0b21
MF
6822012-08-22 Mike Frysinger <vapier@gentoo.org>
683
684 * Makerules (lib-version): Rename from V.
685 (install-lib-nosubdir): Change V to lib-version.
686
15d0da8c
WS
6872012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
688
689 [BZ #14252]
690 * powerpc32/power6/wcschr.c: New file.
691 * powerpc32/power6/wcscpy.c: New file.
692 * powerpc32/power6/wcsrchr.c: New file.
693 * powerpc64/power6/wcschr.c: New file.
694 * powerpc64/power6/wcscpy.c: New file.
695 * powerpc64/power6/wcsrchr.c: New file.
696
bcca0895
MK
6972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
698
699 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
700 (two_way_short_needle): Use it.
5a4aaa33
RM
701 * string/strstr.c (AVAILABLE1_USES_J): Define.
702 * string/strcasestr.c: Likewise.
99677e57
MK
703
704 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
705 array references.
706 * string/strcasestr.c (TOLOWER): Make side-effect safe.
707
400726de
MK
708 [BZ #11607]
709 * NEWS: Add an entry.
710 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
711 define their defaults.
712 (two_way_short_needle): Detect end-of-string on-the-fly.
713 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
714 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
715 * string/bug-strcasestr1.c: New test.
716 * string/Makefile: Run it.
717
20a71f2c
MK
7182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
719
720 [BZ #11607]
721 * string/str-two-way.h (two_way_short_needle): Optimize matching of
722 the first character.
723
21ad0558
RM
7242012-08-21 Roland McGrath <roland@hack.frob.com>
725
726 * csu/elf-init.c (__libc_csu_irel): Function removed.
727 * csu/libc-start.c (apply_irel): New function.
728 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
729
0e1d9911
JM
7302012-08-21 Joseph Myers <joseph@codesourcery.com>
731
732 * sysdeps/unix/sysv/linux/kernel-features.h
733 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
734 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
735 <kernel-features.h>.
736 [__NR_fadvise64_64]: Make code unconditional.
737 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
738 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
739 !__NR_fadvise64_64)]: Likewise.
740 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
741 !__NR_fadvise64_64))]: Likewise.
742 [__NR_fadvise64]: Make code unconditional.
743 [!__NR_fadvise64]: Remove conditional code.
744 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
745 <kernel-features.h>.
746 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
747 unconditional.
748 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
749 conditional code.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
751 not include <kernel-features.h>.
752 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
753 unconditional.
754 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
755 conditional code.
756 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
757 include <kernel-features.h>.
758 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
759 unconditional.
760 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
761 conditional code.
762
14a50c9d
WS
7632012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
764
765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
766 slight instruction rearrangements per scrollpipe analysis.
767 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
768
c0f4faf0
RM
7692012-08-20 Roland McGrath <roland@hack.frob.com>
770
696da859
RM
771 * manual/syslog.texi (syslog; vsyslog, closelog):
772 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
773 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
774
c0f4faf0
RM
775 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
776 DSOCAPS to match condition on defining it.
777
348363b2
JM
7782012-08-20 Joseph Myers <joseph@codesourcery.com>
779
a35cbf28
JM
780 * sysdeps/unix/sysv/linux/kernel-features.h
781 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
783 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
784 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
786 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
787 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
789 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
790 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
791
445f7ecd
JM
792 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
793 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
794
348363b2
JM
795 * sysdeps/unix/sysv/linux/kernel-features.h
796 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
797 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
798 unconditional.
799 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
800 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
801 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
802 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
804 Make code unconditional.
805 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
806 (__mmap64) [!__NR_mmap2]: Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
808 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
809 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
810 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
811 [__NR_mmap2]: Make code unconditional.
812 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
813 (__mmap64) [!__NR_mmap2]: Likewise.
814
bc5bc0e5
AK
8152012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
816
817 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
818
88d506de
AJ
8192012-08-18 Andreas Jaeger <aj@suse.de>
820
821 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
822
493387d2
MF
8232012-08-18 Mike Frysinger <vapier@gentoo.org>
824
825 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
826 * include/unistd.h (__have_sock_cloexec): Likewise.
827 (__have_pipe2): Likewise.
828 (__have_dup3): Likewise.
829
a277af22
MF
8302012-08-18 Mike Frysinger <vapier@gentoo.org>
831
832 [BZ #9685]
833 * include/unistd.h (__have_pipe2): Change define into an extern int.
834 (__have_dup3): Likewise.
835 * socket/have_sock_cloexec.c: Include fcntl.h.
836 (__have_pipe2): New variable.
837 (__have_dup3): Likewise.
838
fdab8fd3
MF
8392012-08-17 Mike Frysinger <vapier@gentoo.org>
840
841 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
842
31035e80
MP
8432012-08-17 Marek Polacek <polacek@redhat.com>
844
845 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
846 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
847
3bd9e993
RM
8482012-08-17 Roland McGrath <roland@hack.frob.com>
849
c91c505f
RM
850 * configure.in: Add AC_SUBST for sysheaders.
851 * configure: Regenerated.
852 * config.make.in (sysheaders): New substituted variable.
853
7c6f9d53
RM
854 * sysdeps/unix/mkfifo.c: Moved ...
855 * sysdeps/posix/mkfifo.c: ... here.
856 * sysdeps/unix/mkfifoat.c: Moved ...
857 * sysdeps/posix/mkfifoat.c: ... here.
858
859 * sysdeps/unix/utime.c: Moved ...
860 * sysdeps/posix/utime.c: ... here.
861
862 * sysdeps/unix/time.c: Moved ...
863 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
864 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
866
867 * sysdeps/unix/nice.c: Moved ...
868 * sysdeps/posix/nice.c: ... here.
869
870 * sysdeps/unix/alarm.c: Moved ...
871 * sysdeps/posix/alarm.c: ... here.
872
3bd9e993
RM
873 * intl/Makefile ($(codeset_mo)): Depend on the input file.
874
d1f09384
JL
8752012-08-17 Jeff Law <law@redhat.com>
876
877 * intl/Makefile (codeset_mo): New variable.
878 ($(codeset_mo)): New target.
879 (tst-codeset.out): Depend on that. Remove explicit rule.
880 (tst-gettext3.out, tst-gettext5.out): Likewise.
881 (LOCPATH-ENV, tst-codeset-ENV): New variables.
882 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
883 * intl/tst-codeset.sh: Remove.
884 * intl/tst-gettext3.sh: Likewise.
885 * intl/tst-gettext5.sh: Likewise.
886
2ae1ae5c
RM
8872012-08-17 Roland McGrath <roland@hack.frob.com>
888
c31fdb83
RM
889 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
890 * sysdeps/unix/syscalls.list: ... here.
891
a0844057
RM
892 * sysdeps/posix/getaddrinfo.c
893 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
894 (gaiconf_init, gaiconf_reload): Use them.
895 [!_STATBUF_ST_NSEC]
896 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
897 Define using time_t rather than struct timespec.
898
750c1f2a
RM
899 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
900 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
901 Macros removed.
902 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
903 [!NO_THREADS].
904 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
905 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
906 Likewise.
907
2ae1ae5c
RM
908 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
909 __libc_cleanup_push argument.
910
e66a42f5
RM
911 * bits/param.h: New file.
912 * misc/sys/param.h: New file.
913 * include/sys/param.h: New file.
914 * misc/Makefile (headers): Add bits/param.h.
915 * sysdeps/generic/sys/param.h: File removed.
916 * sysdeps/unix/sysv/linux/bits/param.h: New file.
917 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
918 * sysdeps/mach/hurd/bits/param.h: New file.
919 * sysdeps/mach/hurd/sys/param.h: New file.
920
b7c08a66
RM
921 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
922 last change.
923
b2e1c562
RM
924 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
925 [_IO_MTSAFE_IO].
926 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
927 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
928 New macros.
929
c75ccd4c
RM
930 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
931 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
932 rather than -D_IO_MTSAFE_IO conditionally.
933 * stdio-common/Makefile (CPPFLAGS): Likewise.
934 * wcsmbs/Makefile (CPPFLAGS): Likewise.
935 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
936 Use $(libio-mtsafe).
937 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
938 of -D_IO_MTSAFE_IO.
939 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
940 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
941 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
942 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
943 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
944 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
945 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
946 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
947 (CFLAGS-fread_u_chk.c): Likewise.
948 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
949 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
950 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
951 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
952 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
953 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
954 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
955 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
956 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
957
958 * libio/Makefile: Test [$(libc-reentrant) = yes]
959 instead of [$(filter %REENTRANT, $(defines)) nonempty].
960
961 * Makeconfig
962 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
963 * sysdeps/pthread/configure: File removed.
964 * sysdeps/pthread/Makeconfig: New file.
965 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
966 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
967
d9195db8
GB
9682012-08-16 Gary Benson <gbenson@redhat.com>
969
970 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
971 unmapping the first object in a namespace.
972
86466cd9
RM
9732012-08-16 Roland McGrath <roland@hack.frob.com>
974
975 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
976 (__internal_setnetgrent): ... this. Add internal_function to
977 definition. Add libc_hidden_def.
978 (setnetgrent): Update caller.
979 (internal_endnetgrent): Renamed to ...
980 (__internal_endnetgrent): ... this. Add internal_function to
981 definition. Add libc_hidden_def.
982 (endnetgrent): Update caller.
983 (internal_getnetgrent_r): Renamed to ...
984 (__internal_getnetgrent_r): ... this. Add internal_function to
985 definition. Add libc_hidden_def.
986 (__getnetgrent_r): Update caller.
987 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
988
c3c8283c
JM
9892012-08-16 Joseph Myers <joseph@codesourcery.com>
990
991 * stdlib/longlong.h: Update from GCC.
992
db1ee0a8
RM
9932012-08-16 Roland McGrath <roland@hack.frob.com>
994
995 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
996 on _QL, which is set by umul_ppmm but never used.
997 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
998 variables, which are set by GMP macros but never used.
999 * stdio-common/_itowa.c (_itowa): Likewise.
1000 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1001 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1002
30f69637
CD
10032012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1004
1005 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1006 struct La_sh_regs is not constant.
1007 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1008 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1009 and struct La_sparc64_regs are not constant.
1010
93a78ac4
JM
10112012-08-16 Joseph Myers <joseph@codesourcery.com>
1012
1013 * sysdeps/unix/sysv/linux/kernel-features.h
1014 (__ASSUME_POSIX_TIMERS): Remove.
1015 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1017 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1018 Make code unconditional.
1019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1020 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1021 Make code unconditional.
1022 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1023 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1024 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1025 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1026 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1027 Make code unconditional.
1028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1029 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1030 (__libc_missing_posix_timers): Remove.
1031
dd924cd7
RM
10322012-08-15 Roland McGrath <roland@hack.frob.com>
1033
4b4f2771
RM
1034 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1035 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1036
601c888b
RM
1037 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1038
176790a7
RM
1039 * elf/dl-sym.c: Include <stdlib.h>.
1040
329bc018
RM
1041 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1042 constants, which avoids warnings in 32-bit builds.
1043
e04e272d
RM
1044 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1045 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1046
952bf94a
RM
1047 * misc/lseek.c: File moved to ...
1048 * io/lseek.c: ... here.
1049
7c99b50a
RM
1050 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1051
dd924cd7
RM
1052 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1053 shifting LEN more than 31 bits at once.
1054
b3f479a8
LD
10552012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1056
1057 [BZ #14195]
8c4ae0d4
RM
1058 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1059 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1060 * string/test-strncasecmp.c (check1): Renamed to...
1061 (bz12205): ...this.
1062 (bz14195): Add new testcase for two empty input strings and N > 0.
1063 (test_main): Call new testcase, adapt for renamed function.
1064
9c55864e
AJ
10652012-08-15 Andreas Jaeger <aj@suse.de>
1066
1067 [BZ #14090]
1068 * crypt/md5test2.c: New test, based on test supplied by Serge
1069 Belyshev <belyshev@depni.sinp.msu.ru>.
1070 * crypt/Makefile (xtests): Add md5test-giant..
1071 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1072
02dcb6c5
PE
10732012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1074
1075 [BZ #14090]
1076 * crypt/md5.c (md5_process_block): Don't assume the buffer
1077 length is less than 2**32.
1078 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1079 length is less than 2**64.
1080
a3f95dcc
RM
10812012-08-15 Roland McGrath <roland@hack.frob.com>
1082
be75d758
RM
1083 * string/str-two-way.h: Include <sys/param.h>.
1084 (MAX): Macro removed.
1085
7312ca90
RM
1086 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1087 Move #define and #undef of memmove to just before and after
1088 including <string.h>.
1089
9a0a5486
RM
1090 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1091 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1092 and after including <string.h>. Move declarations of
1093 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1094 to before #include "string/memmove.c".
1095
67cc348d
RM
1096 * include/dirent.h: Declare __getdirentries.
1097
a3f95dcc
RM
1098 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1099 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1100
ca98e171
MF
11012012-08-14 Mike Frysinger <vapier@gentoo.org>
1102
1103 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1104 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1105 * sysdeps/i386/configure: Regenerated.
1106 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1107 STABS_CURRENT_FILE, and STABS_FUN.
1108 (END): Remove call to STABS_FUN_END.
1109 (STABS_CURRENT_FILE1): Delete.
1110 (STABS_CURRENT_FILE): Likewise.
1111 (STABS_FUN): Likewise.
1112 (STABS_FUN_END): Likewise.
1113 (STABS_FUN2): Likewise.
1114 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1115 * sysdeps/x86_64/configure: Regenerated.
1116
5908bf46
RM
11172012-08-14 Roland McGrath <roland@hack.frob.com>
1118
1119 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1120 * elf/dl-lookup.c: Likewise.
5908bf46 1121
f2c05b9e
JM
11222012-08-14 Joseph Myers <joseph@codesourcery.com>
1123
1124 * sysdeps/unix/sysv/linux/kernel-features.h
1125 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1126 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1127 unconditionally.
1128 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1129 unconditionally.
1130 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1131 condition on __ASSUME_CLONE_THREAD_FLAGS.
1132
e11f5155
AJ
11332012-08-14 Andreas Jaeger <aj@suse.de>
1134
1135 * sysdeps/i386/fpu/libm-test-ulps: Update.
1136
51a9ba86
MK
11372012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1138
2fdd4f78
AJ
1139 * include/atomic.h (atomic_exchange_and_add): Split into ...
1140 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1141 New atomic macros.
51a9ba86 1142
ba6cba9e
MT
11432012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1144
1145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1146
42443a47
JL
11472012-08-13 Jeff Law <law@redhat.com>
1148
1149 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1150 null byte in the output string.
1151
121dce05
JM
11522012-08-10 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/sysv/linux/kernel-features.h
1155 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1156 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1157 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1158 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1159 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1160 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1161 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1162
bf51f568
JL
11632012-08-09 Jeff Law <law@redhat.com>
1164
1165 [BZ #13939]
1166 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1167 When avoid_arena is set, don't retry in the that arena. Pick the
1168 next one, whatever it might be.
1169 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1170 (arena_lock): Pass in new parameter to arena_get2.
1171 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1172 arena_get2.
1173 (__libc_malloc): Unify retrying after main arena failure with
1174 __libc_memalign version.
1175 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1176
f85fa270
L
11772012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 [BZ #14166]
1180 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1181 to __redirect_strstr.
1182 (__strstr_sse42): Use typeof __redirect_strstr.
1183 (__strstr_ia32): Likewise.
1184 (__libc_strstr): New prototype.
1185 (strstr): Renamed to ...
1186 (__libc_strstr): This.
1187 (strstr): New strong alias of __libc_strstr.
1188 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1189 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1190 __redirect_time.
1191 Include <time.h>.
1192 (__libc_time): New prototype.
1193 (time_ifunc): Replace time with __libc_time.
1194 (time): New strong alias and hidden definition of __libc_time.
1195 (__GI_time): Remove strong alias.
1196 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1197 Include <stddef.h>.
1198 (memmove): Redefined to __redirect_memmove.
1199 (__memmove_sse2): Use typeof __redirect_memmove.
1200 (__memmove_ssse3): Likewise.
1201 (__memmove_ssse3_back): Likewise.
1202 (__libc_memmove): New prototype.
1203 (memmove): Renamed to ...
1204 (__libc_memmove): This.
1205 (memmove): New strong alias of __libc_memmove.
1206
33b4a91e
MS
12072012-08-08 Mark Salter <msalter@redhat.com>
1208
1209 * elf/elf.h
1210 (R_MN10300_TLS_GD): Define.
1211 (R_MN10300_TLS_LD): Likewise.
1212 (R_MN10300_TLS_LDO): Likewise.
1213 (R_MN10300_TLS_GOTIE): Likewise.
1214 (R_MN10300_TLS_IE): Likewise.
1215 (R_MN10300_TLS_LE): Likewise.
1216 (R_MN10300_TLS_DTPMOD): Likewise.
1217 (R_MN10300_TLS_DTPOFF): Likewise.
1218 (R_MN10300_TLS_TPOFF): Likewise.
1219 (R_MN10300_SYM_DIFF): Likewise.
1220 (R_MN10300_ALIGN): Likewise.
1221 (R_MN10300_NUM): Update.
1222
b36137f1
JM
12232012-08-08 Joseph Myers <joseph@codesourcery.com>
1224
1225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1226 Remove.
1227
cdd915fd
RM
12282012-08-08 Roland McGrath <roland@hack.frob.com>
1229
a2433aac
RM
1230 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1231
cdd915fd
RM
1232 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1233 sysdeps/unix -> sysdeps/posix move.
1234 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1235
bf9b740a
AM
12362012-08-07 Allan McRae <allan@archlinux.org>
1237
1238 [BZ #14303]
1239 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1240 (SUNOS_CPP): Likewise.
1241 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1242 not found.
1243 (open_input): Call CPP using execvp.
1244
93df14ee
JM
12452012-08-07 Joseph Myers <joseph@codesourcery.com>
1246
1247 * sysdeps/unix/sysv/linux/kernel-features.h
1248 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1249 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1250 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1251 (__ASSUME_WAITID_SYSCALL): Likewise.
1252 * sysdeps/unix/sysv/linux/dl-execstack.c
1253 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1254 code unconditional.
1255 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1256 conditional code.
1257 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1258 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1259 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1260 code.
1261 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1262 unconditional.
1263 [__ASSUME_WAITID_SYSCALL]: Likewise.
1264 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1265
d34689de
RM
12662012-08-07 Roland McGrath <roland@hack.frob.com>
1267
a281decc
RM
1268 * sysdeps/unix/closedir.c: Renamed to ...
1269 * sysdeps/posix/closedir.c: ... here.
1270 * sysdeps/unix/dirfd.c: Renamed to ...
1271 * sysdeps/posix/dirfd.c: ... here.
1272 * sysdeps/unix/dirstream.h: Renamed to ...
1273 * sysdeps/posix/dirstream.h: ... here.
1274 * sysdeps/unix/fdopendir.c: Renamed to ...
1275 * sysdeps/posix/fdopendir.c: ... here.
1276 * sysdeps/unix/opendir.c: Renamed to ...
1277 * sysdeps/posix/opendir.c: ... here.
1278 * sysdeps/unix/readdir.c: Renamed to ...
1279 * sysdeps/posix/readdir.c: ... here.
1280 * sysdeps/unix/readdir_r.c: Renamed to ...
1281 * sysdeps/posix/readdir_r.c: ... here.
1282 * sysdeps/unix/rewinddir.c: Renamed to ...
1283 * sysdeps/posix/rewinddir.c: ... here.
1284 * sysdeps/unix/seekdir.c: Renamed to ...
1285 * sysdeps/posix/seekdir.c: ... here.
1286 * sysdeps/unix/telldir.c: Renamed to ...
1287 * sysdeps/posix/telldir.c: ... here.
1288 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1289 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1290 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1291 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1292
22895b47
RM
1293 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1294 * bits/fcntl.h: ... here.
1295
707a53b6
RM
1296 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1297 not 0.
1298 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1299 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1300 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1301 (struct flock): Move l_start, l_len to the beginning.
1302 Use __pid_t for l_pid.
1303 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1304 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1305 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1306 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1307 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1308 [__USE_LARGEFILE64] (struct flock64): New type.
1309 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1310
f0bd3e25
RM
1311 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1312 * bits/dirent.h: ... here.
1313
d34689de
RM
1314 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1315 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1316
6dad2c06
JM
13172012-08-07 Joseph Myers <joseph@codesourcery.com>
1318
1319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1320 Change from 2.6.0 to 2.6.16.
1321 * sysdeps/unix/sysv/linux/configure: Regenerated.
1322 * sysdeps/unix/sysv/linux/kernel-features.h
1323 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1324 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1325 version.
1326 (__ASSUME_UTIMES): Likewise.
1327 (__ASSUME_CLONE_STOPPED): Remove.
1328 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1329 architectures, not kernel version.
1330 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1331 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1332 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1333 (__ASSUME_WAITID_SYSCALL): Likewise.
1334 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1335 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1336 * README: State 2.6.16 as minimum Linux kernel version. Do not
1337 refer to older versions.
1338
03af9520
RM
13392012-08-06 Roland McGrath <roland@hack.frob.com>
1340
8e49df1d
RM
1341 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1342 Define alphasort64 as an alias.
1343 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1344 Define versionsort64 as an alias.
1345 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1346 Define scandir64 as an alias.
1347 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1348 Define scandirat64 as an alias.
1349 * dirent/alphasort64.c (alphasort64):
1350 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1351 * dirent/versionsort64.c: Likewise.
1352 * dirent/scandir64.c: Likewise.
1353 * dirent/scandirat64.c: Likewise.
1354 * sysdeps/wordsize-64/alphasort.c: File removed.
1355 * sysdeps/wordsize-64/alphasort64.c: File removed.
1356 * sysdeps/wordsize-64/scandir.c: File removed.
1357 * sysdeps/wordsize-64/scandir64.c: File removed.
1358 * sysdeps/wordsize-64/scandirat.c: File removed.
1359 * sysdeps/wordsize-64/scandirat64.c: File removed.
1360 * sysdeps/wordsize-64/versionsort.c: File removed.
1361 * sysdeps/wordsize-64/versionsort64.c: File removed.
1362 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1364 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1370
1371 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1373 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1375 [defined __arch64__ || defined __sparcv9]
1376 (__INO_T_MATCHES_INO64_T): New macro.
1377 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1378 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1379 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1380 * sysdeps/unix/sysv/linux/bits/dirent.h
1381 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1382 (_DIRENT_MATCHES_DIRENT64): New macro.
1383
03af9520
RM
1384 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1385 Define lockf64 as an alias.
1386 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1387 Define fseeko64 as an alias.
1388 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1389 Define ftello64 as an alias.
1390 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1391 Define _IO_fgetpos64 and fgetpos64 as aliases.
1392 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1393 Define _IO_fsetpos64 and fsetpos64 as aliases.
1394 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1395 Conditionalize body on this.
1396 * libio/fseeko64.c: Likewise.
1397 * libio/ftello64.c: Likewise.
1398 * libio/iofgetpos64.c: Likewise.
1399 * libio/iofsetpos64.c: Likewise.
1400 * sysdeps/wordsize-64/lockf.c: File removed.
1401 * sysdeps/wordsize-64/lockf64.c: File removed.
1402 * sysdeps/wordsize-64/fseeko.c: File removed.
1403 * sysdeps/wordsize-64/fseeko64.c: File removed.
1404 * sysdeps/wordsize-64/ftello.c: File removed.
1405 * sysdeps/wordsize-64/ftello64.c: File removed.
1406 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1407 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1408 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1409 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1420
1421 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1423 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1425 [defined __arch64__ || defined __sparcv9]
1426 (__OFF_T_MATCHES_OFF64_T): New macro.
1427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1428 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1430 (__OFF_T_MATCHES_OFF64_T): New macro.
1431
c5757acd
L
14322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * stdlib/secure-getenv.c (__secure_getenv): Replace
1435 GLIBC_2_16 with GLIBC_2_17.
1436
3a31811e
L
14372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1441
faa2bccb
DM
14422012-08-03 David S. Miller <davem@davemloft.net>
1443
1444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1445
85fe1997
JM
14462012-08-03 Joseph Myers <joseph@codesourcery.com>
1447
1448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1449 Remove.
1450 (__ASSUME_CORRECT_SI_PID): Likewise.
1451 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1452 (__ASSUME_TMPFS_NAME): Likewise.
1453 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1454 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1455 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1456 (HAVE_AUX_SECURE): Make definition unconditional.
1457 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1458 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1459
4f75b7a0
RM
14602012-08-03 Roland McGrath <roland@hack.frob.com>
1461
1462 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1463 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1464 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1465 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1466 __eloop_threshold instead of SYMLOOP_MAX.
1467
1468 * sysdeps/generic/eloop-threshold.h: New file.
1469 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1470 of MAXSYMLINKS.
1471 * elf/chroot_canon.c (chroot_canon): Likewise.
1472
7aab07e4
JM
14732012-08-03 Joseph Myers <joseph@codesourcery.com>
1474
1475 [BZ #13717]
1476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1477 Change to 2.6.0 everywhere.
1478 * sysdeps/unix/sysv/linux/configure: Regenerated.
1479 * sysdeps/unix/sysv/linux/kernel-features.h
1480 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1481 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1482 kernel versions.
1483 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1484 (__ASSUME_FUTEX_REQUEUE): Remove.
1485 (__ASSUME_STATFS64): Define unconditionally.
1486 (__ASSUME_AT_SECURE): Likewise.
1487 (__ASSUME_CORRECT_SI_PID): Likewise.
1488 (__ASSUME_TGKILL): Define without depending on kernel version for
1489 i386.
1490 (__ASSUME_UTIMES): Likewise.
1491 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1492 kernel version.
1493 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1494 (__ASSUME_TMPFS_NAME): Likewise.
1495 * README: Update reference to Linux kernel versions.
1496
b67e9372
MP
14972012-08-02 Marek Polacek <polacek@redhat.com>
1498
1f529f7d 1499 [BZ# 14150]
b67e9372
MP
1500 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1501 libc_cv_asm_type_prefix with %.
1502 * configure: Regenerated.
d2441631
RM
1503 * include/libc-symbols.h: Remove comment about
1504 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1505 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1506 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1507 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1508 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1509 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1510 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1511 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1512 * elf/tst-unique2mod1.c: Likewise.
1513 * elf/tst-unique1mod2.c: Likewise.
1514 * elf/tst-unique1mod1.c: Likewise.
1515 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1516 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1517 Replace ASM_TYPE_DIRECTIVE with .type.
1518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1519 * sysdeps/i386/sysdep.h: Likewise.
1520 * sysdeps/x86_64/sysdep.h: Likewise.
1521 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1523 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1524 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1525 * sysdeps/powerpc/powerpc32/sysdep.h:
1526 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1527 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1528 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1529 * sysdeps/i386/fpu/e_powf.S: Likewise.
1530 * sysdeps/i386/fpu/e_expl.S: Likewise.
1531 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1532 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1533 * sysdeps/i386/fpu/e_pow.S: Likewise.
1534 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1535 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1536 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1537 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1538 * sysdeps/i386/fpu/e_log2.S: Likewise.
1539 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1540 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1541 * sysdeps/i386/fpu/e_powl.S: Likewise.
1542 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1543 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1544 * sysdeps/i386/fpu/e_logl.S: Likewise.
1545 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1546 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1547 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1548 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1549 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1550 * sysdeps/i386/fpu/e_log.S: Likewise.
1551 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1552 * sysdeps/i386/fpu/e_logf.S: Likewise.
1553 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1554 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1555 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1556 * sysdeps/i386/fpu/e_log10.S: Likewise.
1557 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1559 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1560 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1561 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1563 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1564 * sysdeps/i386/i686/strtok.S: Likewise.
1565 * sysdeps/i386/i386-mcount.S: Likewise.
1566 * sysdeps/i386/strtok.S: Likewise.
1567 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1568 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1571 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1573 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1574 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1576 * sysdeps/x86_64/_mcount.S: Likewise.
1577 * sysdeps/x86_64/strtok.S: Likewise.
1578 * sysdeps/sh/_mcount.S: Likewise.
1579
2747bf9a
RM
15802012-08-01 Roland McGrath <roland@hack.frob.com>
1581
1582 * libio/iofopen.c: Include <fcntl.h>.
1583 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1584 (_IO_fopen64, fopen64): Define as aliases.
1585 * libio/iofopen64.c: Include <fcntl.h>.
1586 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1587 Conditionalize body on this.
1588 * sysdeps/wordsize-64/iofopen.c: File removed.
1589 * sysdeps/wordsize-64/iofopen64.c: File removed.
1590
3fb791b8
MP
15912012-08-01 Marek Polacek <polacek@redhat.com>
1592
1593 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1594 Use dlfcn directly instead of a variable.
1595 (binfmt-subdir): Do not define.
1596 (dlfcn): Likewise.
1597
a9f1039f
JM
15982012-08-01 Joseph Myers <joseph@codesourcery.com>
1599
23bddc06
JM
1600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1601 Remove all definitions.
1602 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1603 <kernel-features.h>.
1604 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1605 (miss_F_GETOWN_EX): Remove all definitions.
1606 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1607 macro definition.
1608 [!__ASSUME_FCNTL64]: Remove conditional code.
1609 [__ASSUME_FCNTL64]: Make code unconditional.
1610 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1611 <kernel-features.h>.
1612 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1613 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1614 (lockf64) [__NR_fcntl64]: Make code unconditional.
1615 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1616
a9f1039f
JM
1617 * sysdeps/unix/sysv/linux/kernel-features.h
1618 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1619 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1620 Make code unconditional.
1621 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1622 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1624 [__NR_vfork]: Make code unconditional.
1625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1628 [__NR_vfork]: Make code unconditional.
1629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1631
09c0ee5f
RM
16322012-08-01 Roland McGrath <roland@hack.frob.com>
1633
48aec5b9
RM
1634 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1635 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1636
cd97c966
RM
1637 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1638 Define mkstemp64 as an alias.
3f55550c
RM
1639 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1640 Define mkstemps64 as an alias.
cd97c966
RM
1641 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1642 Define mkostemp64 as an alias.
b8625cfc
RM
1643 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1644 Define mkostemps64 as an alias.
cd97c966
RM
1645 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1646 Conditionalize body on this.
1647 * misc/mkostemp64.c: Likewise.
b8625cfc 1648 * misc/mkostemps64.c: Likewise.
3f55550c 1649 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1650 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1651 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1652 * sysdeps/wordsize-64/mkostemp.c: File removed.
1653 * sysdeps/wordsize-64/mkstemp.c: File removed.
1654 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1655 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1657 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1658
09c0ee5f
RM
1659 [BZ #14138]
1660 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1661 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1662 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1663 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1664
1665 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1666 compat_symbol macros from <shlib-compat.h> rather than the underlying
1667 default_symbol_version and symbol_version macros, so that DEFAULT
1668 lines in shlib-versions are respected.
1669 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1670
7e66ee51
FW
16712012-08-01 Florian Weimer <fweimer@redhat.com>
1672
1673 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1674 Declare with warn_unused_result.
1675 (setgid, setregid, setegid, setresgid): Likewise.
1676 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1677 Likewise.
1678 * WUR-REPORT: Remove set*id functions.
1679
d2a54255
PT
16802012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1681
1682 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1683
7ecdb005
RM
16842012-07-31 Roland McGrath <roland@hack.frob.com>
1685
789bd351
RM
1686 * include/sys/socket.h (__libc_accept, __libc_accept4):
1687 Add attribute_hidden.
1688 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1689
40ce302d
RM
1690 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1691 use of PTR_MANGLE.
1692 * inet/getnetgrent_r.c (setup): Likewise.
1693
7ecdb005
RM
1694 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1695
e2eabb2c
DM
16962012-07-31 David S. Miller <davem@davemloft.net>
1697
1698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1699
d0419dbf
JM
17002012-07-31 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #13629]
1703 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1704 value between 1.0 and 2.0 and smaller part has absolute value less
1705 than 1.0.
1706 * math/s_clog10.c (__clog10): Likewise.
1707 * math/s_clog10f.c (__clog10f): Likewise.
1708 * math/s_clog10l.c (__clog10l): Likewise.
1709 * math/s_clogf.c (__clogf): Likewise.
1710 * math/s_clogl.c (__clogl): Likewise.
1711 * math/libm-test.inc (clog_test): Add more tests.
1712 (clog10_test): Likewise.
1713 * sysdeps/i386/fpu/libm-test-ulps: Update.
1714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1715
2bc13872
FW
17162012-07-31 Florian Weimer <fweimer@redhat.com>
1717
1718 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1719 Exit with zero in case no suitable GID is found, and write a
1720 message to standard error.
1721
bea9b193
RM
17222012-07-30 Roland McGrath <roland@hack.frob.com>
1723
1724 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1725 rather than to 1.
1726 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1727 (MAXPATHLEN): Removed.
1728 (NOGROUP, NODEV): New macros.
1729 (setbit, clrbit, isset, isclr): New macros.
1730 (howmany, roundup, powerof2): New macros.
1731 (DEV_BSIZE): New macro.
1732
1733 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1734 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1735
1736 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1737 definition on [!__NO_LONG_DOUBLE_MATH].
1738
1739 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1740 PTR_MANGLE and PTR_DEMANGLE.
1741
1742 * socket/accept4.c (accept4): Rename to __libc_accept4.
1743 Define accept4 as a weak alias.
1744
1745 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1746 on [_DIRENT_HAVE_D_TYPE].
1747 * io/ftw.c (ftw_dir): Likewise.
1748
1749 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1750
1751 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1752
1753 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1754 Use the BSD numbers rather than the arbitrary ones we had.
1755 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1756 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1757 (SIGXCPU, SIGXFSZ): New macros.
1758 (_NSIG): Now 32.
1759
1760 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1761 initializer on [_LIBC_REENTRANT].
1762
1763 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1764 definitions inside [_POSIX_MAPPED_FILES].
1765
1766 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1767
1768 * dirent/opendir.c: Include <fcntl.h>.
1769
1770 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1771 (__libc_getspecific): Likewise.
1772 (__libc_key_create): Likewise.
1773
1774 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1775 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1776 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1777 (tmpfile64): Define as alias.
1778 * sysdeps/wordsize-64/tmpfile.c: File removed.
1779 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1780 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1782
1783 * stdio-common/vfscanf.c: Include <stdbool.h>.
1784 * nss/makedb.c: Likewise.
1785 * stdio-common/_i18n_number.h: Likewise.
1786 * argp/argp-help.c: Likewise.
1787 * posix/wordexp.c: Likewise.
1788 * sysdeps/posix/spawni.c: Likewise.
1789 * nss/nss_files/files-initgroups.c: Likewise.
1790 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1791 * nss/nss_files/files-initgroups.c: Likewise.
1792 * nss/nss_db/db-netgrp.c: Likewise.
1793 * nss/nss_db/db-initgroups.c: Likewise.
1794 * io/fchmodat.c: Include <sys/stat.h>.
1795
1796 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1797 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1798
1799 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1800 [HAVE_MMAP].
1801
1802 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1803 Add multiple inclusion protection.
1804
e5abc686
DM
18052012-07-27 David S. Miller <davem@davemloft.net>
1806
1807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1808
815e6fa3
GB
18092012-07-27 Gary Benson <gbenson@redhat.com>
1810
1811 [BZ #14298]
1812 * elf/rtld.c: Include <stap-probe.h>.
1813 (dl_main): Added static probes "init_start" and "init_complete".
1814 * elf/dl-load.c: Include <stap-probe.h>.
1815 (lose): Take new parameter "nsid".
1816 Added static probe "map_failed".
1817 (_dl_map_object_from_fd): Pass namespace id to lose.
1818 Added static probe "map_start".
1819 (open_verify): Pass namespace id to lose.
1820 * elf/dl-open.c: Include <stap-probe.h>.
1821 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1822 and "reloc_complete".
1823 * elf/dl-close.c: Include <stap-probe.h>.
1824 (_dl_close_worker): Added static probes "unmap_start" and
1825 "unmap_complete".
1826 * elf/rtld-debugger-interface.txt: New file documenting the above.
1827
9f98c16c
RM
18282012-07-26 Roland McGrath <roland@hack.frob.com>
1829
1830 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1831 rather than a string variable.
1832 * sunrpc/rpc_main.c (h_output): Likewise.
1833 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1834
f3c22df3
PT
18352012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1836
1837 * inet/check_native.c: New file.
1838
3129cfc6
JM
18392012-07-26 Joseph Myers <joseph@codesourcery.com>
1840
da865e95
JM
1841 [BZ #13629]
1842 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1843 if larger part has absolute value 1.0.
1844 * math/s_clog10.c (__clog10): Likewise.
1845 * math/s_clog10f.c (__clog10f): Likewise.
1846 * math/s_clog10l.c (__clog10l): Likewise.
1847 * math/s_clogf.c (__clogf): Likewise.
1848 * math/s_clogl.c (__clogl): Likewise.
1849 * math/libm-test.inc (clog_test): Add more tests.
1850 (clog10_test): Likewise.
1851 * sysdeps/i386/fpu/libm-test-ulps: Update.
1852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1853
3129cfc6
JM
1854 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1855 (pltexit): Likewise.
1856 (La_regs): Likewise.
1857 (La_retval): Likewise.
1858 (int_retval): Likewise.
1859 Update #error for removed macros to refer only to definitions in
1860 tst-audit.h.
1861 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1862 macro.
1863 (pltexit): Likewise.
1864 (La_regs): Likewise.
1865 (La_retval): Likewise.
1866 (int_retval): Likewise.
1867 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1868 macro.
1869 (pltexit): Likewise.
1870 (La_regs): Likewise.
1871 (La_retval): Likewise.
1872 (int_retval): Likewise.
1873 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1874 macro.
1875 (pltexit): Likewise.
1876 (La_regs): Likewise.
1877 (La_retval): Likewise.
1878 (int_retval): Likewise.
1879 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1880 macro.
1881 (pltexit): Likewise.
1882 (La_regs): Likewise.
1883 (La_retval): Likewise.
1884 (int_retval): Likewise.
1885 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1886 macro.
1887 (pltexit): Likewise.
1888 (La_regs): Likewise.
1889 (La_retval): Likewise.
1890 (int_retval): Likewise.
1891 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1892 macro.
1893 (pltexit): Likewise.
1894 (La_regs): Likewise.
1895 (La_retval): Likewise.
1896 (int_retval): Likewise.
1897 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1898 macro definitions in tst-audit.h.
1899 * sysdeps/i386/tst-audit.h: New file.
1900 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1901 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1902 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1903 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1904 * sysdeps/sh/tst-audit.h: Likewise.
1905 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1906 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1907 * sysdeps/x86_64/tst-audit.h: Likewise.
1908
bfc07087
AJ
19092012-07-26 Andreas Jaeger <aj@suse.de>
1910
b1b2aaf8
AJ
1911 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1912 ptrace.
1913
1914 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1915 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1916 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1917 PTRACE_O_MASK.
1918 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1919 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1921
bfc07087
AJ
1922 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1923 value.
1924
1925 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1926 _sigsys.
1927 (si_call_addr, si_syscall, si_arch): Define new macro.
1928 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1929 _sigsys.
1930 (si_call_addr, si_syscall, si_arch): Define new marcro.
1931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1932 _sigsys.
1933 (si_call_addr, si_syscall, si_arch): Define new macro.
1934 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1935 _sigsys.
1936 (si_call_addr, si_syscall, si_arch): Define new macro.
1937
89b4b02f
JM
19382012-07-25 Joseph Myers <joseph@codesourcery.com>
1939
1940 [BZ #13717]
1941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1942 Change to 2.4.21 where previously 2.4.1.
1943 * sysdeps/unix/sysv/linux/configure: Regenerated.
1944 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1945 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1946 Linux kernel version.
1947 (__ASSUME_STD_AUXV): Remove.
1948 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1949 kernel version.
1950 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1951 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1952 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1953 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1954 (__ASSUME_NETLINK_SUPPORT): Likewise.
1955 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1956 (__no_netlink_support): Remove conditional definition.
1957 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1958 Remove.
1959 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1960 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1961 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1962 (if_nameindex_ioctl): Remove.
1963 (if_nameindex_netlink): Do not handle __no_netlink_support.
1964 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1965 code.
1966 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1967 Remove conditional code.
1968 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1969 code.
1970 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1971 unconditional.
1972 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1973 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1974 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1975 Remove.
1976 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1977 [!__ASSUME_STD_AUXV]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1979 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1980 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1982 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1983 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1984 code.
1985 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1987 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1988 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1989 conditional code.
1990 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1992 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1993 code.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1995 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1996 conditional code.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1998 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1999 code unconditional.
2000 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2001 conditional code.
2002 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2003 unconditional.
2004 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2005 conditional code.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2007 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2008 unconditional.
2009 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2010 conditional code.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2012 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2013 code unconditional.
2014 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2015 conditional code.
2016 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2017 unconditional.
2018 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2019 conditional code.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2021 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2022 code unconditional.
2023 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2024 conditional code.
2025 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2026 unconditional.
2027 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2028 conditional code.
2029
842a39cd
AS
20302012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2031
2032 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2033 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2034 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2035 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2036 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2037 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2038 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2039 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2040 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2041 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2042 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2043 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2044 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2045 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2046 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2047 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2048 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2050 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2052 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2053 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2055
84b3fd84
FW
20562012-07-25 Florian Weimer <fweimer@redhat.com>
2057
2058 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2059 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2060 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2061 Introduce __libc_secure_getenv.
0c7936d5
FW
2062 * stdlib/Versions (2.17): Add secure_getenv
2063 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2064 * stdlib/secure-getenv.c: Rename __secure_getenv to
2065 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2066 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2067 * stdlib/tst-secure-getenv.c: New.
2068 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2069 * manual/startup.texi (Environment Access): Document
2070 secure_getenv.
84b3fd84
FW
2071 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2072 __libc_secure_getenv.
2073 * inet/ruserpass.c (ruserpass): Likewise.
2074 * malloc/mtrace.c (mtrace): Likewise.
2075 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2076 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2077 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2078 * sysdeps/posix/tempname.c: Likewise. Evaluate
2079 HAVE_SECURE_GETENV.
2080 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2081 __secure_getenv to __libc_secure_getenv.
84b3fd84 2082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2084 Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2086 Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2094
56e49b71
JM
20952012-07-25 Joseph Myers <joseph@codesourcery.com>
2096
2097 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2098 (struct La_i86_retval): Likewise.
2099 (struct La_x86_64_regs): Likewise.
2100 (struct La_x86_64_retval): Likewise.
2101 (struct La_x32_regs): Likewise.
2102 (struct La_x32_retval): Likewise.
2103 (struct La_ppc32_regs): Likewise.
2104 (struct La_ppc32_retval): Likewise.
2105 (struct La_ppc64_regs): Likewise.
2106 (struct La_ppc64_retval): Likewise.
2107 (struct La_sh_regs): Likewise.
2108 (struct La_sh_retval): Likewise.
2109 (struct La_s390_32_regs): Likewise.
2110 (struct La_s390_32_retval): Likewise.
2111 (struct La_s390_64_regs): Likewise.
2112 (struct La_s390_64_retval): Likewise.
2113 (struct La_sparc32_regs): Likewise.
2114 (struct La_sparc32_retval): Likewise.
2115 (struct La_sparc64_regs): Likewise.
2116 (struct La_sparc64_retval): Likewise.
2117 (struct audit_ifaces): Remove architecture-specific pltenter and
2118 pltexit members.
2119 * sysdeps/i386/ldsodefs.h: New file.
2120 * sysdeps/powerpc/ldsodefs.h: Likewise.
2121 * sysdeps/s390/ldsodefs.h: Likewise.
2122 * sysdeps/sh/ldsodefs.h: Likewise.
2123 * sysdeps/sparc/ldsodefs.h: Likewise.
2124 * sysdeps/x86_64/ldsodefs.h: Likewise.
2125
354691b7
MP
21262012-07-25 Marek Polacek <polacek@redhat.com>
2127
2128 [BZ #6808]
2129 * math/libm-test.inc (yn_test): Add another test.
2130 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2131 to ERANGE when the result is +-Inf.
2132 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2133 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2134 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2135 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2136
bf9e2071
JM
21372012-07-24 Joseph Myers <joseph@codesourcery.com>
2138
2139 * conform/data/time.h-data (NULL): Use macro-constant. Require
2140 equal to 0.
2141 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2142 clock_t.
2143 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2144
57633811
TS
21452012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2146
2147 * configure.in <sysdeps resolving>: Correct printing
2148 Implies_before.
2149 * configure: Regenerate.
2150
c23c33b0
TS
21512012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2152
2153 * math/w_ilogb.c: Include <limits.h>.
2154 * math/w_ilogbl.c: Likewise.
2155
b5982523
JM
21562012-07-20 Joseph Myers <joseph@codesourcery.com>
2157
2158 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2159 va_copy. Document allowing for unavailable va_copy only as
2160 pre-C99 compatibility.
2161 * manual/string.texi (Copying and Concatenation): Use va_copy
2162 instead of __va_copy in concat example.
2163
ac4ea442
PT
21642012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2165
2166 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2167 (__sendto): Use create_address_port. Initialize APORT and deallocate
2168 it if not null.
2169
f98eafbd
PT
2170 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2171 with O_NOLINK passed to __file_name_lookup.
2172
898c7aab
PT
2173 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2174 with O_NOLINK passed to __file_name_lookup.
2175
0ced335a
PT
2176 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2177 negative N or less than NGIDS.
2178
b3404dbd
PT
2179 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2180 type to string_t. Set ERANGE as errno and return it if NAME is not big
2181 enough. Use memcpy instead of strncpy.
2182
0f48659e
JM
21832012-07-20 Joseph Myers <joseph@codesourcery.com>
2184
2185 * elf/Makefile (check-data): Remove.
2186 (localplt.data): New vpath directive.
2187 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2188 instead of $(check-data).
2189 * scripts/data/localplt-generic.data: Move to ...
2190 * sysdeps/generic/localplt.data: ... here.
2191 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2192 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2193 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2195 ... here.
2196 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2198 ... here.
2199 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2201 ... here.
2202 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2204 ... here.
2205 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2207 ... here.
2208 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2210 ... here.
2211
d37cbdaa
AZ
22122012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2215 PPC32 and PPC64 files.
2216 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2217 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2218
46f85fc2
AK
22192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2220
2221 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2222 __makecontext_ret to ...
2223 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2224 ... here and call exit if uc_link is NULL. New file.
2225 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2226 __makecontext_ret.S.
2227 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2228 __makecontext_ret to ...
2229 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2230 ... here and call exit if uc_link is NULL. New file.
2231 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2232 __makecontext_ret.S.
2233
08f43f9b
AK
22342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2235
2236 * elf/elf.h (R_390_IRELATIVE): New definition.
2237 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2238 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2239 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2241 (elf_machine_lazy_rel): Likewise.
2242 * sysdeps/s390/dl-irel.h: New file.
2243 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2244 * sysdeps/s390/s390-64/memset.S: New asm code.
2245 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2246 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2247 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2248 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2249 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2250 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2251 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2252 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2253 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2254 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2255 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2256 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2257 * sysdeps/s390/s390-32/memset.S: New asm code.
2258 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2259
3b05db33
MP
22602012-07-17 Marek Polacek <polacek@redhat.com>
2261
2262 [BZ #14349]
2263 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2264 * sysdeps/s390/s390-64/configure.in: Likewise.
2265 * sysdeps/sparc/configure.in: Likewise.
2266 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2267 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2268 * sysdeps/i386/configure.in: Likewise.
2269 * sysdeps/x86_64/configure.in: Likewise.
2270 * sysdeps/sh/configure.in: Likewise.
2271 * sysdeps/s390/s390-32/configure: Regenerated.
2272 * sysdeps/s390/s390-64/configure: Likewise.
2273 * sysdeps/x86_64/configure: Likewise.
2274 * sysdeps/sh/configure: Likewise.
2275 * sysdeps/powerpc/powerpc64/configure: Likewise.
2276 * sysdeps/powerpc/powerpc32/configure: Likewise.
2277 * sysdeps/sparc/configure: Likwise.
2278 * sysdeps/i386/configure: Likewise.
2279
a66877c6
MP
2280 * elf/dl-open.c: Comment fixes.
2281
cfc82fd8
JM
22822012-07-17 Joseph Myers <joseph@codesourcery.com>
2283
bd29910a
JM
2284 * Makefile [CXX] (check-data): Remove.
2285 [CXX] (c++-types.data): New vpath directive.
2286 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2287 vpath. Do not allow for C++ type data being missing.
2288 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2289 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2290 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2291 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2292 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2293 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2294 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2296 ... here.
2297 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2299 ... here.
2300 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2302 ... here.
2303 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2305 ... here.
2306 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2308 ... here.
2309 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2311 ... here.
2312 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2314 ... here.
2315 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2317
cfc82fd8
JM
2318 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2319 definitions to architecture-specific files.
2320 (TLS_IE): Likewise.
2321 (TLS_LD): Likewise.
2322 (TLS_GD): Likewise.
2323 * sysdeps/i386/tls-macros.h: New file.
2324 * sysdeps/powerpc/tls-macros.h: Likewise.
2325 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2326 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2327 * sysdeps/sh/tls-macros.h: Likewise.
2328 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2329 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2330 * sysdeps/x86_64/tls-macros.h: Likewise.
2331
f7db3170
TS
23322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2333
07cbfc23
TS
2334 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2335 zero value for regular exit case.
2336
f7db3170
TS
2337 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2338 (__start_context): Preserve zero value for regular exit case.
2339
dc97c227
TS
23402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2341 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2342
2343 * manual/setjmp.texi (setcontext): Clarify normal process
2344 termination when uc_link is the null pointer.
2345 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2346 exit call.
2347
d0cd7d02
AS
23482012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2351 preprocessor. Test for each exception mask separately.
2352
dd318934
AJ
23532012-07-16 Andreas Jaeger <aj@suse.de>
2354
2355 * po/ru.po: Update from translation team.
2356
8048311a
JM
23572012-07-15 Joseph Myers <joseph@codesourcery.com>
2358
2359 * conform/data/string.h-data (NULL): Use macro-constant. Require
2360 equal to 0.
2361 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2362 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2363 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2364 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2366
b637d46e
AJ
23672012-07-13 Andreas Jaeger <aj@suse.de>
2368
2369 * po/fr.po: Update from translation team.
2370
541428fe
MP
23712012-07-12 Marek Polacek <polacek@redhat.com>
2372
2373 [BZ #14173]
2374 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2375 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2376 loop condition.
2377
ec332e94
JM
23782012-07-12 Joseph Myers <joseph@codesourcery.com>
2379
2380 [BZ #13717]
2381 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2382 Change to 2.4.1 where previously 2.4.0.
2383 * sysdeps/unix/sysv/linux/configure: Regenerated.
2384 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2385 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2386 version.
2387 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2388 (__ASSUME_AT_CLKTCK): Remove.
2389 (__ASSUME_AT_PAGESIZE): Likewise.
2390 (__ASSUME_AT_XID): Likewise.
2391 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2392 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2393 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2394 unconditionally.
2395 (HAVE_AUX_PAGESIZE): Likewise.
2396 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2397 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2398 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2399
7b6e99be
JB
24002012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2401
2402 [BZ #14307]
2403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2404 the temporary buffer used to invoke __gethostbyname2_r,
2405 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2406 host_data / struct gaih_addrtuple.
2407 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2408 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2409 header file nss/nsswitch.h.
2410 * nss/nsswitch.h (global scope): Add definition of implementation
2411 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2412 resolv/nss_dns/dns-host.c).
2413
608404eb
AJ
24142012-07-11 Andreas Jaeger <aj@suse.de>
2415
2416 * po/fr.po: Update from translation team.
2417
71220aca
AJ
2418 * po/sv.po: Update from translation team
2419 * po/fr.po: Another update from translation team.
2420
28cfe843
AZ
24212012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422
2423 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2424 for subnormals or multiply small sinh result by itself.
2425 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2427
6b90f981
DM
24282012-07-11 David S. Miller <davem@davemloft.net>
2429
2430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2431
c6825772
AS
24322012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2433
2434 [BZ #14347]
2435 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2436 (INTERNAL_MARK): Shift it here.
2437
7b8e0d49
MP
24382012-07-10 Marek Polacek <polacek@redhat.com>
2439
2440 [BZ #14151]
2441 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2442 libc_cv_asm_global_directive with .globl.
2443 * configure: Regenerated.
2444 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2445 with .globl.
2446 * sysdeps/i386/configure: Regenerated.
2447 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2448 with .globl.
2449 * sysdeps/x86_64/configure: Regenerated.
2450 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2451 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2452 * elf/tst-unique2mod2.c: Likewise.
2453 * elf/tst-unique2mod1.c: Likewise.
2454 * elf/tst-unique1mod2.c: Likewise.
2455 * elf/tst-unique1mod1.c: Likewise.
2456 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2457 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2459 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2460 * sysdeps/mach/sysdep.h: Likewise.
2461 * sysdeps/i386/sysdep.h: Likewise.
2462 * sysdeps/i386/i386-mcount.S: Likewise.
2463 * sysdeps/x86_64/_mcount.S: Likewise.
2464 * sysdeps/x86_64/sysdep.h: Likewise.
2465 * sysdeps/sh/_mcount.S: Likewise.
2466 * sysdeps/sh/sysdep.h: Likewise.
2467 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2468 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2470 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2471 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2474 * locale/localeinfo.h: Likewise.
2475 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2476 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2477
6c55cda3
RM
24782012-07-09 Roland McGrath <roland@hack.frob.com>
2479
2480 [BZ #14336]
2481 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2482 system".
2483 * manual/message.texi (The Uniforum approach): Likewise.
2484 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2485 (glibc iconv Implementation): Likewise.
2486
638a572e
JM
24872012-07-09 Joseph Myers <joseph@codesourcery.com>
2488
2489 [BZ #14337]
2490 * math/s_clog.c (__clog): Avoid scaling a value down where that
2491 could result in underflow.
2492 * math/s_clog10.c (__clog10): Likewise.
2493 * math/s_clog10f.c (__clog10f): Likewise.
2494 * math/s_clog10l.c (__clog10l): Likewise.
2495 * math/s_clogf.c (__clogf): Likewise.
2496 * math/s_clogl.c (__clogl): Likewise.
2497 * math/libm-test.inc (clog_test): Add more tests.
2498 (clog10_test): Likewise.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2501
261f4859
AS
25022012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2503
0abaf3e4
AS
2504 [BZ #14283]
2505 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2506 by 7 not 8 to examine high bit of fractional part.
2507
261f4859
AS
2508 [BZ #14042]
2509 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2510 for call to __mcount_internal.
2511 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2512 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2513 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2514
f17ac40d
JM
25152012-07-06 Joseph Myers <joseph@codesourcery.com>
2516
9ad63c23
JM
2517 [BZ #14154]
2518 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2519 approximation for values within 0x1p-13f of an odd multiple of
2520 pi/4.
2521 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2522 exception. Add more tests.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524
f17ac40d
JM
2525 [BZ #6778]
2526 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2527 inputs and return -1 for them. Do not check for +Inf in case not
2528 reachable for +Inf.
2529 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2530 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2532 and return -1 for them. Do not check for +Inf in case not
2533 reachable for +Inf.
2534 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2535 define.
2536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2537 and return -1 for them. Do not check for +Inf in case not
2538 reachable for +Inf.
2539 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2540 spurious underflow.
2541 * sysdeps/i386/fpu/libm-test-ulps: Update.
2542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2543
fb21f89b
MF
25442012-07-06 Mike Frysinger <vapier@gentoo.org>
2545
2546 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2547
cdfe2c5e
JM
25482012-07-05 Joseph Myers <joseph@codesourcery.com>
2549
2550 [BZ #14157]
2551 [BZ #14331]
2552 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2553 could result in spurious underflow. Scale down values above
2554 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2555 * math/s_csqrtf.c (__csqrtf): Likewise.
2556 * math/s_csqrtl.c (__csqrtl): Likewise.
2557 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2558 spurious underflow.
2559 * sysdeps/i386/fpu/libm-test-ulps: Update.
2560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561
70d35b67
AS
25622012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2563
704bc459
AS
2564 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2565 xopen-msg.sed.
2566 * catgets/xopen-msg.awk: New file.
2567 * catgets/xopen-msg.sed: Removed.
2568
70d35b67
AS
2569 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2570 po2text.sed.
2571 * intl/po2test.awk: New file.
2572 * intl/po2test.sed: Removed.
2573
ca61cf32
JM
25742012-07-04 Joseph Myers <joseph@codesourcery.com>
2575
2576 [BZ #14328]
2577 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2578 or multiply small sinh result by itself.
2579 * math/s_ctanf.c (__ctanf): Likewise.
2580 * math/s_ctanh.c (__ctanh): Likewise.
2581 * math/s_ctanhf.c (__ctanhf): Likewise.
2582 * math/s_ctanhl.c (__ctanhl): Likewise.
2583 * math/s_ctanl.c (__ctanl): Likewise.
2584 * math/libm-test.inc (ctan_test_tonearest): New function.
2585 (ctan_test_towardzero): Likewise.
2586 (ctan_test_downward): Likewise.
2587 (ctan_test_upward): Likewise.
2588 (ctanh_test_tonearest): Likewise.
2589 (ctanh_test_towardzero): Likewise.
2590 (ctanh_test_downward): Likewise.
2591 (ctanh_test_upward): Likewise.
2592 (main): Call these new functions.
2593 * sysdeps/i386/fpu/libm-test-ulps: Update.
2594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2595
ca48a46a
MF
25962012-07-03 Mike Frysinger <vapier@gentoo.org>
2597
2598 * .gitignore: Delete /ports entry.
2599
9d63d37d
AJ
26002012-07-03 Andreas Jaeger <aj@suse.de>
2601
2602 * po/bg.po: Update from translation team.
2603 * po/cs.po: Likewise.
2604 * po/de.po: Likewise.
2605 * po/hr.po: Likewise.
2606 * po/nl.pl: Likewise.
2607 * po/pl.po: Likewise.
2608 * po/vi.po: Likewise.
2609
370ca3d2
JM
26102012-07-03 Joseph Myers <joseph@codesourcery.com>
2611
95f5a9a8
JM
2612 * Makeconfig [!+link] (+link-before-libc): New variable.
2613 [!+link] (+link-after-libc): Likewise.
2614 [!+link] (+link-tests): Likewise.
2615 [!+link] (+link): Define in terms of $(+link-before-libc) and
2616 $(+link-after-libc).
2617 [!+link-static] (+link-static-before-libc): New variable.
2618 [!+link-static] (+link-static-after-libc): Likewise.
2619 [!+link-static] (+link-static-tests): Likewise.
2620 [!+link-static] (+link-static): Define in terms of
2621 $(+link-static-before-libc) and $(+link-static-after-libc).
2622 [build-shared] (link-libc-before-gnulib): New variable.
2623 [build-shared] (link-libc-tests): Likewise.
2624 [build-shared] (link-libc): Define in terms of
2625 $(link-libc-before-gnulib).
2626 [!build-shared] (link-libc-tests): New variable.
2627 (link-libc-static-tests): New variable.
2628 [!gnulib] (gnulib-arch): New variable.
2629 [!gnulib] (gnulib-tests): Likewise.
2630 [!gnulib] (static-gnulib-arch): Likewise.
2631 [!gnulib] (static-gnulib-tests): Likewise.
2632 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2633 Define with "=" instead of ":=".
2634 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2635 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2636 * Rules (binaries-all-notests): New variable.
2637 (binaries-all-tests): Likewise.
2638 (binaries-static-notests): Likewise.
2639 (binaries-static-tests): Likewise.
2640 (binaries-all): Define using $(binaries-all-notests) and
2641 $(binaries-all-tests).
2642 (binaries-static): Define using $(binaries-static-notests) and
2643 $(binaries-static-tests).
2644 (binaries-shared-tests): New variable.
2645 (binaries-shared-notests): Likewise.
2646 (binaries-shared): Remove variable.
2647 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2648 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2649 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2650 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2651 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2652 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2653 * elf/Makefile (sln-modules): New variable.
2654 (extra-objs): Add $(sln-modules:=.o).
2655 (ldconfig-modules): Add static-stubs.
2656 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2657 * elf/static-stubs.c: New file.
2658
7a845b2c
JM
2659 [BZ #14283]
2660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2661 by 7 not 8 to examine high bit of fractional part. Use volatile
2662 variables when splitting into final array of floats if
2663 __FLT_EVAL_METHOD__ != 0.
2664 * math/libm-test.inc (cos_test): Add another test.
2665 (sin_test): Likewise.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667
e2283f38
JM
2668 [BZ #14273]
2669 * math/libm-test.inc (cosh_test): Add more tests.
2670
370ca3d2
JM
2671 * version.h (RELEASE): Set to "development".
2672 (VERSION): Set to "2.16.90".
2673
ee9247c3
CD
26742012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2675
2676 * NEWS: Update copyright. Remove last-updated date.
2677 Mention math library bug fixes and timezone data changes.
2678 * README: Mention GNU/Hurd, x32, and HPPA support status.
2679
4648c381
TS
26802012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2681
2682 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2683
aac78a43
AJ
26842012-06-27 Andreas Jaeger <aj@suse.de>
2685
2686 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2687
ed3dbfad
AJ
26882012-06-25 Andreas Jaeger <aj@suse.de>
2689
2690 * sysdeps/s390/fpu/libm-test-ulps: Update.
2691
4d0ee855
AS
26922012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2693 Thomas Schwinge <thomas@codesourcery.com>
2694
2695 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2696 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2698 fanotify_mark.
2699
af1bce34
TS
27002012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2701
a9fa33ba
TS
2702 * sysdeps/mach/start.c: Remove file.
2703 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2704 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2705 * sysdeps/sh/init-first.c: Likewise.
2706
58f902b8
TS
2707 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2708 registers for frame unwinding purposes, add CFI directives.
2709 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2711 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2712 Likewise.
2713
1518f58b
TS
2714 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2715 __fortify_fail returning.
2716 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2717
db9b5059
TS
2718 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2719 sysdeps/sh/____longjmp_chk.S.
2720 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2721 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2722 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2723 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2724
967705fe
TS
2725 * sysdeps/sh/abort-instr.h: New file.
2726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2727 process in case exit returns.
2728
a9def8c4
TS
2729 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2730 initialize the GOT register before use.
2731
2a649725
TS
2732 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2733 calculation of ARGC > 4.
2734
af1bce34
TS
2735 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2736 meaningful names to some local labels.
2737
d230f50a
KK
27382012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2739 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2740
2741 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2742 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2743 (__arch_compare_and_exchange_val_16_acq): Likewise.
2744 (__arch_compare_and_exchange_val_32_acq): Likewise.
2745 (atomic_exchange_and_add): Fix gUSA sequence.
2746 (atomic_add): Likewise.
2747 (atomic_add_negative): Likewise.
2748 (atomic_add_zero): Likewise.
2749 (atomic_bit_test_set): Likewise.
2750
0479b305
AS
27512012-06-22 Andreas Schwab <schwab@redhat.com>
2752
2753 [BZ #13579]
2754 * include/link.h (struct link_map): Add l_free_initfini.
2755 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2756 l_initfini.
2757 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2758 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2759 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2760 set.
2761
0e3933b9
CD
27622012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2763
2764 * configure.in: Use AC_LANG_SOURCE.
2765 * configure: Regenerate.
2766
4248b1b1
RM
27672012-06-22 Roland McGrath <roland@hack.frob.com>
2768
2769 * configure.in (libc_cv_localstatedir): New substituted variable.
2770 * configure: Regenerated.
2771 * config.make.in (localstatedir): New variable, substituted from
2772 libc_cv_localstatedir.
2773 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2774 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2775 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2776 * sysdeps/gnu/configure: Regenerated.
2777
006dd861
JL
27782012-06-21 Jeff Law <law@redhat.com>
2779
2780 [BZ #14277]
2781 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2782 free. Simplify list management for _LIBC case.
2783
79662d42
JM
27842012-06-21 Joseph Myers <joseph@codesourcery.com>
2785
b7abb4bf
JM
2786 [BZ #14273]
2787 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2788 Clear sign bit of 64-bit integer value before comparing against
2789 overflow value.
2790
79662d42
JM
2791 * sysdeps/mach/configure: Regenerated.
2792
1f150908
L
27932012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 [BZ #14278]
2796 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2797
28363bbf
JL
27982012-06-21 Jeff Law <law@redhat.com>
2799
2800 [BZ #13882]
2801 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2802 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2804 * elf/dl-open.c (dl_open_worker): Likewise.
2805
09615db4
CD
28062012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2807
2808 * scripts/list-sources.sh: Scan PORTS for translations.
2809 * po/libc.pot: Regenerated.
2810
2174c6dd
AJ
28112012-06-21 Andreas Jaeger <aj@suse.de>
2812
2813 [BZ #12194]
2814 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2815 warning.
2816 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2817 * bits/byteswap-16.h (__bswap_16): Likewise.
2818 * bits/byteswap.h (__bswap_constant_16): Likewise.
2819
3ee947b1
L
28202012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2821
2822 [BZ #14117]
a2f34833
L
2823 * sysdeps/i386/fpu_control.h: Removed.
2824 * sysdeps/x86_64/fpu_control.h: Moved to ...
2825 * sysdeps/x86/fpu_control.h: Here.
2826
3ee947b1
L
2827 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2828 (_FPU_SETCW): Likewise.
2829
ed1825f8
L
28302012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2831
25f1282a
L
2832 [BZ #14117]
2833 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2834 * sysdeps/x86/fpu/bits/mathinline.h: This.
2835 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2836
ed1825f8
L
2837 [BZ #14050]
2838 [BZ #14117]
2839 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2840 functions if __x86_64__ is defined.
2841
36d54b74
CLT
28422012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2843
2844 * string/endian.h: Add !__ASSEMBLER__ condition for including
2845 conversion interfaces.
2846
10285c21
JM
28472012-06-15 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #14241]
2850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2851 of ABS(x) in calculating zero to negative powers other than odd
2852 integers.
2853 * math/libm-test.inc (pow_test): Add more tests.
2854
06c5abbd
AJ
28552012-06-15 Andreas Jaeger <aj@suse.de>
2856
2857 * manual/contrib.texi (Contributors): Update entry of Liubov
2858 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2859 Machado Filho.
2860
a3aeac40
CH
28612012-06-15 Cyril Hrubis <metan@ucw.cz>
2862
2863 * string/string.h: Add __wur to GNU version of strerror_r.
2864
49bdf4c1
L
28652012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 [BZ #14229]
2868 * string/Makefile (tests): Add tst-strtok_r.
2869 * string/tst-strtok_r.c: New file.
2870 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2871 RAX_LP/RDX_LP on SAVE_PTR.
2872
834f9b8d
RM
28732012-06-14 Roland McGrath <roland@hack.frob.com>
2874
2875 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2876
75fa1921
JM
28772012-06-14 Joseph Myers <joseph@codesourcery.com>
2878
2879 * libm_test.inc (csqrt_test): Allow more spurious underflow
2880 exceptions.
2881 (j0_test): Likewise.
2882 (j1_test): Likewise.
2883 (y0_test): Likewise.
2884 (y1_test): Likewise.
2885
771766df
CD
28862012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2887
2888 * po/Makefile (libc.pot): Use UTF-8 charset.
2889
ceb9e56b
PP
28902012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2891
2892 [BZ #14210]
2893 Suppress sign-conversion warning from FD_SET.
2894 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2895 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2896 not unsigned long int.
2897 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2898
ddb28975
L
28992012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2900
2901 [BZ #14050]
2902 [BZ #14117]
2903 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2904 __extern_always_inline instead of __extern_inline.
2905 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2906 (__signbit): Likewise.
2907 (__signbitl): Support C++ namespace.
2908 (lrintf): New inline function.
2909 (lrint): Likewise.
2910 (llrintf): Likewise.
2911 (llrint): Likewise.
2912 (fmaxf): Likewise.
2913 (fmax): Likewise.
2914 (fminf): Likewise.
2915 (fmin): Likewise.
2916 (rint): Likewise.
2917 (rintf): Likewise.
2918 (ceil): Likewise.
2919 (ceilf): Likewise.
2920 (floor): Likewise.
2921 (floorf): Likewise.
2922 (nearbyint): Likewise.
2923 (nearbyintf): Likewise.
2924
d7b4fb26
TS
29252012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2926
2927 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2928 non-default versions.
2929
eb55f5c2
RM
29302012-06-11 Roland McGrath <roland@hack.frob.com>
2931
2932 [BZ #14218]
2933 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2934
366af02c
TS
29352012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2936
99ff6e5c
TS
2937 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2938 (FE_UPWARD, FE_DOWNWARD): Don't define.
2939 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2940 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2941
366af02c
TS
2942 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2943 reading it.
2944 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2945 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2946
793ea851
KK
29472012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2948
2949 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2950 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2951 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2952 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2953
a728a38f
L
29542012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 [BZ #14117]
c08010c7
L
2957 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2958 * sysdeps/i386/fpu/Implies: New file.
2959 * sysdeps/x86_64/fpu/Implies: Likewise.
2960 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2961 * sysdeps/x86/fpu/bits/fenv.h: This.
2962
a728a38f
L
2963 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2964 __SSE_MATH__.
2965
6e230d11
SP
29662012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2967
2968 [BZ #14134]
2969 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2970 character 0xffff that matches the last element of the
2971 conversion table.
2972
1b671feb
AZ
29732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2974
2975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2976 fmodl commit.
2977
6043738b
AZ
29782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2979
2980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2981 values higher than 25.6283.
2982
34ae0b32
AZ
29832012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2984
2985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2986 subnormal exponent extraction and add some __builtin_expect.
2987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2988 Fix for subnormal mantissa calculation.
2989
1214ec8f
MF
29902012-06-04 Mike Frysinger <vapier@gentoo.org>
2991
2992 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2993 cpu2 is -1 and errno is not ENOSYS.
2994
f3d1f93c
L
29952012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2996
2997 [BZ #14117]
0e4a3cd7
L
2998 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2999 * sysdeps/x86/bits/string.h: This.
3000 * sysdeps/x86_64/bits/string.h: Removed.
3001
6704c645
L
3002 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3003 if not compiling for x86-64, but compiling for >= i486.
3004
48495318
L
3005 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3006 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3007
14adcbfc
L
3008 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3009 New macro from Linux kernel 3.4.0.
3010 (FP_XSTATE_MAGIC2): Likewise.
3011 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3012 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3013 (struct _fpx_sw_bytes): New struct.
3014 (struct _xsave_hdr): Likewise.
3015 (struct _ymmh_state): Likewise.
3016 (struct _xstate): Likewise.
3017
68e408ab
L
3018 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3019 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3020 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3021 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3022 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3023 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3024
f3d1f93c
L
3025 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3026 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3027 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3028 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3029 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3030 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3031
d9dc34cd
TMQMF
30322012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3033
3034 [BZ #13743]
3035 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3036 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3037 (sysdep_headers): Include sys/platform/ppc.h.
3038 * sysdeps/powerpc/test-gettimebase.c: Test for
3039 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3040 * manual/Makefile (appendices): Include platform.texi.
3041 * manual/contrib.texi (Contributors): Update @node pointers.
3042 * manual/maint.texi (Maintenance): Likewise.
3043 (Platform): New node.
3044 * manual/platform.texi: New file. Document the new features.
3045
4af3879c
SP
30462012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3047 Jakub Jelinek <jakub@redhat.com>
3048
3049 [BZ #14188]
3050 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3051 where __builtin_expect is unavailable.
3052
2fd6ff13
DM
30532012-06-03 David S. Miller <davem@davemloft.net>
3054
3055 * stdlib/longlong.h: Updated from GCC.
3056
173f7220
AS
30572012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3058
3059 [BZ #14042]
3060 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3061 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3062 __mcount_internal.
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3064 (GLIBC_2.16): Likewise.
3065
f34a1c6f
L
30662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3067
3068 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3069
88a4576f
JM
30702012-06-01 Joseph Myers <joseph@codesourcery.com>
3071
ea32bcdd
JM
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3073 (default-abi): New variable.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3075 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3076 variable.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3078 Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3080 Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3082 Likewise.
3083
88a4576f
JM
3084 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3085 definition. Document in comment.
3086
402fe938
DM
30872012-06-01 David S. Miller <davem@davemloft.net>
3088
3089 * stdlib/longlong.h: Updated from GCC.
3090
3553723f
L
30912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 [BZ #14117]
3bd872c4
L
3094 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3095 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3096 sys/debugreg.h sys/io.h here.
3097 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3098 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3099 sys/io.h.
3100 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3101 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3102 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3103 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3104 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3105 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3106
3553723f
L
3107 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3108 Define only if __x86_64__ is defined.
3109
4842e4fe
JM
31102012-06-01 Joseph Myers <joseph@codesourcery.com>
3111
c5bfe3d5
JM
3112 [BZ #14048]
3113 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3114 Use int64_t for variable i.
3115 * math/libm-test.inc (fmod_test): Add more tests.
3116
4842e4fe
JM
3117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3118 z computation is not scheduled after fetestexcept.
3119 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3120 Use math_force_eval instead of asm to ensure calculation scheduled
3121 before exception test.
3122 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3123 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3124
efb73488
AJ
31252012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3126
3127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3128 computation is not scheduled after fetestexcept.
3129
29bcce7c
L
31302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 [BZ #14117]
3133 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3134 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3135
73a68f94
AZ
31362012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137
3138 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3139 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3140
67b6df78
L
31412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3142
edf2933a 3143 [BZ #14117]
ebc64a18
L
3144 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3145 <bits/wordsize.h>.
3146 (__WCHAR_MIN): Support __WORDSIZE == 64.
3147 (__WCHAR_MAX): Likewise.
3148
edf2933a
L
3149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3150 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3151
57c6cf40
L
3152 [BZ #14183]
3153 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3154 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3155
67b6df78 3156 [BZ #14117]
8eb6281e
L
3157 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3158 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3159
aac639f4
L
3160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3161 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3162
67b6df78
L
3163 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3164 Defined to 1 if __x86_64__ isn't defined.
3165 (_STAT_VER_LINUX_OLD): New.
3166 (st_atime): Remove duplicate.
3167 (st_mtime): Likewise.
3168 (st_ctime): Likewise.
3169
1c2cfe81
DM
31702012-05-31 David S. Miller <davem@davemloft.net>
3171
3172 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3173 entries.
3174
5be8418c
AS
31752012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3176
e7725326
AS
3177 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3178 gen-libm-test.pl.
3179
5be8418c
AS
3180 [BZ #14132]
3181 * elf/dl-reloc.c: Include <_itoa.h>.
3182 (_dl_reloc_bad_type): Remove use of INTUSE.
3183 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3184 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3185 * stdio-common/psiginfo.c (psiginfo): Likewise.
3186 * stdio-common/psignal.c (psignal): Likewise.
3187 * string/strsignal.c (strsignal): Likewise.
3188 * include/signal.h (_sys_siglist): Declare hidden proto.
3189 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3190 INTVARDEF with libc_hidden_data_def.
3191 * stdio-common/itoa-udigits.c: Likewise.
3192 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3193 (_itoa_lower_digits_internal): Remove declaration.
3194 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3195 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3196 (_sys_sigabbrev_internal): Remove aliases.
3197 (_sys_siglist): Define hidden alias.
3198
507352f1
MT
31992012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3200
3201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3202 bits/sysctl.h.
3203
42bbb1c3
L
32042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3205
3206 [BZ #14117]
6bd784b6
L
3207 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3208 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3209
8bca20f0
L
3210 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3211 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3212 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3213 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3215 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3216
f9e890a9
L
3217 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3218 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3219 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3220
471101a1
L
3221 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3222 with __addr.
3223 (insw): Likewise.
3224 (insl): Likewise.
3225 (outsb): Likewise.
3226 (outsw): Likewise.
3227 (outsl): Likewise.
3228
6451c862
L
3229 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3232
a254b8c9
L
3233 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3234 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3236 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3237 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3238 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3239
b8dfdd92
L
3240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3241 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3242
578cd270
L
3243 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3244 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3245
de662f5f
L
3246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3248 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3249
25653439
L
3250 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3251 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3252 to ...
3253 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3254
6bad24a0
L
3255 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3256 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3257 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3258
42bbb1c3
L
3259 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3260 for x86-64.
3261 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3262
2d10d547
JM
32632012-05-31 Joseph Myers <joseph@codesourcery.com>
3264
3265 * math/math.h (M_El): Use two more decimal places.
3266 (M_LOG2El): Likewise.
3267 (M_LOG10El): Likewise.
3268 (M_LN2l): Likewise.
3269 (M_LN10l): Likewise.
3270 (M_PIl): Likewise.
3271 (M_PI_2l): Likewise.
3272 (M_PI_4l): Likewise.
3273 (M_1_PIl): Likewise.
3274 (M_2_PIl): Likewise.
3275 (M_2_SQRTPIl): Likewise.
3276 (M_SQRT2l): Likewise.
3277 (M_SQRT1_2l): Likewise.
3278
f230c29b
DM
32792012-05-31 David S. Miller <davem@davemloft.net>
3280
3281 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3282 values between float registers.
3283 * sysdeps/sparc/sparc64/memset.S: Likewise.
3284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3285
fed806c3
MF
32862012-05-31 Mike Frysinger <vapier@gentoo.org>
3287
3288 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3289 -D_FORTIFY_SOURCE=1.
3290 (CPPFLAGS-tst-longjmp_chk.c): Define.
3291 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3292 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3293 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3294 CFLAGS-tst-wchar-h.c.
3295
30917259
MP
32962012-05-31 Marek Polacek <polacek@redhat.com>
3297
3298 [BZ #14132]
3299 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3300 __endmntent_internal): Remove declaration.
3301 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3302 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3303 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3304
1c58d5dc
DM
33052012-05-30 David S. Miller <davem@davemloft.net>
3306
3307 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3308 (___Q_simulate_exceptions): Use real FP ops rather than writing
3309 into the %fsr.
3310 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3311 Likewise.
3312
7dc00e0d
L
33132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3314
3315 [BZ #14117]
0bd53985
L
3316 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3317 * sysdeps/x86/bits/xtitypes.h: This.
3318
3a257e66
L
3319 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3320 * sysdeps/x86/bits/wordsize.h: This.
3321
62f62904
L
3322 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3323 * sysdeps/x86/bits/huge_vall.h: This.
3324
404fe9d9
L
3325 * sysdeps/i386/bits/select.h: Removed.
3326 * sysdeps/x86_64/bits/select.h: Renamed to ...
3327 * sysdeps/x86/bits/select.h: This.
3328
d48d0446
L
3329 * sysdeps/i386/bits/setjmp.h: Removed.
3330 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3331 * sysdeps/x86/bits/setjmp.h: This.
3332
7dc00e0d
L
3333 * sysdeps/i386/bits/mathdef.h: Removed.
3334 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3335 * sysdeps/x86/bits/mathdef.h: This.
3336
03277f8f
AS
33372012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3338
3339 [BZ #14132]
3340 * include/sys/socket.h (__connect_internal)
3341 (__libc_sa_len_internal): Remove declaration.
3342 (__connect, __libc_sa_len): Declare hidden_proto.
3343 (SA_LEN): Remove use of INTUSE.
3344 * socket/connect.c: Add libc_hidden_def.
3345 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3346 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3347 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3348 alias.
3349 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3351 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3352 of adding _internal alias.
3353
13764867
L
33542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 [BZ #14117]
6bd97696
L
3357 * sysdeps/i386/bits/link.h: Removed.
3358 * sysdeps/i386/bits/linkmap.h: Likewise.
3359 * sysdeps/x86_64/bits/link.h: Renamed to ...
3360 * sysdeps/x86/bits/link.h: This.
3361 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3362 * sysdeps/x86/bits/linkmap.h: This.
3363
f726f0bb
L
3364 * sysdeps/i386/bits/endian.h: Removed.
3365 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3366 * sysdeps/x86/bits/endian.h: This.
3367
13764867
L
3368 * sysdeps/i386/bits/byteswap.h: Removed.
3369 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3370 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3371 * sysdeps/x86/bits/byteswap.h: This.
3372 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3373 * sysdeps/x86/bits/byteswap-16.h: This.
3374 * sysdeps/i386/Implies: Add x86.
3375 * sysdeps/x86_64/Implies: Likewise.
3376
ae251b0b
DM
33772012-05-30 David S. Miller <davem@davemloft.net>
3378
3379 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3380 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3382 (FP_TRAPPING_EXCEPTIONS): Define.
3383 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3384 (FP_TRAPPING_EXCEPTIONS): Define.
3385 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3386 subnormals only when inexact has been signalled or underflow
3387 exceptions are enabled.
3388 (_FP_PACK_CANONICAL): Likewise.
3389
d5c90867
L
33902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 [BZ #14183]
3393 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3394 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3395
63f1549e
RH
33962012-05-30 Richard Henderson <rth@twiddle.net>
3397
8d8f2279
RH
3398 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3399 with #ifndef NOT_IN_libc.
3400
63f1549e
RH
3401 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3402 marked to avoid plt entry.
3403
0ab0291b
L
34042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3405
3406 [BZ #14112]
3407 * Makeconfig (default-abi): New macro.
3408 (abi-includes): Likewise.
3409 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3410 $(abi-$(default-abi)-lib-soname) for soname if defined.
3411 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3412 abi-variants.
3413 * Makefile (installed-stubs): Likewise.
3414 * include/stubs-biarch.h: Removed.
3415 * scripts/lib-names.awk: Only handle one library at a time.
3416 * scripts/soversions.awk: Remove WORDSIZE support.
3417 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3418 entries.
3419 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3420 Removed.
3421 (syscall-list-default-condition): Likewise.
3422 (syscall-list-default-condition): Likewise.
3423 (syscall-list-includes): Likewise.
3424 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3425 syscall-list-* with abi-*. Handle undefined abi-variants.
3426 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3427 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3428 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3429 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3430 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3431 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3432 Removed.
3433 (syscall-list-32-options): Likewise.
3434 (syscall-list-32-condition): Likewise.
3435 (syscall-list-64-options): Likewise.
3436 (syscall-list-64-condition): Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3438 macro.
3439 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3440 Renamed to ...
3441 (abi-*): This.
3442 (abi-64-ld-soname): New macro.
3443 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3445 Renamed to ...
3446 (abi-*): This.
3447 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3448 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3449
4da0431d
JM
34502012-05-30 Joseph Myers <joseph@codesourcery.com>
3451
3a85279c
JM
3452 * sysdeps/unix/sysv/linux/kernel-features.h
3453 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3454 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3455 include <kernel-features.h>.
3456 [!__NR_ftruncate64]: Remove conditional code.
3457 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3458 [__NR_ftruncate64]: Make code unconditional.
3459 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3460 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3461 include <kernel-features.h>.
3462 [!__NR_ftruncate64]: Remove conditional code.
3463 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3464 [__NR_ftruncate64]: Make code unconditional.
3465 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3467 include <kernel-features.h>.
3468 [!__NR_ftruncate64]: Remove conditional code.
3469 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3470 [__NR_ftruncate64]: Make code unconditional.
3471 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3473 include <kernel-features.h>.
3474 [!__NR_ftruncate64]: Remove conditional code.
3475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3476 [__NR_ftruncate64]: Make code unconditional.
3477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3478
4da0431d
JM
3479 * configure.in (libc_cv_fpie): Weaken to a compile test using
3480 LIBC_TRY_CC_OPTION.
3481 * configure: Regenerated.
3482
11ef492c
AK
34832012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3484
3485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3489 Refreshed.
3490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3496 Refreshed.
3497
d66ef399
DM
34982012-05-27 David S. Miller <davem@davemloft.net>
3499
3500 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3501 (___Q_zero): New.
3502 (__Q_simulate_exceptions): Return void. Change to simulate
3503 exceptions by writing into the %fsr.
3504 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3505 (__Qp_handle_exceptions): Likewise.
3506 (numbers): Delete.
3507 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3508 __Qp_handle_exceptions.
3509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3510 __Qp_handle_exceptions.
3511 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3512 as unused and give dummy FP_RND_NEAREST initializer.
3513 (FP_INHIBIT_RESULTS): Define.
3514 (___Q_simulate_exceptions): Update declaration.
3515 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3516 formatting.
3517 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3518 as unused and give dummy FP_RND_NEAREST initializer.
3519 (__Qp_handle_exceptions): Update declaration.
3520 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3521 formatting.
3522
04fb54b5
TS
35232012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3524
3525 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3526 the temporary FPU control word.
3527 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3528 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3529 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3530 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3531 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3532 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3533 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3534 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3535 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3536 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3537 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3538
3f99608f
KK
35392012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3540
3541 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3542 fields.
3543
65a4de4e
CLT
35442012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3545
3546 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3547 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3548 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3549 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3550 Likewise.
3551 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3552 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3553 Likewise.
3554
15749d40
UD
35552012-05-27 Ulrich Drepper <drepper@gmail.com>
3556
3557 * po/h.po: Update from translation team.
3558
25dbcb27
AS
35592012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3560
3d3f8e55
AS
3561 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3562
25dbcb27
AS
3563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3564 handling of denormals.
3565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3566 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3567 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3568 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3572 Likewise.
3573
7ad47a80 35742012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3575
3576 [BZ #14152]
3577 * math/libm-test.inc (fma_test): Don't always expect underflow
3578 exception.
3579
9c6ea9fa
SP
35802012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3581
3582 [BZ #12416]
3583 * elf/tst-execstack.c: Include stackinfo.h.
3584 (do_test): Adjust test case to ensure that pthread_getattr_np
3585 behaviour remains the same after marking stack executable.
3586
a8239222
JM
35872012-05-25 Joseph Myers <joseph@codesourcery.com>
3588
3589 * sysdeps/unix/sysv/linux/kernel-features.h
3590 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3591 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3592 kernel-features.h.
3593 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3594 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3595 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3596 kernel-features.h.
3597 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3598 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3599
918b5606
L
36002012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * configure.in: Define the default includes to being none.
3603 * configure: Regenerated.
3604
3a097cc7
RM
36052012-05-25 Roland McGrath <roland@hack.frob.com>
3606
8422c9a5
RM
3607 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3608 * sysdeps/x86_64/setjmp.S: Likewise.
3609 * sysdeps/i386/bsd-setjmp.S: Likewise.
3610 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3611 * sysdeps/i386/setjmp.S: Likewise.
3612 * sysdeps/i386/__longjmp.S: Likewise.
3613 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3614 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3615
3a097cc7
RM
3616 * include/stap-probe.h: New file.
3617 * configure.in: Handle --enable-systemtap.
3618 * configure: Regenerated.
3619 * config.h.in (USE_STAP_PROBE): New #undef.
3620 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3621 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3622 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3623
21708942
JM
36242012-05-25 Joseph Myers <joseph@codesourcery.com>
3625
3626 [BZ #13717]
3627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3628 to 2.4.0 where earlier.
3629 * sysdeps/unix/sysv/linux/configure: Regenerated.
3630 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3631 <kernel-features.h>.
3632 [__ASSUME_32BITUIDS]: Make code unconditional.
3633 [!__ASSUME_32BITUIDS]: Remove conditional code.
3634 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3635 <kernel-features.h>.
3636 [__ASSUME_32BITUIDS]: Make code unconditional.
3637 [!__ASSUME_32BITUIDS]: Remove conditional code.
3638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3639 [__ASSUME_32BITUIDS]: Make code unconditional.
3640 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3641 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3642 <kernel-features.h>.
3643 [__ASSUME_32BITUIDS]: Make code unconditional.
3644 [!__ASSUME_32BITUIDS]: Remove conditional code.
3645 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3646 <kernel-features.h>.
3647 [__ASSUME_32BITUIDS]: Make code unconditional.
3648 [!__ASSUME_32BITUIDS]: Remove conditional code.
3649 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3650 <kernel-features.h>.
3651 [__ASSUME_32BITUIDS]: Make code unconditional.
3652 [!__ASSUME_32BITUIDS]: Remove conditional code.
3653 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3654 <kernel-features.h>.
3655 [__ASSUME_32BITUIDS]: Make code unconditional.
3656 [!__ASSUME_32BITUIDS]: Remove conditional code.
3657 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3658 <kernel-features.h>.
3659 [__ASSUME_32BITUIDS]: Make code unconditional.
3660 [!__ASSUME_32BITUIDS]: Remove conditional code.
3661 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3662 <kernel-features.h>.
3663 [__ASSUME_32BITUIDS]: Make code unconditional.
3664 [!__ASSUME_32BITUIDS]: Remove conditional code.
3665 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3666 <kernel-features.h>.
3667 [__ASSUME_32BITUIDS]: Make code unconditional.
3668 [!__ASSUME_32BITUIDS]: Remove conditional code.
3669 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3670 <kernel-features.h>.
3671 [__ASSUME_32BITUIDS]: Make code unconditional.
3672 [!__ASSUME_32BITUIDS]: Remove conditional code.
3673 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3674 <kernel-features.h>.
3675 [__ASSUME_32BITUIDS]: Make code unconditional.
3676 [!__ASSUME_32BITUIDS]: Remove conditional code.
3677 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3678 <kernel-features.h>.
3679 [__ASSUME_32BITUIDS]: Make code unconditional.
3680 [!__ASSUME_32BITUIDS]: Remove conditional code.
3681 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3682 <kernel-features.h>.
3683 [__NR_setresgid] (__setresgid): Do not declare.
3684 [__ASSUME_32BITUIDS]: Make code unconditional.
3685 [!__ASSUME_32BITUIDS]: Remove conditional code.
3686 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3687 <kernel-features.h>.
3688 [__NR_setresuid] (__setresuid): Do not declare.
3689 [__ASSUME_32BITUIDS]: Make code unconditional.
3690 [!__ASSUME_32BITUIDS]: Remove conditional code.
3691 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3692 <kernel-features.h>.
3693 [__ASSUME_32BITUIDS]: Make code unconditional.
3694 [!__ASSUME_32BITUIDS]: Remove conditional code.
3695 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3696 <kernel-features.h>.
3697 [__ASSUME_32BITUIDS]: Make code unconditional.
3698 [!__ASSUME_32BITUIDS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3700 <kernel-features.h>.
3701 [__ASSUME_32BITUIDS]: Make code unconditional.
3702 [!__ASSUME_32BITUIDS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3704 <kernel-features.h>.
3705 [__ASSUME_32BITUIDS]: Make code unconditional.
3706 [!__ASSUME_32BITUIDS]: Remove conditional code.
3707 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3708 <kernel-features.h>.
3709 [__ASSUME_32BITUIDS]: Make code unconditional.
3710 [!__ASSUME_32BITUIDS]: Remove conditional code.
3711 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3712 <kernel-features.h>.
3713 [__ASSUME_32BITUIDS]: Make code unconditional.
3714 [!__ASSUME_32BITUIDS]: Remove conditional code.
3715 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3716 <kernel-features.h>.
3717 [__ASSUME_32BITUIDS]: Make code unconditional.
3718 [!__ASSUME_32BITUIDS]: Remove conditional code.
3719 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3720 <kernel-features.h>.
3721 [__ASSUME_32BITUIDS]: Make code unconditional.
3722 [!__ASSUME_32BITUIDS]: Remove conditional code.
3723 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3724 <kernel-features.h>.
3725 [__ASSUME_32BITUIDS]: Make code unconditional.
3726 [!__ASSUME_32BITUIDS]: Remove conditional code.
3727 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3728 <kernel-features.h>.
3729 [__ASSUME_32BITUIDS]: Make code unconditional.
3730 [!__ASSUME_32BITUIDS]: Remove conditional code.
3731 * sysdeps/unix/sysv/linux/kernel-features.h
3732 (__ASSUME_SETRESUID_SYSCALL): Remove.
3733 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3734 (__ASSUME_32BITUIDS): Likewise.
3735 (__ASSUME_LDT_WORKS): Likewise.
3736 (__ASSUME_O_DIRECTORY): Likewise.
3737 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3738 architecture but not kernel version.
3739 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3740 (__ASSUME_MMAP2_SYSCALL): Likewise.
3741 (__ASSUME_STAT64_SYSCALL): Likewise.
3742 (__ASSUME_IPC64): Likewise.
3743 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3744 <kernel-features.h>.
3745 [__ASSUME_32BITUIDS]: Make code unconditional.
3746 [!__ASSUME_32BITUIDS]: Remove conditional code.
3747 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3748 <kernel-features.h>.
3749 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3750 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3751 132096]: Remove conditional code.
3752 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3754 <kernel-features.h>.
3755 [__ASSUME_32BITUIDS]: Make code unconditional.
3756 [!__ASSUME_32BITUIDS]: Remove conditional code.
3757 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3758 <kernel-features.h>.
3759 [__ASSUME_32BITUIDS]: Make code unconditional.
3760 [!__ASSUME_32BITUIDS]: Remove conditional code.
3761 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3762 <kernel-features.h>.
3763 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3764 unconditional.
3765 (__setresgid): Do not declare.
3766 [__ASSUME_32BITUIDS]: Make code unconditional.
3767 [!__ASSUME_32BITUIDS]: Remove conditional code.
3768 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3769 <kernel-features.h>.
3770 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3771 unconditional.
3772 (__setresuid): Do not declare.
3773 [__ASSUME_32BITUIDS]: Make code unconditional.
3774 [!__ASSUME_32BITUIDS]: Remove conditional code.
3775 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
3780 <kernel-features.h>.
3781 [__ASSUME_32BITUIDS]: Make code unconditional.
3782 [!__ASSUME_32BITUIDS]: Remove conditional code.
3783
a386f1cc
RH
37842012-05-25 Richard Henderson <rth@twiddle.net>
3785
3786 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3787 dl_hwcap to ifunc resolver.
3788 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3789 elf_ifunc_invoke.
3790 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3791 dl_hwcap to ifunc resolver.
3792 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3793
b6550497
JM
37942012-05-24 Joseph Myers <joseph@codesourcery.com>
3795
3796 [BZ #14153]
3797 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3798 for |x| <= 2**-26, not 2**-57.
3799 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3800 exception.
3801
b0bc23a1
JL
38022012-05-24 Jeff Law <law@redhat.com>
3803
3804 * stdio-common/Makefile (tests): Add bug25.
3805 * stdio-common/bug25.c: New test.
3806
347c92e9
L
38072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3808
3809 [BZ #13576]
3810 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3811 multiple of MALLOC_ALIGNMENT in size.
3812 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3813
6bcc8b3f
JM
38142012-05-24 Joseph Myers <joseph@codesourcery.com>
3815
3816 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3817 Require >= 256.
3818 (FILENAME_MAX): Use macro-int-constant.
3819 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3820 (_IOFBF): Use macro-int-constant.
3821 (_IOLBF): Likewise.
3822 (_IONBF): Likewise.
3823 (SEEK_CUR): Likewise.
3824 (SEEK_END): Likewise.
3825 (SEEK_SET): Likewise.
3826 (TMP_MAX): Likewise.
3827 (EOF): Use macro-int-constant. Require < 0.
3828 (NULL): Use macro-constant. Require == 0.
3829 (stdin): Require type to be FILE *.
3830 (stdout): Likewise.
3831 (stderr): Likewise.
3832 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3833 macro-int-constant.
3834 (EXIT_SUCCESS): Likewise.
3835 (NULL): Use macro-constant. Require == 0.
3836 (RAND_MAX): Use macro-int-constant.
3837 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3838 [C99-based standards] (strtof): Require function.
3839 [C99-based standards] (strtold): Likewise.
3840 [C99-based standards] (strtoll): Likewise.
3841 [C99-based standards] (strtoull): Likewise.
3842 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3843 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3844 [ISO || ISO99 || ISO11] (math.h): Likewise.
3845 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3846 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3848
d18ea0c5
AS
38492012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3850
3851 [BZ #14132]
56d25bb8
AS
3852 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3853 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3854 * intl/dgettext.c (DCGETTEXT): Likewise.
3855 * intl/gettext.c (DCGETTEXT): Likewise.
3856 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3857 * posix/regex_internal.h (gettext): Likewise.
3858 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3859 Remove declaration.
3860 * include/argz.h (__argz_count_internal)
3861 (__argz_stringify_internal): Remove declaration.
3862 (__argz_count, __argz_stringify): Declare hidden proto.
3863 * intl/dcgettext.c: Remove use of INTDEF.
3864 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3865 * string/argz-stringify.c: Likewise.
3866 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3867 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3868 Declare hidden proto.
d18ea0c5
AS
3869 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3870 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3871 Declare hidden proto.
3872 * include/stdio.h (__asprintf_internal): Don't declare.
3873 (__asprintf): Don't define as macro. Declare hidden proto.
3874 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3875 (__fsetlocking): Declare hidden proto.
3876 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3877 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3878 hidden proto.
3879 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3880 (_IO_setlinebuf): Remove use of INTUSE.
3881 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3882 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3883 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3884 Remove declaration.
3885 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3886 (_IO_do_flush): Remove use of INTUSE.
3887 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3888 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3889 (_IO_adjust_column, _IO_least_wmarker)
3890 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3891 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3892 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3893 (_IO_default_doallocate, _IO_wdefault_doallocate)
3894 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3895 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3896 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3897 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3898 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3899 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3900 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3901 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3902 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3903 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3904 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3905 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3906 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3907 proto.
3908 (_IO_flush_all_internal, _IO_adjust_column_internal)
3909 (_IO_default_uflow_internal, _IO_default_finish_internal)
3910 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3911 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3912 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3913 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3914 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3915 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3916 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3917 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3918 (_IO_file_close_internal, _IO_file_close_it_internal)
3919 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3920 (_IO_file_init_internal, _IO_file_attach_internal)
3921 (_IO_file_fopen_internal, _IO_file_read_internal)
3922 (_IO_file_sync_internal, _IO_file_seek_internal)
3923 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3924 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3925 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3926 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3927 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3928 (_IO_list_all_internal, _IO_link_in_internal)
3929 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3930 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3931 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3932 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3933 (_IO_do_write_internal, _IO_padn_internal)
3934 (_IO_getline_info_internal, _IO_getline_internal)
3935 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3936 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3937 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3938 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3939 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3940 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3941 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3942 with libc_hidden_ver, remove use of INTUSE.
3943 * libio/genops.c: Likewise.
3944 * libio/freopen.c: Likewise.
3945 * libio/freopen64.c: Likewise.
3946 * libio/iofclose.c: Likewise.
3947 * libio/iofdopen.c: Likewise.
3948 * libio/iofflush.c: Likewise.
3949 * libio/iofflush_u.c: Likewise.
3950 * libio/iofgets.c: Likewise.
3951 * libio/iofgets_u.c: Likewise.
3952 * libio/iofopen.c: Likewise.
3953 * libio/iofopncook.c: Likewise.
3954 * libio/iofread.c: Likewise.
3955 * libio/iofread_u.c: Likewise.
3956 * libio/ioftell.c: Likewise.
3957 * libio/iofwrite.c: Likewise.
3958 * libio/iogetline.c: Likewise.
3959 * libio/iogets.c: Likewise.
3960 * libio/iogetwline.c: Likewise.
3961 * libio/iopadn.c: Likewise.
3962 * libio/iopopen.c: Likewise.
3963 * libio/ioseekoff.c: Likewise.
3964 * libio/ioseekpos.c: Likewise.
3965 * libio/iosetbuffer.c: Likewise.
3966 * libio/iosetvbuf.c: Likewise.
3967 * libio/ioungetc.c: Likewise.
3968 * libio/ioungetwc.c: Likewise.
3969 * libio/iovdprintf.c: Likewise.
3970 * libio/iovsprintf.c: Likewise.
3971 * libio/iovsscanf.c: Likewise.
3972 * libio/memstream.c: Likewise.
3973 * libio/obprintf.c: Likewise.
3974 * libio/oldfileops.c: Likewise.
3975 * libio/oldiofclose.c: Likewise.
3976 * libio/oldiofdopen.c: Likewise.
3977 * libio/oldiofopen.c: Likewise.
3978 * libio/oldiopopen.c: Likewise.
3979 * libio/oldstdfiles.c: Likewise.
3980 * libio/putc.c: Likewise.
3981 * libio/setbuf.c: Likewise.
3982 * libio/setlinebuf.c: Likewise.
3983 * libio/stdfiles.c: Likewise.
3984 * libio/strops.c: Likewise.
3985 * libio/vasprintf.c: Likewise.
3986 * libio/vscanf.c: Likewise.
3987 * libio/vsnprintf.c: Likewise.
3988 * libio/vswprintf.c: Likewise.
3989 * libio/wfiledoalloc.c: Likewise.
3990 * libio/wfileops.c: Likewise.
3991 * libio/wgenops.c: Likewise.
3992 * libio/wmemstream.c: Likewise.
3993 * libio/wstrops.c: Likewise.
3994 * libio/__fpurge.c: Likewise.
3995 * libio/__fsetlocking.c: Likewise.
3996 * assert/assert.c: Likewise.
3997 * debug/fgets_chk.c: Likewise.
3998 * debug/fgets_u_chk.c: Likewise.
3999 * debug/fread_chk.c: Likewise.
4000 * debug/fread_u_chk.c: Likewise.
4001 * debug/gets_chk.c: Likewise.
4002 * debug/obprintf_chk.c: Likewise.
4003 * debug/vasprintf_chk.c: Likewise.
4004 * debug/vdprintf_chk.c: Likewise.
4005 * debug/vsnprintf_chk.c: Likewise.
4006 * debug/vsprintf_chk.c: Likewise.
4007 * malloc/mtrace.c: Likewise.
4008 * misc/error.c: Likewise.
4009 * misc/syslog.c: Likewise.
4010 * stdio-common/asprintf.c: Likewise.
4011 * stdio-common/fxprintf.c: Likewise.
4012 * stdio-common/getw.c: Likewise.
4013 * stdio-common/isoc99_fscanf.c: Likewise.
4014 * stdio-common/isoc99_scanf.c: Likewise.
4015 * stdio-common/isoc99_vfscanf.c: Likewise.
4016 * stdio-common/isoc99_vscanf.c: Likewise.
4017 * stdio-common/isoc99_vsscanf.c: Likewise.
4018 * stdio-common/printf-prs.c: Likewise.
4019 * stdio-common/printf_fp.c: Likewise.
4020 * stdio-common/printf_fphex.c: Likewise.
4021 * stdio-common/printf_size.c: Likewise.
4022 * stdio-common/putw.c: Likewise.
4023 * stdio-common/scanf.c: Likewise.
4024 * stdio-common/sprintf.c: Likewise.
4025 * stdio-common/tmpfile.c: Likewise.
4026 * stdio-common/vfprintf.c: Likewise.
4027 * stdio-common/vfscanf.c: Likewise.
4028 * stdlib/strfmon_l.c: Likewise.
4029 * sunrpc/openchild.c: Likewise.
4030 * sunrpc/xdr_stdio.c: Likewise.
4031 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4032 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4033
d6c33fda
RM
40342012-05-24 Roland McGrath <roland@hack.frob.com>
4035
c1487492
RM
4036 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4037
4038 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4039 in the third column, to generate for the shared library an IFUNC
4040 that uses _dl_vdso_vsym.
4041 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4042 * Makeconfig (object-suffixes-noshared): New variable.
4043
4044 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4045 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4046 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4047 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4048
d6c33fda
RM
4049 [BZ #14132]
4050 * include/sys/time.h (__gettimeofday): Remove macro.
4051 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4052 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4053 Remove INTDEF.
4054 (__gettimeofday): Add libc_hidden_def.
4055 (gettimeofday): Add libc_hidden_weak.
4056 * sysdeps/mach/gettimeofday.c: Likewise.
4057 * sysdeps/posix/gettimeofday.c: Likewise.
4058 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4059 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4061 (__gettimeofday_internal): Remove strong_alias.
4062 (__gettimeofday): Add libc_hidden_def.
4063 (gettimeofday): Add libc_hidden_weak.
4064 * sysdeps/unix/syscalls.list (gettimeofday):
4065 Remove __gettimeofday_internal alias.
4066
b5a2bbe6
L
40672012-05-24 Daniel Jacobowitz <drow@false.org>
4068 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 [BZ #12495]
4071 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4072 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4073 (largebin_index_32_big): New.
4074 (largebin_index): Use it for 16-byte alignment.
4075 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4076 correction with front_misalign.
4077
cfba4fda
L
40782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4079
7f907421
L
4080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4082 Likewise.
4083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4084 Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4086 Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4088 Likewise.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4090 Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4092 Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4094 Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4104 Likewise.
4105
cfba4fda
L
4106 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4107 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4108
80bad0cc
JM
41092012-05-24 Joseph Myers <joseph@codesourcery.com>
4110
7a25eb06
JM
4111 [BZ #10846]
4112 [BZ #14036]
4113 * math/libm-test.inc (exp_test): Add test from bug 14036.
4114 (pow_test): Add test from bug 10846.
4115
795405f9
JM
4116 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4117 and other flags.
4118 (special_function): Do not include flags in test name.
4119 (parse_args): Likewise.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4122 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4123 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4125
80bad0cc
JM
4126 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4127 exceptions.
4128 * math/libm-test.inc ("Philosophy"): Update comment about
4129 exception testing.
4130 (UNDERFLOW_EXCEPTION): New macro.
4131 (UNDERFLOW_EXCEPTION_OK): Likewise.
4132 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4133 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4134 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4135 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4136 (INVALID_EXCEPTION_OK): Update value.
4137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4138 (OVERFLOW_EXCEPTION_OK): Likewise.
4139 (IGNORE_ZERO_INF_SIGN): Likewise.
4140 (test_exceptions): Handle underflow exceptions.
4141 (acos_test): Update for underflow exception expectations.
4142 (cexp_test): Likewise.
4143 (clog_test): Likewise.
4144 (clog10_test): Likewise.
4145 (csqrt_test): Likewise.
4146 (ctan_test): Likewise.
4147 (ctanh_test): Likewise.
4148 (exp_test): Likewise.
4149 (exp10_test): Likewise.
4150 (exp2_test): Likewise.
4151 (expm1_test): Likewise.
4152 (fma_test): Likewise.
4153 (j0_test): Likewise.
4154 (jn_test): Likewise.
4155 (nexttoward_test): Likewise.
4156 (pow_test): Likewise.
4157 (scalbn_test): Likewise.
4158 (scalbln_test): Likewise.
4159 (tan_test): Likewise.
4160 (y1_test): Likewise.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4163
9e0e3d0b
DM
41642012-05-23 David S. Miller <davem@davemloft.net>
4165
4166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4167 (__libc_sigaction): Remove unused local variables.
4168
ccd0a08f
L
41692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4170
4171 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4172
62bdf9a6
PE
41732012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4174
f8591f80
PE
4175 mktime: avoid signed integer overflow
4176 * time/mktime.c (__mktime_internal): Do not mishandle the case
4177 where diff == INT_MIN.
4178
94c7d826
PE
4179 mktime: simplify computation of average
4180 * time/mktime.c (ranged_convert): Use new time_t_avg function
4181 instead of rolling our own (probably-slower) code.
4182
ce73d683
PE
4183 mktime: do not assume signed right shift propagates sign bit
4184 * time/mktime.c (isdst_differ): New static function.
4185 (__mktime_internal): No need to normalize tm_isdst now.
4186 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4187 tm_isdst values.
4188
72a22e59
PE
4189 mktime: merge another wrapv change from gnulib
4190 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4191 from some compilers.
4192
68605433
PE
4193 mktime: remove incorrect attempt at unusual arithmetics
4194 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4195 The code didn't really work on such machines anyway.
4196 (TYPE_MINIMUM): Assume two's complement.
4197 (twos_complement_arithmetic): Verify that long_int and time_t
4198 are two's complement (or unsigned, in the latter case).
4199
03cf7fe3
PE
4200 mktime: check signed shifts on long_int and time_t, too
4201 * time/mktime.c (SHR): Check that shifts work as desired
4202 on the types long_int and time_t too, as SHR is used on
4203 such types.
4204
f04dfbc2
PE
4205 mktime: do not assume 'long' is wide enough
4206 * time/mktime.c (verify): Move decl up.
4207 (long_int): New type.
4208 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4209 to remove assumption in the code that 'long' is wide enough to
4210 store year values. This assumption is not true on x32 and on
4211 some non-glibc platforms.
4212
62bdf9a6
PE
4213 mktime: merge wrapv change from gnulib
4214 * time/mktime.c (WRAPV): New macro.
4215 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4216 (guess_time_tm, __mktime_internal): Do not assume that signed
4217 integer overflow wraps around; modern compilers generate code
4218 where this assumption is no longer valid.
4219
5e292e4f
L
42202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4221
4222 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4223 Replace "jmp L(pseudo_end)" with "ret".
4224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4225 Likewise.
4226
8caf8c87
AJ
42272012-05-23 Andreas Jaeger <aj@suse.de>
4228
4229 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4230 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4231
1a09dc56
AJ
42322012-05-23 Andreas Jaeger <aj@suse.de>
4233 Maximilian Attems <max@stro.at>
4234
4235 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4236 New macros.
4237
1c87aba0
L
42382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4241 code so that pseudo_end is just ret and the stack pointer is
4242 correct also for static library in error case.
4243
40e45bd5
JM
42442012-05-23 Joseph Myers <joseph@codesourcery.com>
4245
c2670533
JM
4246 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4247 move to syscalls.list.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4252
40e45bd5
JM
4253 * manual/install.texi (Running make install): Do not mention Linux
4254 kernel version for which pt_chown is not needed.
4255 (Linux): Do not mention problems with nscd with 2.0 kernels.
4256 * INSTALL: Regenerated.
4257
be08eda5
AJ
42582012-05-23 Andreas Jaeger <aj@suse.de>
4259
4260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4261 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4262 macro.
4263 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4265 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4267 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4270 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4273 * sysdeps/unix/sysv/linux/bits/in.h
4274 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4275
a6a056bb
RM
42762012-05-22 Roland McGrath <roland@hack.frob.com>
4277
4278 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4279 (PREPARE_VERSION): Just use assert instead, it will be elided
4280 under [NDEBUG] anyway.
4281
c9009328
L
42822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 * sysdeps/unix/sysv/linux/Makefile: Include
4285 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4286 (sysdep_routines): Remove sysctl.
c9009328
L
4287 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4288 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4289 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4290 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4291 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4292
73338355
AJ
42932012-05-22 Andreas Jaeger <aj@suse.de>
4294
4295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4296 that pseudo_end is just ret and the stack pointer is correct also
4297 for static library in error case.
4298
d44638b0
PP
42992012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4300
4301 [BZ #14122]
4302 * nss/nsswitch.c (defconfig_entries): New variable.
4303 (__nss_database_lookup): Don't leak defconfig entries.
4304 (nss_parse_service_list): Don't leak on error paths.
4305 (free_database_entries): New function.
4306 (free_defconfig): New function.
4307 (free_mem): Move common code to free_database_entries.
4308
31a39bd8
L
43092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4310
da0331a8
L
4311 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4312 Add arch_prctl.
4313 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4314
31a39bd8
L
4315 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4316 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4318 New macro.
4319 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4320 (INTERNAL_SYSCALL_TYPES): Likewise.
4321 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4322 (LOAD_REGS_TYPES_[1-6]): Likewise.
4323 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4324 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4325
45470df3
AZ
43262012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4327
4328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4329 copysignl for GLIBC_2_0.
4330 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4331 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4333 logbl for GLIBC_2_0.
4334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4335 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4336
98a61bcb
L
43372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4338
a4f6e481
L
4339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4341
f63d5db6
L
4342 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4343 Use "neg %eax".
4344
98a61bcb
L
4345 * time/mktime.c: Update copyright years.
4346
95770f14
PE
43472012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4348
6226efbd
PE
4349 mktime: merge comment-quoting-style change from gnulib
4350 * time/mktime.c: Quote 'like this' in comments.
4351 The GNU coding standards suggest that we no longer quote `like this',
4352 as "`" and "'" are typically rendered asymmetrically nowadays.
4353 The typical gnulib style is to quote 'like this' when quoting
4354 code, and "like this" when quoting English.
4355
b99e4f78
PE
4356 * time/mktime.c (compile-command): Add "-I.".
4357
643e01e6
PE
4358 mktime: merge mktime-internal.h change from gnulib
4359 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4360
2554247d
PE
4361 mktime: merge time_r change from gnulib
4362 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4363
826dd0ab
PE
4364 mktime: merge DEBUG change from gnulib
4365 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4366 case system <time.h> has a #define.
4367
bd83aabe
PE
4368 mktime: merge <sys/types.h> change from gnulib
4369 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4370 since <time.t> is now guaranteed to define time_t.
4371
95770f14
PE
4372 mktime: merge HAVE_CONFIG_H change from gnulib
4373 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4374
5e1a27a9
L
43752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4376
0e44a77e
L
4377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4378 Use "neg %eax".
4379
5e1a27a9
L
4380 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4381 __rlim_t cast.
4382 (struct rusage): Use anonymous union to pad each field to
4383 __syscall_slong_t.
4384
46259bec
DM
43852012-05-21 David S. Miller <davem@davemloft.net>
4386
4387 * Makefules (o-iterator): Remove .s cases.
4388 (compile-command.s): Delete.
4389 (COMPILE.s): Delete.
4390 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4391
59f0c22e
JM
43922012-05-21 Joseph Myers <joseph@codesourcery.com>
4393
4394 * configure.in (libc_cv_predef_stack_protector): Only consider
4395 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4396 * configure: Regenerated.
4397
20c07380
L
43982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4399
bbb3154b
L
4400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4401 New macro. Use R*LP on int and pointer.
4402 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4403 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4404 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4405 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4406
20c07380
L
4407 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4408 [__WORDSIZE_TIME64_COMPAT32] instead of
4409 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4410 (struct utmp): Likewise.
4411 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4412 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4413 Renamed to ...
4414 (__WORDSIZE_TIME64_COMPAT32): This.
4415 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4416 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4417 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4418 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4419 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4420 (__WORDSIZE_TIME64_COMPAT32): New macro.
4421
d8d1017e
AJ
44222012-05-21 Andreas Jaeger <aj@suse.de>
4423
4424 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4425 only if [SHARED]. Add prototype for __wcschr_ia32.
4426
6c7fb145
RM
44272012-05-21 Roland McGrath <roland@hack.frob.com>
4428
4429 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4430 of %rbp unmolested in the jmp_buf while mangling the low bits.
4431 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4432 unmolested high bits of %rbp while demangling the low bits.
4433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4434
66274218
AJ
44352012-05-21 Andreas Jaeger <aj@suse.de>
4436
07c58f8f
AJ
4437 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4438 * sunrpc/svc_simple.c: Use it for registerrpc.
4439 * sunrpc/xcrypt.c: Use it for passwd2des.
4440
66274218
AJ
4441 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4442
61f65140
L
44432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4444
4445 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4446 Don't define if [__SYSCALL_WORDSIZE != 32].
4447 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4448 New macro.
4449
5fefb436
AJ
44502012-05-21 Bruno Haible <bruno@clisp.org>
4451 Andreas Jaeger <aj@suse.de>
4452
4453 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4454 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4455 inptr and inend for must_buffer_ch.
4456 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4457 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4458 * stdio-common/Makefile (tests): Remove bug15.
4459 (bug15-ENV): Remove macro.
4460 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4461 anymore.
4462
d8e272ab
AJ
44632012-05-19 Andreas Jaeger <aj@suse.de>
4464 Roland McGrath <roland@hack.frob.com>
4465
4466 * manual/contrib.texi: Completely rewritten. It contains now an
4467 alphabetical list of contributors and their contributions.
4468
4a56a162
RH
44692012-05-21 Richard Henderson <rth@twiddle.net>
4470
4471 * misc/getauxval.c (__getauxval): Use unsigned long int.
4472 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4473 (getauxval): Use unsigned long int.
4474
d024d23c
L
44752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4478
cbc00a03
RM
44792012-05-21 Roland McGrath <roland@hack.frob.com>
4480
4481 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4482 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4483 __alignof__ (long double).
4484
478143fa
AZ
44852012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4486
4487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4488
c7683a6d
RH
44892012-05-20 Richard Henderson <rth@twiddle.net>
4490
4491 * misc/getauxval.c: New file.
4492 * misc/sys/auxv.h: New file.
4493 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4494 (routines): Add getauxval.
4495 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4496 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4497 * elf/dl-sysdep.c (_dl_auxv): Remove.
4498 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4499 * elf/dl-support.c (_dl_auxv): New variable.
4500 (_dl_aux_init): Initialize it.
4501 * manual/startup.texi (Auxiliary Vector): New node.
4502 * sysdeps/generic/bits/hwcap.h: New file.
4503 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4504 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4505 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4506 * sysdeps/sparc/sysdep.h: ... here. Include it.
4507 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4510 Update.
c7683a6d
RH
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4519
a6f1845d
AZ
45202012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521
4522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4523
cbcbe830
DM
45242012-05-19 David S. Miller <davem@davemloft.net>
4525
4526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4527
e0b16cc2
JM
45282012-05-19 Joseph Myers <joseph@codesourcery.com>
4529
4530 [BZ #14123]
4531 * math/s_ccosh.c: Include <float.h>
4532 (__ccosh): Avoid internal overflow calculating sinh and cosh
4533 values before multiplying by sin and cos values.
4534 * math/s_ccoshf.c: Likewise.
4535 * math/s_ccoshl.c: Likewise.
4536 * math/s_csin.c: Likewise.
4537 * math/s_csinf.c: Likewise.
4538 * math/s_csinl.c: Likewise.
4539 * math/s_csinh.c: Likewise.
4540 * math/s_csinhf.c: Likewise.
4541 * math/s_csinhl.c: Likewise.
4542 * math/libm-test.inc (ccos_test): Add more tests.
4543 (ccosh_test): Likewise.
4544 (csin_test): Likewise.
4545 (csinh_test): Likewise.
4546 * sysdeps/i386/fpu/libm-test-ulps: Update.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548
6ad13e08
L
45492012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4550
f66f0ce8
L
4551 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4552 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4553
6ad13e08
L
4554 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4555
b1d072a7
JM
45562012-05-19 Joseph Myers <joseph@codesourcery.com>
4557
4558 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4559 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4560 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4561 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4562 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4563 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4564 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4565 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4566 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4567 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4568 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4569 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4570 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4571 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4572 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4573 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4574 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4575 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4576 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4577 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4578 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4579 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4580 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4581 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4582 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4583 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4584 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4585 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4586 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4587 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4588 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4589
9eae47cb
AJ
45902012-05-18 Andreas Jaeger <aj@suse.de>
4591
4592 * csu/.gitignore: Delete.
4593
bb07f69f
L
45942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4597 (timex): Use __syscall_slong_t.
4598
e6bdb741
AJ
45992012-05-18 Andreas Jaeger <aj@suse.de>
4600 Carlos O'Donell <carlos_odonell@mentor.com>
4601
4602 * manual/install.texi (Configuring and compiling): Update
4603 description about files modified in the source directory.
d6c33fda 4604 * INSTALL: Regenerated.
e6bdb741 4605
1b74487e
L
46062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4609 value. Use "or" to set return value to -1.
4610 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4611 negate return value.
4612
a88b64b9
TMQMF
46132012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4614
4615 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4616 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4617 failure if the compiler has Graphite support disabled.
4618 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4619 Likewise.
4620 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4621 CFLAGS-memmove.c): Likewise.
4622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4623 Likewise.
4624
3707636e
L
46252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4626
610b8622
L
4627 * sysdeps/x86_64/x32/_itoa.h: New file.
4628
7cd195df
L
4629 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4630 getdents system call only if kernel and user dirents have the
4631 same d_ino and d_off.
4632
94b07d20
L
4633 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4634 LLONG_MAX != LONG_MAX.
4635 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4636 (_fitoa_word): Likewise.
4637
18298070
L
4638 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4639 years.
4640 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4641 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4643
553c7ea4
L
4644 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4645 include <bits/wordsize.h>. Check __x86_64__ instead of
4646 __WORDSIZE.
4647 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4648 if __x86_64__ is defined. Use anonymous union on fpstate.
4649
3707636e
L
4650 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4651 anonymous union.
4652
b53ef01a
AS
46532012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4654
37fb1dc0
AS
4655 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4656 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4657 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4658 Refer to _rtld_local_ro instead of _rtld_global_ro.
4659 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4660 Likewise.
4661 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4662 Likewise.
4663 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4664 Likewise.
4665 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4666 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4667 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4668
b53ef01a
AS
4669 * sysdeps/powerpc/powerpc32/dl-machine.c
4670 (__elf_machine_runtime_setup) [PROF]: Don't reference
4671 _dl_prof_resolve.
4672
7a185db2
AJ
46732012-05-18 Andreas Jaeger <aj@suse.de>
4674
4675 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4676 function only available for GCCs before 3.4 since GCC 3.4
4677 introduced a builtin.
4678 (lrint): Likewise.
4679 (llrintf): Likewise.
4680 (llrint): Likewise.
4681 (fmaxf): Likewise.
4682 (fmax): Likewise.
4683 (fminf): Likewise.
4684 (fmin): Likewise.
4685 (rint): Likewise.
4686 (rintf): Likewise.
4687 (nearbyint): Likewise.
4688 (nearbyintf): Likewise.
4689 (ceil): Likewise.
4690 (ceilf): Likewise.
4691 (floor): Likewise.
4692 (floorf): Likewise.
4693
3e5aef87
L
46942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4695
428bd707
L
4696 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4697 on both fields and cast pointer to __syscall_ulong_t.
4698
3e5aef87
L
4699 * bits/types.h (__fsword_t): New type.
4700 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4701 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4703 (__FSWORD_T_TYPE): Likewise.
4704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4705 (__FSWORD_T_TYPE): Likewise.
4706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4707 (__FSWORD_T_TYPE): Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4709 (__FSWORD_T_TYPE): Likewise.
4710 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4711 __SWORD_TYPE with __fsword_t.
4712 (statfs64): Likewise.
4713
1ba7c3dc
DM
47142012-05-17 David S. Miller <davem@davemloft.net>
4715
4716 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4717
59910343
AJ
47182012-05-17 Andreas Jaeger <aj@suse.de>
4719
4720 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4721 warning.
4722
2e4c1e9e
L
47232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4724
4725 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4726
de7f5ce7
AJ
47272012-05-17 Andreas Jaeger <aj@suse.de>
4728
4729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4730 when it is used.
4731
286abc3d
CM
47322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4733
4734 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4735
477cc68e
L
47362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4737
4738 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4739 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4740
1a0994f5
CD
47412012-05-17 Andreas Jaeger <aj@suse.de>
4742 Carlos O'Donell <carlos_odonell@mentor.com>
4743
4744 [BZ #14059]
4745 * sysdeps/x86_64/multiarch/init-arch.h
4746 (bit_YMM_Usable): Rename to...
4747 (bit_AVX_Usable): ... this.
4748 (bit_FMA4_Usable): New macro.
4749 (bit_XMM_state): New macro.
4750 (bit_YMM_state): New macro.
4751 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4752 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4753 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4754 (CPUID_OSXSAVE): New macro.
4755 (CPUID_AVX): New macro.
4756 (CPUID_FMA4): New macro.
4757 (index_YMM_Usable): Rename to...
4758 (index_AVX_Usable): ... this.
4759 (HAS_AVX): Use HAS_ARCH_FEATURE.
4760 (HAS_FMA4): Likewise.
4761 (HAS_YMM_USABLE): Remove.
4762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4763 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4764 are present.
4765 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4766 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4767 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4768 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4769 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4770
0af797de
CM
47712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4772
4773 * math/libm-test.c: Support platforms without multiple rounding modes.
4774 * math/bug-nextafter.c: Support platforms without FP exceptions.
4775 * math/bug-nexttoward.c: Likewise.
4776 * math/test-fenv.c: Likewise.
4777 * math/test-misc.c: Likewise.
4778 * stdlib/bug-getcontext.c: Likewise.
4779
e39745ff
AJ
47802012-05-17 Andreas Jaeger <aj@suse.de>
4781
4782 * manual/examples/search.c (critter_cmp): Change signature to
4783 avoid warnings.
4784 * manual/string.texi (Collation Functions): Likewise.
4785
48970aba
L
47862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4787
4788 * bits/types.h: Fold copyright years.
4789 * bits/typesizes.h: Likewise.
4790 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4793 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4794 * time/time.h: Likewise.
4795
bedee953
PP
47962012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4797
4798 [BZ #208]
4799 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4800 in instead of returning them. Return void.
4801 (__libc_mallinfo): Accumulate over all arenas.
4802 (__malloc_stats): Adjust for change in int_mallinfo interface.
4803
61653dfb
RM
48042012-05-16 Roland McGrath <roland@hack.frob.com>
4805
30b99d79
RM
4806 [BZ #10375]
4807 * configure.in (NM): Add AC_CHECK_TOOL for it.
4808 (libc_extra_cflags): New substituted variable.
4809 Check for -fstack-protector being used implicitly.
4810 * configure: Regenerated.
4811 * config.make.in (config-extra-cflags): New variable,
4812 gets @libc_extra_cflags@.
4813 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4814
61653dfb
RM
4815 [BZ #10375]
4816 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4817 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4818 * configure: Regenerated.
4819 * config.make.in (CPPUNDEFS): New substituted variable.
4820 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4821 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4822 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4823
661768bb
L
48242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4825
4826 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4827 (mq_attr): Use __syscall_slong_t.
4828
d4261567
L
48292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4832 Check __x86_64__ instead of __WORDSIZE.
4833 (_STAT_VER_LINUX): Likewise.
4834 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4835 __syscall_ulong_t and __syscall_slong_t.
4836 (stat64): Likewise.
4837
cf3ff365
L
48382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4841
76cf3e4d
L
48422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4845
a637753a
L
48462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4849 __syscall_ulong_t.
4850
d5e05119
L
4851 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4852 include <bits/wordsize.h>. Check __x86_64__ instead of
4853 __WORDSIZE.
4854 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4855 defined.
4856 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4857
f62ee380
L
4858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4859 include <bits/wordsize.h>. Check __x86_64__ instead of
4860 __WORDSIZE.
4861 (user_regs_struct): Use "__extension__ unsigned long long"
4862 instead of "unsigned long" if __x86_64__ is defined.
4863 (user): Likewise. Pad after pointer field if __ILP32__ is
4864 defined.
4865
4e124ced
JM
48662012-05-16 Joseph Myers <joseph@codesourcery.com>
4867
6a3951a0
JM
4868 * configure.in (makeinfo): Require version 4.5 or later. Allow
4869 versions 5 to 9.
4870 * configure: Regenerated.
4871 * manual/install.texi (texinfo): Increase version requirement to
4872 4.5 or later.
4873 * INSTALL: Regenerated.
4874
4e124ced
JM
4875 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4876
953ca31a
L
48772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4878
4879 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4880
617aca05
L
4881 * sysdeps/x86_64/x32/ffs.c: New file.
4882
5762f7ae
L
4883 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4884 __syscall_ulong_t.
4885 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4886 defined. Use __syscall_ulong_t.
4887 (shminfo): Use __syscall_ulong_t.
4888 (shm_info): Likewise.
4889
a26b6856
L
4890 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4891 __syscall_ulong_t.
4892
cb2b9ef7
L
4893 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4894 <bits/wordsize.h>.
4895 (msgqnum_t): Use __syscall_ulong_t.
4896 (msglen_t): Likewise.
4897 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4898 __syscall_ulong_t.
4899
34683bb0
L
4900 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4901 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4902
84a68786
L
4903 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4904
48baa5f1
L
4905 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4906 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4907
180be88b
L
4908 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4909 __syscall_slong_t.
4910
5e90c8ad
L
4911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4912 include <bits/wordsize.h>. Check __x86_64__ instead of
4913 __WORDSIZE.
4914
23dfb58b
L
4915 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4916 "unsigned long long int" if __x86_64__ is defined.
4917 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4918
ce5d54b0
L
4919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4920 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4921 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4922
13dc9eac
L
4923 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4924 <stdint.h>.
4925 (GET_PC): Cast to uintptr_t first.
4926 (GET_FRAME): Likewise.
4927 (GET_STACK): Likewise.
4928
a7895d15
L
4929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4930 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4931 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4932 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4933 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4934 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4935 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4936 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4937 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4938 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4939 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4945 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4954 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4958
656416c9
AS
49592012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4960
5bd66283
AS
4961 * Makerules (+depfiles): Also collect depfiles from .oS in
4962 $(extra-objs).
4963 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4964 .oS, $(libnldbl-routines)).
4965
656416c9
AS
4966 * Makerules (native-compile-mkdep-flags): Define.
4967 * sunrpc/Makefile (extra-objs): Add $(addprefix
4968 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4969 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4970 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4971 calling $(make-target-directory).
4972
a46f2169
L
49732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 * bits/types.h (__snseconds_t): Removed.
4976 * time/time.h (struct timespec): Replace __snseconds_t with
4977 __syscall_slong_t.
4978 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4979 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4980 Likewise.
4981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4982 (__SNSECONDS_T_TYPE): Likewise.
4983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4984 (__SNSECONDS_T_TYPE): Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4986 (__SNSECONDS_T_TYPE): Likewise.
4987
6af6528b
L
49882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4989
4990 * sysdeps/mach/hurd/bits/typesizes.h
4991 (__SYSCALL_SLONG_TYPE): New macro.
4992 (__SYSCALL_ULONG_TYPE): Likewise.
4993
de986b56
L
49942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 * bits/types.h (__syscall_slong_t): New type.
4997 (__syscall_ulong_t): Likewise.
4998
4999 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5000 (__SYSCALL_ULONG_TYPE): Likewise.
5001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5002 (__SYSCALL_SLONG_TYPE): Likewise.
5003 (__SYSCALL_ULONG_TYPE): Likewise.
5004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5005 (__SYSCALL_SLONG_TYPE): Likewise.
5006 (__SYSCALL_ULONG_TYPE): Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5008 (__SYSCALL_SLONG_TYPE): Likewise.
5009 (__SYSCALL_ULONG_TYPE): Likewise.
5010
85736dc7
L
50112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5012
5013 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5014 Add sigaltstack-offsets.sym.
5015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5016 <sigaltstack-offsets.h>.
5017 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5018 longjmp_msg pointer.
5019 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5020 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5021 signal stack.
5022 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5023
cc03b296
JM
50242012-05-15 Joseph Myers <joseph@codesourcery.com>
5025
a9538892
JM
5026 * elf/stackguard-macros.h: Remove file.
5027 * sysdeps/generic/stackguard-macros.h: New file.
5028 * sysdeps/i386/stackguard-macros.h: Likewise.
5029 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5030 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5031 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5032 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5033 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5034 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5035 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5036 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5037 <elf/stackguard-macros.h>.
5038
cc03b296
JM
5039 [BZ #14109]
5040 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5041 __aligned__ in attribute.
5042 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5043 (gregset_t): Likewise.
5044
93171016
L
50452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5046
5047 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5048 * sysdeps/x86_64/64/Implies-after: Here. New file.
5049 * sysdeps/x86_64/x32/Implies-after: New file.
5050
d86813a0
L
50512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5052
5053 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5054 and access return value for _dl_profile_fixup. Use R10_LP to
5055 load frame size.
5056
2953ec75
L
50572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5058
5059 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5060
3b550e9e
L
50612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5062
5063 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5064 * sysdeps/x86_64/x32/sysdep.h: New file.
5065
eda41706
L
50662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5067
5068 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5069 * sysdeps/x86_64/setjmp.S: Likewise.
5070
9ea01d93
AZ
50712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072
5073 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5074 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5075 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5076 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5077 remove unused global constant.
5078
02a91938
CM
50792012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5080
5081 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5082 include of <not-cancel.h>.
5083
6540185f
RM
50842012-05-15 Roland McGrath <roland@hack.frob.com>
5085
5086 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5087
509072a0
AJ
50882012-05-15 Jeff Law <law@redhat.com>
5089 Andreas Jaeger <aj@suse.de>
5090
5091 [BZ #13594]
5092 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5093 out from...
5094 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5095 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5097 code changing __hst_map_handle.map.
5098
ba75122d
RM
50992012-05-15 Roland McGrath <roland@hack.frob.com>
5100
5101 * configure.in (sysnames): Look for Implies-before and Implies-after
5102 files.
5103 * configure: Regenerated.
5104
890d8bd8
L
51052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5108 8-byte data alignment with LP_SIZE alignment.
5109
f6ee6623
L
51102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5111
5112 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5113 into R10_LP.
5114
ea2626f6
L
51152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5118
085f715e
L
51192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5122 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5123 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5124 Likewise.
5125 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5126
be8498fc
L
51272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5130 (stackinfo_sub_sp): Likewise.
5131
70bc83b9
L
51322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5135 RAX_LP.
5136
9bc0b730
L
51372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5138
5139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5140 into R*_LP.
5141
6d2850e7
L
51422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5143
5144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5145 sizes into R*_LP.
5146
3cb84561
L
51472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5148
5149 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5150
54e2ed81
L
51512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5152
5153 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5154 into R11_LP and load __x86_64_shared_cache_size_half into
5155 R8_LP.
5156
8a17f349
L
51572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5158
5159 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5160 R8_LP.
5161
777b1eea
AZ
51622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163
5164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5165 logb for POWER7.
5166 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5167 logbf for POWER7.
5168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5169 logbl for POWER7.
5170 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5171 powerpc32/power7/fpu/s_logb.c via #include.
5172 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5173 powerpc32/power7/fpu/s_logbf.c via #include.
5174 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5175 powerpc32/power7/fpu/s_logbl.c via #include.
5176
d20d4ac2
JM
51772012-05-15 Joseph Myers <joseph@codesourcery.com>
5178
5179 * README.libm: Remove file.
5180
6cdef1ab
L
51812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5184 count for x32. Use R*_LP and omit operand-size suffix.
5185
0b254d8f
L
51862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5187
5188 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5189 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5190 * sysdeps/x86_64/x32/shlib-versions: New file.
5191
ceb809dc
RM
51922012-05-14 Roland McGrath <roland@hack.frob.com>
5193
5194 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5195 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5196 Use _dl_fatal_printf instead.
5197
37f1abd4
JM
51982012-05-14 Joseph Myers <joseph@codesourcery.com>
5199
5200 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5201 set if not set by the user. Do not allow for being unset.
5202 * sysdeps/unix/sysv/linux/configure: Regenerated.
5203
11de3a33
L
52042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5205
5206 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5207 the `q' suffix from lea and replace .quad with ASM_ADDR.
5208
e02f153a
L
52092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5210
5211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5212 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5213 instead of $17.
5214 (PTR_DEMANGLE): Likewise.
5215
520ae0fd
L
52162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5217
5218 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5219 (LP_OP): Likewise.
5220 (ASM_ADDR): Likewise.
5221 (RAX_LP): Likewise.
5222 (RBP_LP): Likewise.
5223 (RBX_LP): Likewise.
5224 (RCX_LP): Likewise.
5225 (RDI_LP): Likewise.
5226 (RSI_LP): Likewise.
5227 (RSP_LP): Likewise.
5228 (R8_LP): Likewise.
5229 (R9_LP): Likewise.
5230 (R10_LP): Likewise.
5231 (R10_LP): Likewise.
5232 (R11_LP): Likewise.
5233 (R12_LP): Likewise.
5234 (R13_LP): Likewise.
5235 (R14_LP): Likewise.
5236 (R15_LP): Likewise.
5237
b985be81
L
52382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5239
5240 * sysdeps/x86_64/x32/dl-machine.h: New file.
5241
6a4888ff
AJ
52422012-05-14 Andreas Jaeger <aj@suse.de>
5243
5244 * manual/Makefile (subdir): Remove export of subdir.
5245 (all): Remove target.
5246 (.PHONY): Remove all from list.
5247 (mkinstalldirs): Remove.
5248 (.PHONY): Remove installdirs from list.
5249 ($(inst_infodir)/libc.info): Use make-target-directory.
5250 (installdirs): Remove.
5251 (subdir_%): Remove.
5252 (glibc-targets): Remove.
5253 (lib): Remove.
5254 (stubs): Remove.
5255 ($(objpfx)stubs ../po/manual.pot): Remove.
5256 ($(objpfx)stamp%): Remove.
5257 (make-target-directory): Remove.
5258 (subdir_install): Remove.
5259 (routines): Remove.
5260 (aux): Remove.
5261 (sources): Remove.
5262 (objects): Remove.
5263 (headers): Remove.
5264
5265 [BZ #13750]
5266 * manual/.gitignore: Remove, it's not needed anymore.
5267 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5268 all files in it.
5269 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5270 directory.
5271 (texis): Renamed to $(objpfx)texis.
5272 (texis-path): New, contains path to generated files.
5273 (chapters.%): Use texis-path for complete path, add extra argument
5274 libc-texinfo.sh.
5275 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5276 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5277 (summary,texi, stamp-summary): Use complete path of
5278 files. Generate files in build dir.
5279 (dir-add.texi): Build in build dir.
5280 (libm-err.texi,stamp-libm-err): Likewise.
5281 (version.texi, stamp-version): Likewise.
5282 (.%c.texi): Likewise.
5283 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5284 (mostlyclean): Remove target.
5285 (realclean): Remove target.
5286 (generated): Add new variable with contents from mostlyclean and
5287 realclean, remove entries duplicated in common-mostlyclean, add
5288 stamp-libm-err and stamp-version.
5289 (generated-dirs): Add libc directory.
5290 ($(inst_infodir)/libc.info): Install files from build dir.
5291
5292 * manual/install.texi (Configuring and compiling): Adjust since
5293 the info files are not part of the tar ball anymore.
5294
7ac77294
AJ
52952012-05-14 Andreas Jaeger <aj@suse.de>
5296
5297 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5298 variable.
5299
ffb7875d
JM
53002012-05-14 Joseph Myers <joseph@codesourcery.com>
5301
5302 [BZ #13717]
5303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5304 to 2.2.0 where earlier.
5305 * sysdeps/unix/sysv/linux/configure: Regenerated.
5306 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5307 Remove conditional code.
5308 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5309 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5310 Remove conditional code.
5311 [!__NR_lchown]: Likewise.
5312 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5313 [__NR_lchown]: Likewise.
5314 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5315 comment referencing __ASSUME_LCHOWN_SYSCALL.
5316 * sysdeps/unix/sysv/linux/i386/sigaction.c
5317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5319 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5320 Remove conditional code.
5321 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5322 (__protocol_available): Remove #if 0 code.
5323 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5324 conditional code.
5325 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5326 * sysdeps/unix/sysv/linux/kernel-features.h
5327 (__ASSUME_GETCWD_SYSCALL): Don't define.
5328 (__ASSUME_REALTIME_SIGNALS): Likewise.
5329 (__ASSUME_PREAD_SYSCALL): Likewise.
5330 (__ASSUME_PWRITE_SYSCALL): Likewise.
5331 (__ASSUME_POLL_SYSCALL): Likewise.
5332 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5333 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5334 non-SPARC.
5335 (__ASSUME_SIOCGIFNAME): Don't define.
5336 (__ASSUME_MSG_NOSIGNAL): Likewise.
5337 (__ASSUME_SENDFILE): Define unconditionally.
5338 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5339 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5340 conditional code.
5341 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5342 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5343 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5344 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5345 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5346 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5347 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5349 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5352 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5358 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5359 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5364 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5372 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5373 Remove conditional code.
5374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5375 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5376 Remove conditional code.
5377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5378 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5379 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5381 Remove conditional code.
5382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5383 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5384 Remove conditional code.
5385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5386 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5387 Remove conditional code.
5388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5389 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5390 Remove conditional code.
5391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5392 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5393 Remove conditional code.
5394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5395 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5398 * sysdeps/unix/sysv/linux/sigaction.c
5399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5401 * sysdeps/unix/sysv/linux/sigpending.c
5402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5404 * sysdeps/unix/sysv/linux/sigprocmask.c
5405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5407 * sysdeps/unix/sysv/linux/sigsuspend.c
5408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5410 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5411 (__libc_missing_rt_sigs): Remove.
5412 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5413 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5414 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5415 Remove conditional code.
5416 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5417 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5418 return 1.
5419 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5420 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5421 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5422 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5423
1bfb7291
AJ
54242012-05-14 Andreas Jaeger <aj@suse.de>
5425
caae5a81
AJ
5426 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5427 it's not used in glibc.
5428 (__coshm1): Likewise.
5429 (__acosh1p): Likewise.
5430 (__sgn): Likewise.
5431
1bfb7291
AJ
5432 * manual/string.texi (Copying and Concatenation): Add missing
5433 variable in concat example.
5434 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5435
c044d724
L
54362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5437
144c5467 5438 [BZ #14103]
c044d724
L
5439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5440 __builtin_clzl with __builtin_clzll.
5441
2523c62b
L
54422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5443
5444 [BZ #14104]
5445 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5446 libc_freeres_ptr.
5447
d7bb4c42
LD
54482012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5449
5450 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5451 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5452 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5453 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5454
9dc4e1fb
MF
54552012-05-14 Mike Frysinger <vapier@gentoo.org>
5456
5457 * NEWS: Update ia64 info.
5458
c7df0112
AS
54592012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5460
5461 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5462 used as bcopy.
5463
dc70356c
TS
54642012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5465
5466 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5467 * sysdeps/unix/syscalls.list (dup3): Likewise.
5468 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5469 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5470
9fb1a21f
L
54712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5474 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5475
4822a2a5
L
54762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5477
5478 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5479 thread pointer.
5480 (TLS_IE): Use mov/add instead of movq/addq to load thread
5481 pointer.
5482 (TLS_GD_PREFIX): New.
5483 (TLS_GD): Use it.
5484
842b81d6
DM
54852012-05-11 David S. Miller <davem@davemloft.net>
5486
5487 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5488 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5489 (_FPU_SETCW): Likewise.
5490
1cf463cd
L
54912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5492
5493 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5494 is 32-byte aligned.
5495
60cc4a18
AS
54962012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5497
5498 [BZ #11837]
5499 * iconvdata/gb18030.c: Update tables.
5500 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5501 characters specially.
5502 (BODY for TO_LOOP): Add encoding of missing ranges.
5503
febb44a4
TS
55042012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5505
5506 [BZ #13673]
5507 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5508 * sysdeps/mach/hurd/dup3.c: Likewise.
5509 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5510 * sysdeps/powerpc/memmove.c:: Likewise.
5511
0a10fb9e
L
55122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5513
5514 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5515 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5516
df8a552f
L
55172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5518
5519 * elf/elf.h (R_X86_64_RELATIVE64): New.
5520 (R_X86_64_NUM): Updated.
5521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5522 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5523 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5524 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5525 tst-quad1pie tst-quad2pie
5526 (modules-names): Add tst-quadmod1 tst-quadmod2.
5527 ($(objpfx)tst-quad1): New dependency.
5528 ($(objpfx)tst-quad2): Likewise.
5529 ($(objpfx)tst-quad1pie): Likewise.
5530 ($(objpfx)tst-quad2pie): Likewise.
5531 * sysdeps/x86_64/tst-quad1.c: New file.
5532 * sysdeps/x86_64/tst-quad1pie.c: New file.
5533 * sysdeps/x86_64/tst-quad2.c: Likewise.
5534 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5535 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5536 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5537 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5538 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5539
f34d6f84
ST
55402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541
f42d41d1
ST
5542 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5543 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5544 * streams/stropts.h (t_scalar_t): Define type.
5545
3c3571fc
ST
5546 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5547 (_PATH_PRESERVE): Set to "/var/lib".
5548 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5549
61f06bd3
ST
5550 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5551 instead of int.
5552
918d4d71
ST
5553 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5554 if __dir_mkfile succeeded.
5555
f34d6f84
ST
5556 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5557 checking for _hurd_dtablesize. Unlock it right after having
5558 finished _hurd_dtable allocation.
5559
10589b4a
TS
55602012-05-10 Thomas Schwinge <thomas@schwinge.name>
5561
674cdbc7
TS
5562 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5563 * sysdeps/mach/hurd/configure: Regenerated.
5564 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5565 special-casing to...
5566 * sysdeps/gnu/configure.in: ... this new file.
5567 * sysdeps/unix/sysv/linux/configure: Regenerated.
5568 * sysdeps/gnu/configure: New generated file.
5569
8e41b99f
TS
5570 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5571 for Linux: use nsec instead of usec, as well as:
5572 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5573 members of type struct timespec.
5574 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5575 New macros.
5576 (struct stat64): Likewise.
5577 (_STATBUF_ST_NSEC): New macro.
5578 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5579
10589b4a
TS
5580 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5581 __strtoul_internal rather than strtoul.
5582
63643c85
PT
55832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5584
5585 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5586 and reject them.
5587
3faebe6a
ST
55882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5589
5590 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5591 which preserves existing values.
5592 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5593
c6474b07
PT
55942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5595
5596 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5597 TIMEOUT values. Return EINVAL for NFDS values either negative or
5598 greater than FD_SETSIZE.
5599
1043890b
ST
56002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5601
5602 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5603 allocated, call __vm_protect to finish enabling the existing space, and
5604 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5605 allocate the remainder.
5606
37ed8b9b
PT
56072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5608
5609 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5610 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5611
db653660
ST
56122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5613
37ed8b9b
PT
5614 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5615 sysdeps/mach/hurd/readlink.c.
b29d4053 5616
db653660
ST
5617 * posix/tst-sysconf.c (posix_options): Only use
5618 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5619 _POSIX_SYNCHRONIZED_IO when they are defined
5620 * sysdeps/mach/hurd/bits/posix_opt.h:
5621 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5622 (_XOPEN_REALTIME): Undefine macro.
5623 (_XOPEN_REALTIME_THREADS): Undefine macro.
5624 (_XOPEN_SHM): Undefine macro.
5625 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5626 macro to -1.
5627 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5628 macro to -1.
5629 (_POSIX_ASYNC_IO): Undefine macro.
5630 (_POSIX_PRIORITIZED_IO): Undefine macro.
5631 (_POSIX_SPIN_LOCKS): Define macro to -1.
5632
ee16e894
ST
5633 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5634 SA_NODEFER, SA_RESETHAND.
5635 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5636 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5637 F_DUPFD_CLOEXEC.
5638
6103ae3b
TS
56392012-05-10 Thomas Schwinge <thomas@schwinge.name>
5640
5641 * elf/Makefile (pldd-modules): Define unconditionally.
5642
80b4e5f3
TS
56432012-05-10 Thomas Schwinge <thomas@schwinge.name>
5644
5645 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5646
edadcbd6
ST
56472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5648
5649 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5650 Return ENOENT when name is empty.
5651 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5652
80694780
TS
56532012-05-10 Thomas Schwinge <thomas@schwinge.name>
5654
1792c087
TS
5655 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5656
80694780
TS
5657 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5658
6b645f0d
ST
56592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5660
80694780
TS
5661 Fix mlock in all cases except non-readable pages.
5662 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5663 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5664
6b645f0d
ST
5665 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5666 (__mkdir): When path is `/', just fail with EEXIST.
5667 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5668
e468f8a3
TS
56692012-05-10 Thomas Schwinge <thomas@schwinge.name>
5670
5671 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5672 <sys/uio.h> (for writev).
5673 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5674 and <sys/param.h> (for MIN).
5675
a4186cff
PT
56762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5677
5678 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5679 REQUESTED_TIME. Properly set the remaining time and return EINTR
5680 if interrupted.
5681
510bbf14
TS
56822012-05-10 Thomas Schwinge <thomas@schwinge.name>
5683
5684 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5685 Depend on against $(link-rpcuserlibs).
5686
5d5722e8
ST
56872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5688
a4186cff
PT
5689 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5690 (__libc_stack_end): Do not use attribute_relro.
5691 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5692 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5693 to libthread-provided value.
a4186cff
PT
5694 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5695 attribute_relro.
5d5722e8 5696
37233df9
TS
56972012-05-10 Thomas Schwinge <thomas@schwinge.name>
5698
be971a2b
TS
5699 [BZ #3748]
5700 * bits/libc-lock.h (__libc_once_get): New macro.
5701 * sysdeps/mach/bits/libc-lock.h: Likewise.
5702 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5704 instead of using implementation details.
5705
37233df9
TS
5706 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5707 * libio/freopen.c: Likewise.
5708 * libio/freopen64.c: Likewise.
5709 * misc/syslog.c: Likewise.
5710 * nscd/connections.c: Likewise.
5711 * nscd/netgroupcache.c: Likewise.
5712 * sysdeps/posix/getcwd.c: Likewise.
5713
38de94a5
RM
57142012-05-10 Roland McGrath <roland@hack.frob.com>
5715
5716 * math/w_ilogbf.c: Add #include <limits.h>.
5717
67530489
ST
57182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5719
a4186cff 5720 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5721 path instead of returning without unlocking.
5722
67530489
ST
5723 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5724 immediate-write ioctls.
5725 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5726
5aa3a74a
TS
57272012-05-10 Thomas Schwinge <thomas@schwinge.name>
5728
18bad2ae
TS
5729 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5730 __builtin_frame_address instead of making assumptions about the
5731 location of the return address relative to DATA. Force early load of
5732 the return address.
5733 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5734 __builtin_frame_address.
5735
5aa3a74a
TS
5736 dup3 for GNU Hurd.
5737 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5738 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5739 implement dup3 and do some further code clean-ups.
5740 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5741 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5742
ecd0de9a
ST
57432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5744
cd9fa985
ST
5745 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5746
a4186cff
PT
5747 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5748 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5749 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5750 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5751 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5752 d->port.lock.
802ca5a5 5753
a4186cff
PT
5754 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5755 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5756 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5757
bcf55240
TS
57582012-05-10 Thomas Schwinge <thomas@schwinge.name>
5759
6960eb42
TS
5760 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5761 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5762 definitions.
5763
eb43375f
TS
5764 accept4 for GNU Hurd.
5765 * include/sys/socket.h (__libc_accept4): New prototype.
5766 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5767 to implement __libc_accept4.
5768 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5769 __libc_accept4.
5770 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5771
bcf55240
TS
5772 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5773 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5774 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5775 signal-defines.sym.
5776
6178c55b
ST
57772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5778
a4186cff 5779 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5780
6f080c2f
TS
57812012-05-10 Thomas Schwinge <thomas@schwinge.name>
5782
5783 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5784 assertion on O_CLOEXEC flag.
5785 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5786 * hurd/intern-fd.c: Likewise.
5787 * hurd/port2fd.c: Likewise.
5788
bcfe3a54
ST
57892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5790
5791 [BZ #3906]
5792 * bits/in.h (IPV6_PKTINFO): Define new macro.
5793 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5794
89c9aa49
AZ
57952012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796
5797 [BZ #13954]
5798 [BZ #13955]
5799 [BZ #13956]
5800 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5802 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5803 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5805 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5806 * math/libm-test.inc (logb_test) : Additional logb tests.
5807
021db4be
AJ
58082012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5809 Andreas Jaeger <aj@suse.de>
5810
5811 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5812 * configure: Regenerated.
5813 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5814 * config.make.in (link-obsolete-rpc): New substituted variable.
5815 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5816 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5817 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5818 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5819 so that libc.a contains the symbols.
5820 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5821 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5822 * sunrpc/auth_none.c: Likewise.
5823 * sunrpc/auth_unix.c: Likewise.
5824 * sunrpc/authdes_prot.c: Likewise.
5825 * sunrpc/authuxprot.c: Likewise.
5826 * sunrpc/clnt_gen.c: Likewise.
5827 * sunrpc/clnt_perr.c: Likewise.
5828 * sunrpc/clnt_raw.c: Likewise.
5829 * sunrpc/clnt_simp.c: Likewise.
5830 * sunrpc/clnt_tcp.c: Likewise.
5831 * sunrpc/clnt_udp.c: Likewise.
5832 * sunrpc/clnt_unix.c: Likewise.
5833 * sunrpc/des_crypt.c: Likewise.
5834 * sunrpc/des_soft.c: Likewise.
5835 * sunrpc/get_myaddr.c: Likewise.
5836 * sunrpc/key_call.c: Likewise.
5837 * sunrpc/key_prot.c: Likewise.
5838 * sunrpc/netname.c: Likewise.
5839 * sunrpc/pm_getmaps.c: Likewise.
5840 * sunrpc/pm_getport.c: Likewise.
5841 * sunrpc/pmap_clnt.c: Likewise.
5842 * sunrpc/pmap_prot.c: Likewise.
5843 * sunrpc/pmap_prot2.c: Likewise.
5844 * sunrpc/pmap_rmt.c: Likewise.
5845 * sunrpc/publickey.c: Likewise.
5846 * sunrpc/rpc_cmsg.c: Likewise.
5847 * sunrpc/rpc_common.c: Likewise.
5848 * sunrpc/rpc_dtable.c: Likewise.
5849 * sunrpc/rpc_prot.c: Likewise.
5850 * sunrpc/rpc_thread.c: Likewise.
5851 * sunrpc/rtime.c: Likewise.
5852 * sunrpc/svc.c: Likewise.
5853 * sunrpc/svc_auth.c: Likewise.
5854 * sunrpc/svc_raw.c: Likewise.
5855 * sunrpc/svc_run.c: Likewise.
5856 * sunrpc/svc_tcp.c: Likewise.
5857 * sunrpc/svc_udp.c: Likewise.
5858 * sunrpc/svc_unix.c: Likewise.
5859 * sunrpc/svcauth_des.c: Likewise.
5860 * sunrpc/xcrypt.c: Likewise.
5861 * sunrpc/xdr.c: Likewise.
5862 * sunrpc/xdr_array.c: Likewise.
5863 * sunrpc/xdr_float.c: Likewise.
5864 * sunrpc/xdr_intXX_t.c: Likewise.
5865 * sunrpc/xdr_mem.c: Likewise.
5866 * sunrpc/xdr_rec.c: Likewise.
5867 * sunrpc/xdr_ref.c: Likewise.
5868 * sunrpc/xdr_sizeof.c: Likewise.
5869 * sunrpc/xdr_stdio.c: Likewise.
5870
b5c086a2
RM
58712012-05-10 Roland McGrath <roland@hack.frob.com>
5872
5873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5874 change. Update copyright years.
5875
6d74dd09
JM
58762012-05-10 Joseph Myers <joseph@codesourcery.com>
5877
5878 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5879
28e72501
MK
58802012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5881 Joseph Myers <joseph@codesourcery.com>
5882 Paul Pluzhnikov <ppluzhnikov@google.com>
5883
5884 [BZ #14012]
5885 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5886 requiring rpcgen.
5887 [cross-compiling] (extra-libs): Likewise.
5888 [cross-compiling] (extra-libs-others): Likewise.
5889 [cross-compiling] (librpcsvc-routines): Likewise.
5890 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5891 [cross-compiling] (omit-deps): Likewise.
5892 (sunrpc-CPPFLAGS): New variable.
5893 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5894 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5895 (cross-rpcgen-objs): New variable.
5896 (extra-objs): Append $(cross-rpcgen-objs).
5897 ($(cross-rpcgen-objs)): New rule.
5898 ($(objpfx)cross-rpcgen): Likewise.
5899 (rpcgen-cmd): Define to use $(built-program-file). Expand
5900 comment.
5901 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5902 ($(objpfx)x%.stmp): Likewise.
5903 * sunrpc/proto.h [IS_IN_build] (_): Define.
5904 [IS_IN_build] (_libc_intl_domainname): Likewise.
5905
c8c59454
L
59062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5909 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5910 and R_X86_64_TPOFF64.
5911
6f27cd16
JM
59122012-05-10 Joseph Myers <joseph@codesourcery.com>
5913
5914 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5915 sysdeps/unix/sysv/syscalls.list.
5916 (stime): Likewise.
5917 (utime): Likewise.
5918 * sysdeps/unix/sysv/syscalls.list: Remove file.
5919
02467e1c
PE
59202012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5921
5922 [BZ #3440]
5923 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5924 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5925 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5926 (__LC_IDENTIFICATION): Make these macros useful in #if
5927 expressions, as required by C99.
5928
da392631
AS
59292012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5930
5931 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5932 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5933 after this.
5934
8115f29b
L
59352012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 * stdlib/longlong.h: Updated from GCC.
5938
bdd74070
AJ
59392012-05-09 Andreas Jaeger <aj@suse.de>
5940
edfe0dbe
AJ
5941 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5942 default is first entry.
5943 (run_mode): Set type.
5944 (main): Remove informal message about syslog.
5945 (options): Fix typo.
5946
bcfe3a54
ST
5947 [BZ #14053]
5948 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5949 to asm.
bcfe3a54
ST
5950 (lrint): Likewise.
5951 (llrintf): Likewise.
5952 (llrint): Likewise.
5953 (rint): Likewise.
5954 (rintf): Likewise.
5955 (nearbyint): Likewise.
5956 (nearbyintf): Likewise.
bdd74070 5957
91d8d69e
AJ
59582012-05-09 Andreas Jaeger <aj@suse.de>
5959 Pedro Alves <palves@redhat.com>
5960
5961 * nscd/nscd.c (run_mode): Use enum.
5962 (main): Cleanup coding style issue.
5963
bb90b80b
AJ
59642012-05-09 Alexandre Oliva <aoliva@redhat.com>
5965 Andreas Jaeger <aj@suse.de>
5966
bcfe3a54
ST
5967 * nscd/nscd.c (go_background): Replaced with...
5968 (run_mode): ... this.
bb90b80b 5969 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5970 (options): Add -F --foreground.
5971 (main): Implement it.
5972 (parse_opt): Parse it.
bb90b80b 5973
1a4b75a1
AJ
59742012-05-09 Andreas Jaeger <aj@suse.de>
5975
5976 [BZ #14083]
5977 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5978 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5979 -Wconversion warning.
5980 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5981 Likewise.
5982
b1cc2472
JM
59832012-05-09 Joseph Myers <joseph@codesourcery.com>
5984
5985 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5986 == 0.
5987 (LC_ALL): Use macro-int-constant.
5988 (LC_COLLATE): Likewise.
5989 (LC_CTYPE): Likewise.
5990 (LC_MESSAGES): Likewise.
5991 (LC_MONETARY): Likewise.
5992 (LC_NUMERIC): Likewise.
5993 (LC_TIME): Likewise.
5994 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5995 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5997 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5998 Specify type.
5999 [C99-based standards] (float_t): Expect type.
6000 [C99-based standards] (double_t): Expect type.
6001 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6002 type.
6003 [C99-based standards] (HUGE_VALL): Likewise.
6004 [C99-based standards] (INFINITY): Likewise.
6005 [C99-based standards] (NAN): Likewise.
6006 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6007 [C99-based standards] (FP_NAN): Likewise.
6008 [C99-based standards] (FP_NORMAL): Likewise.
6009 [C99-based standards] (FP_SUBNORMAL): Likewise.
6010 [C99-based standards] (FP_ZERO): Likewise.
6011 [C99-based standards] (FP_FAST_FMA): Use
6012 optional-macro-int-constant. Specify type. Require == 1.
6013 [C99-based standards] (FP_FAST_FMAF): Likewise.
6014 [C99-based standards] (FP_FAST_FMAL): Likewise.
6015 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6016 [C99-based standards] (FP_ILOGBNAN): Likewise.
6017 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6018 Specify type.
6019 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6020 [C99-based standards] (math_errhandling): Specify type.
6021 [ISO99 || ISO11] (signgam): Do not allow.
6022 [non-C99-based standards] (copysignf): Do not allow.
6023 [non-C99-based standards] (exp2f): Likewise.
6024 [non-C99-based standards] (log2f): Likewise.
6025 [non-C99-based standards] (modff): Allow.
6026 [non-C99-based standards] (erff): Do not allow.
6027 [non-C99-based standards] (erfcf): Likewise.
6028 [non-C99-based standards] (gammaf): Likewise.
6029 [non-C99-based standards] (hypotf): Likewise.
6030 [non-C99-based standards] (j0f): Likewise.
6031 [non-C99-based standards] (j1f): Likewise.
6032 [non-C99-based standards] (jnf): Likewise.
6033 [non-C99-based standards] (lgammaf): Likewise.
6034 [non-C99-based standards] (tgammaf): Likewise.
6035 [non-C99-based standards] (y0f): Likewise.
6036 [non-C99-based standards] (y1f): Likewise.
6037 [non-C99-based standards] (ynf): Likewise.
6038 [non-C99-based standards] (isnanf): Likewise.
6039 [non-C99-based standards] (acoshf): Likewise.
6040 [non-C99-based standards] (asinhf): Likewise.
6041 [non-C99-based standards] (atanhf): Likewise.
6042 [non-C99-based standards] (cbrtf): Likewise.
6043 [non-C99-based standards] (expm1f): Likewise.
6044 [non-C99-based standards] (ilogbf): Likewise.
6045 [non-C99-based standards] (log1pf): Likewise.
6046 [non-C99-based standards] (logbf): Likewise.
6047 [non-C99-based standards] (nextafterf): Likewise.
6048 [non-C99-based standards] (remainderf): Likewise.
6049 [non-C99-based standards] (rintf): Likewise.
6050 [non-C99-based standards] (scalbf): Likewise.
6051 [non-C99-based standards] (copysignl): Likewise.
6052 [non-C99-based standards] (exp2l): Likewise.
6053 [non-C99-based standards] (log2l): Likewise.
6054 [non-C99-based standards] (modfl): Allow.
6055 [non-C99-based standards] (erfl): Do not allow.
6056 [non-C99-based standards] (erfcl): Likewise.
6057 [non-C99-based standards] (gammal): Likewise.
6058 [non-C99-based standards] (hypotl): Likewise.
6059 [non-C99-based standards] (j0l): Likewise.
6060 [non-C99-based standards] (j1l): Likewise.
6061 [non-C99-based standards] (jnl): Likewise.
6062 [non-C99-based standards] (lgammal): Likewise.
6063 [non-C99-based standards] (tgammal): Likewise.
6064 [non-C99-based standards] (y0l): Likewise.
6065 [non-C99-based standards] (y1l): Likewise.
6066 [non-C99-based standards] (ynl): Likewise.
6067 [non-C99-based standards] (isnanl): Likewise.
6068 [non-C99-based standards] (acoshl): Likewise.
6069 [non-C99-based standards] (asinhl): Likewise.
6070 [non-C99-based standards] (atanhl): Likewise.
6071 [non-C99-based standards] (cbrtl): Likewise.
6072 [non-C99-based standards] (expm1l): Likewise.
6073 [non-C99-based standards] (ilogbl): Likewise.
6074 [non-C99-based standards] (log1pl): Likewise.
6075 [non-C99-based standards] (logbl): Likewise.
6076 [non-C99-based standards] (nextafterl): Likewise.
6077 [non-C99-based standards] (remainderl): Likewise.
6078 [non-C99-based standards] (rintl): Likewise.
6079 [non-C99-based standards] (scalbl): Likewise.
6080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6081 [non-C99-based standards] (FP_*): Do not allow.
6082 [C99-based standards] (FP_*): Change to
6083 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6084 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6085 allow.
6086 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6087 (SIG_ERR): Likewise.
6088 [X/Open-based standards] (SIG_HOLD): Likewise.
6089 (SIG_IGN): Likewise.
6090 (SIGABRT): Use macro-int-constant. Specify type. Require
6091 positive value.
6092 (SIGFPE): Likewise.
6093 (SIGILL): Likewise.
6094 (SIGINT): Likewise.
6095 (SIGSEGV): Likewise.
6096 (SIGTER): Likewise.
6097 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6098 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6099 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6100 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6101 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6102 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6103 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6104 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6105 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6108 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6109 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6110 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6111 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6112 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6113 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6114 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6115 [X/Open-based standards] (SIGTRAP): Likewise.
6116 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6117 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6118 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6119 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6120 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6121 allow.
6122
b9f1922d
IW
61232012-05-08 Ian Wienand <ianw@vmware.com>
6124
6125 [BZ #14080]
6126 * time/tzset.c (__tzset_parse_tz): Update default rules for
6127 daylight time changes in the Energy Policy Act of 2005.
6128
1db86e88
AJ
61292012-05-09 Andreas Jaeger <aj@suse.de>
6130
6131 [BZ #13983]
6132 * elf/ldconfig.c (parse_conf): Change string to make clear that
6133 ldconfig only issued a warning if ld.so.conf does not exist.
6134
dee4a4e3
DM
61352012-05-08 David S. Miller <davem@davemloft.net>
6136
ee0db190
DM
6137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6138 movxtod instead of popping the value on the stack.
6139
dee4a4e3
DM
6140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6141
6a43ec98
CD
61422012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6143
6144 * config.h.in: Add HAVE_ARM_PCS_VFP.
6145
05c2c961
RMG
61462012-05-08 Roland Mc Grath <roland@hack.frob.com>
6147
bcfe3a54
ST
6148 [BZ #13979]
6149 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6150 checking but the checks are disabled for any reason.
05c2c961 6151
4b30f61a
L
61522012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6153
6154 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6155 and ELF64_R_TYPE with ELFW(R_TYPE).
6156
eee2bc67
JM
61572012-05-08 Joseph Myers <joseph@codesourcery.com>
6158
7ea5391a
JM
6159 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6160 (ulimit): Likewise.
6161
eee2bc67
JM
6162 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6163 (settimeofday): Likewise.
6164
abb66a67
MF
61652012-05-08 Mike Frysinger <vapier@gentoo.org>
6166
6167 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6168 a struct th_u2 inside the union, and move tu_block/tu_code into
6169 a new th_u3 union of tu_block/tu_code inside of that. Move
6170 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6171 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6172 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6173 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6174 (th_stuff): Change to th_u1.tu_stuff.
6175 (th_data): Define.
6176 (th_msg): Change to th_u1.th_u2.tu_data.
6177
7f18b530
DM
61782012-05-07 David S. Miller <davem@davemloft.net>
6179
05760585
DM
6180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6181
7f18b530
DM
6182 [BZ #14074]
6183 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6184 (SETUP_PIC_REG): Use it.
6185 (SETUP_PIC_REG_LEAF): Use it.
6186
495fd99f
JM
61872012-05-07 Joseph Myers <joseph@codesourcery.com>
6188
6189 [BZ #13885]
6190 [BZ #13923]
6191 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6192 USE_AS_EXPM1L.
6193 (EXPL_FINITE): Likewise.
6194 (FLDLOG): Likewise.
6195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6196 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6197 e_expl.S.
6198 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6199 USE_AS_EXPM1L.
6200 (EXPL_FINITE): Likewise.
6201 (FLDLOG): Likewise.
6202 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6203 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6204 e_expl.S.
6205 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6206 test of -max_value argument for long double.
6207 * sysdeps/i386/fpu/libm-test-ulps: Update.
6208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6209
6693d694
DM
62102012-05-06 David S. Miller <davem@davemloft.net>
6211
6212 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6213 quad soft-float symbols whose references which are compiler
6214 generated.
6215 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6216
6c23e11c
JM
62172012-05-06 Joseph Myers <joseph@codesourcery.com>
6218
d8b82cad
JM
6219 [BZ #13884]
6220 [BZ #13914]
6221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6222 USE_AS_EXP10L.
6223 (EXPL_FINITE): Likewise.
6224 (FLDLOG): Likewise.
6225 (c0): Likewise.
6226 (c1): Likewise.
6227 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6228 Adjust comments for base varying.
6229 (__expl_finite): Change alias to EXPL_FINITE.
6230 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6231 e_expl.S.
6232 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6233 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6235 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6236 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6237 USE_AS_EXP10L.
6238 (EXPL_FINITE): Likewise.
6239 (FLDLOG): Likewise.
6240 (c0): Likewise.
6241 (c1): Likewise.
6242 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6243 Adjust comments for base varying.
6244 (__expl_finite): Change alias to EXPL_FINITE.
6245 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6246 tests for bugs.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6248
6c23e11c
JM
6249 [BZ #14064]
6250 * math/libm-test.inc (check_float_internal): Correct ulp
6251 calculation for subnormal expected results.
6252
29ba805c
AJ
62532012-05-06 Andreas Jaeger <aj@suse.de>
6254
6255 * Makeconfig (+math-flags): New, set to -frounding-math.
6256 (+cflags): Add +math-flags so that all of glibc gets compiled with
6257 it.
6258
6259 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6260
7b17aeda
JM
62612012-05-05 Joseph Myers <joseph@codesourcery.com>
6262
5779f134
JM
6263 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6264 Disable one test.
6265
41498f4d
JM
6266 [BZ #13787]
6267 [BZ #13922]
6268 [BZ #14036]
6269 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6270 (__ieee754_expl): Allow for and saturate large arguments.
6271 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6272 (u_threshold): Likewise.
6273 (__exp): Call __ieee754_exp before checking for overflow and
6274 underflow.
6275 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6276 (u_threshold): Likewise.
6277 (__expf): Call __ieee754_expf before checking for overflow and
6278 underflow.
6279 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6280 (u_threshold): Likewise.
6281 (__expl): Call __ieee754_expl before checking for overflow and
6282 underflow.
6283 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6284 (__ieee754_expl): Allow for and saturate large arguments.
6285 * math/libm-test.inc (exp_test): Add another test. Do not allow
6286 missing overflow exception on overflow.
6287 (expm1_test): Do not allow missing overflow exception on overflow.
6288
6698b8bf
JM
6289 * sysdeps/i386/fpu/e_expl.c: Move to ...
6290 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6291 rather than using inline asm.
6292 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6293 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6294 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6295
7b17aeda
JM
6296 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6297 (nice): Likewise.
6298 (poll): Likewise.
6299 (signal): Likewise.
6300 (time): Likewise.
6301 (times): Likewise.
6302
f7c85819
JM
63032012-05-04 Joseph Myers <joseph@codesourcery.com>
6304
6305 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6306 sysdeps/unix/common/syscalls.list.
6307 (fchmod): Likewise.
6308 (fchown): Likewise.
6309 (ftruncate): Likewise.
6310 (getrusage): Likewise.
6311 (gettimeofday): Likewise.
6312 (setpgid): Likewise.
6313 (setregid): Likewise.
6314 (setreuid): Likewise.
6315 (sigaction): Likewise.
6316 (truncate): Likewise.
6317 (vhangup): Likewise.
6318 * sysdeps/unix/common/syscalls.list: Remove file.
6319 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6320 * sysdeps/unix/sysv/linux/Implies: Likewise.
6321
336270d0
L
63222012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6323
6324 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6326 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6327 Moved to ...
6328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6329 Here.
6330 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6331 to ...
6332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6333 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6334 to ...
6335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6336 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6337 to ...
6338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6339 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6340 to ...
6341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6342 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6343 to ...
6344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6345 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6346 to ...
6347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6348 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6349 to ...
6350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6351 Here.
6352 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6353 to ...
6354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6355 Here.
6356 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6357 to ...
6358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6359 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6360 Moved to ...
6361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6362 Here.
6363 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6364 to ...
6365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6366
d128e450
JM
63672012-05-04 Joseph Myers <joseph@codesourcery.com>
6368
fa8ee516
JM
6369 * sysdeps/unix/common/bits/dirent.h: Remove file.
6370 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6371
d128e450
JM
6372 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6373 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6374 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6375 * sysdeps/unix/bsd/isatty.c: Likewise.
6376 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6377 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6378 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6379
ff8faaf0 63802012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6381
62881be4 6382 [BZ #13563]
31dc8730
AZ
6383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6384 long double comparison inaccuracies.
6385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387
6fef930c
AS
63882012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6389
6390 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6392
8f203e6c
JM
63932012-05-04 Joseph Myers <joseph@codesourcery.com>
6394
6395 [BZ #14049]
6396 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6397 nonzero digits before rounding a hex value.
6398 * stdlib/tst-strtod.c (tests): Add another test.
6399
5197d9c2
AK
64002012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6401
6402 * sysdeps/s390/fpu/libm-test-ulps: Update.
6403
f0c1dedf
AJ
64042012-05-03 Andreas Jaeger <aj@suse.de>
6405
6406 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6407 does not get optimized out.
6408 (malloc_opt_barrier): New.
6409
a65ef2ae 64102012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6411 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6412
2b942cb7 6413 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6414 intermediate file deletion.
2b942cb7 6415 (generated): Add .symlist files.
a65ef2ae 6416
54b71e02
JM
64172012-05-03 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #13775]
6420 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6421 Redirect under this condition.
6422 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6423 [__USE_GNU] (__dprintf_chk): Not under this condition.
6424 [__USE_GNU] (__vdprintf_chk): Likewise.
6425 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6426 under this condition.
6427 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6428 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6429 [__USE_XOPEN2K8] (vdprintf): Likewise.
6430 [__USE_GNU] (__dprintf_chk): Not under this condition.
6431 [__USE_GNU] (__vdprintf_chk): Likewise.
6432 [__USE_GNU] (dprintf): Likewise.
6433 [__USE_GNU] (vdprintf): Likewise.
6434
d3dfcc41
RM
64352012-05-03 Roland McGrath <roland@hack.frob.com>
6436
6437 * elf/Makefile (common-generated): Set this instead of generated for
6438 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6439 $(all-built-dso)-derived lists.
6440
7ac30cc5
AJ
64412012-05-03 Andreas Jaeger <aj@suse.de>
6442
0c51e550
AJ
6443 * sysdeps/i386/fpu/libm-test-ulps: Update.
6444
7ac30cc5
AJ
6445 * FAQ: Removed.
6446 * FAQ.in: Likewise.
6447 * scripts/gen-FAQ.pl: Likewise.
6448 * manual/install.texi (Installation): Point to online location of
6449 FAQ.
6450 * Makefile (files-for-dist): Remove FAQ.
6451 (FAQ): Remove.
6452
d4c2917f
AM
64532012-05-02 Allan McRae <allan@archlinux.org>
6454
6455 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6456 (LDFLAGS-reldepmod5.so): Likewise.
6457 (LDFLAGS-reldep6mod1.so): Likewise.
6458 (LDFLAGS-reldep6mod4.so): Likewise.
6459 (LDFLAGS-reldep8mod3.so): Likewise.
6460 (LDFLAGS-unload4mod1.so): Likewise.
6461 (LDFLAGS-unload4mod2.so): Likewise.
6462 (LDFLAGS-tst-initorder): Likewise.
6463 (LDFLAGS-tst-initordera2.so): Likewise.
6464 (LDFLAGS-tst-initordera3.so): Likewise.
6465 (LDFLAGS-tst-initordera4.so): Likewise.
6466 (LDFLAGS-tst-initorderb2.so): Likewise.
6467 (LDFLAGS-noload): Likewise.
6468 (LDFLAGS-next): Likewise.
6469 (LDFLAGS-order2mod1.so): Likewise.
6470 (LDFLAGS-order2mod2.so): Likewise.
6471 (LDFLAGS-tst-initorder2): Likewise.
6472 (LDFLAGS-tst-initorder2a.so): Likewise.
6473 (LDFLAGS-tst-initorder2b.so): Likewise.
6474 (LDFLAGS-tst-initorder2c.so): Likewise.
6475 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6476
d77f993f
DM
64772012-05-02 David S. Miller <davem@davemloft.net>
6478
6479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6480
171a70b4
PP
64812012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6482
6483 [BZ #14055]
6484 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6485
0be196ad
AJ
64862012-05-02 Andreas Jaeger <aj@suse.de>
6487
6488 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6489 since we manipulate rounding mode.
6490 (CPPFLAGS-test-idouble.c): Likewise.
6491 (CPPFLAGS-test-ifloat.c): Likewise.
6492 (CFLAGS-test-ldouble.c): Likewise.
6493 (CFLAGS-test-double.c): Likewise.
6494 (CFLAGS-test-float.c): Likewise.
6495 (CFLAGS-test-misc.c): Likewise.
6496 (CFLAGS-test-test-fenv.c): Likewise.
6497
4f9d04aa
AZ
64982012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499
2b942cb7
RM
6500 [BZ #2550]
6501 [BZ #2570]
6502 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6503 comparisons to determine direction to adjust input.
4f9d04aa 6504
82a79e7d
RM
65052012-05-01 Roland McGrath <roland@hack.frob.com>
6506
f5a01ca9
RM
6507 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6508 output to the target.
6509
90fe4186
RM
6510 * scripts/localplt.awk: New file.
6511 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6512 (check-localplt-CFLAGS): Variable removed.
6513 ($(all-built-dso:=.jmprel)): New static pattern rule.
6514 (generated): Add those targets.
6515 (localplt-built-dso): New variable.
6516 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6517
6518 * elf/check-localplt.c: File removed.
6519
82397ed6
RM
6520 * scripts/check-execstack.awk: New file.
6521 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6522 (check-execstack-CFLAGS): Variable removed.
6523 ($(objpfx)check-execstack.h): Target removed.
6524 ($(objpfx)execstack-default): New target.
6525 (generated): Add that instead of check-execstack.h.
6526 ($(all-built-dso:=.phdr)): New static pattern rule.
6527 (generated): Add those targets.
6528 * elf/check-execstack.c: File removed.
6529
82a79e7d
RM
6530 * scripts/check-textrel.awk: New file.
6531 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6532 (check-textrel-CFLAGS): Variable removed.
6533 (all-built-dso): Use := to define.o
6534 ($(all-built-dso:=.dyn)): New static pattern rule.
6535 (generated): Add those targets.
6536 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6537 * config.make.in (READELF): New substituted variable.
6538 * elf/check-textrel.c: File removed.
6539
62fde54f 65402012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6541
615605c9
JM
6542 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6543 allow.
6544 * conform/data/ctype.h-data [C99-based standards] (isblank):
6545 Expect function.
6546 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6547 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6549 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6550 Specify type. Require positive value.
6551 (EILSEQ): Likewise.
6552 (ERANGE): Likewise.
6553 [ISO || POSIX] (EILSEQ): Do not expect.
6554 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6555 Specify type. Require positive value.
6556 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6557 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6558 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6559 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6560 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6561 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6562 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6563 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6564 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6565 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6567 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6568 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6569 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6570 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6571 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6572 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6573 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6574 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6576 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6579 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6580 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6581 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6582 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6583 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6584 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6589 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6590 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6591 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6592 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6593 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6594 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6596 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6600 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6601 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6602 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6603 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6604 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6606 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6607 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6609 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6610 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6630 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6631 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6632 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6633 Require >= 2.
6634 (FLT_ROUNDS): Expect as macro, not constant.
6635 (FLT_MANT_DIG): Use macro-int-constant.
6636 (DBL_MANT_DIG): Likewise.
6637 (LDBL_MANT_DIG): Likewise.
6638 (FLT_DIG): Likewise.
6639 (DBL_DIG): Likewise.
6640 (LDBL_DIG): Likewise.
6641 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6642 (DBL_MIN_EXP): Likewise.
6643 (LDBL_MIN_EXP): Likewise.
6644 (FLT_MAX_EXP): Use macro-int-constant.
6645 (DBL_MAX_EXP): Likewise.
6646 (LDBL_MAX_EXP): Likewise.
6647 (FLT_MAX_10_EXP): Likewise.
6648 (DBL_MAX_10_EXP): Likewise.
6649 (LDBL_MAX_10_EXP): Likewise.
6650 (FLT_MAX): Use macro-constant.
6651 (DBL_MAX): Likewise.
6652 (LDBL_MAX): Likewise.
6653 (FLT_EPSILON): Use macro-constant. Give upper bound.
6654 (DBL_EPSILON): Likewise.
6655 (LDBL_EPSILON): Likewise.
6656 (FLT_MIN): Likewise.
6657 (DBL_MIN): Likewise.
6658 (LDBL_MIN): Likewise.
6659 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6660 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6661 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6662 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6663 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6664 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6665 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6666 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6667 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6668 [ISO11] (FLT_TRUE_MIN): Likewise.
6669 [ISO11] (LDBL_TRUE_MIN): Likewise.
6670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6671 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6672 (SCHAR_MIN): Use macro-int-constant. Specify type.
6673 (SCHAR_MAX): Likewise.
6674 (UCHAR_MAX): Likewise.
6675 (CHAR_MIN): Likewise.
6676 (CHAR_MAX): Likewise.
6677 (MB_LEN_MAX): Use macro-int-constant.
6678 (SHRT_MIN): Use macro-int-constant. Specify type.
6679 (SHRT_MAX): Likewise.
6680 (USHRT_MAX): Likewise.
6681 (INT_MAX): Likewise.
6682 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6683 bound negative.
6684 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6685 bound with "U".
6686 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6687 bound with "L".
6688 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6689 bound negative. Suffix upper bound with "L".
6690 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6691 bound with "UL".
6692 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6693 Specify type.
6694 [C99-based standards] (LLONG_MAX): Likewise.
6695 [C99-based standards] (ULLONG_MAX): Likewise.
6696 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6697 == 0.
6698 [ISO11] (max_align_t): Require type.
6699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6700
c9140a62
JM
6701 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6702 from $CFLAGS, without defining away __attribute__ calls.
6703 (checknamespace): Use $CFLAGS_namespace.
6704
9af0bf29
JM
6705 * conform/conformtest.pl (@keywords): Only include C99 keywords
6706 for standards based on C99 or C11.
6707
343222a2
JM
6708 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6709 Disable tests.
6710 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6711 UNIX98]: Likewise.
6712
661f8cf0
JM
6713 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6714 usability of symbols in #if.
6715
ee74b9cb
JM
6716 * conform/conformtest.pl: If macro or constant types start
6717 "promoted:", expect the symbol to be of the following type
6718 promoted by the integer promotions.
62fde54f 6719
aafc49b3
JM
6720 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6721 in one place. Also handle "macro-constant".
6722
fefdf574
JM
6723 * conform/conformtest.pl: Only accept expected macro values with
6724 "==". Parse all "macro" lines in one place.
6725 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6726
f2d922fe
JM
6727 * conform/conformtest.pl: Handle braced types on "constant" lines
6728 instead of handling "typed-constant".
6729 * conform/data/signal.h-data: Use "constant" instead of
6730 "typed-constant".
6731
d22956c9
JM
6732 * conform/conformtest.pl: Handle "optional-" at start of lines in
6733 one place rather than duplicating several cases. Handle each
6734 format of "macro" line with initial "optional-".
6735
028e2e38
JM
6736 * conform/conformtest.pl: Only accept expected constant or
6737 optional-constant values with "==". Parse all "constant" lines in
6738 one place. Parse all "optional-constant" lines in one place.
6739 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6740 * conform/data/fmtmsg.h-data: Likewise.
6741 * conform/data/netinet/in.h-data: Likewise.
6742 * conform/data/tar.h-data: Likewise.
6743 * conform/data/limits.h-data: Use "==" form on "constant" and
6744 "optional-constant" lines.
6745
1b8f2850
JM
6746 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6747 Use -std=c99 for XOPEN2K.
6748 (@knownproblems): Remove.
6749 (newtoken): Don't check %isknown.
6750
a05a144b
JM
6751 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6752 Do not expect macro.
6753 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6765 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6766 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6783 [XPG3] (acosh): Likewise.
6784 [XPG3] (asinh): Likewise.
6785 [XPG3] (atanh): Likewise.
6786 [XPG3] (cbrt): Likewise.
6787 [XPG3] (expm1): Likewise.
6788 [XPG3] (ilogb): Likewise.
6789 [XPG3] (log1p): Likewise.
6790 [XPG3] (logb): Likewise.
6791 [XPG3] (nextafter): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6794 [XPG3] (remainder): Likewise.
6795 [XPG3] (rint): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6802 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6803 [UNIX98 || XOPEN2K] (scalb): Expect.
6804 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6805 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6845 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6848 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6849 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6857 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6858 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6859 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6941
73c5ebe3
JM
6942 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6943 _XOPEN_SOURCE_EXTENDED for XPG4.
6944
39c33b6c
JM
6945 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6946
62fde54f
JM
6947 * Makeconfig (localtime): Remove variable.
6948 (inst_localtime-file): Likewise.
6949
0741d64c
AS
69502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6951
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6953 Update.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6955 Update.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6957 Update.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6959 Update.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6961 Update.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6963 Update.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6965 Update.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6967 Update.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6969 Update.
6970
7cb029ee
JM
69712012-05-01 Joseph Myers <joseph@codesourcery.com>
6972
6973 [BZ #2550]
6974 [BZ #2570]
6975 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6976 comparisons to determine direction to adjust input.
6977 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6978 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6980 Likewise.
6981 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6982 Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6984 Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6987 Likewise.
6988 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6989 Likewise.
6990 * math/libm-test.inc (nexttoward_test): Add more tests.
6991
412bd966
AS
69922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6993
6994 [BZ #14040]
6995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6996 in version GLIBC_2.1, not GLIBC_2.0.
6997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6998 Likewise.
6999
9568c0c2
JM
70002012-04-30 Joseph Myers <joseph@codesourcery.com>
7001
adfbc8ac
JM
7002 [BZ #13942]
7003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7004 (1 - x) * (1 + x).
7005 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7006 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7007 * math/libm-test.inc (acos_test): Add more tests.
7008 (asin_test): Likewise.
7009 * sysdeps/i386/fpu/libm-test-ulps: Update.
7010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011
5ba3cc69
JM
7012 [BZ #14034]
7013 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7014 of square root.
7015 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7016 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7017 * math/libm-test.inc (acos_test_tonearest): New function.
7018 (acos_test_towardzero): Likewise.
7019 (acos_test_downward): Likewise.
7020 (acos_test_upward): Likewise.
7021 (asin_test_tonearest): Likewise.
7022 (asin_test_towardzero): Likewise.
7023 (asin_test_downward): Likewise.
7024 (asin_test_upward): Likewise.
7025 (main): Call the new functions.
7026 * sysdeps/i386/fpu/libm-test-ulps: Update.
7027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7028
9568c0c2
JM
7029 [BZ #13884]
7030 [BZ #13924]
7031 * math/e_exp10.c: Include <float.h>.
7032 (__ieee754_exp10): Handle underflow here rather than multiplying
7033 large negative argument by M_LN10.
7034 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7035 of __ieee754_expf.
7036 * math/e_exp10l.c: Include <float.h>.
7037 (__ieee754_exp10l): Handle underflow here rather than multiplying
7038 large negative argument by M_LN10l.
7039 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7040 spurious overflow exception on underflow.
7041
5ac3ea17
MP
70422012-04-29 Marek Polacek <polacek@redhat.com>
7043
7044 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7045 (__fortify_function): New macro.
7046 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7047 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7048 __extern_always_inline.
7049 * libio/bits/stdio2.h: Likewise.
7050 * libio/bits/stdio.h: Likewise.
7051 * string/string.h: Likewise.
7052 * string/bits/string3.h: Likewise.
7053 * include/stdio.h: Likewise.
7054 * stdlib/bits/stdlib.h: Likewise.
7055 * stdlib/stdlib.h: Likewise.
7056 * rt/bits/mqueue2.h: Likewise.
7057 * rt/mqueue.h: Likewise.
7058 * posix/bits/unistd.h: Likewise.
7059 * posix/unistd.h: Likewise.
7060 * io/bits/poll2.h: Likewise.
7061 * io/bits/fcntl2.h: Likewise.
7062 * io/fcntl.h: Likewise.
7063 * io/sys/poll.h: Likewise.
7064 * misc/bits/syslog.h: Likewise.
7065 * misc/bits/syslog-ldbl.h: Likewise.
7066 * misc/sys/syslog.h: Likewise.
7067 * socket/bits/socket2.h: Likewise.
7068 * socket/sys/socket.h: Likewise.
7069 * debug/tst-chk1.c: Likewise.
7070 * wcsmbs/bits/wchar2.h: Likewise.
7071 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7072 * wcsmbs/wchar.h: Likewise.
7073
ecf0ebfb
AJ
70742012-04-29 Andreas Jaeger <aj@suse.de>
7075
7076 * Makerules (tests): Remove enable-check-abi protection.
7077 (check-abi-warn): Remove.
7078 (check-abi-%): Remove check-abi-warn usage.
7079
7080 * configure.in: Remove check-abi configure option.
7081 * configure: Regenerated.
7082 * config.make.in (enable-check-abi): Remove.
7083
6d5c57fa
AS
70842012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7085
24c5d07e 7086 [BZ #14033]
ded5180a
AS
7087 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7088 double functions to double *_finite functions.
7089
7e0d315d
AS
7090 [BZ #13941]
7091 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7092 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7093 LDBL_MIN_EXP.
7094 * stdio-common/Makefile (tests): Add tst-sprintf3.
7095 * stdio-common/tst-sprintf3.c: New file.
7096
6d5c57fa
AS
7097 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7098 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7099
0749ff8b
JM
71002012-04-28 Joseph Myers <joseph@codesourcery.com>
7101
7102 * conform/conformtest.pl: Remove duplicate typed-constant
7103 handling.
7104
8dbd5d7b
DM
71052012-04-28 David S. Miller <davem@davemloft.net>
7106
7107 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7108 (check-abi-%): Remove AWK script prerequisite and explicit
7109 abilist directory.
7110 (check-abi): Rewrite to just diff the symlist with the abilist.
7111 (config-tls, config-abi-config): Delete, no longer used.
7112 (update-abi-%): Remove AWK script and explicit abilist directory.
7113 (update-abi): Rewrite to simply compare and conditionally copy the
7114 symlist and the sysdep abilist file. Remove update-abi-config
7115 checks.
7116 * abilist/ld.abilist: Remove.
7117 * abilist/libBrokenLocale.abilist: Remove.
7118 * abilist/libanl.abilist: Remove.
7119 * abilist/libcrypt.abilist: Remove.
7120 * abilist/libdl.abilist: Remove.
7121 * abilist/librt.abilist: Remove.
7122 * abilist/libthread_db.abilist: Remove.
7123 * abilist/libutil.abilist: Remove.
7124 * scripts/extract-abilist.awk: Remove.
7125 * scripts/merge-abilist.awk: Remove.
7126 * sysdeps/generic/libcidn.abilist: New file.
7127 * sysdeps/generic/libnss_compat.abilist: New file.
7128 * sysdeps/generic/libnss_db.abilist: New file.
7129 * sysdeps/generic/libnss_dns.abilist: New file.
7130 * sysdeps/generic/libnss_files.abilist: New file.
7131 * sysdeps/generic/libnss_hesiod.abilist: New file.
7132 * sysdeps/generic/libnss_nis.abilist: New file.
7133 * sysdeps/generic/libnss_nisplus.abilist: New file.
7134 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7135 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7136 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7137 file.
7138 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7139 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7140 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7141 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7142 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7143 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7144 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7145 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7146 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7147 file.
7148 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7149 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7150 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7151 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7152 file.
7153 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7154 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7155 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7156 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7157 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7158 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7159 file.
7160 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7161 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7162 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7163 file.
7164 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7166 New file.
7167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7168 New file.
7169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7170 New file.
7171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7172 New file.
7173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7174 New file.
7175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7176 New file.
7177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7178 New file.
7179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7180 New file.
7181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7182 New file.
7183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7184 New file.
7185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7186 New file.
7187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7188 New file.
7189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7190 New file.
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7192 file.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7194 New file.
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7196 New file.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7198 file.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7200 New file.
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7202 New file.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7204 file.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7206 New file.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7208 New file.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7210 New file.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7212 New file.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7214 New file.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7216 New file.
7217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7219 file.
7220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7221 New file.
7222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7223 file.
7224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7225 file.
7226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7227 file.
7228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7229 file.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7231 file.
7232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7233 New file.
7234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7235 file.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7237 file.
7238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7239 New file.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7241 file.
7242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7244 file.
7245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7246 New file.
7247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7248 file.
7249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7250 file.
7251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7252 file.
7253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7254 file.
7255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7256 file.
7257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7258 New file.
7259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7260 file.
7261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7262 file.
7263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7264 New file.
7265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7266 file.
7267 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7268 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7269 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7270 file.
7271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7272 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7273 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7274 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7275 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7276 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7277 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7278 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7279 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7280 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7283 file.
7284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7285 New file.
7286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7287 file.
7288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7289 file.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7291 file.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7293 file.
7294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7295 file.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7297 New file.
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7299 New file.
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7301 file.
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7303 New file.
7304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7305 file.
7306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7308 file.
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7310 New file.
7311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7312 file.
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7314 file.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7316 file.
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7318 file.
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7320 file.
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7322 New file.
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7324 New file.
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7326 file.
7327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7328 New file.
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7330 file.
7331
41d73a1b
JM
73322012-04-28 Joseph Myers <joseph@codesourcery.com>
7333
7334 * conform/conformtest.pl: Fix typo in handling typed-constant from
7335 allow-header.
7336
28aeeda4
JM
73372012-04-27 Joseph Myers <joseph@codesourcery.com>
7338
adae8f5e
JM
7339 * README: Cut down references to pre-2.6 Linux kernels and
7340 Linuxthreads. Update lists of configurations in libc and ports
7341 and sort alphabetically. Say "or newer" with Linux kernel version
7342 requirements.
7343
28aeeda4
JM
7344 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7345
a462cb63
RA
73462012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7347
7348 [BZ #887]
7349 * math/libm-test.inc (logb_test_downward): New test to expose
7350 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7351 rounding mode.
7352
6ad3493e
JM
73532012-04-27 Joseph Myers <joseph@codesourcery.com>
7354
7355 [BZ #14027]
7356 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7357 to be done.
7358 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7359 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7360
2ce4f015
JM
73612012-04-26 Joseph Myers <joseph@codesourcery.com>
7362
5aeb141a
JM
7363 * sysdeps/unix/i386/brk.S: Remove file.
7364 * sysdeps/unix/i386/dl-brk.S: Likewise.
7365 * sysdeps/unix/i386/pipe.S: Likewise.
7366 * sysdeps/unix/i386/sigreturn.S: Likewise.
7367 * sysdeps/unix/i386/syscall.S: Likewise.
7368 * sysdeps/unix/i386/vfork.S: Likewise.
7369 * sysdeps/unix/i386/wait.S: Likewise.
7370
7143acae
JM
7371 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7372 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7373
2ce4f015
JM
7374 * configure.in (arm*-none*): Do not allow without
7375 --enable-hacker-mode.
7376 (netbsd*): Remove case setting base_os.
7377 (386bsd*): Likewise.
7378 (freebsd*): Likewise.
7379 (bsdi*): Likewise.
7380 (osf*): Likewise.
7381 (sunos*): Likewise.
7382 (ultrix*): Likewise.
7383 (newsos*): Likewise.
7384 (dynix*): Likewise.
7385 (*bsd*): Likewise.
7386 (sysv*): Likewise.
7387 (isc*): Likewise.
7388 (esix*): Likewise.
7389 (sco*): Likewise.
7390 (minix*): Likewise.
7391 (irix4*): Likewise.
7392 (irix6*): Likewise.
7393 (solaris[2-9]*): Likewise.
7394 (none): Likewise.
7395 * configure: Regenerated.
7396
0ac229c8
AZ
73972012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7398
7399 [BZ #11521]
7400 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7401 overflow or cancellation in calculating denominator.
7402 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7404 down expression to avoid unexpected rounding in newer GCCs.
7405 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7406
33f244f4
DM
74072012-04-26 David S. Miller <davem@davemloft.net>
7408
7409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7410 long-double compat symbols.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7424
cfa1f3e8
DM
74252012-04-25 David S. Miller <davem@davemloft.net>
7426
7427 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7428 HWCAP_* values only after the memory barriers have been defined.
7429 (atomic_full_barrier): Define.
7430 (atomic_read_barrier): Define.
7431 (atomic_write_barrier): Define.
7432
6e236b92
SP
74332012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7434
7435 * shlib-versions: Add libgcc_s version information.
7436 * sysdeps/generic/libgcc_s.h: Remove.
7437 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7438 libgcc_s.h.
7439 * sysdeps/gnu/unwind-resume.c: Likewise.
7440 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7441
aab39a09
DM
74422012-04-25 David S. Miller <davem@davemloft.net>
7443
7444 * sysdeps/unix/sparc/brk.S: Delete.
7445 * sysdeps/unix/sparc/dl-brk.S: Delete.
7446 * sysdeps/unix/sparc/pipe.S: Delete.
7447 * sysdeps/unix/sparc/sysdep.S: Delete.
7448 * sysdeps/unix/sparc/sysdep.h: Delete.
7449 * sysdeps/unix/sparc/vfork.S: Delete.
7450 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7451 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7452 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7453 ret_ERRVAL, r0, r1, MOVE): Define.
7454 (JUMPTARGET): Remove.
7455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7456 sysdeps/unix/sparc/sysdep.h
7457 (ENTRY, END): Remove.
7458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7459
a3cc4f48
JM
74602012-04-25 Joseph Myers <joseph@codesourcery.com>
7461
2ed8cda2
JM
7462 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7463 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7464 -DIS_IN_build.
7465
35d76d59
JM
7466 * timezone/README: Update upstream location and email address for
7467 tzcode and tzdata.
7468 * timezone/zdump.c: Update from tzcode 2012b.
7469 * timezone/zic.c: Likewise.
7470
a3cc4f48
JM
7471 * configure.in (libc_cv_as_needed): Remove test.
7472 * configure: Regenerated.
7473 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7474 conditional definition.
7475 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7476 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7477 * config.make.in (have-as-needed): Remove variable.
7478
ceab42c3
SP
74792012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7480 Paul Pluzhnikov <ppluzhnikov@google.com>
7481
7482 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7483 strings correctly.
7484
3ce2865f
CLT
74852012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7486
7487 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7488 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7489 * sysdeps/sh/strlen.S: Likewise.
7490
f37e0d68
JM
74912012-04-24 Joseph Myers <joseph@codesourcery.com>
7492
ae186e9a
JM
7493 * sysdeps/unix/fork.S: Remove file.
7494 * sysdeps/unix/i386/fork.S: Likewise.
7495 * sysdeps/unix/sparc/fork.S: Likewise.
7496
b96914af
JM
7497 * sysdeps/unix/system.c: Remove file.
7498 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7499
f37e0d68
JM
7500 * sysdeps/unix/getegid.S: Remove file.
7501 * sysdeps/unix/geteuid.S: Likewise.
7502
87ef29ca
RM
75032012-04-24 Roland McGrath <roland@hack.frob.com>
7504
83bcd236
RM
7505 * scripts/check-localplt.awk: New file.
7506 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7507 of diff.
7508 * scripts/data/localplt-generic.data: Add a comment.
7509
87ef29ca
RM
7510 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7511 NODE when __dir_mkfile failed.
7512 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7513 Reported by Ludovic Courtès <ludo@gnu.org>.
7514
e5a6e567
AJ
75152012-04-24 Andreas Jaeger <aj@suse.de>
7516
7517 * Makerules (common-clean): Also remove gen-as-const-headers
7518 files.
7519
c1820385
JM
75202012-04-24 Joseph Myers <joseph@codesourcery.com>
7521
7522 * Makerules (native-compile): Do not change working directory for
7523 build. Use $(OUTPUT_OPTION) in command.
7524 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7525
94e02fc4
AZ
75262012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7527
7528 [BZ #13886]
7529 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7530 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7531 * math/libm-test.inc (floor_test): Add more tests.
7532 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7533
3a533ca3
JM
75342012-04-24 Joseph Myers <joseph@codesourcery.com>
7535
940ab4b3
JM
7536 * sysdeps/unix/getdents.c: Remove file.
7537 * sysdeps/unix/sysv/getdents.c: Likewise.
7538 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7539
90e037bd
JM
7540 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7541 sysdeps/unix/mman/syscalls.list.
7542 (mmap): Likewise.
7543 (mprotect): Likewise.
7544 (msync): Likewise.
7545 (munmap): Likewise.
7546 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7547 * sysdeps/unix/mman/syscalls.list: Remove.
7548 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7549
3a533ca3
JM
7550 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7551 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7552 * configure: Regenerated.
7553 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7554 $(libgcc_s_suffix).
7555 * config.make.in (libgcc_s_suffix): Remove variable.
7556
1ad743de
JM
75572012-04-23 Joseph Myers <joseph@codesourcery.com>
7558
4ad451e2
JM
7559 * sysdeps/unix/sysv/gethostname.c: Move to ...
7560 * sysdeps/posix/gethostname.c: ... here.
7561
5e37ce39
JM
7562 * sysdeps/unix/execve.S: Remove file.
7563
1ad743de
JM
7564 * sysdeps/unix/_exit.S: Remove file.
7565
4e681b5b
AJ
75662012-04-23 Andreas Jaeger <aj@suse.de>
7567
7568 [BZ #13739]
7569 * manual/Makefile: Remove make dist support, there's no
7570 need for a stand-alone documentation tar ball.
7571 (TEXI2DVI): Define always, it's not in Makeconfig.
7572 (dist): Removed.
7573 (tar-it): Removed.
7574 (edition): Removed.
7575 (glibc-doc-$(edition).tar): Removed
7576 (%.Z): Removed.
7577 (%.gz): Removed.
7578 (%.uu): Removed.
7579 (ETAGS): Remove, it's in Makeconfig.
7580 (move-if-change): Remove, it's in Makeconfig.
7581
c0baea34
PE
75822013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7583
7584 [BZ #13970]
7585 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7586 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7587 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7588 (strtod_l, strtof_l, strtold_l): Remove __wur.
7589 It is not necessarily an error to ignore strtol's return value.
7590 One can reliably look at the stored endptr to decide whether
7591 the number had valid syntax.
7592
7c0616fa
AJ
75932012-04-21 Andreas Jaeger <aj@suse.de>
7594
803cb6b7 7595 [BZ #13739]
7c0616fa
AJ
7596 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7597
b0fe253f
JM
75982012-04-21 Joseph Myers <joseph@codesourcery.com>
7599
7600 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7601 * sysdeps/unix/sysv/Versions: Remove file.
7602
8280f22d
MT
76032012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7604
7605 [BZ #13927]
7606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7607
75ce411f 76082012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7609
7610 [BZ #7064]
7611 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7612 version from __vm86.
7613
097d59fa
JM
76142012-04-20 Joseph Myers <joseph@codesourcery.com>
7615
a90f3bcb
JM
7616 * sysdeps/unix/common/lxstat.c: Remove file.
7617 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7618
edc7ea78
JM
7619 * sysdeps/unix/sysv/Makefile: Remove file.
7620
cb78c221
JM
7621 * sysdeps/unix/sysv/direct.h: Remove file.
7622
efa6a45f
JM
7623 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7624 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7625 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7626 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7627 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7628 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7629 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7630
9c9f2d0c
JM
7631 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7632
4541c83b
JM
7633 * sysdeps/unix/xmknod.c: Remove file.
7634 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7635
f5d153a0
JM
7636 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7637
aa746595
JM
7638 * sysdeps/unix/sysv/i386/time.S: Remove file.
7639
cce5905e
JM
7640 * sysdeps/unix/fxstat.c: Remove file.
7641 * sysdeps/unix/xstat.c: Likewise.
7642 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7643
37fa3841
JM
7644 * sysdeps/unix/sysv/sigaction.c: Remove file.
7645
ff1962a3
JM
7646 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7647 (sysdep_headers): Remove variable.
7648 [termio.h not in sysdep_headers] (generated): Likewise.
7649 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7650 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7651 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7652 * sysdeps/unix/sysv/tcflow.c: Likewise.
7653 * sysdeps/unix/sysv/tcflush.c: Likewise.
7654 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7655 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7656 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7657 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7658 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7659
e7740d31
JM
7660 * sysdeps/unix/siglist.c: Remove file.
7661
ee06f18b
JM
7662 * sysdeps/unix/getppid.S: Remove file.
7663
097d59fa
JM
7664 * sysdeps/unix/mkdir.c: Remove file.
7665 * sysdeps/unix/rmdir.c: Likewise.
7666
ff3d51ec
AS
76672012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7668
7669 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7670 ERR_MAX value.
7671 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7672 errlist-compat value.
7673
50f81fd7
DM
76742012-04-18 David S. Miller <davem@davemloft.net>
7675
7676 * sysdeps/generic/memcopy.h (reg_char): Delete.
7677 * debug/strcat_chk.c: Use char, not reg_char.
7678 * debug/strcpy_chk.c: Likewise.
7679 * debug/strncat_chk.c: Likewise.
7680 * debug/strncpy_chk.c: Likewise.
7681 * string/memchr.c: Likewise.
7682 * string/memrchr.c: Likewise.
7683 * string/rawmemchr.c: Likewise.
7684 * string/strcat.c: Likewise.
7685 * string/strchr.c: Likewise.
7686 * string/strchrnul.c: Likewise.
7687 * string/strcmp.c: Likewise.
7688 * string/strcpy.c: Likewise.
7689 * string/strncat.c: Likewise.
7690 * string/strncmp.c: Likewise.
7691 * string/strncpy.c: Likewise.
7692
8ff41c46
WS
76932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7694
7695 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7696 __builtin_memcopy is called when src and dest ranges are known to not
7697 overlap.
7698
6b652f46
WS
76992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7700
7701 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7702 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7703 fwd_align_merge macro call.
7704 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7705 bwd_align_merge macro call.
7706 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7707
b282631e
WS
77082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7709
7710 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7711 bwd_align_merge macros.
7712 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7713 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7714 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7715
95aa737c
DM
77162012-04-18 David S. Miller <davem@davemloft.net>
7717
7718 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7719
7a99a614
AJ
77202012-04-18 Andreas Jaeger <aj@suse.de>
7721
7722 [BZ# 6794]
7723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7724 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7725 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7726
7727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7728 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7729 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7730
7731 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7732 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7733 Adjust for changed ldbl-128 files.
7734
7735 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7736 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7737 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7738
e5270c23
DM
77392012-04-17 David S. Miller <davem@davemloft.net>
7740
7741 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7742
fb5e92c9
AS
77432012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7744
7745 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7746 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7747 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7748 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7749 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7750 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7751
76da7265
AZ
77522012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753
7754 [BZ #6794]
7755 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7756 * math/libm-test.inc: Add ilogb errno and exception tests.
7757 * math/w_ilogb.c: New file: ilogb wrapper.
7758 * math/w_ilogbf.c: New file: ilogbf wrapper.
7759 * math/w_ilogbl.c: New file: ilogbl wrapper.
7760 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7761 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7762 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7763 exception being thrown with 0.0 as argument.
7764 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7765 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7766 exception being thrown with 0.0 as argument.
7767 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7768 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7769 exception being thrown with 0.0 as argument.
7770 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7771 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7772 exception being thrown with 0.0 as argument.
7773 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7774 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7775 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7776 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7778 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7779 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7780 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7781 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7782
0396e69d
PB
77832012-04-17 Petr Baudis <pasky@ucw.cz>
7784
7785 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7786 with altivec.
7787
750b5926
MP
77882012-04-16 Marek Polacek <polacek@redhat.com>
7789
7790 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7791
751728a1
MP
77922012-04-16 Marek Polacek <polacek@redhat.com>
7793
7794 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7795 operands of fdivp instruction.
7796
34a27407
L
77972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7798
7799 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7800 * elf/tst-auditmod3b.c: Likewise.
7801 * elf/tst-auditmod4b.c: Likewise.
7802 * elf/tst-auditmod5b.c: Likewise.
7803 * elf/tst-auditmod6b.c: Likewise.
7804 * elf/tst-auditmod6c.c: Likewise.
7805 * elf/tst-auditmod7b.c: Likewise.
7806 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7807 * sysdeps/x86_64/preconfigure.in: Likewise.
7808 * sysdeps/x86_64/preconfigure: Regenerated.
7809
7e73e17d
L
78102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7811
7812 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7813 __ILP32__.
7814
c7a6ab72
AB
78152012-04-13 Antoine Balestrat <merkil33@gmail.com>
7816
7817 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7818 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7819
a9e8e0e0
CL
78202012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7821
7822 [BZ #13973]
7823 * locale/iso-639.def: Fix gl language name. Spotted by
7824 Yaron Shahrabani.
7825
ec98af7d
RM
78262012-04-12 Roland McGrath <roland@hack.frob.com>
7827
7828 [BZ #2074]
7829 * libio/libio.h (__io_write_fn): Update comment.
7830
247c3ede
PB
78312012-04-12 Petr Baudis <pasky@ucw.cz>
7832
7833 [BZ #2074]
7834 * stdio.texi (Hook Functions): The user provided writer function
7835 is not allowed to return -1.
7836
55939d6d
DM
78372012-04-11 David S. Miller <davem@davemloft.net>
7838
7839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7840
90020f5a
MF
78412012-04-11 Mike Frysinger <vapier@gentoo.org>
7842
7843 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7844 Add a leading slash to rtkaio.
7845
288f9098
JM
78462012-04-11 Jim Meyering <meyering@redhat.com>
7847
90020f5a
MF
7848 [BZ #11959]
7849 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7850 It is not necessarily an error to ignore fwrite's return
7851 value. One can reliably use ferror to test for errors after
7852 the fact.
288f9098 7853
4be2b570
L
78542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7855
7856 * bits/types.h (__snseconds_t): New type.
7857 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7858
7859 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7861 (__SNSECONDS_T_TYPE): Likewise.
7862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7863 (__SNSECONDS_T_TYPE): Likewise.
7864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7865 (__SNSECONDS_T_TYPE): Likewise.
7866
288f9098 78672012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7868
7869 [BZ #2636]
7870 * manual/time.texi (Processor Time): Return type of times is
7871 elapsed real time since an arbitrary point in the past.
7872 (CPU Time): Move CLK_TCK from here...
7873 (Processor Time): ...to here. Correct description.
7874 * manual/conf.texi (Constants for Sysconf): Correct description of
7875 _SC_CLK_TCK.
7876
d7dd4413
DM
78772012-04-10 David S. Miller <davem@davemloft.net>
7878
7879 [BZ #13967]
7880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7881 where the is a gap between DT_REL(A) and DT_JMPREL.
7882
b46068fc
L
78832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7888
73d65cc3
SP
78892012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
7891 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7892 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7893 (dl_main): Handle --inhibit-cache.
7894 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7895 _dl_inhibit_cache.
7896 * elf/dl-load.c (_dl_map_object): Use it.
7897 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7898
bcc8d661
JM
78992012-04-09 Joseph Myers <joseph@codesourcery.com>
7900
8f9a2fae
JM
7901 [BZ #13872]
7902 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7903 (__ieee754_powl): Saturate large exponents rather than testing for
7904 overflow of y*log2(x).
7905 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7906 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7907 exceptions.
7908
bcc8d661
JM
7909 [BZ #11521]
7910 * math/s_ctan.c: Include <float.h>.
7911 (__ctan): Avoid internal overflow or cancellation in calculating
7912 denominator.
7913 * math/s_ctanf.c: Likewise.
7914 * math/s_ctanl.c: Likewise.
7915 * math/s_ctanh.c: Likewise.
7916 * math/s_ctanhf.c: Likewise.
7917 * math/s_ctanhl.c: Likewise.
7918 * math/libm-test.inc (ctan_test): Add more tests.
7919 (ctanh_test): Likewise.
7920 * sysdeps/i386/fpu/libm-test-ulps: Update.
7921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7922
823fbbb4
AJ
79232012-04-09 Andreas Jaeger <aj@suse.de>
7924
03879793
AJ
7925 [BZ #6894]
7926 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7927 is an optional BSD extension.
7928
823fbbb4
AJ
7929 [BZ #10254]
7930 * manual/stdio.texi (Opening Streams): Document additional fopen
7931 parameters.
7932
8de131cb
RM
79332012-04-09 Roland McGrath <roland@hack.frob.com>
7934
7935 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7936 %eax without telling the compiler.
7937
c0ed9d7d
CD
79382012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7939
7940 [BZ # 13963]
7941 * manual/install.texi: Use sourceware.org.
7942
c483f6b4
JM
79432012-04-09 Joseph Myers <joseph@codesourcery.com>
7944
d7dd9453
JM
7945 [BZ #13873]
7946 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7947 (__ieee754_pow): Generate overflow and underflow using huge*huge
7948 and tiny*tiny rather than just returning constant infinity or zero
7949 for large exponents.
7950 * math/libm-test.inc (pow_test): Require overflow exceptions for
7951 applicable cases of large exponents.
7952
c483f6b4
JM
7953 [BZ #706]
7954 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7955 (__ieee754_pow): Use iterative multiplication algorithm only for
7956 integer exponents with absolute value below 1024. Check for odd
7957 integer exponents when using algorithm for real exponents.
7958 * math/libm-test.inc (pow_test): Add more tests.
7959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7960
d2de7579
JM
79612012-04-08 Joseph Myers <joseph@codesourcery.com>
7962
7963 [BZ #13705]
7964 * math/libm-test.inc (exp_test): Do not allow overflow exception
7965 on underflow test.
7966
f77f1232
AJ
79672012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7968
7969 [BZ #13705]
7970 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7971 instead of __kernel_standard_f.
7972
3884932b
MF
79732012-04-08 Mike Frysinger <vapier@gentoo.org>
7974
7975 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7976 * sysdeps/x86_64/memset_chk.S: Likewise.
7977
54472e9c
AJ
79782012-04-08 Andreas Jaeger <aj@suse.de>
7979
6ab0fbfc
AJ
7980 [BZ #10153]
7981 * manual/startup.texi (Environment Access): Describe return value
7982 for putenv and setenv.
7983
61efba8c
AJ
7984 [BZ #6895]
7985 * manual/filesys.texi (Directory Entries): Add description for
7986 DT_LNK.
7987
95c3f29a
AJ
7988 [BZ #6890]
7989 * manual/filesys.texi (Directory Entries): Clarify that it's file
7990 system not operating system in the description of DT_UNKNOWN.
7991
54472e9c
AJ
7992 [BZ #6578]
7993 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7994
624254b1
SC
79952012-04-08 Stephen Compall <s11@member.fsf.org>
7996
7997 [BZ #6649]
7998 * manual/llio.texi (Opening and Closing Files): Add cross
7999 reference to explain mode argument.
8000
1e4920e0
MF
80012012-04-07 Mike Frysinger <vapier@gentoo.org>
8002
8003 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8004 * sysdeps/x86_64/memset_chk.S: Likewise.
8005
5ed848f3
DM
80062012-04-07 David S. Miller <davem@davemloft.net>
8007
8008 * elf/elf.h (R_SPARC_WDISP10): Define.
8009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8010 R_SPARC_SIZE32.
8011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8012 R_SPARC_SIZE64 and R_SPARC_H34.
8013
96154cd8
CD
80142012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8015
8016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8017 conditions and remove no longer applicable assertion.
8018
9904dc47
L
80192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 * bits/byteswap.h: Include <features.h>.
8022 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8023 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8024
f8887d0a
L
80252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8026
8027 * bits/byteswap.h (__bswap_16): Removed.
8028 Include <bits/byteswap-16.h> to get __bswap_16.
8029 * sysdeps/i386/bits/byteswap.h: Likewise.
8030 * sysdeps/s390/bits/byteswap.h: Likewise.
8031 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8032 * bits/byteswap-16.h: New file.
8033 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8034 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8035 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8036 * string/Makefile (headers): Add bits/byteswap-16.h.
8037
62470f60
PP
80382012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8039
8040 [BZ #13895]
8041 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8042 extra indirection.
8043 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8044 * nss/tst-nss-static.c: New.
8045
4dad7bab
RM
80462012-04-06 Robert Millan <rmh@gnu.org>
8047
8048 [BZ #6486]
8049 * manual/llio.texi (File Position Primitive): lseek
8050 refers to WHENCE when it really means OFFSET.
8051
e9142a17
AJ
80522012-04-06 Andreas Jaeger <aj@suse.de>
8053
2c040eff
AJ
8054 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8055 strncmp declarations.
8056
e9142a17
AJ
8057 * abilist/libc.abilist: Add __poll and __ppoll.
8058
ff9f1c5f
DM
80592012-04-05 David S. Miller <davem@davemloft.net>
8060
dcd2ae90
DM
8061 * scripts/check-local-headers.sh: Accept a host triplet in the
8062 path matched by the exclude regexp.
8063
993eb054
DM
8064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8065 definition.
8066 * sysdeps/powerpc/powerpc32/dl-machine.h
8067 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8068 * sysdeps/s390/s390-32/dl-machine.h
8069 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8070 * sysdeps/sparc/sparc32/dl-machine.h
8071 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8072 * sysdeps/sparc/sparc64/dl-machine.h
8073 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8074
ff9f1c5f
DM
8075 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8076 lazy binding.
48e2e132 8077 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8078 undefined symbol errors.
8079
48e2e132 8080 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8081 DT_NEEDED entries.
8082
e80d6f94
MM
80832012-04-05 Michael Matz <matz@suse.de>
8084
8085 [BZ #13592]
8086 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8087
349fa79f
AJ
80882012-04-05 Andreas Jaeger <aj@suse.de>
8089
8090 [BZ #13908]
8091 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8092 comment.
8093
f402708f
KK
80942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8095
8096 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8097 which ROUND is no valid rounding mode.
8098
2ecccfc9
KK
80992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8100
8101 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8102 read again.
8103 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8104
8a53f50f
KK
81052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8106
8107 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8108 an exception using FPU order intentionally.
8109
81102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8111
8112 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8113 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8114 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8115 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8116
d653abb7
SJ
81172012-04-05 Simon Josefsson <simon@josefsson.org>
8118
8119 [BZ #12340]
8120 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8121 EINVAL when BUFLEN is too smal.
8122
c3b1bf7d
TS
81232012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8124
8125 [BZ #13553]
8126 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8127 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8128
b1aa60f3
AJ
81292012-04-03 Andreas Jaeger <aj@suse.de>
8130
c3b1bf7d 8131 [BZ #13938]
67f60a26
AJ
8132 * manual/setjmp.texi (System V contexts): Fix sentence.
8133
b1aa60f3
AJ
8134 [BZ #13926]
8135 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8136 New macro for this case.
8137 [!__GNUC__] (__bswap_64): New inline function for this case.
8138 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8139 * bits/byteswap.h: Likewise.
8140 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8141 ull, guard with __GLIBC_HAVE_LONG_LONG.
8142
8143 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8144 __GLIBC_HAVE_LONG_LONG.
8145
8146 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8147 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8148
39c59c35
TMQMF
81492012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8150
8151 [BZ #13691]
8152 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8153 inptr and inend, rather than using last_ch.
8154
135ffda8
DM
81552012-04-02 David S. Miller <davem@davemloft.net>
8156
8157 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8158 * stdio-common/printf-parse.h (read_int): Change return type to
8159 'int', return -1 on INT_MAX overflow.
8160 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8161 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8162 overflows INT_MAX. Check for overflow of in-format-string precision
8163 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8164 SIZE_MAX not INT_MAX for integer overflow test.
8165 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8166 skip the construct in the format string but do not record anything.
8167 * stdio-common/bug22.c: Adjust to test both width/prevision
8168 INT_MAX overflow as well as total length INT_MAX overflow. Check
8169 explicitly for proper errno values.
8170
228c019e
TS
81712012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8172
302cadd3
TS
8173 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8174 CHAR_MAX.
8175 * string/test-strcmp.c [! WIDE]: Likewise.
8176 * time/tst-mktime2.c: Likewise for INT_MAX.
8177 * string/test-string.h: #include <sys/param.h> for MIN.
8178
228c019e
TS
8179 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8180 * sysdeps/i386/init-first.c (init): Likewise.
8181 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8182 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8183 * sysdeps/sh/init-first.c (init): Likewise.
8184
cfa633f5
UD
81852012-04-01 Ulrich Drepper <drepper@gmail.com>
8186
8187 * po/ru.po: Update from translation team.
d1635ef8 8188 * po/vi.po: Likewise.
cfa633f5 8189
6cd0a5ea
SP
81902012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
8192 * resolv/nss_dns/dns-host.c: Merge copyright years.
8193
4b43400f
LD
81942012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8195
8196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8197 Optimize memcpy with prefetch if
8198 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8199 src, dst pointers have unequal 16 byte alignments.
8200
48c41d04
SP
82012012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8202
8203 [BZ #13928]
8204 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8205 from a CNAME entry and return the minimum ttl for the query.
8206 (gaih_getanswer_slice): Likewise.
8207
b8dc394d
JL
82082012-03-30 Jeff Law <law@redhat.com>
8209
8210 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8211 due to long keys.
8212 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8213 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8214
2f5a5ed0
JL
8215 * resolv/nss_dns/dns-host.c: Update copyright year.
8216
1d39e359
UD
82172012-03-30 Ulrich Drepper <drepper@gmail.com>
8218
c030f70c 8219 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8220 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8221
1d39e359
UD
8222 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8223 comments for sendmmsg.
8224
82252012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8226
8227 [BZ #13691]
8228 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8229 with only 1 character between 0x0041 and 0x01b0.
8230 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8231 * wcsmbs/tst-mbsnrtowcs.c: New file.
8232
20fde227
DM
82332012-03-29 David S. Miller <davem@davemloft.net>
8234
8235 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8236 small copies by hand.
8237
984a4237
JL
82382012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8239
8240 [BZ #13761]
8241 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8242 _nss_compat_initgroups_dyn): Fall back to malloc/free
8243 for large group memberships.
8244
18c9d62b
DM
82452012-03-28 David S. Miller <davem@davemloft.net>
8246
88d85d4f
DM
8247 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8248 that branches into memcpy.
8249 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8250 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8252 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8254 bits.
8255 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8256 implementation too.
8257 * sysdeps/sparc/mempcpy.S: New file.
8258
e5aa83e1
DM
8259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8260 the IFUNC routine in the libc case.
8261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8262
88570753
DM
8263 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8264 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8265 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8266 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8267 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8268 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8269 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8270 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8271
249d7567
DM
8272 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8273 loop to 256 bytes instead of 64 bytes and fix test signedness.
8274
18c9d62b
DM
8275 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8276 * sysdeps/sparc/sparc32/Makefile: rather than here...
8277 * sysdeps/sparc/sparc64/Makefile: and here.
8278
05f3d1f6
UD
82792012-03-28 Ulrich Drepper <drepper@gmail.com>
8280
8281 * malloc/mallocbug.c: Avoid warnings about unused variables.
8282
86ae07a8
JL
82832012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8284
8285 [BZ #13760]
8286 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8287 in the right place. Discard and retry query if response is
8288 larger than input buffer size.
8289
41bf21a1
JM
82902012-03-28 Joseph Myers <joseph@codesourcery.com>
8291
d6270972
JM
8292 [BZ #369]
8293 [BZ #2678]
8294 [BZ #3866]
8295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8296 x for large integer exponent.
8297 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8298 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8299 sign of result as needed afterwards.
8300 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8301 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8302 result for underflowing pow the same as for overflow.
8303 (__kernel_standard_l): Handle powl overflow and underflow here
8304 rather than calling __kernel_standard.
8305 * math/libm-test.inc (pow_test): Add more tests.
8306
414fca03 8307 [BZ #3868]
41bf21a1
JM
8308 [BZ #13879]
8309 [BZ #13910]
8310 [BZ #13911]
8311 [BZ #13912]
8312 [BZ #13913]
8313 [BZ #13915]
8314 [BZ #13916]
8315 [BZ #13917]
8316 [BZ #13918]
8317 [BZ #13919]
8318 [BZ #13920]
8319 [BZ #13921]
8320 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8321 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8322 (__kernel_standard_l): New function.
8323 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8324 __kernel_standard.
8325 * math/w_acosl.c (__acosl): Likewise.
8326 * math/w_asinl.c (__asinl): Likewise.
8327 * math/w_atan2l.c (__atan2l): Likewise.
8328 * math/w_atanhl.c (__atanhl): Likewise.
8329 * math/w_coshl.c (__coshl): Likewise.
8330 * math/w_exp10l.c (__exp10l): Likewise.
8331 * math/w_exp2l.c (__exp2l): Likewise.
8332 * math/w_fmodl.c (__fmodl): Likewise.
8333 * math/w_hypotl.c (__hypotl): Likewise.
8334 * math/w_j0l.c (__j0l, __y0l): Likewise.
8335 * math/w_j1l.c (__j1l, __y1l): Likewise.
8336 * math/w_jnl.c (__jnl, __ynl): Likewise.
8337 * math/w_lgammal.c (__lgammal): Likewise.
8338 * math/w_log10l.c (__log10l): Likewise.
8339 * math/w_log2l.c (__log2l): Likewise.
8340 * math/w_logl.c (__logl): Likewise.
8341 * math/w_powl.c (__powl): Likewise.
8342 * math/w_remainderl.c (__remainderl): Likewise.
8343 * math/w_scalbl.c (sysv_scalbl): Likewise.
8344 * math/w_sinhl.c (__sinhl): Likewise.
8345 * math/w_sqrtl.c (__sqrtl): Likewise.
8346 * math/w_tgammal.c (__tgammal): Likewise.
8347 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8348 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8349 * math/libm-test.inc (acos_test): Add more tests.
8350 (acosh_test): Likewise.
8351 (asin_test): Likewise.
8352 (atanh_test): Likewise.
8353 (exp_test): Likewise.
8354 (exp10_test): Likewise.
8355 (exp2_test): Likewise.
8356 (expm1_test): Likewise.
8357 (lgamma_test): Likewise.
8358 (log_test): Likewise.
8359 (log10_test): Likewise.
8360 (log1p_test): Likewise.
8361 (log2_test): Likewise.
8362 (pow_test): Do not allow some spurious overflow exceptions.
8363 (sqrt_test): Add more tests.
8364 (tgamma_test): Likewise.
8365 (y0_test): Likewise.
8366 (y1_test): Likewise.
8367 (yn_test): Likewise.
8368
dd62fda6
AB
83692012-03-27 Anton Blanchard <anton@samba.org>
8370
8371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8372 MAP_HUGETLB.
8373 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8376
1e3cdfda
AJ
83772012-03-27 David S. Miller <davem@davemloft.net>
8378
b855ab85
DM
8379 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8380
1e3cdfda
AJ
8381 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8382 have-as-vis3 check.
8383
83842012-03-27 Andreas Jaeger <aj@suse.de>
8385
8386 * sysdeps/x86_64/elf/configure.in: Moved to ...
8387 * sysdeps/x86_64/configure.in: ... here.
8388 * sysdeps/x86_64/elf/start.S: Moved to ...
8389 * sysdeps/x86_64/start.S: ... here.
8390 * sysdeps/x86_64/elf/configure: Delete.
8391
8392 * sysdeps/x86_64/configure.in: Merge contents from
8393 sysdeps/i386/configure.in (without i686 check).
8394
8395 * sysdeps/i386/elf/Versions: Merge into ...
8396 * sysdeps/i386/Versions: ... this.
8397 * sysdeps/i386/elf/Versions: Delete file.
8398 * sysdeps/i386/elf/start.S: Moved to ...
8399 * sysdeps/i386/start.S: ...here.
8400 * sysdeps/i386/elf/configure.in: Merge into...
8401 * sysdeps/i386/configure.in: ...here.
8402 * sysdeps/i386/elf/configure.in: Delete file.
8403 * sysdeps/i386/elf/configure: Delete file.
8404
8405 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8406 * debug/backtracesyms.c: ... here.
8407 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8408 * debug/backtracesymsfd.c: ... here.
8409 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8410 * sysdeps/generic/ifunc-sel.h: ... here.
8411
8412 * sysdeps/unix/i386/start.c: Delete file.
8413 * sysdeps/unix/sparc/start.c: Delete file.
8414 * sysdeps/unix/start.c: Delete file.
8415
8416 * sysdeps/sh/elf/configure.in: Moved to ...
8417 * sysdeps/sh/configure.in: ... here.
8418 * sysdeps/sh/elf/start.S: Moved to ...
8419 * sysdeps/sh/start.S: ... here.
8420 * sysdeps/sh/elf/configure: Delete file.
8421
8422 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8423 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8424 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8425 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8426 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8427 * sysdeps/powerpc/powerpc64/start.S: here.
8428 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8429 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8430 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8431 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8432 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8433
8434 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8435 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8436 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8437 * sysdeps/powerpc/powerpc32/start.S: ... here.
8438 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8439 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8440 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8441
8442 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8443 * sysdeps/powerpc/ifunc-sel.h: ... here.
8444 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8445 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8446
8447 * sysdeps/sparc/elf/configure.in: Moved to ...
8448 * sysdeps/sparc/configure.in: ... here.
8449 * sysdeps/sparc/elf/configure: Delete file.
8450 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8451 * sysdeps/sparc/sparc32/start.S: ... here.
8452 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8453 * sysdeps/sparc/sparc64/start.S: ... here.
8454 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8455 * sysdeps/sparc/sparc32/Makefile: ... this.
8456 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8457 * sysdeps/sparc/sparc64/Makefile: ... this.
8458
8459 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8460 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8461 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8462 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8463 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8464 * sysdeps/s390/s390-32/setjmp.S: ... here.
8465 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8466 * sysdeps/s390/s390-32/configure.in: ... here.
8467 * sysdeps/s390/s390-32/elf/configure: Delete file.
8468 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8469 * sysdeps/s390/s390-32/start.S: ... here.
8470
8471 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8472 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8473 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8474 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8475 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8476 * sysdeps/s390/s390-64/setjmp.S: ... here.
8477 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8478 * sysdeps/s390/s390-64/configure.in: ... here
8479 * sysdeps/s390/s390-64/elf/configure: Delete file.
8480 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8481 * sysdeps/s390/s390-64/start.S: ... here.
8482 * sysdeps/s390/s390-64/elf/configure: Delete.
8483
8484 * configure.in: Remove support for elf directories in sysdeps.
8485
8486 * configure: Regenerated.
8487 * sysdeps/i386/configure: Regenerated.
8488 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8489 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8490 * sysdeps/s390/s390-32/configure: Regenerated.
8491 * sysdeps/s390/s390-64/configure: Regenerated.
8492 * sysdeps/sh/configure: Regenerated.
8493 * sysdeps/sparc/configure: Regenerated.
8494 * sysdeps/x86_64/configure: Regenerated.
8495
a3f61311
AS
84962012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8497
c876e002
AS
8498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8499
a3f61311
AS
8500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8501 denormal result into account.
8502
ac4c54f0
RM
85032012-03-25 Roland McGrath <roland@hack.frob.com>
8504
8505 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8506 Reported by Allan McRae <allan@archlinux.org>.
8507
6a9b9c02
JL
85082012-03-23 Jeff Law <law@redhat.com>
8509
8510 * nss/getnssent.c (__nss_getent): Fix typo.
8511
4c42a0c1
DM
85122012-03-23 David S. Miller <davem@davemloft.net>
8513
8514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8515
1532c7ac
L
85162012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8517
8518 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8519 to pad to uint64_t for each field.
8520 (dl_tls_index): Replace unsigned long with uint64_t.
8521
3ff42526
PP
85222012-03-23 Daniel Jacobowitz <dmj@google.com>
8523 Paul Pluzhnikov <ppluzhnikov@google.com>
8524
8525 [BZ #6528]
8526 * grp/Makefile (otherlibs): Don't set it.
8527 * inet/Makefile (otherlibs): Likewise.
8528 * login/Makefile (otherlibs): Likewise.
8529 * nscd/Makefile (otherlibs): Likewise.
8530 * posix/Makefile (otherlibs): Likewise.
8531 * pwd/Makefile (otherlibs): Likewise.
8532 * rt/Makefile (otherlibs): Likewise.
8533 * sunrpc/Makefile (otherlibs): Likewise.
8534 * nss/Makefile (otherlibs): Likewise.
8535 Add libnss_files to routines and static-only-routines.
8536 ($(objpfx)getent): Remove rule.
8537 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8538 static-only-routines.
8539
7c69cd14
JM
85402012-03-22 Joseph Myers <joseph@codesourcery.com>
8541
8542 [BZ #13892]
8543 * math/s_cexp.c: Include <float.h>.
8544 (__cexp): Handle exp result overflowing not necessarily
8545 overflowing both real and imaginary parts of result.
8546 * math/s_cexpf.c: Likewise.
8547 * math/s_cexpl.c: Likewise.
8548 * math/libm-test.inc (cexp_test): Add more tests.
8549 * sysdeps/i386/fpu/libm-test-ulps: Update.
8550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551
81b035fe
L
85522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8553
8554 * include/link.h (ELFW): New macro.
8555 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8556 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8557
1da7940c
L
85582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8561 with uint64_t.
8562
b749dbb9
L
85632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8566 declaration.
8567 (struct La_x32_retval): Likewise.
8568
2ff87f3f
L
85692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8570
8571 * sysdeps/x86_64/preconfigure.in: New file.
8572 * sysdeps/x86_64/preconfigure: New generated file.
8573
c0df8e69
JM
85742012-03-22 Joseph Myers <joseph@codesourcery.com>
8575
48e44791
JM
8576 [BZ #13824]
8577 * math/e_exp2l.c: Include <float.h>.
8578 (__ieee754_exp2l): Handle overflow and underflow cases
8579 separately. Only pass fractional part of argument to
8580 __ieee754_expl.
8581 * math/libm-test.inc (exp2_test): Add more tests.
8582
c0df8e69
JM
8583 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8584 negating x to take absolute value.
8585 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8586 Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8589 Likewise.
8590 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8591 computing low part if x was negated.
8592 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8593
c8e43ba7
L
85942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8597 la_x32_gnu_pltexit.
8598 (pltexit): Cast int_retval to ptrdiff_t.
8599 * elf/tst-auditmod3b.c: Likewise.
8600 * elf/tst-auditmod4b.c: Likewise.
8601 * elf/tst-auditmod5b.c: Likewise.
8602 * elf/tst-auditmod6b.c: Likewise.
8603 * elf/tst-auditmod6c.c: Likewise.
8604 * elf/tst-auditmod7b.c: Likewise.
8605
8606 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8607 and x32_gnu_pltexit.
8608
8609 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8610 __ELF_NATIVE_CLASS.
8611 (La_x32_regs): New macro.
8612 (La_x32_retval): Likewise.
8613 (la_x32_gnu_pltenter): New function prototype.
8614 (la_x32_gnu_pltexit): Likewise.
8615
7998fa78
AS
86162012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8617
dcb33988
AS
8618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8619 exponent.
8620
233fc563
AS
8621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8622
7998fa78
AS
8623 * configure.in (libc_cv_cc_nofma): Check for option to disable
8624 generation of FMA instructions.
8625 * configure: Regenerate.
8626 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8627 * sysdeps/ieee754/dbl-64/Makefile: New file.
8628 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8629 Remove brandred-fma4.
8630 (CFLAGS-brandred-fma4.c): Remove.
8631 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8632 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8633 define.
8634 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8635 define.
8636
8e95c99a
L
86372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8640 LLONG_MAX != LONG_MAX.
8641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8642 (_fitoa_word): Likewise.
8643 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8644 LLONG_MAX != LONG_MAX.
8645 * stdio-common/_itowa.h: Include <_itoa.h>.
8646 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8647 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8648 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8649 only if not defined.
8650 (_ITOA_WORD_TYPE): Likewise.
8651 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8652 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8653
6f4db457
DM
86542012-03-21 David S. Miller <davem@davemloft.net>
8655
8656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8657
7785fe5a
L
86582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8661 of x86_64 when setting libc_cv_slibdir, libdir and
8662 libc_cv_localedir.
8663 * sysdeps/unix/sysv/linux/configure: Regenerated.
8664
4535cd55
JM
86652012-03-21 Joseph Myers <joseph@codesourcery.com>
8666
8667 * manual/lang.texi (Old Varargs): Remove section.
8668 (How Variadic): Update menu.
8669 (va_start): Do not mention varargs.h.
8670
17228132
TS
86712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8672 Joseph Myers <joseph@codesourcery.com>
8673
8674 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8675 link test.
8676 * configure: Regenerated.
8677
8149f976
TS
86782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8679
05f3d1f6
UD
8680 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8681 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8682 conformtest.pl
8149f976 8683
1a4ac776
JM
86842012-03-21 Joseph Myers <joseph@codesourcery.com>
8685
be22ce65
JM
8686 * NOTES: Remove.
8687 * Makefile (files-for-dist): Remove NOTES.
8688 (NOTES): Remove rule.
8689 * README: Don't refer to NOTES.
8690 * manual/creature.texi: Don't include macros.texi.
8691 * manual/intro.texi (creature.texi): Remove comment referring to
8692 NOTES.
8693
40b601fb
JM
8694 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8695 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8696 * configure: Regenerated.
8697 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8698 LIBC_TRY_CC_OPTION.
8699 (libc_cv_as_i686): Likewise.
8700 (libc_cv_cc_avx): Likewise.
8701 (libc_cv_cc_sse2avx): Likewise.
8702 (libc_cv_cc_fma4): Likewise.
8703 (libc_cv_cc_novzeroupper): Likewise.
8704 * sysdeps/i386/configure: Regenerated.
8705
1a4ac776
JM
8706 [BZ #13883]
8707 * sysdeps/i386/fpu/s_cexp.S: Remove.
8708 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8709 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8710 * math/libm-test.inc (cexp_test): Add more tests.
8711 * sysdeps/i386/fpu/libm-test-ulps: Update.
8712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8713
a458e7fe
AM
87142012-03-21 Allan McRae <allan@archlinux.org>
8715
8716 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8717
0cb7efc5
JM
87182012-03-21 Joseph Myers <joseph@codesourcery.com>
8719
8720 [BZ #13871]
8721 * math/w_exp2.c: Do not include <float.h>.
8722 (o_threshold, u_threshold): Remove.
8723 (__exp2): Calculate result before checking finiteness and calling
8724 __kernel_standard.
8725 * math/w_exp2f.c: Likewise.
8726 * math/w_exp2l.c: Likewise.
8727 * math/libm-test.inc (exp2_test): Require overflow exception for
8728 1e6 input.
2460d3aa
JM
8729
8730 [BZ #3866]
8731 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8732 range of signed 64-bit integers before using fistpll. Remove
8733 checks for whether integers fit in mantissa bits.
8734 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8735 the range of signed 32-bit integers before using fistpl. Remove
8736 checks for whether integers fit in mantissa bits.
8737 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8738 (__ieee754_powl): Test for y outside the range of signed 64-bit
8739 integers before using fistpll. Reduce 64-bit values to 63-bit
8740 ones as needed.
8741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8742 divide-by-zero is raised for zero to large negative powers.
8743 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8744 (__ieee754_powl): Test for y outside the range of signed 64-bit
8745 integers before using fistpll. Reduce 64-bit values to 63-bit
8746 ones as needed.
8747 * math/libm-test.inc (pow_test): Add more tests.
8748
eb96ffb0
L
87492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8752 <stdio-common/_itoa.h>.
8753 * debug/segfault.c: Likewise.
8754 * elf/dl-cache.c: Likewise.
8755 * elf/dl-minimal.c: Likewise.
8756 * elf/dl-misc.c: Likewise.
8757 * elf/dl-sysdep.c: Likewise.
8758 * elf/dl-version.c: Likewise.
8759 * elf/rtld.c: Likewise.
8760 * hurd/hurdsock.c: Likewise.
8761 * hurd/lookup-retry.c: Likewise.
8762 * malloc/malloc.c: Likewise.
8763 * malloc/mtrace.c: Likewise.
8764 * nscd/nscd_getgr_r.c: Likewise.
8765 * nscd/nscd_getpw_r.c: Likewise.
8766 * nscd/nscd_getserv_r.c: Likewise.
8767 * posix/getopt_init.c: Likewise.
8768 * posix/wordexp.c: Likewise.
8769 * stdio-common/_itoa.c: Likewise.
8770 * stdio-common/printf_fphex.c: Likewise.
8771 * stdio-common/vfprintf.c: Likewise.
8772 * string/_strerror.c: Likewise.
8773 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8774 * sysdeps/i386/i686/hp-timing.h: Likewise.
8775 * sysdeps/mach/_strerror.c: Likewise.
8776 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8777 * sysdeps/mach/hurd/sethostid.c: Likewise.
8778 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8779 * sysdeps/mach/xpg-strerror.c: Likewise.
8780 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8782 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8783 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8785 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8786 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8787 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8788 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8789 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8790 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8791 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8793 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8795 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8798 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8799 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8801
8802 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8803
8804 * stdio-common/_itoa.h: Moved to ...
8805 * sysdeps/generic/_itoa.h: Here.
8806
8807 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8808
8809 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8810 instead of "_itoa.h" and "_itowa.h".
8811 * stdio-common/vfprintf.: Likewise.
8812
d1af992d
L
88132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8814
8815 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8816 <bits/wordsize.h>.
8817 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8818 (__signbit): Likwise.
8819 (llrintf): Likwise.
8820 (llrint): Likwise.
8821
114883e0
L
88222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8825 __WORDSIZE != 64.
8826
c135cc1b
JM
88272012-03-20 Joseph Myers <joseph@codesourcery.com>
8828
8829 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8830 OVERFLOW_EXCEPTION_OK.
8831 * math/libm-test.inc ("Philosophy"): Update comment about
8832 exception testing.
8833 (OVERFLOW_EXCEPTION): Define.
8834 (OVERFLOW_EXCEPTION_OK): Likewise.
8835 (INVALID_EXCEPTION_OK): Renumber.
8836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8837 (IGNORE_ZERO_INF_SIGN): Likewise.
8838 (test_exceptions): Handle FE_OVERFLOW.
8839 (exp10_test): Expect overflow exceptions.
8840 (exp2_test): Likewise.
8841 (expm1_test): Likewise.
8842 (nextafter_test): Likewise.
8843 (pow_test): Likewise.
8844 (scalbn_test): Likewise.
8845 (scalbln_test): Likewise.
8846
95443d88
L
88472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/x86_64/bits/atomic.h
8850 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8851 64bit integer.
8852 (atomic_exchange_acq): Likewise.
8853 (__arch_exchange_and_add_body): Likewise.
8854 (__arch_add_body): Likewise.
8855 (atomic_add_negative): Likewise.
8856 (atomic_add_zero): Likewise.
8857
490df6c4
L
88582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8859
c2722551 8860 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8861 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8862
5e52b189
L
88632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8866 Check __x86_64__ instead of __WORDSIZE.
8867
a9879d4c
L
88682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8871
5df98260
DM
88722012-03-19 David S. Miller <davem@davemloft.net>
8873
e1497744
DM
8874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8875
5df98260
DM
8876 * sysdeps/sparc/fpu/fenv_private.h: New file.
8877 * sysdeps/sparc/fpu/math_private.h: Use it.
8878 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8879 Remove.
8880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8881 (libc_feholdexcept_setroundl): Remove.
8882 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8883 Remove.
8884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8886
b4c35121
L
88872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8890 int64_t instead of long int.
8891 (INSERT_WORDS64): Likwise.
8892
56965fd7
L
88932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8896 _Unwind_GetCFA return to _Unwind_Ptr first.
8897
83d1aec8
JM
88982012-03-19 Joseph Myers <joseph@codesourcery.com>
8899
1897ad44
JM
8900 [BZ #13629]
8901 * math/s_clog.c: Include <float.h>.
8902 (__clog): Scale large or subnormal inputs.
8903 * math/s_clogf.c: Likewise.
8904 * math/s_clogl.c: Likewise.
8905 * math/s_clog10.c: Include <float.h>.
8906 (M_LOG10_2): Define.
8907 (__clog10): Scale large or subnormal inputs.
8908 * math/s_clog10f.c: Likewise.
8909 * math/s_clog10l.c: Likewise.
8910 * math/libm-test.inc (clog_test): Add more tests.
8911 (clog10_test): Likewise.
8912 * sysdeps/i386/fpu/libm-test-ulps: Update.
8913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8914
7726d6a9
JM
8915 [BZ #11451]
8916 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8917 x and y.
8918 * math/libm-test.inc (atan2_test): Add another test.
8919
83d1aec8
JM
8920 * Makerules (common-objdir-compile): Remove.
8921 * sysdeps/unix/Makefile (config-generated): Do not add
8922 $(unix-generated) to variable.
8923 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8924 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8925 Remove rule.
8926 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8927 Likewise.
8928 [generic bits/local_lim.h] (before-compile): Do not append to
8929 variable.
8930 [generic bits/local_lim.h] (common-generated): Likewise.
8931 [generic sys/param.h] (before-compile): Do not append to variable.
8932 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8933 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8934 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8935 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8936 include.
8937 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8938 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8939 [generic sys/param.h] ($(addprefix
8940 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8941 [generic sys/param.h] (common-generated): Do not append to
8942 variable.
8943 [generic sys/param.h] (sysdep_headers): Likewise.
8944 [generic bits/errno.h] (before-compile): Do not append to
8945 variable.
8946 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8947 rule.
8948 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8949 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8950 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8951 [generic bits/errno.h] (common-generated): Do not append to
8952 variable.
8953 [generic bits/ioctls.h] (before-compile): Do not append to
8954 variable.
8955 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8956 rule.
8957 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8958 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8959 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8960 rule.
8961 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8962 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8963 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8964 [generic bits/ioctls.h] (common-generated): Do not append to
8965 variable.
8966 [generic sys/syscall.h] (syscall.h): Remove variable.
8967 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8968 rule.
8969 [generic sys/syscall.h] (before-compile): Do not append to
8970 variable.
8971 [generic sys/syscall.h] (common-generated): Likewise.
8972 * sysdeps/unix/errnos-tmpl.c: Remove file.
8973 * sysdeps/unix/errnos.awk: Likewise.
8974 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8975 * sysdeps/unix/ioctls.awk: Likewise.
8976 * sysdeps/unix/mk-local_lim.c: Likewise.
8977 * sysdeps/unix/snarf-ioctls: Likewise.
8978
4851a949
RH
89792012-03-19 Richard Henderson <rth@twiddle.net>
8980
bd37f2ee
RH
8981 * sysdeps/i386/fpu/fenv_private.h: New file.
8982 * sysdeps/i386/fpu/math_private.h: Use it.
8983 (math_opt_barrier, math_force_eval): Remove.
8984 (libc_feholdexcept_setround_53bit): Remove.
8985 (libc_feupdateenv_53bit): Remove.
8986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8987 (math_opt_barrier, math_force_eval): Remove.
8988 (libc_feholdexcept): Remove.
8989 (libc_feholdexcept_setround): Remove.
8990 (libc_fetestexcept, libc_fesetenv): Remove.
8991 (libc_feupdateenv_test): Remove.
8992 (libc_feupdateenv, libc_feholdsetround): Remove.
8993 (libc_feresetround): Remove.
8994
d0adc922
RH
8995 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8996 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8997
0fe0f1f8
RH
8998 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8999 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9000 (libc_feupdateenv_testl): New.
9001 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9002 (libc_feupdateenv_testf): New.
9003 (libc_feupdateenv): Use libc_feupdateenv_test.
9004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9006
eb92c487
RH
9007 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9008 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9009 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9010 (libc_feresetround_noex): New.
9011 (libc_feresetround_noexf): New.
9012 (libc_feresetround_noexl): New.
9013 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9014 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9015 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9016 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9017 SET_RESTORE_ROUND.
9018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9020 (__cos): Likewise.
9021 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9022 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9023 SET_RESTORE_ROUND_NOEX.
9024 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9025 SET_RESTORE_ROUND_NOEXF.
9026 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9027 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9028 (libc_feholdsetroundf): New.
9029 (libc_feresetround, libc_feresetroundf): New.
9030
7d2e8012
RH
9031 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9032 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9033 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9034
b4dabbb4
RH
9035 * sysdeps/generic/math_private.h: Include <fenv.h>.
9036 (default_libc_feholdexcept): New.
9037 (default_libc_feholdexcept_setround): New.
9038 (default_libc_fesetenv, default_libc_feupdateenv): New.
9039 (libc_feholdexcept): Only define if undefined.
9040 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9041 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9042 (libc_feholdexcept_setroundl): Likewise.
9043 (libc_feholdexcept_setround_53bit): Likewise.
9044 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9045 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9046 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9047 (libc_feupdateenv_53bit): Likewise.
9048 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9049 (libc_feholdexcept): Convert from macro to inline function.
9050 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9051 (libc_fesetenv, libc_feupdateenv): Likewise.
9052
4851a949
RH
9053 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9054 not previously defined.
9055 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9056 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9057 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9058 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9059 * sysdeps/ieee754/flt-32/math_private.h: New file.
9060 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9061 math_private.h below SET_FLOAT_WORD.
9062 (__isnan, __isinf_ns, __finite): Remove.
9063 (__isnanf, __isinf_nsf, __finitef): Remove.
9064
e79d442e
AS
90652012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9066
9067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9068
90b80344
DM
90692012-03-17 David S. Miller <davem@davemloft.net>
9070
9071 [BZ #6471]
9072 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9073 for 2.16.
9074
edc21804
DM
90752012-03-16 David S. Miller <davem@davemloft.net>
9076
77e927af
DM
9077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9078 warnings.
9079
374976dd
DM
9080 [BZ #6471]
9081 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9082 properly.
9083 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9084 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9085 sysdep_routines when subdir is sysvipc.
9086 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9087 __getshmlba helper.
9088
edc21804
DM
9089 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9090
473c3ef3
L
90912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9092
9093 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9094 [__LP64__].
9095
eb0f39b6
L
90962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9097
9098 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9099 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9100 (__lround): Renamed to ...
9101 (__llround): This. Replace long int with long long int.
9102 Define lround functions as aliases of llround functions.
9103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9104
6b6cd74b
L
91052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9108 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9109 adresses to uintptr_t. Replace "long int" and "unsigned long
9110 int" with "greg_t" on va_arg.
9111
f1a77b01
L
91122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9115 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9116
9117 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9118 Move e_machine check before EI_CLASS check. Handle x32
9119 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9120 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9121 SKIP_EM_IA_64 and include
9122 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9123
9124 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9125 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9126 (add_system_dir): New macro.
9127
9128 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9129 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9130
11b90b9f
JM
91312012-03-16 Joseph Myers <joseph@codesourcery.com>
9132
c36e1d23
JM
9133 [BZ #2551]
9134 [BZ #2552]
9135 [BZ #2553]
9136 [BZ #2554]
9137 [BZ #2562]
9138 [BZ #2563]
9139 [BZ #2565]
9140 [BZ #2566]
9141 [BZ #2576]
9142 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9143 (y0): Likewise.
9144 * math/w_j0f.c (j0f): Likewise.
9145 (y0f): Likewise.
9146 * math/w_j0l.c (__j0l): Likewise.
9147 (__y0l): Likewise.
9148 * math/w_j1.c (j1): Likewise.
9149 (y1): Likewise.
9150 * math/w_j1f.c (j1f): Likewise.
9151 (y1f): Likewise.
9152 * math/w_j1l.c (__j1l): Likewise.
9153 (__y1l): Likewise.
9154 * math/w_jn.c (jn): Likewise.
9155 (yn): Likewise.
9156 * math/w_jnf.c (jnf): Likewise.
9157 (ynf): Likewise.
9158 * math/w_jnl.c (__jnl): Likewise.
9159 (__ynl): Likewise.
9160 * math/libm-test.inc (j0_test): Add more tests.
9161 (j1_test): Likewise.
9162 (jn_test): Likewise. Add trailing semicolon to existing test.
9163 (y0_test): Likewise.
9164 (y1_test): Likewise.
9165 * sysdeps/i386/fpu/libm-test-ulps: Update.
9166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9167
11b90b9f
JM
9168 [BZ #13851]
9169 [BZ #13854]
9170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9171 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9172 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9173 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9174 (__tanl): Set errno for infinite argument.
9175 * sysdeps/i386/fpu/mptan.c: Remove.
9176 * sysdeps/i386/fpu/s_tan.S: Likewise.
9177 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9178 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9179 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9180 * math/libm-test.inc (tan_test): Add more tests and enable more
9181 tests for double and long double.
9182 * sysdeps/i386/fpu/libm-test-ulps: Update.
9183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9184
6a1bd2a1
JK
91852012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9186
9187 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9188 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9189
10a803e0
RM
91902012-03-16 Roland McGrath <roland@hack.frob.com>
9191
9192 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9193 * configure.in: Use it for both main tree and add-ons.
9194 * configure: Regenerated.
9195
f196c7f7
L
91962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9197
9198 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9199
8848d99d
JM
92002012-03-16 Joseph Myers <joseph@codesourcery.com>
9201
96cbe7f4
JM
9202 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9203 in comment.
9204
8848d99d
JM
9205 [BZ #13851]
9206 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9207 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9211 infinite argument.
9212 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9214 != 0 for prec == 2.
9215 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9216 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9217 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9218 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9219 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9220 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9221 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9222 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9223 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9224 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9225 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9226 * math/libm-test.inc (cos_test): Add more tests and enable more
9227 tests for long double.
9228 (sin_test): Likewise.
9229 (sincos_test): Likewise.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232
dd7f4703
DM
92332012-03-16 David S. Miller <davem@davemloft.net>
9234
9235 * sysdeps/sparc/fpu/math_private.h: New file.
9236
006f1daa
DM
92372012-03-15 David S. Miller <davem@davemloft.net>
9238
c0c83bc8
DM
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9240 file.
e6a62e18 9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9243 file.
e6a62e18
DM
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9250 sysdep routines.
9251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9252
88cb87d9
DM
9253 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9254 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9255
006f1daa 9256 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9258 sparc-ifunc.h
006f1daa 9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9261 Likewise.
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9263 Likewise.
006f1daa
DM
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9268 Likewise.
006f1daa
DM
9269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9274 Likewise.
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9276 Likewise.
006f1daa
DM
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9301
11e0098e
AS
93022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9303
9304 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9305 scaling.
9306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9307
e85b09d0
AJ
93082012-03-15 Andreas Jaeger <aj@suse.de>
9309
9310 [BZ #13852]
9311 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9312 ieee754/flt-32 implementation for sin, cos and sincos.
9313 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9314 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9315 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9316 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9317 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9318 ieee754/flt-32 implementation for tan.
9319
9320 * math/libm-test.inc (cos_test): Enable some large input tests for
9321 float as well
9322 (sin_test): Likewise.
9323 (sincos_test): Likewise.
9324 (tan_test): Add tests for large input.
9325
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327
81c64153
AJ
93282012-03-15 Andreas Jaeger <aj@suse.de>
9329
9330 [BZ #13658]
9331 * math/libm-test.inc (cos_test): Add more test cases.
9332 (sin_test): Likewise.
9333 (sincos_test): Likewise.
9334
7bbfa5c6
AJ
93352012-03-15 Andreas Jaeger <aj@suse.de>
9336
9337 [BZ #13837]
9338 * math/libm-test.inc (cos_test): Add a test case for large input
9339 value.
9340 (sin_test): Likewise.
9341 (sincos_test): Likewise.
9342
93432012-03-15 Andreas Jaeger <aj@suse.de>,
9344 Joseph Myers <joseph@codesourcery.com>
9345
9346 [BZ #13658]
0671f479 9347 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9348 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9349 * sysdeps/i386/fpu/branred.c: Likewise.
9350 * sysdeps/i386/fpu/dosincos.c: Likewise.
9351 * sysdeps/i386/fpu/mpa.c: Likewise.
9352 * sysdeps/i386/fpu/s_cos.S: Likewise.
9353 * sysdeps/i386/fpu/s_sin.S: Likewise.
9354 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9355 * sysdeps/i386/fpu/sincos32.c: Likewise.
9356
9357 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9358 Define.
9359 (libc_feupdateenv_53bit): Define.
9360 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9361 Define.
9362 (libc_feupdateenv_53bit): Define.
9363
9364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9365 53 bit (without extend i386 double precision).
9366
9367 * math/libm-test.inc (sincos_test): Add tests for large input.
9368 (sin): Likewise.
9369 (cos): Likewise.
9370
9371 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9372
9cad04ea
AS
93732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9374
9375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9376
f7062b9a
DM
93772012-03-15 David S. Miller <davem@davemloft.net>
9378
9379 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9380 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9381 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9382 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9395 file.
f7062b9a 9396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9398 file.
f7062b9a 9399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9401 file.
f7062b9a 9402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9404 file.
f7062b9a
DM
9405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9407 fmin/fmax sysdep routines.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9409
7bd951ff
DM
94102012-03-14 David S. Miller <davem@davemloft.net>
9411
559398ab
DM
9412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9441 routines.
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9443 file.
559398ab 9444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9446 file.
559398ab 9447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9449 file.
559398ab 9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9452 file.
559398ab 9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9455 file.
559398ab 9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9458 file.
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9460 file.
9461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9462 file.
9463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9464 file.
9465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9466 New file.
9467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9468 file.
9469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9470 file.
559398ab 9471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9473 file.
559398ab 9474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9476 file.
559398ab 9477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9479 file.
559398ab 9480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9482 VIS3 routines.
559398ab
DM
9483
9484 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9485 New file.
9486
5a1c1e32
DM
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488
eae47a36
DM
9489 * sysdeps/sparc/configure.in: New file.
9490 * sysdeps/sparc/configure: Generate.
9491 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9492 * configure: Regenerate.
9493 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9494 * config.make.in (have-as-vis3): New.
9495 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9496 available use -Av9d instead of -Av9a.
9497 * sysdeps/sparc/sparc64/Makefile: Likewise.
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9500 New file.
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9502 file.
9503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9504 New file.
9505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9506 file.
eae47a36
DM
9507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9512
c0c83bc8
DM
9513 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9514 fzeros/fnegs to load 0x80000000 into a float register instead of
9515 using the stack.
7bd951ff
DM
9516 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9517
bd951ccb
JM
95182012-03-14 Joseph Myers <joseph@codesourcery.com>
9519
9520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9521 bits/syscall.h.
9522 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9523 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9524 ($(inst_includedir)/bits/syscall.h): Remove rule.
9525 ($(objpfx)bits/syscall.d): Include instead of
9526 $(objpfx)syscall-list.d.
9527 (generated): Change syscall-list.h and syscall-list.d to
9528 bits/syscall.h and bits/syscall.d.
9529
bb4e6db2
RM
95302012-03-14 Roland McGrath <roland@hack.frob.com>
9531
9532 [BZ #13846]
9533 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9534
aa4a2ae1
JM
95352012-03-14 Joseph Myers <joseph@codesourcery.com>
9536
e456826d
JM
9537 [BZ #13841]
9538 * math/s_csqrt.c: Include <float.h>.
9539 (__csqrt): Scale large or subnormal inputs.
9540 * math/s_csqrtf.c: Likewise.
9541 * math/s_csqrtl.c: Likewise.
9542 * math/libm-test.inc (csqrt_test): Add more tests.
9543 * sysdeps/i386/fpu/libm-test-ulps: Update.
9544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9545
aa4a2ae1
JM
9546 [BZ #13840]
9547 * math/libm-test.inc (hypot_test): Add more tests.
9548
7c10fd35
DM
95492012-03-13 David S. Miller <davem@davemloft.net>
9550
9551 [BZ #13840]
9552 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9553 double-precision for the calculation instead of scaling.
9554
f453b98b
JM
95552012-03-13 Joseph Myers <joseph@codesourcery.com>
9556
9557 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9558 manipulate bits before adding and subtracting TWO52[sx].
9559 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9560 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9561 Likewise.
9562 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9563
09a3453f
DM
95642012-03-13 David S. Miller <davem@davemloft.net>
9565
8e59da90
DM
9566 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9567 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9569 rtld-global-offsets.h
9570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9571
2a8ab7f2
DM
9572 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9573 large parameters.
9574
10f62770
DM
9575 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9576
5f0bdb18
DM
9577 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9578 'err' in the ifdef scope in which it is actually used.
9579
09a3453f
DM
9580 * nss/nss_db/db-init.c: Include string.h
9581
b4b2eb5e
DM
95822012-03-12 David S. Miller <davem@davemloft.net>
9583
98bb2f1c
DM
9584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9585 masking out of the most significant byte of random value used.
9586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9587 Fix coding style in previous change.
9588
b4b2eb5e
DM
9589 * sysdeps/unix/sysv/linux/kernel-features.h
9590 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9591 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9592 expression.
9593 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9594 later.
9595
6e226b09
DM
95962012-03-11 David S. Miller <davem@davemloft.net>
9597
a1bcbd40
DM
9598 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9599 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9601 for 'resultvar' otherwise things get truncated on 64-bit.
9602
cb9d6174
DM
9603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9604 Fix masking out of the most significant byte of random value used.
9605
6e226b09
DM
9606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9607
058c132d
AS
96082012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9609
9610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9611
2d2cd515
DM
96122012-03-09 David S. Miller <davem@davemloft.net>
9613
9614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9615 variables with appropriate CPP guards.
9616 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9617 frame pointer, not the stack pointer. Correct layout comments. Fix test
9618 on resulting framesize and the management of the outregs buffer for pltexit.
9619 Preserve floating point return values across _dl_call_pltexit call.
9620 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9621 framesize and the management of the outregs buffer for pltexit.
9622 Preserve floating point return values across _dl_call_pltexit
9623 call.
9624 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9625 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9626 (print_exit): Fix format string for return register value.
9627
9a07f9d0
JM
96282012-03-10 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sunrpc/Makefile (others): Add rpcgen.
9631 ($(objpfx)rpcgen): Remove special build rule and dependency on
9632 libc.
9633 * sunrpc/rpcgen.c: New file.
9634
547b5e30
PE
96352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9636
c524201a
PE
9637 [BZ #13673]
9638 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9639 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9640 * sysdeps/i386/crti.S: Likewise.
9641 * sysdeps/i386/crtn.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9643 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9646 * sysdeps/sh/crti.S: Likewise.
9647 * sysdeps/sh/crtn.S: Likewise.
9648 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9649
7b6235f2
PE
9650 [BZ #13673]
9651 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9652 with URL.
9653 * locale/programs/locfile-kw.gperf: Likewise.
9654 * locale/programs/charmap-kw.h: Regenerated.
9655 * locale/programs/locfile-kw.h: Likewise.
9656
547b5e30
PE
9657 [BZ #13673]
9658 * intl/plural.y: Replace FSF snail mail address with URL.
9659 * intl/plural.c: Regenerated.
9660
5f0a5dae
RH
96612012-03-09 Richard Henderson <rth@twiddle.net>
9662
9663 * include/math_private.h: Remove file.
9664 * math/math_private.h: Move file ...
9665 * sysdeps/generic/math_private.h: ... here.
9666
b8c03620
RH
9667 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9668 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9669 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9670
4e234f5d 9671 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9672 and <math_private.h>.
9673 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9674 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9675 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9676 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9677 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9761 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9762 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9763 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9764 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9765 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9766 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9767 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9768 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9770 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9773 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9775 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9777 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9778 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9779 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9780 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9781 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9783 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9784 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9785 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9786 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9787 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9789 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9792 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9793 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9794 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9795 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9796 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9799 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9800 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9801 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9802 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9803 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9804 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9805 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9809 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9811 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9812 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9814 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9819 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9820 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9822 * sysdeps/ieee754/k_standard.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9942 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9945 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9950 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9955 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9983 * sysdeps/ieee754/s_lib_version.c: Likewise.
9984 * sysdeps/ieee754/s_matherr.c: Likewise.
9985 * sysdeps/ieee754/s_signgam.c: Likewise.
9986 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9987 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9988 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9989 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9990 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9991 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9992 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9993 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9994 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9995 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9996 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9997 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9998 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9999 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10000 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10001 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10002 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10007
1991fa03
JM
100082012-03-09 Joseph Myers <joseph@codesourcery.com>
10009
10010 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10011 * sunrpc/rpc_main.c: Likewise.
10012 * sunrpc/rpc_svcout.c: Likewise.
10013
60d6f5a6
DM
100142012-03-09 David S. Miller <davem@davemloft.net>
10015
10016 * include/math_private.h: New file.
10017
4962050e
JM
100182012-03-09 Joseph Myers <joseph@codesourcery.com>
10019
02a6f887
JM
10020 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10021 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10022 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10023 from <bits/socket_type.h>.
10024 (enum __socket_type): Don't define here.
10025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10027 bits/socket_type.h.
10028
c6e013c1
JM
10029 [BZ #13566]
10030 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10031 checking __USE_GNU.
10032
4962050e
JM
10033 * Makerules ($(inst_includedir)/%.h): New rule.
10034 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10035 (install-others): Remove variable setting.
10036 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10037
38842f45
RH
100382012-03-08 Richard Henderson <rth@twiddle.net>
10039
67bb6da6
RH
10040 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10041 from macro to inline function; merge with the
10042 !__LIBC_INTERNAL_MATH_INLINES version.
10043 (__ieee754_sqrtf): Likewise.
10044
15194b4b
RH
10045 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10046 to inline function.
10047 (__rintf, __floor, __floorf): Likewise.
10048
64e21ede
RH
10049 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10050 macro to inline function.
10051 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10052
38842f45
RH
10053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10054 not <math/math_private.h>.
10055
c64bf5fe
DM
100562012-03-08 David S. Miller <davem@davemloft.net>
10057
10058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10059 copyright year.
10060 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10061
82d86f28
TS
100622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10063
10064 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10065 normalization.
10066 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10067 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10068
aea5d727
UD
100692012-03-08 Ulrich Drepper <drepper@gmail.com>
10070
10071 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10072 be defined individually, they must be defined as a block. Define
10073 S for printing a string instead of hidint the different by using a
10074 macro for adding the 'l'.
10075 * stdio-common/tst-fphex-wide.c: Adjust.
10076
70bca0a3
MP
100772012-03-07 Marek Polacek <polacek@redhat.com>
10078
10079 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10080
65b81130
MP
100812012-03-08 Marek Polacek <polacek@redhat.com>
10082
10083 [BZ #13806]
10084 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10085 * stdio-common/tst-fphex.c: Define a few macros to make the
10086 test reusable. Use them.
10087 * stdio-common/tst-fphex-wide.c: New file.
10088
07037eeb
JM
100892012-03-08 Joseph Myers <joseph@codesourcery.com>
10090
a7a93d50
JM
10091 [BZ #6911]
10092 * manual/macros.texi (gnusystems): New macro.
10093 (nongnusystems): Likewise.
10094 (gnulinuxhurdsystems): Likewise.
10095 (gnuhurdsystems): Likewise..
10096 (gnulinuxsystems): Likewise.
10097 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10098 variants of the GNU system, not "GNU system".
10099 * manual/conf.texi: Likewise.
10100 * manual/errno.texi: Likewise. Update example of errno macro
10101 expansion.
10102 * manual/filesys.texi: Likewise.
10103 (getumask): Document as specific to GNU/Hurd.
10104 * manual/install.texi: Likewise. Reword some references to
10105 GNU/Linux.
10106 * manual/intro.texi: Likewise.
10107 * manual/io.texi: Likewise.
10108 (File Name Portability): Detail which constraints are inapplicable
10109 to all GNU systems and which are only inapplicable to GNU/Hurd.
10110 * manual/job.texi: Likewise.
10111 * manual/llio.texi: Likewise.
10112 (O_NOCTTY): Document as present on GNU/Linux.
10113 * manual/maint.texi: Likewise.
10114 * manual/memory.texi: Likewise.
10115 * manual/pattern.texi: Likewise.
10116 * manual/pipe.texi: Likewise.
10117 * manual/process.texi: Likewise.
10118 * manual/resource.texi: Likewise.
10119 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10120 child on GNU/Hurd.
10121 * manual/setjmp.texi: Likewise.
10122 * manual/signal.texi: Likewise.
10123 * manual/startup.texi: Likewise.
10124 * manual/stdio.texi: Likewise.
10125 * manual/terminal.texi: Likewise.
10126 (ONLCR): Document as POSIX.
10127 (OXTABS): Document availability on GNU/Linux as XTABS.
10128 (ONOEOT): Document availability separately from other bits.
10129 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10130 * manual/time.texi: Likewise.
10131 * manual/users.texi: Likewise.
10132 * INSTALL: Regenerated.
10133 * sysdeps/gnu/errlist.c: Regenerated.
10134
07037eeb
JM
10135 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10136 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10137 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10138 puts.
10139 * configure: Regenerated.
10140
d1d3431a
JM
101412012-03-07 Joseph Myers <joseph@codesourcery.com>
10142
af6a1e37
JM
10143 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10144 default includes instead of AC_HEADER_CHECK.
10145 * sysdeps/i386/configure: Regenerated.
10146
d1d3431a
JM
10147 [BZ #10716]
10148 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10149 * math/s_cacoshf.c (__cacoshf): Likewise.
10150 * math/s_cacoshl.c (__cacoshl): Likewise.
10151 * math/s_casinh.c (__casinh): Set signs of result from argument.
10152 * math/s_casinhf.c (__casinhf): Likewise.
10153 * math/s_casinhl.c (__casinhl): Likewise.
10154 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10155 (casinh_test): Add more tests.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
482ff4da
UD
101592012-03-07 Ulrich Drepper <drepper@gmail.com>
10160
872fda05
UD
10161 * po/zh_TW.po: Update from translation team.
10162
a4300c7a
UD
10163 * login/Makefile (distribute): Remove variable.
10164 * catgets/Makefile: Likewise.
10165 * mach/Makefile: Likewise.
10166 * malloc/Makefile: Likewise.
10167 * misc/Makefile: Likewise.
10168 * iconv/Makefile: Likewise.
10169 * nscd/Makefile: Likewise.
10170 * hurd/Makefile: Likewise.
10171 * manual/Makefile: Likewise.
10172 * locale/Makefile: Likewise.
10173 * intl/Makefile: Likewise.
10174 * conform/Makefile: Likewise.
10175 * nss/Makefile: Likewise.
10176 * time/Makefile: Likewise.
10177 * soft-fp/Makefile: Likewise.
10178 * dirent/Makefile: Likewise.
10179 * gmon/Makefile: Likewise.
10180 * po/Makefile: Likewise.
10181 * rt/Makefile: Likewise.
10182 * socket/Makefile: Likewise.
10183 * math/Makefile: Likewise.
10184 * signal/Makefile: Likewise.
10185 * debug/Makefile: Likewise.
10186 * elf/Makefile: Likewise.
10187 * timezone/Makefile: Likewise.
10188 * stdlib/Makefile: Likewise.
10189 * iconvdata/Makefile: Likewise.
10190 * sunrpc/Makefile: Likewise.
10191 * io/Makefile: Likewise.
10192 * argp/Makefile: Likewise.
10193 * inet/Makefile: Likewise.
10194 * hesiod/Makefile: Likewise.
10195 * grp/Makefile: Likewise.
10196 * csu/Makefile: Likewise.
10197 * wctype/Makefile: Likewise.
10198 * crypt/Makefile: Likewise.
10199 * libio/Makefile: Likewise.
10200 * string/Makefile: Likewise.
10201 * nis/Makefile: Likewise.
10202 * resolv/Makefile: Likewise.
10203 * stdio-common/Makefile: Likewise.
10204 * wcsmbs/Makefile: Likewise.
10205 * dlfcn/Makefile: Likewise.
10206 * posix/Makefile: Likewise.
10207
3b7c4e74 10208 [BZ #6959]
482ff4da
UD
10209 * timezone/Makefile: Don't install timezone files, just the programs
10210 and scripts.
10211
f72ed77d
UD
102122012-03-06 Ulrich Drepper <drepper@gmail.com>
10213
a000466f
UD
10214 * nss/databases.def: Add missing gshadow entry.
10215
f72ed77d
UD
10216 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10217
a53b7a4e
MP
102182012-03-06 Marek Polacek <polacek@redhat.com>
10219
10220 [BZ #13726]
10221 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10222 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10223 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10224 * stdio-common/tst-long-dbl-fphex.c: New file.
10225
e9258400
DM
102262012-03-06 David S. Miller <davem@davemloft.net>
10227
10228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10229 (set_obp_int): New function.
10230 (get_obp_int): New function.
10231 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10232 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10233 Avoid unused variable warnings on 'val' and use builtin_expect.
10234 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10235 __builtin_expect.
e9258400
DM
10236 (INLINE_CLONE_SYSCALL): Likewise.
10237
3bd2c723
DM
102382012-03-05 David S. Miller <davem@davemloft.net>
10239
10240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10241
bbb78d03
AS
102422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10243
884c5db4
AS
10244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10245
bbb78d03
AS
10246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10247 only for |x| >= 40.
10248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10249
1c9f702a 102502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10251
10252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10253 Replace gettimeofday with __vdso_gettimeofday.
10254
7be16f82
RM
10255 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10256 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10257 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10258
10259 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10260 time with __vdso_time.
10261
ed58a00f
JM
102622012-03-05 Joseph Myers <joseph@codesourcery.com>
10263
10264 * manual/lang.texi (size_t): Note types to which size_t may be
10265 equivalent with the GNU C Library, but do not describe when
10266 differences between them are significant.
10267
30ee4ced
AJ
102682012-03-05 Andreas Jaeger <aj@suse.de>
10269
10270 * sysdeps/i386/fpu/libm-test-ulps: Update.
10271
b7cd39e8
JM
102722012-03-05 Joseph Myers <joseph@codesourcery.com>
10273
10274 [BZ #3976]
10275 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10276 (__ieee754_pow): Save and restore rounding mode and use
10277 round-to-nearest for main computations.
10278 * math/libm-test.inc (pow_test_tonearest): New function.
10279 (pow_test_towardzero): Likewise.
10280 (pow_test_downward): Likewise.
10281 (pow_test_upward): Likewise.
10282 (main): Call the new functions.
10283 * sysdeps/i386/fpu/libm-test-ulps: Update.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10285
10286 [BZ #3976]
10287 * math/libm-test.inc (cosh_test_tonearest): New function.
10288 (cosh_test_towardzero): Likewise.
10289 (cosh_test_downward): Likewise.
10290 (cosh_test_upward): Likewise.
10291 (sinh_test_tonearest): Likewise.
10292 (sinh_test_towardzero): Likewise.
10293 (sinh_test_downward): Likewise.
10294 (sinh_test_upward): Likewise.
10295 (main): Call the new functions.
10296 * sysdeps/i386/fpu/libm-test-ulps: Update.
10297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298
6c6a98c9
TV
102992012-03-05 Tom de Vries <tom@codesourcery.com>
10300
10301 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10302 default stack guard is set in last bytes.
10303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10304
21bb2d2e 103052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10306
21bb2d2e 10307 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10308
21bb2d2e
AJ
10309 [BZ #13656]
10310 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10311 possibly allocate from heap instead of stack.
10312 * stdio-common/bug-vfprintf-nargs.c: New file.
10313 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10314
c6922934
AS
103152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10316
10317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10318
bc957d53
MP
103192012-03-03 Marek Polacek <polacek@redhat.com>
10320
10321 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10322 * math/math_private.h: Likewise.
10323 * stdlib/tst-strtod.c: Likewise.
10324 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10325 * sysdeps/x86_64/bits/atomic.h: Likewise.
10326
6358490d
DM
103272012-03-02 David S. Miller <davem@davemloft.net>
10328
10329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10333 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10334 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10335 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10336 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10337
01ae168d
RM
103382012-03-02 Roland McGrath <roland@hack.frob.com>
10339
d9a17c07
RM
10340 [BZ #13792]
10341 * manual/examples/README: New file, says the example source files
10342 can be used under GPL>=2.
10343 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10344 line containing just "*/".
10345 * manual/examples/add.c: Add copyright header (GPL>=2).
10346 * manual/examples/argp-ex1.c: Likewise.
10347 * manual/examples/argp-ex2.c: Likewise.
10348 * manual/examples/argp-ex3.c: Likewise.
10349 * manual/examples/argp-ex4.c: Likewise.
10350 * manual/examples/atexit.c: Likewise.
10351 * manual/examples/db.c: Likewise.
10352 * manual/examples/dir.c: Likewise.
10353 * manual/examples/dir2.c: Likewise.
10354 * manual/examples/execinfo.c: Likewise.
10355 * manual/examples/filecli.c: Likewise.
10356 * manual/examples/filesrv.c: Likewise.
10357 * manual/examples/fmtmsgexpl.c: Likewise.
10358 * manual/examples/genpass.c: Likewise.
10359 * manual/examples/inetcli.c: Likewise.
10360 * manual/examples/inetsrv.c: Likewise.
10361 * manual/examples/isockad.c: Likewise.
10362 * manual/examples/longopt.c: Likewise.
10363 * manual/examples/memopen.c: Likewise.
10364 * manual/examples/memstrm.c: Likewise.
10365 * manual/examples/mkfsock.c: Likewise.
10366 * manual/examples/mkisock.c: Likewise.
10367 * manual/examples/mygetpass.c: Likewise.
10368 * manual/examples/pipe.c: Likewise.
10369 * manual/examples/popen.c: Likewise.
10370 * manual/examples/rprintf.c: Likewise.
10371 * manual/examples/search.c: Likewise.
10372 * manual/examples/select.c: Likewise.
10373 * manual/examples/setjmp.c: Likewise.
10374 * manual/examples/sigh1.c: Likewise.
10375 * manual/examples/sigusr.c: Likewise.
10376 * manual/examples/stpcpy.c: Likewise.
10377 * manual/examples/strdupa.c: Likewise.
10378 * manual/examples/strftim.c: Likewise.
10379 * manual/examples/strncat.c: Likewise.
10380 * manual/examples/subopt.c: Likewise.
10381 * manual/examples/swapcontext.c: Likewise.
10382 * manual/examples/termios.c: Likewise.
10383 * manual/examples/testopt.c: Likewise.
10384 * manual/examples/testpass.c: Likewise.
10385 * manual/examples/timeval_subtract.c: Likewise.
10386
01ae168d
RM
10387 [BZ #13792]
10388 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10389 function to ...
10390 * manual/timeval_subtract.c.texi: ... here, new file.
10391
49efa33d
DM
103922012-03-02 David S. Miller <davem@davemloft.net>
10393
10394 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10395
28afd92d
JM
103962012-03-02 Joseph Myers <joseph@codesourcery.com>
10397
804360ed
JM
10398 [BZ #3976]
10399 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10400 (__sin): Save and restore rounding mode and use round-to-nearest
10401 for all computations.
10402 (__cos): Save and restore rounding mode and use round-to-nearest
10403 for all computations.
10404 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10405 <fenv.h>.
10406 (tan): Save and restore rounding mode and use round-to-nearest for
10407 all computations.
10408 * math/libm-test.inc (cos_test_tonearest): New function.
10409 (cos_test_towardzero): Likewise.
10410 (cos_test_downward): Likewise.
10411 (cos_test_upward): Likewise.
10412 (sin_test_tonearest): Likewise.
10413 (sin_test_towardzero): Likewise.
10414 (sin_test_downward): Likewise.
10415 (sin_test_upward): Likewise.
10416 (tan_test_tonearest): Likewise.
10417 (tan_test_towardzero): Likewise.
10418 (tan_test_downward): Likewise.
10419 (tan_test_upward): Likewise.
10420 (main): Call the new functions.
10421 * sysdeps/i386/fpu/libm-test-ulps: Update.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10423
a6d06d7b
JM
10424 [BZ #10135]
10425 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10426 small n, then large n, before computing and testing k+n.
10427 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10429 Likewise.
10430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10431 Likewise.
10432 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10433 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10439 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10440 * math/libm-test.inc (scalbn_test): Add more tests.
10441 (scalbln_test): Likewise.
10442
07e12bb3
JM
10443 * manual/filesys.texi (mode_t): Describe constraints on size and
10444 signedness, not exact equivalence to a particular type.
10445 (ino_t): Likewise.
10446 (ino64_t): Likewise.
10447 (dev_t): Likewise.
10448 (nlink_t): Likewise.
10449 (blkcnt_t): Likewise.
10450 (blkcnt64_t): Likewise.
10451 * manual/llio.texi (off_t): Likewise.
10452
28afd92d
JM
10453 [BZ #3976]
10454 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10455 (__ieee754_exp): Save and restore rounding mode and use
10456 round-to-nearest for all computations.
10457 * math/libm-test.inc (exp_test_tonearest): New function.
10458 (exp_test_towardzero): Likewise.
10459 (exp_test_downward): Likewise.
10460 (exp_test_upward): Likewise.
10461 (main): Call the new functions.
10462 * sysdeps/i386/fpu/libm-test-ulps: Update.
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464
b1eeb65d
CD
104652012-03-01 Chris Demetriou <cgd@google.com>
10466
10467 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10468 have predictable order.
10469
53362a4b
DM
104702012-03-01 David S. Miller <davem@davemloft.net>
10471
3c969083
DM
10472 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10473
759707de
DM
10474 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10475 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10476 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10477 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10478
dfdb8ff2
DM
10479 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10480 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10481 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10483 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10484 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10485 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10486 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10487 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10488
ead89f96
DM
10489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10490
7f66bd07
DM
10491 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10492 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10494
53362a4b
DM
10495 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10496 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10497 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10498 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10499 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10502 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10503 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10504 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10505 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10511 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10512 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10513 * sysdeps/sparc/elf/configure: Regenerated.
10514
7b1902cb
JM
105152012-03-01 Joseph Myers <joseph@codesourcery.com>
10516
bec039bc
JM
10517 * configure.in (AS, LD): Require binutils 2.20 or later.
10518 * configure: Regenerated.
10519 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10520 as required minimum version.
10521 * INSTALL: Regenerated.
10522
7b1902cb
JM
10523 [BZ #2541]
10524 [BZ #4108]
10525 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10526 before squaring exponent.
10527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10528 bottom long double and 27 bits of top long double before squaring
10529 exponent.
10530 * math/libm-test.inc (erfc_test): Add more tests.
10531 * sysdeps/i386/fpu/libm-test-ulps: Update.
10532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534
f775c276
KT
105352012-03-01 Kai Tietz <ktietz@redhat.com>
10536
10537 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10538 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10539 containing bit-fields.
10540 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10541 * soft-fp/single.h (_FP_UNION_S): Likewise.
10542 * soft-fp/double.h (_FP_UNION_D): Likewise.
10543
5b8a4d4a
JM
105442012-02-29 Joseph Myers <joseph@codesourcery.com>
10545
0bab47b6
JM
10546 [BZ #13786]
10547 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10548 not include ../strcmp.S.
10549 [USE_AS_STRNCASECMP_L]: Likewise.
10550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10551 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10552 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10553 (__strncasecmp_l_ia32): Define as alias to
10554 __strncasecmp_l_nonascii.
10555
0fcad3e2
JM
10556 [BZ #5794]
10557 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10558 * sysdeps/i386/fpu/libm-test-ulps: Update.
10559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560
5b8a4d4a
JM
10561 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563
8fdceb2e
JL
105642012-02-29 Jeff Law <law@redhat.com>
10565
10566 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10567 out of bounds read.
10568
1f393a11
MP
105692012-02-29 Marek Polacek <polacek@redhat.com>
10570
10571 [BZ #13706]
10572 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10573 * elf/Makefile: Add rules to run tst-unused-dep.out.
10574
8847f037
DM
105752012-02-28 David S. Miller <davem@davemloft.net>
10576
10577 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10578 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10581 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10582 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10583
169d7f11
JM
105842012-02-29 Joseph Myers <joseph@codesourcery.com>
10585
10586 * math/libm-test.inc (llround_test): Move one test from
10587 lround_test. Use TEST_f_L in moved test.
10588 (lround_test): Move misplaced test to llround_test. Add testcase
10589 from bug 2561.
10590
39adf059
UD
105912012-02-28 Ulrich Drepper <drepper@gmail.com>
10592
10593 * sysdeps/x86_64/fpu/e_expf.S: New file.
10594 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10595
71b5d1c5
SB
105962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10597
10598 [BZ #13637]
10599 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10600 of remain_len that may cause incomplete multi-byte character and
10601 false match.
10602 * posix/bug-regex33.c: New file.
10603 * posix/Makefile (tests): Add bug-regex33.
10604
1f77f049
JM
106052012-02-28 Joseph Myers <joseph@codesourcery.com>
10606
10607 * manual/macros.texi: New file.
10608 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10609 * manual/libc.texinfo: Include macros.texi.
10610 * manual/creatute.texi: Likewise.
10611 * manual/install.texi: Likewise.
10612 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10613 @glibcadj{} in references to the GNU C Library.
10614 * manual/charset.texi: Likewise.
10615 * manual/conf.texi: Likewise.
10616 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10617 when not using those macros.
10618 * manual/creature.texi: Likewise.
10619 * manual/crypt.texi: Likewise.
10620 * manual/errno.texi: Likewise.
10621 * manual/filesys.texi: Likewise.
10622 * manual/header.texi: Likewise.
10623 * manual/install.texi: Likewise.
10624 * manual/intro.texi: Likewise.
10625 * manual/io.texi: Likewise.
10626 * manual/job.texi: Likewise.
10627 * manual/lang.texi: Likewise.
10628 * manual/libc.texiinfo: Likewise.
10629 * manual/llio.texi: Likewise.
10630 * manual/locale.texi: Likewise.
10631 * manual/maint.texi: Likewise.
10632 * manual/math.texi: Likewise.
10633 * manual/memory.texi: Likewise.
10634 * manual/message.texi: Likewise.
10635 * manual/nss.texi: Likewise.
10636 * manual/pattern.texi: Likewise.
10637 * manual/process.texi: Likewise.
10638 * manual/resource.texi: Likewise.
10639 * manual/search.texi: Likewise.
10640 * manual/setjmp.texi: Likewise.
10641 * manual/signal.texi: Likewise.
10642 * manual/socket.texi: Likewise.
10643 * manual/startup.texi: Likewise.
10644 * manual/stdio.texi: Likewise.
10645 * manual/string.texi: Likewise.
10646 * manual/sysinfo.texi: Likewise.
10647 * manual/syslog.texi: Likewise.
10648 * manual/terminal.texi: Likewise.
10649 * manual/time.texi: Likewise.
10650 * manual/users.texi: Likewise.
10651 * INSTALL: Regenerated.
10652 * NOTES: Regenerated.
d40c5d54 10653 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10654
450bf206
AS
106552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10656
10657 * include/dirent.h: Include <dirstream.h> before
10658 <dirent/dirent.h>.
10659
741a235b
DM
106602012-02-28 David S. Miller <davem@davemloft.net>
10661
10662 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10663 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10666
d6b5aa58
DM
106672012-02-27 David S. Miller <davem@davemloft.net>
10668
1aff59a3
DM
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10671 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10673
d6b5aa58
DM
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10675 frame pointer instead of stack pointer relative arg slot.
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10677 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10678 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10679
433f48bf
CD
106802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10681
10682 [BZ #3992]
10683 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10684
d674b76d
DM
106852012-02-27 David S. Miller <davem@davemloft.net>
10686
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10691 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10692 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10693 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10694 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10695
0e7727f7
JM
106962012-02-27 Joseph Myers <joseph@codesourcery.com>
10697
10698 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10699 later. Allow versions 5-9.
43be4ca2 10700 * configure: Regenerated.
0e7727f7
JM
10701 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10702 required minimum version and 4.6 as recommended version. Do not
10703 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10704 * INSTALL: Regenerated.
0e7727f7 10705
a78bc654
DM
107062012-02-27 David S. Miller <davem@davemloft.net>
10707
428d5830
DM
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10714 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10715 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10716
a78bc654
DM
10717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10718 manipulate bits before adding and subtracting TWO112[sx].
10719 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10720
4579f81c
RM
107212012-02-27 Roland McGrath <roland@hack.frob.com>
10722
36c8acb4
RM
10723 [BZ #13775]
10724 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10725 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10726 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10727 being in POSIX, because they are in 1003.1-2008.
10728
84ad622b
RM
10729 * rt/tst-aio.c: Include <fcntl.h>.
10730 * rt/tst-aio7.c: Likewise.
10731 * rt/tst-aio64.c: Likewise.
10732
4579f81c
RM
10733 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10734
abd923db
JM
107352012-02-27 Joseph Myers <joseph@codesourcery.com>
10736
10737 * manual/install.texi (--with-headers): Describe headers as
10738 interface headers, not private headers.
10739 (Specific advice for GNU/Linux systems): Describe use of headers
10740 from "make headers_install", not private headers from older
10741 kernels.
43be4ca2 10742 * INSTALL: Regenerated.
abd923db
JM
10743 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10744 Change to 2.6.19.
10745 * sysdeps/unix/sysv/linux/configure: Regenerated.
10746
6664049b
JM
10747 * manual/llio.texi (fclean): Remove documentation.
10748
bb8b6697
JM
10749 * manual/Makefile (libc-texi-generated): New variable. Include
10750 version.texi.
10751 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10752 $(libc-texi-generated), not duplicated list of files.
10753 (version.texi, stamp-version): New rules.
10754 (realclean): Remove $(libc-texi-generated), not individual files
10755 from that list. Do not remove dir-add.texinfo.
10756 * manual/libc.texinfo: Comment out uses of edition numbers and
10757 references to printed manual. Remove last-updated dates.
10758 (EDITION): Comment out.
10759 (ISBN): Likewise.
10760 (VERSION, UPDATED): Remove.
10761 (version.texi): Include.
10762
12e5c3b9
AS
107632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10764
10765 * sysdeps/posix/spawni.c: Include <signal.h>.
10766 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10767 * sysdeps/pthread/aio_fsync.c: Likewise.
10768
4efeffc1 107692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10770
ba63ba08
UD
10771 * conform/Makefile (tests): Run only when not cross-compiling and
10772 when fast-check is not defined.
10773
d94a4670
UD
10774 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10775 * conform/data/limits.h-data: Fixes for POSIX2008.
10776 * conform/run-conformtest.sh: Run all tests.
10777 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10778 headers.
10779 * include/bits/dlfcn.h: Likewise.
10780 * include/langinfo.h: Likewise.
10781 * include/monetary.h: Likewise.
10782 * include/sys/poll.h: Likewise.
10783
10784 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10785 for __USE_GNU.
10786 * posix/spawn.h: Define __need_sigset_t.
10787 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10788 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10789 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10790 to get sigevent_t only.
10791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10792 only for __USE_GNU.
10793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10794 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10795 process_vm_writev only for __USE_GNU.
10796 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10797
10798 * conform/Makefile: For now ignore errors from run-conformtest.
10799 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10800 POSIX to avoid namespace pollution. Don't prepend headers.
10801 * conform/data/aio.h-data: Fixes for POSIX testing.
10802 * conform/data/fcntl.h-data: Likewise.
10803 * conform/data/glob.h-data: Likewise.
10804 * conform/data/grp.h-data: Likewise.
10805 * conform/data/pthread.h-data: Likewise.
10806 * conform/data/pwd.h-data: Likewise.
10807 * conform/data/signal.h-data: Likewise.
10808 * conform/data/spawn.h-data: Likewise.
10809 * conform/data/stdio.h-data: Likewise.
10810 * conform/data/stdlib.h-data: Likewise.
10811 * conform/data/stropts.h-data: Likewise.
10812 * conform/data/sys/mman.h-data: Likewise.
10813 * conform/data/sys/stat.h-data: Likewise.
10814 * conform/data/sys/types.h-data: Likewise.
10815 * conform/data/sys/wait.h-data: Likewise.
10816 * conform/data/time.h-data: Likewise.
10817 * conform/data/unistd.h-data: Likewise.
10818 * conform/data/utime.h-data: Likewise.
10819
10820 * io/sys/stat.h: fchmod was always in POSIX.
10821 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10822 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10823 * rt/aio.h: Define __need_timespec before including <time.h>.
10824 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10825 struct. Add forward declaration of pthread_attr_t and use it in
10826 sigevent.
10827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10829 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10830 always remove CLK_TCK definition.
10831
c20105c3
AS
108322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10833
10834 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10835
7a270350
UD
108362012-02-25 Ulrich Drepper <drepper@gmail.com>
10837
31341567
UD
10838 * conform/run-conformtest.sh: New file.
10839 * conform/Makefile: Run run-conformtest for tests.
10840 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10841 support.
10842
10843 * conform/data/uchar.h-data: New file.
10844 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10845 * conform/data/arpa/inet.h-data: Likewise.
10846 * conform/data/assert.h-data: Likewise.
10847 * conform/data/complex.h-data: Likewise.
10848 * conform/data/cpio.h-data: Likewise.
10849 * conform/data/ctype.h-data: Likewise.
10850 * conform/data/dirent.h-data: Likewise.
10851 * conform/data/dlfcn.h-data: Likewise.
10852 * conform/data/errno.h-data: Likewise.
10853 * conform/data/fcntl.h-data: Likewise.
10854 * conform/data/float.h-data: Likewise.
10855 * conform/data/fmtmsg.h-data: Likewise.
10856 * conform/data/fnmatch.h-data: Likewise.
10857 * conform/data/ftw.h-data: Likewise.
10858 * conform/data/glob.h-data: Likewise.
10859 * conform/data/grp.h-data: Likewise.
10860 * conform/data/iconv.h-data: Likewise.
10861 * conform/data/inttypes.h-data: Likewise.
10862 * conform/data/langinfo.h-data: Likewise.
10863 * conform/data/libgen.h-data: Likewise.
10864 * conform/data/limits.h-data: Likewise.
10865 * conform/data/locale.h-data: Likewise.
10866 * conform/data/math.h-data: Likewise.
10867 * conform/data/monetary.h-data: Likewise.
10868 * conform/data/mqueue.h-data: Likewise.
10869 * conform/data/ndbm.h-data: Likewise.
10870 * conform/data/net/if.h-data: Likewise.
10871 * conform/data/netdb.h-data: Likewise.
10872 * conform/data/netinet/in.h-data: Likewise.
10873 * conform/data/nl_types.h-data: Likewise.
10874 * conform/data/poll.h-data: Likewise.
10875 * conform/data/pthread.h-data: Likewise.
10876 * conform/data/pwd.h-data: Likewise.
10877 * conform/data/regex.h-data: Likewise.
10878 * conform/data/sched.h-data: Likewise.
10879 * conform/data/search.h-data: Likewise.
10880 * conform/data/semaphore.h-data: Likewise.
10881 * conform/data/setjmp.h-data: Likewise.
10882 * conform/data/signal.h-data: Likewise.
10883 * conform/data/spawn.h-data: Likewise.
10884 * conform/data/stdarg.h-data: Likewise.
10885 * conform/data/stdio.h-data: Likewise.
10886 * conform/data/stdlib.h-data: Likewise.
10887 * conform/data/string.h-data: Likewise.
10888 * conform/data/strings.h-data: Likewise.
10889 * conform/data/stropts.h-data: Likewise.
10890 * conform/data/sys/ipc.h-data: Likewise.
10891 * conform/data/sys/mman.h-data: Likewise.
10892 * conform/data/sys/msg.h-data: Likewise.
10893 * conform/data/sys/resource.h-data: Likewise.
10894 * conform/data/sys/select.h-data: Likewise.
10895 * conform/data/sys/sem.h-data: Likewise.
10896 * conform/data/sys/shm.h-data: Likewise.
10897 * conform/data/sys/socket.h-data: Likewise.
10898 * conform/data/sys/stat.h-data: Likewise.
10899 * conform/data/sys/statvfs.h-data: Likewise.
10900 * conform/data/sys/time.h-data: Likewise.
10901 * conform/data/sys/timeb.h-data: Likewise.
10902 * conform/data/sys/times.h-data: Likewise.
10903 * conform/data/sys/types.h-data: Likewise.
10904 * conform/data/sys/uio.h-data: Likewise.
10905 * conform/data/sys/un.h-data: Likewise.
10906 * conform/data/sys/utsname.h-data: Likewise.
10907 * conform/data/sys/wait.h-data: Likewise.
10908 * conform/data/syslog.h-data: Likewise.
10909 * conform/data/tar.h-data: Likewise.
10910 * conform/data/termios.h-data: Likewise.
10911 * conform/data/utime.h-data: Likewise.
10912 * conform/data/utmpx.h-data: Likewise.
10913 * conform/data/varargs.h-data: Likewise.
10914 * conform/data/wchar.h-data: Likewise.
10915 * conform/data/wctype.h-data: Likewise.
10916 * conform/data/wordexp.h-data: Likewise.
10917
10918 * include/stropts.h: New file.
10919 * include/uchar.h: New file.
10920 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10921 * include/assert.h: Likewise.
10922 * include/ctype.h: Likewise.
10923 * include/dirent.h: Likewise.
10924 * include/dlfcn.h: Likewise.
10925 * include/fcntl.h: Likewise.
10926 * include/fnmatch.h: Likewise.
10927 * include/glob.h: Likewise.
10928 * include/grp.h: Likewise.
10929 * include/libio.h: Likewise.
10930 * include/locale.h: Likewise.
10931 * include/math.h: Likewise.
10932 * include/net/if.h: Likewise.
10933 * include/netdb.h: Likewise.
10934 * include/netinet/in.h: Likewise.
10935 * include/pthread.h: Likewise.
10936 * include/pwd.h: Likewise.
10937 * include/regex.h: Likewise.
10938 * include/sched.h: Likewise.
10939 * include/search.h: Likewise.
10940 * include/setjmp.h: Likewise.
10941 * include/signal.h: Likewise.
10942 * include/stdio.h: Likewise.
10943 * include/stdlib.h: Likewise.
10944 * include/string.h: Likewise.
10945 * include/sys/cdefs.h: Likewise.
10946 * include/sys/mman.h: Likewise.
10947 * include/sys/msg.h: Likewise.
10948 * include/sys/resource.h: Likewise.
10949 * include/sys/select.h: Likewise.
10950 * include/sys/socket.h: Likewise.
10951 * include/sys/stat.h: Likewise.
10952 * include/sys/statvfs.h: Likewise.
10953 * include/sys/time.h: Likewise.
10954 * include/sys/times.h: Likewise.
10955 * include/sys/uio.h: Likewise.
10956 * include/sys/utsname.h: Likewise.
10957 * include/sys/wait.h: Likewise.
10958 * include/termios.h: Likewise.
10959 * include/time.h: Likewise.
10960 * include/ulimit.h: Likewise.
10961 * include/unistd.h: Likewise.
10962 * include/utime.h: Likewise.
10963 * include/wchar.h: Likewise.
10964 * include/wctype.h: Likewise.
10965 * include/wordexp.h: Likewise.
10966
10967 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10968
7a270350
UD
10969 * time/time.h: TIME_UTC must be a macro.
10970 Make timespec_get available for ISO C11 only as well.
10971
7724defc
UD
109722012-02-24 Ulrich Drepper <drepper@gmail.com>
10973
10974 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10975 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10976
6b1d1d46
JM
109772012-02-24 Joseph Myers <joseph@codesourcery.com>
10978
10979 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10980
0f8bbd69
JM
109812012-02-24 Joseph Myers <joseph@codesourcery.com>
10982
10983 * manual/texinfo.tex: Update to version 2012-01-19.16.
10984
66ab80bc
JM
109852012-02-24 Joseph Myers <joseph@codesourcery.com>
10986
10987 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10988
74981cc5
RM
109892012-02-24 Roland McGrath <roland@hack.frob.com>
10990
ee968201
RM
10991 [BZ #13738]
10992 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10993 * manual/fdl-1.3.texi: New file.
10994 * manual/fdl-1.1.texi: File removed.
10995
74981cc5
RM
10996 [BZ #13738]
10997 * manual/libc.texinfo (FDL_VERSION): New @set.
10998 Use it for mention of FDL in cover text.
10999 (Documentation License): Use it in @include file name.
11000
7bb764bc
JM
110012012-02-22 Joseph Myers <joseph@codesourcery.com>
11002 Roland McGrath <roland@hack.frob.com>
11003
11004 [BZ #5461]
11005 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11006 not LONG_LONG_MAX and LONG_LONG_MIN.
11007 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11008 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11009 name.
11010 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11011
6cbeae47
JM
110122012-02-22 Joseph Myers <joseph@codesourcery.com>
11013
11014 [BZ #2547]
11015 [BZ #11365]
11016 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11017 manipulate bits before adding and subtracting TWO23[sx].
11018 * math/libm-test.inc (nearbyint_test): Add more tests.
11019
fe45ce09
JM
110202012-02-22 Joseph Myers <joseph@codesourcery.com>
11021
11022 [BZ #2548]
11023 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11024 bits before adding and subtracting TWO23[sx].
11025 * math/libm-test.inc (rint_test): Add more tests.
11026 (rint_test_tonearest): Likewise.
11027 (rint_test_towardzero): Likewise.
11028 (rint_test_downward): Likewise.
11029 (rint_test_upward: Likewise.
11030
ff3b3d82
JM
110312012-02-22 Joseph Myers <joseph@codesourcery.com>
11032
11033 [BZ #10110]
11034 * include/stdc-predef.h: New file. Extracted from features.h.
11035 * include/features.h: Include stdc-predef.h.
11036 * Makefile (headers): Add stdc-predef.h.
11037 * CONFORMANCE (Compiler limitations): Update.
11038
ef0aab35
JM
110392012-02-22 Joseph Myers <joseph@codesourcery.com>
11040
11041 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11042
58639409
DM
110432012-02-21 David S. Miller <davem@davemloft.net>
11044
11045 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11046 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11047
c0e70b25
DM
110482012-02-20 David S. Miller <davem@davemloft.net>
11049
11050 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11051 using a normal save/restore sequence, rather than allocating a
11052 dummy stack frame just to store a frame pointer and restore.
11053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11054
fb06851d
JM
110552012-02-21 Joseph Myers <joseph@codesourcery.com>
11056
11057 * manual/install.texi: Fix stray word in line-wrapped comment.
11058
7a8b71c3
DM
110592012-02-20 David S. Miller <davem@davemloft.net>
11060
d510c123
DM
11061 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11062 both binutils and gcc support GOTDATA.
11063
0722d7c2
DM
11064 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11065 "rd %pc" in the PIC register setup sequences.
11066
3d2b3019
DM
11067 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11068 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11069 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11070 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11071 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11074 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11076 (SYSCALL_ERROR_HANDLER): Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11080 (SYSCALL_ERROR_HANDLER): Likewise.
11081
c80098a9
DM
11082 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11083 (HAVE_GCC_GOTDATA): New.
11084 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11085 relocation support in both binutils and gcc.
11086 * sysdeps/sparc/elf/configure: Regenerate.
11087
3a2545a0
DM
11088 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11089 * sysdeps/sparc/sparc32/elf/configure: Delete.
11090 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11091 * sysdeps/sparc/sparc64/elf/configure: Delete.
11092 * sysdeps/sparc/elf/configure.in: New file.
11093 * sysdeps/sparc/elf/configure: Generate.
11094
7a8b71c3
DM
11095 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11096 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11097 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11098 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11099 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11100
f1e86fca
JM
111012012-02-21 Joseph Myers <joseph@codesourcery.com>
11102
11103 * manual/install.texi: Do not mention specific glibc version
11104 numbers.
11105 * manual/libc.texinfo (VERSION, UPDATED): Update.
11106 (@copying): Use @copyright{} and range of years.
11107
0e7dfaef
JM
111082012-02-21 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #13695]
11111 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11112 [crti.S not in sysdirs] (generated): Do not append.
11113 [crti.S not in sysdirs] (omit-deps): Likewise.
11114 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11115 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11116 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11117 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11118 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11119 Likewise.
11120 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11121 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11122 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11123 * csu/defs.awk: Remove file.
11124 * sysdeps/generic/initfini.c: Likewise.
11125 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11126 variable.
11127 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11128 Likewise.
11129
599af3ca
JM
111302012-02-20 Joseph Myers <joseph@codesourcery.com>
11131
11132 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11133 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11134 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11135 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11136 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11137 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11138 <bits/epoll.h>.
11139 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11140 (__EPOLL_PACKED): Define to empty if not defined by
11141 <bits/epoll.h>.
11142 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11144 bits/epoll.h.
11145
0e499750
JM
111462012-02-20 Joseph Myers <joseph@codesourcery.com>
11147
11148 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11149 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11150 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11151 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11152 <bits/timerfd.h>.
11153 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11155 bits/timerfd.h.
11156
5ad91f6e
JM
111572012-02-20 Joseph Myers <joseph@codesourcery.com>
11158
11159 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11160 in C locale.
11161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
06b99b02
AJ
111662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11167
11168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11170
7638c0fd
AS
111712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11172
11173 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11174 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11175 defined.
11176 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11177 Likewise.
11178 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11179 entry for 2.16.
11180
92221550
AJ
111812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11182
11183 * math/w_acos.c: Use non-signaling floating-point comparisons.
11184 * math/w_acosf.c: Likewise.
11185 * math/w_acosh.c: Likewise.
11186 * math/w_acoshf.c: Likewise.
11187 * math/w_acoshl.c: Likewise.
11188 * math/w_acosl.c: Likewise.
11189 * math/w_asin.c: Likewise.
11190 * math/w_asinf.c: Likewise.
11191 * math/w_asinl.c: Likewise.
11192 * math/w_atanh.c: Likewise.
11193 * math/w_atanhf.c: Likewise.
11194 * math/w_atanhl.c: Likewise.
11195 * math/w_exp2.c: Likewise.
11196 * math/w_exp2f.c: Likewise.
11197 * math/w_exp2l.c: Likewise.
11198 * math/w_j0.c: Likewise.
11199 * math/w_j0f.c: Likewise.
11200 * math/w_j0l.c: Likewise.
11201 * math/w_j1.c: Likewise.
11202 * math/w_j1f.c: Likewise.
11203 * math/w_j1l.c: Likewise.
11204 * math/w_jn.c: Likewise.
11205 * math/w_jnf.c: Likewise.
11206 * math/w_log.c: Likewise.
11207 * math/w_log10.c: Likewise.
11208 * math/w_log10f.c: Likewise.
11209 * math/w_log10l.c: Likewise.
11210 * math/w_log2.c: Likewise.
11211 * math/w_log2f.c: Likewise.
11212 * math/w_log2l.c: Likewise.
11213 * math/w_logf.c: Likewise.
11214 * math/w_logl.c: Likewise.
11215 * math/w_sqrt.c: Likewise.
11216 * math/w_sqrtf.c: Likewise.
11217 * math/w_sqrtl.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11223
ebaf36eb
JM
112242012-02-19 Joseph Myers <joseph@codesourcery.com>
11225
11226 [BZ #9739]
11227 * manual/string.texi (strnlen): Use correct parameter name in
11228 equivalent expression.
11229
71c254a6
JM
112302012-02-19 Joseph Myers <joseph@codesourcery.com>
11231
11232 [BZ #11174]
11233 * manual/users.texi (seteuid): Consistently use neweuid for
11234 argument name.
11235
16d2c631
JM
112362012-02-19 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #13704]
11239 * manual/nss.texi (Services in the NSS configuration): Correct
11240 list of services in example configuration file.
11241
cd837b09
NB
112422012-02-19 Nick Bowler <nbowler@draconx.ca>
11243
11244 [BZ #11322]
11245 * manual/arith.texi: Remove statements about negative zero
11246 behaving identically to zero.
11247
02c4bbad
JM
112482012-02-18 Joseph Myers <joseph@codesourcery.com>
11249
11250 [BZ #5993]
11251 * manual/install.texi: Do not document upgrading from libc5.
11252
366842e7
JM
112532012-02-18 Joseph Myers <joseph@codesourcery.com>
11254
11255 [BZ #4596]
11256 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11257
dd54084d
DM
112582012-02-18 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11261 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11262 %o7 across the call.
11263 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11264 instead.
11265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11266 SETUP_PIC_REG_LEAF.
11267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11268 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11269 * sysdeps/sparc/crtn.S: Likewise.
11270
2bcc53a3
UD
112712012-02-17 Ulrich Drepper <drepper@gmail.com>
11272
11273 * aout/Makefile: Remove.
11274
09c093b5
RK
112752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11276
11277 [BZ #13058]
11278 * manual/examples/argp-ex1.c (main): Format definition in GNU
11279 style.
11280 * manual/examples/argp-ex2.c (main): Likewise.
11281 * manual/examples/argp-ex3.c (main): Likewise.
11282 * manual/examples/argp-ex4.c (main): Likewise.
11283 * manual/examples/longopt.c (main): Use new-style prototype
11284 definition.
11285 * manual/examples/strncat.c (main): Specify return type and use
11286 (void) for arguments.
11287 * manual/examples/subopt.c (main): Use char **argv argument.
11288
2ee633a2
JM
112892012-02-17 Joseph Myers <joseph@codesourcery.com>
11290
11291 [BZ #5077]
11292 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11293 rounding modes.
11294
0520adde
FB
112952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11296
11297 [BZ #6907]
11298 * manual/string.texi (strchr): Change when strchrnul is
11299 recommended.
11300
3f4081cd
DGM
113012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11302
11303 [BZ #174]
11304 * manual/locale.texi (setlocale): Document LOCPATH.
11305
d1b10e78
JM
113062012-02-17 Joseph Myers <joseph@codesourcery.com>
11307
11308 [BZ #10210]
11309 * manual/process.texi (execle): Move @dots{} before last argument.
11310
79c6869c
PB
113112012-02-17 Paul Bolle <pebolle@tiscali.nl>
11312
11313 [BZ #12047]
11314 * manual/charset.texi (Generic Charset Conversion): Fix typo
11315 (LC_TYPE -> LC_CTYPE).
11316
cc6e48bc
NB
113172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11318
11319 [BZ #5805]
11320 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11321 (scalbnf): Likewise.
11322 (scalbnl): Likewise.
11323 (scalbln): Likewise.
11324 (scalblnf): Likewise.
11325 (scalblnl): Likewise.
11326 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11327 (vwarnx): Likewise.
11328 (verr): Likewise.
11329 (verrx): Likewise.
11330 * manual/filesys.texi (telldir): Use braces around return type.
11331 * manual/llio.texi (mmap): Add space after comma.
11332 (mmap64): Likewise.
11333 * manual/math.texi (jn): Use @var{} on parameter names.
11334 (jnf): Likewise.
11335 (jnl): Likewise.
11336 (yn): Likewise.
11337 (ynf): Likewise.
11338 (ynl): Likewise.
11339 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11340 line.
11341 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11342 "...".
11343 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11344 (sched_get_priority_max): Likewise.
11345 * manual/signal.texi (sigvec): Add space after comma.
11346 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11347 names.
11348 (if_indextoname): Likewise.
11349 (if_freenameindex): Likewise.
11350 (sendto): Use ',' instead of '.' in prototype.
11351 * manual/startup.texi (syscall): Use @dots{} instead of literal
11352 "...".
11353 * manual/stdio.texi (__fpending): Separate initial words of
11354 paragraph from @deftypefun line.
11355 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11356 "...".
11357 (vsyslog): Use @var{} on parameter names.
11358 * manual/terminal.texi (stty): Use @var{} on parameter names.
11359 * manual/users.texi (getutmp): Use @var{} on parameter names.
11360 (getutmpx): Likewise.
11361
5b23062f
JM
113622012-02-17 Joseph Myers <joseph@codesourcery.com>
11363
11364 [BZ #6884]
11365 * manual/stdio.texi (fopen): Fix typos in description of
11366 ",ccs=STRING".
11367
8dee4833
AJ
113682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11369
11370 [BZ #4026]
11371 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11372 get clock_id definition.
11373
9078ce93
TS
113742012-02-17 Thomas Schwinge <thomas@schwinge.name>
11375
11376 [BZ #4822]
11377 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11378 (madvise): Cast every argument to void on its own.
11379
3835c55f
JM
113802012-02-17 Joseph Myers <joseph@codesourcery.com>
11381
11382 [BZ #9902]
11383 * manual/startup.texi (Exit Status): Fix typo.
11384
35c47e37
JM
113852012-02-17 Joseph Myers <joseph@codesourcery.com>
11386
11387 [BZ #10140]
11388 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11389 * manual/examples/argp-ex2.c: Likewise.
11390 * manual/examples/argp-ex3.c: Likewise.
11391
e3b69ca7
RH
113922012-02-16 Richard Henderson <rth@redhat.com>
11393
11394 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11395 * sysdeps/s390/s390-32/initfini.c: Remove.
11396 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11397 * sysdeps/s390/s390-64/initfini.c: Remove.
11398
df83af67
KK
113992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11400
11401 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11402 compiler output for sysdeps/generic/initfini.c.
11403 * sysdeps/sh/elf/initfini.c: Remove file.
11404
f63f3380
DM
114052012-02-16 David S. Miller <davem@davemloft.net>
11406
fb59b3a4
DM
11407 [BZ #11494]
11408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11409
f63f3380
DM
11410 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11411 * sysdeps/sparc/crti.S: New file.
11412 * sysdeps/sparc/crtn.S: New file.
11413 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11414 * sysdeps/sparc/sparc64/Makefile: Likewise.
11415
df6a4a4a
MF
114162012-02-15 Mike Frysinger <vapier@gentoo.org>
11417
6dd8f3dc 11418 [BZ #3335]
df6a4a4a
MF
11419 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11420
1cac7236
RM
114212012-02-15 Roland McGrath <roland@hack.frob.com>
11422
d2c736f8
RM
11423 [BZ #4822]
11424 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11425
1cac7236
RM
11426 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11427 (write, read, close): Likewise.
11428 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11429
8e475601
JM
114302012-02-15 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11433 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11435 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11436 <bits/signalfd.h>.
11437 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11439 bits/signalfd.h.
11440
ed656b40
MP
114412012-02-14 Marek Polacek <polacek@redhat.com>
11442
11443 * sysdeps/x86_64/crti.S: New file.
11444 * sysdeps/x86_64/crtn.S: New file.
11445 * sysdeps/x86_64/elf/initfini.c: Remove file.
11446
2a979d3a
JM
114472012-02-13 Joseph Myers <joseph@codesourcery.com>
11448
11449 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11450 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11451 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11452 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11453 <bits/inotify.h>.
11454 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11456 bits/inotify.h.
11457
2a418ac3
JM
114582012-02-13 Joseph Myers <joseph@codesourcery.com>
11459
11460 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11461 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11462 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11463 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11464 <bits/eventfd.h>.
11465 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11467 bits/eventfd.h.
11468
fb779be7
TS
114692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11470
e19e83c5
RM
11471 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11472 __feraiseexcept instead of feraiseexcept.
7c35ffed 11473
fb779be7
TS
11474 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11475 nanosleep invocations.
11476 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11477 strings, and add error checking for a nanosleep invocations.
11478
59ba27a6
PE
114792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11480
11481 Replace FSF snail mail address with URLs, as per GNU coding standards.
11482 Most of the snail mail addresses were wrong anyway, and omitting
11483 them makes the source code easier to maintain. Almost all of the
11484 changes are to license notices and to locale LC_IDENTIFICATION
11485 addresses, except for this one:
11486 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11487 not its snail mail address.
11488
57b957eb
RH
114892012-02-09 Richard Henderson <rth@twiddle.net>
11490
af850b1c
RH
11491 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11492 of kernel-features.h.
11493
57b957eb
RH
11494 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11495
6b73181a
MP
114962012-02-08 Marek Polacek <polacek@redhat.com>
11497
11498 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11499 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11500 * sysdeps/gnu/_G_config.h: Likewise.
11501 * sysdeps/generic/_G_config.h: Likewise.
11502
26ecc33a
AS
115032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11504
6c6dbc63
AS
11505 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11506 tests.
11507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11508
e216c012
AS
11509 * sysdeps/powerpc/powerpc32/crti.S: New file.
11510 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11511 * sysdeps/powerpc/powerpc64/crti.S: New file.
11512 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11513
26ecc33a
AS
11514 * Makeconfig (have-initfini): Don't set.
11515 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11516 * configure.in (nopic_initfini): Don't substitute.
11517 * config.h.in (HAVE_INITFINI): Don't #undef.
11518 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11519 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11520
3add8e13
JM
115212012-02-08 Joseph Myers <joseph@codesourcery.com>
11522
11523 Support crti.S and crtn.S provided directly by architectures.
11524 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11525 [crti.S in sysdirs] (omit-deps): Likewise.
11526 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11527 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11528 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11529 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11530 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11531 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11532 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11533 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11534 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11535 compiler output for sysdeps/generic/initfini.c.
11536 * sysdeps/i386/elf/Makefile: Remove file.
11537 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11538
a22f12b4
MP
115392012-02-07 Marek Polacek <polacek@redhat.com>
11540
11541 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11542 * sysdeps/gnu/_G_config.h: Likewise.
11543 * sysdeps/mach/hurd/_G_config.h: Likewise.
11544
148cf100
MP
115452012-02-07 Marek Polacek <polacek@redhat.com>
11546
11547 * math/Makefile (tests): Add tst-CMPLX2.
11548 * math/tst-CMPLX2.c: New file.
11549
cfdc0dd7
AS
115502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11551
84ba42c4
AS
11552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11553
cfdc0dd7
AS
11554 * math/libm-test.inc (jn_test): Add missing L suffix.
11555
622c86f4
MP
115562012-02-06 Marek Polacek <polacek@redhat.com>
11557
11558 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11559 * sysdeps/i386/fpu/e_powf.S: Likewise.
11560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11561 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11562 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11563 * sysdeps/i386/fpu/e_pow.S: Likewise.
11564 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11566 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11567 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11568 * sysdeps/i386/fpu/e_log2.S: Likewise.
11569 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11571 * sysdeps/i386/fpu/e_powl.S: Likewise.
11572 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11574 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11575 * sysdeps/i386/fpu/e_logl.S: Likewise.
11576 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11577 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11578 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11579 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11580 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11581 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11582 * sysdeps/i386/fpu/e_log.S: Likewise.
11583 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11584 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11585 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11586 * sysdeps/i386/fpu/e_logf.S: Likewise.
11587 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11589 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11590 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11591 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11592 * sysdeps/i386/fpu/e_log10.S: Likewise.
11593 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11595 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11596 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11598 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11599 * sysdeps/i386/asm-syntax.h: Likewise.
11600 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11601 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11602 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11603 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11604 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11605 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11606 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11607 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11608 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11609 * sysdeps/powerpc/sysdep.h: Likewise.
11610 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11611 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11612
d4a54ac6
JM
116132012-02-06 Joseph Myers <joseph@codesourcery.com>
11614
11615 [BZ #411]
11616 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11617
314054ea
JM
116182012-02-06 Joseph Myers <joseph@codesourcery.com>
11619
11620 * sysdeps/i386/sysdep.h: Include <features.h>.
11621 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11622 version.
11623
d8e0ca50
JM
116242012-02-05 Joseph Myers <joseph@codesourcery.com>
11625
11626 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11627 Define.
11628 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11629 LOAD_PIC_REG_STR.
11630
b1da7dd9
JM
116312012-02-03 Joseph Myers <joseph@codesourcery.com>
11632
11633 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11634 (SETUP_PIC_REG): Use GET_PC_THUNK.
11635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11636 macro.
11637
9a1d9254
JM
116382012-02-03 Joseph Myers <joseph@codesourcery.com>
11639
11640 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11641 for non-PIC compilation.
11642 (SETUP_PIC_REG): Add .p2align directive.
11643 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11644 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11645 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11646 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11647 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11657 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11658 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11659 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11660 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11661 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11662 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11665 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11669 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11670 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11671 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11675 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11676 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11677 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11678 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11679 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11680 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11681 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11682 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11683 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11684
65dc3b75
JM
116852012-02-03 Joseph Myers <joseph@codesourcery.com>
11686
11687 * math/tst-CMPLX.c: Include <stdio.h>.
11688
d55bf177
JM
116892012-01-31 Joseph Myers <joseph@codesourcery.com>
11690
11691 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11692 float.
11693 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11694 * sysdeps/sparc/bits/mathdef.h: Likewise.
11695
69db4f8f
MP
116962012-01-31 Marek Polacek <polacek@redhat.com>
11697
11698 * libio/libio.h: Don't define _PARAMS.
11699 * locale/programs/config.h: Don't define PARAMS.
11700 * stdlib/strtol_l.c: Likewise.
11701 (__strtol_l): Remove PARAMS from the prototype.
11702
41b81892
UD
117032012-01-31 Ulrich Drepper <drepper@gmail.com>
11704
3b49edc0
UD
11705 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11706 names. Just use the correct names. Remove unnecessary wrapper
11707 functions.
11708 * malloc/arena.c: Likewise.
11709 * malloc/hooks.c: Likewise.
11710
41b81892
UD
11711 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11712 ARENA_TEST says not to. Simplify test for creation of a new arena.
11713 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11714
27a25b6e
UD
117152012-01-30 Ulrich Drepper <drepper@gmail.com>
11716
11717 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11718 into tail calls.
11719 (update_get_addr): New function.
11720 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11721 GET_ADDR_MODULE parameter.
11722
c8a89e7d
JM
117232012-01-30 Joseph Myers <joseph@codesourcery.com>
11724
11725 * crypt/cert.c: Remove __STDC__ conditionals.
11726 * crypt/crypt-entry.c: Likewise.
11727 * crypt/crypt_util.c: Likewise.
11728 * libio/filedoalloc.c: Likewise.
11729 * libio/fileops.c: Likewise.
11730 * libio/genops.c: Likewise.
11731 * libio/iofclose.c: Likewise.
11732 * libio/iofdopen.c: Likewise.
11733 * libio/iofopen.c: Likewise.
11734 * libio/iofopen64.c: Likewise.
11735 * libio/iogetdelim.c: Likewise.
11736 * libio/iopopen.c: Likewise.
11737 * libio/obprintf.c: Likewise.
11738 * libio/oldfileops.c: Likewise.
11739 * libio/oldiofclose.c: Likewise.
11740 * libio/oldiofdopen.c: Likewise.
11741 * libio/oldiofopen.c: Likewise.
11742 * libio/oldiopopen.c: Likewise.
11743 * libio/wfiledoalloc.c: Likewise.
11744 * libio/wgenops.c: Likewise.
11745 * locale/programs/xmalloc.c: Likewise.
11746 * misc/syslog.c: Likewise.
11747 * stdio-common/xbug.c: Likewise.
11748 * string/memchr.c: Likewise.
11749 * string/memcmp.c: Likewise.
11750 * string/memrchr.c: Likewise.
11751 * string/rawmemchr.c: Likewise.
11752 * sysdeps/posix/getcwd.c: Likewise.
11753 * time/strftime_l.c: Likewise.
11754
3b100462
JM
117552012-01-30 Joseph Myers <joseph@codesourcery.com>
11756
11757 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11758 * config.make.in (config-cflags-sse2avx): Define.
11759 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11760 Fix typo.
11761
607998af
CM
117622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11763
11764 * scripts/config.guess: Update from upstream config git repository.
11765 * scripts/config.sub: Likewise.
11766
3601428f
CM
117672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11768
3ac8b282
CM
11769 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11770 (EM_NUM): Update.
11771 (R_TILEPRO_*, R_TILEGX_*): New macros.
11772
e034841e
CM
11773 * scripts/firstversions.awk: Fix bug in version range handling.
11774
540d7568
CM
11775 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11776
3601428f
CM
11777 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11778
463de862
CM
11779 * include/sys/epoll.h: New file.
11780 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11781 libc_hidden_def.
11782
73139a76
UD
117832012-01-28 Ulrich Drepper <drepper@gmail.com>
11784
96bc5b45
UD
11785 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11786 Avoid unnecessary __WORDSIZE == 64 test.
11787 (fmaxf): Use VEX format if possible.
11788 (fmax): Likewise.
11789 (fminf): Likewise.
11790 (fmin): Likewise.
11791
56f6f6a2
UD
11792 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11793 * math/math_private.h: Remove libc_fegetround* and
11794 libc_fesetround*.
11795 * sysdeps/i386/configure.in: Check for -msse2avx.
11796 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11797 also if SSE2AVX is defined.
11798 Remove libc_fegetround* and libc_fesetround*.
11799 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11800 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11801 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11802 of HAS_YMM_USABLE.
11803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11808
73139a76
UD
11809 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11810
d73f93a4
AZ
118112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11812
11813 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11814 size is not set.
11815 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11816
6ee65ed6
UD
118172012-01-27 Ulrich Drepper <drepper@gmail.com>
11818
11819 [BZ #13618]
11820 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11821 relocation.
11822 * Makeconfig (libm): Define.
11823 * elf/Makefile: Add rules to build and run tst-relsort1.
11824 * elf/tst-relsort1.c: New file.
11825 * elf/tst-relsort1mod1.c: New file.
11826 * elf/tst-relsort1mod2.c: New file.
11827
8db21882
JM
118282012-01-27 Joseph Myers <joseph@codesourcery.com>
11829
11830 * math/s_ldexp.c: Remove __STDC__ conditionals.
11831 * math/s_ldexpf.c: Likewise.
11832 * math/s_ldexpl.c: Likewise.
11833 * math/s_nextafter.c: Likewise.
11834 * math/s_nexttowardf.c: Likewise.
11835 * math/s_significand.c: Likewise.
11836 * math/s_significandf.c: Likewise.
11837 * math/s_significandl.c: Likewise.
11838 * math/w_jnl.c: Likewise.
11839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11845 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11858 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11859 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11860 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11861 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11863 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11864 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11865 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11867 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11869 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11870 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11871 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11873 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11874 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11875 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11876 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11877 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11878 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11879 * sysdeps/ieee754/k_standard.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11882 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11884 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11885 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11886 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11941 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11959 * sysdeps/ieee754/s_matherr.c: Likewise.
11960 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11961 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11964
965a54a4
JM
119652012-01-26 Joseph Myers <joseph@codesourcery.com>
11966
11967 * crypt/md5.h: Remove __STDC__ conditionals.
11968 * libio/libioP.h: Likewise.
11969 * locale/programs/config.h: Likewise.
11970 * sysdeps/generic/sysdep.h: Likewise.
11971 * sysdeps/i386/asm-syntax.h: Likewise.
11972 * sysdeps/s390/asm-syntax.h: Likewise.
11973 * sysdeps/unix/sysdep.h: Likewise.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11976
7071ad79
JM
119772012-01-26 Joseph Myers <joseph@codesourcery.com>
11978
11979 * libio/libio.h: Remove __STDC__ conditionals.
11980 * malloc/obstack.h: Likewise.
11981 * math/complex.h: Likewise.
11982 * math/math.h: Likewise.
11983 * sysdeps/generic/_G_config.h: Likewise.
11984 * sysdeps/gnu/_G_config.h: Likewise.
11985 * sysdeps/mach/hurd/_G_config.h: Likewise.
11986 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11987 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11988 * sysdeps/sparc/bits/mathdef.h: Likewise.
11989
afc5ed09
UD
119902012-01-26 Ulrich Drepper <drepper@gmail.com>
11991
11992 [BZ #13583]
11993 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11994 Clean up HAS_* macros.
afc5ed09 11995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11996 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11997 possible.
11998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11999 HAS_AVX.
12000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12005
bdb6de1d
JM
120062012-01-25 Joseph Myers <joseph@codesourcery.com>
12007
12008 * elf/tst-unique3.cc (gets): Remove declaration.
12009 * elf/tst-unique3lib.cc (gets): Likewise.
12010 * elf/tst-unique3lib2.cc (gets): Likewise.
12011 * elf/tst-unique4.cc (gets): Likewise.
12012
b15549e6
UD
120132012-01-24 Ulrich Drepper <drepper@gmail.com>
12014
12015 * include/stdio.h: Add C++ protection. Add gets declarations and
12016 definitions.
12017 * debug/tst-chk1.c: Don't declare gets here.
12018 * stdio-common/tst-gets.c: Likewise.
12019
a037381f
JM
120202012-01-24 Joseph Myers <joseph@codesourcery.com>
12021
12022 * posix/glob: Remove directory.
12023
f1d4aa75
JM
120242012-01-24 Joseph Myers <joseph@codesourcery.com>
12025
12026 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12027
81c0c964
PT
120282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12029
12030 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12031 of the non-standard EPFNOSUPPORT.
12032
0ea698ae
ST
120332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12034
12035 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12036 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12037 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12038
d220b117
UD
120392012-01-21 Ulrich Drepper <drepper@gmail.com>
12040
12041 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12042
3e1aa84e
UD
120432012-01-20 Ulrich Drepper <drepper@gmail.com>
12044
12045 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12046 transient errors.
12047 * nscd/grpcache.c (cache_addgr): Likewise.
12048 * nscd/hstcache.c (cache_addhst): Likewise.
12049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12050 * nscd/pwdcache.c (cache_addpw): Likewise.
12051 * nscd/servicescache.c (cache_addserv): Likewise.
12052
400aa020
UD
120532012-01-16 Ulrich Drepper <drepper@gmail.com>
12054
d77e7869
UD
12055 * malloc/malloc.c: Various cleanups.
12056 * malloc/hooks.c: Likewise.
12057
400aa020
UD
12058 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12059 * stdlib/bug-fmtmsg1.c: New file.
12060
12061 * stdlib/fmtmsg.c (init): Add missing unlock.
12062 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12063
e0a309cf
MP
120642012-01-12 Marek Polacek <polacek@redhat.com>
12065
12066 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12067 and _GNU_SOURCE.
12068
929d11c7
WS
120692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12070
12071 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12072 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12073 macro to ensure uniqueness of label name.
12074 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12075 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12076
41d0e869
UD
120772012-01-11 Ulrich Drepper <drepper@gmail.com>
12078
0cc5ed3b
UD
12079 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12080
41d0e869
UD
12081 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12082 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12083 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12085
a47a831a
UD
120862012-01-10 Ulrich Drepper <drepper@gmail.com>
12087
daa891c0
UD
12088 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12089
12090 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12092 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12093
e58ef0f2
UD
12094 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12095
a47a831a 12096 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12097 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12100
12101 * math/bits/math-finite.h: Add ldexp support.
12102
a0bfc9c7
MP
121032012-01-10 Marek Polacek <polacek@redhat.com>
12104
12105 * locale/programs/localedef.h (show_archive_content): Add noreturn
12106 attribute.
12107
d6e97a1d
UD
121082012-01-09 Ulrich Drepper <drepper@gmail.com>
12109
12110 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12111
d5835c26
UD
121122012-01-08 Ulrich Drepper <drepper@gmail.com>
12113
e5f484c6
UD
12114 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12115
d5835c26
UD
12116 * io/Makefile (headers): Add bits/poll2.h.
12117
d1f741e9
WS
121182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12119
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12121 typo #include statement.
12122
ec09c1c4
UD
121232012-01-08 Ulrich Drepper <drepper@gmail.com>
12124
12125 * include/sys/cdefs.h: Define __attribute_alloc_size.
12126 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12127 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12128 * elf/pldd.c: Likewise.
12129 * iconv/iconv_charmap.c: Likewise.
12130 * iconv/iconvconfig.c: Likewise.
12131 * iconv/strtab.c: Likewise.
12132 * locale/programs/locale.c: Likewise.
12133 * locale/programs/localedef.h: Likewise.
12134 * locale/programs/simple-hash.c: Likewise.
12135 * nscd/nscd.h: Likewise.
12136 * nss/makedb.c: Likewise.
12137 * sysdeps/generic/ldconfig.h: Likewise.
12138 * locale/programs/localedef.c: Remove xmalloc prototype.
12139 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12140
20b38e03
PP
121412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12142
12143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12144 appropriate.
12145
a0da5fe1
UD
121462012-01-08 Ulrich Drepper <drepper@gmail.com>
12147
1d5a644a 12148 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12149 * math/tst-CMPLX.c: New file.
1d5a644a 12150
8784a6db
UD
12151 * math/complex.h (CMPLXL): Fix typo.
12152
d9a216c0
UD
12153 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12154 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12155 GLIBC_2.16.
12156 * debug/tst-chk1.c: Add poll and ppoll tests.
12157 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12158 * include/sys/poll.h: Add hidden proto for ppoll.
12159 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12160 * sysdeps/mach/hurd/ppoll.c: Likewise.
12161 * io/ppoll.c: Likewise.
12162 * debug/poll_chk.c: New file.
12163 * debug/ppoll_chk.c: New file.
12164 * include/bits/poll2.h: New file.
12165 * io/bits/poll2.h: New file.
12166
ac097f5c
UD
12167 [BZ #1350]
12168 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12169
2119dcfa
UD
12170 * configure.in: static is always set to yes. Remove.
12171 * config.make.in: Don't set build-static.
12172 * Makeconfig: Remove use of build-static.
12173 * dlfcn/Makefile: Likewise.
12174 * elf/Makefile: Likewise.
12175 * math/Makefile: Likewise.
12176 * misc/Makefile: Likewise.
12177 * nptl/Makefile: Likewise.
12178 * sysdeps/mach/hurd/Makefile: Likewise.
12179
121766a9
UD
12180 * configure.in: PWD_P is not used anymore.
12181 * config.make.in: Remove PWD_P entry.
12182
51a1d39c 12183 * configure.in: Remove last remnants of RANLIB.
8720d066 12184 No need to check for signed size_t anymore.
215f4bdc
UD
12185 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12186 and IA-64.
3857022a 12187 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12188 * aclocal.m4: Likewise.
12189
d3ed7225
UD
12190 * wcsmbs/mbrtoc16.c: Implement using towc function.
12191 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12192 * wcsmbs/wcsmbsload.c: Likewise.
12193 * iconv/gconv_simple.c: Likewise.
12194 * iconv/gconv_int.h: Likewise.
12195 * iconv/gconv_builtin.h: Likewise.
12196 * iconv/iconv_prog.c: Remove CHAR16 handling.
12197
12198 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12199
12200 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12201
a0da5fe1
UD
12202 * configure.in: Remove --with-elf and --enable-bounded options.
12203 Dont set base_machine for ia64. More non-ELF conditions removed.
12204 Remove testing and setting of leading underscore information.
12205 * config.make.in (build-bounded): Set to no.
12206 * config.h.in: Remove NO_UNDERSCORES entry.
12207 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12208 them.
12209 * csu/start.c: Remove !NO_UNDERSCORE code.
12210 * locale/localeinfo.h: Likewise.
12211 * sysdeps/generic/machine-gmon.h: Likewise.
12212 * sysdeps/generic/sysdep.h: Likewise.
12213 * sysdeps/i386/sysdep.h: Likewise.
12214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12215 * sysdeps/mach/sysdep.h: Likewise.
12216 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12218 * sysdeps/sh/sysdep.h: Likewise.
12219 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12220 * sysdeps/unix/i386/sysdep.S: Likewise.
12221 * sysdeps/unix/sparc/start.c: Likewise.
12222 * sysdeps/unix/sparc/sysdep.S: Likewise.
12223 * sysdeps/unix/sparc/sysdep.h: Likewise.
12224 * sysdeps/unix/start.c: Likewise.
12225 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12226 * sysdeps/x86_64/sysdep.h: Likewise.
12227
df78418a
UD
122282012-01-07 Ulrich Drepper <drepper@gmail.com>
12229
a784e502
UD
12230 [BZ #13553]
12231 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12232 for non-gcc.
12233 * argp/argp-fmtstream.h: Use const instead __const.
12234 * argp/argp.h: Likewise.
12235 * assert/assert.h: Likewise.
12236 * bits/fenv.h: Likewise.
12237 * bits/sched.h: Likewise.
12238 * bits/sigset.h: Likewise.
12239 * bits/sigthread.h: Likewise.
12240 * catgets/nl_types.h: Likewise.
12241 * conform/data/pthread.h-data: Likewise.
12242 * crypt/crypt-private.h: Likewise.
12243 * crypt/crypt.h: Likewise.
12244 * crypt/crypt_util.c: Likewise.
12245 * ctype/ctype.h: Likewise.
12246 * debug/execinfo.h: Likewise.
12247 * debug/mbsnrtowcs_chk.c: Likewise.
12248 * debug/mbsrtowcs_chk.c: Likewise.
12249 * debug/wcsnrtombs_chk.c: Likewise.
12250 * debug/wcsrtombs_chk.c: Likewise.
12251 * debug/wcstombs_chk.c: Likewise.
12252 * dirent/dirent.h: Likewise.
12253 * dlfcn/dlfcn.h: Likewise.
12254 * elf/neededtest4.c: Likewise.
12255 * grp/grp.h: Likewise.
12256 * gshadow/gshadow.h: Likewise.
12257 * iconv/gconv.h: Likewise.
12258 * iconv/gconv_int.h: Likewise.
12259 * iconv/gconv_simple.c: Likewise.
12260 * iconv/iconv.h: Likewise.
12261 * iconv/loop.c: Likewise.
12262 * iconv/skeleton.c: Likewise.
12263 * include/aio.h: Likewise.
12264 * include/aliases.h: Likewise.
12265 * include/argz.h: Likewise.
12266 * include/arpa/inet.h: Likewise.
12267 * include/assert.h: Likewise.
12268 * include/dirent.h: Likewise.
12269 * include/dlfcn.h: Likewise.
12270 * include/execinfo.h: Likewise.
12271 * include/fcntl.h: Likewise.
12272 * include/fenv.h: Likewise.
12273 * include/glob.h: Likewise.
12274 * include/grp.h: Likewise.
12275 * include/libintl.h: Likewise.
12276 * include/mntent.h: Likewise.
12277 * include/netdb.h: Likewise.
12278 * include/pwd.h: Likewise.
12279 * include/rpc/netdb.h: Likewise.
12280 * include/sched.h: Likewise.
12281 * include/search.h: Likewise.
12282 * include/shadow.h: Likewise.
12283 * include/signal.h: Likewise.
12284 * include/stdio.h: Likewise.
12285 * include/stdlib.h: Likewise.
12286 * include/string.h: Likewise.
12287 * include/sys/socket.h: Likewise.
12288 * include/sys/stat.h: Likewise.
12289 * include/sys/statfs.h: Likewise.
12290 * include/sys/statvfs.h: Likewise.
12291 * include/sys/syslog.h: Likewise.
12292 * include/sys/time.h: Likewise.
12293 * include/sys/uio.h: Likewise.
12294 * include/time.h: Likewise.
12295 * include/unistd.h: Likewise.
12296 * include/utmp.h: Likewise.
12297 * include/wchar.h: Likewise.
12298 * include/wctype.h: Likewise.
12299 * inet/aliases.h: Likewise.
12300 * inet/arpa/inet.h: Likewise.
12301 * inet/netinet/ether.h: Likewise.
12302 * inet/netinet/in.h: Likewise.
12303 * intl/libintl.h: Likewise.
12304 * io/bits/fcntl2.h: Likewise.
12305 * io/fcntl.h: Likewise.
12306 * io/ftw.h: Likewise.
12307 * io/sys/poll.h: Likewise.
12308 * io/sys/stat.h: Likewise.
12309 * io/sys/statfs.h: Likewise.
12310 * io/sys/statvfs.h: Likewise.
12311 * io/utime.h: Likewise.
12312 * libio/bits/stdio.h: Likewise.
12313 * libio/bits/stdio2.h: Likewise.
12314 * libio/libio.h: Likewise.
12315 * libio/libioP.h: Likewise.
12316 * libio/stdio.h: Likewise.
12317 * locale/lc-ctype.c: Likewise.
12318 * locale/locale.h: Likewise.
12319 * login/utmp.h: Likewise.
12320 * malloc/arena.c: Likewise.
12321 * malloc/malloc.c: Likewise.
12322 * malloc/malloc.h: Likewise.
12323 * malloc/mcheck.c: Likewise.
12324 * malloc/mtrace.c: Likewise.
12325 * math/bits/mathcalls.h: Likewise.
12326 * math/fenv.h: Likewise.
12327 * math/math_private.h: Likewise.
12328 * misc/bits/error.h: Likewise.
12329 * misc/bits/syslog.h: Likewise.
12330 * misc/err.h: Likewise.
12331 * misc/error.h: Likewise.
12332 * misc/fstab.h: Likewise.
12333 * misc/mntent.h: Likewise.
12334 * misc/regexp.h: Likewise.
12335 * misc/search.h: Likewise.
12336 * misc/sgtty.h: Likewise.
12337 * misc/sys/mman.h: Likewise.
12338 * misc/sys/syslog.h: Likewise.
12339 * misc/sys/uio.h: Likewise.
12340 * misc/sys/xattr.h: Likewise.
12341 * misc/ttyent.h: Likewise.
12342 * nis/rpcsvc/ypclnt.h: Likewise.
12343 * nss/nss.h: Likewise.
12344 * posix/bits/unistd.h: Likewise.
12345 * posix/fnmatch.h: Likewise.
12346 * posix/glob.h: Likewise.
12347 * posix/sched.h: Likewise.
12348 * posix/spawn.h: Likewise.
12349 * posix/sys/wait.h: Likewise.
12350 * posix/unistd.h: Likewise.
12351 * posix/wordexp.h: Likewise.
12352 * pwd/pwd.h: Likewise.
12353 * resolv/netdb.h: Likewise.
12354 * resource/sys/resource.h: Likewise.
12355 * rt/aio.h: Likewise.
12356 * rt/bits/mqueue2.h: Likewise.
12357 * rt/mqueue.h: Likewise.
12358 * shadow/shadow.h: Likewise.
12359 * signal/signal.h: Likewise.
12360 * socket/send.c: Likewise.
12361 * socket/sendto.c: Likewise.
12362 * socket/sys/socket.h: Likewise.
12363 * stdio-common/printf.h: Likewise.
12364 * stdlib/bits/stdlib.h: Likewise.
12365 * stdlib/fmtmsg.h: Likewise.
12366 * stdlib/monetary.h: Likewise.
12367 * stdlib/stdlib.h: Likewise.
12368 * stdlib/ucontext.h: Likewise.
12369 * streams/stropts.h: Likewise.
12370 * string/argz.h: Likewise.
12371 * string/bits/string2.h: Likewise.
12372 * string/string.h: Likewise.
12373 * string/strings.h: Likewise.
12374 * sunrpc/rpc/auth.h: Likewise.
12375 * sunrpc/rpc/auth_des.h: Likewise.
12376 * sunrpc/rpc/clnt.h: Likewise.
12377 * sunrpc/rpc/netdb.h: Likewise.
12378 * sunrpc/rpc/pmap_clnt.h: Likewise.
12379 * sunrpc/rpc/xdr.h: Likewise.
12380 * sysdeps/generic/inttypes.h: Likewise.
12381 * sysdeps/generic/net/if.h: Likewise.
12382 * sysdeps/generic/sys/swap.h: Likewise.
12383 * sysdeps/gnu/net/if.h: Likewise.
12384 * sysdeps/gnu/utmpx.h: Likewise.
12385 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12386 * sysdeps/i386/i486/bits/string.h: Likewise.
12387 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12388 * sysdeps/s390/bits/string.h: Likewise.
12389 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12390 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12391 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12392 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12393 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12394 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12395 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12396 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12397 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12398 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12399 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12400 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12401 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12402 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12403 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12404 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12411 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12412 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12413 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12417 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12419 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12420 * sysvipc/sys/ipc.h: Likewise.
12421 * sysvipc/sys/msg.h: Likewise.
12422 * sysvipc/sys/sem.h: Likewise.
12423 * sysvipc/sys/shm.h: Likewise.
12424 * termios/termios.h: Likewise.
12425 * time/sys/time.h: Likewise.
12426 * time/time.h: Likewise.
12427 * wcsmbs/bits/wchar2.h: Likewise.
12428 * wcsmbs/uchar.h: Likewise.
12429 * wcsmbs/wchar.h: Likewise.
12430 * wctype/wctype.h: Likewise.
12431
0269750c
UD
12432 [BZ #13551]
12433 * Makeconfig: Remove all but ELF support including AIX support.
12434 * Makerules: Likewise.
12435 * config.h.in: Likewise.
12436 * config.make.in: Likewise.
12437 * configure: Likewise.
12438 * configure.in: Likewise.
12439 * csu/Makefile: Likewise.
12440 * csu/version.c: Likewise.
12441 * debug/Makefile: Likewise.
12442 * dlfcn/Makefile: Likewise.
12443 * elf/Makefile: Likewise.
12444 * extra-lib.mk: Likewise.
12445 * iconv/Makefile: Likewise.
12446 * include/libc-symbols.h: Likewise.
12447 * include/shlib-compat.h: Likewise.
12448 * resolv/Makefile: Likewise.
12449 * resolv/res_libc.c: Likewise.
12450 * rt/Makefile: Likewise.
12451 * sysdeps/i386/asm-syntax.h: Likewise.
12452 * sysdeps/i386/sysdep.h: Likewise.
12453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12454 * sysdeps/mach/sysdep.h: Likewise.
12455 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12456 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12457 * sysdeps/s390/asm-syntax.h: Likewise.
12458 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12459 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12460 * sysdeps/sh/sysdep.h: Likewise.
12461 * sysdeps/unix/sparc/sysdep.h: Likewise.
12462 * sysdeps/wordsize-32/divdi3.c: Likewise.
12463 * sysdeps/x86_64/sysdep.h: Likewise.
12464
00bbd29b
UD
12465 * argp/Versions: Remove _argp_unlock_xxx.
12466
12467 [BZ #13559]
12468 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12469 * abilist/libBrokenLocale.abilist: Likewise.
12470 * abilist/libanl.abilist: Likewise.
12471 * abilist/libc.abilist: Likewise.
12472 * abilist/libcrypt.abilist: Likewise.
12473 * abilist/libdl.abilist: Likewise.
12474 * abilist/libm.abilist: Likewise.
12475 * abilist/libnsl.abilist: Likewise.
12476 * abilist/libpthread.abilist: Likewise.
12477 * abilist/libresolv.abilist: Likewise.
12478 * abilist/librt.abilist: Likewise.
12479 * abilist/libthread_db.abilist: Likewise.
12480 * abilist/libutil.abilist: Likewise.
12481 * abilist/libnss_db.abilist: New file.
12482
12483 * scripts/abilist.awk: Add support for indirect functions.
12484
a2693a0e
UD
12485 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12486
3f05895f
UD
12487 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12488
ecb6fb48
UD
12489 * shlib-versions: Remove entries for ports architectures.
12490
664f8cb9
UD
12491 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12492 files in ports.
12493 * elf/stackguard-macros.h: Remove support for IA-64.
12494 * elf/tst-auditmod1.c: Likewise.
12495 * sysdeps/generic/ldsodefs.h: Likewise.
12496
7ae81d88
UD
12497 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12498 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12499 configure files.
12500
bdeba135
UD
12501 [BZ #13552]
12502 * configure.in: Remove --enable-omitfp support.
12503 * FAQ.in: Adjust.
12504 * config.make.in: Likewise.
12505 * Makeconfig: Likewise.
12506 * manual/install.texi: Likewise.
12507
d75a0a62
UD
12508 In case anyone cares, the IA-64 architecture could move to ports.
12509 * sysdeps/ia64/*: Removed.
12510 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12511 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12512
dcc9756b
UD
12513 [BZ #13555]
12514 * configure.in: Remove entries for unsupported architectures.
12515
d3761ebc 12516 [BZ #13533]
9954432e
UD
12517 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12518 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12519 routines.
12520 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12521 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12522 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12523 fall back to using wcrtomb.
12524 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12525 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12526 renaming.
12527 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12528 * wcsmbs/tst-c16c32-1.c: New file.
12529
12530 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12531 local variable.
12532
c3a87236
UD
12533 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12534
28926a1b
UD
12535 * elf/tst-unique3.cc: Add explicit declaration of gets.
12536 * elf/tst-unique3lib.cc: Likewise.
12537 * elf/tst-unique3lib2.cc: Likewise.
12538 * elf/tst-unique4.cc: Likewise.
12539
df78418a
UD
12540 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12541
8ecd6b2a
JM
125422012-01-06 Joseph Myers <joseph@codesourcery.com>
12543
12544 [BZ #13566]
12545 * assert/assert.h (static_assert): Don't define for C++.
12546 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12547 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12548
9f115170
UD
125492012-01-03 Ulrich Drepper <drepper@gmail.com>
12550
5e0d0300
UD
12551 * iconv/loop.c (single loop): Fix assertion in storing of
12552 remaining bytes.
12553
9f115170
UD
12554 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12555
81fb02b0
UD
125562012-01-01 Ulrich Drepper <drepper@gmail.com>
12557
12558 * posix/getconf.c: Update copyright year.
12559 * nss/getent.c: Likewise.
a316c1f6 12560 * nss/makedb.c: Likewise.
81fb02b0
UD
12561 * iconv/iconvconfig.c: Likewise.
12562 * iconv/iconv_prog.c: Likewise.
12563 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12564 * elf/pldd.c: Likewise.
12565 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12566 * catgets/gencat.c: Likewise.
12567 * csu/version.c: Likewise.
12568 * elf/ldd.bash.in: Likewise.
12569 * elf/sprof.c (print_version): Likewise.
12570 * locale/programs/locale.c: Likewise.
12571 * locale/programs/localedef.c: Likewise.
a316c1f6 12572 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12573 * nscd/nscd.c (print_version): Likewise.
12574 * debug/xtrace.sh: Likewise.
12575 * malloc/memusage.sh: Likewise.
12576 * malloc/mtrace.pl: Likewise.
12577 * debug/catchsegv.sh: Likewise.
12578
2ba92745
JJ
125792011-12-30 Jakub Jelinek <jakub@redhat.com>
12580
12581 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12582 pure attribute.
12583
dadebdae
UD
125842011-12-24 Ulrich Drepper <drepper@gmail.com>
12585
d3761ebc 12586 [BZ #13533]
db6af3eb
UD
12587 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12588 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12589 transformations.
12590 * iconv/gconv_int.h: Likewise.
12591 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12592 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12593 from libc for GLIBC_2.16.
12594 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12595 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12596 * wcsmbs/uchar.h: Really define mbstate_t.
12597 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12598 * wcsmbs/c16rtomb.c: New file.
12599 * wcsmbs/mbrtoc16.c: New file.
12600 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12601 for C/POSIX locale.
12602 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12603 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12604
dadebdae
UD
12605 * wcsmbs/wchar.h: Add missing __restrict.
12606
67371b56
UD
126072011-12-23 Ulrich Drepper <drepper@gmail.com>
12608
74033a25
UD
12609 [BZ #13532]
12610 * time/Makefile (routines): Add timespec_get.
12611 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12612 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12613 timespec for ISO C11.
12614 * time/timespec_get.c: New file.
12615 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12616 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12617
380d7e87
UD
12618 [BZ #13531]
12619 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12620 * stdlib/stdlib.h: Declare aligned_alloc.
12621 * Versions.def: Add GLIBC_2.16 for libc.
12622 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12623
4e9e7a35
UD
12624 [BZ 13527]
12625 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12626 ISO C11.
12627
380d7e87 12628 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12629 code.
12630
03a71829
UD
12631 [BZ #13528]
12632 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12633
839e283e
UD
12634 [BZ #13529]
12635 * assert/assert.h (static_assert): Define.
12636
ce5294e2 12637 * version.h: Update for 2.16 development version.
90fa7312 12638
8d44e150 12639 [BZ #13526]
d7809905
UD
12640 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12641 _ISOC11_SOURCE.
12642
c0da14cd
UD
12643 * version.h (RELEASE): Bump for 2.15 release.
12644 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12645
530a3249
MP
12646 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12647 Patch by Marek Polacek <mpolacek@redhat.com>.
12648
67371b56
UD
12649 * bits/byteswap.h: Protect long long constants with __extension__.
12650 * sysdeps/i386/bits/byteswap.h: Likewise.
12651 * sysdeps/ia64/bits/byteswap.h: Likewise.
12652 * sysdeps/s390/bits/byteswap.h: Likewise.
12653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12654
15db4de1
LD
126552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12656
12657 [BZ #13540]
bbe315ea
LD
12658 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12659 destination buffer.
15db4de1
LD
12660 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12661
2b2596b1
MP
126622011-12-23 Marek Polacek <polacek@redhat.com>
12663
12664 * elf/dl-addr.c (determine_info): Add inline keyword.
12665 * elf/tst-auditmod4b.c (check_avx): Likewise.
12666 * elf/tst-auditmod6b.c (check_avx): Likewise.
12667 * elf/tst-auditmod6c.c (check_avx): Likewise.
12668 * elf/tst-auditmod7b.c (check_avx): Likewise.
12669
70c6c246
UD
126702011-12-23 Ulrich Drepper <drepper@gmail.com>
12671
12672 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12673 !__SSE_MATH__.
12674
c044cf14
LD
126752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12676
15db4de1 12677 [BZ #13540]
c044cf14
LD
12678 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12679 processing for last bytes.
12680
6b13d9d9
BH
126812011-08-06 Bruno Haible <bruno@clisp.org>
12682
d455f537
BH
12683 [BZ #13061]
12684 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12685 U+0385, not to U+1FEE.
12686
6b13d9d9
BH
12687 [BZ #13062]
12688 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12689 entry for U+00A5 U+0301.
12690
db910efd
UD
126912011-12-22 Ulrich Drepper <drepper@gmail.com>
12692
27deeafc
UD
12693 [BZ #13166]
12694 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12695 buffer for the output is too small.
12696
aed9d171
UD
12697 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12698 optimization.
12699
db910efd
UD
12700 [BZ #13185]
12701 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12702 SSE flags if possible.
12703
2bd779ae
LD
127042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12705
e7f9dac3 12706 [BZ #13540]
2bd779ae
LD
12707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12708 processing for last bytes.
12709
154bfc16
JM
127102011-12-22 Joseph Myers <joseph@codesourcery.com>
12711
12712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12713 (syscall-list-default-options, syscall-list-default-condition)
12714 (syscall-list-includes): Define.
12715 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12716 list of ABIs and options and #if conditions for each ABI. Do not
12717 handle common syscalls between ABIs specially.
12718 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12719 Remove.
12720 (syscall-list-variants, syscall-list-32bit-options)
12721 (syscall-list-32bit-condition, syscall-list-64bit-options)
12722 (syscall-list-64bit-condition): Define.
12723 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12724 (syscall-list-variants, syscall-list-32bit-options)
12725 (syscall-list-32bit-condition, syscall-list-64bit-options)
12726 (syscall-list-64bit-condition): Define.
12727 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12728 Remove.
12729 (syscall-list-variants, syscall-list-32bit-options)
12730 (syscall-list-32bit-condition, syscall-list-64bit-options)
12731 (syscall-list-64bit-condition): Define.
12732 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12733 Remove.
12734 (syscall-list-variants, syscall-list-32bit-options)
12735 (syscall-list-32bit-condition, syscall-list-64bit-options)
12736 (syscall-list-64bit-condition): Define.
12737
21eaf3a5
UD
127382011-12-22 Ulrich Drepper <drepper@gmail.com>
12739
16c6f992
UD
12740 * locale/iso-639.def: Add brx entry.
12741
41043168
UD
12742 [BZ #13328]
12743 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12744 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12745
21eaf3a5
UD
12746 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12747 __feraiseexcept_renamed.
12748
e3a851a2
UD
127492011-12-21 Ulrich Drepper <drepper@gmail.com>
12750
4920765e
UD
12751 [BZ #13538]
12752 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12753 EPOLLET with unsigned values.
12754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12756
e3a851a2
UD
12757 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12758 to large cancellation.
12759 * math/s_cacoshf.c: Likewise.
12760 * math/s_cacoshl.c: Likewise.
12761
b27e24b8
RK
127622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12763
12764 [BZ #13305]
aebefeee 12765 [BZ #12786]
b27e24b8
RK
12766 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12767 * math/s_cacoshf.c: Likewise.
12768 * math/s_cacoshl.c: Likewise.
12769
ee190f67
UD
127702011-12-21 Ulrich Drepper <drepper@gmail.com>
12771
12772 [BZ #13439]
12773 * iconv/gconv.h: Define __GCONV_SWAP.
12774 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12775 * iconvdata/utf-16.c: Likewise.
12776 * iconvdata/utf-32.c: Likewise.
12777
707f25df
AS
127782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12779
12780 [BZ #13524]
12781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12782 numerator after shifting it by one limb.
12783
d2daaa1e
RÁE
127842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12785
12786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12787 under [__USE_EXTERN_INLINES].
12788
a4647e72
UD
127892011-12-17 Ulrich Drepper <drepper@gmail.com>
12790
12791 [BZ #13446]
12792 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12793
f0b264f1
AZ
127942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12795
12796 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12797 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12798 optimized code.
12799 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12801 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12802 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12803 for strncasecmp/strncasecmp_l compilation.
12804 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12805 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12806
8ef4f244
MP
128072011-12-08 Marek Polacek <mpolacek@redhat.com>
12808
12809 [BZ #13484]
12810 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12811 of __asm__.
12812
97ac2654
UD
128132011-12-17 Ulrich Drepper <drepper@gmail.com>
12814
12815 [BZ #13506]
12816 * time/tzfile.c (__tzfile_read): Check values from file header.
12817
91d2a845
WS
128182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12819
12820 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12821 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12822 * powerpc/powerpc32/dl-start.S: Likewise.
12823 * powerpc/powerpc32/elf/start.S: Likewise.
12824 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12825 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12826 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12827 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12828 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12829 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12830 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12831 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12832 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12833 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12834 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12835 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12836 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12837 * powerpc/powerpc32/memset.S: Likewise.
12838 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12839 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12840 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12841 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12842 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12843 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12844 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12845 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12846 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12847 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12848 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12849 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12850 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12851
a1267ba1
AZ
128522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12853
12854 * math/libm-test.inc: Added more nearbyint tests.
12855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12859
ad8ac1bd
RL
128602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12861
12862 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12863 FD_CLOEXEC.
12864
1d3e4b61
UD
128652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12866
12867 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12868 Add wcscpy-ssse3 wcscpy-c.
12869 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12870 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12871 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12872 * sysdeps/x86_64/wcschr.S: New file.
12873 * sysdeps/x86_64/wcsrchr.S: New file.
12874 * string/test-strcmp.c: Remove checking of wcscmp function for
12875 wrong alignments.
12876 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12877 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12878 wcsrchr-sse2 wcsrchr-c.
12879 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12880 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12881 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12882 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12883 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12884 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12885 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12886 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12887 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12888 * wcsmbc/wcschr.c (WCSCHR): New macro.
12889
5b330a2d
UD
128902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12891
12892 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12893 * wcsmbs/test-wcsrchr.c: New file.
12894 * string/test-strrchr.c: Add wcsrchr support.
12895 (WIDE): New macro.
12896 * wcsmbs/test-wcscpy.c: New file.
12897 * string/test-strcpy.c: Add wcscpy support.
12898 (WIDE): New macro.
26428b7c 12899
f039c043
UD
129002011-12-10 Ulrich Drepper <drepper@gmail.com>
12901
12902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12903 the inner loop.
12904
850fb039
AS
129052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12906
12907 [BZ #13472]
12908 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12909
4efbd5cb
UD
129102011-12-04 Ulrich Drepper <drepper@gmail.com>
12911
52ff5dd0 12912 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12913 Minor optimizations.
52ff5dd0 12914
4efbd5cb
UD
12915 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12916 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12917 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12918
8a426e12
UD
129192011-12-03 Ulrich Drepper <drepper@gmail.com>
12920
aff2453d
UD
12921 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12922 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12923 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12924 for gcc to avoid warnings.
12925 * inet/Makefile (tests): Add tst-checks.
12926 * inet/tst-checks.c: New file.
12927
12928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12929 warning.
12930
12931 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12932 __wmemcmp_sse2.
12933
12934 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12935 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12936
8a426e12
UD
12937 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12938
9bea3473
UD
129392011-12-02 Ulrich Drepper <drepper@gmail.com>
12940
3a965496
UD
12941 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12942 problem.
12943
9bea3473
UD
12944 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12945
f101631b
UD
129462011-11-29 Joseph Myers <joseph@codesourcery.com>
12947
12948 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12949 conditional on GCC version.
12950 (__arch_compare_and_exchange_val_8_acq)
12951 (__arch_compare_and_exchange_val_16_acq)
12952 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12953 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12954 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12955
a98275aa
UD
129562011-12-02 Joseph Myers <joseph@codesourcery.com>
12957
12958 * sysdeps/sh/backtrace.c: New file.
12959
d4cc29a2
AS
129602011-12-02 Andreas Schwab <schwab@redhat.com>
12961
12962 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12963 parenthesis.
12964
6257af2d
AS
129652011-12-01 Andreas Schwab <schwab@redhat.com>
12966
12967 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12968 falling back to utime.
12969
b5f44c1a
AS
129702011-11-30 Andreas Schwab <schwab@redhat.com>
12971
12972 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12973 expectations for float.
12974
f3a6cc0a
AS
129752011-11-29 Andreas Schwab <schwab@redhat.com>
12976
12977 * locale/weight.h (findidx): Add parameter len.
12978 * locale/weightwc.h (findidx): Likewise.
12979 * posix/fnmatch_loop.c (FCT): Adjust caller.
12980 * posix/regcomp.c (build_equiv_class): Likewise.
12981 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12982 * posix/regexec.c (check_node_accept_bytes): Likewise.
12983 * string/strcoll_l.c (STRCOLL): Likewise.
12984 * string/strxfrm_l.c (STRXFRM): Likewise.
12985
9d65ea3a
UD
129862011-11-17 Ulrich Drepper <drepper@gmail.com>
12987
12988 * Makefile.in: Remove CVSOPT handling.
12989 * configure.in: Remove use of AC_REVISION.
12990 * iconvdata/Makefile (distribute): No need to filter out CVS.
12991 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12992 handling.
12993
5583a086
AS
129942011-11-16 Andreas Schwab <schwab@redhat.com>
12995
12996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12997 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12998 [USE_AS_STRNCASECMP_L]: Likewise.
12999 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13000 NO_TLS_DIRECT_SEG_REFS.
13001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13002 Fix argument offsets for non-PIC.
13003 [USE_AS_STRNCASECMP_L]: Likewise.
13004 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13005 NO_TLS_DIRECT_SEG_REFS.
13006
d62a8200
UD
130072011-11-15 Ulrich Drepper <drepper@gmail.com>
13008
9d65ea3a 13009 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13010 O_CLOEXEC.
13011 * locale/loadlocale.c (_nl_load_locale): Likewise.
13012
09f93bd3
AS
130132011-11-15 Andreas Schwab <schwab@redhat.com>
13014
446514f9
AS
13015 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13016 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13017 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13018 (SYSCALL_GETTIME): Set errno on error.
13019
09f93bd3
AS
13020 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13021 count references to noai6ai_cached.
13022
312be3f9
UD
130232011-11-15 Ulrich Drepper <drepper@gmail.com>
13024
13025 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13026
13027 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13028 FD_CLOEXEC for /proc/self/maps.
13029
13030 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13031 FD_CLOEXEC for /proc/meminfo.
13032
13033 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13034 gai.conf.
13035
13036 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13037 FD_CLOEXEC for given file.
13038
13039 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13040
13041 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13042 FD_CLOEXEC for /etc/hosts.
13043 (_gethtent): Likewise.
13044
13045 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13046
13047 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13048 cancellation and set FD_CLOEXEC for /etc/netgroup.
13049
13050 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13051 reading /etc/publickey.
13052
13053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13054 allow cancellation when reading /etc/group.
13055
13056 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13057 cancellation.
13058 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13059
13060 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13061 when using data file.
13062
13063 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13064
13065 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13066 (write_nis_obj): Use "c" and "e" in fopen.
13067
13068 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13069
13070 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13071
13072 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13073
13074 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13075
13076 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13077 locale.alias.
13078
13079 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13080
13081 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13082
13083 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13084
13085 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13086 file parsing and set FD_CLOEXEC.
13087
82af0fa8
UD
130882011-11-14 Ulrich Drepper <drepper@gmail.com>
13089
13090 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13091
a5fb313c
AS
130922011-11-14 Andreas Schwab <schwab@redhat.com>
13093
13094 * malloc/arena.c (arena_get2): Don't call reused_arena when
13095 _int_new_arena failed.
13096
6abf3465
UD
130972011-11-14 Ulrich Drepper <drepper@gmail.com>
13098
13099 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13100 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13105 to compile strcasecmp and strncasecmp.
13106 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13107 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13108
13109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13110
76e3966e
UD
131112011-11-13 Ulrich Drepper <drepper@gmail.com>
13112
13113 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13114 locale-defines.sym to gen-as-const-headers.
13115 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13116 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13118 to compile strcasecmp and strncasecmp.
13119 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13120 strcasecmp_l and strncasecmp_l.
13121 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13122 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13123 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13124 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13125 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13126 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13127 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13128 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13129 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13130 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13131 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13132
ab26144e
UD
131332011-11-12 Ulrich Drepper <drepper@gmail.com>
13134
7edb22ef
UD
13135 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13136 result of SYSDEP_GETTIME_CPU to retval.
13137 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13138 parameter list to macro. Remove trailing semicolon. Adjust users.
13139
9694fc44
UD
13140 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13141 variable.
13142
8ad89ef8
UD
13143 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13144 mantissa words.
13145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13146
0c822ef9
UD
13147 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13148 from unused variable.
13149
874e0564
UD
13150 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13151 DWARF definitions.
13152 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13153 for assembling.
13154
3a2edc79
UD
13155 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13156 over namespaces.
13157
f3c2577f
UD
13158 * sunrpc/rpc_prot.c (rejected): Fix case value.
13159
294ce126
UD
13160 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13161 unsigned long long int to avoid warnings in shift.
13162
5e2b63c6
UD
13163 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13164 of use of trans.
13165 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13166 variable tmp.
13167
e7f4b08e
UD
13168 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13169 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13170 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13171
ab26144e
UD
13172 * nis/nis_table.c (nis_list): Use variable of correct type for
13173 result of __follow_path call.
13174
8a6d5255
AZ
131752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13176
13177 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13178 of math functions ceil, trunc, floor, round, and sqrt, when
13179 avaliable on the platform.
13180 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13181 name clash.
13182 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13183 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13184 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13185
aaddc98c
MP
131862011-10-30 Marek Polacek <mpolacek@redhat.com>
13187
13188 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13190
95b7042b
RM
131912011-11-11 Roland McGrath <roland@hack.frob.com>
13192
13193 * include/unistd.h: Fix __readlink return type.
13194 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13195
57769839
UD
131962011-11-11 Ulrich Drepper <drepper@gmail.com>
13197
13198 * stdlib/ucontext.h: Undo last change for makecontext.
13199
edc5984d
AS
132002011-11-11 Andreas Schwab <schwab@redhat.com>
13201
98591e58
AS
13202 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13203
edc5984d
AS
13204 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13205 * setjmp/setjmp.h: Mark functions as non-leaf.
13206 * setjmp/bits/setjmp2.h: Likewise.
13207 * stdlib/ucontext.h: Likewise.
13208
77cdc054
AS
132092011-11-10 Andreas Schwab <schwab@redhat.com>
13210
13211 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13212 (reused_arena): Don't check arena limit.
13213 (arena_get2): Atomically check arena limit.
13214
fe72eebd
UD
132152011-11-08 Ulrich Drepper <drepper@gmail.com>
13216
5f078c32
UD
13217 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13218 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13219
fe72eebd
UD
13220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13221 instructions.
13222
ae1bc2fa
AS
132232011-11-07 Andreas Schwab <schwab@redhat.com>
13224
7583a88d
AS
13225 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13226 handler when locking.
13227
ae1bc2fa
AS
13228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13229 Fix size of allocated buffer.
13230
10fb0bfa
AS
132312011-11-04 Andreas Schwab <schwab@redhat.com>
13232
998832a4
AS
13233 [BZ #10103]
13234 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13235 declarations for long double functions.
13236 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13237
10fb0bfa
AS
13238 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13239
3d7ba52b
AS
132402011-11-03 Andreas Schwab <schwab@redhat.com>
13241
a9ae54a1
AS
13242 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13243 installed.
13244
3d7ba52b
AS
13245 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13246 is disabled.
13247
bc8db248
ST
132482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13249
13250 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13251
45b96dd6
AS
132522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13253
647776f6
AS
13254 * include/alloca.h (stackinfo_alloca_round): Define.
13255 (extend_alloca): Use it.
13256 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13257 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13258 here.
13259
d91a8b93
AS
13260 * scripts/check-local-headers.sh: Ignore libaudit.h.
13261
45b96dd6
AS
13262 * nscd/Makefile (extra-objs): Make recursively expanded.
13263
432d41ce
UD
132642011-11-01 Ulrich Drepper <drepper@gmail.com>
13265
34372fc6
UD
13266 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13268
fadb59f8
UD
13269 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13270 * posix/tst-rfc3484-2.c: Likewise.
13271 * posix/tst-rfc3484-3.c: Likewise.
13272
78239589
UD
13273 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13274 process_vm_writev.
13275 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13276 process_vm_writev.
13277 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13278 process_vm_writev from libc using GLIBC_2.15 version.
13279
432d41ce
UD
13280 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13281
02f9c6cf
PP
132822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13283
13284 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13285 stack usage.
13286
3a2c0242
UD
132872011-10-31 Ulrich Drepper <drepper@gmail.com>
13288
f4ec4833
UD
13289 [BZ #13367]
13290 * nss/getent.c (initgroups_keys): Show error message in case no group
13291 names are given.
13292
3a2c0242
UD
13293 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13294 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13295 __bump_nl_timestamp.
13296 * nscd/connections (nscd_init): When host database is served open
13297 netlink socket and request notification about configuration changes.
13298 (main_loop_poll): Track netlink file descriptor and bump timestamp
13299 in case data becomes available.
13300 (main_loop_epoll): Likewise.
13301 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13302 (database_pers_head): Add extra_data fileds.
13303 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13304 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13305 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13306 Adjust caller.
13307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13308 in6ai data, call __free_in6ai.
13309 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13310 Add -DHAVE_NETLINK.
13311 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13312 interface information. Reuse previous data if netlink timestamp
13313 is not changed.
13314 (__bump_nl_timestamp): New function.
13315 (__free_in6ai): New function.
13316
636064eb
UD
133172011-10-30 Ulrich Drepper <drepper@gmail.com>
13318
13319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13320 close_not_cancel_no_status here.
13321 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13322
9beb2334
UD
133232011-10-29 Ulrich Drepper <drepper@gmail.com>
13324
6ef76f3b
UD
13325 [BZ #13276]
13326 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13327 return value.
13328
0ffc4f3e 13329 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13330 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13331 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13332
cb95113e
UD
133332011-07-03 Andreas Jaeger <aj@suse.de>
13334
13335 [BZ #10709]
13336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13337 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13338 * math/libm-test.inc (sin_test): Add test case.
13339
a1b560ff
UD
133402011-10-29 Ulrich Drepper <drepper@gmail.com>
13341
c9aaface
UD
13342 [BZ #13337]
13343 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13344 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13345
d272e7f1
UD
13346 * elf/chroot_canon.c (chroot_canon): Cleanups.
13347
1bc33071
UD
13348 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13349
1760874d
TJ
13350 [BZ #13335]
13351 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13353
51d91b18
UD
13354 * string/test-strchr.c: Make usable for strchrnul testing.
13355 * string/test-strchrnul.c: New file.
13356 * string/Makefile (strop-tests): Add strchrnul.
13357
a1b560ff 13358 * po/it.po: Update from translation team.
b611fb81 13359 * po/es.po: Likewise.
a1b560ff 13360
a5b81e1f
UD
133612011-10-28 Ulrich Drepper <drepper@gmail.com>
13362
fd52bc6d
UD
13363 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13364 the three constants needed as parameters. Drop the others.
13365 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13366 __m128i_strloadu_tolower.
52e4b9eb
UD
13367 Create and initialize variable zero and use it in all the places
13368 where _mm_setzero_si128 was used.
fd52bc6d 13369
a5b81e1f
UD
13370 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13371 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13372 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13374 anymore.
13375 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13376 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13377 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13378 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13379 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13380 __mpranred, __mptan.
13381 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13382 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13383 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13384 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13385 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13386 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13388 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13389 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13390
b4343346
AS
133912011-10-28 Andreas Schwab <schwab@redhat.com>
13392
0c92d8a8
AS
13393 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13394 redefine if SHARED.
13395 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13396
b4343346
AS
13397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13398 wide char related routines to wcsmbs subdir.
13399
3871f58f
AS
134002011-10-27 Andreas Schwab <schwab@redhat.com>
13401
13402 [BZ #13344]
13403 * misc/sys/cdefs.h (__THROWNL): Define.
13404 * posix/unistd.h: Use __THREADNL instead of __THREAD
13405 for memory synchronization functions.
13406
94d44d9f
RM
134072011-10-26 Roland McGrath <roland@hack.frob.com>
13408
21b64b15 13409 [BZ #13349]
94d44d9f
RM
13410 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13411 doesn't exist.
13412 * manual/stdio.texi (Obstack Streams): Node removed.
13413
f6ce9294
AS
134142011-10-26 Andreas Schwab <schwab@redhat.com>
13415
80479147
AS
13416 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13417 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13419
f6ce9294
AS
13420 * math/math_private.h (math_force_eval): Allow non-addressable
13421 arguments.
13422 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13423
618280a1
UD
134242011-10-25 Ulrich Drepper <drepper@gmail.com>
13425
e0016b11
UD
13426 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13427 file is not needed.
13428
13429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13436 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13437 Add AVX variants.
13438 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13439 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13440 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13441 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13442 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13443 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13444 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13445 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13448 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13449 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13451 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13452 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13456 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13457
13458 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13459 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13460
618280a1
UD
13461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13462 place. Use VEX encoding when compiling for AVX.
13463
37822576
AS
134642011-10-25 Andreas Schwab <schwab@redhat.com>
13465
1f1e1947
AS
13466 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13467 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13468
37822576
AS
13469 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13470
31ea014d
UD
134712011-10-25 Ulrich Drepper <drepper@gmail.com>
13472
d7826aa1 13473 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13474 useless if() expression.
d7826aa1
UD
13475 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13485 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13486 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13489 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13494
31ea014d
UD
13495 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13496
16437fec
AS
134972011-10-25 Andreas Schwab <schwab@redhat.com>
13498
13499 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13500 condition.
13501 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13502
31d3cc00
UD
135032011-10-25 Ulrich Drepper <drepper@gmail.com>
13504
13505 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13506 .text section. Avoid duplicate constants.
13507 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13517 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13519 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13534 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13535 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13536 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13538 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13539 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13540 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13541 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13542 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13543 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13544 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13545 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13546 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13547 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13548 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13549 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13550 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13551 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13552
58985aa9
UD
135532011-10-24 Ulrich Drepper <drepper@gmail.com>
13554
202c9deb
UD
13555 * sysdeps/x86_64/dla.h: Move to ...
13556 * sysdeps/x86_64/fpu/dla.h: ...here.
13557 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13558 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13559
af968f62
UD
13560 * config.make.in: Add have-mfma4 entry.
13561 * configure.in: Substitute libc_cv_cc_fma4.
13562 * math/Makefile (dbl-only-routines): Add sincostab.
13563 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13564 Use __sincostab not sincos.
13565 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13566 name is a macro.
13567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13571 using __copysign.
13572 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13573 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13574 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13575 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13576 and __inv.
13577 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13578 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13579 __copysign.
13580 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13581 define aliases when function name is a macro.
13582 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13583 sysdeps/ieee754/dbl-64/sincos.tbl.
13584 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13585 fma4-enabled routines.
13586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13587 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13588 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13589 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13591 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13592 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13593 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13594 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13595 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13596 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13597 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13598 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13609 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13610 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13611 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13612 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13613 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13614 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13615 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13616
58985aa9
UD
13617 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13618 rename.
13619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_atan2.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/s_atan.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13627
a201fbcf
AS
136282011-10-24 Andreas Schwab <schwab@redhat.com>
13629
13630 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13631
fc2ee42a
LD
136322011-10-23 Ulrich Drepper <drepper@gmail.com>
13633
bb3129bd
UD
13634 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13635
0275fff8
UD
13636 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13637 prediction.
13638 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13639
2fa2ae85
UD
13640 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13641 Remove unused variable magic_bits.
13642 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13643
fc2ee42a
LD
13644 * string/strnlen.c: Define and use STRNLEN macro.
13645 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13646 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13648 * wcsmbs/wcslen.c: Define and use WCSLEN.
13649 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13650 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13651 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13652 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13653 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13654 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13655 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13656
ce7dd29f
LD
136572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13658
13659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13660 strnlen-sse2-no-bsf.
13661 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13663 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13664 Add strnlen support.
13665 (USE_AS_STRNLEN): New macro.
13666 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13667 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13668 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13669 * sysdeps/x86_64/wcslen.S: New file.
13670
979c70a3
MZ
136712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13672
13673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13674 XMM-moves are used for copying on small sizes.
13675
2d09f82f
LD
136762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13677
13678 * wcsmbs/Makefile (strop-tests): Add wcschr.
13679 * wcsmbs/test-wcschr.c: New file.
13680 * string/test-strchr.c: Update.
13681 Add wcschr support.
13682 (WIDE): New macro.
13683
619fccca
LD
136842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13685
2d09f82f 13686 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13687 * wcsmbs/test-wcslen.c: New file.
13688 * string/test-strlen.c: Update.
13689 Add wcslen support.
13690 (WIDE): New macro.
13691
09f699ea
UD
136922011-10-23 Ulrich Drepper <drepper@gmail.com>
13693
13694 * po/it.po: Update from translation team.
13695
95584d3b
LD
136962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13697
13698 * sysdeps/x86_64/wcscmp.S: Update.
13699 Fix wrong comparison semantics.
13700 wcscmp shall use signed comparison not unsigned.
13701 Don't use substraction to avoid overflow bug.
13702 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13703 * wcsmbc/wcscmp.c: Likewise.
13704 * string/test-strcmp.c: Likewise.
13705 Add new tests to check cases with negative values.
13706
c8b3296b
UD
137072011-10-23 Ulrich Drepper <drepper@gmail.com>
13708
13709 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13710 * sysdeps/x86_64/dla.h: ...here. New file.
13711 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13720
246ad57a
AS
137212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13722
13723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13724 __ynl_finite aliases.
13725
a1a87169
UD
137262011-10-22 Ulrich Drepper <drepper@gmail.com>
13727
0d355eb7
UD
13728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13729
a1a87169
UD
13730 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13731 define DLA_FMA.
13732 [DLA_FMA] (EMULV): Use DLA_FMA.
13733 [DLA_FMA] (MUL12): Use EMULV.
13734 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13735 that are not needed.
13736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13743
ee2aafe0
AS
137442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13745
13746 * math/s_nan.c: Undef __nan.
13747 * math/s_nanf.c: Undef __nanf.
13748 * math/s_nanl.c: Undef __nanl.
13749 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13750 "math_private.h".
13751
bc62c2fb
UD
137522011-10-22 Ulrich Drepper <drepper@gmail.com>
13753
77425c63
UD
13754 * math/s_catan.c: Add branch predictions.
13755 * math/s_catanf.c: Likewise.
13756 * math/s_catanh.c: Likewise.
13757 * math/s_catanhf.c: Likewise.
13758 * math/s_catanhl.c: Likewise.
13759 * math/s_catanl.c: Likewise.
13760 * math/s_cexp.c: Likewise.
13761 * math/s_cexpf.c: Likewise.
13762 * math/s_cexpl.c: Likewise.
13763 * math/s_clog.c: Likewise.
13764 * math/s_clog10.c: Likewise.
13765 * math/s_clog10f.c: Likewise.
13766 * math/s_clog10l.c: Likewise.
13767 * math/s_clogf.c: Likewise.
13768 * math/s_clogl.c: Likewise.
13769 * math/s_csqrt.c: Likewise.
13770 * math/s_csqrtf.c: Likewise.
13771 * math/s_csqrtl.c: Likewise.
13772 * math/s_ctanf.c: Likewise.
13773 * math/s_ctanh.c: Likewise.
13774 * math/s_ctanhf.c: Likewise.
13775 * math/s_ctanhl.c: Likewise.
13776 * math/s_ctanl.c: Likewise.
13777
bc62c2fb
UD
13778 * math/math_private.h: Define __nan, __nanf, __nanl.
13779 * math/s_cacosh.c: Include <math_private.h>.
13780 * math/s_cacoshl.c: Likewise.
13781 * math/s_casinh.c: Likewise.
13782 * math/s_casinhf.c: Likewise.
13783 * math/s_casinhl.c: Likewise.
13784 * math/s_ccos.c: Rely entire on ccosh.
13785 * math/s_ccosf.c: Rely entire on ccoshf.
13786 * math/s_ccosl.c: Rely entirely on ccoshl.
13787 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13788 Remove tests for FE_INVALID.
13789 * math/s_ccoshf.c: Likewise.
13790 * math/s_ccoshl.c: Likewise.
13791 * math/s_csin.c: Likewise.
13792 * math/s_csinf.c: Likewise.
13793 * math/s_csinh.c Likewise.
13794 * math/s_csinhf.c: Likewise.
13795 * math/s_csinhl.c: Likewise.
13796 * math/s_csinl.c: Likewise.
13797 * math/s_ctan.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13799 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13801
8ec250a4
UD
138022011-10-21 Ulrich Drepper <drepper@gmail.com>
13803
c196fed8
UD
13804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13805 compilation problems.
13806
8ec250a4
UD
13807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13808 __builtin_expect.
13809
8d4f46c6
UD
138102011-10-20 Ulrich Drepper <drepper@gmail.com>
13811
ed72b654
UD
13812 * sysdeps/i386/configure.in: Test for -mfma4 option.
13813 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13814 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13815 COMMON_CPUID_INDEX_80000001.
13816 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13817 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13818 use it if FMA3 is not supported.
13819 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13820
8d4f46c6
UD
13821 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13822 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13823
d45c60c2
AS
138242011-10-20 Andreas Schwab <schwab@redhat.com>
13825
13826 [BZ #12892]
13827 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13828 it would create a cycle with a link time dependency.
13829
d9a4d2ab
UD
138302011-10-19 Ulrich Drepper <drepper@gmail.com>
13831
855d1560
UD
13832 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13833 instruction.
13834 * string/Makefile (strop-tests): Add rawmemchr.
13835 * string/test-rawmemchr.c: New file.
13836
d9a4d2ab
UD
13837 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13839 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13840 when compiling str{,n}casecmp and when AVX is available. Hook up
13841 new optimized code in initializers.
13842
8f3b1ffe
AS
138432011-10-19 Andreas Schwab <schwab@redhat.com>
13844
13845 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13846 __feraiseexcept instead of feraiseexcept.
13847
d38f1dba
UD
138482011-10-18 Ulrich Drepper <drepper@gmail.com>
13849
d9a8d0ab
UD
13850 * math/math_private.h: Define defaults for libc_fetestexcept and
13851 libc_feupdateenv.
13852 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13853 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13854 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13856 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13857 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13858 libc_fetestexcept and libc_feupdateenv.
13859
4855e3dd
UD
13860 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13861 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13862 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13863 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13864 libc_feholdexcept_setround.
13865
581d30e3
UD
13866 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13867 Add s_nearbyint-c and s_nearbyintf-c.
13868 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13869 nearbyintf inlines.
13870 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13873 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13874
d38f1dba
UD
13875 * math/math_private.h: Define defaults for libc_fegetround,
13876 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13877 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13878 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13879 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13880 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13881 standard functions.
13882 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13883 Remove comments and hacks for old compiler versions.
13884 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13885 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13886 libc_feholdexceptl.
13887
caa6c9d8
AS
138882011-10-18 Andreas Schwab <schwab@redhat.com>
13889
13890 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13891 (__feraiseexcept_renamed): Add __NTH.
13892 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13893 namespace violations.
13894
97c066e6
UD
138952011-10-17 Ulrich Drepper <drepper@gmail.com>
13896
99ce7b04
UD
13897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13898
1004d182
UD
13899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13900
228a984d
UD
13901 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13902 recently added interfaces.
13903 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13904
c8553a6a
UD
13905 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13906 about macro parameter expansion.
13907
ed22dcf6
UD
13908 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13909 __NO_MATH_INLINES is defined. Cleanups.
13910
13911 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13912 and __floorf is target has SSE4.1.
13913 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13914 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13915 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13916 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13917
b171c137
UD
13918 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13919 name.
13920 (floorf): Likewise.
13921
97c066e6
UD
13922 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13923
629f62ef
AS
139242011-10-17 Andreas Schwab <schwab@redhat.com>
13925
49a43d80
AS
13926 * misc/sys/cdefs.h: Fix last change.
13927
629f62ef
AS
13928 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13929 database lookup.
13930
e453f6cd
UD
139312011-10-16 Ulrich Drepper <drepper@gmail.com>
13932
aa78043a
UD
13933 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13934
ad0f5cad
UD
13935 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13941 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13943 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13944 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13945 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13947 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13949 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13952 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13953 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13955 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13957
13958 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13959 ceil, ceilf, floor, floorf.
13960
13961 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13962 Perform IRELATIVE relocations last.
13963
e453f6cd
UD
13964 * elf/do-rel.h: Add another parameter nrelative, replacing the
13965 local variable with the same name. Change name of the function
13966 to end in Rel or Rela (uppercase).
13967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13968 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13969 elf_dynamic_do_##reloc function.
13970
fd5bdc09
UD
139712011-10-15 Ulrich Drepper <drepper@gmail.com>
13972
79b195b5
UD
13973 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13974 is sufficient, at least on modern CPUs.
13975
d4a28569
UD
13976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13977
b61099b5
UD
13978 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13979 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13980
bcf01e6d
UD
13981 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13982 __expl_finite.
13983 * math/bits/math-finite.h: Add entries for exp.
13984 * math/e_expl.c: Add __*_finite alias.
13985 * sysdeps/i386/fpu/e_exp.S: Likewise.
13986 * sysdeps/i386/fpu/e_expf.S: Likewise.
13987 * sysdeps/i386/fpu/e_expl.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13989 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13993 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13995
ba1a0d59
UD
13996 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13997 is sufficient, at least on modern CPUs.
13998
fd5bdc09
UD
13999 * ctype/ctype-info.c (__ctype_init): Define.
14000 * include/ctype.h (__ctype_init): Declare.
14001 (__ctype_b_loc): The variable is always initialized.
14002 (__ctype_toupper_loc): Likewise.
14003 (__ctype_tolower_loc): Likewise.
14004 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14005 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14006
7872cfb0
AS
140072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14008
b468825a
AS
14009 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14010
7872cfb0
AS
14011 * configure.in: Also look in $cxxmachine/include for C++ system
14012 headers.
14013
be13f7bf
LD
140142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14015
14016 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14017 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14018 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14019 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14020 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14021 (USE_AS_WMEMCMP): New macro.
14022 Fixing indents.
14023 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14024 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14025 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14026 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14028 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14029 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14030 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14031 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14032 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14033 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14034 (USE_AS_WMEMCMP): New macro.
14035 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14036 * sysdeps/string/test-memcmp.c: Update.
14037 Fix simple_wmemcmp.
14038 Add new tests.
14039 * wcsmbs/wmemcmp.c: Update.
14040 (WMEMCMP): New macro.
14041 Fix overflow bug.
14042
556a2007
AJ
140432011-10-12 Andreas Jaeger <aj@suse.de>
14044
14045 [BZ #13268]
14046 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14047
538faaa7
UD
140482011-10-15 Ulrich Drepper <drepper@gmail.com>
14049
ab6737ff
UD
14050 * libio/iofwide.c (do_length): Avoid warning.
14051
538faaa7
UD
14052 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14053
396a21b1
UD
140542011-10-14 Ulrich Drepper <drepper@gmail.com>
14055
cdf2901f
UD
14056 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14057
38ad40ce
UD
14058 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14059 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14060 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14061 * sysdeps/i386/i686/fpu/e_log.S: New file.
14062 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14063 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14064
396a21b1
UD
14065 * ctype/ctype.h: Add support for inlined isXXX functions when
14066 compiling C++ code.
14067
6b1f68c9
AS
140682011-10-14 Andreas Schwab <schwab@redhat.com>
14069
349290c0
AS
14070 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14071
6b1f68c9
AS
14072 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14073
f2282d42
RM
140742011-10-13 Roland McGrath <roland@hack.frob.com>
14075
14076 [BZ #13291]
14077 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14078
5298ffa8
AS
140792011-10-13 Andreas Schwab <schwab@redhat.com>
14080
714fad23
AS
14081 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14082 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14083 feraiseexcept.
14084
81dcc7fb
AS
14085 * sysdeps/x86_64/memrchr.S: Check for zero size.
14086
5298ffa8
AS
14087 * string/stratcliff.c: Add memrchr tests.
14088
951fbcec
LD
140892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14090
14091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14092 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14093 rawmemchr-sse2 rawmemchr-sse2-bsf.
14094 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14095 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14096 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14097 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14098 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14099 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14100 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14101 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14102 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14103 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14104 * string/memrchr.c (MEMRCHR): New macro.
14105
0ac5ae23
UD
141062011-10-12 Ulrich Drepper <drepper@gmail.com>
14107
14108 Add integration with gcc's -ffinite-math-only and optimize wrapper
14109 functions in libm.
14110 * Versions.def: Define GLIBC_2.15 version for libm.
14111 * math/Makefile (headers): Add bits/math-finite.h.
14112 * math/bits/math-finite.h: New file.
14113 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14114 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14115 * math/e_acoshl.c: Add __*_finite alias.
14116 * math/e_acosl.c: Likewise.
14117 * math/e_asinl.c: Likewise.
14118 * math/e_atan2l.c: Likewise.
14119 * math/e_atanhl.c: Likewise.
14120 * math/e_coshl.c: Likewise.
14121 * math/e_exp10.c: Likewise.
14122 * math/e_exp10f.c: Likewise.
14123 * math/e_exp10l.c: Likewise.
14124 * math/e_exp2l.c: Likewise.
14125 * math/e_fmodl.c: Likewise.
14126 * math/e_gammal_r.c: Likewise.
14127 * math/e_hypotl.c: Likewise.
14128 * math/e_j0l.c: Likewise.
14129 * math/e_j1l.c: Likewise.
14130 * math/e_jnl.c: Likewise.
14131 * math/e_lgammal_r.c: Likewise.
14132 * math/e_log10l.c: Likewise.
14133 * math/e_log2l.c: Likewise.
14134 * math/e_logl.c: Likewise.
14135 * math/e_powl.c: Likewise.
14136 * math/e_sinhl.c: Likewise.
14137 * math/e_sqrtl.c: Likewise.
14138 * math/e_scalb.c: Completely rewritten and optimized.
14139 * math/e_scalbf.c: Likewise.
14140 * math/e_scalbl.c: Likewise.
14141 * math/w_acos.c: Likewise.
14142 * math/w_acosf.c: Likewise.
14143 * math/w_acosl.c: Likewise.
14144 * math/w_acosh.c: Likewise.
14145 * math/w_acoshf.c: Likewise.
14146 * math/w_acoshl.c: Likewise.
14147 * math/w_asin.c: Likewise.
14148 * math/w_asinf.c: Likewise.
14149 * math/w_asinl.c: Likewise.
14150 * math/w_atan2.c: Likewise.
14151 * math/w_atan2f.c: Likewise.
14152 * math/w_atan2l.c: Likewise.
14153 * math/w_atanh.c: Likewise.
14154 * math/w_atanhf.c: Likewise.
14155 * math/w_atanhl.c: Likewise.
14156 * math/w_exp10.c: Likewise.
14157 * math/w_exp10f.c: Likewise.
14158 * math/w_exp10l.c: Likewise.
14159 * math/w_fmod.c: Likewise.
14160 * math/w_fmodf.c: Likewise.
14161 * math/w_fmodl.c: Likewise.
14162 * math/w_j0.c: Likewise.
14163 * math/w_j0f.c: Likewise.
14164 * math/w_j0l.c: Likewise.
14165 * math/w_j1.c: Likewise.
14166 * math/w_j1f.c: Likewise.
14167 * math/w_j1l.c: Likewise.
14168 * math/w_jn.c: Likewise.
14169 * math/w_jnf.c: Likewise.
14170 * math/w_log.c: Likewise.
14171 * math/w_logf.c: Likewise.
14172 * math/w_logl.c: Likewise.
14173 * math/w_log10.c: Likewise.
14174 * math/w_log10f.c: Likewise.
14175 * math/w_log10l.c: Likewise.
14176 * math/w_log2.c: Likewise.
14177 * math/w_log2f.c: Likewise.
14178 * math/w_log2l.c: Likewise.
14179 * math/w_pow.c: Likewise.
14180 * math/w_powf.c: Likewise.
14181 * math/w_powl.c: Likewise.
14182 * math/w_remainder.c: Likewise.
14183 * math/w_remainderf.c: Likewise.
14184 * math/w_remainderl.c: Likewise.
14185 * math/w_scalb.c: Likewise.
14186 * math/w_scalbf.c: Likewise.
14187 * math/w_scalbl.c: Likewise.
14188 * math/w_sqrt.c: Likewise.
14189 * math/w_sqrtf.c: Likewise.
14190 * math/w_sqrtl.c: Likewise.
14191 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14192 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14193 used.
14194 * math/math_private.h: Declare __kernel_standard_f.
14195 * math/w_cosh.c: Remove cruft and optimize a bit.
14196 * math/w_coshf.c: Likewise.
14197 * math/w_coshl.c: Likewise.
14198 * math/w_exp2.c: Likewise.
14199 * math/w_exp2f.c: Likewise.
14200 * math/w_exp2l.c: Likewise.
14201 * math/w_hypot.c: Likewise.
14202 * math/w_hypotf.c: Likewise.
14203 * math/w_hypotl.c: Likewise.
14204 * math/w_lgamma.c: Likewise.
14205 * math/w_lgamma_r.c: Likewise.
14206 * math/w_lgammaf.c: Likewise.
14207 * math/w_lgammaf_r.c: Likewise.
14208 * math/w_lgammal.c: Likewise.
14209 * math/w_lgammal_r.c: Likewise.
14210 * math/w_sinh.c: Likewise.
14211 * math/w_sinhf.c: Likewise.
14212 * math/w_sinhl.c: Likewise.
14213 * math/w_tgamma.c: Likewise.
14214 * math/w_tgammaf.c: Likewise.
14215 * math/w_tgammal.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14218 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14219 Minor optimizations. Pretty printing. Remove cruft.
14220 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14222 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14224 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14225 * sysdeps/i386/fpu/e_asin.S: Likewise.
14226 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14227 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14228 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14229 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14231 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14232 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14233 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14234 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14235 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14236 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14237 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14238 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14239 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14240 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14241 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14242 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14243 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14244 * sysdeps/i386/fpu/e_log.S: Likewise.
14245 * sysdeps/i386/fpu/e_log10.S: Likewise.
14246 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14248 * sysdeps/i386/fpu/e_log2.S: Likewise.
14249 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14250 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14251 * sysdeps/i386/fpu/e_logf.S: Likewise.
14252 * sysdeps/i386/fpu/e_logl.S: Likewise.
14253 * sysdeps/i386/fpu/e_pow.S: Likewise.
14254 * sysdeps/i386/fpu/e_powf.S: Likewise.
14255 * sysdeps/i386/fpu/e_powl.S: Likewise.
14256 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14257 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14258 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14259 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14262 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14263 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14264 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14265 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14266 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14286 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14287 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14288 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14289 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14290 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14292 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14294 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14296 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14298 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14299 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14300 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14301 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14302 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14303 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14304 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14305 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14306 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14348 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14350 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14356 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14358 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14359 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14360 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14361 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14362 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14363 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14364 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14365 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14366 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14367 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14368 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14370 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14371 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14372 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14373 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14375 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14376 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14377 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14378 (__isnanf): Likewise.
14379 (__isinf_ns): Likewise.
14380 (__isinf_nsf): Likewise.
14381 (__finite): Likewise.
14382 (__finitef): Likewise.
14383 (__ieee754_sqrt): Define as macro.
14384 (__ieee754_sqrtf): Define as macro.
14385 (__ieee754_sqrtl): Define as macro.
14386 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14387 inlined copy.
14388 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14389 __FINITE_MATH_ONLY__ consistent.
14390 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14391
12cc2fcd
AS
143922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14393
a843a204
AS
14394 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14395 of rawmemchr.
14396
12cc2fcd
AS
14397 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14398
c853acd5
UD
143992011-10-09 Ulrich Drepper <drepper@gmail.com>
14400
14401 * po/ja.po: Update from translation team.
14402
c658d255
RM
144032011-10-08 Roland McGrath <roland@hack.frob.com>
14404
110946e4
RM
14405 * locale/programs/locarchive.c (prepare_address_space): New function.
14406 (create_archive, enlarge_archive, open_archive): Use it.
14407
50604220
RM
14408 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14409 inside [SHARED], where it is used.
14410
c658d255
RM
14411 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14412
14413 * nss/getent.c (netgroup_keys): Remove unused variable.
14414 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14415
6a621eb7
UD
144162011-10-08 Ulrich Drepper <drepper@gmail.com>
14417
7edb55ce
UD
14418 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14419 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14422 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14423 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14424 * math/Makefile (libm-calls): Add s_isinf_ns.
14425 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14426 * math/multc3.c: Likewise.
14427 * math/s_casin.c: Likewise.
14428 * math/s_casinf.c: Likewise.
14429 * math/s_casinl.c: Likewise.
14430 * math/s_ccos.c: Likewise.
14431 * math/s_ccosf.c: Likewise.
14432 * math/s_ccosl.c: Likewise.
14433 * math/s_ctan.c: Likewise.
14434 * math/s_ctanf.c: Likewise.
14435 * math/s_ctanh.c: Likewise.
14436 * math/s_ctanhf.c: Likewise.
14437 * math/s_ctanhl.c: Likewise.
14438 * math/s_ctanl.c: Likewise.
14439 * math/w_fmod.c: Likewise.
14440 * math/w_fmodf.c: Likewise.
14441 * math/w_fmodl.c: Likewise.
14442 * math/w_remainder.c: Likewise.
14443 * math/w_remainderf.c: Likewise.
14444 * math/w_remainderl.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14446 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14449 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14450 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14451 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14452 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14453
187da0ae
UD
14454 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14455 of the number.
14456 * stdio-common/printf_fphex.c: Likewise.
14457 * stdio-common/printf_size.c: Likewise.
14458
9277c064
UD
14459 * math/e_exp10.c: Include math_private.h using <...> not "...".
14460 * math/e_exp10f.c: Likewise.
14461 * math/e_exp10l.c: Likewise.
14462 * math/e_exp2l.c: Likewise.
14463 * math/e_j0l.c: Likewise.
14464 * math/e_j1l.c: Likewise.
14465 * math/e_jnl.c: Likewise.
14466 * math/e_lgammal_r.c: Likewise.
14467 * math/e_rem_pio2l.c: Likewise.
14468 * math/e_scalb.c: Likewise.
14469 * math/e_scalbf.c: Likewise.
14470 * math/e_scalbl.c: Likewise.
14471 * math/k_cosl.c: Likewise.
14472 * math/k_sinl.c: Likewise.
14473 * math/k_tanl.c: Likewise.
14474 * math/s_cacoshf.c: Likewise.
14475 * math/s_catan.c: Likewise.
14476 * math/s_catanf.c: Likewise.
14477 * math/s_catanh.c: Likewise.
14478 * math/s_catanhf.c: Likewise.
14479 * math/s_catanhl.c: Likewise.
14480 * math/s_catanl.c: Likewise.
14481 * math/s_ccosh.c: Likewise.
14482 * math/s_ccoshf.c: Likewise.
14483 * math/s_ccoshl.c: Likewise.
14484 * math/s_cexp.c: Likewise.
14485 * math/s_cexpf.c: Likewise.
14486 * math/s_cexpl.c: Likewise.
14487 * math/s_clog.c: Likewise.
14488 * math/s_clog10.c: Likewise.
14489 * math/s_clog10f.c: Likewise.
14490 * math/s_clog10l.c: Likewise.
14491 * math/s_clogf.c: Likewise.
14492 * math/s_clogl.c: Likewise.
14493 * math/s_csin.c: Likewise.
14494 * math/s_csinf.c: Likewise.
14495 * math/s_csinh.c: Likewise.
14496 * math/s_csinhf.c: Likewise.
14497 * math/s_csinhl.c: Likewise.
14498 * math/s_csinl.c: Likewise.
14499 * math/s_csqrt.c: Likewise.
14500 * math/s_csqrtf.c: Likewise.
14501 * math/s_csqrtl.c: Likewise.
14502 * math/s_ctan.c: Likewise.
14503 * math/s_ctanf.c: Likewise.
14504 * math/s_ctanh.c: Likewise.
14505 * math/s_ctanhf.c: Likewise.
14506 * math/s_ctanhl.c: Likewise.
14507 * math/s_ctanl.c: Likewise.
14508 * math/s_ldexp.c: Likewise.
14509 * math/s_ldexpf.c: Likewise.
14510 * math/s_ldexpl.c: Likewise.
14511 * math/s_significand.c: Likewise.
14512 * math/s_significandf.c: Likewise.
14513 * math/s_significandl.c: Likewise.
14514 * math/w_acos.c: Likewise.
14515 * math/w_acosf.c: Likewise.
14516 * math/w_acosh.c: Likewise.
14517 * math/w_acoshf.c: Likewise.
14518 * math/w_acoshl.c: Likewise.
14519 * math/w_acosl.c: Likewise.
14520 * math/w_asin.c: Likewise.
14521 * math/w_asinf.c: Likewise.
14522 * math/w_asinl.c: Likewise.
14523 * math/w_atan2.c: Likewise.
14524 * math/w_atan2f.c: Likewise.
14525 * math/w_atan2l.c: Likewise.
14526 * math/w_atanh.c: Likewise.
14527 * math/w_atanhf.c: Likewise.
14528 * math/w_atanhl.c: Likewise.
14529 * math/w_cosh.c: Likewise.
14530 * math/w_coshf.c: Likewise.
14531 * math/w_coshl.c: Likewise.
14532 * math/w_dremf.c: Likewise.
14533 * math/w_exp10.c: Likewise.
14534 * math/w_exp10f.c: Likewise.
14535 * math/w_exp10l.c: Likewise.
14536 * math/w_exp2.c: Likewise.
14537 * math/w_exp2f.c: Likewise.
14538 * math/w_fmod.c: Likewise.
14539 * math/w_fmodf.c: Likewise.
14540 * math/w_fmodl.c: Likewise.
14541 * math/w_hypot.c: Likewise.
14542 * math/w_hypotf.c: Likewise.
14543 * math/w_hypotl.c: Likewise.
14544 * math/w_j0.c: Likewise.
14545 * math/w_j0f.c: Likewise.
14546 * math/w_j0l.c: Likewise.
14547 * math/w_j1.c: Likewise.
14548 * math/w_j1f.c: Likewise.
14549 * math/w_j1l.c: Likewise.
14550 * math/w_jn.c: Likewise.
14551 * math/w_jnf.c: Likewise.
14552 * math/w_jnl.c: Likewise.
14553 * math/w_lgamma.c: Likewise.
14554 * math/w_lgamma_r.c: Likewise.
14555 * math/w_lgammaf.c: Likewise.
14556 * math/w_lgammaf_r.c: Likewise.
14557 * math/w_lgammal.c: Likewise.
14558 * math/w_lgammal_r.c: Likewise.
14559 * math/w_log.c: Likewise.
14560 * math/w_log10.c: Likewise.
14561 * math/w_log10f.c: Likewise.
14562 * math/w_log10l.c: Likewise.
14563 * math/w_log2.c: Likewise.
14564 * math/w_log2f.c: Likewise.
14565 * math/w_log2l.c: Likewise.
14566 * math/w_logf.c: Likewise.
14567 * math/w_logl.c: Likewise.
14568 * math/w_pow.c: Likewise.
14569 * math/w_powf.c: Likewise.
14570 * math/w_powl.c: Likewise.
14571 * math/w_remainder.c: Likewise.
14572 * math/w_remainderf.c: Likewise.
14573 * math/w_remainderl.c: Likewise.
14574 * math/w_scalb.c: Likewise.
14575 * math/w_scalbf.c: Likewise.
14576 * math/w_scalbl.c: Likewise.
14577 * math/w_sinh.c: Likewise.
14578 * math/w_sinhf.c: Likewise.
14579 * math/w_sinhl.c: Likewise.
14580 * math/w_sqrt.c: Likewise.
14581 * math/w_sqrtf.c: Likewise.
14582 * math/w_sqrtl.c: Likewise.
14583 * math/w_tgamma.c: Likewise.
14584 * math/w_tgammaf.c: Likewise.
14585 * math/w_tgammal.c: Likewise.
14586
6a621eb7
UD
14587 * po/ja.po: Update from translation team.
14588
bf582445
AJ
145892011-09-29 Andreas Jaeger <aj@suse.de>
14590
f9efbf3a
AJ
14591 [BZ #13179]
14592 * sunrpc/netname.c (netname2host): Fix logic.
14593
bf582445
AJ
14594 [BZ #6779]
14595 [BZ #6783]
14596 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14597 correctly.
14598 * math/w_remainder.c (__remainder): Likewise.
14599 * math/w_remainderf.c (__remainderf): Likewise.
14600 * math/libm-test.inc (remainder_test): Add test cases.
14601
48693bea
AK
146022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14603
14604 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14605 sdiv_qrnnd.
14606
42622229
LD
146072011-10-07 Ulrich Drepper <drepper@gmail.com>
14608
14609 * string/test-memcmp.c: Avoid unncessary #defines.
14610 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14611
093ecf92
LD
146122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14613
14614 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14615 Use new sse2 version for core i3 - i7 as it's faster
14616 than sse42 version.
14617 (bit_Prefer_PMINUB_for_stringop): New.
14618 * sysdeps/x86_64/rawmemchr.S: Update.
14619 Replace with faster SSE2 version.
14620 * sysdeps/x86_64/memrchr.S: New file.
14621 * sysdeps/x86_64/memchr.S: Update.
14622 Replace with faster SSE2 version.
14623
fde56e5c
MP
146242011-09-12 Marek Polacek <mpolacek@redhat.com>
14625
14626 * elf/dl-load.c (lose): Add cast to avoid warning.
14627
21fd49a9
UD
146282011-10-07 Ulrich Drepper <drepper@gmail.com>
14629
5a06e643
UD
14630 * po/ca.po: Update from translation team.
14631
684ae515
UD
14632 * inet/getnetgrent_r.c: Hook up nscd.
14633 * nscd/Makefile (routines): Add nscd_netgroup.
14634 (nscd-modules): Add netgroupcache.
14635 (CFLAGS-netgroupcache.c): Define.
14636 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14637 (cache_search): Add const to second parameter.
14638 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14639 INNETGR.
14640 (dbs): Add netgrdb entry.
14641 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14642 (verify_persistent_db): Handle netgrdb.
14643 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14644 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14645 GETFDNETGR.
14646 (netgroup_response_header): Define.
14647 (innetgroup_response_header): Define.
14648 (datahead): Add netgroup_response_header and innetgroup_response_header
14649 elements.
14650 * nscd/nscd.conf: Add entries for netgroup cache.
14651 * nscd/nscd.h (dbtype): Add netgrdb.
14652 (_PATH_NSCD_NETGROUP_DB): Define.
14653 (netgroup_iov_disabled): Declare.
14654 (xmalloc, xcalloc, xrealloc): Move declarations here.
14655 (cache_search): Adjust prototype.
14656 Add netgroup-related prototypes.
14657 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14658 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14659 (__nscd_innetgr): Declare.
14660 * nscd/selinux.c (perms): Use access_vector_t as element type and
14661 add netgroup-related initializers.
14662 * nscd/netgroupcache.c: New file.
14663 * nscd/nscd_netgroup.c: New file.
14664 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14665 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14666 For four parameters use innetgr.
14667 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14668 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14669 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14670 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14671
21fd49a9
UD
14672 * nscd/connections.c (register_traced_file): Don't register file
14673 for disabled databases.
14674
054c0457
UD
146752011-10-06 Ulrich Drepper <drepper@gmail.com>
14676
32b63198
UD
14677 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14678
054c0457
UD
14679 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14680 from tree and freeing node.
14681
64031225
JO
146822011-09-25 Jiri Olsa <jolsa@redhat.com>
14683
14684 * nss/nsswitch.c (__nss_database_lookup): Handle
14685 nss_parse_service_list out of memory case.
14686
0490345c
JO
146872011-09-15 Jiri Olsa <jolsa@redhat.com>
14688
14689 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14690 out of memory case.
14691
3a62d00d
AS
146922011-10-04 Andreas Schwab <schwab@redhat.com>
14693
14694 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14695 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14696 pass it down.
14697 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14698 elf_machine_rela, elf_machine_lazy_rel.
14699 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14700 (ELF_DYNAMIC_DO_REL): Likewise.
14701 (ELF_DYNAMIC_DO_RELA): Likewise.
14702 (ELF_DYNAMIC_RELOCATE): Likewise.
14703 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14704 to ELF_DYNAMIC_DO_REL.
14705 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14706 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14707 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14708 elf_machine_rela.
14709 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14710 skip_ifunc, don't call ifunc function if non-zero.
14711 (elf_machine_rela): Likewise.
14712 (elf_machine_lazy_rel): Likewise.
14713 (elf_machine_lazy_rela): Likewise.
14714 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14715 (elf_machine_lazy_rel): Likewise.
14716 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14717 Likewise.
14718 (elf_machine_lazy_rel): Likewise.
14719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14720 Likewise.
14721 (elf_machine_lazy_rel): Likewise.
14722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14723 (elf_machine_lazy_rel): Likewise.
14724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14725 (elf_machine_lazy_rel): Likewise.
14726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14727 (elf_machine_lazy_rel): Likewise.
14728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14729 (elf_machine_lazy_rel): Likewise.
14730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14731 (elf_machine_lazy_rel): Likewise.
14732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14733 (elf_machine_lazy_rel): Likewise.
14734
68577918
UD
147352011-09-28 Ulrich Drepper <drepper@gmail.com>
14736
14737 * nss/nss_files/files-init.c (_nss_files_init): Use static
14738 initialization for all the *_traced_file variables.
14739
68822d74
AS
147402011-09-28 Andreas Schwab <schwab@redhat.com>
14741
14742 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14743
2056100b
RM
147442011-09-27 Roland McGrath <roland@hack.frob.com>
14745
14746 [BZ #13226]
14747 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14748
32c76b63
AS
147492011-09-27 Andreas Schwab <schwab@redhat.com>
14750
14751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14752 Reread the line before reparsing it.
14753
bf972c9d
AS
147542011-09-26 Andreas Schwab <schwab@redhat.com>
14755
14756 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14757
e057a1b5
JM
147582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14759 Maxim Kuvyrkov <maxim@codesourcery.com>
14760 Joseph Myers <joseph@codesourcery.com>
14761
14762 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14763 if needed for __stack_chk_guard.
14764
bc7e1c36
RM
147652011-09-19 Roland McGrath <roland@hack.frob.com>
14766
ecb1482f
RM
14767 * sysdeps/posix/spawni.c (script_execute): Always define it.
14768 It will be optimized away if unused.
14769 (maybe_script_execute): New function.
14770 (__spawni): Call it.
14771
bc7e1c36
RM
14772 * Makerules: Don't include tls.make.
14773 (config-tls): Always set to thread.
14774 * tls.make.c: File removed.
14775
1c3b002b
MF
147762011-09-19 Mike Frysinger <vapier@gentoo.org>
14777
14778 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14779 * config.make.in (CPPFLAGS-config): New substituted variable.
14780
2840865d
UD
147812011-09-15 Ulrich Drepper <drepper@gmail.com>
14782
88738eb6
UD
14783 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14784
cbf645a6 14785 [BZ #13192]
2840865d
UD
14786 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14787 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14788
b402e91a
RM
147892011-09-15 Roland McGrath <roland@hack.frob.com>
14790
14791 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14792 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14794 (CALL_FAIL): Likewise.
14795 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14796 (CALL_FAIL): Macro removed.
14797 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14798
4c1a1f71
UD
147992011-09-15 Ulrich Drepper <drepper@gmail.com>
14800
14801 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14802 for __FINITE_MATH_ONLY__ == 1.
14803
edc121be
AS
148042011-09-15 Andreas Schwab <schwab@redhat.com>
14805
14806 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14807 __ieee754_sqrt instead of sqrt.
14808 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14809 __ieee754_sqrtf instead of sqrtf.
14810 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14811 __floorf instead of floorf.
14812 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14813 __floorf, __truncf instead of floorf, truncf.
14814
cd205654
UD
148152011-09-14 Ulrich Drepper <drepper@gmail.com>
14816
ee4d0315
UD
14817 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14818
cd205654
UD
14819 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14820 __extern_always_inline.
14821 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14822 32-bit.
14823
48b67d71
AS
148242011-09-14 Andreas Schwab <schwab@redhat.com>
14825
14826 * elf/rtld.c (dl_main): Also relocate in dependency order when
14827 doing symbol dependency testing.
14828
1ae12c75
AS
148292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14830
14831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14832 Always define `refsym'.
14833
995a80df
AS
148342011-09-13 Andreas Schwab <schwab@redhat.com>
14835
e529793b
AS
14836 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14837 (__FD_ELT): Renamed from __FDELT.
14838 * misc/bits/select2.h (__FD_ELT): Likewise.
14839 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14840 __FD_MASK instead of __FDELT, __FDMASK.
14841 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14842 Likewise.
14843 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14844 Likewise.
14845
52d4fef8
AS
14846 * elf/Makefile (gen-ldd): Fix pattern.
14847
995a80df
AS
14848 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14849 (init_tls): Likewise.
14850
8682f8b0
UD
148512011-09-12 Ulrich Drepper <drepper@gmail.com>
14852
14853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14854
de82006d
AS
148552011-09-12 Andreas Schwab <schwab@redhat.com>
14856
a7c8e6a1
AS
14857 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14858 `struct cmsghdr *' instead of `void *'.
14859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14860 Likewise.
14861
0f31fe77
AS
148622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14863
14864 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14865 if non-absolute.
14866 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14867 ldd_rewrite_script.
0f31fe77 14868
32b4c839
UD
148692011-09-11 Ulrich Drepper <drepper@gmail.com>
14870
83cd1420
UD
14871 * configure.in: Remove --with-tls option.
14872 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14873 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14874 out in case it is missing.
14875 * sysdeps/ia64/elf/configure.in: Likewise.
14876 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14877 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14878 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14879 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14880 * sysdeps/sh/elf/configure.in: Likewise.
14881 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14882 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14883 * sysdeps/x86_64/elf/configure.in: Likewise.
14884 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14885 * sysdeps/mach/hurd/tls.h: Likewise.
14886
633f745d
UD
14887 [BZ #13067]
14888 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14889
f318beb8
UD
14890 [BZ #13090]
14891 * configure.in: Fix use of AC_INIT.
14892
32b4c839
UD
14893 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14894
3ce1f295
UD
148952011-09-10 Ulrich Drepper <drepper@gmail.com>
14896
bb016596
UD
14897 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14898 __set_errno.
8e58439c
UD
14899 * malloc/hooks.c: Likewise.
14900
aebae053 14901 [BZ #11929]
02d46fc4
UD
14902 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14903 variables statically.
14904 (narenas): Initialize.
14905 (list_lock): Initialize.
bb016596
UD
14906 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14907 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14908 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14909 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14910 Add initializers to main_arena and mp_.
14911 (malloc_state): Remove pagesize member. Change all users to use
14912 GLRO(dl_pagesize).
14913
14914 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14915 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14916 is always initialized.
14917
22a89187
UD
14918 * malloc/malloc.c: Removed unused configurations and dead code.
14919 * malloc/arena.c: Likewise.
14920 * malloc/hooks.c: Likewise.
02d46fc4 14921 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14922
d063d164
UD
14923 * include/tls.h: Removed. USE___THREAD must always be defined.
14924 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14925 * elf/dl-libc.c: Likewise.
14926 * elf/dl-tsd.c: Likewise.
14927 * include/errno.h: Likewise.
14928 * include/netdb.h: Likewise.
14929 * include/resolv.h: Likewise.
14930 * inet/herrno-loc.c: Likewise.
14931 * inet/herrno.c: Likewise.
14932 * malloc/arena.c: Likewise.
14933 * malloc/hooks.c: Likewise.
14934 * malloc/malloc.c: Likewise.
14935 * resolv/res-state.c: Likewise.
14936 * resolv/res_libc.c: Likewise.
14937 * sysdeps/i386/dl-machine.h: Likewise.
14938 * sysdeps/ia64/dl-machine.h: Likewise.
14939 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14940 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14941 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14942 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14943 * sysdeps/sh/dl-machine.h: Likewise.
14944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14946 * sysdeps/unix/i386/sysdep.S: Likewise.
14947 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14948 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14953 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14957 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14958 * sysdeps/x86_64/dl-machine.h: Likewise.
14959 * tls.make.c: Likewise.
14960
3ce1f295
UD
14961 * configure.in: Remove --with-__thread option. Make tests for
14962 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14963 tls_model attribute fail if no support is available. Remove
14964 USE_IN_LIBIO.
14965 * Makeconfig: Adjust for dropped configure option. All features are
14966 now mandatory.
14967 * Makerules: Likewise.
14968 * Versions.def: Likewise.
14969 * argp/argp-fmtstream.c: Likewise.
14970 * argp/argp-fmtstream.h: Likewise.
14971 * argp/argp-help.c: Likewise.
14972 * assert/assert.c: Likewise.
14973 * config.h.in: Likewise.
14974 * config.make.in: Likewise.
14975 * configure: Likewise.
14976 * configure.in: Likewise.
14977 * csu/Versions: Likewise.
14978 * csu/init.c: Likewise.
14979 * elf/tst-audit2.c: Likewise.
14980 * elf/tst-tls10.c: Likewise.
14981 * elf/tst-tls10.h: Likewise.
14982 * elf/tst-tls11.c: Likewise.
14983 * elf/tst-tls12.c: Likewise.
14984 * elf/tst-tls14.c: Likewise.
14985 * elf/tst-tlsmod11.c: Likewise.
14986 * elf/tst-tlsmod12.c: Likewise.
14987 * elf/tst-tlsmod13.c: Likewise.
14988 * elf/tst-tlsmod13a.c: Likewise.
14989 * elf/tst-tlsmod14a.c: Likewise.
14990 * elf/tst-tlsmod15b.c: Likewise.
14991 * elf/tst-tlsmod16a.c: Likewise.
14992 * elf/tst-tlsmod16b.c: Likewise.
14993 * elf/tst-tlsmod7.c: Likewise.
14994 * elf/tst-tlsmod8.c: Likewise.
14995 * elf/tst-tlsmod9.c: Likewise.
14996 * gmon/gmon.c: Likewise.
14997 * grp/fgetgrent_r.c: Likewise.
14998 * grp/putgrent.c: Likewise.
14999 * hurd/fopenport.c: Likewise.
15000 * include/libc-symbols.h: Likewise.
15001 * include/tls.h: Likewise.
15002 * intl/gettextP.h: Likewise.
15003 * intl/loadinfo.h: Likewise.
15004 * locale/global-locale.c: Likewise.
15005 * locale/localeinfo.h: Likewise.
15006 * mach/devstream.c: Likewise.
15007 * malloc/arena.c: Likewise.
15008 * malloc/set-freeres.c: Likewise.
15009 * misc/err.c: Likewise.
15010 * misc/getttyent.c: Likewise.
15011 * misc/mntent_r.c: Likewise.
15012 * posix/getopt.c: Likewise.
15013 * posix/wordexp.c: Likewise.
15014 * pwd/fgetpwent_r.c: Likewise.
15015 * resolv/Versions: Likewise.
15016 * resolv/res_hconf.c: Likewise.
15017 * shadow/fgetspent_r.c: Likewise.
15018 * shadow/putspent.c: Likewise.
15019 * stdio-common/printf_fphex.c: Likewise.
15020 * stdio-common/tmpfile.c: Likewise.
15021 * stdlib/abort.c: Likewise.
15022 * stdlib/fmtmsg.c: Likewise.
15023 * sunrpc/auth_unix.c: Likewise.
15024 * sunrpc/clnt_perr.c: Likewise.
15025 * sunrpc/clnt_tcp.c: Likewise.
15026 * sunrpc/clnt_udp.c: Likewise.
15027 * sunrpc/clnt_unix.c: Likewise.
15028 * sunrpc/openchild.c: Likewise.
15029 * sunrpc/svc_simple.c: Likewise.
15030 * sunrpc/svc_tcp.c: Likewise.
15031 * sunrpc/svc_udp.c: Likewise.
15032 * sunrpc/svc_unix.c: Likewise.
15033 * sunrpc/xdr.c: Likewise.
15034 * sunrpc/xdr_array.c: Likewise.
15035 * sunrpc/xdr_rec.c: Likewise.
15036 * sunrpc/xdr_ref.c: Likewise.
15037 * sunrpc/xdr_stdio.c: Likewise.
15038
1248c1c4
PB
150392011-09-09 Ulrich Drepper <drepper@gmail.com>
15040
15041 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15042
150432011-07-03 Andreas Jaeger <aj@suse.de>
15044
15045 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15046 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15047 regenerate with gen-libm-tests.pl.
15048
150492010-05-12 Petr Baudis <pasky@suse.cz>
15050
15051 [BZ #11589]
15052 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15053 around j0() zero points by switching to j1().
15054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15058
f22e1074
UD
150592011-09-09 Ulrich Drepper <drepper@gmail.com>
15060
f19009c1
UD
15061 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15062 instead of 0.
15063 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15064 instead of 0. .
15065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15066 Patch in part by Pavel Roskin <proski@gnu.org>.
15067
3f8cc204
UD
15068 [BZ #13138]
15069 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15070 realloc.
15071 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15072 Free memory block if necessary.
15073
f22e1074
UD
15074 [BZ #12847]
15075 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15076 be NULL. Don't lock in this case.
15077
0a2349f9
RM
150782011-09-09 Roland McGrath <roland@hack.frob.com>
15079
15080 * elf/elf.h (ELFOSABI_GNU): New macro.
15081 (ELFOSABI_LINUX): Define to that.
15082
f3cdd467
DZ
150832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15084
15085 * string/strncat.c (strncat): Undef the symbol in case it has been
15086 defined in bits/string.h.
15087
74718d13
UD
150882011-09-09 Ulrich Drepper <drepper@gmail.com>
15089
633e9e0f
UD
15090 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15091
0a2349f9 15092 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15093 link map.
15094
f9924780
AJ
150952011-08-17 Andreas Jaeger <aj@suse.de>
15096
15097 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15098
7f5517aa
PP
150992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15100 Ian Lance Taylor <iant@google.com>
15101
15102 * math/libm-test.inc (lround_test): New testcase.
15103 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15104
762011fe
UD
151052011-09-08 Ulrich Drepper <drepper@gmail.com>
15106
92963737
UD
15107 * Makefile: Remove support for automatic cvs check-ins.
15108 * Makerules: Likewise.
15109 * config.make.in: Likewise.
15110 * configure.in: Likewise.
15111 * intl/Makefile: Likewise.
15112 * locale/Makefile: Likewise.
15113 * po/Makefile: Likewise.
15114 * posix/Makefile: Likewise.
15115 * sysdeps/gnu/Makefile: Likewise.
15116 * sysdeps/mach/hurd/Makefile: Likewise.
15117 * sysdeps/sparc/sparc32/Makefile: Likewise.
15118
b0727fd8
JS
15119 [BZ #13118]
15120 * posix/Makefile (bug-regex32-ENV): Define.
15121 Patch by John Stanley <jpsinthemix@verizon.net>.
15122
a0f33f99
UD
15123 * misc/Makefile (headers): Add bits/select2.h.
15124 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15125 * misc/bits/select2.h: New file.
15126 * include/bits/select2.h: New file.
15127 * debug/Makefile (routines): Add fdelt_chk.
15128 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15129 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15130 FD_ISSET.
15131 * debug/fdelt_chk.c: New file.
15132
762011fe
UD
15133 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15134 * wcsmbs/test-wmemcmp.c: Likewise.
15135 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15136 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15137
151382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15139
15140 * string/Makefile (strop-tests): Add memcmp.
15141 * string/test-wmemcmp.c: New file.
15142 * string/test-memcmp.c: Add wmemcmp support.
15143
7f513ec8
RM
151442011-09-08 Roland McGrath <roland@hack.frob.com>
15145
0442afb4
RM
15146 [BZ #13153]
15147 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15148 2011-07-19 change.
15149
7f513ec8
RM
15150 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15151 garbage value in a __mach_port_mod_refs call in the cases of the
15152 task-self and thread-self ports.
15153
a12b2239
ST
151542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15155
15156 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15157
610f9ab4
AS
151582011-09-08 Andreas Schwab <schwab@redhat.com>
15159
7f513ec8 15160 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15161
48882a1a
LD
151622011-09-07 Ulrich Drepper <drepper@gmail.com>
15163
b49865be
UD
15164 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15165
fdc86bc9
UD
15166 * elf/dl-libc.c (dlerror_run): Pass back error code from
15167 dl_catch_error.
15168
c966526a
UD
15169 [BZ #13123]
15170 * elf/dl-load.c (lose): Free l_origin if it is valid.
15171
48882a1a
LD
15172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15173 names.
15174 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15177 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15179 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15180
77a2a8b4
AZ
151812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15182
15183 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15184 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15185 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15186 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15187 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15188 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15189 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15190 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15191 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15192 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15193
24f579d8
AM
151942011-08-15 Alan Modra <amodra@gmail.com>
15195
15196 [BZ #13092]
15197 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15198 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15199 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15200 ppc_mcount to static-only-routines.
15201 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15202 __mcount_internal.
15203 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15204 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15205
3d4837df
UD
152062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15207
15208 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15209 for finite and infinity parameters.
15210
22700377
WS
152112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15212
15213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15214 and add nop instructions for throughput optimization.
15215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15216
5025581e
WS
152172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15218
15219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15220 aligned copy for power7 with vector-scalar instructions.
15221 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15222
08a300c9
L
152232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15224
15225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15226 AVX check.
15227
59178ef9
AS
152282011-09-07 Andreas Schwab <schwab@redhat.com>
15229
15230 [BZ #13144]
15231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15232 last change.
15233
e38ba7ab
UD
152342011-09-07 Ulrich Drepper <drepper@gmail.com>
15235
15236 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15237 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15238 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15240 clock_gettime.
15241
d53a73ac
UD
152422011-09-06 Ulrich Drepper <drepper@gmail.com>
15243
fc8bffcc
UD
15244 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15245 Forgot to demangle the pointer.
15246
ceaa0c5d
UD
15247 * sysdeps/i386/sysdep.h: Define atom_text_section.
15248 * sysdeps/x86_64/sysdep.h: Likewise.
15249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15250 section with atom_text_section.
15251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15252 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15253 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15255 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15256
a77d3c17
UD
15257 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15259 already be defined. Change to take two parameters and don't assign
15260 result to variable. Adjust all users.
15261 Define INTERNAL_GETTIME if not already defined.
15262 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15263 call.
15264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15265 HAVE_CLOCK_GETTIME_VSYSCALL.
15266 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15267
d53a73ac
UD
15268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15269 gettimeofday vsyscall, just use time.
15270
a8f84144
AS
152712011-09-06 Andreas Schwab <schwab@redhat.com>
15272
15273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15274 <errno.h>.
15275
ef606249
UD
152762011-09-06 Ulrich Drepper <drepper@gmail.com>
15277
15278 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15279 syscall on x86-64.
15280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15281 syscall.
15282 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15284 syscall if possible.
15285
6585cb60
UD
152862011-09-05 Ulrich Drepper <drepper@gmail.com>
15287
15288 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15289 e_ident. Don't pass to find_mapsXX.
15290 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15291
a5f524e4
LD
152922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15293
15294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15295 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15296 * sysdeps/x86_64/multiarch/strchr.S: Update.
15297 Check bit_slow_BSF bit.
15298 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15299 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15300 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15301
554881ef
UD
153022011-09-05 Ulrich Drepper <drepper@gmail.com>
15303
d96de963
UD
15304 [BZ #13134]
15305 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15306 before glibc 2.15.
15307 (tryshell): Define.
15308 (__spawni): Change last parameter to be flag. Test
15309 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15310 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15311 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15312 * posix/spawni.c: Likewise.
15313 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15314 * posix/spawnp.c: Likewise. Change normal version to use
15315 SPAWN_XFLAGS_USE_PATH.
15316 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15317 SPAWN_XFLAGS_TRY_SHELL.
15318
d48e5868
UD
15319 [BZ #13150]
15320 * posix/glob.h: Remove gcc 1.x support.
15321
554881ef
UD
15322 [BZ #13068]
15323 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15324
693fb948
LD
153252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15326
15327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15328 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15329 strrchr-sse2-bsf
15330 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15331 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15332 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15333 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15334 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15336
1b48c537
UD
153372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15338
49d42c37
UD
15339 * sysdeps/x86_64/wcscmp.S: New file.
15340
1b48c537
UD
15341 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15342 wcscmp-c wcscmp-sse2
15343 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15344 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15345 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15346 * wcsmbs/wcscmp.c: Allow renaming.
15347
15c95c5d
DM
153482011-09-05 David S. Miller <davem@davemloft.net>
15349
15350 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15351 stack slot, rather than the struct return pointer slot.
15352 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15353 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15355 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15356
2f0ad8f3
UD
153572011-09-05 Ulrich Drepper <drepper@gmail.com>
15358
d88ae418
UD
15359 * po/ja.po: Update from translation team.
15360
2f0ad8f3
UD
15361 [BZ #13144]
15362 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15363 kernel in 64-bit binaries.
15364
5f4318d1
DM
153652011-09-01 David S. Miller <davem@davemloft.net>
15366
15367 * elf/elf.h (HWCAP_SPARC_*): Move to..
15368 * sysdeps/sparc/sysdep.h: this new file and add new values.
15369 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15370 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15371 _DL_HWCAP_COUNT to 24.
15372 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15373 entries.
15374 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15375 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15376 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15378 instead of magic constants.
15379 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15380
3ba57516
DM
153812011-08-31 David S. Miller <davem@davemloft.net>
15382
15383 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15385 Reimplement to do errno handling inline.
15386 (SYSCALL_ERROR_HANDLER): New macro.
15387 (__SYSCALL_STRING): Do not do errno handling in asm.
15388 (__CLONE_SYSCALL_STRING): Delete.
15389 (__INTERNAL_SYSCALL_STRING): Delete.
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15391 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15392 (PSEUDO): Reimplement to do errno handling inline.
15393 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15394 (SYSCALL_ERROR_HANDLER): New macro.
15395 (__SYSCALL_STRING): Do not do errno handling in asm.
15396 (__CLONE_SYSCALL_STRING): Delete.
15397 (__INTERNAL_SYSCALL_STRING): Delete.
15398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15399 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15400 i386.
15401 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15402 (inline_syscall*): Add 'err' argument.
15403 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15404 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15405 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15406 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15407
15408 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15409 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15410
2bc17433
AS
154112011-08-30 Andreas Schwab <schwab@redhat.com>
15412
15413 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15414
fbeb5f4d
JO
154152011-08-29 Jiri Olsa <jolsa@redhat.com>
15416
15417 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15418 directive.
15419
ad69cc26
DM
154202011-08-24 David S. Miller <davem@davemloft.net>
15421
15422 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15423
39dd69df
AS
154242011-08-24 Andreas Schwab <schwab@redhat.com>
15425
15426 * elf/Makefile: Add rules to build and run unload8 test.
15427 * elf/unload8.c: New file.
15428 * elf/unload8mod1.c: New file.
15429 * elf/unload8mod1x.c: New file.
15430 * elf/unload8mod2.c: New file.
15431 * elf/unload8mod3.c: New file.
15432
15433 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15434 it wasn't used.
15435
2c0b250a
DM
154362011-08-23 David S. Miller <davem@davemloft.net>
15437
15438 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15439 subtract stack bias.
15440 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15441 %sp not %fp in calculations.
15442 (_JMPBUF_UNWINDS_ADJ): Likewise.
15443
22044b48
DM
15444 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15445 (aio_suspend): Call it to force an exception region around the
15446 AIO_MISC_WAIT() invocation.
15447
2cae4995
AS
154482011-08-23 Andreas Schwab <schwab@redhat.com>
15449
15450 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15451 backslash.
15452
873a772e
AJ
154532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15454
15455 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15456 protection macro.
15457 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15458 and <dl-machine.h>.
15459 (Elf64_FuncDesc): Remove.
15460
25ad0df1
DM
154612011-08-22 David S. Miller <davem@davemloft.net>
15462
15463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15464 sigaltstack check, add missing cfi directives.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15466 missing cfi directives, and sigaltstack handling.
15467
e888bcbe
AS
154682011-08-16 Andreas Schwab <schwab@redhat.com>
15469
15470 [BZ #11724]
15471 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15472 object is seen twice.
15473 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15474
15475 * elf/Makefile (distribute): Add tst-initorder2.c.
15476 (tests): Add tst-initorder2.
15477 (modules-names): Add tst-initorder2a tst-initorder2b
15478 tst-initorder2c tst-initorder2d. Add rules to build them.
15479 ($(objpfx)tst-initorder2.out): New rule.
15480 * elf/tst-initorder2.c: New file.
15481 * elf/tst-initorder2.exp: New file.
15482
87162f46
AS
154832011-08-22 Andreas Schwab <schwab@redhat.com>
15484
70538b7f
AS
15485 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15486
f55ffe58
AS
15487 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15488 dependencies back to end of function.
15489
87162f46
AS
15490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15491 $(elfobjdir)/ld.so.
15492
91b392a4
UD
154932011-08-21 Ulrich Drepper <drepper@gmail.com>
15494
15495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15496 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15498 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15499 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15500 of __vdso_gettimeofday.
15501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15502 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15503 attribute_hidden.
15504 (_libc_vdso_platform_setup): Remove initialization of
15505 __vdso_gettimeofday and __vdso_time.
15506
5c43483f
UD
155072011-08-20 Ulrich Drepper <drepper@gmail.com>
15508
775a77e7
UD
15509 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15510 and fgetc_unlocked.
15511 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15512 getc_unlocked.
89f447ed 15513
49c74ba9
UD
15514 * elf/dl-open.c (add_to_global): Report additions to the global scope
15515 for LD_DEBUG=scopes.
15516 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15517 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15518
5c43483f
UD
15519 [BZ #13114]
15520 * stdio-common/Makefile (tests): Add bug24.
15521 * stdio-common/bug24.c: New file.
15522
a101b025
AJ
155232011-08-19 Andreas Jaeger <aj@suse.de>
15524
15525 [BZ #13114]
15526 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15527 non-existant file when using close-on-exec mode.
15528
c88f1766
UD
155292011-08-20 Ulrich Drepper <drepper@gmail.com>
15530
0276a718
UD
15531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15532 the very first instruction.
15533
c88f1766
UD
15534 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15535 the CFI state in the end.
15536 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15537 inclusion of dl-trampoline.h.
15538 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15539
51ccffa0
AS
155402011-08-19 Andreas Schwab <schwab@redhat.com>
15541
94d7165f
AS
15542 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15543 expectations for long double.
15544
51ccffa0
AS
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15546 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15547
fd708658 155482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15549
15550 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15551 artificual limit depends upon the system page size.
15552
44f0a71e
UD
155532011-08-17 Ulrich Drepper <drepper@gmail.com>
15554
15555 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15556 * resolv/Makefile: Define CFLAGS-libresolv.
15557
8de79a24
AS
155582011-08-17 Andreas Schwab <schwab@redhat.com>
15559
15560 * nss/makedb.c (compute_tables): Make variables used in nested
15561 function static.
15562
27724598
UD
155632011-08-17 Ulrich Drepper <drepper@gmail.com>
15564
c5305d88
UD
15565 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15566 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15567 if buffer was too small.
15568
27724598
UD
15569 * elf/pldd.c (main): Attach to all threads in the process.
15570 Rewrite /proc handling to use *at functions.
15571
076fe015
UD
155722011-08-16 Ulrich Drepper <drepper@gmail.com>
15573
174baab3
UD
15574 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15575 specifies first scope to show.
15576 (dl_open_worker): Update callers. Move printing scope of new
15577 object to before the relocation.
44f0a71e 15578 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15579 * sysdeps/generic/ldsodefs.h: Update declaration.
15580
076fe015
UD
15581 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15582 string for the scope number.
15583
a60df2c3
UD
155842011-08-14 Ulrich Drepper <drepper@gmail.com>
15585
15586 * nscd/servicescache.c (cache_addserv): Make sure written is always
15587 initialized.
15588
5e4287d1
RM
155892011-08-14 Roland McGrath <roland@hack.frob.com>
15590
85ae0589
RM
15591 * sysdeps/i386/i486/bits/atomic.h
15592 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15593 statement expression, so as to suppress "set but not used" warning.
15594 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15595
69f63097
RM
15596 * string/strncat.c (STRNCAT): Use prototype definition.
15597
675456ef
RM
15598 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15599 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15600 -Iprograms here.
15601 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15602 (localedef-modules): Add localedef.
15603 (locale-modules): Add locale.
15604
5e4287d1
RM
15605 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15606 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15607 to avoid a warning.
15608
9c96ff23
DM
156092011-08-14 David S. Miller <davem@davemloft.net>
15610
15611 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15612 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15613
f9ddf089
UD
156142011-08-13 Ulrich Drepper <drepper@gmail.com>
15615
44f0a71e 15616 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15617 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15618 * elf/rtld.c (dl_main): Set l_name of vDSO.
15619 Call _dl_show_scope when DL_DEBUG_SCOPES.
15620 (process_dl_debug): Recognize scopes flag and also set it for all.
15621 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15622 Declare _dl_show_scope.
15623
1dc27704
UD
15624 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15625 (do_dlopen): Pass caller_dlopen to dl_open.
15626 (__libc_dlopen_mode): Initialize caller_dlopen.
15627
f9ddf089
UD
15628 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15629 of libc. Make tolower call locale-independent. Optimize a bit by
15630 using isdigit instead of isalnum.
15631 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15632
9ac533d3
UD
156332011-08-12 Ulrich Drepper <drepper@gmail.com>
15634
15635 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15636 was a dependency or dynamically loaded.
15637
89edf2e9
UD
156382011-08-11 Ulrich Drepper <drepper@gmail.com>
15639
8e999d29
UD
15640 * intl/l10nflist.c: Allow architecture-specific pop function.
15641 * sysdeps/x86_64/l10nflist.c: New file.
15642
89edf2e9
UD
15643 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15644 classification.
15645
14d96785
AS
156462011-08-10 Andreas Schwab <schwab@redhat.com>
15647
15648 * include/dirent.h: Add libc_hidden_proto for scandirat and
15649 scandirat64. Don't declare __scandirat64.
15650 * dirent/scandirat.c: Add libc_hidden_def.
15651 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15652 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15653
6761ac04
DM
156542011-08-10 David S. Miller <davem@davemloft.net>
15655
15656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15657 enum.
15658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15661
c55fbd1e
UD
156622011-08-09 Ulrich Drepper <drepper@gmail.com>
15663
15664 * Versions.def [libc]: Add GLIBC_2.15.
15665 * dirent/Makefile (routines): Add scandirat and scandirat64.
15666 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15667 GLIBC_2.15.
15668 * dirent/dirent.h: Declare scandirat and scandirat64.
15669 * dirent/scandirat.c: New file.
15670 * dirent/scandirat64.c: New file.
15671 * sysdeps/wordsize-64/scandirat.c: New file.
15672 * sysdeps/wordsize-64/scandirat64.c: New file.
15673 * dirent/opendir.c: Define opendirat.
15674 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15675 using scandirat.
15676 * dirent/scandir64.c: Adjust for scandir.c change.
15677 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15678 __scandirat64, and __scandir_cancel_handler.
15679 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15680 additional parameter and use openat instead of open (outside of ld.so).
15681 Add new __opendir as wrapper around __opendirat.
15682 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15683 here without requiring old scandirat implementation.
15684
879165f2
UD
156852011-08-08 Ulrich Drepper <drepper@gmail.com>
15686
15687 * dirent/scandir.c (cancel_handler): Renamed to
15688 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15689 defined. Adjust users.
15690 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15691 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15692
cb7e923b
UD
156932011-08-04 Ulrich Drepper <drepper@gmail.com>
15694
16292edd
UD
15695 * string/test-string.h (IMPL): Use __STRING to expand name and then
15696 stringify it.
15697
cb7e923b
UD
15698 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15699 of cleanups.
15700
cff82933
LD
157012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15702
15703 * string/Makefile: Update.
15704 (strop-tests): Append strncat.
15705 * string/test-wcscmp.c: New file.
15706 New comprehensive test for wcscmp.
15707 * string/test-strcmp.c: Update.
15708 (WIDE): New define.
15709
9be9bfcc
AS
157102011-07-22 Andreas Schwab <schwab@redhat.com>
15711
15712 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15713 line.
15714
2e96f1c7
AS
157152011-07-26 Andreas Schwab <schwab@redhat.com>
15716
15717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15718 encoding to ACE if AI_IDN.
15719
85188888
JJ
157202011-08-01 Jakub Jelinek <jakub@redhat.com>
15721
15722 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15723 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15724
5fa16e9b
LD
157252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15726
15727 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15728 Fix overflow bug in strncat.
15729 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15730
15731 * string/test-strncat.c: Update.
15732 Add new tests for checking overflow bugs.
15733
157342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15735
15736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15737 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15738 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15739 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15740 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15741 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15742 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15743 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15744 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15745
15746 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15747 (USE_AS_STRCAT): Define.
15748 Add strcat and strncat support.
15749 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15750
8c1a459f
AS
157512011-07-25 Andreas Schwab <schwab@redhat.com>
15752
15753 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15754 __n bigger than INT_MAX+1.
15755 (__strncmp_g): Likewise.
15756
bba33c28
UD
157572011-07-23 Ulrich Drepper <drepper@gmail.com>
15758
798be72d
UD
15759 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15760 * libio/stido.h: Likewise.
15761
8accd4dc
UD
15762 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15763 (AF_NFC): Define.
15764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15765 (AF_NFC): Define.
15766
cbff0d96
UD
15767 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15770 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15772
9191c04a
UD
15773 [BZ #13021]
15774 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15775 installed.
15776
bba33c28
UD
15777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15778 typo.
15779 (_dl_x86_64_save_sse): Likewise.
15780
90f139dd
UD
157812011-07-22 Ulrich Drepper <drepper@gmail.com>
15782
1aae088a
UD
15783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15784 OSXSAVE.
15785 (_dl_x86_64_save_sse): Likewise.
15786
8e2045f5
UD
15787 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15788
90f139dd
UD
15789 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15790
1d002f25
AS
157912011-07-21 Andreas Schwab <schwab@redhat.com>
15792
15793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15794 change.
15795 (_dl_x86_64_save_sse): Use correct AVX check.
15796
21137f89
UD
157972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15798
15799 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15800 bug in strncpy/strncat.
15801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15802
a65c0b7a
UD
158032011-07-21 Ulrich Drepper <drepper@gmail.com>
15804
15805 * string/tester.c (test_strcat): Add tests for different alignments
15806 of source and destination.
15807 (test_strncat): Likewise.
15808
6986b98a
UD
158092011-07-20 Ulrich Drepper <drepper@gmail.com>
15810
90bb2039
UD
15811 [BZ #12852]
15812 * posix/glob.c (glob): Check passed in values before using them in
15813 expressions to avoid some overflows.
15814 (glob_in_dir): Likewise.
15815
5644ef54
UD
15816 [BZ #13007]
15817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15818 check for AVX enablement so that we don't crash with old kernels and
15819 new hardware.
15820 * elf/tst-audit4.c: Add same checks here.
15821 * elf/tst-audit6.c: Likewise.
15822
15823 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15824
bfc9dc9b
AS
158252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15826
15827 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15828
702e64bb
UD
158292011-07-20 Ulrich Drepper <drepper@gmail.com>
15830
15831 * po/cs.po: Update from translation team.
15832 * po/bg.po: Likewise.
15833
295e904f
MP
158342011-07-12 Marek Polacek <mpolacek@redhat.com>
15835
15836 * misc/sys/cdefs.h: Add support for const attribute.
15837 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15838 to gnu_dev_{major,minor,makedev} functions.
15839
3ff94596
MP
158402011-07-20 Marek Polacek <mpolacek@redhat.com>
15841
15842 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15843
28b59fca
AS
158442011-07-20 Andreas Schwab <schwab@redhat.com>
15845
15846 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15847 strlen results.
15848
19df733e
AK
158492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15850
15851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15852 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15853 register in order to avoid conflicts with the soft frame pointer
15854 being held in r11 when necessary.
15855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15856 (INTERNAL_VSYSCALL_NCS): Likewise.
15857
c8835729
MP
158582011-07-14 Marek Polacek <mpolacek@redhat.com>
15859
15860 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15861 * elf/dl-fini.c (_dl_fini): Adjust caller.
15862 * elf/dl-close.c (_dl_close_worker): Likewise.
15863 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15864
b902330c
MP
158652011-07-15 Marek Polacek <mpolacek@redhat.com>
15866
8991e135
MP
15867 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15868 "aux_cache->nlibs < 0".
15869
b902330c
MP
15870 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15871 in the reload-count case.
15872
99710781
LD
158732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15874
15875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15876 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15877 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15878 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15879 * sysdeps/x86_64/multiarch/strcat.S: New file.
15880 * sysdeps/x86_64/multiarch/strncat.S: New file.
15881 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15883 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15884 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15886 (USE_AS_STRCAT): Define.
15887 Add strcat and strncat support.
15888 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15890 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15891 * string/strncat.c: Update.
15892 (USE_AS_STRNCAT): Define.
15893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15894 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15895 and i7.
15896 * sysdeps/x86_64/multiarch/init-arch.h
15897 (bit_Prefer_PMINUB_for_stringop): New.
15898 (index_Prefer_PMINUB_for_stringop): Likewise.
15899 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15900 bit_Prefer_PMINUB_for_stringop.
15901
7dc6bd90
UD
159022011-07-19 Ulrich Drepper <drepper@gmail.com>
15903
15904 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15905 buffer64.
15906 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15907 of casting of buffer.
15908 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15909 buffer32 and buffer64.
15910 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15911 writes instead of casting of buffer.
15912 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15913 buffer32.
15914 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15915 casting of buffer.
15916
e0e72284
AS
159172011-07-19 Andreas Schwab <schwab@redhat.com>
15918
15919 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15920
feb1eb0b
UD
159212011-07-19 Ulrich Drepper <drepper@gmail.com>
15922
15923 * nscd/nscd.c (termination_handler): Don't do anything for a database
15924 if it has not yet been initialized.
15925
298711ff
UD
159262011-07-18 Ulrich Drepper <drepper@gmail.com>
15927
15928 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15929
159302011-07-15 Marek Polacek <mpolacek@redhat.com>
15931
15932 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15933
f9d68389
UD
159342011-07-18 Ulrich Drepper <drepper@gmail.com>
15935
15936 * po/nl.po: Update from translation team.
15937 * po/sv.po: Likewise.
15938
db290cf5
RM
159392011-07-16 Roland McGrath <roland@hack.frob.com>
15940
15941 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15942 now disallowed by GCC.
5c550700 15943
fd5e21c7
RM
15944 * configure.in (use-default-link): Default to yes if a test -shared
15945 link meets our qualifications.
15946 * configure: Regenerated.
15947
5c550700
RM
15948 * config.make.in (output-format): New variable.
15949 * configure.in: Check for ld --print-output-format support.
15950 * configure: Regenerated.
15951 * Makerules ($(common-objpfx)format.lds)
15952 [$(output-format) != unknown]: Just use $(output-format),
15953 instead of the linker-script munging.
15954
9fa2c032
RM
159552011-07-14 Roland McGrath <roland@hack.frob.com>
15956
a6928d51
RM
15957 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15958 of $(common-objpfx)shlib.lds.
15959 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15960
661607b3
RM
15961 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15962 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15963
9fa2c032
RM
15964 * configure.in (-z relro check): Adjust test code to add a large
15965 writable data section after it.
15966 * configure: Regenerated.
15967
defe9061
RM
159682011-07-11 Roland McGrath <roland@hack.frob.com>
15969
15970 * configure.in (-z relro check): Fix test code to make the variable
15971 truly const.
15972 * configure: Regenerated.
15973
319b9ad4
UD
159742011-07-11 Ulrich Drepper <drepper@gmail.com>
15975
15976 * nscd/nscd.h (struct traced_file): Define.
15977 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15978 elements. Add traced_files.
15979 (inotify_fd): Declare.
15980 (register_traced_file): Declare.
15981 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15982 (inotify_fd): Export.
15983 (resolv_conf_descr): Remove.
15984 (nscd_init): Move inotify descriptor creation to main.
15985 Don't register files for notification here.
15986 (register_traced_file): New function.
15987 (invalidate_cache): Don't use reset_res to determine whether to call
15988 res_init, go through the list of registered files.
15989 (main_loop_poll): The inotify descriptors are now stored in the
15990 structures for the traced files.
15991 (main_loop_epoll): Likewise
15992 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15993 to __nss_disable_nscd.
15994 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15995 for a database anymore. Check the records for all the registered
15996 files instead.
15997 * nss/Makefile (libnss_files-routines): Add files-init.
15998 (libnss_db-routines): Add db-init.
15999 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16000 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16001 * nss/nss_db/db-init.c: New file.
16002 * nss/nss_files/files-init.c: New file.
16003 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16004 __nss_lookup_function.
16005 (__nss_lookup_function): Call nss_load_library.
16006 (nss_load_all_libraries): New function.
16007 (__nss_disable_nscd): Take parameter with callback function for files
16008 to register. Set is_nscd. Load all the DSOs for the NSS modules
16009 used for the cached services.
16010 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16011 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16012 options for features to all the files in nscd.
16013
16014 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16015
23bee3e8
RM
160162011-07-10 Roland McGrath <roland@hack.frob.com>
16017
16018 * csu/elf-init.c (__libc_csu_init): Comment typo.
16019
46a5b7f0
UD
160202011-07-09 Ulrich Drepper <drepper@gmail.com>
16021
16022 * po/pl.po: Update from translation team.
16023 * po/ja.po: Likewise.
16024 * po/ru.po: Likewise.
16025 * po/ko.po: Likewise.
16026 * po/fr.po: Likewise.
16027
d30cf5bb
RM
160282011-07-09 Roland McGrath <roland@hack.frob.com>
16029
113ddea4
RM
16030 * configure.in (.ctors/.dtors header and trailer check):
16031 Use an empirical test on a built program.
16032 * configure: Regenerated.
16033
574920b4
RM
16034 * configure.in (-z relro check): Use an empirical test on a built DSO.
16035 Detect, but do not require, on ia64.
16036 * configure: Regenerated.
16037
d30cf5bb
RM
16038 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16039 Update tests that use readelf to use $READELF instead.
16040 * configure: Regenerated.
16041
8538fdb3
UD
160422011-07-08 Ulrich Drepper <drepper@gmail.com>
16043
16044 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16045 if the result is not used.
16046
04d08991
AJ
160472011-07-05 Andreas Jaeger <aj@suse.de>
16048
16049 [BZ#9696]
16050 * stdlib/tst-strtod.c: Add testcase.
16051
de283087
AD
160522011-07-07 Ulrich Drepper <drepper@gmail.com>
16053
4e5f31c8 16054 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16055 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16056 The latter has a higher limit. Take additional parameter to pass to
16057 the new function.
16058 (__pathconf): Pass file to __statfs_link_max.
16059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16060 __statfs_link_max.
16061 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16062 __statfs_link_max.
16063
de283087
AD
16064 [BZ #12868]
16065 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16066 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16067 Handle Lustre.
16068 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16069 (__statfs_filesize_max): Likewise.
16070 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16071
c75fa153
AJ
160722011-07-05 Andreas Jaeger <aj@suse.de>
16073
16074 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16075
1a544854
UD
160762011-07-06 Marek Polacek <mpolacek@redhat.com>
16077
16078 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16079 `status' variable.
16080 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16081 Likewise.
16082
6f0eec67
UD
160832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16084
16085 * Makefile (strop-tests): Add strncat.
16086 * string/test-strncat.c: New file.
16087
aae30307
UD
160882011-06-30 Marek Polacek <mpolacek@redhat.com>
16089
16090 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16091
c0cfb5eb
UD
160922011-06-21 Andreas Jaeger <aj@suse.de>
16093
16094 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16095 Copy rule from iconvdata/Makefile.
16096
01636b21
UD
160972011-07-06 Ulrich Drepper <drepper@gmail.com>
16098
16099 [BZ #12922]
16100 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16101 but no long options are defined, just return 'W'.
16102
9895c8bc
UD
161032011-06-22 Marek Polacek <mpolacek@redhat.com>
16104
16105 [BZ #9696]
16106 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16107
5d4cf042
UD
161082011-07-06 Ulrich Drepper <drepper@gmail.com>
16109
16110 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16111 netgroups to read.
960e5535 16112 (innetgr): Likewise.
5d4cf042 16113
751eb97e
RM
161142011-07-05 Roland McGrath <roland@hack.frob.com>
16115
16116 * config.make.in (install_root): Default to $(DESTDIR).
16117
f15f1e45
UD
161182011-07-05 Ulrich Drepper <drepper@gmail.com>
16119
16120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16121
4e34ac6a
RM
161222011-07-02 Roland McGrath <roland@hack.frob.com>
16123
5e9b6af4
RM
16124 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16125
84f9ea0f
RM
16126 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16127 containing directory rather than embedding absolute directory names.
16128
ea5ee9f7
RM
16129 * scripts/check-local-headers.sh: Rewritten using awk.
16130 Match by word, not by line. Print error messages for matches.
16131 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16132
1b74661a
RM
16133 * Makerules [shlib-lds-flags empty]:
16134 ($(common-objpfx)libc_pic.opts): New target.
16135 ($(common-objpfx)libc_pic.os.clean): New target.
16136 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16137
16138 * config.make.in (OBJCOPY): New variable.
16139 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16140 * configure: Regenerated.
16141
f781ef40
RM
16142 * config.make.in (use-default-link): New variable.
16143 * configure.in (use_default_link): Grok --with-default-link to set it.
16144 * configure: Regenerated.
16145 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16146 (shlib-lds, shlib-lds-flags): Define to empty.
16147
2d4fa81e
RM
16148 * Makerules (shlib-lds): New variable.
16149 (shlib-lds-flags): New variable.
16150 (build-shlib, build-moduile, build-module-asneeded): Use it.
16151 ($(common-objpfx)libc.so): Use $(shlib-lds).
16152 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16153 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16154
31fffa6b
RM
16155 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16156 DT_FLAGS/DT_FLAGS_1 with zero flags.
16157
4e34ac6a
RM
16158 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16159 linker script munging.
16160
fcfc776b
UD
161612011-07-02 Ulrich Drepper <drepper@gmail.com>
16162
16163 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16164 as 128-bit value.
16165 * crypt/sha512.c (sha512_process_block): Perform total addition using
16166 128-bit if possible.
16167 (__sha512_finish_ctx): Likewise.
16168 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16169 as 64-bit value.
16170 * crypt/sha256.c (SWAP64): Define.
16171 (sha256_process_block): Perform total addition using 64-bit if
16172 possible.
16173 (__sha256_finish_ctx): Likewise.
16174
99231d9a
UD
161752011-07-01 Ulrich Drepper <drepper@gmail.com>
16176
16177 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16179 * nscd/hstcache.c (cache_addhst): Likewise.
16180 * nscd/grpcache.c (cache_addgr): Likewise.
16181 * nscd/aicache.c (addhstaiX): Likewise
16182 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16183
445b4a53
TK
161842011-07-01 Thorsten Kukuk <kukuk@suse.de>
16185
16186 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16188 * nscd/hstcache.c (cache_addhst): Likewise.
16189 * nscd/grpcache.c (cache_addgr): Likewise.
16190 * nscd/aicache.c (addhstaiX): Likewise
16191
6d4d8e8e
AS
161922011-07-01 Andreas Schwab <schwab@redhat.com>
16193
16194 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16195 domain only when needed.
16196
89f654c5
AS
161972011-06-30 Andreas Schwab <schwab@redhat.com>
16198
16199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16200 is always restored.
16201
cf3b23ff
UD
162022011-06-29 Ulrich Drepper <drepper@gmail.com>
16203
16204 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16205 are re-adding the entry.
16206 * nscd/servicescache.c (cache_addserv): Likewise.
16207
751626f9
AJ
162082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16209
16210 * sysdeps/generic/dl-irel.h: fix protection against multiple
16211 inclusions.
16212 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16213
9113ea1f
UD
162142011-06-28 Ulrich Drepper <drepper@gmail.com>
16215
5c0b8d90
UD
16216 [BZ #12935]
16217 * malloc/memusage.sh: Fix quoting in message.
16218 * debug/xtrace.sh: Likewise.
16219
9113ea1f
UD
16220 * configure.in: Remove support for --experimental-malloc option, make
16221 it the default.
16222 * config.make.in: Likewise.
16223 * malloc/Makefile: Likewise.
16224
a4172181
AS
162252011-06-27 Andreas Schwab <schwab@redhat.com>
16226
16227 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16228 two-byte characters.
16229
78a7eee7
RM
162302011-06-27 Roland McGrath <roland@hack.frob.com>
16231
62bede13
RM
16232 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16233 AC_CACHE_CHECK invocation.
16234 * configure: Regenerated.
16235
78a7eee7
RM
16236 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16237
5ce33a62
UD
162382011-06-27 Ulrich Drepper <drepper@gmail.com>
16239
034807a9
UD
16240 [BZ #12350]
16241 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16242 bit from old_res_options.
16243
4902da17
UD
16244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16245
5ce33a62
UD
16246 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16247 value type for setfct.
16248
c2344f56
L
162492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16250
16251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16252 __gettimeofday instead of gettimeofday.
16253
68468076
UD
162542011-06-26 Ulrich Drepper <drepper@gmail.com>
16255
16256 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16257
acb0d739
L
162582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16261
16262 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16263 info.
16264
8912479f
L
162652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16266
16267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16268 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16269 strcpy-sse2-unaligned strncpy-sse2-unaligned
16270 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16271 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16272 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16273 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16274 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16275 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16276 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16277 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16278 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16279 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16280 (STRCPY): Support SSE2 and SSSE3 versions.
16281
d5495a11
UD
162822011-06-24 Ulrich Drepper <drepper@gmail.com>
16283
16284 [BZ #12874]
16285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16286 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16287 kernels which artificially limit size of requests.
16288
0b1cbaae
L
162892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16292 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16293 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16294 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16295 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16296 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16297 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16298 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16299 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16301 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16302 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16303 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16304 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16305 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16307 Enable unaligned load optimization for Intel Core i3, i5 and i7
16308 processors.
16309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16310 Define.
16311 (index_Fast_Unaligned_Load): Define.
16312 (HAS_FAST_UNALIGNED_LOAD): Define.
16313
07f494a0
MP
163142011-06-23 Marek Polacek <mpolacek@redhat.com>
16315
16316 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16317
fa3fc0fe
UD
163182011-06-22 Ulrich Drepper <drepper@gmail.com>
16319
16320 [BZ #12907]
16321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16322 until it is clear that the information is realy needed.
16323 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16324
e12df166
AS
163252011-06-22 Andreas Schwab <schwab@redhat.com>
16326
16327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16328
852eb34d
UD
163292011-06-22 Ulrich Drepper <drepper@gmail.com>
16330
84e2a551
UD
16331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16332 /sys/devices/system/cpu/online if it is usable.
16333
852eb34d
UD
16334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16335 reading the information from the /proc filesystem to once a second.
16336
6e502e19
UD
163372011-06-21 Andreas Jaeger <aj@suse.de>
16338
16339 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16340 NULL after inclusion of kernel headers.
16341
75d39ff2
UD
163422011-06-21 Ulrich Drepper <drepper@gmail.com>
16343
51f9aa6a
UD
16344 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16345 calls to internal_setent.
16346
c0244a9d
UD
16347 [BZ #12885]
16348 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16349 addresses using gethostbyname4_r ignore IPv4 addresses.
16350
c5e3c2ae
UD
16351 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16352 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16353
75d39ff2
UD
16354 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16355
42675c6f
DM
163562011-06-20 David S. Miller <davem@davemloft.net>
16357
16358 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16359 inclusions.
16360 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16361
16362 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16363 (elf_irel): Use it.
16364 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16365 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16366 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16367 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16368 * sysdeps/x86_64/dl-irel.h: Likewise.
16369
16370 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16371 * elf/dl-sym.c: Likewise.
16372
57912a71
UD
163732011-06-15 Ulrich Drepper <drepper@gmail.com>
16374
16375 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16376 need to dereference resplen2.
16377
ee22793d
AS
163782011-06-14 Andreas Schwab <schwab@redhat.com>
16379
16380 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16381
a9e836b0
UD
163822011-06-15 Ulrich Drepper <drepper@gmail.com>
16383
77fb9117
UD
16384 * Makeconfig: Define vardbdir and inst_vardbdir.
16385 * nss/Makefile: Add rules to install db-Makefile.
16386
40c1b22c
UD
16387 * nss/nss_db/db-XXX.c: Cleanup.
16388
9f2da732
UD
16389 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16390 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16391 GLIBC_PRIVATE.
16392 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16393 * nss/makedb.c: Implement -g option to specify that value strings
16394 are generated and should not be added to table iterated over for
16395 get*ent calls.
16396 * nss/nss_db/db-initgroups.c: New file.
16397
82e9a1f7
UD
16398 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16399 interface.
16400
c41af17e
UD
16401 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16402 (internal_getgrouplist): Adjust to name change.
16403 Update use_initgroups_entry if this is not the first call.
16404 * nss/databases.def: Add initgroups entry.
16405
a9e836b0
UD
16406 * nss/makedb.c (compute_tables): Check result of multiple hash table
16407 sizes to minimize maximum chain length.
16408
2666d441
UD
164092011-06-14 Ulrich Drepper <drepper@gmail.com>
16410
16411 * Versions.def: Add entry for libnss_db.
16412 * shlib-versions: Likewise.
16413 * nss/Makefile: Add rules to build libnss_db.
16414 * nss/Versions: Add libnss_db information. Organize libnss_files
16415 entries better.
16416 * nss/db-Makefile: Add gshadow support. Change rules for the new
16417 makedb progra. Some minor improvements to generate smaller files.
16418 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16419 here from...
16420 * nss/makedb.c: ...here.
16421 Improve database format to be smaller and require less memory at
16422 runtime.
16423 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16424 db anymore.
16425 * nss/nss_db/db-netgrp.c: Likewise.
16426 * nss/nss_db/db-open.c: Likewise.
16427 * nss/nss_files/flies-XXX.x: Adjust comments.
16428 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16429 * nss/nss_files/files-grp.c: Likewise.
16430 * nss/nss_files/files-hosts.c: Likewise.
16431 * nss/nss_files/files-network.c: Likewise.
16432 * nss/nss_files/files-proto.c: Likewise.
16433 * nss/nss_files/files-pwd.c: Likewise.
16434 * nss/nss_files/files-rpc.c: Likewise.
16435 * nss/nss_files/files-service.c: Likewise.
16436 * nss/nss_files/files-sgrp.c: Likewise.
16437 * nss/nss_files/files-spwd.c: Likewise.
16438 * nss/nss_db/db-alias.c: Removed.
16439 * nss/nss_db/dummy-db.h: Removed.
16440
9ee76b5a
UD
164412011-06-02 Ulrich Drepper <drepper@gmail.com>
16442
16443 * nss/makedb.c: Rewritten to not use database library.
16444 * nss/Makefile: Update to build new makedb program.
16445
c71ca1f8
AJ
164462011-06-14 Andreas Jaeger <aj@suse.de>
16447
16448 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16449 memset declaration.
16450
3154bfb8
UD
164512011-06-10 Andreas Schwab <schwab@redhat.com>
16452
16453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16454 tmpbuf.
16455
b350afab
RM
164562011-06-10 Roland McGrath <roland@hack.frob.com>
16457
decd4e50
RM
16458 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16459 * elf/Makefile ($(objpfx)ld.so): Likewise.
16460
5615eaf2
RM
16461 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16462 Don't list ld.so twice in dependencies.
16463
16464 * posix/bug-regex31.c: Include <stdlib.h>.
16465
16466 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16467
16468 * nis/nss_compat/compat-spwd.c
16469 (getspent_next_nss_netgr): Remove unused variable.
16470 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16471
16472 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16473 nonmembers" output to use the right array.
16474
16475 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16476
16477 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16478
16479 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16480 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16481 * catgets/gencat.c (read_input_file): Likewise.
16482 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16483
16484 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16485 variable definition inside #if's controlling its use.
16486
16487 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16488
16489 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16490
16491 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16492
16493 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16494 unreachable code.
16495
16496 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16497
b68e08db
RM
16498 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16499 * configure: Regenerated.
16500
b350afab
RM
16501 * Makerules: Revert last change.
16502 * elf/Makefile: Likewise.
16503
28368601
RM
165042011-06-09 Roland McGrath <roland@hack.frob.com>
16505
16506 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16507 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16508 (reloc-link): Likewise.
16509
11988f8f
UD
165102011-06-09 Ulrich Drepper <drepper@gmail.com>
16511
16512 * elf/Makefile: Add rules to build pldd.
16513 * elf/pldd.c: New file.
16514 * elf/pldd-xx.c: New file.
16515
e80fab37
UD
165162011-06-07 Ulrich Drepper <drepper@gmail.com>
16517
16518 * version.h: Update for 2.15 development version.
16519
9b849836
DM
165202011-06-07 David S. Miller <davem@davemloft.net>
16521
16522 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16523 ifuncs.
16524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16525 elf_machine_lazy_rel): Likewise.
16526 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16528 elf_machine_lazy_rel): Likewise.
16529 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16530 dl_hwcap via passed in argument.
16531 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16532 Likewise.
16533
5a31b283
AK
165342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16535
16536 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16537
069e52f8
RM
165382011-06-06 Roland McGrath <roland@hack.frob.com>
16539
16540 [BZ #12849]
16541 * manual/fdl-1.1.texi: New file, verbatim from:
16542 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16543 * manual/lgpl-2.1.texi: New file, verbatim from:
16544 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16545 * manual/Makefile (licenses): New variable, list those new file names.
16546 (texis): Use it.
16547 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16548
16549 * manual/fdl.texi: File removed.
16550 * manual/lesser.texi: File removed.
16551 * manual/libc.texinfo (Copying, Documentation License):
16552 Use new @include file names, put @appendix directive before @include.
16553
f16846a5
JJ
165542011-06-04 Jakub Jelinek <jakub@redhat.com>
16555
16556 [BZ #12841]
16557 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16558 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16559 (mq_open): Add __NTH.
16560
3d29045b
L
165612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16562
16563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16564 Assume Intel Core i3/i5/i7 processor if AVX is available.
16565
8c297311
UD
165662011-05-31 Ulrich Drepper <drepper@gmail.com>
16567
16568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16569 typo.
16570
c8fc0c91
UD
165712011-05-31 Andreas Schwab <schwab@redhat.com>
16572
16573 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16574 memory. Use alloca_account. Fix memory leak when retrying.
16575
5b27a807
UD
165762011-05-31 Ulrich Drepper <drepper@gmail.com>
16577
356f8bc6
UD
16578 * version.h (RELEASE): Bump for 2.14 release.
16579 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16580
5b27a807
UD
16581 * config.make.in (RANLIB): Remove entry.
16582
01f16ab0
UD
165832011-05-30 Ulrich Drepper <drepper@gmail.com>
16584
41fce8bd
UD
16585 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16586 (libc.pot): Work around missing support for .ksh extension in xgettext.
16587
4769ae77
UD
16588 [BZ #12684]
16589 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16590 if both request failed.
16591 (send_dg): In case of server errors clear resplen or *resplen2.
16592
6b1e7d19
UD
16593 [BZ #12454]
16594 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16595 when there are multiple maps.
16596 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16597 (_dl_fini): Remove test here.
16598
01f16ab0
UD
16599 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16600
b1ebd700
UD
166012011-05-29 Ulrich Drepper <drepper@gmail.com>
16602
7ae22829
UD
16603 [BZ #12350]
16604 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16605 bit from old_res_options.
16606 (gaih_inet): Likewise.
16607
553149f6 16608 [BZ #11099]
18a84741 16609 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16610 as signed.
16611
652ffab1
UD
16612 * resolv/res_init.c (res_setoptions): Make the code more compact.
16613
16985fd0
UD
16614 [BZ #11558]
16615 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16616 set RES_USEVC.
16617
0464f746
UD
16618 [BZ #11634]
16619 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16620
7d17596c
UD
16621 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16622
cf6bbbd7
UD
16623 [BZ #11781]
16624 * malloc/malloc.h: Declare malloc hook variables as volatile.
16625
13f1ab36
UD
16626 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16627 in last patch.
16628
b1ebd700
UD
16629 [BZ #11799]
16630 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16631 raise in the comment.
80e2212d
UD
16632 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16634 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16635
ce67228d
UD
166362011-05-28 Ulrich Drepper <drepper@gmail.com>
16637
8887a920
UD
16638 [BZ #12811]
16639 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16640 grow the buffers more if it already has to be sufficient.
16641 (build_wcs_upper_buffer): Likewise.
16642 * posix/regexec.c (check_matching): Likewise.
16643 (clean_state_log_if_needed): Likewise.
16644 (extend_buffers): Don't enlarge buffers beyond size of the input
16645 buffer.
16646 Patches mostly by Emil Wojak <emil@wojak.eu>.
16647 * posix/bug-regex32.c: New file.
16648 * posix/Makefile (tests): Add bug-regex32.
16649
4f031072
UD
16650 * locale/findlocale.c (_nl_find_locale): Return right away if
16651 _nl_explode_name failed.
16652 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16653
d0478f0c
UD
16654 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16655
de81b246
UD
16656 * debug/xtrace.sh: Unify messages.
16657 * malloc/memusage.sh: Likewise.
16658
c738465a
UD
16659 [BZ #12813]
16660 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16661 time symbol from vDSO. Substitute with vsyscall if not available.
16662 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16663 __vdso_time.
16664
f1f929d7
UD
16665 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16666 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16667 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16668 Add sendmmsg and internal_sendmmsg.
16669 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16670 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16671 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16672
ce67228d
UD
16673 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16674 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16676
e57420c6
UD
166772011-05-27 Ulrich Drepper <drepper@gmail.com>
16678
a8509ca5
UD
16679 [BZ #12813]
16680 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16681 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16682 available.
16683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16684 __vdso_getcpu.
16685
e57420c6
UD
16686 [BZ #12814]
16687 * iconvdata/Makefile (tests): Add bug-iconv9.
16688 * iconvdata/bug-iconv9.c: New file.
16689
4d07db15
AS
166902011-05-27 Andreas Schwab <schwab@redhat.com>
16691
16692 [BZ #12814]
16693 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16694
ea486f69
JJ
166952011-05-25 Jakub Jelinek <jakub@redhat.com>
16696
16697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16698 (struct user_regs_struct): Change intcs field back to cs.
16699
6f038433
UD
167002011-05-25 Ulrich Drepper <drepper@gmail.com>
16701
16702 * po/ja.po: Update from translation team.
16703
67f86a25
UD
167042011-05-23 Ulrich Drepper <drepper@gmail.com>
16705
16706 [BZ #12795]
16707 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16708 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16709
def7fbd6
AS
167102011-05-20 Andreas Schwab <schwab@redhat.com>
16711
16712 * stdlib/longlong.h: Update from GCC.
16713
f50ef8f1
AS
167142011-05-23 Andreas Schwab <schwab@redhat.com>
16715
16716 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16717 parameter name.
16718 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16719 Add parameter name.
16720 (__sysconf): Pass it down.
16721
de7ce8f1
UD
167222011-05-22 Ulrich Drepper <drepper@gmail.com>
16723
f2962a71
UD
16724 [BZ #12671]
16725 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16726 some situations.
16727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16728 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16729 add in in __libc_use_alloca calls. Adjust callers.
16730 (glob): Use malloc in some situations.
16731
de7ce8f1
UD
16732 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16733 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16734 pltexit.
16735
aec84f53
UD
167362011-05-21 Ulrich Drepper <drepper@gmail.com>
16737
05bb4a68
UD
16738 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16739 and CLOCK_BOOTTIME_ALARM.
16740
7ea72f99
UD
16741 [BZ #12782]
16742 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16743 is returned.
16744
7e4afad5
UD
16745 * string/_strerror.c (__strerror_r): Print negative errors as signed
16746 numbers.
16747
8e211fec
UD
16748 [BZ #12777]
16749 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16750 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16751 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16752
f7d82dc9
UD
16753 * configure.in: Fix typo in redirection and correct removal of test
16754 files in two cases.
16755
cc9e536d
UD
16756 [BZ #12788]
16757 * locale/setlocale.c (new_composite_name): Fix test to check for
16758 identical name of all categories.
16759
aec84f53
UD
16760 [BZ #12792]
16761 * libio/filedoalloc.c (local_isatty): New function.
16762 (_IO_file_doallocate): Use local_isatty.
16763 * stdio-common/perror.c (perror): In case a new stream is used
16764 forward the stream error.
16765 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16766 error flag.
16767
78e64fdc
RT
167682011-05-20 Ulrich Drepper <drepper@gmail.com>
16769
34a9094f
UD
16770 [BZ #11869]
16771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16772 alloca.
16773 * include/alloca.h (extend_alloca_account): Define.
16774
78e64fdc
RT
16775 [BZ #11857]
16776 * posix/regex.h: Fix comments with documentation of user-accessible
16777 fields after compilation and describe correct free'ing of pattern
16778 after re_compile_pattern.
16779 Patch by Reuben Thomas <rrt@sc3d.org>.
16780
457bddfc
RA
167812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16782
16783 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16784 and -mno-altivec to prevent the compiler from using Altivec and/or
16785 VSX instructions when the corresponding registers are not available.
16786
a4527b51
AS
167872011-05-19 Andreas Schwab <schwab@redhat.com>
16788
16789 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16790
ed690b2f
UD
167912011-05-19 Ulrich Drepper <drepper@gmail.com>
16792
16793 * libio/freopen.c (freopen): Use __dup2, not dup2.
16794 * libio/freopen64.c (freopen64): Likewise.
16795
8db73634
L
167962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 [BZ #12775]
16799 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16800 * math/Makefile (tests): Add test-powl.
16801 (CFLAGS-test-powl.c): Define.
16802 * math/test-powl.c: New file.
16803
0a197a9d
L
168042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16805
16806 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16807
ee30c380
UD
168082011-05-17 Ulrich Drepper <drepper@gmail.com>
16809
16810 [BZ #11837]
16811 * iconvdata/gb18030.c: Update to GB18020-2005.
16812
6ce75379
UD
168132011-05-16 Ulrich Drepper <drepper@gmail.com>
16814
a4b89fd8
AR
16815 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16816 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16817 Patch by Aharon Robbins <arnold@skeeve.com>.
16818
ea389b12
UD
16819 [BZ #11892]
16820 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16821 on the stack.
16822
68a3f91f
UD
16823 [BZ #11895]
16824 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16825 through underflows.
16826
15cc7dd1
UD
16827 [BZ #12766]
16828 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16829 point to strings before performing equality test for error_one_per_line
16830 mode.
16831
f3799213
UD
16832 [BZ #11697]
16833 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16834
d79a9c94
UD
16835 [BZ #11820]
16836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16837 (struct user_fpregs_struct): Avoid __uint*_t types.
16838
56e5eb46
UD
16839 [BZ #6420]
16840 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16841 symbol info. Use it instead of calling _dl_addr locally.
16842 (lock_and_info): New function.
16843 (tr_freehook): Call lock_and_info and pass symbol info as additional
16844 parameter to tr_where.
16845 (tr_mallochook): Likewise.
16846 (tr_reallochook): Likewise.
16847 (tr_memalignhook): Likewise.
16848
6ce75379
UD
16849 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16850 used and couldn't be at all thread-safe.
16851
f8a3b5bf
UD
168522011-05-15 Ulrich Drepper <drepper@gmail.com>
16853
94b7cc37
UD
16854 * libio/freopen.c (freopen): Don't close old file descriptor
16855 before the new one is opened. Instead dup the new file descriptor
16856 to the old one after the new stream is created.
16857 * libio/freopen64.c (freopen64): Likewise.
16858 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16859 * libio/fileops.c (_IO_new_file_close_it): Handle new
16860 _IO_FLAGS2_NOCLOSE flag.
16861 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16862 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16863 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16864 _IO_FLAGS2_NOCLOSE flag.
16865 * include/unistd.h: Add hidden_proto for dup3.
16866 Define __have_dup3.
16867 * io/dup3.c: Define hidden symbol.
16868 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16869
bd25564e
UD
16870 [BZ #7101]
16871 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16872 when an incomplete long option is used.
16873 * posix/tst-getopt_long1.c: New file.
16874 * posix/Makefile (tests): Add tst-getopt_long1.
16875
c84cfef4
UD
16876 [BZ #10138]
16877 * scripts/config.guess: Update from autoconf-2.68.
16878 * scripts/config.sub: Likewise.
16879
3b85df27
UD
16880 [BZ #10157]
16881 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16882 tests into ...
16883 (has_cpuclock): ...this. New function.
16884 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16885 macro here based on has_cpuclock code.
16886
15a856b1
UD
16887 [BZ #10149]
16888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16889 First byte (not low byte) is now always NUL.
16890 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16891
05f399e6
UD
16892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16893 Use non-cancelable interfaces.
16894
10a52685 16895 [BZ #9809]
94ecc67d
UD
16896 * locale/iso-639.def: Add entry for Sorani.
16897
f8a3b5bf
UD
16898 [BZ #11901]
16899 * include/stdlib.h: Move include protection to the right place.
16900 Define abort_msg_s. Declare __abort_msg with it.
16901 * stdlib/abort.c (__abort_msg): Adjust type.
16902 * assert/assert.c (__assert_fail_base): New function. Majority
16903 of code from __assert_fail. Allocate memory for __abort_msg with
16904 mmap.
16905 (__assert_fail): Now call __assert_fail_base.
16906 * assert/assert-perr.c: Remove bulk of implementation. Use
16907 __assert_fail_base.
16908 * include/assert.hL Declare __assert_fail_base.
16909 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16910 mmap.
16911 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16912
1af4e298
UD
169132011-05-14 Ulrich Drepper <drepper@gmail.com>
16914
f8a3b5bf 16915 [BZ #11952]
d26dfc60
MG
16916 [BZ #12453]
16917 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16918 until all modules are registered in the DTV.
16919 * elf/Makefile: Add rules to build and run tst-tls19.
16920 * elf/tst-tls19.c: New file.
16921 * elf/tst-tls19mod1.c: New file.
16922 * elf/tst-tls19mod2.c: New file.
16923 * elf/tst-tls19mod3.c: New file.
16924 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16925
2fc54d6f
UD
16926 [BZ #12083]
16927 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16928 correctly.
16929
98d76b46
UD
16930 [BZ #12601]
16931 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16932 two-byte sequence errors.
16933 * iconvdata/Makefile (tests): Add bug-iconv8.
16934 * iconvdata/bug-iconv8.c: New file.
16935
da3c19ef
UD
16936 [BZ #12626]
16937 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16938 buf2 definition.
16939
ca408c15
UD
16940 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16941
d6f67f7d
UD
16942 [BZ #12432]
16943 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16944 (dummy_getcfa): New function.
16945 (init): Get _Unwind_GetCFA address, use dummy if not found.
16946 (backtrace_helper): In recursion check, also check whether CFA changes.
16947 (__backtrace): Completely initialize arg.
16948
1af4e298 16949 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16950 storing incomplete byte sequence in state object. Avoid testing for
16951 guaranteed too small input if we know there is enough data available.
1af4e298 16952
da62f81b
AS
169532011-05-11 Andreas Schwab <schwab@redhat.com>
16954
16955 * Makeconfig (+link-pie): Indent.
16956 * Rules (binaries-pie): Define if $(have-fpie) and
16957 $(build-shared).
16958 (binaries-shared): Also filter out $(binaries-pie).
16959 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16960 * nscd/Makefile (others-pie): Add nscd.
16961 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16962 ($(objpfx)nscd): Remove command override.
16963 * login/Makefile (others-pie): Add pt_chown.
16964 ($(objpfx)pt_chown): Remove command override.
16965 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16966 remove command overrides.
16967
fcabc0f8
UD
169682011-05-13 Ulrich Drepper <drepper@gmail.com>
16969
20030ae6
UD
16970 * libio/tst_putwc.c: Fix error messages.
16971
fcabc0f8
UD
16972 [BZ #12724]
16973 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16974 currently writing and seek to current position when not.
16975 * libio/Makefile (tests): Add bug-fclose1.
16976 * libio/bug-fclose1.c: New file.
16977
320a5dc0
PB
169782011-05-12 Ulrich Drepper <drepper@gmail.com>
16979
16980 [BZ #12511]
16981 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16982 don't set DF_1_NODELETE here.
16983 (do_lookup_x): When entering new entry test for copy relocation
16984 and if necessary set DF_1_NODELETE flag.
16985 * elf/tst-unique4.cc: New file.
16986 * elf/tst-unique4.h: New file.
16987 * elf/tst-unique4lib.cc: New file.
16988 * elf/Makefile: Add rules to build and run tst-unique4.
16989 Patch by Piotr Bury <pbury@goahead.com>.
16990
22836f52
UD
169912011-05-11 Ulrich Drepper <drepper@gmail.com>
16992
f574184a
UD
16993 [BZ #12052]
16994 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16995
e1fb097f
UD
16996 [BZ #12625]
16997 * misc/mntent_r.c (addmntent): Flush the stream after the output
16998
22836f52
UD
16999 [BZ #12393]
17000 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17001 (is_trusted_path_normalize): Skip initial colon. Append slash
17002 to empty buffer. Duplicate is_trusted_path code but allow
17003 constructed patch to be prefix.
17004 (is_dst): Allow $ORIGIN followed by /.
17005 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17006 Correct testing of result of is_trusted_path_normalize
17007 (decompose_rpath): Fix warning.
17008
7b3b0b2a
UD
170092011-05-10 Ulrich Drepper <drepper@gmail.com>
17010
17011 [BZ #11257]
17012 * grp/initgroups.c (internal_getgrouplist): When we found the service
17013 list through the initgroups entry in nsswitch.conf do not always
17014 continue on a successful lookup. Don't always use the
eac80ce2 17015 __nss_group_database value if it is set.
7b3b0b2a
UD
17016 * nss/nsswitch.conf (initgroups): Change action for successful db
17017 lookup to continue for compatibility.
17018
2a81eaa5
UD
170192011-05-09 Ulrich Drepper <drepper@gmail.com>
17020
be97a69e
UD
17021 [BZ #11532]
17022 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17023 and CP774 modules.
17024 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17025 and CP774 modules.
17026 * iconvdata/tst-tables.sh: Likewise.
17027 * iconvdata/cp770.c: New file.
17028 * iconvdata/cp771.c: New file.
17029 * iconvdata/cp772.c: New file.
17030 * iconvdata/cp773.c: New file.
17031 * iconvdata/cp774.c: New file.
17032 * iconvdata/testdata/CP770: New file.
17033 * iconvdata/testdata/CP770..UTF8: New file.
17034 * iconvdata/testdata/CP771: New file.
17035 * iconvdata/testdata/CP771..UTF8: New file.
17036 * iconvdata/testdata/CP772: New file.
17037 * iconvdata/testdata/CP772..UTF8: New file.
17038 * iconvdata/testdata/CP773: New file.
17039 * iconvdata/testdata/CP773..UTF8: New file.
17040 * iconvdata/testdata/CP774: New file.
17041 * iconvdata/testdata/CP774..UTF8: New file.
17042
17043 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17044 END CHARMAP line.
17045 * iconvdata/gen-8bit-gap.sh: Likewise.
17046 * iconvdata/gen-8bit.sh: Likewise.
17047
c1e9e399
UD
17048 * locale/iso-639.def: Add ary entry.
17049
24c55fb3 17050 [BZ #11258]
96b4b1b0
UD
17051 * locale/C-translit.h.in: Add U20A1 transliteration.
17052
bdc2f971
KB
17053 [BZ #12178]
17054 * locale/iso-639.def: Add wae entry.
17055 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17056
2952b117
UD
17057 [BZ #12545]
17058 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17059 for n.
17060
2a81eaa5
UD
17061 [BZ #12711]
17062 * locale/C-translit.h.in: Add entry for U20B9.
17063 Patch by pravin.d.s@gmail.com.
17064
28377d1b
UD
170652011-05-08 Ulrich Drepper <drepper@gmail.com>
17066
7fb90fb8
UD
17067 [BZ #12713]
17068 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17069 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17070 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17071 in rtld. Use *stat64.
7fb90fb8 17072 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17073 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17074 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17075 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17076 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17077 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17078 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17079 __fstatat64 macros.
7fb90fb8
UD
17080 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17081 * dirent/rewinddir.c: Add libc_hidden_def.
17082 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17083 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17084
28377d1b
UD
17085 * include/dirent.h (__alloc_dir): Add flags parameter.
17086 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17087 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17088 __alloc_dir.
17089 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17090 from fdopendir if O_CLOEXEC is already set.
17091
66bdbaa4
AM
170922011-03-15 Alan Modra <amodra@gmail.com>
17093
17094 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17095 l_tls_firstbyte_offset non-zero. Save padding offset in
17096 l_tls_firstbyte_offset for later use.
17097 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17098 freeing static tls block.
17099
95721191
JN
171002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17101
17102 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17103 where #ifdef was intended. The intent is to prevent ARG_MAX from
17104 being defined by the kernel headers.
17105
f87dfb1f
UD
171062011-05-07 Ulrich Drepper <drepper@gmail.com>
17107
17108 [BZ #12734]
17109 * resolv/resolv.h: Define RES_NOTLDQUERY.
17110 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17111 no-tld-query and set RES_NOTLDQUERY.
17112 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17113 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17114 modern BIND to search name as TLD unless forbidden.
17115
47c3cd7a
UD
171162011-05-07 Petr Baudis <pasky@suse.cz>
17117 Ulrich Drepper <drepper@gmail.com>
17118
17119 [BZ #12393]
17120 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17121 (is_trusted_path): ...to here.
c1e9ea35 17122 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17123 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17124 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17125
8a35c912
PP
171262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17127
17128 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17129 __BEGIN/__END_DECLS.
17130
acd41f47
UD
171312011-05-06 Ulrich Drepper <drepper@gmail.com>
17132
17133 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17134 NSS_STATUS_NOTFOUND if no record was found.
17135
597df647
AS
171362011-05-05 Andreas Schwab <schwab@redhat.com>
17137
17138 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17139 (headers-not-in-tirpc): Remove rpc/netdb.h
17140 * resolv/netdb.h: Revert last change.
17141
b9af1301
PP
171422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17143
17144 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17145 circular dependency between libgcc.a and libc.a.
17146
4e34d5f5
AS
171472011-05-05 Andreas Schwab <schwab@redhat.com>
17148
17149 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17150 * nis/Makefile: Don't install rpcsvc/*.
17151 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17152 instead of <rpc/types.h>.
17153 (MAXHOSTNAMELEN): Define.
17154
00ee369c
AS
171552011-05-03 Andreas Schwab <schwab@redhat.com>
17156
17157 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17158
0b592a30
MB
171592011-04-28 Maciej Babinski <mbabinski@google.com>
17160
17161 [BZ #12714]
17162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17163 gethostbyname4_r when IPv6 results are possible.
17164
6e04cbbe
UD
171652011-05-02 Ulrich Drepper <drepper@gmail.com>
17166
17167 [BZ #12723]
17168 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17169 _PC_PIPE_BUF handling.
17170
e4ecafe0
BH
171712011-04-30 Bruno Haible <bruno@clisp.org>
17172
17173 [BZ #12717]
17174 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17175 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17176 to 'int'.
17177 * inet/getnameinfo.c (getnameinfo): Likewise.
17178
125ee683
UD
171792011-04-29 Ulrich Drepper <drepper@gmail.com>
17180
17181 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17182 to groups setting in database lookup.
17183 * nss/nsswitch.conf: Add initgroups entry.
17184
b722481a
EB
171852011-04-22 Ulrich Drepper <drepper@gmail.com>
17186
17187 [BZ #12685]
17188 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17189 mode string.
17190 Patch by Eric Blake <eblake@redhat.com>.
17191
4df46dbd
L
171922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 * sunrpc/Makefile (need-export-routines): Add svc_run.
17195 (routines): Remove svc_run.
17196 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17197 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17198 * sunrpc/svc_run.c (svc_run): Likewise.
17199 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17200
e84142d2
UD
172012011-04-21 Ulrich Drepper <drepper@gmail.com>
17202
17203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17204 problem in reallocation in last patch.
17205
877175d8
UD
172062011-04-20 Ulrich Drepper <drepper@gmail.com>
17207
17208 * sunrpc/Makefile: Move inclusion of Rules.
17209
ab8eed78
UD
172102011-04-19 Ulrich Drepper <drepper@gmail.com>
17211
17212 * nss/nss_files/files-initgroups.c: New file.
17213 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17214 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17215 _nss_files_initgroups_dyn.
17216
e3d8f584
RS
172172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17218
17219 * elf/elf.h (R_ARM_IRELATIVE): Define.
17220
af190f45
UD
172212011-04-19 Ulrich Drepper <drepper@gmail.com>
17222
17223 * po/ru.po: Update from translation team.
17224
53cf59ef
UD
172252011-04-17 Ulrich Drepper <drepper@gmail.com>
17226
17227 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17228 dependencies.
17229
4c559bcd
MF
172302011-02-06 Mike Frysinger <vapier@gentoo.org>
17231
17232 [BZ #12653]
17233 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17234 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17235 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17238
4420675c
AS
172392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17240
17241 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17242 differing bytes.
17243 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17246
75ea32ab
UD
172472011-04-17 Ulrich Drepper <drepper@gmail.com>
17248
17249 [BZ #12420]
17250 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17251 storing it.
17252 * stdlib/bug-getcontext.c: New file.
17253 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17254
27390476
AK
172552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17256
17257 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17258 instructions into .machine "z9-109".
17259 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17260 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17261
10442705
AK
172622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17263
17264 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17265 between environment variables and auxiliary vector.
17266
7b57bfe5
UD
172672011-04-16 Ulrich Drepper <drepper@gmail.com>
17268
17269 * Makefile: Add rules to build linkobj/libc.so.
17270 * include/libc-symbols.h: Define libc_hidden_nolink.
17271 * include/rpc/auth.h: Mark functions which are to be hidden.
17272 * include/rpc/auth_des.h: Likewise.
17273 * include/rpc/auth_unix.h: Likewise.
17274 * include/rpc/clnt.h: Likewise.
17275 * include/rpc/des_crypt.h: Likewise.
17276 * include/rpc/key_prot.h: Likewise.
17277 * include/rpc/pmap_clnt.h: Likewise.
17278 * include/rpc/pmap_prot.h: Likewise.
17279 * include/rpc/pmap_rmt.h: Likewise.
17280 * include/rpc/rpc_msg.h: Likewise.
17281 * include/rpc/svc.h: Likewise.
17282 * include/rpc/svc_auth.h: Likewise.
17283 * include/rpc/xdr.h: Likewise.
17284 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17285 * nss/Makefile: Likewise.
17286 * sunrpc/Makefile: Don't install headers. Build library with normal
17287 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17288 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17289 for the compat linking library. Remove use of INTDEF/INTUSE.
17290 * sunrpc/auth_none.c: Likewise.
17291 * sunrpc/auth_unix.c: Likewise.
17292 * sunrpc/authdes_prot.c: Likewise.
17293 * sunrpc/authuxprot.c: Likewise.
17294 * sunrpc/clnt_gen.c: Likewise.
17295 * sunrpc/clnt_perr.c: Likewise.
17296 * sunrpc/clnt_raw.c: Likewise.
17297 * sunrpc/clnt_simp.c: Likewise.
17298 * sunrpc/clnt_tcp.c: Likewise.
17299 * sunrpc/clnt_udp.c: Likewise.
17300 * sunrpc/clnt_unix.c: Likewise.
17301 * sunrpc/des_crypt.c: Likewise.
17302 * sunrpc/des_soft.c: Likewise.
17303 * sunrpc/get_myaddr.c: Likewise.
17304 * sunrpc/key_call.c: Likewise.
17305 * sunrpc/key_prot.c: Likewise.
17306 * sunrpc/netname.c: Likewise.
17307 * sunrpc/pm_getmaps.c: Likewise.
17308 * sunrpc/pm_getport.c: Likewise.
17309 * sunrpc/pmap_clnt.c: Likewise.
17310 * sunrpc/pmap_prot.c: Likewise.
17311 * sunrpc/pmap_prot2.c: Likewise.
17312 * sunrpc/pmap_rmt.c: Likewise.
17313 * sunrpc/publickey.c: Likewise.
17314 * sunrpc/rpc_cmsg.c: Likewise.
17315 * sunrpc/rpc_common.c: Likewise.
17316 * sunrpc/rpc_dtable.c: Likewise.
17317 * sunrpc/rpc_prot.c: Likewise.
17318 * sunrpc/rpc_thread.c: Likewise.
17319 * sunrpc/rtime.c: Likewise.
17320 * sunrpc/svc.c: Likewise.
17321 * sunrpc/svc_auth.c: Likewise.
17322 * sunrpc/svc_authux.c: Likewise.
17323 * sunrpc/svc_raw.c: Likewise.
17324 * sunrpc/svc_run.c: Likewise.
17325 * sunrpc/svc_simple.c: Likewise.
17326 * sunrpc/svc_tcp.c: Likewise.
17327 * sunrpc/svc_udp.c: Likewise.
17328 * sunrpc/svc_unix.c: Likewise.
17329 * sunrpc/svcauth_des.c: Likewise.
17330 * sunrpc/xcrypt.c: Likewise.
17331 * sunrpc/xdr.c: Likewise.
17332 * sunrpc/xdr_array.c: Likewise.
17333 * sunrpc/xdr_float.c: Likewise.
17334 * sunrpc/xdr_intXX_t.c: Likewise.
17335 * sunrpc/xdr_mem.c: Likewise.
17336 * sunrpc/xdr_rec.c: Likewise.
17337 * sunrpc/xdr_ref.c: Likewise.
17338 * sunrpc/xdr_sizeof.c: Likewise.
17339 * sunrpc/xdr_stdio.c: Likewise.
17340
e6c61494
UD
173412011-04-10 Ulrich Drepper <drepper@gmail.com>
17342
17343 [BZ #12650]
17344 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17345 * sysdeps/ia64/dl-tls.h: Likewise.
17346 * sysdeps/powerpc/dl-tls.h: Likewise.
17347 * sysdeps/s390/dl-tls.h: Likewise.
17348 * sysdeps/sh/dl-tls.h: Likewise.
17349 * sysdeps/sparc/dl-tls.h: Likewise.
17350 * sysdeps/x86_64/dl-tls.h: Likewise.
17351 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17352
34fe483e
AS
173532011-03-14 Andreas Schwab <schwab@redhat.com>
17354
17355 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17356 rpath element also skip the following colon.
17357 (expand_dynamic_string_token): Add is_path parameter and pass
17358 down to DL_DST_REQUIRED and _dl_dst_substitute.
17359 (decompose_rpath): Call expand_dynamic_string_token with
17360 non-zero is_path. Ignore empty rpaths.
17361 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17362 with zero is_path.
17363
f12a32e6
AS
173642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17365
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17367 Make cancelable.
17368
38a7d692
UD
173692011-04-09 Ulrich Drepper <drepper@gmail.com>
17370
17371 [BZ #12655]
17372 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17373 Patch by Filipe David Manana <fdmanana@apache.org>.
17374
e451d22b
AS
173752011-04-07 Andreas Schwab <schwab@redhat.com>
17376
17377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17378 Maintain aligned stack.
17379 (CHECK_RSP): Remove unused macro.
17380
dedc7c7b
UD
173812011-04-03 Ulrich Drepper <drepper@gmail.com>
17382
17383 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17385
94521213
UD
173862011-04-02 Ulrich Drepper <drepper@gmail.com>
17387
17388 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17389
8cb700c0 17390 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17391
0354e355
L
173922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 [BZ #12518]
17395 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17396 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17397 * sysdeps/x86_64/memmove.c: New file.
17398 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17399 (memcpy): Renamed to ...
17400 (__new_memcpy): This.
17401 (memcpy): Provide GLIBC_2_14 memcpy.
17402 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17403 (memcpy): Provide GLIBC_2_2_5 memcpy.
17404
8593482f
UD
174052011-04-01 Ulrich Drepper <drepper@gmail.com>
17406
17407 [BZ #12631]
17408 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17409
81a5726b
AS
174102011-03-30 Andreas Schwab <schwab@redhat.com>
17411
17412 * misc/syncfs.c: New file.
17413 * misc/Makefile (routines): Add syncfs.
17414 * posix/unistd.h: Declare syncfs.
17415 * sysdeps/unix/syscalls.list: Add syncfs.
17416
00e5419f
AS
174172011-04-01 Andreas Schwab <schwab@redhat.com>
17418
17419 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17420 open_by_handle_at.
17421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17426 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17428
748876bf
UD
174292011-04-01 Ulrich Drepper <drepper@gmail.com>
17430
658e451d
UD
17431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17432 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17438
748876bf
UD
17439 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17440 sync_file_range.c with -fexceptions.
17441 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17442 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17443 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17444 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17445 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17446 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17448 sync_file_range as cancellation point
17449 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17450 now a wrapper around __call_sync_file_range with cancellation handling.
17451 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17452 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17453 function name to __call_sync_file_range.
17454 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17455 Add call_sync_file_range.
748876bf 17456
6e63d5e1
AS
174572011-04-01 Andreas Schwab <schwab@redhat.com>
17458
17459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17460 bits/timex.h.
6e63d5e1 17461
46998f74
UD
174622011-04-01 Ulrich Drepper <drepper@gmail.com>
17463
4c1423ed
UD
17464 * iconv/iconv.h: Fix typo in comment.
17465 * io/fcntl.h: Likewise.
17466 * libio/stdio.h: Likewise.
17467 * posix/spawn.h: Likewise.
17468 * posix/unistd.h: Likewise.
17469 * stdlib/stdlib.h: Likewise.
17470 * time/time.h: Likewise.
17471 * wcsmbs/wchar.h: Likewise.
17472
158648c0
UD
17473 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17474 open_by_handle): Add.
17475 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17476 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17477 Augment a few comments.
17478 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17483 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17484 open_by_handle.
17485
46998f74
UD
17486 * io/fcntl.h (AT_EMPTY_PATH): Define.
17487
83fe108b
UD
174882011-03-30 Ulrich Drepper <drepper@gmail.com>
17489
17490 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17491 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17492 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17493 to...
17494 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17495 * Versions.def: Add GLIBC_2.14.
17496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17497 Export.
83fe108b 17498
bb242059
UD
174992011-03-22 Ulrich Drepper <drepper@gmail.com>
17500
17501 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17502 round counter.
17503 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17504
c97a1282
L
175052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17506
17507 [BZ #12597]
17508 * string/test-strncmp.c (do_page_test): New function.
17509 (check2): Likewise.
17510 (test_main): Call check2.
17511 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17512
2a115601
UD
175132011-03-20 Ulrich Drepper <drepper@gmail.com>
17514
17515 [BZ #12587]
17516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17517 Handle cache information in CPU leaf 4.
17518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17519
8126d904
UD
175202011-03-18 Ulrich Drepper <drepper@gmail.com>
17521
042c49c6 17522 [BZ #12583]
8126d904
UD
17523 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17524 character representation.
17525 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17526
ccfe366e
RA
175272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17528
17529 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17530 END(__isnan) to END(__isnanf) to match function entry point/label
17531 EALIGN(__isnanf,...).
17532
c6e13027
JJ
175332011-03-10 Jakub Jelinek <jakub@redhat.com>
17534
17535 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17536
33f85a3f
UD
175372011-03-10 Ulrich Drepper <drepper@gmail.com>
17538
028478fa
UD
17539 [BZ #12510]
17540 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17541 copy from the symbol referenced in the relocation to initialize the
17542 used variable.
17543 Patch by Piotr Bury <pbury@goahead.com>.
17544 * elf/Makefile: Add rules to build and tst-unique3.
17545 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17546 * elf/tst-unique3.cc: New file.
17547 * elf/tst-unique3.h: New file.
17548 * elf/tst-unique3lib.cc: New file.
17549 * elf/tst-unique3lib2.cc: New file.
17550
33f85a3f
UD
17551 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17552
03592fc7
MF
175532011-03-10 Mike Frysinger <vapier@gentoo.org>
17554
17555 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17556 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17557 to _start.
03592fc7 17558
6a5ee102
UD
175592011-03-06 Ulrich Drepper <drepper@gmail.com>
17560
17561 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17562 to-be-loaded object along a path to loader is ld.so.
17563
7e4ba49c
HJ
175642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17565 Ulrich Drepper <drepper@gmail.com>
17566
17567 * sysdeps/x86_64/memset.S: After aligning destination, code
17568 branches to different locations depending on the value of
17569 misalignment, when multiarch is enabled. Fix this.
17570
175712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17572
17573 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17574 Set _x86_64_preferred_memory_instruction for AMD processsors.
17575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17576 Set bit_Prefer_SSE_for_memop for AMD processors.
17577
13a804de
UD
175782011-03-04 Ulrich Drepper <drepper@gmail.com>
17579
17580 * libio/fmemopen.c (fmemopen): Optimize a bit.
17581
9d25c392
AS
175822011-03-03 Andreas Schwab <schwab@redhat.com>
17583
17584 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17585
a5543c6a
RM
175862011-03-03 Roland McGrath <roland@redhat.com>
17587
17588 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17589
012d35f7
DM
175902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17591
7e4ba49c 17592 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17593 __bzero_ultra1 instead of __memset_ultra1.
17594
4bff6e01
AS
175952011-02-23 Andreas Schwab <schwab@redhat.com>
17596 Ulrich Drepper <drepper@gmail.com>
17597
17598 [BZ #12509]
17599 * include/link.h (struct link_map): Add l_orig_initfini.
17600 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17601 returning unsuccessfully.
17602 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17603 close of a file loaded at startup, restore the original l_initfini
17604 list.
17605 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17606 list, store the pointer.
17607 * elf/Makefile ($(objpfx)noload-mem): New rule.
17608 (noload-ENV): Define.
17609 (tests): Add $(objpfx)noload-mem.
17610 * elf/noload.c: Include <memcheck.h>.
17611 (main): Call mtrace. Close all opened handles.
17612
f2092faf
AS
176132011-02-17 Andreas Schwab <schwab@redhat.com>
17614
17615 [BZ #12454]
17616 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17617 dependencies are missing.
17618
6c8a2e88
ST
176192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17620
f2092faf 17621 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17622 Hurd needs munmap.
17623 * sysdeps/mach/hurd/ifreq.h: New file.
17624
84a42118
PB
176252011-01-27 Petr Baudis <pasky@suse.cz>
17626 Ulrich Drepper <drepper@gmail.com>
17627
071f805e 17628 [BZ 12445]#
84a42118
PB
17629 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17630 to extend_alloca().
17631 * stdio-common/bug23.c: New file.
17632 * stdio-common/Makefile (tests): Add bug23.
17633
e23fe25b
AS
176342010-09-28 Andreas Schwab <schwab@redhat.com>
17635 Ulrich Drepper <drepper@gmail.com>
17636
17637 [BZ #12489]
17638 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17639 before performing relro protection. At old place add assertion
17640 to make sure nothing changed.
17641
d3f02e10
NS
176422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17643 Glauber de Oliveira Costa <glommer@gmail.com>
17644
17645 * elf/elf.h: Add new ARM TLS relocs.
17646
d55fd7a5
RA
176472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17648
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17650 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17651 cast from r3.
17652 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17653 'tests' variable.
17654 * sysdeps/wordsize-64/tst-writev.c: New file.
17655
2206397e
RA
176562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17657
17658 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17659 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17660 insns in _dl_start to prevent a TOC reference before relocs are
17661 resolved.
17662
e9433893
UD
176632011-02-15 Ulrich Drepper <drepper@gmail.com>
17664
17665 [BZ #12469]
17666 * Makeconfig: Remove RANLIB definition.
17667 * Makerules: Don't use RANLIB.
17668 * aclocal.m4: Remove ranlib test.
17669 * configure.in: No need to check for ranlib.
17670 * elf/rtld-Rules: Don't use RANLIB.
17671
f75286c6
ST
176722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17673
8e31c82d
ST
17674 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17675 protection macro.
17676 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17677 inclusion protection macro.
17678
f75286c6
ST
17679 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17680 SIGRTMIN and SIGRTMAX and print information in that case only when
17681 SIGRTMIN is defined.
17682
c1d0e639
JJ
176832011-02-11 Jakub Jelinek <jakub@redhat.com>
17684
17685 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17686 arginfo fn returning -1.
17687
17688 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17689 and thousands string is zero terminated.
17690
edf9294e
AS
176912011-02-03 Andreas Schwab <schwab@redhat.com>
17692
17693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17694 sysdeps/unix/sysv/linux/bits/socket.h.
17695
2b7e92df
ST
176962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17697
edf9294e
AS
17698 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17699 (__CPU_COUNT): Remove old macros.
17700 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17701 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17702 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17703 (__sched_cpualloc, __sched_cpufree): Add declarations.
17704
a4c7ea7b
UD
177052011-02-05 Ulrich Drepper <drepper@gmail.com>
17706
17707 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17708 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17709 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17710 (readdhstai): Return value of addhstaiX call.
17711 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17712 (addgrbyX): Return value returned by cache_addgr.
17713 (readdgrbyname): Return value returned by addgrbyX.
17714 (readdgrbygid): Likewise.
17715 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17716 (addpwbyX): Return value returned by cache_addpw.
17717 (readdpwbyname): Return value returned by addhstbyX.
17718 (readdpwbyuid): Likewise.
17719 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17720 (addservbyX): Return value returned by cache_addserv.
17721 (readdservbyname): Return value returned by addservbyX:
17722 (readdservbyport): Likewise.
17723 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17724 (addhstbyX): Return value returned by cache_addhst.
17725 (readdhstbyname): Return value returned by addhstbyX.
17726 (readdhstbyaddr): Likewise.
17727 (readdhstbynamev6): Likewise.
17728 (readdhstbyaddrv6): Likewise.
17729 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17730 (readdinitgroups): Return value returned by addinitgroupsX.
17731 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17732 (prune_cache): Keep track of timeout value of re-added entries.
17733 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17734 * nscd/nscd.h: Adjust prototypes of readd* functions.
17735
a0bf67cc
RM
177362011-02-04 Roland McGrath <roland@redhat.com>
17737
17738 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17739 (nis_stats): Likewise.
17740 * nis/nis_modify.c (nis_modify): Likewise.
17741 * nis/nis_remove.c (nis_remove): Likewise.
17742 * nis/nis_add.c (nis_add): Likewise.
17743
17744 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17745
17746 * posix/fnmatch_loop.c: Add some consts.
17747
17748 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17749
435b95eb
L
177502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 [BZ #12460]
17753 * config.make.in (config-cflags-novzeroupper): Define.
17754 * configure.in: Substitute libc_cv_cc_novzeroupper.
17755 * elf/Makefile (AVX-CFLAGS): Define.
17756 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17757 (CFLAGS-tst-auditmod4a.c): Likewise.
17758 (CFLAGS-tst-auditmod4b.c): Likewise.
17759 (CFLAGS-tst-auditmod6b.c): Likewise.
17760 (CFLAGS-tst-auditmod6c.c): Likewise.
17761 (CFLAGS-tst-auditmod7b.c): Likewise.
17762 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17763
8517b15e
UD
177642011-02-02 Ulrich Drepper <drepper@gmail.com>
17765
17766 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17767 function to the callback.
17768 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17769
10a656fe
AS
177702011-02-02 Andreas Schwab <schwab@redhat.com>
17771
17772 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17773 of errno.
17774
968dad0a
UD
177752011-01-19 Ulrich Drepper <drepper@gmail.com>
17776
9f94d2ea 17777 [BZ #11724]
968dad0a
UD
17778 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17779 of constructors.
17780 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17781 of destructors.
17782 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17783
17784 [BZ #11724]
17785 * elf/Makefile: Add rules to build and run new test.
17786 * elf/tst-initorder.c: New file.
17787 * elf/tst-initorder.exp: New file.
17788 * elf/tst-initordera1.c: New file.
17789 * elf/tst-initordera2.c: New file.
17790 * elf/tst-initordera3.c: New file.
17791 * elf/tst-initordera4.c: New file.
17792 * elf/tst-initorderb1.c: New file.
17793 * elf/tst-initorderb2.c: New file.
17794 * elf/tst-order-a1.c: New file.
17795 * elf/tst-order-a2.c: New file.
17796 * elf/tst-order-a3.c: New file.
17797 * elf/tst-order-a4.c: New file.
17798 * elf/tst-order-b1.c: New file.
17799 * elf/tst-order-b2.c: New file.
17800 * elf/tst-order-main.c: New file.
17801 New test case by George Gensure <werkt0@gmail.com>.
17802
86e92359
UD
178032010-10-01 Andreas Schwab <schwab@redhat.com>
17804
17805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17806 decoding ACE if AI_CANONIDN.
17807
5d5732b0
UD
178082011-01-18 Ulrich Drepper <drepper@gmail.com>
17809
17810 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17811
a77e8cbc
UD
178122011-01-17 Ulrich Drepper <drepper@gmail.com>
17813
6392473f
UD
17814 * version.h (RELEASE): Bump for 2.13 release.
17815 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17816
620a0529
UD
17817 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17818
18ba70a5
UD
17819 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17820 MADV_NOHUGEPAGE.
32465c3e
UD
17821 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17827
c0dafcf1
UD
17828 * posix/getconf.c: Update copyright year.
17829 * catgets/gencat.c: Likewise.
17830 * csu/version.c: Likewise.
17831 * debug/catchsegv.sh: Likewise.
17832 * debug/xtrace.sh: Likewise.
17833 * elf/ldconfig.c: Likewise.
17834 * elf/ldd.bash.in: Likewise.
17835 * elf/sprof.c (print_version): Likewise.
17836 * iconv/iconv_prog.c: Likewise.
17837 * iconv/iconvconfig.c: Likewise.
17838 * locale/programs/locale.c: Likewise.
17839 * locale/programs/localedef.c: Likewise.
17840 * malloc/memusage.sh: Likewise.
17841 * malloc/mtrace.pl: Likewise.
17842 * nscd/nscd.c (print_version): Likewise.
17843 * nss/getent.c: Likewise.
17844
a77e8cbc
UD
17845 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17846 PF_CAIF, and PF_ALG.
17847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17848
77e8bddf
AS
178492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17850
1f20b93a
AS
17851 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17852 (modules-names): Use them.
17853 (ifunc-test-modules, ifunc-pie-tests): Define.
17854 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17855 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17856 (test-extras): Likewise.
17857 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17858 $(compile-command.c).
17859 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17860 (all-built-dso): Define.
17861 (check-textrel.out, check-execstack.out): Depend on it.
17862
77e8bddf
AS
17863 * configure.in: Don't override --enable-multi-arch.
17864
bc425b33
UD
178652011-01-15 Ulrich Drepper <drepper@gmail.com>
17866
17867 [BZ #6812]
17868 * nscd/hstcache.c (tryagain): Define.
17869 (cache_addhst): Return tryagain not notfound for temporary errors.
17870 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17871 failed.
17872
794c3ad3
UD
178732011-01-14 Ulrich Drepper <drepper@gmail.com>
17874
70181fdd
UD
17875 [BZ #10563]
17876 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17877 to make the syscall.
17878 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17879
794c3ad3
UD
17880 [BZ #12378]
17881 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17882 and fall back to matching as normal character if the string ends before
17883 the matching ']' is found. This is what POSIX requires.
17884 * posix/testfnm.c: Adjust test result.
17885 * posix/globtest.sh: Adjust test result. Add new test.
17886 * posix/tst-fnmatch.input: Likewise.
17887 * posix/tst-fnmatch2.c: Add new test.
17888
68dc9497
AS
178892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17890
17891 * elf/Makefile (check-execstack): Revert last change. Depend on
17892 check-execstack.h.
17893 (check-execstack.h): New target.
17894 (generated): Add check-execstack.h.
17895 * elf/check-execstack.c: Include "check-execstack.h".
17896 (main): Revert last change.
17897 (handle_file): Return zero if GNU_STACK is absent and
17898 DEFAULT_STACK_PERMS doesn't include PF_X.
17899
451f001b
UD
179002011-01-13 Ulrich Drepper <drepper@gmail.com>
17901
cfa28e56
UD
17902 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17903 in child fails because the descriptor is already closed.
8cf8ce17
UD
17904 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17905 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17907
1086d70d
UD
17908 [BZ #12397]
17909 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17910 syscall.
17911
451f001b
UD
17912 [BZ #10484]
17913 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17914 temporary buffer used to handle multi lookups locally.
a85b5cb4 17915 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17916
08769175
UD
179172011-01-12 Ulrich Drepper <drepper@gmail.com>
17918
17919 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17920 loader is ld.so.
17921
5e49c52e
UD
179222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17923
17924 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17925 alignment for SSE2.
17926
60522a5f
UD
179272011-01-12 Ulrich Drepper <drepper@gmail.com>
17928
17929 [BZ #12394]
17930 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17931 characters. When rounding increased number of integer digits recompute
17932 number of groups.
17933 * stdio-common/tst-grouping.c: New file.
17934 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17935
f257bbd7
UD
179362011-01-09 Ulrich Drepper <drepper@gmail.com>
17937
17938 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17939 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17940
17941 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17942 void.
17943 * bits/select.h: Likewise.
17944
fa9c15cb
UD
179452011-01-08 Ulrich Drepper <drepper@gmail.com>
17946
17947 * po/ja.po: Update from translation team.
17948
16c2895f
DM
179492011-01-04 David S. Miller <davem@sunset.davemloft.net>
17950
17951 [BZ #11155]
17952 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17953 implementation just like for lxstat, fxstatat, et al.
17954
2543fef2
JM
179552010-12-27 Jim Meyering <meyering@redhat.com>
17956
17957 [BZ #12348]
17958 * posix/regexec.c (build_trtable): Return failure indication upon
17959 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17960
98727dbe
UD
179612010-12-25 Ulrich Drepper <drepper@gmail.com>
17962
5bd6dc5c
UD
17963 [BZ #12201]
17964 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17965 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17966 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17967 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17968
97983464
UD
17969 [BZ #12207]
17970 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17971
98727dbe
UD
17972 [BZ #12204]
17973 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17974 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17975
4a531bb0
L
179762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17979 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17980 script has SORT_BY_INIT_PRIORITY.
17981 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17982 NO_CTORS_DTORS_SECTIONS is defined.
17983 * elf/soinit.c: Likewise.
17984 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17985 NO_CTORS_DTORS_SECTIONS is defined.
17986 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17987 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17988 * sysdeps/sh/init-first.c: Likewise.
17989 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17990
07eb4b71
UD
179912010-12-24 Ulrich Drepper <drepper@gmail.com>
17992
17993 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17994 always use the slow path.
17995
30950a5f
RA
179962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17997
17998 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17999 similar rule which adds the sysdep directories to the header search in
18000 order to pick up the correct platform stackinfo.h.
18001 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18002 perform test if it is, otherwise return successfully without testing.
18003 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18004 DEFAULT_STACK_PERMS define in stackinfo.h.
18005 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18006 defined in stackinfo.h.
18007 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18008 DEFAULT_STACK_PERMS defined in stackinfo.h.
18009 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18010 * sysdeps/ia64/stackinfo.h: Likewise.
18011 * sysdeps/s390/stackinfo.h: Likewise.
18012 * sysdeps/sh/stackinfo.h: Likewise.
18013 * sysdeps/sparc/stackinfo.h: Likewise.
18014 * sysdeps/x86_64/stackinfo.h: Likewise.
18015 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18016 PF_X for powerpc64. Retain PF_X for powerpc32.
18017
db753e2c
UD
180182010-12-19 Ulrich Drepper <drepper@gmail.com>
18019
14b697f7
UD
18020 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18021 accurately.
db753e2c
UD
18022 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18023 GETDENTS_64BIT_ALIGNED.
18024
28300719
UD
180252010-12-14 Ulrich Drepper <dreper@gmail.com>
18026
14b697f7 18027 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18028
4f197237
AS
180292010-12-10 Andreas Schwab <schwab@redhat.com>
18030
dbb0472f
AS
18031 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18032 _GNU_SOURCE.
18033
4f197237
AS
18034 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18035 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18036 Remove __restrict.
18037 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18038 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18039
fb88ac72
UD
180402010-12-09 Ulrich Drepper <drepper@gmail.com>
18041
18042 [BZ #11655]
18043 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18044 are initialized.
18045
42acbb92
JJ
180462010-12-09 Jakub Jelinek <jakub@redhat.com>
18047
18048 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18049
c038d98d
UD
180502010-12-03 Ulrich Drepper <drepper@gmail.com>
18051
18052 * po/it.po: Update from translation team.
18053
3a4a2499
L
180542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18055
18056 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18057 unused codes.
18058
1e24cf6e
UD
180592010-11-30 Ulrich Drepper <drepper@gmail.com>
18060
18061 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18062
a7690819
AS
180632010-11-24 Andreas Schwab <schwab@redhat.com>
18064
18065 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18066 specially.
18067 (gaih_getanswer_slice): Likewise.
18068
3bf8d1b1
JJ
180692010-10-20 Jakub Jelinek <jakub@redhat.com>
18070
18071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18072
6db52fbb
PB
180732010-05-31 Petr Baudis <pasky@suse.cz>
18074
18075 [BZ #11149]
18076 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18077 silently even in the chroot mode.
18078
eaca7569
UD
180792010-11-22 Ulrich Drepper <drepper@gmail.com>
18080
18081 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18082 last patch a bit. Pretty printing
18083
3056dcdb
UD
180842010-05-31 Petr Baudis <pasky@suse.cz>
18085
18086 [BZ #10085]
18087 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18088 initialization of skip_initgroups_dyn.
18089
cf7c9078
UD
180902010-11-19 Ulrich Drepper <drepper@gmail.com>
18091
18092 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18094
a1fb5e3e
UD
180952010-11-16 Ulrich Drepper <drepper@gmail.com>
18096
18097 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18098
3540d66b
AS
180992010-11-11 Andreas Schwab <schwab@redhat.com>
18100
18101 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18102 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18103 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18104 ($(objpfx)tst-fnmatch-mem): New rule.
18105 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18106 * posix/tst-fnmatch.c (main): Call mtrace.
18107
13b69574
L
181082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18111 Support Intel processor model 6 and model 0x2c.
18112
da93d214
LM
181132010-11-10 Luis Machado <luisgpm@br.ibm.com>
18114
18115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18116 signed comparison.
18117
8ca52c6e
L
181182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 [BZ #12205]
18121 * string/test-strncasecmp.c (check_result): New function.
18122 (do_one_test): Use it.
18123 (check1): New function.
18124 (test_main): Use it.
18125 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18126 Support strcasecmp and strncasecmp.
18127
69da074d
UD
181282010-11-08 Ulrich Drepper <drepper@gmail.com>
18129
18130 [BZ #12194]
18131 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18133
ff02d528
L
181342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18135
18136 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18137 IFUNC support.
18138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18139 memset-x86-64.
18140 * sysdeps/x86_64/multiarch/bzero.S: New file.
18141 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18142 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18143 * sysdeps/x86_64/multiarch/memset.S: New file.
18144 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18146 Set bit_Prefer_SSE_for_memop for Intel processors.
18147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18148 Define.
18149 (index_Prefer_SSE_for_memop): Define.
18150 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18151
344d0b54
LM
181522010-11-04 Luis Machado <luisgpm@br.ibm.com>
18153
18154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18155 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18156
c0dde15b
UD
181572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18158
18159 [BZ #12191]
18160 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18161 (__x86_64_raw_data_cache_size_half): Likewise.
18162 (__x86_64_raw_shared_cache_size): Likewise.
18163 (__x86_64_raw_shared_cache_size_half): Likewise.
18164
18165 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18166 (__x86_64_raw_data_cache_size_half): Likewise.
18167 (__x86_64_raw_shared_cache_size): Likewise.
18168 (__x86_64_raw_shared_cache_size_half): Likewise.
18169 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18170 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18171 and __x86_64_raw_shared_cache_size_half. Round
18172 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18173 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18174 to multiple of 256 bytes.
18175
0e516e0e
MS
181762010-11-03 Ulrich Drepper <drepper@gmail.com>
18177
18178 [BZ #12167]
18179 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18180 of inacessible symlinks. Verify result of symlink before returning it.
18181 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18182 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18183
0e012e87
ER
181842010-10-28 Erich Ritz <erichritz@gmail.com>
18185
18186 * math/math.h (isinf): Fix typo in comment.
18187
de0ff7bc
UD
181882010-11-01 Ulrich Drepper <drepper@gmail.com>
18189
18190 * po/da.po: Update from translation team.
18191
fa41c84d
UD
181922010-10-26 Ulrich Drepper <drepper@gmail.com>
18193
18194 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18195 is added to the list.
18196
f0967738
AK
181972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18198 Ulrich Drepper <drepper@gmail.com>
18199
18200 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18201 the global list here. Move code to...
18202 (_dl_add_to_namespace_list): ...here. New function.
18203 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18204 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18205 * elf/dl-load.c (lose): Don't remove the element from the list.
18206 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18207 (_dl_map_object): Likewise.
18208
182092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18210
18211 [BZ #12159]
18212 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18213 into all bytes of SSE register.
18214 Patch by Richard Li <richardpku@gmail.com>.
18215
f0967738 182162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18217
18218 [BZ #12140]
18219 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18220 perturbing.
18221
d0b9e94f
MB
182222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18223
18224 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18225 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18227 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18229 submachine.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18231
8e9f92e9
AS
182322010-10-22 Andreas Schwab <schwab@redhat.com>
18233
18234 * include/dlfcn.h (__RTLD_SECURE): Define.
18235 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18236 mode & __RTLD_SECURE instead.
18237 (open_path): Rename preloaded parameter to secure.
18238 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18239 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18240 * elf/dl-deps.c (openaux): Likewise.
18241 * elf/rtld.c (struct map_args): Remove is_preloaded.
18242 (map_doit): Don't use it.
18243 (dl_main): Likewise.
18244 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18245 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18246
bc96fbda
AS
182472010-09-09 Andreas Schwab <schwab@redhat.com>
18248
18249 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18250 (sysd-rules-targets): Remove duplicates.
18251 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18252 rtld-%.$o dependency.
18253
22cd1c9b
AS
182542010-10-18 Andreas Schwab <schwab@redhat.com>
18255
18256 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18257 _dl_map_object do it.
18258
18edac48
UD
182592010-10-19 Ulrich Drepper <drepper@gmail.com>
18260
18261 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18262 fast fma builtins, define the macros in the C99 standard.
18263 (FP_FAST_FMAF): Likewise.
18264 (FP_FAST_FMAL): Likewise.
18265 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18266
18267 * bits/mathdef.h: Update copyright year.
18268 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18269
d2050124
MM
182702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18271
18272 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18273 builtins, define the macros in the C99 standard.
18274 (FP_FAST_FMAF): Likewise.
18275 (FP_FAST_FMAL): Likewise.
18276 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18277 multiply/add.
18278 (FP_FAST_FMAF): Likewise.
18279
475facd1
JJ
182802010-10-15 Jakub Jelinek <jakub@redhat.com>
18281
18282 [BZ #3268]
18283 * math/libm-test.inc (fma_test): Some new testcases.
18284 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18285 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18286 y and infinite z. Do multiplication by C already in long double.
18287 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18289 y and infinite z. Do bitwise or of inexact bit into u.d.
18290 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18291 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18292 * sysdeps/i386/fpu/s_fma.S: Removed.
18293 * sysdeps/i386/fpu/s_fmal.S: Removed.
18294
7c08a05c
JJ
182952010-10-16 Jakub Jelinek <jakub@redhat.com>
18296
18297 [BZ #3268]
18298 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18300 computation is not scheduled after fetestexcept. Fix value
18301 of minimum denormal long double.
18302
f3f7372d
JJ
183032010-10-14 Jakub Jelinek <jakub@redhat.com>
18304
18305 [BZ #3268]
18306 * math/libm-test.inc (fma_test): Add some more tests.
18307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18308 correctly.
18309
14d43591
AS
183102010-10-15 Andreas Schwab <schwab@redhat.com>
18311
18312 * scripts/data/localplt-s390-linux-gnu.data: New file.
18313 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18314
5e908464
JJ
183152010-10-13 Jakub Jelinek <jakub@redhat.com>
18316
18317 [BZ #3268]
18318 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18319 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18320 instead of dbl-64.
18321 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18322 inlines.
18323 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18325 if one of x and y is very large and the other is subnormal.
18326 * sysdeps/s390/fpu/s_fmaf.c: New file.
18327 * sysdeps/s390/fpu/s_fma.c: New file.
18328 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18329 * sysdeps/powerpc/fpu/s_fma.S: New file.
18330 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18331 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18332 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18333
183342010-10-12 Jakub Jelinek <jakub@redhat.com>
18335
18336 [BZ #3268]
18337 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18338 fma tests.
18339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18340 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18341 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18342 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18343 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18344 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18346
b833d51f
UD
183472010-10-12 Ulrich Drepper <drepper@redhat.com>
18348
18349 [BZ #12078]
18350 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18351 * posix/bug-regex31.input: Add test case.
18352
1751705d
UD
183532010-10-11 Ulrich Drepper <drepper@gmail.com>
18354
e9b9cbf5
UD
18355 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18356 * posix/bug-regex31.input: New file.
18357
18358 [BZ #12078]
18359 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18360 (parse_sub_exp): Fix last change, use postorder.
18361
ef06edbe
UD
18362 * posix/bug-regex31.c: New file.
18363 * posix/Makefile: Add rules to build and run bug-regex31.
18364
a129c80d
UD
18365 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18366
18367 [BZ #12078]
18368 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18369
b76b818e
UD
18370 [BZ #12108]
18371 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18372 to have entries in sys_siglist.
18373
1751705d
UD
18374 [BZ #12093]
18375 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18376 be NULL.
18377
9ff8d36f
JJ
183782010-10-07 Jakub Jelinek <jakub@redhat.com>
18379
18380 [BZ #3268]
18381 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18382 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18383 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18384 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18385 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18386 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18387 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18388 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18389 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18390 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18391 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18392 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18393 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18394 * math/ftestexcept.c (fetestexcept): Likewise.
18395 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18396 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18397 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18398 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18399 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18400 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18402
af325969
UD
184032010-10-11 Ulrich Drepper <drepper@gmail.com>
18404
c579b202 18405 [BZ #12107]
af325969
UD
18406 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18407 newline.
18408
67a67b95
UD
184092010-10-06 Ulrich Drepper <drepper@gmail.com>
18410
18411 * string/bug-strstr1.c: New file.
18412 * string/Makefile: Add rules to build and run bug-strstr1.
18413
5fb308bc
EB
184142010-10-05 Eric Blake <eblake@redhat.com>
18415
18416 [BZ #12092]
18417 * string/str-two-way.h (two_way_long_needle): Always clear memory
18418 when skipping input due to the shift table.
18419
45db99c7
UD
184202010-10-03 Ulrich Drepper <drepper@gmail.com>
18421
3b111893
UD
18422 [BZ #12005]
18423 * malloc/mcheck.c: Handle large requests.
18424
45db99c7
UD
18425 [BZ #12077]
18426 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18427 for strncmp and strncasecmp.
18428 * string/stratcliff.c: Add tests for strcmp and strncmp.
18429 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18430
cf7a1eb8
NI
184312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18432
18433 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18434 __set_fpscr.
18435
6484ba5e
AJ
184362010-09-30 Andreas Jaeger <aj@suse.de>
18437
18438 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18439 (CGROUP_SUPER_MAGIC): Define.
18440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18441 Handle btrfs and cgroup file systems.
18442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18443 Likewise.
18444
91c42559
LM
184452010-09-27 Luis Machado <luisgpm@br.ibm.com>
18446
18447 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18448 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18449
87a97932
AK
184502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18451
18452 [BZ #12067]
18453 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18454 trying to locate the ELF header.
18455
c21cc9bc
AS
184562010-09-27 Andreas Schwab <schwab@redhat.com>
18457
18458 [BZ #11611]
18459 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18460 Mask out sign-bit copies when constructing f_fsid.
18461
315970f6
PB
184622010-09-24 Petr Baudis <pasky@suse.cz>
18463
18464 * debug/stack_chk_fail_local.c: Add missing licence exception.
18465 * debug/warning-nop.c: Likewise.
18466
1ac7a2c7
JM
184672010-09-15 Joseph Myers <joseph@codesourcery.com>
18468
18469 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18470 implementing getdents64 using getdents syscall, set d_type if
18471 __ASSUME_GETDENTS32_D_TYPE.
18472
56801c50
AS
184732010-09-16 Andreas Schwab <schwab@redhat.com>
18474
18475 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18476 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18477
dda51327
UD
184782010-09-21 Ulrich Drepper <drepper@redhat.com>
18479
18480 [BZ #12037]
18481 * posix/unistd.h: Undo change of feature selection for ftruncate from
18482 2010-01-11.
18483
8ffcee4a
UD
184842010-09-20 Ulrich Drepper <drepper@redhat.com>
18485
a545ecd9 18486 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18487 detection.
18488
e24f0a8b
AS
184892010-09-20 Andreas Schwab <schwab@redhat.com>
18490
18491 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18492 fanotify_mark.
18493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18494
7291c56f
AS
184952010-09-14 Andreas Schwab <schwab@redhat.com>
18496
18497 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18498 variables after CHECK_SP call.
18499 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18500
bc5fb037
AS
185012010-09-13 Andreas Schwab <schwab@redhat.com>
18502 Ulrich Drepper <drepper@redhat.com>
18503
18504 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18505 re-relocationg ld.so.
18506 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18507 _dl_init_paths call.
18508 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18509 here anymore.
18510
e66e7419
UD
185112010-09-14 Ulrich Drepper <drepper@redhat.com>
18512
18513 * resolv/res_init.c (__res_vinit): Count the default server we added.
18514
c044aa75
CLT
185152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18516 Ulrich Drepper <drepper@redhat.com>
18517
18518 [BZ #11968]
18519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18520 (____longjmp_chk): Use %ebx for saving value across system call.
18521 Add unwind info.
18522
32cf4069
AS
185232010-09-06 Andreas Schwab <schwab@redhat.com>
18524
18525 * manual/Makefile: Don't mix pattern rules with normal rules.
18526
817328ee
AS
185272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18528
18529 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18530 operation.
18531 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18532 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18533 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18534 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18536 Likewise.
18537
29fddf61
UD
185382010-09-04 Ulrich Drepper <drepper@redhat.com>
18539
18540 [BZ #11979]
18541 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18542 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18543
0959ffc9
UD
185442010-09-02 Ulrich Drepper <drepper@redhat.com>
18545
18546 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18547 * sysdeps/x86_64/addmul_1.S: Likewise.
18548 * sysdeps/x86_64/lshift.S: Likewise.
18549 * sysdeps/x86_64/mul_1.S: Likewise.
18550 * sysdeps/x86_64/rshift.S: Likewise.
18551 * sysdeps/x86_64/sub_n.S: Likewise.
18552 * sysdeps/x86_64/submul_1.S: Likewise.
18553
ece29840
ST
185542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18555
0959ffc9
UD
18556 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18557 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18558 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18559 * bits/sched.h [__need_schedparam]
ece29840 18560 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18561 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18562 (__defined_schedparam): Define to 1.
ece29840
ST
18563 (__sched_param): New structure, identical to sched_param.
18564 (__need_schedparam): Undefine.
18565
e53a31fe
MF
185662010-08-31 Mike Frysinger <vapier@gentoo.org>
18567
fdc0c10d
MF
18568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18569 (epoll_create1): Declare.
18570
e53a31fe
MF
18571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18572
a726d796
AS
185732010-08-31 Andreas Schwab <schwab@redhat.com>
18574
18575 [BZ #7066]
18576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18577 shifting retval into place.
18578
2f3e3dc7
UD
185792010-09-01 Ulrich Drepper <drepper@redhat.com>
18580
f2933da9
UD
18581 * nis/rpcsvc/nis.h: Update copyright notice.
18582 * nis/rpcsvc/nis.x: Likewise.
18583 * nis/rpcsvc/nis_callback.h: Likewise.
18584 * nis/rpcsvc/nis_callback.x: Likewise.
18585 * nis/rpcsvc/nis_object.x: Likewise.
18586 * nis/rpcsvc/nis_tags.h: Likewise.
18587 * nis/rpcsvc/yp.h: Likewise.
18588 * nis/rpcsvc/yp.x: Likewise.
18589 * nis/rpcsvc/ypupd.h: Likewise.
18590 * nis/yp_xdr.c: Likewise.
18591 * nis/ypupdate_xdr.c: Likewise.
18592
2f3e3dc7
UD
18593 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18594 mainly the body of pmap_getport. Add parameters to specify timeouts.
18595 (pmap_getport): Use __libc_rpc_getport.
18596 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18597 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18598 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18599
f3dcc2f9
AS
186002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18601
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18603 fanotify_mark.
18604
6d34eb5b
RM
186052010-08-27 Roland McGrath <roland@redhat.com>
18606
18607 * sysdeps/i386/i686/multiarch/Makefile
18608 (CFLAGS-varshift.c): New variable.
18609
9ea3de11
UD
186102010-08-27 Ulrich Drepper <drepper@redhat.com>
18611
c96d23fc
UD
18612 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18613 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18614
9ea3de11
UD
18615 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18616
18617 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18618
623aac7f
L
186192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18620
18621 * sysdeps/x86_64/strlen.S: Unroll the loop.
18622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18623 strlen-sse2 strlen-sse2-bsf.
18624 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18625 __strlen_no_bsf if bit_Slow_BSF is set.
18626 (__strlen_sse42): Removed.
18627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18628 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18629
8b2b7715
RM
186302010-08-25 Roland McGrath <roland@redhat.com>
18631
18632 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18633 * sysdeps/x86_64/multiarch/varshift.c: New file.
18634 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18635 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18636 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18637 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18638
e73015f2
L
186392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18640
18641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18642 strlen-sse2 strlen-sse2-bsf.
18643 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18644 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18645 (__strlen_sse2): Removed.
18646 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18649 bit_Slow_BSF for Atom.
18650 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18651 (index_Slow_BSF): Define.
18652 (HAS_SLOW_BSF): Define.
18653
df24a73e
UD
186542010-08-25 Ulrich Drepper <drepper@redhat.com>
18655
18656 [BZ #10851]
18657 * resolv/res_init.c (__res_vinit): When no server address at all
18658 is given default to loopback.
18659
f2ac4868
RM
186602010-08-24 Roland McGrath <roland@redhat.com>
18661
09055553
RM
18662 * configure.in: Remove config-name.h generation.
18663 * configure: Regenerated.
18664 * config-name.in: File removed.
18665 * scripts/config-uname.sh: New file.
18666 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18667 ($(objdir)config-name.h): New target.
18668
f2ac4868
RM
18669 * sunrpc/rpc_parse.h: Avoid nested comment.
18670
73f27d5e
RH
186712010-08-24 Richard Henderson <rth@redhat.com>
18672 Ulrich Drepper <drepper@redhat.com>
18673 H.J. Lu <hongjiu.lu@intel.com>
18674
18675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18677 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18678 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18679 _mm_alignr_epi8 with _mm_loadu_si128.
18680 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18681 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18682 (__m128i_shift_right): Removed.
18683 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18684 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18685 * sysdeps/x86_64/multiarch/varshift.h: New file.
18686 * sysdeps/x86_64/multiarch/varshift.S: New file.
18687
84b9230c
MF
186882010-08-21 Mike Frysinger <vapier@gentoo.org>
18689
18690 * configure.in: Move assembler checks to before sysdep dir checking.
18691
9bbd0ddc
PB
186922010-08-20 Petr Baudis <pasky@suse.cz>
18693
18694 * LICENSES: Sync the sunrpc license.
18695
9da4bb31
UD
186962010-08-19 Ulrich Drepper <drepper@redhat.com>
18697
a7ab6ec8
UD
18698 * sunrpc/auth_des.c: Update copyright notice once again.
18699 * sunrpc/auth_none.c: Likewise.
18700 * sunrpc/auth_unix.c: Likewise.
18701 * sunrpc/authdes_prot.c: Likewise.
18702 * sunrpc/authuxprot.c: Likewise.
18703 * sunrpc/bindrsvprt.c: Likewise.
18704 * sunrpc/clnt_gen.c: Likewise.
18705 * sunrpc/clnt_perr.c: Likewise.
18706 * sunrpc/clnt_raw.c: Likewise.
18707 * sunrpc/clnt_simp.c: Likewise.
18708 * sunrpc/clnt_tcp.c: Likewise.
18709 * sunrpc/clnt_udp.c: Likewise.
18710 * sunrpc/clnt_unix.c: Likewise.
18711 * sunrpc/des_crypt.c: Likewise.
18712 * sunrpc/des_soft.c: Likewise.
18713 * sunrpc/get_myaddr.c: Likewise.
18714 * sunrpc/getrpcport.c: Likewise.
18715 * sunrpc/key_call.c: Likewise.
18716 * sunrpc/key_prot.c: Likewise.
18717 * sunrpc/openchild.c: Likewise.
18718 * sunrpc/pm_getmaps.c: Likewise.
18719 * sunrpc/pm_getport.c: Likewise.
18720 * sunrpc/pmap_clnt.c: Likewise.
18721 * sunrpc/pmap_prot.c: Likewise.
18722 * sunrpc/pmap_prot2.c: Likewise.
18723 * sunrpc/pmap_rmt.c: Likewise.
18724 * sunrpc/rpc/auth.h: Likewise.
18725 * sunrpc/rpc/auth_unix.h: Likewise.
18726 * sunrpc/rpc/clnt.h: Likewise.
18727 * sunrpc/rpc/des_crypt.h: Likewise.
18728 * sunrpc/rpc/key_prot.h: Likewise.
18729 * sunrpc/rpc/netdb.h: Likewise.
18730 * sunrpc/rpc/pmap_clnt.h: Likewise.
18731 * sunrpc/rpc/pmap_prot.h: Likewise.
18732 * sunrpc/rpc/pmap_rmt.h: Likewise.
18733 * sunrpc/rpc/rpc.h: Likewise.
18734 * sunrpc/rpc/rpc_des.h: Likewise.
18735 * sunrpc/rpc/rpc_msg.h: Likewise.
18736 * sunrpc/rpc/svc.h: Likewise.
18737 * sunrpc/rpc/svc_auth.h: Likewise.
18738 * sunrpc/rpc/types.h: Likewise.
18739 * sunrpc/rpc/xdr.h: Likewise.
18740 * sunrpc/rpc_clntout.c: Likewise.
18741 * sunrpc/rpc_cmsg.c: Likewise.
18742 * sunrpc/rpc_common.c: Likewise.
18743 * sunrpc/rpc_cout.c: Likewise.
18744 * sunrpc/rpc_dtable.c: Likewise.
18745 * sunrpc/rpc_hout.c: Likewise.
18746 * sunrpc/rpc_main.c: Likewise.
18747 * sunrpc/rpc_parse.c: Likewise.
18748 * sunrpc/rpc_parse.h: Likewise.
18749 * sunrpc/rpc_prot.c: Likewise.
18750 * sunrpc/rpc_sample.c: Likewise.
18751 * sunrpc/rpc_scan.c: Likewise.
18752 * sunrpc/rpc_scan.h: Likewise.
18753 * sunrpc/rpc_svcout.c: Likewise.
18754 * sunrpc/rpc_tblout.c: Likewise.
18755 * sunrpc/rpc_util.c: Likewise.
18756 * sunrpc/rpc_util.h: Likewise.
18757 * sunrpc/rpcinfo.c: Likewise.
18758 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18759 * sunrpc/rpcsvc/key_prot.x: Likewise.
18760 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18761 * sunrpc/rpcsvc/mount.x: Likewise.
18762 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18763 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18764 * sunrpc/rpcsvc/rex.x: Likewise.
18765 * sunrpc/rpcsvc/rstat.x: Likewise.
18766 * sunrpc/rpcsvc/rusers.x: Likewise.
18767 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18768 * sunrpc/rpcsvc/spray.x: Likewise.
18769 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18770 * sunrpc/rtime.c: Likewise.
18771 * sunrpc/svc.c: Likewise.
18772 * sunrpc/svc_auth.c: Likewise.
18773 * sunrpc/svc_authux.c: Likewise.
18774 * sunrpc/svc_raw.c: Likewise.
18775 * sunrpc/svc_run.c: Likewise.
18776 * sunrpc/svc_simple.c: Likewise.
18777 * sunrpc/svc_tcp.c: Likewise.
18778 * sunrpc/svc_udp.c: Likewise.
18779 * sunrpc/svc_unix.c: Likewise.
18780 * sunrpc/svcauth_des.c: Likewise.
18781 * sunrpc/xcrypt.c: Likewise.
18782 * sunrpc/xdr.c: Likewise.
18783 * sunrpc/xdr_array.c: Likewise.
18784 * sunrpc/xdr_float.c: Likewise.
18785 * sunrpc/xdr_mem.c: Likewise.
18786 * sunrpc/xdr_rec.c: Likewise.
18787 * sunrpc/xdr_ref.c: Likewise.
18788 * sunrpc/xdr_sizeof.c: Likewise.
18789 * sunrpc/xdr_stdio.c: Likewise.
18790
9da4bb31
UD
18791 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18792 handling.
18793
bdaa77bc
AS
187942010-08-19 Andreas Schwab <schwab@redhat.com>
18795
18796 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18797
fe2f79db
LM
187982010-08-19 Luis Machado <luisgpm@br.ibm.com>
18799
18800 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18801 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18802 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18803 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18804 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18805 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18806 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18807 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18809 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18810 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18811 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18812 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18813 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18814
b9b42ee0
AB
188152010-07-26 Anton Blanchard <anton@samba.org>
18816
18817 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18818 * malloc/arena.c (heap_trim): Likewise.
18819
1c06ba31
UD
188202010-08-16 Ulrich Drepper <drepper@redhat.com>
18821
18822 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18823 here. Not...
18824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18825 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18826
f8392f40
L
188272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/i386/elf/Makefile: New file.
18830
3162f12e
AS
188312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18832
18833 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18834 from fanotify_init.
18835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18837
28c90b2c
UD
188382010-08-15 Ulrich Drepper <drepper@redhat.com>
18839
18840 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18841 of strncasecmp_l.
1feccb6c 18842 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18843
ca6bb004
UD
188442010-08-14 Ulrich Drepper <drepper@redhat.com>
18845
e9f82e0d
UD
18846 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18847 strncase_l-nonascii.
18848 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18849 Add strncase_l-ssse3.
18850 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18851 * sysdeps/x86_64/strcmp.S: Likewise.
18852 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18853 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18854 * sysdeps/x86_64/strncase.S: New file.
18855 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18856 * sysdeps/x86_64/strncase_l.S: New file.
18857 * string/Makefile (strop-tests): Add strncasecmp.
18858 * string/test-strncasecmp.c: New file.
18859
18860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18861 warning.
18862
ca6bb004
UD
18863 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18864 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18865
052fa7b3
AS
188662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18867
18868 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18869
962dba78
UD
188702010-08-12 Ulrich Drepper <drepper@redhat.com>
18871
18872 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18873 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18875
bebff237
AM
188762010-05-01 Alan Modra <amodra@gmail.com>
18877
18878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18879 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18880 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18881 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18882 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18883 tidying. Don't tail-call __sigjmp_save for static lib.
18884 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18885 save location.
18886 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18887 (CALL_MCOUNT): Add eh info, and nop after bl.
18888 (TAIL_CALL_SYSCALL_ERROR): New macro.
18889 (PSEUDO_RET): Use it.
18890 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18891 Correct save location of integer regs and cr.
18892 (_dl_profile_resolve): Correct cr save location. Delete nops
18893 after bl when SHARED. Reduce cfi size a little by better
18894 placement of cfi directives.
18895 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18896 make a stack frame. Instead use parm save area as a temp.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18898 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18900 Don't make a stack frame for parent, use parm save area.
18901 Increase child stack frame to 112 bytes. Don't save unused reg,
18902 and adjust reg usage. Set up cfi on error recovery and
18903 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18905 (__makecontext): Add dummy nop after jump to exit.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18907 Use correct parm save area and cr save, reduce stack frame.
18908 Correct cfi for possible PSEUDO_RET frame setup.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18910 Branch to local label emitted by PSEUDO_RET rather than
18911 __syscall_error.
18912
02637374
AS
189132010-08-12 Andreas Schwab <schwab@redhat.com>
18914
18915 [BZ #11904]
18916 * locale/programs/locale.c (print_assignment): New function.
18917 (show_locale_vars): Use it.
18918
c3e2f19b
UD
189192010-08-11 Ulrich Drepper <drepper@redhat.com>
18920
3cdaa6ad
UD
18921 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18922 field.
18923 (struct statfs64): Likewise.
18924 (_STATFS_F_FLAGS): Define.
18925 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18927 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18928 (ST_VALID): Define locally.
18929 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18930 __statvfs_getflags, use the provided value.
18931 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18932 __ASSUME_STATFS_F_FLAGS.
18933
754f7da3
UD
18934 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18935
10b3bedc
UD
18936 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18937 Add sys/fanotify.h.
18938 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18939 fanotify_mask for GLIBC_2.13.
18940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18941 fanotify_init and fanotify_mark.
18942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18943 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18944
c08fb0d7
UD
18945 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18946 Add prlimit.
18947 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18948 prlimit64 for GLIBC_2.13.
18949 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18950 prlimit64.
18951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18952 syscall.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18955 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18956 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18958 add prlimit alias.
18959 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18960
15bac72b
UD
18961 [BZ #11903]
18962 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18963 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18964
c3e2f19b
UD
18965 * nss/Makefile: Add rules to build and run tst-nss-test1.
18966 * shlib-versions: Add entry for libnss_test1.
18967 * nss/nss_test1.c: New file.
18968 * nss/tst-nss-test1.c: New file.
18969
18970 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18971 (__nss_configure_lookup): Set appropriate entry in
18972 __nss_configure_lookup to true.
18973 * nss/nsswitch.h: Define enum with indeces of databases in
18974 databases and __nss_database_custom arrays. Declare
18975 __nss_database_custom.
18976 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18977 to avoid using nscd when custom rules are installed.
18978 * nss/getXXbyYY_r.c: Likewise.
18979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18980
18981 * nss/nss_files/files-parse.c: Whitespace fixes.
18982
f15ce4d8
UD
189832010-08-09 Ulrich Drepper <drepper@redhat.com>
18984
18985 [BZ #11883]
18986 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18987 * posix/fnmatch_loop.c: Likewise.
18988
d22e4cc9
AK
189892010-07-17 Andi Kleen <ak@linux.intel.com>
18990
18991 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18992 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18993 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18994 * Versions.def [GLIBC_2.13]: Add.
18995
805bc17d
UD
189962010-08-06 Ulrich Drepper <drepper@redhat.com>
18997
18998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18999 Also fail if tpwd after pwuid call is NULL.
19000
5a42321d
ST
190012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19002
19003 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19004 when converting to ms.
19005
fd3ebeda
ST
190062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19007
19008 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19009 EOPNOTSUPP errors with ENOTTY.
19010 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19011 EOPNOTSUPP errors with ENOTTY.
19012
73507d3a
UD
190132010-07-31 Ulrich Drepper <drepper@redhat.com>
19014
19015 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19016 Add strcasecmp_l-ssse3.
19017 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19018 strcasecmp.
19019 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19020 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19021 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19022
fe36dd02
UD
190232010-07-30 Ulrich Drepper <drepper@redhat.com>
19024
66f6765a
UD
19025 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19026
42e08a54
UD
19027 * string/Makefile (strop-tests): Add strcasecmp.
19028 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19029 strcasecmp_l-nonascii.
19030 (gen-as-const-headers): Add locale-defines.sym.
19031 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19032 * sysdeps/x86_64/strcasecmp.S: New file.
19033 * sysdeps/x86_64/strcasecmp_l.S: New file.
19034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19035 * sysdeps/x86_64/locale-defines.sym: New file.
19036 * string/test-strcasecmp.c: New file.
19037
fe36dd02
UD
19038 * string/test-strcasestr.c: Test both ends of the range of characters.
19039 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19040
48cbc0d6
RM
190412010-07-29 Roland McGrath <roland@redhat.com>
19042
76e6d6bc 19043 [BZ #11856]
48cbc0d6
RM
19044 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19045
880113d9
UD
190462010-07-27 Ulrich Drepper <drepper@redhat.com>
19047
19048 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19049 for ld.so.
19050
deb9cabb
AS
190512010-07-27 Andreas Schwab <schwab@redhat.com>
19052
19053 * manual/memory.texi (Malloc Tunable Parameters): Document
19054 M_PERTURB.
19055
1c7570ff
RM
190562010-07-26 Roland McGrath <roland@redhat.com>
19057
19058 [BZ #11840]
19059 * configure.in (-fgnu89-inline check): Set and substitute
19060 gnu89_inline, not libc_cv_gnu89_inline.
19061 * configure: Regenerated.
19062 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19063
24fb0f88
UD
190642010-07-26 Ulrich Drepper <drepper@redhat.com>
19065
19066 * string/test-strnlen.c: New file.
19067 * string/Makefile (strop-tests): Add strnlen.
19068 * string/tester.c (test_strnlen): Add a few more test cases.
19069 * string/tst-strlen.c: Better error reporting.
19070
19071 * sysdeps/x86_64/strnlen.S: New file.
19072
8e96b93a
UD
190732010-07-24 Ulrich Drepper <drepper@redhat.com>
19074
19075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19076 lower-latency instructions.
19077
dbc676d4
UD
190782010-07-23 Ulrich Drepper <drepper@redhat.com>
19079
19080 * string/test-strcasestr.c: New file.
19081 * string/test-strstr.c: New file.
19082 * string/Makefile (strop-tests): Add strstr and strcasestr.
19083 * string/str-two-way.h: Don't undefine MAX.
19084 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19085
f6a31e0e
AS
190862010-07-21 Andreas Schwab <schwab@redhat.com>
19087
19088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19089 strcasestr-nonascii.
19090 (CFLAGS-strcasestr-nonascii.c): Define.
19091 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19093 Remove unused attribute.
19094
5dbc3b6c
RM
190952010-07-20 Roland McGrath <roland@redhat.com>
19096
19097 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19098 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19099 ld.so.cache was broken. With it, there is no way to disable dsocaps
19100 like LD_HWCAP_MASK can disable hwcaps.
19101
23d101d8
EPM
191022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19103
19104 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19105
cc9f2e47
UD
191062010-07-16 Ulrich Drepper <drepper@redhat.com>
19107
19108 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19109 call in strcasestr.
19110 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19111 __strcasestr_sse42_nonascii.
19112 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19113 strcasestr-nonascii.c.
19114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19115
77c1b069
LM
191162010-06-15 Luis Machado <luisgpm@br.ibm.com>
19117
19118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19119 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19120 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19122
440566c3
UD
191232010-07-09 Ulrich Drepper <drepper@redhat.com>
19124
19125 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19126 fcntl.
19127
5be9d05d
AS
191282010-07-06 Andreas Schwab <schwab@redhat.com>
19129
c30b7ee2 19130 [BZ #11577]
5be9d05d
AS
19131 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19132 dl_signal_cerror.
19133
8a492a67
UD
191342010-07-06 Ulrich Drepper <drepper@redhat.com>
19135
19136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19137 _PC_PIPE_BUF using F_GETPIPE_SZ.
19138
713df3d5
RM
191392010-07-05 Roland McGrath <roland@redhat.com>
19140
19141 * manual/arith.texi (Rounding Functions): Fix rint description
19142 implicit in round description.
19143
702e8f14
UD
191442010-07-02 Ulrich Drepper <drepper@redhat.com>
19145
19146 * elf/Makefile: Fix linking for a few tests to make recent linker
19147 happy.
19148
52ed8be9
AS
191492010-06-30 Andreas Schwab <schwab@redhat.com>
19150
19151 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19152 $(common-objpfx)libc_nonshared.a.
19153
f47c9a11
LM
191542010-06-21 Luis Machado <luisgpm@br.ibm.com>
19155
19156 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19157 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19158 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19159 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19160 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19163 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19178 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19179 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19180 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19181 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19182 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19183 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19184 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19185 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19186 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19187 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19188 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19189 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19204
6fb8cbcb
L
192052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19206
19207 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19208 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19209 * string/memmove.c (memmove): Renamed to ...
19210 (MEMMOVE): ...this. Default to memmove.
19211 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19212 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19213 (END_CHK): Define.
19214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19215 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19216 mempcpy-ssse3-back memmove-ssse3-back.
19217 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19218 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19220 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19221 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19222 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19223 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19224 * sysdeps/x86_64/multiarch/memmove.c: New file.
19225 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19226 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19227 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19228 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19229 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19231 Define.
19232 (index_Fast_Copy_Backward): Define.
19233 (HAS_ARCH_FEATURE): Define.
19234 (HAS_FAST_REP_STRING): Define.
19235 (HAS_FAST_COPY_BACKWARD): Define.
19236
4e733bac 192372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19238
19239 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19240 Restore proper fallback handling.
19241
63c4ed22
UD
192422010-06-19 Ulrich Drepper <drepper@redhat.com>
19243
ac2b484c
UD
19244 [BZ #11701]
19245 * posix/group_member.c (__group_member): Correct checking loop.
19246
63c4ed22
UD
19247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19248 OOM in getpwuid_r correctly. Return error number when the caller
19249 should return, otherwise -1.
19250 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19251 call returning > 0 value.
19252 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19253
765ade4b
AS
192542010-06-07 Andreas Schwab <schwab@redhat.com>
19255
19256 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19257 libc_nonshared.a from targets in modules-names.
19258
80da2e09
KS
192592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19260
19261 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19262 requires it.
19263
158db122
LM
192642010-06-10 Luis Machado <luisgpm@br.ibm.com>
19265
19266 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19268 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19270
caa78cf8
AS
192712010-06-02 Andreas Schwab <schwab@redhat.com>
19272
19273 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19274
b2ef2c01
UD
192752010-06-14 Ulrich Drepper <drepper@redhat.com>
19276
19277 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19278 and F_GETPIPE_SZ.
19279 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19284 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19285
fbd643b6
RM
192862010-06-14 Roland McGrath <roland@redhat.com>
19287
19288 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19289
f32f2869
JJ
192902010-06-07 Jakub Jelinek <jakub@redhat.com>
19291
19292 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19293 __REDIRECT followed by __THROW.
19294 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19295 * posix/getopt.h (getopt): Likewise.
19296
2a50c078
EPM
192972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19298
19299 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19300 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19301 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19302 in AT_FLAGS.
19303 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19304 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19305
eb5ad2eb
LM
193062010-05-28 Luis Machado <luisgpm@br.ibm.com>
19307
19308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19309
3c88fe1e
L
193102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 [BZ #11640]
19313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19314 Properly check family and model.
19315
d2f73151
TY
193162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19317
19318 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19319
ebd2e13d
LM
193202010-05-24 Luis Machado <luisgpm@br.ibm.com>
19321
19322 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19323
b32b8b45
UD
193242010-05-21 Ulrich Drepper <drepper@redhat.com>
19325
19326 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19327 symbol reference.
19328
9acbe24d
AS
193292010-05-19 Andreas Schwab <schwab@redhat.com>
19330
19331 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19332 symbol reference.
19333
f0ccf6ea
AS
193342010-05-21 Andreas Schwab <schwab@redhat.com>
19335
3d04ff3a
AS
19336 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19337 and internal_recvmmsg.
19338 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19339 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19340 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19341 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19342
f0ccf6ea
AS
19343 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19344 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19345 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19346
5b08ac57
AS
193472010-05-20 Andreas Schwab <schwab@redhat.com>
19348
19349 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19350
4828935d
LM
193512010-05-17 Luis Machado <luisgpm@br.ibm.com>
19352
19353 POWER7 optimizations.
19354 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19355 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19356
373d545e
UD
193572010-05-19 Ulrich Drepper <drepper@redhat.com>
19358
19359 * version.h: Update for 2.13 development version.
19360
21a2b1ae
AS
193612010-05-12 Andrew Stubbs <ams@codesourcery.com>
19362
19363 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19364 exceptions. Return 0.
19365
3f7dcb2b
RM
193662010-05-07 Roland McGrath <roland@redhat.com>
19367
19368 * elf/ldconfig.c (main): Add a const.
19369
5f24d53a 193702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19371
a160f8d8
UD
19372 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19373 (args_options): Add no-idn option.
19374 (ahosts_keys_int): Add idn_flags to ai_flags.
19375 (parse_option): Handle 'i' option to clear idn_flags.
19376
5f24d53a
UD
19377 * malloc/malloc.c (_int_free): Possible race in the most recently
19378 added check. Only act on the data if no current modification
19379 happened.
265bb1ce
UD
19380
19381See ChangeLog.17 for earlier changes.