]> sourceware.org Git - glibc.git/blame - ChangeLog
rtld: limit self loading check to normal mode only
[glibc.git] / ChangeLog
CommitLineData
f3fd569c
DL
12012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2
3 [BZ #14579]
4 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5 mode only.
6 * elf/tst-rtld-load-self.sh: New test.
7 * elf/Makefile: Run it.
8
63bbedd4
JM
92012-09-18 Joseph Myers <joseph@codesourcery.com>
10
11 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12 (tst-writev-ENV): Remove.
13 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14
626f8b6a
CM
152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16
17 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18
b7aaa4d6
JM
192012-09-17 Joseph Myers <joseph@codesourcery.com>
20
21 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22 unconditional.
23 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24 Likewise.
25 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28 Likewise.
29
65513990
L
302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31
32 [BZ #14587]
33 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34 * config.make.in (have-cpp-asm-debuginfo): Removed.
35 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36 * configure: Regenerated.
37
784761be
JM
382012-09-14 Joseph Myers <joseph@codesourcery.com>
39
40 [BZ #5044]
41 * stdio-common/printf_fp.c: Include <stdbool.h> and
42 <rounding-mode.h>.
43 (___printf_fp): Determine rounding using get_rounding_mode and
44 round_away.
45 * stdio-common/tst-printf-round.c: New file.
46 * stdio-common/Makefile (tests): Add tst-printf-round.
47 (link-libm): New variable.
48 ($(objpfx)tst-printf-round): Depend in $(link-libm).
49
9503345f
L
502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
51
52 [BZ #14576]
53 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55 Likewise.
56 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57 Likewise.
58
ad35fc00
JM
592012-09-13 Joseph Myers <joseph@codesourcery.com>
60
61 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65
6c9b0f68
JM
662012-09-12 Joseph Myers <joseph@codesourcery.com>
67
68 [BZ #14518]
69 * include/rounding-mode.h: New file.
70 * sysdeps/generic/get-rounding-mode.h: Likewise.
71 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72 * stdlib/strtod_l.c: Include <rounding-mode.h>.
73 (MAX_VALUE): New macro.
74 (MIN_VALUE): Likewise.
75 (overflow_value): New function.
76 (underflow_value): Likewise.
77 (round_and_return): Use overflow_value and underflow_value to
78 determine return values in overflow and underflow cases. Use
79 round_away to determine rounding depending on rounding mode.
80 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
81 determine return values in overflow and underflow cases.
82 * stdlib/tst-strtod-round.c: Include <fenv.h>.
83 (struct test_results): New structure.
84 (struct test): Use struct test_results to store expected results
85 for all rounding modes.
86 (TEST): Include expected results for all rounding modes.
87 (test_in_one_mode): New function.
88 (do_test): Use test_in_one_mode to compute and check results.
89 Check results for all rounding modes.
90 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
91 $(link-libm).
92
19fcedd5
AM
932012-12-09 Allan McRae <allan@archlinux.org>
94
95 * sysdeps/i386/fpu/libm-test-ulps: Update
96
8bbfd2f1
JM
972012-09-11 Joseph Myers <joseph@codesourcery.com>
98
99 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
116 (_G_int32_t): Likewise.
117 (_G_uint16_t): Likewise.
118 (_G_uint32_t): Likewise.
119 (_G_HAVE_BOOL): Likewise.
120 (_G_HAVE_ATEXIT): Likewise.
121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
122 (_G_HAVE_IO_FILE_OPEN): Likewise.
123
b1dc5912
L
1242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
125
126 * csu/libc-tls.c: Update copyright years.
127
0e886ef9
JM
1282012-09-10 Joseph Myers <joseph@codesourcery.com>
129
28361c5e
JM
130 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
131 [!_G_USING_THUNKS]: Remove conditional code.
132 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
133 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
134
0e886ef9
JM
135 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
136 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
137 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
138 (_G_VTABLE_LABEL_PREFIX): Likewise.
139 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
140 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
142 (_G_VTABLE_LABEL_PREFIX): Likewise.
143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
144 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
146 (_G_VTABLE_LABEL_PREFIX): Likewise.
147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
148
bcba7aa2
L
1492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
150
151 * libio/Makefile: Include ../Makeconfig before tests.
152 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
153 only if $(build-shared) is yes.
154
06585ee8
L
155 * iconv/gconv_db.c: Update copyright years.
156
80ccd52c
LD
1572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
158
159 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
160 unwind info if defined PIC. Fix special cases description.
161 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
162
163 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
164 DP_HI_MASK entry.
165 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
166
691bc9c1
L
1672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
168
3d9b46b3
L
169 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
170
de2139a9
L
171 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
172 is NULL.
173
5ca78dd0
L
174 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
175 (LDLIBS-tst-chk4): This.
176 (LDFLAGS-tst-chk5): Renamed to ...
177 (LDLIBS-tst-chk5): This.
178 (LDFLAGS-tst-chk6): Renamed to ...
179 (LDLIBS-tst-chk6): This.
180 (LDFLAGS-tst-lfschk4): Renamed to ...
181 (LDLIBS-tst-lfschk4): This.
182 (LDFLAGS-tst-lfschk5): Renamed to ...
183 (LDLIBS-tst-lfschk5): This.
184 (LDFLAGS-tst-lfschk6): Renamed to ...
185 (LDLIBS-tst-lfschk6): This.
186
691bc9c1
L
187 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
188 on $(common-objpfx)soversions.mk.
189
65cafb1c
JM
1902012-09-07 Joseph Myers <joseph@codesourcery.com>
191
192 [BZ #10014]
193 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
194 example host name.
195
c78ab094
SP
1962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 * malloc/arena.c (arena_get_retry): New function that gets
199 another arena for the caller to try its request on.
200 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
201 current arena cannot fulfill the request.
202 (__libc_memalign): Likewise.
203 (__libc_memalign): Likewise.
204 (__libc_pvalloc): Likewise.
205 (__libc_calloc): Likewise.
206
01f49f59
JT
2072012-09-05 John Tobey <john.tobey@gmail.com>
208
209 [BZ #13542]
210 * manual/arith.texi (Operations on Complex): Fix description
211 of carg branch cut.
212
4c23fed5
JM
2132012-09-06 Joseph Myers <joseph@codesourcery.com>
214
1d3c8572
JM
215 [BZ #10014]
216 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
217 host name.
218
4c23fed5
JM
219 [BZ #10038]
220 * manual/memory.texi (Memory): Make order of menu items match
221 order of sections.
222
04570aaa
L
2232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
224
225 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
226 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
227 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
228
b80af2f4
L
2292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
230
231 * csu/libc-tls.c (static_dtv): Renamed to ...
232 (_dl_static_dtv): This. Make it global.
233 (_dl_initial_dtv): Removed.
234 (__libc_setup_tls): Updated.
235 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
236 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
237 DL_INITIAL_DTV.
238
2abe9f15
PM
2392012-09-06 Petr Machata <pmachata@redhat.com>
240
241 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
242 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
243 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
244 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
245
0948c3af
L
2462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
247
248 [BZ #14545]
249 * csu/libc-tls.c (_dl_initial_dtv): New variable.
250 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
251 freeing dtv[-1].
252
a5055ad1
L
2532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
254
255 [BZ #14544]
256 * Makeconfig (link-static-before-libc): Replace $(+prector)
257 with $(+prectorT).
258 (link-static-after-libc): Replace $(+postctor) with
259 $(+postctorT).
260 (link-bounded): Replace $(+prector)/$(+postctor) with
261 $(+prectorT)/$(+postctorT).
262 (+prectorT): New macro.
263 (+postctorT): Likewise.
264
ed8c2ecd
JM
2652012-09-06 Joseph Myers <joseph@codesourcery.com>
266
267 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
268 (round_str): Handle values above the maximum for IBM long double
269 as inexact.
270 * stdlib/tst-strtod-round.c (tests): Regenerated.
271
14c996c8
AK
2722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
273
274 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
275 assembler flag.
276 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
277 zarch_nohighgprs around the zarch optimized routines.
278 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
279 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
281 for zarch.
282
430d6ce6
DM
2832012-09-05 David S. Miller <davem@davemloft.net>
284
285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
286
ff04dda4
DM
287 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
288 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
289 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
291 entries.
292
24d4e01b
AO
2932012-09-05 Alexandre Oliva <aoliva@redhat.com>
294
295 * malloc/arena.c: Fold copyright years.
296 * malloc/mcheck.c, malloc/memusage.c: Likewise.
297
61d58174
AO
2982012-09-05 Alexandre Oliva <aoliva@redhat.com>
299
300 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
301
20196a5e
AO
3022012-09-05 Alexandre Oliva <aoliva@redhat.com>
303
304 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
305
5c447383
AO
3062012-09-05 Alexandre Oliva <aoliva@redhat.com>
307
308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
309 change internal state upon failure.
310
fad64255
AO
3112012-09-05 Alexandre Oliva <aoliva@redhat.com>
312
313 * malloc/mcheck.c (mcheck_check_all): Fix typo.
314 * malloc/memusage.c (mmap): Likewise.
315 (mmap64, mremap): Likewise. Adjust name in comment.
316
1ffb8c90
SP
3172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
318
319 * libio/fileops.c: Fix typos in comments.
320 * libio/oldfileops.c: Likewise.
321 * libio/wfileops.c: Likewise.
322
6ef9cc37
SP
3232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
324
325 [BZ #1349]
326 * malloc/Makefile (tests): Add tst-malloc-usable test case.
327 (tst-malloc-usable-ENV): Set environment for test case.
328 * malloc/hooks.c (malloc_check_get_size): New function to get
329 requested size.
330 * malloc/malloc.c (musable): Use malloc_check_get_size.
331 * malloc/tst-malloc-usable.c: New test case.
332
4d038ae3
AS
3332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
334
335 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
336
c4e85184
AM
3372012-09-05 Allan McRae <allan@archlinux.org>
338
b9dafc56 339 [BZ #13966]
c4e85184
AM
340 * configure.in (CXX_SYSINCLUDES): Use compiler output to
341 determine header location.
342 * configure: Regenerated.
343
e1343020
AS
3442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
345
346 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
347 float format.
348 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
349 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
350 format.
e1343020
AS
351 (test): Regenerate.
352
0a9f1987
DM
3532012-09-04 David S. Miller <davem@davemloft.net>
354
355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
358
29237804
FW
3592012-09-04 Florian Weimer <fweimer@redhat.com>
360
361 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
362 failures.
363
edb3cb88
FW
364 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
365
60160d83
JM
3662012-09-04 Joseph Myers <joseph@codesourcery.com>
367
368 [BZ #9914]
369 * libio/iogetdelim.c: Include <limits.h>.
370 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
371 + len + 1 would overflow.
372
bcd6c8dc
AJ
3732012-09-03 Andreas Jaeger <aj@suse.de>
374
375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
377
4ffffbd2
LD
3782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
379
380 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
381 Add s_sinf-sse2, s_conf-sse2.
382
383 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
385 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
386 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
387
388 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
389 for using routine as __sinf_ia32.
390 Use macro for function declaration and weak_alias.
391 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
392 for using routine as __cosf_ia32.
393 Use macro for function declaration and weak_alias.
394
395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
396 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
397
398 * sysdeps/x86_64/fpu/s_sinf.S: New file.
399 * sysdeps/x86_64/fpu/s_cosf.S: New file.
400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
401
402 * math/libm-test.inc (cos_test): Add more test cases.
403 (sin_test): Likewise.
404 (sincos_test): Likewise.
405
511fa286
AK
4062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
407
408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
409 (IFUNC_RESOLVE): Make pointers to the specialized implementations
410 hidden.
411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
412
5f30cfec
L
4132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
414
415 [BZ #14538]
416 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
417 first element of the GOT.
418 (elf_machine_load_address): Return the difference between
419 the runtime address of _DYNAMIC and elf_machine_dynamic ().
420
0786794f
AM
4212012-09-01 Allan McRae <allan@archlinux.org>
422
5f30cfec
L
423 [BZ #13412]
424 * configure.in (AWK): Require gawk version 3.0 or later.
425 * configure: Regenerated.
0786794f 426
26889eac
JM
4272012-09-01 Joseph Myers <joseph@codesourcery.com>
428
429 * sysdeps/unix/sysv/linux/kernel-features.h
430 (__ASSUME_POSIX_CPU_TIMERS): Remove.
431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
432 [__NR_clock_getres]: Make code unconditional.
433 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
434 (clock_getcpuclockid): Remove code left unreachable by removal of
435 conditionals.
436 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
437 code unconditional.
438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
441 Make code unconditional.
442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/clock_settime.c
445 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
446 conditional code.
447 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
449
d22e28b0
L
4502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
451
452 [BZ #14476]
453 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
454 scripts/test-installation.pl.
455
456 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
457 and $ld_so_version if it is set.
458
050af9c4
SP
4592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
460
461 [BZ #14516]
462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
463 failure if reading from procfs failed.
464 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
465
ad845c0b
JM
4662012-08-27 Joseph Myers <joseph@codesourcery.com>
467
468 * sysdeps/unix/sysv/linux/kernel-features.h
469 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
470 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
471 Remove conditional code.
472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
473 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
474 Remove conditional code.
475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
476 * sysdeps/unix/sysv/linux/i386/fxstat.c
477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
479 * sysdeps/unix/sysv/linux/i386/fxstatat.c
480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
482 * sysdeps/unix/sysv/linux/i386/lxstat.c
483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
485 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
486 Remove conditional code.
487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
488 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
489 Remove conditional code.
490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
491 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
492 <kernel-features.h>.
493 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
494 Remove.
495 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
496 Remove conditional code.
497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
498 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
499 Remove conditional.
500
5dbf56af
MF
5012012-08-27 Mike Frysinger <vapier@gentoo.org>
502
503 [BZ #5400]
504 * NEWS: Add fixed bug number.
505
d6e70f43
JM
5062012-08-27 Joseph Myers <joseph@codesourcery.com>
507
7efb4737
JM
508 [BZ #14519]
509 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
510 underflowing exponent in case of negative sign.
511 * stdlib/tst-strtod-round-data: Add more tests.
512 * stdlib/tst-strtod-round.c (tests): Regenerated.
513
af92131a
JM
514 [BZ #3479]
515 * stdlib/strtod_l.c (NDIG): Remove.
516 (HEXNDIG): Likewise.
517 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
518 smallest representable value.
519 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
520 lie within an exact representation of 1/2 ulp of the result.
521 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
522 unconditionally.
523 (TENS_P9_IDX): Define unconditionally.
524 (TENS_P9_SIZE): Likewise.
525 (TENS_P10_IDX): Likewise.
526 (TENS_P10_SIZE): Likewise.
527 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
528 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
529 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
530 entries for 10^2^13 and 10^2^14.
531 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
532 (TENS_P13_IDX): Define.
533 (TENS_P13_SIZE): Likewise.
534 (TENS_P14_IDX): Likewise.
535 (TENS_P14_SIZE): Likewise.
536 (_fpioconst_pow10): Change array size to
537 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
538 unconditional.
539 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
540 1024]: Add entries for 10^2^13 and 10^2^14.
541 [LAST_POW10 > _LAST_POW10]: Remove #error.
542 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
543 (_fpioconst_pow10): Change array size to
544 FPIOCONST_POW10_ARRAY_SIZE.
545 * stdlib/gen-fpioconst.c: New file.
546 * stdlib/gen-tst-strtod-round.c: Likewise.
547 * stdlib/tst-strtod-round-data: Likewise.
548 * stdlib/tst-strtod-round.c: Likewise.
549 * stdlib/Makefile (tests): Add tst-strtod-round.
550
d6e70f43
JM
551 [BZ #14459]
552 * stdlib/strtod_l.c: Include <stdint.h>.
553 (NDEBUG): Do not define.
554 (round_and_return): Change EXPONENT parameter to type intmax_t.
555 Rearrange calculations to avoid internal overflow possibilities.
556 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
557 Rearrange calculations to avoid internal overflow possibilities.
558 Assert that number fits inside MPNSIZE limbs.
559 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
560 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
561 calculations and add assertions to avoid internal overflow
562 possibilities. Add casts to avoid signed/unsigned operations.
563 * stdlib/tst-strtod-overflow.c: New file.
564 * stdlib/Makefile (tests): Add tst-strtod-overflow.
565
1f529f7d
MP
5662012-08-25 Marek Polacek <polacek@redhat.com>
567
568 * time/time.h: Fix some typos in comments.
569
59a629f1
RM
5702012-08-23 Roland McGrath <roland@hack.frob.com>
571
572 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
573 * posix/tst-rfc3484-2.c: Likewise.
574 * posix/tst-rfc3484-3.c: Likewise.
575
d3bafbc9
SM
5762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
577
578 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
579 (EF_ARM_ABI_FLOAT_HARD): Likewise.
580
4efcc022
JM
5812012-08-23 Joseph Myers <joseph@codesourcery.com>
582
583 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
584 #include of fxstatat64.c.
585
3cc3ef96
RM
5862012-08-22 Roland McGrath <roland@hack.frob.com>
587
f04e2132
RM
588 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
589 * shadow/getspent_r.c: Likewise.
590 * shadow/getspnam.c: Likewise.
591 * shadow/getspnam_r.c: Likewise.
592 * gshadow/getsgent.c: Likewise.
593 * gshadow/getsgent_r.c: Likewise.
594 * gshadow/getsgnam.c: Likewise.
595 * gshadow/getsgnam_r.c: Likewise.
596 * inet/getnetbyad.c: Likewise.
597 * inet/getnetbyad_r.c: Likewise.
598 * inet/getnetbynm.c: Likewise.
599 * inet/getnetbynm_r.c: Likewise.
600 * inet/getnetent.c: Likewise.
601 * inet/getnetent_r.c: Likewise.
602 * inet/getproto.c: Likewise.
603 * inet/getproto_r.c: Likewise.
604 * inet/getprtent.c: Likewise.
605 * inet/getprtent_r.c: Likewise.
606 * inet/getprtname.c: Likewise.
607 * inet/getprtname_r.c: Likewise.
608 * inet/getrpcbyname.c: Likewise.
609 * inet/getrpcbyname_r.c: Likewise.
610 * inet/getrpcbynumber.c: Likewise.
611 * inet/getrpcbynumber_r.c: Likewise.
612 * inet/getrpcent.c: Likewise.
613 * inet/getrpcent_r.c: Likewise.
614 * inet/getaliasent.c: Likewise.
615 * inet/getaliasent_r.c: Likewise.
616 * inet/getaliasname.c: Likewise.
617 * inet/getaliasname_r.c: Likewise.
618 * nscd/getgrgid_r.c: Likewise.
619 * nscd/getgrnam_r.c: Likewise.
620 * nscd/gethstbyad_r.c: Likewise.
621 * nscd/gethstbynm3_r.c: Likewise.
622 * nscd/getpwnam_r.c: Likewise.
623 * nscd/getpwuid_r.c: Likewise.
624 * nscd/getsrvbynm_r.c: Likewise.
625 * nscd/getsrvbypt_r.c: Likewise.
626 * nscd/gai.c: Likewise.
627
c53d909c
RM
628 * configure.in (build_nscd): New substituted variable, set
629 by --disable-build-nscd and defaults to $use_nscd.
630 * configure: Regenerated.
631 * config.make.in (build-nscd): New substituted variable.
632 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
633 Change conditional to require [$(build-nscd) = yes] as well.
634 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
635
3cc3ef96
RM
636 [BZ# 13696]
637 * configure.in (use_nscd): New substituted variable, set by
638 --disable-nscd. If enabled, define USE_NSCD.
639 * configure: Regenerated.
640 * config.h.in: Add USE_NSCD.
641 * config.make.in (use-nscd): New substituted variable.
642 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
643 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
644 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
645 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
646 (CFLAGS-getgrnam_r.c): Likewise.
647 (CFLAGS-initgroups.c): Likewise.
648 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
649 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
650 Variables removed.
651 * inet/getnetgrent_r.c
652 (nscd_setnetgrent): New function, broken out of ...
653 (setnetgrent): ... here. Call it.
654 (innetgr): Conditionalize nscd bits on [USE_NSCD].
655 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
656 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
657 * nscd/Makefile (routines, aux): Move definitions after include of
658 Makeconfig. Conditionalize on [$(use-nscd) != no].
659 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
660 Conditionalize on [USE_NSCD].
661 (is_nscd, nscd_init_cb): Likewise.
662 (nss_load_library): Conditionalize init callback on [USE_NSCD].
663 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
664 * nss/nss_db/db-init.c: Likewise.
665 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
666 [USE_NSCD].
667 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
668 (make_request): Use it.
669 (cache_valid_p): New function.
670 (__check_pf): Use it.
671 * NEWS: Add item for --disable-nscd.
672
07e51550
DL
6732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
674
675 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
676 to support sed >= 4.2.1-20-ga9bf076.
677 * configure: Regenerated.
678
35a5b08b
RM
6792012-08-22 Roland McGrath <roland@hack.frob.com>
680
681 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
682 Conditionalize whole body on [IREL].
683
8479f23a
JL
6842012-08-22 Jeff Law <law@redhat.com>
685
686 [BZ #14505]
687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
688 if the family is PF_UNSPEC.
689
48da0b21
MF
6902012-08-22 Mike Frysinger <vapier@gentoo.org>
691
692 * Makerules (lib-version): Rename from V.
693 (install-lib-nosubdir): Change V to lib-version.
694
15d0da8c
WS
6952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
696
697 [BZ #14252]
698 * powerpc32/power6/wcschr.c: New file.
699 * powerpc32/power6/wcscpy.c: New file.
700 * powerpc32/power6/wcsrchr.c: New file.
701 * powerpc64/power6/wcschr.c: New file.
702 * powerpc64/power6/wcscpy.c: New file.
703 * powerpc64/power6/wcsrchr.c: New file.
704
bcca0895
MK
7052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
706
707 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
708 (two_way_short_needle): Use it.
5a4aaa33
RM
709 * string/strstr.c (AVAILABLE1_USES_J): Define.
710 * string/strcasestr.c: Likewise.
99677e57
MK
711
712 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
713 array references.
714 * string/strcasestr.c (TOLOWER): Make side-effect safe.
715
400726de
MK
716 [BZ #11607]
717 * NEWS: Add an entry.
718 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
719 define their defaults.
720 (two_way_short_needle): Detect end-of-string on-the-fly.
721 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
722 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
723 * string/bug-strcasestr1.c: New test.
724 * string/Makefile: Run it.
725
20a71f2c
MK
7262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
727
728 [BZ #11607]
729 * string/str-two-way.h (two_way_short_needle): Optimize matching of
730 the first character.
731
21ad0558
RM
7322012-08-21 Roland McGrath <roland@hack.frob.com>
733
734 * csu/elf-init.c (__libc_csu_irel): Function removed.
735 * csu/libc-start.c (apply_irel): New function.
736 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
737
0e1d9911
JM
7382012-08-21 Joseph Myers <joseph@codesourcery.com>
739
740 * sysdeps/unix/sysv/linux/kernel-features.h
741 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
743 <kernel-features.h>.
744 [__NR_fadvise64_64]: Make code unconditional.
745 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
746 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
747 !__NR_fadvise64_64)]: Likewise.
748 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
749 !__NR_fadvise64_64))]: Likewise.
750 [__NR_fadvise64]: Make code unconditional.
751 [!__NR_fadvise64]: Remove conditional code.
752 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
753 <kernel-features.h>.
754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
755 unconditional.
756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
757 conditional code.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
759 not include <kernel-features.h>.
760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
761 unconditional.
762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
763 conditional code.
764 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
765 include <kernel-features.h>.
766 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
767 unconditional.
768 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
769 conditional code.
770
14a50c9d
WS
7712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
772
773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
774 slight instruction rearrangements per scrollpipe analysis.
775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
776
c0f4faf0
RM
7772012-08-20 Roland McGrath <roland@hack.frob.com>
778
696da859
RM
779 * manual/syslog.texi (syslog; vsyslog, closelog):
780 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
781 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
782
c0f4faf0
RM
783 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
784 DSOCAPS to match condition on defining it.
785
348363b2
JM
7862012-08-20 Joseph Myers <joseph@codesourcery.com>
787
a35cbf28
JM
788 * sysdeps/unix/sysv/linux/kernel-features.h
789 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
799
445f7ecd
JM
800 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
801 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
802
348363b2
JM
803 * sysdeps/unix/sysv/linux/kernel-features.h
804 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
805 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
806 unconditional.
807 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
808 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
811 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
812 Make code unconditional.
813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
814 (__mmap64) [!__NR_mmap2]: Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
816 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
817 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
818 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
819 [__NR_mmap2]: Make code unconditional.
820 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
821 (__mmap64) [!__NR_mmap2]: Likewise.
822
bc5bc0e5
AK
8232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
824
825 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
826
88d506de
AJ
8272012-08-18 Andreas Jaeger <aj@suse.de>
828
829 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
830
493387d2
MF
8312012-08-18 Mike Frysinger <vapier@gentoo.org>
832
833 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
834 * include/unistd.h (__have_sock_cloexec): Likewise.
835 (__have_pipe2): Likewise.
836 (__have_dup3): Likewise.
837
a277af22
MF
8382012-08-18 Mike Frysinger <vapier@gentoo.org>
839
840 [BZ #9685]
841 * include/unistd.h (__have_pipe2): Change define into an extern int.
842 (__have_dup3): Likewise.
843 * socket/have_sock_cloexec.c: Include fcntl.h.
844 (__have_pipe2): New variable.
845 (__have_dup3): Likewise.
846
fdab8fd3
MF
8472012-08-17 Mike Frysinger <vapier@gentoo.org>
848
849 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
850
31035e80
MP
8512012-08-17 Marek Polacek <polacek@redhat.com>
852
853 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
854 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
855
3bd9e993
RM
8562012-08-17 Roland McGrath <roland@hack.frob.com>
857
c91c505f
RM
858 * configure.in: Add AC_SUBST for sysheaders.
859 * configure: Regenerated.
860 * config.make.in (sysheaders): New substituted variable.
861
7c6f9d53
RM
862 * sysdeps/unix/mkfifo.c: Moved ...
863 * sysdeps/posix/mkfifo.c: ... here.
864 * sysdeps/unix/mkfifoat.c: Moved ...
865 * sysdeps/posix/mkfifoat.c: ... here.
866
867 * sysdeps/unix/utime.c: Moved ...
868 * sysdeps/posix/utime.c: ... here.
869
870 * sysdeps/unix/time.c: Moved ...
871 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
872 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
874
875 * sysdeps/unix/nice.c: Moved ...
876 * sysdeps/posix/nice.c: ... here.
877
878 * sysdeps/unix/alarm.c: Moved ...
879 * sysdeps/posix/alarm.c: ... here.
880
3bd9e993
RM
881 * intl/Makefile ($(codeset_mo)): Depend on the input file.
882
d1f09384
JL
8832012-08-17 Jeff Law <law@redhat.com>
884
885 * intl/Makefile (codeset_mo): New variable.
886 ($(codeset_mo)): New target.
887 (tst-codeset.out): Depend on that. Remove explicit rule.
888 (tst-gettext3.out, tst-gettext5.out): Likewise.
889 (LOCPATH-ENV, tst-codeset-ENV): New variables.
890 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
891 * intl/tst-codeset.sh: Remove.
892 * intl/tst-gettext3.sh: Likewise.
893 * intl/tst-gettext5.sh: Likewise.
894
2ae1ae5c
RM
8952012-08-17 Roland McGrath <roland@hack.frob.com>
896
c31fdb83
RM
897 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
898 * sysdeps/unix/syscalls.list: ... here.
899
a0844057
RM
900 * sysdeps/posix/getaddrinfo.c
901 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
902 (gaiconf_init, gaiconf_reload): Use them.
903 [!_STATBUF_ST_NSEC]
904 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
905 Define using time_t rather than struct timespec.
906
750c1f2a
RM
907 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
908 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
909 Macros removed.
910 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
911 [!NO_THREADS].
912 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
913 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
914 Likewise.
915
2ae1ae5c
RM
916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
917 __libc_cleanup_push argument.
918
e66a42f5
RM
919 * bits/param.h: New file.
920 * misc/sys/param.h: New file.
921 * include/sys/param.h: New file.
922 * misc/Makefile (headers): Add bits/param.h.
923 * sysdeps/generic/sys/param.h: File removed.
924 * sysdeps/unix/sysv/linux/bits/param.h: New file.
925 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
926 * sysdeps/mach/hurd/bits/param.h: New file.
927 * sysdeps/mach/hurd/sys/param.h: New file.
928
b7c08a66
RM
929 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
930 last change.
931
b2e1c562
RM
932 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
933 [_IO_MTSAFE_IO].
934 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
935 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
936 New macros.
937
c75ccd4c
RM
938 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
939 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
940 rather than -D_IO_MTSAFE_IO conditionally.
941 * stdio-common/Makefile (CPPFLAGS): Likewise.
942 * wcsmbs/Makefile (CPPFLAGS): Likewise.
943 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
944 Use $(libio-mtsafe).
945 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
946 of -D_IO_MTSAFE_IO.
947 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
948 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
949 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
950 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
951 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
952 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
953 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
954 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
955 (CFLAGS-fread_u_chk.c): Likewise.
956 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
957 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
958 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
959 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
960 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
961 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
962 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
963 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
964 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
965
966 * libio/Makefile: Test [$(libc-reentrant) = yes]
967 instead of [$(filter %REENTRANT, $(defines)) nonempty].
968
969 * Makeconfig
970 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
971 * sysdeps/pthread/configure: File removed.
972 * sysdeps/pthread/Makeconfig: New file.
973 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
974 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
975
d9195db8
GB
9762012-08-16 Gary Benson <gbenson@redhat.com>
977
978 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
979 unmapping the first object in a namespace.
980
86466cd9
RM
9812012-08-16 Roland McGrath <roland@hack.frob.com>
982
983 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
984 (__internal_setnetgrent): ... this. Add internal_function to
985 definition. Add libc_hidden_def.
986 (setnetgrent): Update caller.
987 (internal_endnetgrent): Renamed to ...
988 (__internal_endnetgrent): ... this. Add internal_function to
989 definition. Add libc_hidden_def.
990 (endnetgrent): Update caller.
991 (internal_getnetgrent_r): Renamed to ...
992 (__internal_getnetgrent_r): ... this. Add internal_function to
993 definition. Add libc_hidden_def.
994 (__getnetgrent_r): Update caller.
995 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
996
c3c8283c
JM
9972012-08-16 Joseph Myers <joseph@codesourcery.com>
998
999 * stdlib/longlong.h: Update from GCC.
1000
db1ee0a8
RM
10012012-08-16 Roland McGrath <roland@hack.frob.com>
1002
1003 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1004 on _QL, which is set by umul_ppmm but never used.
1005 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1006 variables, which are set by GMP macros but never used.
1007 * stdio-common/_itowa.c (_itowa): Likewise.
1008 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1009 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1010
30f69637
CD
10112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1012
1013 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1014 struct La_sh_regs is not constant.
1015 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1016 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1017 and struct La_sparc64_regs are not constant.
1018
93a78ac4
JM
10192012-08-16 Joseph Myers <joseph@codesourcery.com>
1020
1021 * sysdeps/unix/sysv/linux/kernel-features.h
1022 (__ASSUME_POSIX_TIMERS): Remove.
1023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1025 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1026 Make code unconditional.
1027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1028 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1029 Make code unconditional.
1030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1031 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1032 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1034 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1035 Make code unconditional.
1036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1038 (__libc_missing_posix_timers): Remove.
1039
dd924cd7
RM
10402012-08-15 Roland McGrath <roland@hack.frob.com>
1041
4b4f2771
RM
1042 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1043 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1044
601c888b
RM
1045 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1046
176790a7
RM
1047 * elf/dl-sym.c: Include <stdlib.h>.
1048
329bc018
RM
1049 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1050 constants, which avoids warnings in 32-bit builds.
1051
e04e272d
RM
1052 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1053 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1054
952bf94a
RM
1055 * misc/lseek.c: File moved to ...
1056 * io/lseek.c: ... here.
1057
7c99b50a
RM
1058 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1059
dd924cd7
RM
1060 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1061 shifting LEN more than 31 bits at once.
1062
b3f479a8
LD
10632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1064
1065 [BZ #14195]
8c4ae0d4
RM
1066 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1067 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1068 * string/test-strncasecmp.c (check1): Renamed to...
1069 (bz12205): ...this.
1070 (bz14195): Add new testcase for two empty input strings and N > 0.
1071 (test_main): Call new testcase, adapt for renamed function.
1072
9c55864e
AJ
10732012-08-15 Andreas Jaeger <aj@suse.de>
1074
1075 [BZ #14090]
1076 * crypt/md5test2.c: New test, based on test supplied by Serge
1077 Belyshev <belyshev@depni.sinp.msu.ru>.
1078 * crypt/Makefile (xtests): Add md5test-giant..
1079 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1080
02dcb6c5
PE
10812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1082
1083 [BZ #14090]
1084 * crypt/md5.c (md5_process_block): Don't assume the buffer
1085 length is less than 2**32.
1086 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1087 length is less than 2**64.
1088
a3f95dcc
RM
10892012-08-15 Roland McGrath <roland@hack.frob.com>
1090
be75d758
RM
1091 * string/str-two-way.h: Include <sys/param.h>.
1092 (MAX): Macro removed.
1093
7312ca90
RM
1094 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1095 Move #define and #undef of memmove to just before and after
1096 including <string.h>.
1097
9a0a5486
RM
1098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1099 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1100 and after including <string.h>. Move declarations of
1101 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1102 to before #include "string/memmove.c".
1103
67cc348d
RM
1104 * include/dirent.h: Declare __getdirentries.
1105
a3f95dcc
RM
1106 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1107 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1108
ca98e171
MF
11092012-08-14 Mike Frysinger <vapier@gentoo.org>
1110
1111 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1112 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1113 * sysdeps/i386/configure: Regenerated.
1114 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1115 STABS_CURRENT_FILE, and STABS_FUN.
1116 (END): Remove call to STABS_FUN_END.
1117 (STABS_CURRENT_FILE1): Delete.
1118 (STABS_CURRENT_FILE): Likewise.
1119 (STABS_FUN): Likewise.
1120 (STABS_FUN_END): Likewise.
1121 (STABS_FUN2): Likewise.
1122 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1123 * sysdeps/x86_64/configure: Regenerated.
1124
5908bf46
RM
11252012-08-14 Roland McGrath <roland@hack.frob.com>
1126
1127 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1128 * elf/dl-lookup.c: Likewise.
5908bf46 1129
f2c05b9e
JM
11302012-08-14 Joseph Myers <joseph@codesourcery.com>
1131
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1134 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1135 unconditionally.
1136 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1137 unconditionally.
1138 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1139 condition on __ASSUME_CLONE_THREAD_FLAGS.
1140
e11f5155
AJ
11412012-08-14 Andreas Jaeger <aj@suse.de>
1142
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1144
51a9ba86
MK
11452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1146
2fdd4f78
AJ
1147 * include/atomic.h (atomic_exchange_and_add): Split into ...
1148 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1149 New atomic macros.
51a9ba86 1150
ba6cba9e
MT
11512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1152
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1154
42443a47
JL
11552012-08-13 Jeff Law <law@redhat.com>
1156
1157 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1158 null byte in the output string.
1159
121dce05
JM
11602012-08-10 Joseph Myers <joseph@codesourcery.com>
1161
1162 * sysdeps/unix/sysv/linux/kernel-features.h
1163 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1164 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1165 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1167 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1168 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1169 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1170
bf51f568
JL
11712012-08-09 Jeff Law <law@redhat.com>
1172
1173 [BZ #13939]
1174 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1175 When avoid_arena is set, don't retry in the that arena. Pick the
1176 next one, whatever it might be.
1177 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1178 (arena_lock): Pass in new parameter to arena_get2.
1179 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1180 arena_get2.
1181 (__libc_malloc): Unify retrying after main arena failure with
1182 __libc_memalign version.
1183 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1184
f85fa270
L
11852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 [BZ #14166]
1188 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1189 to __redirect_strstr.
1190 (__strstr_sse42): Use typeof __redirect_strstr.
1191 (__strstr_ia32): Likewise.
1192 (__libc_strstr): New prototype.
1193 (strstr): Renamed to ...
1194 (__libc_strstr): This.
1195 (strstr): New strong alias of __libc_strstr.
1196 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1197 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1198 __redirect_time.
1199 Include <time.h>.
1200 (__libc_time): New prototype.
1201 (time_ifunc): Replace time with __libc_time.
1202 (time): New strong alias and hidden definition of __libc_time.
1203 (__GI_time): Remove strong alias.
1204 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1205 Include <stddef.h>.
1206 (memmove): Redefined to __redirect_memmove.
1207 (__memmove_sse2): Use typeof __redirect_memmove.
1208 (__memmove_ssse3): Likewise.
1209 (__memmove_ssse3_back): Likewise.
1210 (__libc_memmove): New prototype.
1211 (memmove): Renamed to ...
1212 (__libc_memmove): This.
1213 (memmove): New strong alias of __libc_memmove.
1214
33b4a91e
MS
12152012-08-08 Mark Salter <msalter@redhat.com>
1216
1217 * elf/elf.h
1218 (R_MN10300_TLS_GD): Define.
1219 (R_MN10300_TLS_LD): Likewise.
1220 (R_MN10300_TLS_LDO): Likewise.
1221 (R_MN10300_TLS_GOTIE): Likewise.
1222 (R_MN10300_TLS_IE): Likewise.
1223 (R_MN10300_TLS_LE): Likewise.
1224 (R_MN10300_TLS_DTPMOD): Likewise.
1225 (R_MN10300_TLS_DTPOFF): Likewise.
1226 (R_MN10300_TLS_TPOFF): Likewise.
1227 (R_MN10300_SYM_DIFF): Likewise.
1228 (R_MN10300_ALIGN): Likewise.
1229 (R_MN10300_NUM): Update.
1230
b36137f1
JM
12312012-08-08 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1234 Remove.
1235
cdd915fd
RM
12362012-08-08 Roland McGrath <roland@hack.frob.com>
1237
a2433aac
RM
1238 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1239
cdd915fd
RM
1240 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1241 sysdeps/unix -> sysdeps/posix move.
1242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1243
bf9b740a
AM
12442012-08-07 Allan McRae <allan@archlinux.org>
1245
1246 [BZ #14303]
1247 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1248 (SUNOS_CPP): Likewise.
1249 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1250 not found.
1251 (open_input): Call CPP using execvp.
1252
93df14ee
JM
12532012-08-07 Joseph Myers <joseph@codesourcery.com>
1254
1255 * sysdeps/unix/sysv/linux/kernel-features.h
1256 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1259 (__ASSUME_WAITID_SYSCALL): Likewise.
1260 * sysdeps/unix/sysv/linux/dl-execstack.c
1261 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1262 code unconditional.
1263 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1264 conditional code.
1265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1266 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1267 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1268 code.
1269 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1270 unconditional.
1271 [__ASSUME_WAITID_SYSCALL]: Likewise.
1272 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1273
d34689de
RM
12742012-08-07 Roland McGrath <roland@hack.frob.com>
1275
a281decc
RM
1276 * sysdeps/unix/closedir.c: Renamed to ...
1277 * sysdeps/posix/closedir.c: ... here.
1278 * sysdeps/unix/dirfd.c: Renamed to ...
1279 * sysdeps/posix/dirfd.c: ... here.
1280 * sysdeps/unix/dirstream.h: Renamed to ...
1281 * sysdeps/posix/dirstream.h: ... here.
1282 * sysdeps/unix/fdopendir.c: Renamed to ...
1283 * sysdeps/posix/fdopendir.c: ... here.
1284 * sysdeps/unix/opendir.c: Renamed to ...
1285 * sysdeps/posix/opendir.c: ... here.
1286 * sysdeps/unix/readdir.c: Renamed to ...
1287 * sysdeps/posix/readdir.c: ... here.
1288 * sysdeps/unix/readdir_r.c: Renamed to ...
1289 * sysdeps/posix/readdir_r.c: ... here.
1290 * sysdeps/unix/rewinddir.c: Renamed to ...
1291 * sysdeps/posix/rewinddir.c: ... here.
1292 * sysdeps/unix/seekdir.c: Renamed to ...
1293 * sysdeps/posix/seekdir.c: ... here.
1294 * sysdeps/unix/telldir.c: Renamed to ...
1295 * sysdeps/posix/telldir.c: ... here.
1296 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1297 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1298 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1299 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1300
22895b47
RM
1301 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1302 * bits/fcntl.h: ... here.
1303
707a53b6
RM
1304 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1305 not 0.
1306 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1307 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1308 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1309 (struct flock): Move l_start, l_len to the beginning.
1310 Use __pid_t for l_pid.
1311 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1312 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1313 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1314 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1315 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1316 [__USE_LARGEFILE64] (struct flock64): New type.
1317 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1318
f0bd3e25
RM
1319 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1320 * bits/dirent.h: ... here.
1321
d34689de
RM
1322 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1323 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1324
6dad2c06
JM
13252012-08-07 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1328 Change from 2.6.0 to 2.6.16.
1329 * sysdeps/unix/sysv/linux/configure: Regenerated.
1330 * sysdeps/unix/sysv/linux/kernel-features.h
1331 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1332 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1333 version.
1334 (__ASSUME_UTIMES): Likewise.
1335 (__ASSUME_CLONE_STOPPED): Remove.
1336 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1337 architectures, not kernel version.
1338 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1341 (__ASSUME_WAITID_SYSCALL): Likewise.
1342 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1343 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1344 * README: State 2.6.16 as minimum Linux kernel version. Do not
1345 refer to older versions.
1346
03af9520
RM
13472012-08-06 Roland McGrath <roland@hack.frob.com>
1348
8e49df1d
RM
1349 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1350 Define alphasort64 as an alias.
1351 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1352 Define versionsort64 as an alias.
1353 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1354 Define scandir64 as an alias.
1355 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1356 Define scandirat64 as an alias.
1357 * dirent/alphasort64.c (alphasort64):
1358 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1359 * dirent/versionsort64.c: Likewise.
1360 * dirent/scandir64.c: Likewise.
1361 * dirent/scandirat64.c: Likewise.
1362 * sysdeps/wordsize-64/alphasort.c: File removed.
1363 * sysdeps/wordsize-64/alphasort64.c: File removed.
1364 * sysdeps/wordsize-64/scandir.c: File removed.
1365 * sysdeps/wordsize-64/scandir64.c: File removed.
1366 * sysdeps/wordsize-64/scandirat.c: File removed.
1367 * sysdeps/wordsize-64/scandirat64.c: File removed.
1368 * sysdeps/wordsize-64/versionsort.c: File removed.
1369 * sysdeps/wordsize-64/versionsort64.c: File removed.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1378
1379 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1381 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1383 [defined __arch64__ || defined __sparcv9]
1384 (__INO_T_MATCHES_INO64_T): New macro.
1385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1386 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1387 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1388 * sysdeps/unix/sysv/linux/bits/dirent.h
1389 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1390 (_DIRENT_MATCHES_DIRENT64): New macro.
1391
03af9520
RM
1392 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1393 Define lockf64 as an alias.
1394 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1395 Define fseeko64 as an alias.
1396 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1397 Define ftello64 as an alias.
1398 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1399 Define _IO_fgetpos64 and fgetpos64 as aliases.
1400 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1401 Define _IO_fsetpos64 and fsetpos64 as aliases.
1402 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1403 Conditionalize body on this.
1404 * libio/fseeko64.c: Likewise.
1405 * libio/ftello64.c: Likewise.
1406 * libio/iofgetpos64.c: Likewise.
1407 * libio/iofsetpos64.c: Likewise.
1408 * sysdeps/wordsize-64/lockf.c: File removed.
1409 * sysdeps/wordsize-64/lockf64.c: File removed.
1410 * sysdeps/wordsize-64/fseeko.c: File removed.
1411 * sysdeps/wordsize-64/fseeko64.c: File removed.
1412 * sysdeps/wordsize-64/ftello.c: File removed.
1413 * sysdeps/wordsize-64/ftello64.c: File removed.
1414 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1415 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1416 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1417 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1428
1429 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1431 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1433 [defined __arch64__ || defined __sparcv9]
1434 (__OFF_T_MATCHES_OFF64_T): New macro.
1435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1436 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1438 (__OFF_T_MATCHES_OFF64_T): New macro.
1439
c5757acd
L
14402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * stdlib/secure-getenv.c (__secure_getenv): Replace
1443 GLIBC_2_16 with GLIBC_2_17.
1444
3a31811e
L
14452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1449
faa2bccb
DM
14502012-08-03 David S. Miller <davem@davemloft.net>
1451
1452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1453
85fe1997
JM
14542012-08-03 Joseph Myers <joseph@codesourcery.com>
1455
1456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1457 Remove.
1458 (__ASSUME_CORRECT_SI_PID): Likewise.
1459 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1460 (__ASSUME_TMPFS_NAME): Likewise.
1461 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1462 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1464 (HAVE_AUX_SECURE): Make definition unconditional.
1465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1466 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1467
4f75b7a0
RM
14682012-08-03 Roland McGrath <roland@hack.frob.com>
1469
1470 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1471 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1472 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1473 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1474 __eloop_threshold instead of SYMLOOP_MAX.
1475
1476 * sysdeps/generic/eloop-threshold.h: New file.
1477 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1478 of MAXSYMLINKS.
1479 * elf/chroot_canon.c (chroot_canon): Likewise.
1480
7aab07e4
JM
14812012-08-03 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #13717]
1484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1485 Change to 2.6.0 everywhere.
1486 * sysdeps/unix/sysv/linux/configure: Regenerated.
1487 * sysdeps/unix/sysv/linux/kernel-features.h
1488 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1489 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1490 kernel versions.
1491 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1492 (__ASSUME_FUTEX_REQUEUE): Remove.
1493 (__ASSUME_STATFS64): Define unconditionally.
1494 (__ASSUME_AT_SECURE): Likewise.
1495 (__ASSUME_CORRECT_SI_PID): Likewise.
1496 (__ASSUME_TGKILL): Define without depending on kernel version for
1497 i386.
1498 (__ASSUME_UTIMES): Likewise.
1499 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1500 kernel version.
1501 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1502 (__ASSUME_TMPFS_NAME): Likewise.
1503 * README: Update reference to Linux kernel versions.
1504
b67e9372
MP
15052012-08-02 Marek Polacek <polacek@redhat.com>
1506
1f529f7d 1507 [BZ# 14150]
b67e9372
MP
1508 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1509 libc_cv_asm_type_prefix with %.
1510 * configure: Regenerated.
d2441631
RM
1511 * include/libc-symbols.h: Remove comment about
1512 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1513 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1514 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1515 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1516 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1517 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1518 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1519 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1520 * elf/tst-unique2mod1.c: Likewise.
1521 * elf/tst-unique1mod2.c: Likewise.
1522 * elf/tst-unique1mod1.c: Likewise.
1523 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1524 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1525 Replace ASM_TYPE_DIRECTIVE with .type.
1526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1527 * sysdeps/i386/sysdep.h: Likewise.
1528 * sysdeps/x86_64/sysdep.h: Likewise.
1529 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1531 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1532 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1533 * sysdeps/powerpc/powerpc32/sysdep.h:
1534 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1535 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1537 * sysdeps/i386/fpu/e_powf.S: Likewise.
1538 * sysdeps/i386/fpu/e_expl.S: Likewise.
1539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1541 * sysdeps/i386/fpu/e_pow.S: Likewise.
1542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1546 * sysdeps/i386/fpu/e_log2.S: Likewise.
1547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1549 * sysdeps/i386/fpu/e_powl.S: Likewise.
1550 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1551 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1552 * sysdeps/i386/fpu/e_logl.S: Likewise.
1553 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1554 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1555 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1556 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1558 * sysdeps/i386/fpu/e_log.S: Likewise.
1559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1560 * sysdeps/i386/fpu/e_logf.S: Likewise.
1561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1563 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1564 * sysdeps/i386/fpu/e_log10.S: Likewise.
1565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1571 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1572 * sysdeps/i386/i686/strtok.S: Likewise.
1573 * sysdeps/i386/i386-mcount.S: Likewise.
1574 * sysdeps/i386/strtok.S: Likewise.
1575 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1578 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1579 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1584 * sysdeps/x86_64/_mcount.S: Likewise.
1585 * sysdeps/x86_64/strtok.S: Likewise.
1586 * sysdeps/sh/_mcount.S: Likewise.
1587
2747bf9a
RM
15882012-08-01 Roland McGrath <roland@hack.frob.com>
1589
1590 * libio/iofopen.c: Include <fcntl.h>.
1591 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1592 (_IO_fopen64, fopen64): Define as aliases.
1593 * libio/iofopen64.c: Include <fcntl.h>.
1594 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1595 Conditionalize body on this.
1596 * sysdeps/wordsize-64/iofopen.c: File removed.
1597 * sysdeps/wordsize-64/iofopen64.c: File removed.
1598
3fb791b8
MP
15992012-08-01 Marek Polacek <polacek@redhat.com>
1600
1601 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1602 Use dlfcn directly instead of a variable.
1603 (binfmt-subdir): Do not define.
1604 (dlfcn): Likewise.
1605
a9f1039f
JM
16062012-08-01 Joseph Myers <joseph@codesourcery.com>
1607
23bddc06
JM
1608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1609 Remove all definitions.
1610 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1611 <kernel-features.h>.
1612 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1613 (miss_F_GETOWN_EX): Remove all definitions.
1614 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1615 macro definition.
1616 [!__ASSUME_FCNTL64]: Remove conditional code.
1617 [__ASSUME_FCNTL64]: Make code unconditional.
1618 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1619 <kernel-features.h>.
1620 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1621 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1622 (lockf64) [__NR_fcntl64]: Make code unconditional.
1623 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1624
a9f1039f
JM
1625 * sysdeps/unix/sysv/linux/kernel-features.h
1626 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1627 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1628 Make code unconditional.
1629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1632 [__NR_vfork]: Make code unconditional.
1633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1636 [__NR_vfork]: Make code unconditional.
1637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1639
09c0ee5f
RM
16402012-08-01 Roland McGrath <roland@hack.frob.com>
1641
48aec5b9
RM
1642 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1643 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1644
cd97c966
RM
1645 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1646 Define mkstemp64 as an alias.
3f55550c
RM
1647 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1648 Define mkstemps64 as an alias.
cd97c966
RM
1649 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1650 Define mkostemp64 as an alias.
b8625cfc
RM
1651 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1652 Define mkostemps64 as an alias.
cd97c966
RM
1653 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1654 Conditionalize body on this.
1655 * misc/mkostemp64.c: Likewise.
b8625cfc 1656 * misc/mkostemps64.c: Likewise.
3f55550c 1657 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1658 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1659 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1660 * sysdeps/wordsize-64/mkostemp.c: File removed.
1661 * sysdeps/wordsize-64/mkstemp.c: File removed.
1662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1666
09c0ee5f
RM
1667 [BZ #14138]
1668 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1669 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1670 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1671 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1672
1673 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1674 compat_symbol macros from <shlib-compat.h> rather than the underlying
1675 default_symbol_version and symbol_version macros, so that DEFAULT
1676 lines in shlib-versions are respected.
1677 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1678
7e66ee51
FW
16792012-08-01 Florian Weimer <fweimer@redhat.com>
1680
1681 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1682 Declare with warn_unused_result.
1683 (setgid, setregid, setegid, setresgid): Likewise.
1684 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1685 Likewise.
1686 * WUR-REPORT: Remove set*id functions.
1687
d2a54255
PT
16882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1689
1690 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1691
7ecdb005
RM
16922012-07-31 Roland McGrath <roland@hack.frob.com>
1693
789bd351
RM
1694 * include/sys/socket.h (__libc_accept, __libc_accept4):
1695 Add attribute_hidden.
1696 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1697
40ce302d
RM
1698 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1699 use of PTR_MANGLE.
1700 * inet/getnetgrent_r.c (setup): Likewise.
1701
7ecdb005
RM
1702 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1703
e2eabb2c
DM
17042012-07-31 David S. Miller <davem@davemloft.net>
1705
1706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1707
d0419dbf
JM
17082012-07-31 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #13629]
1711 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1712 value between 1.0 and 2.0 and smaller part has absolute value less
1713 than 1.0.
1714 * math/s_clog10.c (__clog10): Likewise.
1715 * math/s_clog10f.c (__clog10f): Likewise.
1716 * math/s_clog10l.c (__clog10l): Likewise.
1717 * math/s_clogf.c (__clogf): Likewise.
1718 * math/s_clogl.c (__clogl): Likewise.
1719 * math/libm-test.inc (clog_test): Add more tests.
1720 (clog10_test): Likewise.
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1723
2bc13872
FW
17242012-07-31 Florian Weimer <fweimer@redhat.com>
1725
1726 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1727 Exit with zero in case no suitable GID is found, and write a
1728 message to standard error.
1729
bea9b193
RM
17302012-07-30 Roland McGrath <roland@hack.frob.com>
1731
1732 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1733 rather than to 1.
1734 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1735 (MAXPATHLEN): Removed.
1736 (NOGROUP, NODEV): New macros.
1737 (setbit, clrbit, isset, isclr): New macros.
1738 (howmany, roundup, powerof2): New macros.
1739 (DEV_BSIZE): New macro.
1740
1741 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1742 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1743
1744 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1745 definition on [!__NO_LONG_DOUBLE_MATH].
1746
1747 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1748 PTR_MANGLE and PTR_DEMANGLE.
1749
1750 * socket/accept4.c (accept4): Rename to __libc_accept4.
1751 Define accept4 as a weak alias.
1752
1753 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1754 on [_DIRENT_HAVE_D_TYPE].
1755 * io/ftw.c (ftw_dir): Likewise.
1756
1757 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1758
1759 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1760
1761 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1762 Use the BSD numbers rather than the arbitrary ones we had.
1763 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1764 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1765 (SIGXCPU, SIGXFSZ): New macros.
1766 (_NSIG): Now 32.
1767
1768 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1769 initializer on [_LIBC_REENTRANT].
1770
1771 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1772 definitions inside [_POSIX_MAPPED_FILES].
1773
1774 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1775
1776 * dirent/opendir.c: Include <fcntl.h>.
1777
1778 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1779 (__libc_getspecific): Likewise.
1780 (__libc_key_create): Likewise.
1781
1782 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1783 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1784 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1785 (tmpfile64): Define as alias.
1786 * sysdeps/wordsize-64/tmpfile.c: File removed.
1787 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1790
1791 * stdio-common/vfscanf.c: Include <stdbool.h>.
1792 * nss/makedb.c: Likewise.
1793 * stdio-common/_i18n_number.h: Likewise.
1794 * argp/argp-help.c: Likewise.
1795 * posix/wordexp.c: Likewise.
1796 * sysdeps/posix/spawni.c: Likewise.
1797 * nss/nss_files/files-initgroups.c: Likewise.
1798 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1799 * nss/nss_files/files-initgroups.c: Likewise.
1800 * nss/nss_db/db-netgrp.c: Likewise.
1801 * nss/nss_db/db-initgroups.c: Likewise.
1802 * io/fchmodat.c: Include <sys/stat.h>.
1803
1804 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1805 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1806
1807 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1808 [HAVE_MMAP].
1809
1810 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1811 Add multiple inclusion protection.
1812
e5abc686
DM
18132012-07-27 David S. Miller <davem@davemloft.net>
1814
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1816
815e6fa3
GB
18172012-07-27 Gary Benson <gbenson@redhat.com>
1818
1819 [BZ #14298]
1820 * elf/rtld.c: Include <stap-probe.h>.
1821 (dl_main): Added static probes "init_start" and "init_complete".
1822 * elf/dl-load.c: Include <stap-probe.h>.
1823 (lose): Take new parameter "nsid".
1824 Added static probe "map_failed".
1825 (_dl_map_object_from_fd): Pass namespace id to lose.
1826 Added static probe "map_start".
1827 (open_verify): Pass namespace id to lose.
1828 * elf/dl-open.c: Include <stap-probe.h>.
1829 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1830 and "reloc_complete".
1831 * elf/dl-close.c: Include <stap-probe.h>.
1832 (_dl_close_worker): Added static probes "unmap_start" and
1833 "unmap_complete".
1834 * elf/rtld-debugger-interface.txt: New file documenting the above.
1835
9f98c16c
RM
18362012-07-26 Roland McGrath <roland@hack.frob.com>
1837
1838 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1839 rather than a string variable.
1840 * sunrpc/rpc_main.c (h_output): Likewise.
1841 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1842
f3c22df3
PT
18432012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1844
1845 * inet/check_native.c: New file.
1846
3129cfc6
JM
18472012-07-26 Joseph Myers <joseph@codesourcery.com>
1848
da865e95
JM
1849 [BZ #13629]
1850 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1851 if larger part has absolute value 1.0.
1852 * math/s_clog10.c (__clog10): Likewise.
1853 * math/s_clog10f.c (__clog10f): Likewise.
1854 * math/s_clog10l.c (__clog10l): Likewise.
1855 * math/s_clogf.c (__clogf): Likewise.
1856 * math/s_clogl.c (__clogl): Likewise.
1857 * math/libm-test.inc (clog_test): Add more tests.
1858 (clog10_test): Likewise.
1859 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861
3129cfc6
JM
1862 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1863 (pltexit): Likewise.
1864 (La_regs): Likewise.
1865 (La_retval): Likewise.
1866 (int_retval): Likewise.
1867 Update #error for removed macros to refer only to definitions in
1868 tst-audit.h.
1869 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1870 macro.
1871 (pltexit): Likewise.
1872 (La_regs): Likewise.
1873 (La_retval): Likewise.
1874 (int_retval): Likewise.
1875 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1876 macro.
1877 (pltexit): Likewise.
1878 (La_regs): Likewise.
1879 (La_retval): Likewise.
1880 (int_retval): Likewise.
1881 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1882 macro.
1883 (pltexit): Likewise.
1884 (La_regs): Likewise.
1885 (La_retval): Likewise.
1886 (int_retval): Likewise.
1887 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1888 macro.
1889 (pltexit): Likewise.
1890 (La_regs): Likewise.
1891 (La_retval): Likewise.
1892 (int_retval): Likewise.
1893 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1894 macro.
1895 (pltexit): Likewise.
1896 (La_regs): Likewise.
1897 (La_retval): Likewise.
1898 (int_retval): Likewise.
1899 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1900 macro.
1901 (pltexit): Likewise.
1902 (La_regs): Likewise.
1903 (La_retval): Likewise.
1904 (int_retval): Likewise.
1905 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1906 macro definitions in tst-audit.h.
1907 * sysdeps/i386/tst-audit.h: New file.
1908 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1909 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1910 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1911 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1912 * sysdeps/sh/tst-audit.h: Likewise.
1913 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1914 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1915 * sysdeps/x86_64/tst-audit.h: Likewise.
1916
bfc07087
AJ
19172012-07-26 Andreas Jaeger <aj@suse.de>
1918
b1b2aaf8
AJ
1919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1920 ptrace.
1921
1922 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1923 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1924 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1925 PTRACE_O_MASK.
1926 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1929
bfc07087
AJ
1930 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1931 value.
1932
1933 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1934 _sigsys.
1935 (si_call_addr, si_syscall, si_arch): Define new macro.
1936 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1937 _sigsys.
1938 (si_call_addr, si_syscall, si_arch): Define new marcro.
1939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1940 _sigsys.
1941 (si_call_addr, si_syscall, si_arch): Define new macro.
1942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1943 _sigsys.
1944 (si_call_addr, si_syscall, si_arch): Define new macro.
1945
89b4b02f
JM
19462012-07-25 Joseph Myers <joseph@codesourcery.com>
1947
1948 [BZ #13717]
1949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1950 Change to 2.4.21 where previously 2.4.1.
1951 * sysdeps/unix/sysv/linux/configure: Regenerated.
1952 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1953 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1954 Linux kernel version.
1955 (__ASSUME_STD_AUXV): Remove.
1956 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1957 kernel version.
1958 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1959 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1960 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1961 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1962 (__ASSUME_NETLINK_SUPPORT): Likewise.
1963 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1964 (__no_netlink_support): Remove conditional definition.
1965 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1966 Remove.
1967 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1968 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1969 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1970 (if_nameindex_ioctl): Remove.
1971 (if_nameindex_netlink): Do not handle __no_netlink_support.
1972 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1973 code.
1974 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1975 Remove conditional code.
1976 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1977 code.
1978 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1979 unconditional.
1980 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1981 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1982 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1983 Remove.
1984 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1985 [!__ASSUME_STD_AUXV]: Remove conditional code.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1987 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1988 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1990 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1991 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1992 code.
1993 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1995 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1996 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1997 conditional code.
1998 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2000 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2001 code.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2003 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2004 conditional code.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2006 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2007 code unconditional.
2008 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2009 conditional code.
2010 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2011 unconditional.
2012 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2013 conditional code.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2015 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2016 unconditional.
2017 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2018 conditional code.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2020 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2021 code unconditional.
2022 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2023 conditional code.
2024 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2025 unconditional.
2026 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2027 conditional code.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2029 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2030 code unconditional.
2031 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2032 conditional code.
2033 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2034 unconditional.
2035 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2036 conditional code.
2037
842a39cd
AS
20382012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2039
2040 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2041 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2042 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2043 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2044 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2045 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2046 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2047 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2048 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2050 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2052 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2053 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2055 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2058 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2060 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2061 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2063
84b3fd84
FW
20642012-07-25 Florian Weimer <fweimer@redhat.com>
2065
2066 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2067 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2068 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2069 Introduce __libc_secure_getenv.
0c7936d5
FW
2070 * stdlib/Versions (2.17): Add secure_getenv
2071 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2072 * stdlib/secure-getenv.c: Rename __secure_getenv to
2073 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2074 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2075 * stdlib/tst-secure-getenv.c: New.
2076 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2077 * manual/startup.texi (Environment Access): Document
2078 secure_getenv.
84b3fd84
FW
2079 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2080 __libc_secure_getenv.
2081 * inet/ruserpass.c (ruserpass): Likewise.
2082 * malloc/mtrace.c (mtrace): Likewise.
2083 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2084 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2085 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2086 * sysdeps/posix/tempname.c: Likewise. Evaluate
2087 HAVE_SECURE_GETENV.
2088 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2089 __secure_getenv to __libc_secure_getenv.
84b3fd84 2090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2092 Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2094 Likewise.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2102
56e49b71
JM
21032012-07-25 Joseph Myers <joseph@codesourcery.com>
2104
2105 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2106 (struct La_i86_retval): Likewise.
2107 (struct La_x86_64_regs): Likewise.
2108 (struct La_x86_64_retval): Likewise.
2109 (struct La_x32_regs): Likewise.
2110 (struct La_x32_retval): Likewise.
2111 (struct La_ppc32_regs): Likewise.
2112 (struct La_ppc32_retval): Likewise.
2113 (struct La_ppc64_regs): Likewise.
2114 (struct La_ppc64_retval): Likewise.
2115 (struct La_sh_regs): Likewise.
2116 (struct La_sh_retval): Likewise.
2117 (struct La_s390_32_regs): Likewise.
2118 (struct La_s390_32_retval): Likewise.
2119 (struct La_s390_64_regs): Likewise.
2120 (struct La_s390_64_retval): Likewise.
2121 (struct La_sparc32_regs): Likewise.
2122 (struct La_sparc32_retval): Likewise.
2123 (struct La_sparc64_regs): Likewise.
2124 (struct La_sparc64_retval): Likewise.
2125 (struct audit_ifaces): Remove architecture-specific pltenter and
2126 pltexit members.
2127 * sysdeps/i386/ldsodefs.h: New file.
2128 * sysdeps/powerpc/ldsodefs.h: Likewise.
2129 * sysdeps/s390/ldsodefs.h: Likewise.
2130 * sysdeps/sh/ldsodefs.h: Likewise.
2131 * sysdeps/sparc/ldsodefs.h: Likewise.
2132 * sysdeps/x86_64/ldsodefs.h: Likewise.
2133
354691b7
MP
21342012-07-25 Marek Polacek <polacek@redhat.com>
2135
2136 [BZ #6808]
2137 * math/libm-test.inc (yn_test): Add another test.
2138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2139 to ERANGE when the result is +-Inf.
2140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2141 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2142 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2143 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2144
bf9e2071
JM
21452012-07-24 Joseph Myers <joseph@codesourcery.com>
2146
2147 * conform/data/time.h-data (NULL): Use macro-constant. Require
2148 equal to 0.
2149 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2150 clock_t.
2151 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2152
57633811
TS
21532012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2154
2155 * configure.in <sysdeps resolving>: Correct printing
2156 Implies_before.
2157 * configure: Regenerate.
2158
c23c33b0
TS
21592012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2160
2161 * math/w_ilogb.c: Include <limits.h>.
2162 * math/w_ilogbl.c: Likewise.
2163
b5982523
JM
21642012-07-20 Joseph Myers <joseph@codesourcery.com>
2165
2166 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2167 va_copy. Document allowing for unavailable va_copy only as
2168 pre-C99 compatibility.
2169 * manual/string.texi (Copying and Concatenation): Use va_copy
2170 instead of __va_copy in concat example.
2171
ac4ea442
PT
21722012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2173
2174 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2175 (__sendto): Use create_address_port. Initialize APORT and deallocate
2176 it if not null.
2177
f98eafbd
PT
2178 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2179 with O_NOLINK passed to __file_name_lookup.
2180
898c7aab
PT
2181 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2182 with O_NOLINK passed to __file_name_lookup.
2183
0ced335a
PT
2184 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2185 negative N or less than NGIDS.
2186
b3404dbd
PT
2187 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2188 type to string_t. Set ERANGE as errno and return it if NAME is not big
2189 enough. Use memcpy instead of strncpy.
2190
0f48659e
JM
21912012-07-20 Joseph Myers <joseph@codesourcery.com>
2192
2193 * elf/Makefile (check-data): Remove.
2194 (localplt.data): New vpath directive.
2195 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2196 instead of $(check-data).
2197 * scripts/data/localplt-generic.data: Move to ...
2198 * sysdeps/generic/localplt.data: ... here.
2199 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2200 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2201 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2203 ... here.
2204 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2206 ... here.
2207 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2209 ... here.
2210 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2212 ... here.
2213 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2215 ... here.
2216 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2218 ... here.
2219
d37cbdaa
AZ
22202012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221
2222 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2223 PPC32 and PPC64 files.
2224 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2225 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2226
46f85fc2
AK
22272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2228
2229 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2230 __makecontext_ret to ...
2231 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2232 ... here and call exit if uc_link is NULL. New file.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2234 __makecontext_ret.S.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2236 __makecontext_ret to ...
2237 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2238 ... here and call exit if uc_link is NULL. New file.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2240 __makecontext_ret.S.
2241
08f43f9b
AK
22422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2243
2244 * elf/elf.h (R_390_IRELATIVE): New definition.
2245 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2246 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2247 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2248 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2249 (elf_machine_lazy_rel): Likewise.
2250 * sysdeps/s390/dl-irel.h: New file.
2251 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2252 * sysdeps/s390/s390-64/memset.S: New asm code.
2253 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2254 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2255 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2256 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2257 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2258 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2260 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2261 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2262 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2263 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2264 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2265 * sysdeps/s390/s390-32/memset.S: New asm code.
2266 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2267
3b05db33
MP
22682012-07-17 Marek Polacek <polacek@redhat.com>
2269
2270 [BZ #14349]
2271 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2272 * sysdeps/s390/s390-64/configure.in: Likewise.
2273 * sysdeps/sparc/configure.in: Likewise.
2274 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2275 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2276 * sysdeps/i386/configure.in: Likewise.
2277 * sysdeps/x86_64/configure.in: Likewise.
2278 * sysdeps/sh/configure.in: Likewise.
2279 * sysdeps/s390/s390-32/configure: Regenerated.
2280 * sysdeps/s390/s390-64/configure: Likewise.
2281 * sysdeps/x86_64/configure: Likewise.
2282 * sysdeps/sh/configure: Likewise.
2283 * sysdeps/powerpc/powerpc64/configure: Likewise.
2284 * sysdeps/powerpc/powerpc32/configure: Likewise.
2285 * sysdeps/sparc/configure: Likwise.
2286 * sysdeps/i386/configure: Likewise.
2287
a66877c6
MP
2288 * elf/dl-open.c: Comment fixes.
2289
cfc82fd8
JM
22902012-07-17 Joseph Myers <joseph@codesourcery.com>
2291
bd29910a
JM
2292 * Makefile [CXX] (check-data): Remove.
2293 [CXX] (c++-types.data): New vpath directive.
2294 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2295 vpath. Do not allow for C++ type data being missing.
2296 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2297 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2298 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2299 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2300 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2301 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2302 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2304 ... here.
2305 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2307 ... here.
2308 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2310 ... here.
2311 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2313 ... here.
2314 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2316 ... here.
2317 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2319 ... here.
2320 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2322 ... here.
2323 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2325
cfc82fd8
JM
2326 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2327 definitions to architecture-specific files.
2328 (TLS_IE): Likewise.
2329 (TLS_LD): Likewise.
2330 (TLS_GD): Likewise.
2331 * sysdeps/i386/tls-macros.h: New file.
2332 * sysdeps/powerpc/tls-macros.h: Likewise.
2333 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2334 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2335 * sysdeps/sh/tls-macros.h: Likewise.
2336 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2337 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2338 * sysdeps/x86_64/tls-macros.h: Likewise.
2339
f7db3170
TS
23402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2341
07cbfc23
TS
2342 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2343 zero value for regular exit case.
2344
f7db3170
TS
2345 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2346 (__start_context): Preserve zero value for regular exit case.
2347
dc97c227
TS
23482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2349 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2350
2351 * manual/setjmp.texi (setcontext): Clarify normal process
2352 termination when uc_link is the null pointer.
2353 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2354 exit call.
2355
d0cd7d02
AS
23562012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2357
2358 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2359 preprocessor. Test for each exception mask separately.
2360
dd318934
AJ
23612012-07-16 Andreas Jaeger <aj@suse.de>
2362
2363 * po/ru.po: Update from translation team.
2364
8048311a
JM
23652012-07-15 Joseph Myers <joseph@codesourcery.com>
2366
2367 * conform/data/string.h-data (NULL): Use macro-constant. Require
2368 equal to 0.
2369 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2370 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2371 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2372 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2374
b637d46e
AJ
23752012-07-13 Andreas Jaeger <aj@suse.de>
2376
2377 * po/fr.po: Update from translation team.
2378
541428fe
MP
23792012-07-12 Marek Polacek <polacek@redhat.com>
2380
2381 [BZ #14173]
2382 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2384 loop condition.
2385
ec332e94
JM
23862012-07-12 Joseph Myers <joseph@codesourcery.com>
2387
2388 [BZ #13717]
2389 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2390 Change to 2.4.1 where previously 2.4.0.
2391 * sysdeps/unix/sysv/linux/configure: Regenerated.
2392 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2393 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2394 version.
2395 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2396 (__ASSUME_AT_CLKTCK): Remove.
2397 (__ASSUME_AT_PAGESIZE): Likewise.
2398 (__ASSUME_AT_XID): Likewise.
2399 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2400 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2401 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2402 unconditionally.
2403 (HAVE_AUX_PAGESIZE): Likewise.
2404 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2405 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2406 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2407
7b6e99be
JB
24082012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2409
2410 [BZ #14307]
2411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2412 the temporary buffer used to invoke __gethostbyname2_r,
2413 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2414 host_data / struct gaih_addrtuple.
2415 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2416 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2417 header file nss/nsswitch.h.
2418 * nss/nsswitch.h (global scope): Add definition of implementation
2419 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2420 resolv/nss_dns/dns-host.c).
2421
608404eb
AJ
24222012-07-11 Andreas Jaeger <aj@suse.de>
2423
2424 * po/fr.po: Update from translation team.
2425
71220aca
AJ
2426 * po/sv.po: Update from translation team
2427 * po/fr.po: Another update from translation team.
2428
28cfe843
AZ
24292012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2430
2431 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2432 for subnormals or multiply small sinh result by itself.
2433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2435
6b90f981
DM
24362012-07-11 David S. Miller <davem@davemloft.net>
2437
2438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2439
c6825772
AS
24402012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2441
2442 [BZ #14347]
2443 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2444 (INTERNAL_MARK): Shift it here.
2445
7b8e0d49
MP
24462012-07-10 Marek Polacek <polacek@redhat.com>
2447
2448 [BZ #14151]
2449 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2450 libc_cv_asm_global_directive with .globl.
2451 * configure: Regenerated.
2452 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2453 with .globl.
2454 * sysdeps/i386/configure: Regenerated.
2455 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2456 with .globl.
2457 * sysdeps/x86_64/configure: Regenerated.
2458 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2459 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2460 * elf/tst-unique2mod2.c: Likewise.
2461 * elf/tst-unique2mod1.c: Likewise.
2462 * elf/tst-unique1mod2.c: Likewise.
2463 * elf/tst-unique1mod1.c: Likewise.
2464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2465 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2467 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2468 * sysdeps/mach/sysdep.h: Likewise.
2469 * sysdeps/i386/sysdep.h: Likewise.
2470 * sysdeps/i386/i386-mcount.S: Likewise.
2471 * sysdeps/x86_64/_mcount.S: Likewise.
2472 * sysdeps/x86_64/sysdep.h: Likewise.
2473 * sysdeps/sh/_mcount.S: Likewise.
2474 * sysdeps/sh/sysdep.h: Likewise.
2475 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2479 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2482 * locale/localeinfo.h: Likewise.
2483 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2484 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2485
6c55cda3
RM
24862012-07-09 Roland McGrath <roland@hack.frob.com>
2487
2488 [BZ #14336]
2489 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2490 system".
2491 * manual/message.texi (The Uniforum approach): Likewise.
2492 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2493 (glibc iconv Implementation): Likewise.
2494
638a572e
JM
24952012-07-09 Joseph Myers <joseph@codesourcery.com>
2496
2497 [BZ #14337]
2498 * math/s_clog.c (__clog): Avoid scaling a value down where that
2499 could result in underflow.
2500 * math/s_clog10.c (__clog10): Likewise.
2501 * math/s_clog10f.c (__clog10f): Likewise.
2502 * math/s_clog10l.c (__clog10l): Likewise.
2503 * math/s_clogf.c (__clogf): Likewise.
2504 * math/s_clogl.c (__clogl): Likewise.
2505 * math/libm-test.inc (clog_test): Add more tests.
2506 (clog10_test): Likewise.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2509
261f4859
AS
25102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2511
0abaf3e4
AS
2512 [BZ #14283]
2513 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2514 by 7 not 8 to examine high bit of fractional part.
2515
261f4859
AS
2516 [BZ #14042]
2517 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2518 for call to __mcount_internal.
2519 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2520 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2521 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2522
f17ac40d
JM
25232012-07-06 Joseph Myers <joseph@codesourcery.com>
2524
9ad63c23
JM
2525 [BZ #14154]
2526 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2527 approximation for values within 0x1p-13f of an odd multiple of
2528 pi/4.
2529 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2530 exception. Add more tests.
2531 * sysdeps/i386/fpu/libm-test-ulps: Update.
2532
f17ac40d
JM
2533 [BZ #6778]
2534 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2535 inputs and return -1 for them. Do not check for +Inf in case not
2536 reachable for +Inf.
2537 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2538 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2540 and return -1 for them. Do not check for +Inf in case not
2541 reachable for +Inf.
2542 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2543 define.
2544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2545 and return -1 for them. Do not check for +Inf in case not
2546 reachable for +Inf.
2547 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2548 spurious underflow.
2549 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551
fb21f89b
MF
25522012-07-06 Mike Frysinger <vapier@gentoo.org>
2553
2554 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2555
cdfe2c5e
JM
25562012-07-05 Joseph Myers <joseph@codesourcery.com>
2557
2558 [BZ #14157]
2559 [BZ #14331]
2560 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2561 could result in spurious underflow. Scale down values above
2562 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2563 * math/s_csqrtf.c (__csqrtf): Likewise.
2564 * math/s_csqrtl.c (__csqrtl): Likewise.
2565 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2566 spurious underflow.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569
70d35b67
AS
25702012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2571
704bc459
AS
2572 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2573 xopen-msg.sed.
2574 * catgets/xopen-msg.awk: New file.
2575 * catgets/xopen-msg.sed: Removed.
2576
70d35b67
AS
2577 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2578 po2text.sed.
2579 * intl/po2test.awk: New file.
2580 * intl/po2test.sed: Removed.
2581
ca61cf32
JM
25822012-07-04 Joseph Myers <joseph@codesourcery.com>
2583
2584 [BZ #14328]
2585 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2586 or multiply small sinh result by itself.
2587 * math/s_ctanf.c (__ctanf): Likewise.
2588 * math/s_ctanh.c (__ctanh): Likewise.
2589 * math/s_ctanhf.c (__ctanhf): Likewise.
2590 * math/s_ctanhl.c (__ctanhl): Likewise.
2591 * math/s_ctanl.c (__ctanl): Likewise.
2592 * math/libm-test.inc (ctan_test_tonearest): New function.
2593 (ctan_test_towardzero): Likewise.
2594 (ctan_test_downward): Likewise.
2595 (ctan_test_upward): Likewise.
2596 (ctanh_test_tonearest): Likewise.
2597 (ctanh_test_towardzero): Likewise.
2598 (ctanh_test_downward): Likewise.
2599 (ctanh_test_upward): Likewise.
2600 (main): Call these new functions.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
ca48a46a
MF
26042012-07-03 Mike Frysinger <vapier@gentoo.org>
2605
2606 * .gitignore: Delete /ports entry.
2607
9d63d37d
AJ
26082012-07-03 Andreas Jaeger <aj@suse.de>
2609
2610 * po/bg.po: Update from translation team.
2611 * po/cs.po: Likewise.
2612 * po/de.po: Likewise.
2613 * po/hr.po: Likewise.
2614 * po/nl.pl: Likewise.
2615 * po/pl.po: Likewise.
2616 * po/vi.po: Likewise.
2617
370ca3d2
JM
26182012-07-03 Joseph Myers <joseph@codesourcery.com>
2619
95f5a9a8
JM
2620 * Makeconfig [!+link] (+link-before-libc): New variable.
2621 [!+link] (+link-after-libc): Likewise.
2622 [!+link] (+link-tests): Likewise.
2623 [!+link] (+link): Define in terms of $(+link-before-libc) and
2624 $(+link-after-libc).
2625 [!+link-static] (+link-static-before-libc): New variable.
2626 [!+link-static] (+link-static-after-libc): Likewise.
2627 [!+link-static] (+link-static-tests): Likewise.
2628 [!+link-static] (+link-static): Define in terms of
2629 $(+link-static-before-libc) and $(+link-static-after-libc).
2630 [build-shared] (link-libc-before-gnulib): New variable.
2631 [build-shared] (link-libc-tests): Likewise.
2632 [build-shared] (link-libc): Define in terms of
2633 $(link-libc-before-gnulib).
2634 [!build-shared] (link-libc-tests): New variable.
2635 (link-libc-static-tests): New variable.
2636 [!gnulib] (gnulib-arch): New variable.
2637 [!gnulib] (gnulib-tests): Likewise.
2638 [!gnulib] (static-gnulib-arch): Likewise.
2639 [!gnulib] (static-gnulib-tests): Likewise.
2640 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2641 Define with "=" instead of ":=".
2642 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2643 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2644 * Rules (binaries-all-notests): New variable.
2645 (binaries-all-tests): Likewise.
2646 (binaries-static-notests): Likewise.
2647 (binaries-static-tests): Likewise.
2648 (binaries-all): Define using $(binaries-all-notests) and
2649 $(binaries-all-tests).
2650 (binaries-static): Define using $(binaries-static-notests) and
2651 $(binaries-static-tests).
2652 (binaries-shared-tests): New variable.
2653 (binaries-shared-notests): Likewise.
2654 (binaries-shared): Remove variable.
2655 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2656 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2657 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2658 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2659 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2660 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2661 * elf/Makefile (sln-modules): New variable.
2662 (extra-objs): Add $(sln-modules:=.o).
2663 (ldconfig-modules): Add static-stubs.
2664 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2665 * elf/static-stubs.c: New file.
2666
7a845b2c
JM
2667 [BZ #14283]
2668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2669 by 7 not 8 to examine high bit of fractional part. Use volatile
2670 variables when splitting into final array of floats if
2671 __FLT_EVAL_METHOD__ != 0.
2672 * math/libm-test.inc (cos_test): Add another test.
2673 (sin_test): Likewise.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2675
e2283f38
JM
2676 [BZ #14273]
2677 * math/libm-test.inc (cosh_test): Add more tests.
2678
370ca3d2
JM
2679 * version.h (RELEASE): Set to "development".
2680 (VERSION): Set to "2.16.90".
2681
ee9247c3
CD
26822012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2683
2684 * NEWS: Update copyright. Remove last-updated date.
2685 Mention math library bug fixes and timezone data changes.
2686 * README: Mention GNU/Hurd, x32, and HPPA support status.
2687
4648c381
TS
26882012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2689
2690 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2691
aac78a43
AJ
26922012-06-27 Andreas Jaeger <aj@suse.de>
2693
2694 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2695
ed3dbfad
AJ
26962012-06-25 Andreas Jaeger <aj@suse.de>
2697
2698 * sysdeps/s390/fpu/libm-test-ulps: Update.
2699
4d0ee855
AS
27002012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2701 Thomas Schwinge <thomas@codesourcery.com>
2702
2703 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2704 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2706 fanotify_mark.
2707
af1bce34
TS
27082012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2709
a9fa33ba
TS
2710 * sysdeps/mach/start.c: Remove file.
2711 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2712 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2713 * sysdeps/sh/init-first.c: Likewise.
2714
58f902b8
TS
2715 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2716 registers for frame unwinding purposes, add CFI directives.
2717 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2719 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2720 Likewise.
2721
1518f58b
TS
2722 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2723 __fortify_fail returning.
2724 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2725
db9b5059
TS
2726 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2727 sysdeps/sh/____longjmp_chk.S.
2728 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2729 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2730 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2731 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2732
967705fe
TS
2733 * sysdeps/sh/abort-instr.h: New file.
2734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2735 process in case exit returns.
2736
a9def8c4
TS
2737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2738 initialize the GOT register before use.
2739
2a649725
TS
2740 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2741 calculation of ARGC > 4.
2742
af1bce34
TS
2743 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2744 meaningful names to some local labels.
2745
d230f50a
KK
27462012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2747 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2748
2749 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2750 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2751 (__arch_compare_and_exchange_val_16_acq): Likewise.
2752 (__arch_compare_and_exchange_val_32_acq): Likewise.
2753 (atomic_exchange_and_add): Fix gUSA sequence.
2754 (atomic_add): Likewise.
2755 (atomic_add_negative): Likewise.
2756 (atomic_add_zero): Likewise.
2757 (atomic_bit_test_set): Likewise.
2758
0479b305
AS
27592012-06-22 Andreas Schwab <schwab@redhat.com>
2760
2761 [BZ #13579]
2762 * include/link.h (struct link_map): Add l_free_initfini.
2763 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2764 l_initfini.
2765 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2766 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2767 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2768 set.
2769
0e3933b9
CD
27702012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2771
2772 * configure.in: Use AC_LANG_SOURCE.
2773 * configure: Regenerate.
2774
4248b1b1
RM
27752012-06-22 Roland McGrath <roland@hack.frob.com>
2776
2777 * configure.in (libc_cv_localstatedir): New substituted variable.
2778 * configure: Regenerated.
2779 * config.make.in (localstatedir): New variable, substituted from
2780 libc_cv_localstatedir.
2781 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2782 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2783 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2784 * sysdeps/gnu/configure: Regenerated.
2785
006dd861
JL
27862012-06-21 Jeff Law <law@redhat.com>
2787
2788 [BZ #14277]
2789 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2790 free. Simplify list management for _LIBC case.
2791
79662d42
JM
27922012-06-21 Joseph Myers <joseph@codesourcery.com>
2793
b7abb4bf
JM
2794 [BZ #14273]
2795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2796 Clear sign bit of 64-bit integer value before comparing against
2797 overflow value.
2798
79662d42
JM
2799 * sysdeps/mach/configure: Regenerated.
2800
1f150908
L
28012012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 [BZ #14278]
2804 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2805
28363bbf
JL
28062012-06-21 Jeff Law <law@redhat.com>
2807
2808 [BZ #13882]
2809 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2810 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2812 * elf/dl-open.c (dl_open_worker): Likewise.
2813
09615db4
CD
28142012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2815
2816 * scripts/list-sources.sh: Scan PORTS for translations.
2817 * po/libc.pot: Regenerated.
2818
2174c6dd
AJ
28192012-06-21 Andreas Jaeger <aj@suse.de>
2820
2821 [BZ #12194]
2822 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2823 warning.
2824 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2825 * bits/byteswap-16.h (__bswap_16): Likewise.
2826 * bits/byteswap.h (__bswap_constant_16): Likewise.
2827
3ee947b1
L
28282012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2829
2830 [BZ #14117]
a2f34833
L
2831 * sysdeps/i386/fpu_control.h: Removed.
2832 * sysdeps/x86_64/fpu_control.h: Moved to ...
2833 * sysdeps/x86/fpu_control.h: Here.
2834
3ee947b1
L
2835 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2836 (_FPU_SETCW): Likewise.
2837
ed1825f8
L
28382012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2839
25f1282a
L
2840 [BZ #14117]
2841 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2842 * sysdeps/x86/fpu/bits/mathinline.h: This.
2843 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2844
ed1825f8
L
2845 [BZ #14050]
2846 [BZ #14117]
2847 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2848 functions if __x86_64__ is defined.
2849
36d54b74
CLT
28502012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2851
2852 * string/endian.h: Add !__ASSEMBLER__ condition for including
2853 conversion interfaces.
2854
10285c21
JM
28552012-06-15 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #14241]
2858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2859 of ABS(x) in calculating zero to negative powers other than odd
2860 integers.
2861 * math/libm-test.inc (pow_test): Add more tests.
2862
06c5abbd
AJ
28632012-06-15 Andreas Jaeger <aj@suse.de>
2864
2865 * manual/contrib.texi (Contributors): Update entry of Liubov
2866 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2867 Machado Filho.
2868
a3aeac40
CH
28692012-06-15 Cyril Hrubis <metan@ucw.cz>
2870
2871 * string/string.h: Add __wur to GNU version of strerror_r.
2872
49bdf4c1
L
28732012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 [BZ #14229]
2876 * string/Makefile (tests): Add tst-strtok_r.
2877 * string/tst-strtok_r.c: New file.
2878 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2879 RAX_LP/RDX_LP on SAVE_PTR.
2880
834f9b8d
RM
28812012-06-14 Roland McGrath <roland@hack.frob.com>
2882
2883 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2884
75fa1921
JM
28852012-06-14 Joseph Myers <joseph@codesourcery.com>
2886
2887 * libm_test.inc (csqrt_test): Allow more spurious underflow
2888 exceptions.
2889 (j0_test): Likewise.
2890 (j1_test): Likewise.
2891 (y0_test): Likewise.
2892 (y1_test): Likewise.
2893
771766df
CD
28942012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2895
2896 * po/Makefile (libc.pot): Use UTF-8 charset.
2897
ceb9e56b
PP
28982012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2899
2900 [BZ #14210]
2901 Suppress sign-conversion warning from FD_SET.
2902 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2903 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2904 not unsigned long int.
2905 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2906
ddb28975
L
29072012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 [BZ #14050]
2910 [BZ #14117]
2911 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2912 __extern_always_inline instead of __extern_inline.
2913 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2914 (__signbit): Likewise.
2915 (__signbitl): Support C++ namespace.
2916 (lrintf): New inline function.
2917 (lrint): Likewise.
2918 (llrintf): Likewise.
2919 (llrint): Likewise.
2920 (fmaxf): Likewise.
2921 (fmax): Likewise.
2922 (fminf): Likewise.
2923 (fmin): Likewise.
2924 (rint): Likewise.
2925 (rintf): Likewise.
2926 (ceil): Likewise.
2927 (ceilf): Likewise.
2928 (floor): Likewise.
2929 (floorf): Likewise.
2930 (nearbyint): Likewise.
2931 (nearbyintf): Likewise.
2932
d7b4fb26
TS
29332012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2934
2935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2936 non-default versions.
2937
eb55f5c2
RM
29382012-06-11 Roland McGrath <roland@hack.frob.com>
2939
2940 [BZ #14218]
2941 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2942
366af02c
TS
29432012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2944
99ff6e5c
TS
2945 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2946 (FE_UPWARD, FE_DOWNWARD): Don't define.
2947 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2948 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2949
366af02c
TS
2950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2951 reading it.
2952 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2953 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2954
793ea851
KK
29552012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2956
2957 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2959 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2960 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2961
a728a38f
L
29622012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 [BZ #14117]
c08010c7
L
2965 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2966 * sysdeps/i386/fpu/Implies: New file.
2967 * sysdeps/x86_64/fpu/Implies: Likewise.
2968 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2969 * sysdeps/x86/fpu/bits/fenv.h: This.
2970
a728a38f
L
2971 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2972 __SSE_MATH__.
2973
6e230d11
SP
29742012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2975
2976 [BZ #14134]
2977 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2978 character 0xffff that matches the last element of the
2979 conversion table.
2980
1b671feb
AZ
29812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982
2983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2984 fmodl commit.
2985
6043738b
AZ
29862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987
2988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2989 values higher than 25.6283.
2990
34ae0b32
AZ
29912012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992
2993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2994 subnormal exponent extraction and add some __builtin_expect.
2995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2996 Fix for subnormal mantissa calculation.
2997
1214ec8f
MF
29982012-06-04 Mike Frysinger <vapier@gentoo.org>
2999
3000 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3001 cpu2 is -1 and errno is not ENOSYS.
3002
f3d1f93c
L
30032012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 [BZ #14117]
0e4a3cd7
L
3006 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3007 * sysdeps/x86/bits/string.h: This.
3008 * sysdeps/x86_64/bits/string.h: Removed.
3009
6704c645
L
3010 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3011 if not compiling for x86-64, but compiling for >= i486.
3012
48495318
L
3013 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3014 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3015
14adcbfc
L
3016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3017 New macro from Linux kernel 3.4.0.
3018 (FP_XSTATE_MAGIC2): Likewise.
3019 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3020 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3021 (struct _fpx_sw_bytes): New struct.
3022 (struct _xsave_hdr): Likewise.
3023 (struct _ymmh_state): Likewise.
3024 (struct _xstate): Likewise.
3025
68e408ab
L
3026 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3027 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3029 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3030 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3031 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3032
f3d1f93c
L
3033 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3035 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3036 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3037 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3038 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3039
d9dc34cd
TMQMF
30402012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3041
3042 [BZ #13743]
3043 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3044 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3045 (sysdep_headers): Include sys/platform/ppc.h.
3046 * sysdeps/powerpc/test-gettimebase.c: Test for
3047 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3048 * manual/Makefile (appendices): Include platform.texi.
3049 * manual/contrib.texi (Contributors): Update @node pointers.
3050 * manual/maint.texi (Maintenance): Likewise.
3051 (Platform): New node.
3052 * manual/platform.texi: New file. Document the new features.
3053
4af3879c
SP
30542012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3055 Jakub Jelinek <jakub@redhat.com>
3056
3057 [BZ #14188]
3058 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3059 where __builtin_expect is unavailable.
3060
2fd6ff13
DM
30612012-06-03 David S. Miller <davem@davemloft.net>
3062
3063 * stdlib/longlong.h: Updated from GCC.
3064
173f7220
AS
30652012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3066
3067 [BZ #14042]
3068 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3069 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3070 __mcount_internal.
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3072 (GLIBC_2.16): Likewise.
3073
f34a1c6f
L
30742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3077
88a4576f
JM
30782012-06-01 Joseph Myers <joseph@codesourcery.com>
3079
ea32bcdd
JM
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3081 (default-abi): New variable.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3084 variable.
3085 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3086 Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3088 Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3090 Likewise.
3091
88a4576f
JM
3092 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3093 definition. Document in comment.
3094
402fe938
DM
30952012-06-01 David S. Miller <davem@davemloft.net>
3096
3097 * stdlib/longlong.h: Updated from GCC.
3098
3553723f
L
30992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 [BZ #14117]
3bd872c4
L
3102 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3103 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3104 sys/debugreg.h sys/io.h here.
3105 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3106 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3107 sys/io.h.
3108 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3109 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3110 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3111 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3112 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3113 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3114
3553723f
L
3115 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3116 Define only if __x86_64__ is defined.
3117
4842e4fe
JM
31182012-06-01 Joseph Myers <joseph@codesourcery.com>
3119
c5bfe3d5
JM
3120 [BZ #14048]
3121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3122 Use int64_t for variable i.
3123 * math/libm-test.inc (fmod_test): Add more tests.
3124
4842e4fe
JM
3125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3126 z computation is not scheduled after fetestexcept.
3127 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3128 Use math_force_eval instead of asm to ensure calculation scheduled
3129 before exception test.
3130 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3131 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3132
efb73488
AJ
31332012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3134
3135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3136 computation is not scheduled after fetestexcept.
3137
29bcce7c
L
31382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 [BZ #14117]
3141 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3142 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3143
73a68f94
AZ
31442012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145
3146 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3147 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3148
67b6df78
L
31492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3150
edf2933a 3151 [BZ #14117]
ebc64a18
L
3152 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3153 <bits/wordsize.h>.
3154 (__WCHAR_MIN): Support __WORDSIZE == 64.
3155 (__WCHAR_MAX): Likewise.
3156
edf2933a
L
3157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3159
57c6cf40
L
3160 [BZ #14183]
3161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3162 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3163
67b6df78 3164 [BZ #14117]
8eb6281e
L
3165 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3167
aac639f4
L
3168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3169 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3170
67b6df78
L
3171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3172 Defined to 1 if __x86_64__ isn't defined.
3173 (_STAT_VER_LINUX_OLD): New.
3174 (st_atime): Remove duplicate.
3175 (st_mtime): Likewise.
3176 (st_ctime): Likewise.
3177
1c2cfe81
DM
31782012-05-31 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3181 entries.
3182
5be8418c
AS
31832012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3184
e7725326
AS
3185 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3186 gen-libm-test.pl.
3187
5be8418c
AS
3188 [BZ #14132]
3189 * elf/dl-reloc.c: Include <_itoa.h>.
3190 (_dl_reloc_bad_type): Remove use of INTUSE.
3191 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3192 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3193 * stdio-common/psiginfo.c (psiginfo): Likewise.
3194 * stdio-common/psignal.c (psignal): Likewise.
3195 * string/strsignal.c (strsignal): Likewise.
3196 * include/signal.h (_sys_siglist): Declare hidden proto.
3197 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3198 INTVARDEF with libc_hidden_data_def.
3199 * stdio-common/itoa-udigits.c: Likewise.
3200 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3201 (_itoa_lower_digits_internal): Remove declaration.
3202 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3203 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3204 (_sys_sigabbrev_internal): Remove aliases.
3205 (_sys_siglist): Define hidden alias.
3206
507352f1
MT
32072012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3208
3209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3210 bits/sysctl.h.
3211
42bbb1c3
L
32122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3213
3214 [BZ #14117]
6bd784b6
L
3215 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3216 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3217
8bca20f0
L
3218 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3219 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3220 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3221 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3223 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3224
f9e890a9
L
3225 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3226 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3227 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3228
471101a1
L
3229 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3230 with __addr.
3231 (insw): Likewise.
3232 (insl): Likewise.
3233 (outsb): Likewise.
3234 (outsw): Likewise.
3235 (outsl): Likewise.
3236
6451c862
L
3237 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3239 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3240
a254b8c9
L
3241 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3242 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3244 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3246 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3247
b8dfdd92
L
3248 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3249 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3250
578cd270
L
3251 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3252 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3253
de662f5f
L
3254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3257
25653439
L
3258 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3259 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3260 to ...
3261 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3262
6bad24a0
L
3263 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3264 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3265 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3266
42bbb1c3
L
3267 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3268 for x86-64.
3269 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3270
2d10d547
JM
32712012-05-31 Joseph Myers <joseph@codesourcery.com>
3272
3273 * math/math.h (M_El): Use two more decimal places.
3274 (M_LOG2El): Likewise.
3275 (M_LOG10El): Likewise.
3276 (M_LN2l): Likewise.
3277 (M_LN10l): Likewise.
3278 (M_PIl): Likewise.
3279 (M_PI_2l): Likewise.
3280 (M_PI_4l): Likewise.
3281 (M_1_PIl): Likewise.
3282 (M_2_PIl): Likewise.
3283 (M_2_SQRTPIl): Likewise.
3284 (M_SQRT2l): Likewise.
3285 (M_SQRT1_2l): Likewise.
3286
f230c29b
DM
32872012-05-31 David S. Miller <davem@davemloft.net>
3288
3289 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3290 values between float registers.
3291 * sysdeps/sparc/sparc64/memset.S: Likewise.
3292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3293
fed806c3
MF
32942012-05-31 Mike Frysinger <vapier@gentoo.org>
3295
3296 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3297 -D_FORTIFY_SOURCE=1.
3298 (CPPFLAGS-tst-longjmp_chk.c): Define.
3299 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3300 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3301 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3302 CFLAGS-tst-wchar-h.c.
3303
30917259
MP
33042012-05-31 Marek Polacek <polacek@redhat.com>
3305
3306 [BZ #14132]
3307 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3308 __endmntent_internal): Remove declaration.
3309 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3310 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3311 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3312
1c58d5dc
DM
33132012-05-30 David S. Miller <davem@davemloft.net>
3314
3315 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3316 (___Q_simulate_exceptions): Use real FP ops rather than writing
3317 into the %fsr.
3318 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3319 Likewise.
3320
7dc00e0d
L
33212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3322
3323 [BZ #14117]
0bd53985
L
3324 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3325 * sysdeps/x86/bits/xtitypes.h: This.
3326
3a257e66
L
3327 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3328 * sysdeps/x86/bits/wordsize.h: This.
3329
62f62904
L
3330 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3331 * sysdeps/x86/bits/huge_vall.h: This.
3332
404fe9d9
L
3333 * sysdeps/i386/bits/select.h: Removed.
3334 * sysdeps/x86_64/bits/select.h: Renamed to ...
3335 * sysdeps/x86/bits/select.h: This.
3336
d48d0446
L
3337 * sysdeps/i386/bits/setjmp.h: Removed.
3338 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3339 * sysdeps/x86/bits/setjmp.h: This.
3340
7dc00e0d
L
3341 * sysdeps/i386/bits/mathdef.h: Removed.
3342 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3343 * sysdeps/x86/bits/mathdef.h: This.
3344
03277f8f
AS
33452012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3346
3347 [BZ #14132]
3348 * include/sys/socket.h (__connect_internal)
3349 (__libc_sa_len_internal): Remove declaration.
3350 (__connect, __libc_sa_len): Declare hidden_proto.
3351 (SA_LEN): Remove use of INTUSE.
3352 * socket/connect.c: Add libc_hidden_def.
3353 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3354 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3355 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3356 alias.
3357 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3359 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3360 of adding _internal alias.
3361
13764867
L
33622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3363
3364 [BZ #14117]
6bd97696
L
3365 * sysdeps/i386/bits/link.h: Removed.
3366 * sysdeps/i386/bits/linkmap.h: Likewise.
3367 * sysdeps/x86_64/bits/link.h: Renamed to ...
3368 * sysdeps/x86/bits/link.h: This.
3369 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3370 * sysdeps/x86/bits/linkmap.h: This.
3371
f726f0bb
L
3372 * sysdeps/i386/bits/endian.h: Removed.
3373 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3374 * sysdeps/x86/bits/endian.h: This.
3375
13764867
L
3376 * sysdeps/i386/bits/byteswap.h: Removed.
3377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3378 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3379 * sysdeps/x86/bits/byteswap.h: This.
3380 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3381 * sysdeps/x86/bits/byteswap-16.h: This.
3382 * sysdeps/i386/Implies: Add x86.
3383 * sysdeps/x86_64/Implies: Likewise.
3384
ae251b0b
DM
33852012-05-30 David S. Miller <davem@davemloft.net>
3386
3387 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3388 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3390 (FP_TRAPPING_EXCEPTIONS): Define.
3391 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3392 (FP_TRAPPING_EXCEPTIONS): Define.
3393 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3394 subnormals only when inexact has been signalled or underflow
3395 exceptions are enabled.
3396 (_FP_PACK_CANONICAL): Likewise.
3397
d5c90867
L
33982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3399
3400 [BZ #14183]
3401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3402 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3403
63f1549e
RH
34042012-05-30 Richard Henderson <rth@twiddle.net>
3405
8d8f2279
RH
3406 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3407 with #ifndef NOT_IN_libc.
3408
63f1549e
RH
3409 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3410 marked to avoid plt entry.
3411
0ab0291b
L
34122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 [BZ #14112]
3415 * Makeconfig (default-abi): New macro.
3416 (abi-includes): Likewise.
3417 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3418 $(abi-$(default-abi)-lib-soname) for soname if defined.
3419 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3420 abi-variants.
3421 * Makefile (installed-stubs): Likewise.
3422 * include/stubs-biarch.h: Removed.
3423 * scripts/lib-names.awk: Only handle one library at a time.
3424 * scripts/soversions.awk: Remove WORDSIZE support.
3425 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3426 entries.
3427 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3428 Removed.
3429 (syscall-list-default-condition): Likewise.
3430 (syscall-list-default-condition): Likewise.
3431 (syscall-list-includes): Likewise.
3432 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3433 syscall-list-* with abi-*. Handle undefined abi-variants.
3434 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3435 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3436 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3439 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3440 Removed.
3441 (syscall-list-32-options): Likewise.
3442 (syscall-list-32-condition): Likewise.
3443 (syscall-list-64-options): Likewise.
3444 (syscall-list-64-condition): Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3446 macro.
3447 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3448 Renamed to ...
3449 (abi-*): This.
3450 (abi-64-ld-soname): New macro.
3451 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3452 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3453 Renamed to ...
3454 (abi-*): This.
3455 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3456 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3457
4da0431d
JM
34582012-05-30 Joseph Myers <joseph@codesourcery.com>
3459
3a85279c
JM
3460 * sysdeps/unix/sysv/linux/kernel-features.h
3461 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3462 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3463 include <kernel-features.h>.
3464 [!__NR_ftruncate64]: Remove conditional code.
3465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3466 [__NR_ftruncate64]: Make code unconditional.
3467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3468 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3469 include <kernel-features.h>.
3470 [!__NR_ftruncate64]: Remove conditional code.
3471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3472 [__NR_ftruncate64]: Make code unconditional.
3473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3475 include <kernel-features.h>.
3476 [!__NR_ftruncate64]: Remove conditional code.
3477 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3478 [__NR_ftruncate64]: Make code unconditional.
3479 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3481 include <kernel-features.h>.
3482 [!__NR_ftruncate64]: Remove conditional code.
3483 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3484 [__NR_ftruncate64]: Make code unconditional.
3485 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3486
4da0431d
JM
3487 * configure.in (libc_cv_fpie): Weaken to a compile test using
3488 LIBC_TRY_CC_OPTION.
3489 * configure: Regenerated.
3490
11ef492c
AK
34912012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3492
3493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3497 Refreshed.
3498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3504 Refreshed.
3505
d66ef399
DM
35062012-05-27 David S. Miller <davem@davemloft.net>
3507
3508 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3509 (___Q_zero): New.
3510 (__Q_simulate_exceptions): Return void. Change to simulate
3511 exceptions by writing into the %fsr.
3512 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3513 (__Qp_handle_exceptions): Likewise.
3514 (numbers): Delete.
3515 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3516 __Qp_handle_exceptions.
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3518 __Qp_handle_exceptions.
3519 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3520 as unused and give dummy FP_RND_NEAREST initializer.
3521 (FP_INHIBIT_RESULTS): Define.
3522 (___Q_simulate_exceptions): Update declaration.
3523 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3524 formatting.
3525 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3526 as unused and give dummy FP_RND_NEAREST initializer.
3527 (__Qp_handle_exceptions): Update declaration.
3528 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3529 formatting.
3530
04fb54b5
TS
35312012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3532
3533 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3534 the temporary FPU control word.
3535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3536 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3537 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3538 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3539 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3540 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3541 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3542 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3543 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3544 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3545 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3546
3f99608f
KK
35472012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3548
3549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3550 fields.
3551
65a4de4e
CLT
35522012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3553
3554 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3555 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3556 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3557 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3558 Likewise.
3559 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3560 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3561 Likewise.
3562
15749d40
UD
35632012-05-27 Ulrich Drepper <drepper@gmail.com>
3564
3565 * po/h.po: Update from translation team.
3566
25dbcb27
AS
35672012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3568
3d3f8e55
AS
3569 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3570
25dbcb27
AS
3571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3572 handling of denormals.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3574 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3576 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3580 Likewise.
3581
7ad47a80 35822012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3583
3584 [BZ #14152]
3585 * math/libm-test.inc (fma_test): Don't always expect underflow
3586 exception.
3587
9c6ea9fa
SP
35882012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 [BZ #12416]
3591 * elf/tst-execstack.c: Include stackinfo.h.
3592 (do_test): Adjust test case to ensure that pthread_getattr_np
3593 behaviour remains the same after marking stack executable.
3594
a8239222
JM
35952012-05-25 Joseph Myers <joseph@codesourcery.com>
3596
3597 * sysdeps/unix/sysv/linux/kernel-features.h
3598 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3599 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3600 kernel-features.h.
3601 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3602 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3603 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3604 kernel-features.h.
3605 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3606 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3607
918b5606
L
36082012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3609
3610 * configure.in: Define the default includes to being none.
3611 * configure: Regenerated.
3612
3a097cc7
RM
36132012-05-25 Roland McGrath <roland@hack.frob.com>
3614
8422c9a5
RM
3615 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3616 * sysdeps/x86_64/setjmp.S: Likewise.
3617 * sysdeps/i386/bsd-setjmp.S: Likewise.
3618 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3619 * sysdeps/i386/setjmp.S: Likewise.
3620 * sysdeps/i386/__longjmp.S: Likewise.
3621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3623
3a097cc7
RM
3624 * include/stap-probe.h: New file.
3625 * configure.in: Handle --enable-systemtap.
3626 * configure: Regenerated.
3627 * config.h.in (USE_STAP_PROBE): New #undef.
3628 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3629 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3630 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3631
21708942
JM
36322012-05-25 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #13717]
3635 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3636 to 2.4.0 where earlier.
3637 * sysdeps/unix/sysv/linux/configure: Regenerated.
3638 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3639 <kernel-features.h>.
3640 [__ASSUME_32BITUIDS]: Make code unconditional.
3641 [!__ASSUME_32BITUIDS]: Remove conditional code.
3642 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3643 <kernel-features.h>.
3644 [__ASSUME_32BITUIDS]: Make code unconditional.
3645 [!__ASSUME_32BITUIDS]: Remove conditional code.
3646 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3647 [__ASSUME_32BITUIDS]: Make code unconditional.
3648 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3649 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
3682 <kernel-features.h>.
3683 [__ASSUME_32BITUIDS]: Make code unconditional.
3684 [!__ASSUME_32BITUIDS]: Remove conditional code.
3685 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3686 <kernel-features.h>.
3687 [__ASSUME_32BITUIDS]: Make code unconditional.
3688 [!__ASSUME_32BITUIDS]: Remove conditional code.
3689 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3690 <kernel-features.h>.
3691 [__NR_setresgid] (__setresgid): Do not declare.
3692 [__ASSUME_32BITUIDS]: Make code unconditional.
3693 [!__ASSUME_32BITUIDS]: Remove conditional code.
3694 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3695 <kernel-features.h>.
3696 [__NR_setresuid] (__setresuid): Do not declare.
3697 [__ASSUME_32BITUIDS]: Make code unconditional.
3698 [!__ASSUME_32BITUIDS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
3732 <kernel-features.h>.
3733 [__ASSUME_32BITUIDS]: Make code unconditional.
3734 [!__ASSUME_32BITUIDS]: Remove conditional code.
3735 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3736 <kernel-features.h>.
3737 [__ASSUME_32BITUIDS]: Make code unconditional.
3738 [!__ASSUME_32BITUIDS]: Remove conditional code.
3739 * sysdeps/unix/sysv/linux/kernel-features.h
3740 (__ASSUME_SETRESUID_SYSCALL): Remove.
3741 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3742 (__ASSUME_32BITUIDS): Likewise.
3743 (__ASSUME_LDT_WORKS): Likewise.
3744 (__ASSUME_O_DIRECTORY): Likewise.
3745 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3746 architecture but not kernel version.
3747 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3748 (__ASSUME_MMAP2_SYSCALL): Likewise.
3749 (__ASSUME_STAT64_SYSCALL): Likewise.
3750 (__ASSUME_IPC64): Likewise.
3751 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3752 <kernel-features.h>.
3753 [__ASSUME_32BITUIDS]: Make code unconditional.
3754 [!__ASSUME_32BITUIDS]: Remove conditional code.
3755 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3756 <kernel-features.h>.
3757 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3758 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3759 132096]: Remove conditional code.
3760 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3762 <kernel-features.h>.
3763 [__ASSUME_32BITUIDS]: Make code unconditional.
3764 [!__ASSUME_32BITUIDS]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3766 <kernel-features.h>.
3767 [__ASSUME_32BITUIDS]: Make code unconditional.
3768 [!__ASSUME_32BITUIDS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3770 <kernel-features.h>.
3771 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3772 unconditional.
3773 (__setresgid): Do not declare.
3774 [__ASSUME_32BITUIDS]: Make code unconditional.
3775 [!__ASSUME_32BITUIDS]: Remove conditional code.
3776 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3777 <kernel-features.h>.
3778 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3779 unconditional.
3780 (__setresuid): Do not declare.
3781 [__ASSUME_32BITUIDS]: Make code unconditional.
3782 [!__ASSUME_32BITUIDS]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3784 <kernel-features.h>.
3785 [__ASSUME_32BITUIDS]: Make code unconditional.
3786 [!__ASSUME_32BITUIDS]: Remove conditional code.
3787 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3788 <kernel-features.h>.
3789 [__ASSUME_32BITUIDS]: Make code unconditional.
3790 [!__ASSUME_32BITUIDS]: Remove conditional code.
3791
a386f1cc
RH
37922012-05-25 Richard Henderson <rth@twiddle.net>
3793
3794 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3795 dl_hwcap to ifunc resolver.
3796 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3797 elf_ifunc_invoke.
3798 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3799 dl_hwcap to ifunc resolver.
3800 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3801
b6550497
JM
38022012-05-24 Joseph Myers <joseph@codesourcery.com>
3803
3804 [BZ #14153]
3805 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3806 for |x| <= 2**-26, not 2**-57.
3807 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3808 exception.
3809
b0bc23a1
JL
38102012-05-24 Jeff Law <law@redhat.com>
3811
3812 * stdio-common/Makefile (tests): Add bug25.
3813 * stdio-common/bug25.c: New test.
3814
347c92e9
L
38152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3816
3817 [BZ #13576]
3818 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3819 multiple of MALLOC_ALIGNMENT in size.
3820 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3821
6bcc8b3f
JM
38222012-05-24 Joseph Myers <joseph@codesourcery.com>
3823
3824 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3825 Require >= 256.
3826 (FILENAME_MAX): Use macro-int-constant.
3827 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3828 (_IOFBF): Use macro-int-constant.
3829 (_IOLBF): Likewise.
3830 (_IONBF): Likewise.
3831 (SEEK_CUR): Likewise.
3832 (SEEK_END): Likewise.
3833 (SEEK_SET): Likewise.
3834 (TMP_MAX): Likewise.
3835 (EOF): Use macro-int-constant. Require < 0.
3836 (NULL): Use macro-constant. Require == 0.
3837 (stdin): Require type to be FILE *.
3838 (stdout): Likewise.
3839 (stderr): Likewise.
3840 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3841 macro-int-constant.
3842 (EXIT_SUCCESS): Likewise.
3843 (NULL): Use macro-constant. Require == 0.
3844 (RAND_MAX): Use macro-int-constant.
3845 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3846 [C99-based standards] (strtof): Require function.
3847 [C99-based standards] (strtold): Likewise.
3848 [C99-based standards] (strtoll): Likewise.
3849 [C99-based standards] (strtoull): Likewise.
3850 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3851 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3852 [ISO || ISO99 || ISO11] (math.h): Likewise.
3853 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3854 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3856
d18ea0c5
AS
38572012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3858
3859 [BZ #14132]
56d25bb8
AS
3860 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3861 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3862 * intl/dgettext.c (DCGETTEXT): Likewise.
3863 * intl/gettext.c (DCGETTEXT): Likewise.
3864 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3865 * posix/regex_internal.h (gettext): Likewise.
3866 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3867 Remove declaration.
3868 * include/argz.h (__argz_count_internal)
3869 (__argz_stringify_internal): Remove declaration.
3870 (__argz_count, __argz_stringify): Declare hidden proto.
3871 * intl/dcgettext.c: Remove use of INTDEF.
3872 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3873 * string/argz-stringify.c: Likewise.
3874 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3875 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3876 Declare hidden proto.
d18ea0c5
AS
3877 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3878 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3879 Declare hidden proto.
3880 * include/stdio.h (__asprintf_internal): Don't declare.
3881 (__asprintf): Don't define as macro. Declare hidden proto.
3882 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3883 (__fsetlocking): Declare hidden proto.
3884 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3885 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3886 hidden proto.
3887 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3888 (_IO_setlinebuf): Remove use of INTUSE.
3889 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3890 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3891 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3892 Remove declaration.
3893 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3894 (_IO_do_flush): Remove use of INTUSE.
3895 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3896 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3897 (_IO_adjust_column, _IO_least_wmarker)
3898 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3899 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3900 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3901 (_IO_default_doallocate, _IO_wdefault_doallocate)
3902 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3903 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3904 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3905 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3906 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3907 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3908 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3909 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3910 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3911 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3912 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3913 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3914 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3915 proto.
3916 (_IO_flush_all_internal, _IO_adjust_column_internal)
3917 (_IO_default_uflow_internal, _IO_default_finish_internal)
3918 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3919 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3920 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3921 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3922 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3923 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3924 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3925 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3926 (_IO_file_close_internal, _IO_file_close_it_internal)
3927 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3928 (_IO_file_init_internal, _IO_file_attach_internal)
3929 (_IO_file_fopen_internal, _IO_file_read_internal)
3930 (_IO_file_sync_internal, _IO_file_seek_internal)
3931 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3932 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3933 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3934 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3935 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3936 (_IO_list_all_internal, _IO_link_in_internal)
3937 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3938 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3939 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3940 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3941 (_IO_do_write_internal, _IO_padn_internal)
3942 (_IO_getline_info_internal, _IO_getline_internal)
3943 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3944 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3945 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3946 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3947 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3948 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3949 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3950 with libc_hidden_ver, remove use of INTUSE.
3951 * libio/genops.c: Likewise.
3952 * libio/freopen.c: Likewise.
3953 * libio/freopen64.c: Likewise.
3954 * libio/iofclose.c: Likewise.
3955 * libio/iofdopen.c: Likewise.
3956 * libio/iofflush.c: Likewise.
3957 * libio/iofflush_u.c: Likewise.
3958 * libio/iofgets.c: Likewise.
3959 * libio/iofgets_u.c: Likewise.
3960 * libio/iofopen.c: Likewise.
3961 * libio/iofopncook.c: Likewise.
3962 * libio/iofread.c: Likewise.
3963 * libio/iofread_u.c: Likewise.
3964 * libio/ioftell.c: Likewise.
3965 * libio/iofwrite.c: Likewise.
3966 * libio/iogetline.c: Likewise.
3967 * libio/iogets.c: Likewise.
3968 * libio/iogetwline.c: Likewise.
3969 * libio/iopadn.c: Likewise.
3970 * libio/iopopen.c: Likewise.
3971 * libio/ioseekoff.c: Likewise.
3972 * libio/ioseekpos.c: Likewise.
3973 * libio/iosetbuffer.c: Likewise.
3974 * libio/iosetvbuf.c: Likewise.
3975 * libio/ioungetc.c: Likewise.
3976 * libio/ioungetwc.c: Likewise.
3977 * libio/iovdprintf.c: Likewise.
3978 * libio/iovsprintf.c: Likewise.
3979 * libio/iovsscanf.c: Likewise.
3980 * libio/memstream.c: Likewise.
3981 * libio/obprintf.c: Likewise.
3982 * libio/oldfileops.c: Likewise.
3983 * libio/oldiofclose.c: Likewise.
3984 * libio/oldiofdopen.c: Likewise.
3985 * libio/oldiofopen.c: Likewise.
3986 * libio/oldiopopen.c: Likewise.
3987 * libio/oldstdfiles.c: Likewise.
3988 * libio/putc.c: Likewise.
3989 * libio/setbuf.c: Likewise.
3990 * libio/setlinebuf.c: Likewise.
3991 * libio/stdfiles.c: Likewise.
3992 * libio/strops.c: Likewise.
3993 * libio/vasprintf.c: Likewise.
3994 * libio/vscanf.c: Likewise.
3995 * libio/vsnprintf.c: Likewise.
3996 * libio/vswprintf.c: Likewise.
3997 * libio/wfiledoalloc.c: Likewise.
3998 * libio/wfileops.c: Likewise.
3999 * libio/wgenops.c: Likewise.
4000 * libio/wmemstream.c: Likewise.
4001 * libio/wstrops.c: Likewise.
4002 * libio/__fpurge.c: Likewise.
4003 * libio/__fsetlocking.c: Likewise.
4004 * assert/assert.c: Likewise.
4005 * debug/fgets_chk.c: Likewise.
4006 * debug/fgets_u_chk.c: Likewise.
4007 * debug/fread_chk.c: Likewise.
4008 * debug/fread_u_chk.c: Likewise.
4009 * debug/gets_chk.c: Likewise.
4010 * debug/obprintf_chk.c: Likewise.
4011 * debug/vasprintf_chk.c: Likewise.
4012 * debug/vdprintf_chk.c: Likewise.
4013 * debug/vsnprintf_chk.c: Likewise.
4014 * debug/vsprintf_chk.c: Likewise.
4015 * malloc/mtrace.c: Likewise.
4016 * misc/error.c: Likewise.
4017 * misc/syslog.c: Likewise.
4018 * stdio-common/asprintf.c: Likewise.
4019 * stdio-common/fxprintf.c: Likewise.
4020 * stdio-common/getw.c: Likewise.
4021 * stdio-common/isoc99_fscanf.c: Likewise.
4022 * stdio-common/isoc99_scanf.c: Likewise.
4023 * stdio-common/isoc99_vfscanf.c: Likewise.
4024 * stdio-common/isoc99_vscanf.c: Likewise.
4025 * stdio-common/isoc99_vsscanf.c: Likewise.
4026 * stdio-common/printf-prs.c: Likewise.
4027 * stdio-common/printf_fp.c: Likewise.
4028 * stdio-common/printf_fphex.c: Likewise.
4029 * stdio-common/printf_size.c: Likewise.
4030 * stdio-common/putw.c: Likewise.
4031 * stdio-common/scanf.c: Likewise.
4032 * stdio-common/sprintf.c: Likewise.
4033 * stdio-common/tmpfile.c: Likewise.
4034 * stdio-common/vfprintf.c: Likewise.
4035 * stdio-common/vfscanf.c: Likewise.
4036 * stdlib/strfmon_l.c: Likewise.
4037 * sunrpc/openchild.c: Likewise.
4038 * sunrpc/xdr_stdio.c: Likewise.
4039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4040 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4041
d6c33fda
RM
40422012-05-24 Roland McGrath <roland@hack.frob.com>
4043
c1487492
RM
4044 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4045
4046 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4047 in the third column, to generate for the shared library an IFUNC
4048 that uses _dl_vdso_vsym.
4049 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4050 * Makeconfig (object-suffixes-noshared): New variable.
4051
4052 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4053 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4054 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4055 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4056
d6c33fda
RM
4057 [BZ #14132]
4058 * include/sys/time.h (__gettimeofday): Remove macro.
4059 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4060 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4061 Remove INTDEF.
4062 (__gettimeofday): Add libc_hidden_def.
4063 (gettimeofday): Add libc_hidden_weak.
4064 * sysdeps/mach/gettimeofday.c: Likewise.
4065 * sysdeps/posix/gettimeofday.c: Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4067 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4069 (__gettimeofday_internal): Remove strong_alias.
4070 (__gettimeofday): Add libc_hidden_def.
4071 (gettimeofday): Add libc_hidden_weak.
4072 * sysdeps/unix/syscalls.list (gettimeofday):
4073 Remove __gettimeofday_internal alias.
4074
b5a2bbe6
L
40752012-05-24 Daniel Jacobowitz <drow@false.org>
4076 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 [BZ #12495]
4079 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4080 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4081 (largebin_index_32_big): New.
4082 (largebin_index): Use it for 16-byte alignment.
4083 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4084 correction with front_misalign.
4085
cfba4fda
L
40862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4087
7f907421
L
4088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4090 Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4092 Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4094 Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4104 Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4106 Likewise.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4108 Likewise.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4110 Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4112 Likewise.
4113
cfba4fda
L
4114 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4115 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4116
80bad0cc
JM
41172012-05-24 Joseph Myers <joseph@codesourcery.com>
4118
7a25eb06
JM
4119 [BZ #10846]
4120 [BZ #14036]
4121 * math/libm-test.inc (exp_test): Add test from bug 14036.
4122 (pow_test): Add test from bug 10846.
4123
795405f9
JM
4124 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4125 and other flags.
4126 (special_function): Do not include flags in test name.
4127 (parse_args): Likewise.
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4133
80bad0cc
JM
4134 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4135 exceptions.
4136 * math/libm-test.inc ("Philosophy"): Update comment about
4137 exception testing.
4138 (UNDERFLOW_EXCEPTION): New macro.
4139 (UNDERFLOW_EXCEPTION_OK): Likewise.
4140 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4141 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4142 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4143 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4144 (INVALID_EXCEPTION_OK): Update value.
4145 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4146 (OVERFLOW_EXCEPTION_OK): Likewise.
4147 (IGNORE_ZERO_INF_SIGN): Likewise.
4148 (test_exceptions): Handle underflow exceptions.
4149 (acos_test): Update for underflow exception expectations.
4150 (cexp_test): Likewise.
4151 (clog_test): Likewise.
4152 (clog10_test): Likewise.
4153 (csqrt_test): Likewise.
4154 (ctan_test): Likewise.
4155 (ctanh_test): Likewise.
4156 (exp_test): Likewise.
4157 (exp10_test): Likewise.
4158 (exp2_test): Likewise.
4159 (expm1_test): Likewise.
4160 (fma_test): Likewise.
4161 (j0_test): Likewise.
4162 (jn_test): Likewise.
4163 (nexttoward_test): Likewise.
4164 (pow_test): Likewise.
4165 (scalbn_test): Likewise.
4166 (scalbln_test): Likewise.
4167 (tan_test): Likewise.
4168 (y1_test): Likewise.
4169 * sysdeps/i386/fpu/libm-test-ulps: Update.
4170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4171
9e0e3d0b
DM
41722012-05-23 David S. Miller <davem@davemloft.net>
4173
4174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4175 (__libc_sigaction): Remove unused local variables.
4176
ccd0a08f
L
41772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4180
62bdf9a6
PE
41812012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4182
f8591f80
PE
4183 mktime: avoid signed integer overflow
4184 * time/mktime.c (__mktime_internal): Do not mishandle the case
4185 where diff == INT_MIN.
4186
94c7d826
PE
4187 mktime: simplify computation of average
4188 * time/mktime.c (ranged_convert): Use new time_t_avg function
4189 instead of rolling our own (probably-slower) code.
4190
ce73d683
PE
4191 mktime: do not assume signed right shift propagates sign bit
4192 * time/mktime.c (isdst_differ): New static function.
4193 (__mktime_internal): No need to normalize tm_isdst now.
4194 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4195 tm_isdst values.
4196
72a22e59
PE
4197 mktime: merge another wrapv change from gnulib
4198 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4199 from some compilers.
4200
68605433
PE
4201 mktime: remove incorrect attempt at unusual arithmetics
4202 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4203 The code didn't really work on such machines anyway.
4204 (TYPE_MINIMUM): Assume two's complement.
4205 (twos_complement_arithmetic): Verify that long_int and time_t
4206 are two's complement (or unsigned, in the latter case).
4207
03cf7fe3
PE
4208 mktime: check signed shifts on long_int and time_t, too
4209 * time/mktime.c (SHR): Check that shifts work as desired
4210 on the types long_int and time_t too, as SHR is used on
4211 such types.
4212
f04dfbc2
PE
4213 mktime: do not assume 'long' is wide enough
4214 * time/mktime.c (verify): Move decl up.
4215 (long_int): New type.
4216 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4217 to remove assumption in the code that 'long' is wide enough to
4218 store year values. This assumption is not true on x32 and on
4219 some non-glibc platforms.
4220
62bdf9a6
PE
4221 mktime: merge wrapv change from gnulib
4222 * time/mktime.c (WRAPV): New macro.
4223 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4224 (guess_time_tm, __mktime_internal): Do not assume that signed
4225 integer overflow wraps around; modern compilers generate code
4226 where this assumption is no longer valid.
4227
5e292e4f
L
42282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4231 Replace "jmp L(pseudo_end)" with "ret".
4232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4233 Likewise.
4234
8caf8c87
AJ
42352012-05-23 Andreas Jaeger <aj@suse.de>
4236
4237 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4238 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4239
1a09dc56
AJ
42402012-05-23 Andreas Jaeger <aj@suse.de>
4241 Maximilian Attems <max@stro.at>
4242
4243 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4244 New macros.
4245
1c87aba0
L
42462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4247
4248 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4249 code so that pseudo_end is just ret and the stack pointer is
4250 correct also for static library in error case.
4251
40e45bd5
JM
42522012-05-23 Joseph Myers <joseph@codesourcery.com>
4253
c2670533
JM
4254 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4255 move to syscalls.list.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4260
40e45bd5
JM
4261 * manual/install.texi (Running make install): Do not mention Linux
4262 kernel version for which pt_chown is not needed.
4263 (Linux): Do not mention problems with nscd with 2.0 kernels.
4264 * INSTALL: Regenerated.
4265
be08eda5
AJ
42662012-05-23 Andreas Jaeger <aj@suse.de>
4267
4268 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4269 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4270 macro.
4271 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4273 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4275 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4281 * sysdeps/unix/sysv/linux/bits/in.h
4282 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4283
a6a056bb
RM
42842012-05-22 Roland McGrath <roland@hack.frob.com>
4285
4286 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4287 (PREPARE_VERSION): Just use assert instead, it will be elided
4288 under [NDEBUG] anyway.
4289
c9009328
L
42902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * sysdeps/unix/sysv/linux/Makefile: Include
4293 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4294 (sysdep_routines): Remove sysctl.
c9009328
L
4295 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4296 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4297 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4298 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4299 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4300
73338355
AJ
43012012-05-22 Andreas Jaeger <aj@suse.de>
4302
4303 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4304 that pseudo_end is just ret and the stack pointer is correct also
4305 for static library in error case.
4306
d44638b0
PP
43072012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4308
4309 [BZ #14122]
4310 * nss/nsswitch.c (defconfig_entries): New variable.
4311 (__nss_database_lookup): Don't leak defconfig entries.
4312 (nss_parse_service_list): Don't leak on error paths.
4313 (free_database_entries): New function.
4314 (free_defconfig): New function.
4315 (free_mem): Move common code to free_database_entries.
4316
31a39bd8
L
43172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4318
da0331a8
L
4319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4320 Add arch_prctl.
4321 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4322
31a39bd8
L
4323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4324 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4326 New macro.
4327 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4328 (INTERNAL_SYSCALL_TYPES): Likewise.
4329 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4330 (LOAD_REGS_TYPES_[1-6]): Likewise.
4331 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4332 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4333
45470df3
AZ
43342012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335
4336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4337 copysignl for GLIBC_2_0.
4338 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4339 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4340 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4341 logbl for GLIBC_2_0.
4342 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4344
98a61bcb
L
43452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4346
a4f6e481
L
4347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4349
f63d5db6
L
4350 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4351 Use "neg %eax".
4352
98a61bcb
L
4353 * time/mktime.c: Update copyright years.
4354
95770f14
PE
43552012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4356
6226efbd
PE
4357 mktime: merge comment-quoting-style change from gnulib
4358 * time/mktime.c: Quote 'like this' in comments.
4359 The GNU coding standards suggest that we no longer quote `like this',
4360 as "`" and "'" are typically rendered asymmetrically nowadays.
4361 The typical gnulib style is to quote 'like this' when quoting
4362 code, and "like this" when quoting English.
4363
b99e4f78
PE
4364 * time/mktime.c (compile-command): Add "-I.".
4365
643e01e6
PE
4366 mktime: merge mktime-internal.h change from gnulib
4367 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4368
2554247d
PE
4369 mktime: merge time_r change from gnulib
4370 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4371
826dd0ab
PE
4372 mktime: merge DEBUG change from gnulib
4373 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4374 case system <time.h> has a #define.
4375
bd83aabe
PE
4376 mktime: merge <sys/types.h> change from gnulib
4377 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4378 since <time.t> is now guaranteed to define time_t.
4379
95770f14
PE
4380 mktime: merge HAVE_CONFIG_H change from gnulib
4381 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4382
5e1a27a9
L
43832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4384
0e44a77e
L
4385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4386 Use "neg %eax".
4387
5e1a27a9
L
4388 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4389 __rlim_t cast.
4390 (struct rusage): Use anonymous union to pad each field to
4391 __syscall_slong_t.
4392
46259bec
DM
43932012-05-21 David S. Miller <davem@davemloft.net>
4394
4395 * Makefules (o-iterator): Remove .s cases.
4396 (compile-command.s): Delete.
4397 (COMPILE.s): Delete.
4398 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4399
59f0c22e
JM
44002012-05-21 Joseph Myers <joseph@codesourcery.com>
4401
4402 * configure.in (libc_cv_predef_stack_protector): Only consider
4403 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4404 * configure: Regenerated.
4405
20c07380
L
44062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4407
bbb3154b
L
4408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4409 New macro. Use R*LP on int and pointer.
4410 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4411 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4412 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4413 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4414
20c07380
L
4415 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4416 [__WORDSIZE_TIME64_COMPAT32] instead of
4417 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4418 (struct utmp): Likewise.
4419 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4420 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4421 Renamed to ...
4422 (__WORDSIZE_TIME64_COMPAT32): This.
4423 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4424 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4425 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4427 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4428 (__WORDSIZE_TIME64_COMPAT32): New macro.
4429
d8d1017e
AJ
44302012-05-21 Andreas Jaeger <aj@suse.de>
4431
4432 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4433 only if [SHARED]. Add prototype for __wcschr_ia32.
4434
6c7fb145
RM
44352012-05-21 Roland McGrath <roland@hack.frob.com>
4436
4437 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4438 of %rbp unmolested in the jmp_buf while mangling the low bits.
4439 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4440 unmolested high bits of %rbp while demangling the low bits.
4441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4442
66274218
AJ
44432012-05-21 Andreas Jaeger <aj@suse.de>
4444
07c58f8f
AJ
4445 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4446 * sunrpc/svc_simple.c: Use it for registerrpc.
4447 * sunrpc/xcrypt.c: Use it for passwd2des.
4448
66274218
AJ
4449 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4450
61f65140
L
44512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4452
4453 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4454 Don't define if [__SYSCALL_WORDSIZE != 32].
4455 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4456 New macro.
4457
5fefb436
AJ
44582012-05-21 Bruno Haible <bruno@clisp.org>
4459 Andreas Jaeger <aj@suse.de>
4460
4461 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4462 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4463 inptr and inend for must_buffer_ch.
4464 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4465 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4466 * stdio-common/Makefile (tests): Remove bug15.
4467 (bug15-ENV): Remove macro.
4468 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4469 anymore.
4470
d8e272ab
AJ
44712012-05-19 Andreas Jaeger <aj@suse.de>
4472 Roland McGrath <roland@hack.frob.com>
4473
4474 * manual/contrib.texi: Completely rewritten. It contains now an
4475 alphabetical list of contributors and their contributions.
4476
4a56a162
RH
44772012-05-21 Richard Henderson <rth@twiddle.net>
4478
4479 * misc/getauxval.c (__getauxval): Use unsigned long int.
4480 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4481 (getauxval): Use unsigned long int.
4482
d024d23c
L
44832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4484
4485 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4486
cbc00a03
RM
44872012-05-21 Roland McGrath <roland@hack.frob.com>
4488
4489 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4490 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4491 __alignof__ (long double).
4492
478143fa
AZ
44932012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494
4495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4496
c7683a6d
RH
44972012-05-20 Richard Henderson <rth@twiddle.net>
4498
4499 * misc/getauxval.c: New file.
4500 * misc/sys/auxv.h: New file.
4501 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4502 (routines): Add getauxval.
4503 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4504 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4505 * elf/dl-sysdep.c (_dl_auxv): Remove.
4506 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4507 * elf/dl-support.c (_dl_auxv): New variable.
4508 (_dl_aux_init): Initialize it.
4509 * manual/startup.texi (Auxiliary Vector): New node.
4510 * sysdeps/generic/bits/hwcap.h: New file.
4511 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4512 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4513 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4514 * sysdeps/sparc/sysdep.h: ... here. Include it.
4515 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4518 Update.
c7683a6d
RH
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4527
a6f1845d
AZ
45282012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529
4530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4531
cbcbe830
DM
45322012-05-19 David S. Miller <davem@davemloft.net>
4533
4534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4535
e0b16cc2
JM
45362012-05-19 Joseph Myers <joseph@codesourcery.com>
4537
4538 [BZ #14123]
4539 * math/s_ccosh.c: Include <float.h>
4540 (__ccosh): Avoid internal overflow calculating sinh and cosh
4541 values before multiplying by sin and cos values.
4542 * math/s_ccoshf.c: Likewise.
4543 * math/s_ccoshl.c: Likewise.
4544 * math/s_csin.c: Likewise.
4545 * math/s_csinf.c: Likewise.
4546 * math/s_csinl.c: Likewise.
4547 * math/s_csinh.c: Likewise.
4548 * math/s_csinhf.c: Likewise.
4549 * math/s_csinhl.c: Likewise.
4550 * math/libm-test.inc (ccos_test): Add more tests.
4551 (ccosh_test): Likewise.
4552 (csin_test): Likewise.
4553 (csinh_test): Likewise.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556
6ad13e08
L
45572012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4558
f66f0ce8
L
4559 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4560 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4561
6ad13e08
L
4562 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4563
b1d072a7
JM
45642012-05-19 Joseph Myers <joseph@codesourcery.com>
4565
4566 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4567 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4568 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4569 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4570 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4571 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4572 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4573 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4574 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4575 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4576 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4577 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4578 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4579 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4580 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4581 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4582 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4583 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4584 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4585 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4586 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4587 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4588 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4589 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4590 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4591 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4592 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4593 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4594 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4595 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4596 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4597
9eae47cb
AJ
45982012-05-18 Andreas Jaeger <aj@suse.de>
4599
4600 * csu/.gitignore: Delete.
4601
bb07f69f
L
46022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4605 (timex): Use __syscall_slong_t.
4606
e6bdb741
AJ
46072012-05-18 Andreas Jaeger <aj@suse.de>
4608 Carlos O'Donell <carlos_odonell@mentor.com>
4609
4610 * manual/install.texi (Configuring and compiling): Update
4611 description about files modified in the source directory.
d6c33fda 4612 * INSTALL: Regenerated.
e6bdb741 4613
1b74487e
L
46142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4617 value. Use "or" to set return value to -1.
4618 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4619 negate return value.
4620
a88b64b9
TMQMF
46212012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4622
4623 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4624 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4625 failure if the compiler has Graphite support disabled.
4626 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4627 Likewise.
4628 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4629 CFLAGS-memmove.c): Likewise.
4630 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4631 Likewise.
4632
3707636e
L
46332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4634
610b8622
L
4635 * sysdeps/x86_64/x32/_itoa.h: New file.
4636
7cd195df
L
4637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4638 getdents system call only if kernel and user dirents have the
4639 same d_ino and d_off.
4640
94b07d20
L
4641 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4642 LLONG_MAX != LONG_MAX.
4643 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4644 (_fitoa_word): Likewise.
4645
18298070
L
4646 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4647 years.
4648 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4651
553c7ea4
L
4652 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4653 include <bits/wordsize.h>. Check __x86_64__ instead of
4654 __WORDSIZE.
4655 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4656 if __x86_64__ is defined. Use anonymous union on fpstate.
4657
3707636e
L
4658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4659 anonymous union.
4660
b53ef01a
AS
46612012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4662
37fb1dc0
AS
4663 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4664 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4665 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4666 Refer to _rtld_local_ro instead of _rtld_global_ro.
4667 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4668 Likewise.
4669 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4670 Likewise.
4671 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4672 Likewise.
4673 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4674 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4675 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4676
b53ef01a
AS
4677 * sysdeps/powerpc/powerpc32/dl-machine.c
4678 (__elf_machine_runtime_setup) [PROF]: Don't reference
4679 _dl_prof_resolve.
4680
7a185db2
AJ
46812012-05-18 Andreas Jaeger <aj@suse.de>
4682
4683 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4684 function only available for GCCs before 3.4 since GCC 3.4
4685 introduced a builtin.
4686 (lrint): Likewise.
4687 (llrintf): Likewise.
4688 (llrint): Likewise.
4689 (fmaxf): Likewise.
4690 (fmax): Likewise.
4691 (fminf): Likewise.
4692 (fmin): Likewise.
4693 (rint): Likewise.
4694 (rintf): Likewise.
4695 (nearbyint): Likewise.
4696 (nearbyintf): Likewise.
4697 (ceil): Likewise.
4698 (ceilf): Likewise.
4699 (floor): Likewise.
4700 (floorf): Likewise.
4701
3e5aef87
L
47022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4703
428bd707
L
4704 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4705 on both fields and cast pointer to __syscall_ulong_t.
4706
3e5aef87
L
4707 * bits/types.h (__fsword_t): New type.
4708 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4709 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4711 (__FSWORD_T_TYPE): Likewise.
4712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4713 (__FSWORD_T_TYPE): Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4715 (__FSWORD_T_TYPE): Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4717 (__FSWORD_T_TYPE): Likewise.
4718 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4719 __SWORD_TYPE with __fsword_t.
4720 (statfs64): Likewise.
4721
1ba7c3dc
DM
47222012-05-17 David S. Miller <davem@davemloft.net>
4723
4724 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4725
59910343
AJ
47262012-05-17 Andreas Jaeger <aj@suse.de>
4727
4728 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4729 warning.
4730
2e4c1e9e
L
47312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4734
de7f5ce7
AJ
47352012-05-17 Andreas Jaeger <aj@suse.de>
4736
4737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4738 when it is used.
4739
286abc3d
CM
47402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4741
4742 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4743
477cc68e
L
47442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4747 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4748
1a0994f5
CD
47492012-05-17 Andreas Jaeger <aj@suse.de>
4750 Carlos O'Donell <carlos_odonell@mentor.com>
4751
4752 [BZ #14059]
4753 * sysdeps/x86_64/multiarch/init-arch.h
4754 (bit_YMM_Usable): Rename to...
4755 (bit_AVX_Usable): ... this.
4756 (bit_FMA4_Usable): New macro.
4757 (bit_XMM_state): New macro.
4758 (bit_YMM_state): New macro.
4759 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4760 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4761 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4762 (CPUID_OSXSAVE): New macro.
4763 (CPUID_AVX): New macro.
4764 (CPUID_FMA4): New macro.
4765 (index_YMM_Usable): Rename to...
4766 (index_AVX_Usable): ... this.
4767 (HAS_AVX): Use HAS_ARCH_FEATURE.
4768 (HAS_FMA4): Likewise.
4769 (HAS_YMM_USABLE): Remove.
4770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4771 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4772 are present.
4773 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4774 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4775 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4776 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4777 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4778
0af797de
CM
47792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4780
4781 * math/libm-test.c: Support platforms without multiple rounding modes.
4782 * math/bug-nextafter.c: Support platforms without FP exceptions.
4783 * math/bug-nexttoward.c: Likewise.
4784 * math/test-fenv.c: Likewise.
4785 * math/test-misc.c: Likewise.
4786 * stdlib/bug-getcontext.c: Likewise.
4787
e39745ff
AJ
47882012-05-17 Andreas Jaeger <aj@suse.de>
4789
4790 * manual/examples/search.c (critter_cmp): Change signature to
4791 avoid warnings.
4792 * manual/string.texi (Collation Functions): Likewise.
4793
48970aba
L
47942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 * bits/types.h: Fold copyright years.
4797 * bits/typesizes.h: Likewise.
4798 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4802 * time/time.h: Likewise.
4803
bedee953
PP
48042012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4805
4806 [BZ #208]
4807 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4808 in instead of returning them. Return void.
4809 (__libc_mallinfo): Accumulate over all arenas.
4810 (__malloc_stats): Adjust for change in int_mallinfo interface.
4811
61653dfb
RM
48122012-05-16 Roland McGrath <roland@hack.frob.com>
4813
30b99d79
RM
4814 [BZ #10375]
4815 * configure.in (NM): Add AC_CHECK_TOOL for it.
4816 (libc_extra_cflags): New substituted variable.
4817 Check for -fstack-protector being used implicitly.
4818 * configure: Regenerated.
4819 * config.make.in (config-extra-cflags): New variable,
4820 gets @libc_extra_cflags@.
4821 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4822
61653dfb
RM
4823 [BZ #10375]
4824 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4825 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4826 * configure: Regenerated.
4827 * config.make.in (CPPUNDEFS): New substituted variable.
4828 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4829 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4830 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4831
661768bb
L
48322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4833
4834 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4835 (mq_attr): Use __syscall_slong_t.
4836
d4261567
L
48372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4840 Check __x86_64__ instead of __WORDSIZE.
4841 (_STAT_VER_LINUX): Likewise.
4842 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4843 __syscall_ulong_t and __syscall_slong_t.
4844 (stat64): Likewise.
4845
cf3ff365
L
48462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4849
76cf3e4d
L
48502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4851
4852 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4853
a637753a
L
48542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4857 __syscall_ulong_t.
4858
d5e05119
L
4859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4860 include <bits/wordsize.h>. Check __x86_64__ instead of
4861 __WORDSIZE.
4862 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4863 defined.
4864 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4865
f62ee380
L
4866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4867 include <bits/wordsize.h>. Check __x86_64__ instead of
4868 __WORDSIZE.
4869 (user_regs_struct): Use "__extension__ unsigned long long"
4870 instead of "unsigned long" if __x86_64__ is defined.
4871 (user): Likewise. Pad after pointer field if __ILP32__ is
4872 defined.
4873
4e124ced
JM
48742012-05-16 Joseph Myers <joseph@codesourcery.com>
4875
6a3951a0
JM
4876 * configure.in (makeinfo): Require version 4.5 or later. Allow
4877 versions 5 to 9.
4878 * configure: Regenerated.
4879 * manual/install.texi (texinfo): Increase version requirement to
4880 4.5 or later.
4881 * INSTALL: Regenerated.
4882
4e124ced
JM
4883 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4884
953ca31a
L
48852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4888
617aca05
L
4889 * sysdeps/x86_64/x32/ffs.c: New file.
4890
5762f7ae
L
4891 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4892 __syscall_ulong_t.
4893 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4894 defined. Use __syscall_ulong_t.
4895 (shminfo): Use __syscall_ulong_t.
4896 (shm_info): Likewise.
4897
a26b6856
L
4898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4899 __syscall_ulong_t.
4900
cb2b9ef7
L
4901 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4902 <bits/wordsize.h>.
4903 (msgqnum_t): Use __syscall_ulong_t.
4904 (msglen_t): Likewise.
4905 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4906 __syscall_ulong_t.
4907
34683bb0
L
4908 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4910
84a68786
L
4911 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4912
48baa5f1
L
4913 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4914 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4915
180be88b
L
4916 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4917 __syscall_slong_t.
4918
5e90c8ad
L
4919 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4920 include <bits/wordsize.h>. Check __x86_64__ instead of
4921 __WORDSIZE.
4922
23dfb58b
L
4923 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4924 "unsigned long long int" if __x86_64__ is defined.
4925 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4926
ce5d54b0
L
4927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4928 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4929 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4930
13dc9eac
L
4931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4932 <stdint.h>.
4933 (GET_PC): Cast to uintptr_t first.
4934 (GET_FRAME): Likewise.
4935 (GET_STACK): Likewise.
4936
a7895d15
L
4937 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4945 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4954 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4958 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4962 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4966
656416c9
AS
49672012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4968
5bd66283
AS
4969 * Makerules (+depfiles): Also collect depfiles from .oS in
4970 $(extra-objs).
4971 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4972 .oS, $(libnldbl-routines)).
4973
656416c9
AS
4974 * Makerules (native-compile-mkdep-flags): Define.
4975 * sunrpc/Makefile (extra-objs): Add $(addprefix
4976 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4977 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4978 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4979 calling $(make-target-directory).
4980
a46f2169
L
49812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * bits/types.h (__snseconds_t): Removed.
4984 * time/time.h (struct timespec): Replace __snseconds_t with
4985 __syscall_slong_t.
4986 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4987 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4988 Likewise.
4989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4990 (__SNSECONDS_T_TYPE): Likewise.
4991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4992 (__SNSECONDS_T_TYPE): Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4994 (__SNSECONDS_T_TYPE): Likewise.
4995
6af6528b
L
49962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/mach/hurd/bits/typesizes.h
4999 (__SYSCALL_SLONG_TYPE): New macro.
5000 (__SYSCALL_ULONG_TYPE): Likewise.
5001
de986b56
L
50022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5003
5004 * bits/types.h (__syscall_slong_t): New type.
5005 (__syscall_ulong_t): Likewise.
5006
5007 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5008 (__SYSCALL_ULONG_TYPE): Likewise.
5009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5010 (__SYSCALL_SLONG_TYPE): Likewise.
5011 (__SYSCALL_ULONG_TYPE): Likewise.
5012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5013 (__SYSCALL_SLONG_TYPE): Likewise.
5014 (__SYSCALL_ULONG_TYPE): Likewise.
5015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5016 (__SYSCALL_SLONG_TYPE): Likewise.
5017 (__SYSCALL_ULONG_TYPE): Likewise.
5018
85736dc7
L
50192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5020
5021 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5022 Add sigaltstack-offsets.sym.
5023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5024 <sigaltstack-offsets.h>.
5025 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5026 longjmp_msg pointer.
5027 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5028 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5029 signal stack.
5030 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5031
cc03b296
JM
50322012-05-15 Joseph Myers <joseph@codesourcery.com>
5033
a9538892
JM
5034 * elf/stackguard-macros.h: Remove file.
5035 * sysdeps/generic/stackguard-macros.h: New file.
5036 * sysdeps/i386/stackguard-macros.h: Likewise.
5037 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5038 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5039 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5040 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5041 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5042 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5043 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5044 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5045 <elf/stackguard-macros.h>.
5046
cc03b296
JM
5047 [BZ #14109]
5048 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5049 __aligned__ in attribute.
5050 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5051 (gregset_t): Likewise.
5052
93171016
L
50532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5054
5055 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5056 * sysdeps/x86_64/64/Implies-after: Here. New file.
5057 * sysdeps/x86_64/x32/Implies-after: New file.
5058
d86813a0
L
50592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5062 and access return value for _dl_profile_fixup. Use R10_LP to
5063 load frame size.
5064
2953ec75
L
50652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5066
5067 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5068
3b550e9e
L
50692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5070
5071 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5072 * sysdeps/x86_64/x32/sysdep.h: New file.
5073
eda41706
L
50742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5075
5076 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5077 * sysdeps/x86_64/setjmp.S: Likewise.
5078
9ea01d93
AZ
50792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080
5081 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5082 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5083 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5084 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5085 remove unused global constant.
5086
02a91938
CM
50872012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5088
5089 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5090 include of <not-cancel.h>.
5091
6540185f
RM
50922012-05-15 Roland McGrath <roland@hack.frob.com>
5093
5094 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5095
509072a0
AJ
50962012-05-15 Jeff Law <law@redhat.com>
5097 Andreas Jaeger <aj@suse.de>
5098
5099 [BZ #13594]
5100 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5101 out from...
5102 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5103 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5104 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5105 code changing __hst_map_handle.map.
5106
ba75122d
RM
51072012-05-15 Roland McGrath <roland@hack.frob.com>
5108
5109 * configure.in (sysnames): Look for Implies-before and Implies-after
5110 files.
5111 * configure: Regenerated.
5112
890d8bd8
L
51132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5114
5115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5116 8-byte data alignment with LP_SIZE alignment.
5117
f6ee6623
L
51182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5119
5120 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5121 into R10_LP.
5122
ea2626f6
L
51232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5124
5125 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5126
085f715e
L
51272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5130 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5132 Likewise.
5133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5134
be8498fc
L
51352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5136
5137 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5138 (stackinfo_sub_sp): Likewise.
5139
70bc83b9
L
51402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5141
5142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5143 RAX_LP.
5144
9bc0b730
L
51452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5146
5147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5148 into R*_LP.
5149
6d2850e7
L
51502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5151
5152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5153 sizes into R*_LP.
5154
3cb84561
L
51552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5158
54e2ed81
L
51592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5162 into R11_LP and load __x86_64_shared_cache_size_half into
5163 R8_LP.
5164
8a17f349
L
51652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5168 R8_LP.
5169
777b1eea
AZ
51702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171
5172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5173 logb for POWER7.
5174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5175 logbf for POWER7.
5176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5177 logbl for POWER7.
5178 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5179 powerpc32/power7/fpu/s_logb.c via #include.
5180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5181 powerpc32/power7/fpu/s_logbf.c via #include.
5182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5183 powerpc32/power7/fpu/s_logbl.c via #include.
5184
d20d4ac2
JM
51852012-05-15 Joseph Myers <joseph@codesourcery.com>
5186
5187 * README.libm: Remove file.
5188
6cdef1ab
L
51892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5190
5191 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5192 count for x32. Use R*_LP and omit operand-size suffix.
5193
0b254d8f
L
51942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5195
5196 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5197 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5198 * sysdeps/x86_64/x32/shlib-versions: New file.
5199
ceb809dc
RM
52002012-05-14 Roland McGrath <roland@hack.frob.com>
5201
5202 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5203 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5204 Use _dl_fatal_printf instead.
5205
37f1abd4
JM
52062012-05-14 Joseph Myers <joseph@codesourcery.com>
5207
5208 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5209 set if not set by the user. Do not allow for being unset.
5210 * sysdeps/unix/sysv/linux/configure: Regenerated.
5211
11de3a33
L
52122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5213
5214 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5215 the `q' suffix from lea and replace .quad with ASM_ADDR.
5216
e02f153a
L
52172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5220 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5221 instead of $17.
5222 (PTR_DEMANGLE): Likewise.
5223
520ae0fd
L
52242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5225
5226 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5227 (LP_OP): Likewise.
5228 (ASM_ADDR): Likewise.
5229 (RAX_LP): Likewise.
5230 (RBP_LP): Likewise.
5231 (RBX_LP): Likewise.
5232 (RCX_LP): Likewise.
5233 (RDI_LP): Likewise.
5234 (RSI_LP): Likewise.
5235 (RSP_LP): Likewise.
5236 (R8_LP): Likewise.
5237 (R9_LP): Likewise.
5238 (R10_LP): Likewise.
5239 (R10_LP): Likewise.
5240 (R11_LP): Likewise.
5241 (R12_LP): Likewise.
5242 (R13_LP): Likewise.
5243 (R14_LP): Likewise.
5244 (R15_LP): Likewise.
5245
b985be81
L
52462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5247
5248 * sysdeps/x86_64/x32/dl-machine.h: New file.
5249
6a4888ff
AJ
52502012-05-14 Andreas Jaeger <aj@suse.de>
5251
5252 * manual/Makefile (subdir): Remove export of subdir.
5253 (all): Remove target.
5254 (.PHONY): Remove all from list.
5255 (mkinstalldirs): Remove.
5256 (.PHONY): Remove installdirs from list.
5257 ($(inst_infodir)/libc.info): Use make-target-directory.
5258 (installdirs): Remove.
5259 (subdir_%): Remove.
5260 (glibc-targets): Remove.
5261 (lib): Remove.
5262 (stubs): Remove.
5263 ($(objpfx)stubs ../po/manual.pot): Remove.
5264 ($(objpfx)stamp%): Remove.
5265 (make-target-directory): Remove.
5266 (subdir_install): Remove.
5267 (routines): Remove.
5268 (aux): Remove.
5269 (sources): Remove.
5270 (objects): Remove.
5271 (headers): Remove.
5272
5273 [BZ #13750]
5274 * manual/.gitignore: Remove, it's not needed anymore.
5275 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5276 all files in it.
5277 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5278 directory.
5279 (texis): Renamed to $(objpfx)texis.
5280 (texis-path): New, contains path to generated files.
5281 (chapters.%): Use texis-path for complete path, add extra argument
5282 libc-texinfo.sh.
5283 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5284 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5285 (summary,texi, stamp-summary): Use complete path of
5286 files. Generate files in build dir.
5287 (dir-add.texi): Build in build dir.
5288 (libm-err.texi,stamp-libm-err): Likewise.
5289 (version.texi, stamp-version): Likewise.
5290 (.%c.texi): Likewise.
5291 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5292 (mostlyclean): Remove target.
5293 (realclean): Remove target.
5294 (generated): Add new variable with contents from mostlyclean and
5295 realclean, remove entries duplicated in common-mostlyclean, add
5296 stamp-libm-err and stamp-version.
5297 (generated-dirs): Add libc directory.
5298 ($(inst_infodir)/libc.info): Install files from build dir.
5299
5300 * manual/install.texi (Configuring and compiling): Adjust since
5301 the info files are not part of the tar ball anymore.
5302
7ac77294
AJ
53032012-05-14 Andreas Jaeger <aj@suse.de>
5304
5305 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5306 variable.
5307
ffb7875d
JM
53082012-05-14 Joseph Myers <joseph@codesourcery.com>
5309
5310 [BZ #13717]
5311 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5312 to 2.2.0 where earlier.
5313 * sysdeps/unix/sysv/linux/configure: Regenerated.
5314 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5315 Remove conditional code.
5316 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5317 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5318 Remove conditional code.
5319 [!__NR_lchown]: Likewise.
5320 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5321 [__NR_lchown]: Likewise.
5322 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5323 comment referencing __ASSUME_LCHOWN_SYSCALL.
5324 * sysdeps/unix/sysv/linux/i386/sigaction.c
5325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5327 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5328 Remove conditional code.
5329 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5330 (__protocol_available): Remove #if 0 code.
5331 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5332 conditional code.
5333 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5334 * sysdeps/unix/sysv/linux/kernel-features.h
5335 (__ASSUME_GETCWD_SYSCALL): Don't define.
5336 (__ASSUME_REALTIME_SIGNALS): Likewise.
5337 (__ASSUME_PREAD_SYSCALL): Likewise.
5338 (__ASSUME_PWRITE_SYSCALL): Likewise.
5339 (__ASSUME_POLL_SYSCALL): Likewise.
5340 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5341 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5342 non-SPARC.
5343 (__ASSUME_SIOCGIFNAME): Don't define.
5344 (__ASSUME_MSG_NOSIGNAL): Likewise.
5345 (__ASSUME_SENDFILE): Define unconditionally.
5346 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5347 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5348 conditional code.
5349 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5350 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5351 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5352 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5353 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5354 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5355 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5372 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5378 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5380 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5381 Remove conditional code.
5382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5383 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5384 Remove conditional code.
5385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5386 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5387 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5389 Remove conditional code.
5390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5391 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5392 Remove conditional code.
5393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5394 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5395 Remove conditional code.
5396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5397 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5398 Remove conditional code.
5399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5400 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5401 Remove conditional code.
5402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5403 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5406 * sysdeps/unix/sysv/linux/sigaction.c
5407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5409 * sysdeps/unix/sysv/linux/sigpending.c
5410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5412 * sysdeps/unix/sysv/linux/sigprocmask.c
5413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5415 * sysdeps/unix/sysv/linux/sigsuspend.c
5416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5419 (__libc_missing_rt_sigs): Remove.
5420 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5421 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5422 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5423 Remove conditional code.
5424 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5425 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5426 return 1.
5427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5428 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5430 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5431
1bfb7291
AJ
54322012-05-14 Andreas Jaeger <aj@suse.de>
5433
caae5a81
AJ
5434 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5435 it's not used in glibc.
5436 (__coshm1): Likewise.
5437 (__acosh1p): Likewise.
5438 (__sgn): Likewise.
5439
1bfb7291
AJ
5440 * manual/string.texi (Copying and Concatenation): Add missing
5441 variable in concat example.
5442 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5443
c044d724
L
54442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5445
144c5467 5446 [BZ #14103]
c044d724
L
5447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5448 __builtin_clzl with __builtin_clzll.
5449
2523c62b
L
54502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5451
5452 [BZ #14104]
5453 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5454 libc_freeres_ptr.
5455
d7bb4c42
LD
54562012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5457
5458 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5459 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5460 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5462
9dc4e1fb
MF
54632012-05-14 Mike Frysinger <vapier@gentoo.org>
5464
5465 * NEWS: Update ia64 info.
5466
c7df0112
AS
54672012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5468
5469 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5470 used as bcopy.
5471
dc70356c
TS
54722012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5473
5474 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5475 * sysdeps/unix/syscalls.list (dup3): Likewise.
5476 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5477 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5478
9fb1a21f
L
54792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5480
5481 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5482 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5483
4822a2a5
L
54842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5487 thread pointer.
5488 (TLS_IE): Use mov/add instead of movq/addq to load thread
5489 pointer.
5490 (TLS_GD_PREFIX): New.
5491 (TLS_GD): Use it.
5492
842b81d6
DM
54932012-05-11 David S. Miller <davem@davemloft.net>
5494
5495 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5496 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5497 (_FPU_SETCW): Likewise.
5498
1cf463cd
L
54992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5502 is 32-byte aligned.
5503
60cc4a18
AS
55042012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5505
5506 [BZ #11837]
5507 * iconvdata/gb18030.c: Update tables.
5508 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5509 characters specially.
5510 (BODY for TO_LOOP): Add encoding of missing ranges.
5511
febb44a4
TS
55122012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5513
5514 [BZ #13673]
5515 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5516 * sysdeps/mach/hurd/dup3.c: Likewise.
5517 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5518 * sysdeps/powerpc/memmove.c:: Likewise.
5519
0a10fb9e
L
55202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5521
5522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5523 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5524
df8a552f
L
55252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5526
5527 * elf/elf.h (R_X86_64_RELATIVE64): New.
5528 (R_X86_64_NUM): Updated.
5529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5530 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5531 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5532 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5533 tst-quad1pie tst-quad2pie
5534 (modules-names): Add tst-quadmod1 tst-quadmod2.
5535 ($(objpfx)tst-quad1): New dependency.
5536 ($(objpfx)tst-quad2): Likewise.
5537 ($(objpfx)tst-quad1pie): Likewise.
5538 ($(objpfx)tst-quad2pie): Likewise.
5539 * sysdeps/x86_64/tst-quad1.c: New file.
5540 * sysdeps/x86_64/tst-quad1pie.c: New file.
5541 * sysdeps/x86_64/tst-quad2.c: Likewise.
5542 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5543 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5544 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5545 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5546 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5547
f34d6f84
ST
55482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5549
f42d41d1
ST
5550 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5551 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5552 * streams/stropts.h (t_scalar_t): Define type.
5553
3c3571fc
ST
5554 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5555 (_PATH_PRESERVE): Set to "/var/lib".
5556 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5557
61f06bd3
ST
5558 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5559 instead of int.
5560
918d4d71
ST
5561 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5562 if __dir_mkfile succeeded.
5563
f34d6f84
ST
5564 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5565 checking for _hurd_dtablesize. Unlock it right after having
5566 finished _hurd_dtable allocation.
5567
10589b4a
TS
55682012-05-10 Thomas Schwinge <thomas@schwinge.name>
5569
674cdbc7
TS
5570 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5571 * sysdeps/mach/hurd/configure: Regenerated.
5572 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5573 special-casing to...
5574 * sysdeps/gnu/configure.in: ... this new file.
5575 * sysdeps/unix/sysv/linux/configure: Regenerated.
5576 * sysdeps/gnu/configure: New generated file.
5577
8e41b99f
TS
5578 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5579 for Linux: use nsec instead of usec, as well as:
5580 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5581 members of type struct timespec.
5582 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5583 New macros.
5584 (struct stat64): Likewise.
5585 (_STATBUF_ST_NSEC): New macro.
5586 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5587
10589b4a
TS
5588 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5589 __strtoul_internal rather than strtoul.
5590
63643c85
PT
55912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5592
5593 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5594 and reject them.
5595
3faebe6a
ST
55962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5597
5598 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5599 which preserves existing values.
5600 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5601
c6474b07
PT
56022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5603
5604 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5605 TIMEOUT values. Return EINVAL for NFDS values either negative or
5606 greater than FD_SETSIZE.
5607
1043890b
ST
56082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5609
5610 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5611 allocated, call __vm_protect to finish enabling the existing space, and
5612 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5613 allocate the remainder.
5614
37ed8b9b
PT
56152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5616
5617 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5618 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5619
db653660
ST
56202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5621
37ed8b9b
PT
5622 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5623 sysdeps/mach/hurd/readlink.c.
b29d4053 5624
db653660
ST
5625 * posix/tst-sysconf.c (posix_options): Only use
5626 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5627 _POSIX_SYNCHRONIZED_IO when they are defined
5628 * sysdeps/mach/hurd/bits/posix_opt.h:
5629 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5630 (_XOPEN_REALTIME): Undefine macro.
5631 (_XOPEN_REALTIME_THREADS): Undefine macro.
5632 (_XOPEN_SHM): Undefine macro.
5633 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5634 macro to -1.
5635 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5636 macro to -1.
5637 (_POSIX_ASYNC_IO): Undefine macro.
5638 (_POSIX_PRIORITIZED_IO): Undefine macro.
5639 (_POSIX_SPIN_LOCKS): Define macro to -1.
5640
ee16e894
ST
5641 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5642 SA_NODEFER, SA_RESETHAND.
5643 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5644 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5645 F_DUPFD_CLOEXEC.
5646
6103ae3b
TS
56472012-05-10 Thomas Schwinge <thomas@schwinge.name>
5648
5649 * elf/Makefile (pldd-modules): Define unconditionally.
5650
80b4e5f3
TS
56512012-05-10 Thomas Schwinge <thomas@schwinge.name>
5652
5653 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5654
edadcbd6
ST
56552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5656
5657 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5658 Return ENOENT when name is empty.
5659 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5660
80694780
TS
56612012-05-10 Thomas Schwinge <thomas@schwinge.name>
5662
1792c087
TS
5663 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5664
80694780
TS
5665 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5666
6b645f0d
ST
56672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5668
80694780
TS
5669 Fix mlock in all cases except non-readable pages.
5670 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5671 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5672
6b645f0d
ST
5673 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5674 (__mkdir): When path is `/', just fail with EEXIST.
5675 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5676
e468f8a3
TS
56772012-05-10 Thomas Schwinge <thomas@schwinge.name>
5678
5679 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5680 <sys/uio.h> (for writev).
5681 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5682 and <sys/param.h> (for MIN).
5683
a4186cff
PT
56842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5685
5686 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5687 REQUESTED_TIME. Properly set the remaining time and return EINTR
5688 if interrupted.
5689
510bbf14
TS
56902012-05-10 Thomas Schwinge <thomas@schwinge.name>
5691
5692 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5693 Depend on against $(link-rpcuserlibs).
5694
5d5722e8
ST
56952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5696
a4186cff
PT
5697 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5698 (__libc_stack_end): Do not use attribute_relro.
5699 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5700 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5701 to libthread-provided value.
a4186cff
PT
5702 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5703 attribute_relro.
5d5722e8 5704
37233df9
TS
57052012-05-10 Thomas Schwinge <thomas@schwinge.name>
5706
be971a2b
TS
5707 [BZ #3748]
5708 * bits/libc-lock.h (__libc_once_get): New macro.
5709 * sysdeps/mach/bits/libc-lock.h: Likewise.
5710 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5712 instead of using implementation details.
5713
37233df9
TS
5714 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5715 * libio/freopen.c: Likewise.
5716 * libio/freopen64.c: Likewise.
5717 * misc/syslog.c: Likewise.
5718 * nscd/connections.c: Likewise.
5719 * nscd/netgroupcache.c: Likewise.
5720 * sysdeps/posix/getcwd.c: Likewise.
5721
38de94a5
RM
57222012-05-10 Roland McGrath <roland@hack.frob.com>
5723
5724 * math/w_ilogbf.c: Add #include <limits.h>.
5725
67530489
ST
57262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5727
a4186cff 5728 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5729 path instead of returning without unlocking.
5730
67530489
ST
5731 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5732 immediate-write ioctls.
5733 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5734
5aa3a74a
TS
57352012-05-10 Thomas Schwinge <thomas@schwinge.name>
5736
18bad2ae
TS
5737 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5738 __builtin_frame_address instead of making assumptions about the
5739 location of the return address relative to DATA. Force early load of
5740 the return address.
5741 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5742 __builtin_frame_address.
5743
5aa3a74a
TS
5744 dup3 for GNU Hurd.
5745 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5746 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5747 implement dup3 and do some further code clean-ups.
5748 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5749 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5750
ecd0de9a
ST
57512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5752
cd9fa985
ST
5753 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5754
a4186cff
PT
5755 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5756 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5757 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5758 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5759 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5760 d->port.lock.
802ca5a5 5761
a4186cff
PT
5762 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5763 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5764 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5765
bcf55240
TS
57662012-05-10 Thomas Schwinge <thomas@schwinge.name>
5767
6960eb42
TS
5768 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5769 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5770 definitions.
5771
eb43375f
TS
5772 accept4 for GNU Hurd.
5773 * include/sys/socket.h (__libc_accept4): New prototype.
5774 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5775 to implement __libc_accept4.
5776 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5777 __libc_accept4.
5778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5779
bcf55240
TS
5780 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5781 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5782 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5783 signal-defines.sym.
5784
6178c55b
ST
57852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5786
a4186cff 5787 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5788
6f080c2f
TS
57892012-05-10 Thomas Schwinge <thomas@schwinge.name>
5790
5791 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5792 assertion on O_CLOEXEC flag.
5793 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5794 * hurd/intern-fd.c: Likewise.
5795 * hurd/port2fd.c: Likewise.
5796
bcfe3a54
ST
57972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5798
5799 [BZ #3906]
5800 * bits/in.h (IPV6_PKTINFO): Define new macro.
5801 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5802
89c9aa49
AZ
58032012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5804
5805 [BZ #13954]
5806 [BZ #13955]
5807 [BZ #13956]
5808 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5810 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5813 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5814 * math/libm-test.inc (logb_test) : Additional logb tests.
5815
021db4be
AJ
58162012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5817 Andreas Jaeger <aj@suse.de>
5818
5819 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5820 * configure: Regenerated.
5821 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5822 * config.make.in (link-obsolete-rpc): New substituted variable.
5823 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5824 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5825 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5826 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5827 so that libc.a contains the symbols.
5828 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5829 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5830 * sunrpc/auth_none.c: Likewise.
5831 * sunrpc/auth_unix.c: Likewise.
5832 * sunrpc/authdes_prot.c: Likewise.
5833 * sunrpc/authuxprot.c: Likewise.
5834 * sunrpc/clnt_gen.c: Likewise.
5835 * sunrpc/clnt_perr.c: Likewise.
5836 * sunrpc/clnt_raw.c: Likewise.
5837 * sunrpc/clnt_simp.c: Likewise.
5838 * sunrpc/clnt_tcp.c: Likewise.
5839 * sunrpc/clnt_udp.c: Likewise.
5840 * sunrpc/clnt_unix.c: Likewise.
5841 * sunrpc/des_crypt.c: Likewise.
5842 * sunrpc/des_soft.c: Likewise.
5843 * sunrpc/get_myaddr.c: Likewise.
5844 * sunrpc/key_call.c: Likewise.
5845 * sunrpc/key_prot.c: Likewise.
5846 * sunrpc/netname.c: Likewise.
5847 * sunrpc/pm_getmaps.c: Likewise.
5848 * sunrpc/pm_getport.c: Likewise.
5849 * sunrpc/pmap_clnt.c: Likewise.
5850 * sunrpc/pmap_prot.c: Likewise.
5851 * sunrpc/pmap_prot2.c: Likewise.
5852 * sunrpc/pmap_rmt.c: Likewise.
5853 * sunrpc/publickey.c: Likewise.
5854 * sunrpc/rpc_cmsg.c: Likewise.
5855 * sunrpc/rpc_common.c: Likewise.
5856 * sunrpc/rpc_dtable.c: Likewise.
5857 * sunrpc/rpc_prot.c: Likewise.
5858 * sunrpc/rpc_thread.c: Likewise.
5859 * sunrpc/rtime.c: Likewise.
5860 * sunrpc/svc.c: Likewise.
5861 * sunrpc/svc_auth.c: Likewise.
5862 * sunrpc/svc_raw.c: Likewise.
5863 * sunrpc/svc_run.c: Likewise.
5864 * sunrpc/svc_tcp.c: Likewise.
5865 * sunrpc/svc_udp.c: Likewise.
5866 * sunrpc/svc_unix.c: Likewise.
5867 * sunrpc/svcauth_des.c: Likewise.
5868 * sunrpc/xcrypt.c: Likewise.
5869 * sunrpc/xdr.c: Likewise.
5870 * sunrpc/xdr_array.c: Likewise.
5871 * sunrpc/xdr_float.c: Likewise.
5872 * sunrpc/xdr_intXX_t.c: Likewise.
5873 * sunrpc/xdr_mem.c: Likewise.
5874 * sunrpc/xdr_rec.c: Likewise.
5875 * sunrpc/xdr_ref.c: Likewise.
5876 * sunrpc/xdr_sizeof.c: Likewise.
5877 * sunrpc/xdr_stdio.c: Likewise.
5878
b5c086a2
RM
58792012-05-10 Roland McGrath <roland@hack.frob.com>
5880
5881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5882 change. Update copyright years.
5883
6d74dd09
JM
58842012-05-10 Joseph Myers <joseph@codesourcery.com>
5885
5886 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5887
28e72501
MK
58882012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5889 Joseph Myers <joseph@codesourcery.com>
5890 Paul Pluzhnikov <ppluzhnikov@google.com>
5891
5892 [BZ #14012]
5893 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5894 requiring rpcgen.
5895 [cross-compiling] (extra-libs): Likewise.
5896 [cross-compiling] (extra-libs-others): Likewise.
5897 [cross-compiling] (librpcsvc-routines): Likewise.
5898 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5899 [cross-compiling] (omit-deps): Likewise.
5900 (sunrpc-CPPFLAGS): New variable.
5901 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5902 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5903 (cross-rpcgen-objs): New variable.
5904 (extra-objs): Append $(cross-rpcgen-objs).
5905 ($(cross-rpcgen-objs)): New rule.
5906 ($(objpfx)cross-rpcgen): Likewise.
5907 (rpcgen-cmd): Define to use $(built-program-file). Expand
5908 comment.
5909 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5910 ($(objpfx)x%.stmp): Likewise.
5911 * sunrpc/proto.h [IS_IN_build] (_): Define.
5912 [IS_IN_build] (_libc_intl_domainname): Likewise.
5913
c8c59454
L
59142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5915
5916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5917 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5918 and R_X86_64_TPOFF64.
5919
6f27cd16
JM
59202012-05-10 Joseph Myers <joseph@codesourcery.com>
5921
5922 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5923 sysdeps/unix/sysv/syscalls.list.
5924 (stime): Likewise.
5925 (utime): Likewise.
5926 * sysdeps/unix/sysv/syscalls.list: Remove file.
5927
02467e1c
PE
59282012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5929
5930 [BZ #3440]
5931 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5932 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5933 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5934 (__LC_IDENTIFICATION): Make these macros useful in #if
5935 expressions, as required by C99.
5936
da392631
AS
59372012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5938
5939 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5940 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5941 after this.
5942
8115f29b
L
59432012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5944
5945 * stdlib/longlong.h: Updated from GCC.
5946
bdd74070
AJ
59472012-05-09 Andreas Jaeger <aj@suse.de>
5948
edfe0dbe
AJ
5949 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5950 default is first entry.
5951 (run_mode): Set type.
5952 (main): Remove informal message about syslog.
5953 (options): Fix typo.
5954
bcfe3a54
ST
5955 [BZ #14053]
5956 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5957 to asm.
bcfe3a54
ST
5958 (lrint): Likewise.
5959 (llrintf): Likewise.
5960 (llrint): Likewise.
5961 (rint): Likewise.
5962 (rintf): Likewise.
5963 (nearbyint): Likewise.
5964 (nearbyintf): Likewise.
bdd74070 5965
91d8d69e
AJ
59662012-05-09 Andreas Jaeger <aj@suse.de>
5967 Pedro Alves <palves@redhat.com>
5968
5969 * nscd/nscd.c (run_mode): Use enum.
5970 (main): Cleanup coding style issue.
5971
bb90b80b
AJ
59722012-05-09 Alexandre Oliva <aoliva@redhat.com>
5973 Andreas Jaeger <aj@suse.de>
5974
bcfe3a54
ST
5975 * nscd/nscd.c (go_background): Replaced with...
5976 (run_mode): ... this.
bb90b80b 5977 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5978 (options): Add -F --foreground.
5979 (main): Implement it.
5980 (parse_opt): Parse it.
bb90b80b 5981
1a4b75a1
AJ
59822012-05-09 Andreas Jaeger <aj@suse.de>
5983
5984 [BZ #14083]
5985 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5986 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5987 -Wconversion warning.
5988 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5989 Likewise.
5990
b1cc2472
JM
59912012-05-09 Joseph Myers <joseph@codesourcery.com>
5992
5993 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5994 == 0.
5995 (LC_ALL): Use macro-int-constant.
5996 (LC_COLLATE): Likewise.
5997 (LC_CTYPE): Likewise.
5998 (LC_MESSAGES): Likewise.
5999 (LC_MONETARY): Likewise.
6000 (LC_NUMERIC): Likewise.
6001 (LC_TIME): Likewise.
6002 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6003 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6005 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6006 Specify type.
6007 [C99-based standards] (float_t): Expect type.
6008 [C99-based standards] (double_t): Expect type.
6009 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6010 type.
6011 [C99-based standards] (HUGE_VALL): Likewise.
6012 [C99-based standards] (INFINITY): Likewise.
6013 [C99-based standards] (NAN): Likewise.
6014 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6015 [C99-based standards] (FP_NAN): Likewise.
6016 [C99-based standards] (FP_NORMAL): Likewise.
6017 [C99-based standards] (FP_SUBNORMAL): Likewise.
6018 [C99-based standards] (FP_ZERO): Likewise.
6019 [C99-based standards] (FP_FAST_FMA): Use
6020 optional-macro-int-constant. Specify type. Require == 1.
6021 [C99-based standards] (FP_FAST_FMAF): Likewise.
6022 [C99-based standards] (FP_FAST_FMAL): Likewise.
6023 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6024 [C99-based standards] (FP_ILOGBNAN): Likewise.
6025 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6026 Specify type.
6027 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6028 [C99-based standards] (math_errhandling): Specify type.
6029 [ISO99 || ISO11] (signgam): Do not allow.
6030 [non-C99-based standards] (copysignf): Do not allow.
6031 [non-C99-based standards] (exp2f): Likewise.
6032 [non-C99-based standards] (log2f): Likewise.
6033 [non-C99-based standards] (modff): Allow.
6034 [non-C99-based standards] (erff): Do not allow.
6035 [non-C99-based standards] (erfcf): Likewise.
6036 [non-C99-based standards] (gammaf): Likewise.
6037 [non-C99-based standards] (hypotf): Likewise.
6038 [non-C99-based standards] (j0f): Likewise.
6039 [non-C99-based standards] (j1f): Likewise.
6040 [non-C99-based standards] (jnf): Likewise.
6041 [non-C99-based standards] (lgammaf): Likewise.
6042 [non-C99-based standards] (tgammaf): Likewise.
6043 [non-C99-based standards] (y0f): Likewise.
6044 [non-C99-based standards] (y1f): Likewise.
6045 [non-C99-based standards] (ynf): Likewise.
6046 [non-C99-based standards] (isnanf): Likewise.
6047 [non-C99-based standards] (acoshf): Likewise.
6048 [non-C99-based standards] (asinhf): Likewise.
6049 [non-C99-based standards] (atanhf): Likewise.
6050 [non-C99-based standards] (cbrtf): Likewise.
6051 [non-C99-based standards] (expm1f): Likewise.
6052 [non-C99-based standards] (ilogbf): Likewise.
6053 [non-C99-based standards] (log1pf): Likewise.
6054 [non-C99-based standards] (logbf): Likewise.
6055 [non-C99-based standards] (nextafterf): Likewise.
6056 [non-C99-based standards] (remainderf): Likewise.
6057 [non-C99-based standards] (rintf): Likewise.
6058 [non-C99-based standards] (scalbf): Likewise.
6059 [non-C99-based standards] (copysignl): Likewise.
6060 [non-C99-based standards] (exp2l): Likewise.
6061 [non-C99-based standards] (log2l): Likewise.
6062 [non-C99-based standards] (modfl): Allow.
6063 [non-C99-based standards] (erfl): Do not allow.
6064 [non-C99-based standards] (erfcl): Likewise.
6065 [non-C99-based standards] (gammal): Likewise.
6066 [non-C99-based standards] (hypotl): Likewise.
6067 [non-C99-based standards] (j0l): Likewise.
6068 [non-C99-based standards] (j1l): Likewise.
6069 [non-C99-based standards] (jnl): Likewise.
6070 [non-C99-based standards] (lgammal): Likewise.
6071 [non-C99-based standards] (tgammal): Likewise.
6072 [non-C99-based standards] (y0l): Likewise.
6073 [non-C99-based standards] (y1l): Likewise.
6074 [non-C99-based standards] (ynl): Likewise.
6075 [non-C99-based standards] (isnanl): Likewise.
6076 [non-C99-based standards] (acoshl): Likewise.
6077 [non-C99-based standards] (asinhl): Likewise.
6078 [non-C99-based standards] (atanhl): Likewise.
6079 [non-C99-based standards] (cbrtl): Likewise.
6080 [non-C99-based standards] (expm1l): Likewise.
6081 [non-C99-based standards] (ilogbl): Likewise.
6082 [non-C99-based standards] (log1pl): Likewise.
6083 [non-C99-based standards] (logbl): Likewise.
6084 [non-C99-based standards] (nextafterl): Likewise.
6085 [non-C99-based standards] (remainderl): Likewise.
6086 [non-C99-based standards] (rintl): Likewise.
6087 [non-C99-based standards] (scalbl): Likewise.
6088 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6089 [non-C99-based standards] (FP_*): Do not allow.
6090 [C99-based standards] (FP_*): Change to
6091 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6092 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6093 allow.
6094 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6095 (SIG_ERR): Likewise.
6096 [X/Open-based standards] (SIG_HOLD): Likewise.
6097 (SIG_IGN): Likewise.
6098 (SIGABRT): Use macro-int-constant. Specify type. Require
6099 positive value.
6100 (SIGFPE): Likewise.
6101 (SIGILL): Likewise.
6102 (SIGINT): Likewise.
6103 (SIGSEGV): Likewise.
6104 (SIGTER): Likewise.
6105 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6108 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6109 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6110 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6111 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6112 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6113 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6114 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6115 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6116 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6117 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6118 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6119 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6120 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6121 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6122 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6123 [X/Open-based standards] (SIGTRAP): Likewise.
6124 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6125 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6126 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6127 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6128 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6129 allow.
6130
b9f1922d
IW
61312012-05-08 Ian Wienand <ianw@vmware.com>
6132
6133 [BZ #14080]
6134 * time/tzset.c (__tzset_parse_tz): Update default rules for
6135 daylight time changes in the Energy Policy Act of 2005.
6136
1db86e88
AJ
61372012-05-09 Andreas Jaeger <aj@suse.de>
6138
6139 [BZ #13983]
6140 * elf/ldconfig.c (parse_conf): Change string to make clear that
6141 ldconfig only issued a warning if ld.so.conf does not exist.
6142
dee4a4e3
DM
61432012-05-08 David S. Miller <davem@davemloft.net>
6144
ee0db190
DM
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6146 movxtod instead of popping the value on the stack.
6147
dee4a4e3
DM
6148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6149
6a43ec98
CD
61502012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6151
6152 * config.h.in: Add HAVE_ARM_PCS_VFP.
6153
05c2c961
RMG
61542012-05-08 Roland Mc Grath <roland@hack.frob.com>
6155
bcfe3a54
ST
6156 [BZ #13979]
6157 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6158 checking but the checks are disabled for any reason.
05c2c961 6159
4b30f61a
L
61602012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6163 and ELF64_R_TYPE with ELFW(R_TYPE).
6164
eee2bc67
JM
61652012-05-08 Joseph Myers <joseph@codesourcery.com>
6166
7ea5391a
JM
6167 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6168 (ulimit): Likewise.
6169
eee2bc67
JM
6170 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6171 (settimeofday): Likewise.
6172
abb66a67
MF
61732012-05-08 Mike Frysinger <vapier@gentoo.org>
6174
6175 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6176 a struct th_u2 inside the union, and move tu_block/tu_code into
6177 a new th_u3 union of tu_block/tu_code inside of that. Move
6178 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6179 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6180 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6181 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6182 (th_stuff): Change to th_u1.tu_stuff.
6183 (th_data): Define.
6184 (th_msg): Change to th_u1.th_u2.tu_data.
6185
7f18b530
DM
61862012-05-07 David S. Miller <davem@davemloft.net>
6187
05760585
DM
6188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6189
7f18b530
DM
6190 [BZ #14074]
6191 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6192 (SETUP_PIC_REG): Use it.
6193 (SETUP_PIC_REG_LEAF): Use it.
6194
495fd99f
JM
61952012-05-07 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #13885]
6198 [BZ #13923]
6199 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6200 USE_AS_EXPM1L.
6201 (EXPL_FINITE): Likewise.
6202 (FLDLOG): Likewise.
6203 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6204 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6205 e_expl.S.
6206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6207 USE_AS_EXPM1L.
6208 (EXPL_FINITE): Likewise.
6209 (FLDLOG): Likewise.
6210 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6211 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6212 e_expl.S.
6213 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6214 test of -max_value argument for long double.
6215 * sysdeps/i386/fpu/libm-test-ulps: Update.
6216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6217
6693d694
DM
62182012-05-06 David S. Miller <davem@davemloft.net>
6219
6220 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6221 quad soft-float symbols whose references which are compiler
6222 generated.
6223 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6224
6c23e11c
JM
62252012-05-06 Joseph Myers <joseph@codesourcery.com>
6226
d8b82cad
JM
6227 [BZ #13884]
6228 [BZ #13914]
6229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6230 USE_AS_EXP10L.
6231 (EXPL_FINITE): Likewise.
6232 (FLDLOG): Likewise.
6233 (c0): Likewise.
6234 (c1): Likewise.
6235 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6236 Adjust comments for base varying.
6237 (__expl_finite): Change alias to EXPL_FINITE.
6238 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6239 e_expl.S.
6240 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6241 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6243 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6245 USE_AS_EXP10L.
6246 (EXPL_FINITE): Likewise.
6247 (FLDLOG): Likewise.
6248 (c0): Likewise.
6249 (c1): Likewise.
6250 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6251 Adjust comments for base varying.
6252 (__expl_finite): Change alias to EXPL_FINITE.
6253 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6254 tests for bugs.
6255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6256
6c23e11c
JM
6257 [BZ #14064]
6258 * math/libm-test.inc (check_float_internal): Correct ulp
6259 calculation for subnormal expected results.
6260
29ba805c
AJ
62612012-05-06 Andreas Jaeger <aj@suse.de>
6262
6263 * Makeconfig (+math-flags): New, set to -frounding-math.
6264 (+cflags): Add +math-flags so that all of glibc gets compiled with
6265 it.
6266
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6268
7b17aeda
JM
62692012-05-05 Joseph Myers <joseph@codesourcery.com>
6270
5779f134
JM
6271 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6272 Disable one test.
6273
41498f4d
JM
6274 [BZ #13787]
6275 [BZ #13922]
6276 [BZ #14036]
6277 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6278 (__ieee754_expl): Allow for and saturate large arguments.
6279 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6280 (u_threshold): Likewise.
6281 (__exp): Call __ieee754_exp before checking for overflow and
6282 underflow.
6283 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6284 (u_threshold): Likewise.
6285 (__expf): Call __ieee754_expf before checking for overflow and
6286 underflow.
6287 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6288 (u_threshold): Likewise.
6289 (__expl): Call __ieee754_expl before checking for overflow and
6290 underflow.
6291 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6292 (__ieee754_expl): Allow for and saturate large arguments.
6293 * math/libm-test.inc (exp_test): Add another test. Do not allow
6294 missing overflow exception on overflow.
6295 (expm1_test): Do not allow missing overflow exception on overflow.
6296
6698b8bf
JM
6297 * sysdeps/i386/fpu/e_expl.c: Move to ...
6298 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6299 rather than using inline asm.
6300 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6301 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6302 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6303
7b17aeda
JM
6304 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6305 (nice): Likewise.
6306 (poll): Likewise.
6307 (signal): Likewise.
6308 (time): Likewise.
6309 (times): Likewise.
6310
f7c85819
JM
63112012-05-04 Joseph Myers <joseph@codesourcery.com>
6312
6313 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6314 sysdeps/unix/common/syscalls.list.
6315 (fchmod): Likewise.
6316 (fchown): Likewise.
6317 (ftruncate): Likewise.
6318 (getrusage): Likewise.
6319 (gettimeofday): Likewise.
6320 (setpgid): Likewise.
6321 (setregid): Likewise.
6322 (setreuid): Likewise.
6323 (sigaction): Likewise.
6324 (truncate): Likewise.
6325 (vhangup): Likewise.
6326 * sysdeps/unix/common/syscalls.list: Remove file.
6327 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6328 * sysdeps/unix/sysv/linux/Implies: Likewise.
6329
336270d0
L
63302012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6335 Moved to ...
6336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6337 Here.
6338 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6339 to ...
6340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6341 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6342 to ...
6343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6344 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6345 to ...
6346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6347 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6348 to ...
6349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6350 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6351 to ...
6352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6353 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6354 to ...
6355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6356 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6357 to ...
6358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6359 Here.
6360 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6361 to ...
6362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6363 Here.
6364 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6365 to ...
6366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6367 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6368 Moved to ...
6369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6370 Here.
6371 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6372 to ...
6373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6374
d128e450
JM
63752012-05-04 Joseph Myers <joseph@codesourcery.com>
6376
fa8ee516
JM
6377 * sysdeps/unix/common/bits/dirent.h: Remove file.
6378 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6379
d128e450
JM
6380 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6381 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6382 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6383 * sysdeps/unix/bsd/isatty.c: Likewise.
6384 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6385 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6386 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6387
ff8faaf0 63882012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6389
62881be4 6390 [BZ #13563]
31dc8730
AZ
6391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6392 long double comparison inaccuracies.
6393 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6395
6fef930c
AS
63962012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6397
6398 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6400
8f203e6c
JM
64012012-05-04 Joseph Myers <joseph@codesourcery.com>
6402
6403 [BZ #14049]
6404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6405 nonzero digits before rounding a hex value.
6406 * stdlib/tst-strtod.c (tests): Add another test.
6407
5197d9c2
AK
64082012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6409
6410 * sysdeps/s390/fpu/libm-test-ulps: Update.
6411
f0c1dedf
AJ
64122012-05-03 Andreas Jaeger <aj@suse.de>
6413
6414 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6415 does not get optimized out.
6416 (malloc_opt_barrier): New.
6417
a65ef2ae 64182012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6419 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6420
2b942cb7 6421 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6422 intermediate file deletion.
2b942cb7 6423 (generated): Add .symlist files.
a65ef2ae 6424
54b71e02
JM
64252012-05-03 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #13775]
6428 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6429 Redirect under this condition.
6430 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6431 [__USE_GNU] (__dprintf_chk): Not under this condition.
6432 [__USE_GNU] (__vdprintf_chk): Likewise.
6433 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6434 under this condition.
6435 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6436 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6437 [__USE_XOPEN2K8] (vdprintf): Likewise.
6438 [__USE_GNU] (__dprintf_chk): Not under this condition.
6439 [__USE_GNU] (__vdprintf_chk): Likewise.
6440 [__USE_GNU] (dprintf): Likewise.
6441 [__USE_GNU] (vdprintf): Likewise.
6442
d3dfcc41
RM
64432012-05-03 Roland McGrath <roland@hack.frob.com>
6444
6445 * elf/Makefile (common-generated): Set this instead of generated for
6446 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6447 $(all-built-dso)-derived lists.
6448
7ac30cc5
AJ
64492012-05-03 Andreas Jaeger <aj@suse.de>
6450
0c51e550
AJ
6451 * sysdeps/i386/fpu/libm-test-ulps: Update.
6452
7ac30cc5
AJ
6453 * FAQ: Removed.
6454 * FAQ.in: Likewise.
6455 * scripts/gen-FAQ.pl: Likewise.
6456 * manual/install.texi (Installation): Point to online location of
6457 FAQ.
6458 * Makefile (files-for-dist): Remove FAQ.
6459 (FAQ): Remove.
6460
d4c2917f
AM
64612012-05-02 Allan McRae <allan@archlinux.org>
6462
6463 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6464 (LDFLAGS-reldepmod5.so): Likewise.
6465 (LDFLAGS-reldep6mod1.so): Likewise.
6466 (LDFLAGS-reldep6mod4.so): Likewise.
6467 (LDFLAGS-reldep8mod3.so): Likewise.
6468 (LDFLAGS-unload4mod1.so): Likewise.
6469 (LDFLAGS-unload4mod2.so): Likewise.
6470 (LDFLAGS-tst-initorder): Likewise.
6471 (LDFLAGS-tst-initordera2.so): Likewise.
6472 (LDFLAGS-tst-initordera3.so): Likewise.
6473 (LDFLAGS-tst-initordera4.so): Likewise.
6474 (LDFLAGS-tst-initorderb2.so): Likewise.
6475 (LDFLAGS-noload): Likewise.
6476 (LDFLAGS-next): Likewise.
6477 (LDFLAGS-order2mod1.so): Likewise.
6478 (LDFLAGS-order2mod2.so): Likewise.
6479 (LDFLAGS-tst-initorder2): Likewise.
6480 (LDFLAGS-tst-initorder2a.so): Likewise.
6481 (LDFLAGS-tst-initorder2b.so): Likewise.
6482 (LDFLAGS-tst-initorder2c.so): Likewise.
6483 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6484
d77f993f
DM
64852012-05-02 David S. Miller <davem@davemloft.net>
6486
6487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6488
171a70b4
PP
64892012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6490
6491 [BZ #14055]
6492 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6493
0be196ad
AJ
64942012-05-02 Andreas Jaeger <aj@suse.de>
6495
6496 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6497 since we manipulate rounding mode.
6498 (CPPFLAGS-test-idouble.c): Likewise.
6499 (CPPFLAGS-test-ifloat.c): Likewise.
6500 (CFLAGS-test-ldouble.c): Likewise.
6501 (CFLAGS-test-double.c): Likewise.
6502 (CFLAGS-test-float.c): Likewise.
6503 (CFLAGS-test-misc.c): Likewise.
6504 (CFLAGS-test-test-fenv.c): Likewise.
6505
4f9d04aa
AZ
65062012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507
2b942cb7
RM
6508 [BZ #2550]
6509 [BZ #2570]
6510 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6511 comparisons to determine direction to adjust input.
4f9d04aa 6512
82a79e7d
RM
65132012-05-01 Roland McGrath <roland@hack.frob.com>
6514
f5a01ca9
RM
6515 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6516 output to the target.
6517
90fe4186
RM
6518 * scripts/localplt.awk: New file.
6519 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6520 (check-localplt-CFLAGS): Variable removed.
6521 ($(all-built-dso:=.jmprel)): New static pattern rule.
6522 (generated): Add those targets.
6523 (localplt-built-dso): New variable.
6524 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6525
6526 * elf/check-localplt.c: File removed.
6527
82397ed6
RM
6528 * scripts/check-execstack.awk: New file.
6529 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6530 (check-execstack-CFLAGS): Variable removed.
6531 ($(objpfx)check-execstack.h): Target removed.
6532 ($(objpfx)execstack-default): New target.
6533 (generated): Add that instead of check-execstack.h.
6534 ($(all-built-dso:=.phdr)): New static pattern rule.
6535 (generated): Add those targets.
6536 * elf/check-execstack.c: File removed.
6537
82a79e7d
RM
6538 * scripts/check-textrel.awk: New file.
6539 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6540 (check-textrel-CFLAGS): Variable removed.
6541 (all-built-dso): Use := to define.o
6542 ($(all-built-dso:=.dyn)): New static pattern rule.
6543 (generated): Add those targets.
6544 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6545 * config.make.in (READELF): New substituted variable.
6546 * elf/check-textrel.c: File removed.
6547
62fde54f 65482012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6549
615605c9
JM
6550 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6551 allow.
6552 * conform/data/ctype.h-data [C99-based standards] (isblank):
6553 Expect function.
6554 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6555 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6557 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6558 Specify type. Require positive value.
6559 (EILSEQ): Likewise.
6560 (ERANGE): Likewise.
6561 [ISO || POSIX] (EILSEQ): Do not expect.
6562 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6563 Specify type. Require positive value.
6564 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6565 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6567 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6568 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6569 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6570 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6571 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6572 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6573 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6574 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6576 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6579 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6580 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6581 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6582 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6583 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6584 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6589 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6590 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6591 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6592 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6593 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6594 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6596 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6600 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6601 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6602 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6603 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6604 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6606 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6607 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6609 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6610 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6638 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6639 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6640 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6641 Require >= 2.
6642 (FLT_ROUNDS): Expect as macro, not constant.
6643 (FLT_MANT_DIG): Use macro-int-constant.
6644 (DBL_MANT_DIG): Likewise.
6645 (LDBL_MANT_DIG): Likewise.
6646 (FLT_DIG): Likewise.
6647 (DBL_DIG): Likewise.
6648 (LDBL_DIG): Likewise.
6649 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6650 (DBL_MIN_EXP): Likewise.
6651 (LDBL_MIN_EXP): Likewise.
6652 (FLT_MAX_EXP): Use macro-int-constant.
6653 (DBL_MAX_EXP): Likewise.
6654 (LDBL_MAX_EXP): Likewise.
6655 (FLT_MAX_10_EXP): Likewise.
6656 (DBL_MAX_10_EXP): Likewise.
6657 (LDBL_MAX_10_EXP): Likewise.
6658 (FLT_MAX): Use macro-constant.
6659 (DBL_MAX): Likewise.
6660 (LDBL_MAX): Likewise.
6661 (FLT_EPSILON): Use macro-constant. Give upper bound.
6662 (DBL_EPSILON): Likewise.
6663 (LDBL_EPSILON): Likewise.
6664 (FLT_MIN): Likewise.
6665 (DBL_MIN): Likewise.
6666 (LDBL_MIN): Likewise.
6667 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6668 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6669 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6670 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6671 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6672 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6673 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6674 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6675 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6676 [ISO11] (FLT_TRUE_MIN): Likewise.
6677 [ISO11] (LDBL_TRUE_MIN): Likewise.
6678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6679 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6680 (SCHAR_MIN): Use macro-int-constant. Specify type.
6681 (SCHAR_MAX): Likewise.
6682 (UCHAR_MAX): Likewise.
6683 (CHAR_MIN): Likewise.
6684 (CHAR_MAX): Likewise.
6685 (MB_LEN_MAX): Use macro-int-constant.
6686 (SHRT_MIN): Use macro-int-constant. Specify type.
6687 (SHRT_MAX): Likewise.
6688 (USHRT_MAX): Likewise.
6689 (INT_MAX): Likewise.
6690 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6691 bound negative.
6692 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6693 bound with "U".
6694 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6695 bound with "L".
6696 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6697 bound negative. Suffix upper bound with "L".
6698 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6699 bound with "UL".
6700 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6701 Specify type.
6702 [C99-based standards] (LLONG_MAX): Likewise.
6703 [C99-based standards] (ULLONG_MAX): Likewise.
6704 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6705 == 0.
6706 [ISO11] (max_align_t): Require type.
6707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6708
c9140a62
JM
6709 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6710 from $CFLAGS, without defining away __attribute__ calls.
6711 (checknamespace): Use $CFLAGS_namespace.
6712
9af0bf29
JM
6713 * conform/conformtest.pl (@keywords): Only include C99 keywords
6714 for standards based on C99 or C11.
6715
343222a2
JM
6716 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6717 Disable tests.
6718 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6719 UNIX98]: Likewise.
6720
661f8cf0
JM
6721 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6722 usability of symbols in #if.
6723
ee74b9cb
JM
6724 * conform/conformtest.pl: If macro or constant types start
6725 "promoted:", expect the symbol to be of the following type
6726 promoted by the integer promotions.
62fde54f 6727
aafc49b3
JM
6728 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6729 in one place. Also handle "macro-constant".
6730
fefdf574
JM
6731 * conform/conformtest.pl: Only accept expected macro values with
6732 "==". Parse all "macro" lines in one place.
6733 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6734
f2d922fe
JM
6735 * conform/conformtest.pl: Handle braced types on "constant" lines
6736 instead of handling "typed-constant".
6737 * conform/data/signal.h-data: Use "constant" instead of
6738 "typed-constant".
6739
d22956c9
JM
6740 * conform/conformtest.pl: Handle "optional-" at start of lines in
6741 one place rather than duplicating several cases. Handle each
6742 format of "macro" line with initial "optional-".
6743
028e2e38
JM
6744 * conform/conformtest.pl: Only accept expected constant or
6745 optional-constant values with "==". Parse all "constant" lines in
6746 one place. Parse all "optional-constant" lines in one place.
6747 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6748 * conform/data/fmtmsg.h-data: Likewise.
6749 * conform/data/netinet/in.h-data: Likewise.
6750 * conform/data/tar.h-data: Likewise.
6751 * conform/data/limits.h-data: Use "==" form on "constant" and
6752 "optional-constant" lines.
6753
1b8f2850
JM
6754 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6755 Use -std=c99 for XOPEN2K.
6756 (@knownproblems): Remove.
6757 (newtoken): Don't check %isknown.
6758
a05a144b
JM
6759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6760 Do not expect macro.
6761 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6773 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6774 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6791 [XPG3] (acosh): Likewise.
6792 [XPG3] (asinh): Likewise.
6793 [XPG3] (atanh): Likewise.
6794 [XPG3] (cbrt): Likewise.
6795 [XPG3] (expm1): Likewise.
6796 [XPG3] (ilogb): Likewise.
6797 [XPG3] (log1p): Likewise.
6798 [XPG3] (logb): Likewise.
6799 [XPG3] (nextafter): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6802 [XPG3] (remainder): Likewise.
6803 [XPG3] (rint): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6811 [UNIX98 || XOPEN2K] (scalb): Expect.
6812 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6813 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6845 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6848 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6849 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6857 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6858 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6859 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6949
73c5ebe3
JM
6950 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6951 _XOPEN_SOURCE_EXTENDED for XPG4.
6952
39c33b6c
JM
6953 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6954
62fde54f
JM
6955 * Makeconfig (localtime): Remove variable.
6956 (inst_localtime-file): Likewise.
6957
0741d64c
AS
69582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6959
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6961 Update.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6963 Update.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6965 Update.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6967 Update.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6969 Update.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6971 Update.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6973 Update.
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6975 Update.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6977 Update.
6978
7cb029ee
JM
69792012-05-01 Joseph Myers <joseph@codesourcery.com>
6980
6981 [BZ #2550]
6982 [BZ #2570]
6983 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6984 comparisons to determine direction to adjust input.
6985 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6986 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6988 Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6990 Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6992 Likewise.
6993 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6995 Likewise.
6996 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6997 Likewise.
6998 * math/libm-test.inc (nexttoward_test): Add more tests.
6999
412bd966
AS
70002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7001
7002 [BZ #14040]
7003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7004 in version GLIBC_2.1, not GLIBC_2.0.
7005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7006 Likewise.
7007
9568c0c2
JM
70082012-04-30 Joseph Myers <joseph@codesourcery.com>
7009
adfbc8ac
JM
7010 [BZ #13942]
7011 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7012 (1 - x) * (1 + x).
7013 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7014 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7015 * math/libm-test.inc (acos_test): Add more tests.
7016 (asin_test): Likewise.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019
5ba3cc69
JM
7020 [BZ #14034]
7021 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7022 of square root.
7023 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7024 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7025 * math/libm-test.inc (acos_test_tonearest): New function.
7026 (acos_test_towardzero): Likewise.
7027 (acos_test_downward): Likewise.
7028 (acos_test_upward): Likewise.
7029 (asin_test_tonearest): Likewise.
7030 (asin_test_towardzero): Likewise.
7031 (asin_test_downward): Likewise.
7032 (asin_test_upward): Likewise.
7033 (main): Call the new functions.
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7036
9568c0c2
JM
7037 [BZ #13884]
7038 [BZ #13924]
7039 * math/e_exp10.c: Include <float.h>.
7040 (__ieee754_exp10): Handle underflow here rather than multiplying
7041 large negative argument by M_LN10.
7042 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7043 of __ieee754_expf.
7044 * math/e_exp10l.c: Include <float.h>.
7045 (__ieee754_exp10l): Handle underflow here rather than multiplying
7046 large negative argument by M_LN10l.
7047 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7048 spurious overflow exception on underflow.
7049
5ac3ea17
MP
70502012-04-29 Marek Polacek <polacek@redhat.com>
7051
7052 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7053 (__fortify_function): New macro.
7054 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7055 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7056 __extern_always_inline.
7057 * libio/bits/stdio2.h: Likewise.
7058 * libio/bits/stdio.h: Likewise.
7059 * string/string.h: Likewise.
7060 * string/bits/string3.h: Likewise.
7061 * include/stdio.h: Likewise.
7062 * stdlib/bits/stdlib.h: Likewise.
7063 * stdlib/stdlib.h: Likewise.
7064 * rt/bits/mqueue2.h: Likewise.
7065 * rt/mqueue.h: Likewise.
7066 * posix/bits/unistd.h: Likewise.
7067 * posix/unistd.h: Likewise.
7068 * io/bits/poll2.h: Likewise.
7069 * io/bits/fcntl2.h: Likewise.
7070 * io/fcntl.h: Likewise.
7071 * io/sys/poll.h: Likewise.
7072 * misc/bits/syslog.h: Likewise.
7073 * misc/bits/syslog-ldbl.h: Likewise.
7074 * misc/sys/syslog.h: Likewise.
7075 * socket/bits/socket2.h: Likewise.
7076 * socket/sys/socket.h: Likewise.
7077 * debug/tst-chk1.c: Likewise.
7078 * wcsmbs/bits/wchar2.h: Likewise.
7079 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7080 * wcsmbs/wchar.h: Likewise.
7081
ecf0ebfb
AJ
70822012-04-29 Andreas Jaeger <aj@suse.de>
7083
7084 * Makerules (tests): Remove enable-check-abi protection.
7085 (check-abi-warn): Remove.
7086 (check-abi-%): Remove check-abi-warn usage.
7087
7088 * configure.in: Remove check-abi configure option.
7089 * configure: Regenerated.
7090 * config.make.in (enable-check-abi): Remove.
7091
6d5c57fa
AS
70922012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7093
24c5d07e 7094 [BZ #14033]
ded5180a
AS
7095 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7096 double functions to double *_finite functions.
7097
7e0d315d
AS
7098 [BZ #13941]
7099 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7100 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7101 LDBL_MIN_EXP.
7102 * stdio-common/Makefile (tests): Add tst-sprintf3.
7103 * stdio-common/tst-sprintf3.c: New file.
7104
6d5c57fa
AS
7105 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7106 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7107
0749ff8b
JM
71082012-04-28 Joseph Myers <joseph@codesourcery.com>
7109
7110 * conform/conformtest.pl: Remove duplicate typed-constant
7111 handling.
7112
8dbd5d7b
DM
71132012-04-28 David S. Miller <davem@davemloft.net>
7114
7115 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7116 (check-abi-%): Remove AWK script prerequisite and explicit
7117 abilist directory.
7118 (check-abi): Rewrite to just diff the symlist with the abilist.
7119 (config-tls, config-abi-config): Delete, no longer used.
7120 (update-abi-%): Remove AWK script and explicit abilist directory.
7121 (update-abi): Rewrite to simply compare and conditionally copy the
7122 symlist and the sysdep abilist file. Remove update-abi-config
7123 checks.
7124 * abilist/ld.abilist: Remove.
7125 * abilist/libBrokenLocale.abilist: Remove.
7126 * abilist/libanl.abilist: Remove.
7127 * abilist/libcrypt.abilist: Remove.
7128 * abilist/libdl.abilist: Remove.
7129 * abilist/librt.abilist: Remove.
7130 * abilist/libthread_db.abilist: Remove.
7131 * abilist/libutil.abilist: Remove.
7132 * scripts/extract-abilist.awk: Remove.
7133 * scripts/merge-abilist.awk: Remove.
7134 * sysdeps/generic/libcidn.abilist: New file.
7135 * sysdeps/generic/libnss_compat.abilist: New file.
7136 * sysdeps/generic/libnss_db.abilist: New file.
7137 * sysdeps/generic/libnss_dns.abilist: New file.
7138 * sysdeps/generic/libnss_files.abilist: New file.
7139 * sysdeps/generic/libnss_hesiod.abilist: New file.
7140 * sysdeps/generic/libnss_nis.abilist: New file.
7141 * sysdeps/generic/libnss_nisplus.abilist: New file.
7142 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7143 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7144 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7145 file.
7146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7147 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7148 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7149 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7150 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7151 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7152 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7153 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7154 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7155 file.
7156 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7157 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7158 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7159 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7160 file.
7161 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7162 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7164 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7165 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7166 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7167 file.
7168 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7169 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7170 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7171 file.
7172 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7174 New file.
7175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7176 New file.
7177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7178 New file.
7179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7180 New file.
7181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7182 New file.
7183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7184 New file.
7185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7186 New file.
7187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7188 New file.
7189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7190 New file.
7191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7192 New file.
7193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7194 New file.
7195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7196 New file.
7197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7198 New file.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7200 file.
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7202 New file.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7204 New file.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7206 file.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7208 New file.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7210 New file.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7212 file.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7214 New file.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7216 New file.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7218 New file.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7220 New file.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7222 New file.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7224 New file.
7225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7227 file.
7228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7229 New file.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7231 file.
7232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7233 file.
7234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7235 file.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7237 file.
7238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7239 file.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7241 New file.
7242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7243 file.
7244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7245 file.
7246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7247 New file.
7248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7249 file.
7250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7252 file.
7253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7254 New file.
7255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7256 file.
7257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7258 file.
7259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7260 file.
7261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7262 file.
7263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7264 file.
7265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7266 New file.
7267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7268 file.
7269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7270 file.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7272 New file.
7273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7274 file.
7275 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7276 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7277 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7278 file.
7279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7280 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7281 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7282 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7283 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7284 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7285 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7286 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7287 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7288 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7291 file.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7293 New file.
7294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7295 file.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7297 file.
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7299 file.
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7301 file.
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7303 file.
7304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7305 New file.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7307 New file.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7309 file.
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7311 New file.
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7313 file.
7314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7316 file.
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7318 New file.
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7320 file.
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7322 file.
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7324 file.
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7326 file.
7327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7328 file.
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7330 New file.
7331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7332 New file.
7333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7334 file.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7336 New file.
7337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7338 file.
7339
41d73a1b
JM
73402012-04-28 Joseph Myers <joseph@codesourcery.com>
7341
7342 * conform/conformtest.pl: Fix typo in handling typed-constant from
7343 allow-header.
7344
28aeeda4
JM
73452012-04-27 Joseph Myers <joseph@codesourcery.com>
7346
adae8f5e
JM
7347 * README: Cut down references to pre-2.6 Linux kernels and
7348 Linuxthreads. Update lists of configurations in libc and ports
7349 and sort alphabetically. Say "or newer" with Linux kernel version
7350 requirements.
7351
28aeeda4
JM
7352 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7353
a462cb63
RA
73542012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7355
7356 [BZ #887]
7357 * math/libm-test.inc (logb_test_downward): New test to expose
7358 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7359 rounding mode.
7360
6ad3493e
JM
73612012-04-27 Joseph Myers <joseph@codesourcery.com>
7362
7363 [BZ #14027]
7364 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7365 to be done.
7366 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7367 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7368
2ce4f015
JM
73692012-04-26 Joseph Myers <joseph@codesourcery.com>
7370
5aeb141a
JM
7371 * sysdeps/unix/i386/brk.S: Remove file.
7372 * sysdeps/unix/i386/dl-brk.S: Likewise.
7373 * sysdeps/unix/i386/pipe.S: Likewise.
7374 * sysdeps/unix/i386/sigreturn.S: Likewise.
7375 * sysdeps/unix/i386/syscall.S: Likewise.
7376 * sysdeps/unix/i386/vfork.S: Likewise.
7377 * sysdeps/unix/i386/wait.S: Likewise.
7378
7143acae
JM
7379 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7380 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7381
2ce4f015
JM
7382 * configure.in (arm*-none*): Do not allow without
7383 --enable-hacker-mode.
7384 (netbsd*): Remove case setting base_os.
7385 (386bsd*): Likewise.
7386 (freebsd*): Likewise.
7387 (bsdi*): Likewise.
7388 (osf*): Likewise.
7389 (sunos*): Likewise.
7390 (ultrix*): Likewise.
7391 (newsos*): Likewise.
7392 (dynix*): Likewise.
7393 (*bsd*): Likewise.
7394 (sysv*): Likewise.
7395 (isc*): Likewise.
7396 (esix*): Likewise.
7397 (sco*): Likewise.
7398 (minix*): Likewise.
7399 (irix4*): Likewise.
7400 (irix6*): Likewise.
7401 (solaris[2-9]*): Likewise.
7402 (none): Likewise.
7403 * configure: Regenerated.
7404
0ac229c8
AZ
74052012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7406
7407 [BZ #11521]
7408 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7409 overflow or cancellation in calculating denominator.
7410 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7412 down expression to avoid unexpected rounding in newer GCCs.
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7414
33f244f4
DM
74152012-04-26 David S. Miller <davem@davemloft.net>
7416
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7418 long-double compat symbols.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7432
cfa1f3e8
DM
74332012-04-25 David S. Miller <davem@davemloft.net>
7434
7435 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7436 HWCAP_* values only after the memory barriers have been defined.
7437 (atomic_full_barrier): Define.
7438 (atomic_read_barrier): Define.
7439 (atomic_write_barrier): Define.
7440
6e236b92
SP
74412012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7442
7443 * shlib-versions: Add libgcc_s version information.
7444 * sysdeps/generic/libgcc_s.h: Remove.
7445 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7446 libgcc_s.h.
7447 * sysdeps/gnu/unwind-resume.c: Likewise.
7448 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7449
aab39a09
DM
74502012-04-25 David S. Miller <davem@davemloft.net>
7451
7452 * sysdeps/unix/sparc/brk.S: Delete.
7453 * sysdeps/unix/sparc/dl-brk.S: Delete.
7454 * sysdeps/unix/sparc/pipe.S: Delete.
7455 * sysdeps/unix/sparc/sysdep.S: Delete.
7456 * sysdeps/unix/sparc/sysdep.h: Delete.
7457 * sysdeps/unix/sparc/vfork.S: Delete.
7458 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7459 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7461 ret_ERRVAL, r0, r1, MOVE): Define.
7462 (JUMPTARGET): Remove.
7463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7464 sysdeps/unix/sparc/sysdep.h
7465 (ENTRY, END): Remove.
7466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7467
a3cc4f48
JM
74682012-04-25 Joseph Myers <joseph@codesourcery.com>
7469
2ed8cda2
JM
7470 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7471 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7472 -DIS_IN_build.
7473
35d76d59
JM
7474 * timezone/README: Update upstream location and email address for
7475 tzcode and tzdata.
7476 * timezone/zdump.c: Update from tzcode 2012b.
7477 * timezone/zic.c: Likewise.
7478
a3cc4f48
JM
7479 * configure.in (libc_cv_as_needed): Remove test.
7480 * configure: Regenerated.
7481 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7482 conditional definition.
7483 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7484 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7485 * config.make.in (have-as-needed): Remove variable.
7486
ceab42c3
SP
74872012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7488 Paul Pluzhnikov <ppluzhnikov@google.com>
7489
7490 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7491 strings correctly.
7492
3ce2865f
CLT
74932012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7494
7495 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7496 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7497 * sysdeps/sh/strlen.S: Likewise.
7498
f37e0d68
JM
74992012-04-24 Joseph Myers <joseph@codesourcery.com>
7500
ae186e9a
JM
7501 * sysdeps/unix/fork.S: Remove file.
7502 * sysdeps/unix/i386/fork.S: Likewise.
7503 * sysdeps/unix/sparc/fork.S: Likewise.
7504
b96914af
JM
7505 * sysdeps/unix/system.c: Remove file.
7506 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7507
f37e0d68
JM
7508 * sysdeps/unix/getegid.S: Remove file.
7509 * sysdeps/unix/geteuid.S: Likewise.
7510
87ef29ca
RM
75112012-04-24 Roland McGrath <roland@hack.frob.com>
7512
83bcd236
RM
7513 * scripts/check-localplt.awk: New file.
7514 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7515 of diff.
7516 * scripts/data/localplt-generic.data: Add a comment.
7517
87ef29ca
RM
7518 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7519 NODE when __dir_mkfile failed.
7520 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7521 Reported by Ludovic Courtès <ludo@gnu.org>.
7522
e5a6e567
AJ
75232012-04-24 Andreas Jaeger <aj@suse.de>
7524
7525 * Makerules (common-clean): Also remove gen-as-const-headers
7526 files.
7527
c1820385
JM
75282012-04-24 Joseph Myers <joseph@codesourcery.com>
7529
7530 * Makerules (native-compile): Do not change working directory for
7531 build. Use $(OUTPUT_OPTION) in command.
7532 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7533
94e02fc4
AZ
75342012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7535
7536 [BZ #13886]
7537 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7538 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7539 * math/libm-test.inc (floor_test): Add more tests.
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7541
3a533ca3
JM
75422012-04-24 Joseph Myers <joseph@codesourcery.com>
7543
940ab4b3
JM
7544 * sysdeps/unix/getdents.c: Remove file.
7545 * sysdeps/unix/sysv/getdents.c: Likewise.
7546 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7547
90e037bd
JM
7548 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7549 sysdeps/unix/mman/syscalls.list.
7550 (mmap): Likewise.
7551 (mprotect): Likewise.
7552 (msync): Likewise.
7553 (munmap): Likewise.
7554 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7555 * sysdeps/unix/mman/syscalls.list: Remove.
7556 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7557
3a533ca3
JM
7558 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7559 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7560 * configure: Regenerated.
7561 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7562 $(libgcc_s_suffix).
7563 * config.make.in (libgcc_s_suffix): Remove variable.
7564
1ad743de
JM
75652012-04-23 Joseph Myers <joseph@codesourcery.com>
7566
4ad451e2
JM
7567 * sysdeps/unix/sysv/gethostname.c: Move to ...
7568 * sysdeps/posix/gethostname.c: ... here.
7569
5e37ce39
JM
7570 * sysdeps/unix/execve.S: Remove file.
7571
1ad743de
JM
7572 * sysdeps/unix/_exit.S: Remove file.
7573
4e681b5b
AJ
75742012-04-23 Andreas Jaeger <aj@suse.de>
7575
7576 [BZ #13739]
7577 * manual/Makefile: Remove make dist support, there's no
7578 need for a stand-alone documentation tar ball.
7579 (TEXI2DVI): Define always, it's not in Makeconfig.
7580 (dist): Removed.
7581 (tar-it): Removed.
7582 (edition): Removed.
7583 (glibc-doc-$(edition).tar): Removed
7584 (%.Z): Removed.
7585 (%.gz): Removed.
7586 (%.uu): Removed.
7587 (ETAGS): Remove, it's in Makeconfig.
7588 (move-if-change): Remove, it's in Makeconfig.
7589
c0baea34
PE
75902013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7591
7592 [BZ #13970]
7593 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7594 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7595 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7596 (strtod_l, strtof_l, strtold_l): Remove __wur.
7597 It is not necessarily an error to ignore strtol's return value.
7598 One can reliably look at the stored endptr to decide whether
7599 the number had valid syntax.
7600
7c0616fa
AJ
76012012-04-21 Andreas Jaeger <aj@suse.de>
7602
803cb6b7 7603 [BZ #13739]
7c0616fa
AJ
7604 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7605
b0fe253f
JM
76062012-04-21 Joseph Myers <joseph@codesourcery.com>
7607
7608 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7609 * sysdeps/unix/sysv/Versions: Remove file.
7610
8280f22d
MT
76112012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7612
7613 [BZ #13927]
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7615
75ce411f 76162012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7617
7618 [BZ #7064]
7619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7620 version from __vm86.
7621
097d59fa
JM
76222012-04-20 Joseph Myers <joseph@codesourcery.com>
7623
a90f3bcb
JM
7624 * sysdeps/unix/common/lxstat.c: Remove file.
7625 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7626
edc7ea78
JM
7627 * sysdeps/unix/sysv/Makefile: Remove file.
7628
cb78c221
JM
7629 * sysdeps/unix/sysv/direct.h: Remove file.
7630
efa6a45f
JM
7631 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7632 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7633 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7634 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7635 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7636 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7637 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7638
9c9f2d0c
JM
7639 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7640
4541c83b
JM
7641 * sysdeps/unix/xmknod.c: Remove file.
7642 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7643
f5d153a0
JM
7644 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7645
aa746595
JM
7646 * sysdeps/unix/sysv/i386/time.S: Remove file.
7647
cce5905e
JM
7648 * sysdeps/unix/fxstat.c: Remove file.
7649 * sysdeps/unix/xstat.c: Likewise.
7650 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7651
37fa3841
JM
7652 * sysdeps/unix/sysv/sigaction.c: Remove file.
7653
ff1962a3
JM
7654 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7655 (sysdep_headers): Remove variable.
7656 [termio.h not in sysdep_headers] (generated): Likewise.
7657 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7658 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7659 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7660 * sysdeps/unix/sysv/tcflow.c: Likewise.
7661 * sysdeps/unix/sysv/tcflush.c: Likewise.
7662 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7663 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7664 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7665 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7666 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7667
e7740d31
JM
7668 * sysdeps/unix/siglist.c: Remove file.
7669
ee06f18b
JM
7670 * sysdeps/unix/getppid.S: Remove file.
7671
097d59fa
JM
7672 * sysdeps/unix/mkdir.c: Remove file.
7673 * sysdeps/unix/rmdir.c: Likewise.
7674
ff3d51ec
AS
76752012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7676
7677 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7678 ERR_MAX value.
7679 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7680 errlist-compat value.
7681
50f81fd7
DM
76822012-04-18 David S. Miller <davem@davemloft.net>
7683
7684 * sysdeps/generic/memcopy.h (reg_char): Delete.
7685 * debug/strcat_chk.c: Use char, not reg_char.
7686 * debug/strcpy_chk.c: Likewise.
7687 * debug/strncat_chk.c: Likewise.
7688 * debug/strncpy_chk.c: Likewise.
7689 * string/memchr.c: Likewise.
7690 * string/memrchr.c: Likewise.
7691 * string/rawmemchr.c: Likewise.
7692 * string/strcat.c: Likewise.
7693 * string/strchr.c: Likewise.
7694 * string/strchrnul.c: Likewise.
7695 * string/strcmp.c: Likewise.
7696 * string/strcpy.c: Likewise.
7697 * string/strncat.c: Likewise.
7698 * string/strncmp.c: Likewise.
7699 * string/strncpy.c: Likewise.
7700
8ff41c46
WS
77012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7702
7703 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7704 __builtin_memcopy is called when src and dest ranges are known to not
7705 overlap.
7706
6b652f46
WS
77072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7708
7709 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7710 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7711 fwd_align_merge macro call.
7712 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7713 bwd_align_merge macro call.
7714 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7715
b282631e
WS
77162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7717
7718 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7719 bwd_align_merge macros.
7720 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7721 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7723
95aa737c
DM
77242012-04-18 David S. Miller <davem@davemloft.net>
7725
7726 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7727
7a99a614
AJ
77282012-04-18 Andreas Jaeger <aj@suse.de>
7729
7730 [BZ# 6794]
7731 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7732 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7734
7735 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7736 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7737 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7738
7739 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7740 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7741 Adjust for changed ldbl-128 files.
7742
7743 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7744 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7745 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7746
e5270c23
DM
77472012-04-17 David S. Miller <davem@davemloft.net>
7748
7749 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7750
fb5e92c9
AS
77512012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7752
7753 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7754 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7755 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7756 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7757 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7758 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7759
76da7265
AZ
77602012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761
7762 [BZ #6794]
7763 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7764 * math/libm-test.inc: Add ilogb errno and exception tests.
7765 * math/w_ilogb.c: New file: ilogb wrapper.
7766 * math/w_ilogbf.c: New file: ilogbf wrapper.
7767 * math/w_ilogbl.c: New file: ilogbl wrapper.
7768 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7769 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7770 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7771 exception being thrown with 0.0 as argument.
7772 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7773 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7774 exception being thrown with 0.0 as argument.
7775 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7776 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7777 exception being thrown with 0.0 as argument.
7778 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7779 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7780 exception being thrown with 0.0 as argument.
7781 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7782 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7783 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7784 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7785 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7786 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7787 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7788 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7789 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7790
0396e69d
PB
77912012-04-17 Petr Baudis <pasky@ucw.cz>
7792
7793 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7794 with altivec.
7795
750b5926
MP
77962012-04-16 Marek Polacek <polacek@redhat.com>
7797
7798 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7799
751728a1
MP
78002012-04-16 Marek Polacek <polacek@redhat.com>
7801
7802 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7803 operands of fdivp instruction.
7804
34a27407
L
78052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7808 * elf/tst-auditmod3b.c: Likewise.
7809 * elf/tst-auditmod4b.c: Likewise.
7810 * elf/tst-auditmod5b.c: Likewise.
7811 * elf/tst-auditmod6b.c: Likewise.
7812 * elf/tst-auditmod6c.c: Likewise.
7813 * elf/tst-auditmod7b.c: Likewise.
7814 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7815 * sysdeps/x86_64/preconfigure.in: Likewise.
7816 * sysdeps/x86_64/preconfigure: Regenerated.
7817
7e73e17d
L
78182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7819
7820 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7821 __ILP32__.
7822
c7a6ab72
AB
78232012-04-13 Antoine Balestrat <merkil33@gmail.com>
7824
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7826 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7827
a9e8e0e0
CL
78282012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7829
7830 [BZ #13973]
7831 * locale/iso-639.def: Fix gl language name. Spotted by
7832 Yaron Shahrabani.
7833
ec98af7d
RM
78342012-04-12 Roland McGrath <roland@hack.frob.com>
7835
7836 [BZ #2074]
7837 * libio/libio.h (__io_write_fn): Update comment.
7838
247c3ede
PB
78392012-04-12 Petr Baudis <pasky@ucw.cz>
7840
7841 [BZ #2074]
7842 * stdio.texi (Hook Functions): The user provided writer function
7843 is not allowed to return -1.
7844
55939d6d
DM
78452012-04-11 David S. Miller <davem@davemloft.net>
7846
7847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7848
90020f5a
MF
78492012-04-11 Mike Frysinger <vapier@gentoo.org>
7850
7851 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7852 Add a leading slash to rtkaio.
7853
288f9098
JM
78542012-04-11 Jim Meyering <meyering@redhat.com>
7855
90020f5a
MF
7856 [BZ #11959]
7857 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7858 It is not necessarily an error to ignore fwrite's return
7859 value. One can reliably use ferror to test for errors after
7860 the fact.
288f9098 7861
4be2b570
L
78622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * bits/types.h (__snseconds_t): New type.
7865 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7866
7867 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7869 (__SNSECONDS_T_TYPE): Likewise.
7870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7871 (__SNSECONDS_T_TYPE): Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7873 (__SNSECONDS_T_TYPE): Likewise.
7874
288f9098 78752012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7876
7877 [BZ #2636]
7878 * manual/time.texi (Processor Time): Return type of times is
7879 elapsed real time since an arbitrary point in the past.
7880 (CPU Time): Move CLK_TCK from here...
7881 (Processor Time): ...to here. Correct description.
7882 * manual/conf.texi (Constants for Sysconf): Correct description of
7883 _SC_CLK_TCK.
7884
d7dd4413
DM
78852012-04-10 David S. Miller <davem@davemloft.net>
7886
7887 [BZ #13967]
7888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7889 where the is a gap between DT_REL(A) and DT_JMPREL.
7890
b46068fc
L
78912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7894 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7895 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7896
73d65cc3
SP
78972012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7898
7899 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7900 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7901 (dl_main): Handle --inhibit-cache.
7902 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7903 _dl_inhibit_cache.
7904 * elf/dl-load.c (_dl_map_object): Use it.
7905 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7906
bcc8d661
JM
79072012-04-09 Joseph Myers <joseph@codesourcery.com>
7908
8f9a2fae
JM
7909 [BZ #13872]
7910 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7911 (__ieee754_powl): Saturate large exponents rather than testing for
7912 overflow of y*log2(x).
7913 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7914 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7915 exceptions.
7916
bcc8d661
JM
7917 [BZ #11521]
7918 * math/s_ctan.c: Include <float.h>.
7919 (__ctan): Avoid internal overflow or cancellation in calculating
7920 denominator.
7921 * math/s_ctanf.c: Likewise.
7922 * math/s_ctanl.c: Likewise.
7923 * math/s_ctanh.c: Likewise.
7924 * math/s_ctanhf.c: Likewise.
7925 * math/s_ctanhl.c: Likewise.
7926 * math/libm-test.inc (ctan_test): Add more tests.
7927 (ctanh_test): Likewise.
7928 * sysdeps/i386/fpu/libm-test-ulps: Update.
7929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7930
823fbbb4
AJ
79312012-04-09 Andreas Jaeger <aj@suse.de>
7932
03879793
AJ
7933 [BZ #6894]
7934 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7935 is an optional BSD extension.
7936
823fbbb4
AJ
7937 [BZ #10254]
7938 * manual/stdio.texi (Opening Streams): Document additional fopen
7939 parameters.
7940
8de131cb
RM
79412012-04-09 Roland McGrath <roland@hack.frob.com>
7942
7943 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7944 %eax without telling the compiler.
7945
c0ed9d7d
CD
79462012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7947
7948 [BZ # 13963]
7949 * manual/install.texi: Use sourceware.org.
7950
c483f6b4
JM
79512012-04-09 Joseph Myers <joseph@codesourcery.com>
7952
d7dd9453
JM
7953 [BZ #13873]
7954 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7955 (__ieee754_pow): Generate overflow and underflow using huge*huge
7956 and tiny*tiny rather than just returning constant infinity or zero
7957 for large exponents.
7958 * math/libm-test.inc (pow_test): Require overflow exceptions for
7959 applicable cases of large exponents.
7960
c483f6b4
JM
7961 [BZ #706]
7962 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7963 (__ieee754_pow): Use iterative multiplication algorithm only for
7964 integer exponents with absolute value below 1024. Check for odd
7965 integer exponents when using algorithm for real exponents.
7966 * math/libm-test.inc (pow_test): Add more tests.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7968
d2de7579
JM
79692012-04-08 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #13705]
7972 * math/libm-test.inc (exp_test): Do not allow overflow exception
7973 on underflow test.
7974
f77f1232
AJ
79752012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7976
7977 [BZ #13705]
7978 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7979 instead of __kernel_standard_f.
7980
3884932b
MF
79812012-04-08 Mike Frysinger <vapier@gentoo.org>
7982
7983 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7984 * sysdeps/x86_64/memset_chk.S: Likewise.
7985
54472e9c
AJ
79862012-04-08 Andreas Jaeger <aj@suse.de>
7987
6ab0fbfc
AJ
7988 [BZ #10153]
7989 * manual/startup.texi (Environment Access): Describe return value
7990 for putenv and setenv.
7991
61efba8c
AJ
7992 [BZ #6895]
7993 * manual/filesys.texi (Directory Entries): Add description for
7994 DT_LNK.
7995
95c3f29a
AJ
7996 [BZ #6890]
7997 * manual/filesys.texi (Directory Entries): Clarify that it's file
7998 system not operating system in the description of DT_UNKNOWN.
7999
54472e9c
AJ
8000 [BZ #6578]
8001 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8002
624254b1
SC
80032012-04-08 Stephen Compall <s11@member.fsf.org>
8004
8005 [BZ #6649]
8006 * manual/llio.texi (Opening and Closing Files): Add cross
8007 reference to explain mode argument.
8008
1e4920e0
MF
80092012-04-07 Mike Frysinger <vapier@gentoo.org>
8010
8011 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8012 * sysdeps/x86_64/memset_chk.S: Likewise.
8013
5ed848f3
DM
80142012-04-07 David S. Miller <davem@davemloft.net>
8015
8016 * elf/elf.h (R_SPARC_WDISP10): Define.
8017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8018 R_SPARC_SIZE32.
8019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8020 R_SPARC_SIZE64 and R_SPARC_H34.
8021
96154cd8
CD
80222012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8023
8024 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8025 conditions and remove no longer applicable assertion.
8026
9904dc47
L
80272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8028
8029 * bits/byteswap.h: Include <features.h>.
8030 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8031 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8032
f8887d0a
L
80332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8034
8035 * bits/byteswap.h (__bswap_16): Removed.
8036 Include <bits/byteswap-16.h> to get __bswap_16.
8037 * sysdeps/i386/bits/byteswap.h: Likewise.
8038 * sysdeps/s390/bits/byteswap.h: Likewise.
8039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8040 * bits/byteswap-16.h: New file.
8041 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8042 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8043 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8044 * string/Makefile (headers): Add bits/byteswap-16.h.
8045
62470f60
PP
80462012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8047
8048 [BZ #13895]
8049 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8050 extra indirection.
8051 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8052 * nss/tst-nss-static.c: New.
8053
4dad7bab
RM
80542012-04-06 Robert Millan <rmh@gnu.org>
8055
8056 [BZ #6486]
8057 * manual/llio.texi (File Position Primitive): lseek
8058 refers to WHENCE when it really means OFFSET.
8059
e9142a17
AJ
80602012-04-06 Andreas Jaeger <aj@suse.de>
8061
2c040eff
AJ
8062 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8063 strncmp declarations.
8064
e9142a17
AJ
8065 * abilist/libc.abilist: Add __poll and __ppoll.
8066
ff9f1c5f
DM
80672012-04-05 David S. Miller <davem@davemloft.net>
8068
dcd2ae90
DM
8069 * scripts/check-local-headers.sh: Accept a host triplet in the
8070 path matched by the exclude regexp.
8071
993eb054
DM
8072 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8073 definition.
8074 * sysdeps/powerpc/powerpc32/dl-machine.h
8075 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8076 * sysdeps/s390/s390-32/dl-machine.h
8077 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8078 * sysdeps/sparc/sparc32/dl-machine.h
8079 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8080 * sysdeps/sparc/sparc64/dl-machine.h
8081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8082
ff9f1c5f
DM
8083 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8084 lazy binding.
48e2e132 8085 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8086 undefined symbol errors.
8087
48e2e132 8088 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8089 DT_NEEDED entries.
8090
e80d6f94
MM
80912012-04-05 Michael Matz <matz@suse.de>
8092
8093 [BZ #13592]
8094 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8095
349fa79f
AJ
80962012-04-05 Andreas Jaeger <aj@suse.de>
8097
8098 [BZ #13908]
8099 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8100 comment.
8101
f402708f
KK
81022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8103
8104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8105 which ROUND is no valid rounding mode.
8106
2ecccfc9
KK
81072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8108
8109 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8110 read again.
8111 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8112
8a53f50f
KK
81132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8114
8115 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8116 an exception using FPU order intentionally.
8117
81182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8119
8120 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8121 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8122 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8123 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8124
d653abb7
SJ
81252012-04-05 Simon Josefsson <simon@josefsson.org>
8126
8127 [BZ #12340]
8128 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8129 EINVAL when BUFLEN is too smal.
8130
c3b1bf7d
TS
81312012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8132
8133 [BZ #13553]
8134 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8135 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8136
b1aa60f3
AJ
81372012-04-03 Andreas Jaeger <aj@suse.de>
8138
c3b1bf7d 8139 [BZ #13938]
67f60a26
AJ
8140 * manual/setjmp.texi (System V contexts): Fix sentence.
8141
b1aa60f3
AJ
8142 [BZ #13926]
8143 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8144 New macro for this case.
8145 [!__GNUC__] (__bswap_64): New inline function for this case.
8146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8147 * bits/byteswap.h: Likewise.
8148 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8149 ull, guard with __GLIBC_HAVE_LONG_LONG.
8150
8151 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8152 __GLIBC_HAVE_LONG_LONG.
8153
8154 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8155 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8156
39c59c35
TMQMF
81572012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8158
8159 [BZ #13691]
8160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8161 inptr and inend, rather than using last_ch.
8162
135ffda8
DM
81632012-04-02 David S. Miller <davem@davemloft.net>
8164
8165 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8166 * stdio-common/printf-parse.h (read_int): Change return type to
8167 'int', return -1 on INT_MAX overflow.
8168 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8169 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8170 overflows INT_MAX. Check for overflow of in-format-string precision
8171 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8172 SIZE_MAX not INT_MAX for integer overflow test.
8173 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8174 skip the construct in the format string but do not record anything.
8175 * stdio-common/bug22.c: Adjust to test both width/prevision
8176 INT_MAX overflow as well as total length INT_MAX overflow. Check
8177 explicitly for proper errno values.
8178
228c019e
TS
81792012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8180
302cadd3
TS
8181 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8182 CHAR_MAX.
8183 * string/test-strcmp.c [! WIDE]: Likewise.
8184 * time/tst-mktime2.c: Likewise for INT_MAX.
8185 * string/test-string.h: #include <sys/param.h> for MIN.
8186
228c019e
TS
8187 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8188 * sysdeps/i386/init-first.c (init): Likewise.
8189 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8190 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8191 * sysdeps/sh/init-first.c (init): Likewise.
8192
cfa633f5
UD
81932012-04-01 Ulrich Drepper <drepper@gmail.com>
8194
8195 * po/ru.po: Update from translation team.
d1635ef8 8196 * po/vi.po: Likewise.
cfa633f5 8197
6cd0a5ea
SP
81982012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
8200 * resolv/nss_dns/dns-host.c: Merge copyright years.
8201
4b43400f
LD
82022012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8203
8204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8205 Optimize memcpy with prefetch if
8206 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8207 src, dst pointers have unequal 16 byte alignments.
8208
48c41d04
SP
82092012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
8211 [BZ #13928]
8212 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8213 from a CNAME entry and return the minimum ttl for the query.
8214 (gaih_getanswer_slice): Likewise.
8215
b8dc394d
JL
82162012-03-30 Jeff Law <law@redhat.com>
8217
8218 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8219 due to long keys.
8220 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8221 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8222
2f5a5ed0
JL
8223 * resolv/nss_dns/dns-host.c: Update copyright year.
8224
1d39e359
UD
82252012-03-30 Ulrich Drepper <drepper@gmail.com>
8226
c030f70c 8227 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8228 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8229
1d39e359
UD
8230 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8231 comments for sendmmsg.
8232
82332012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8234
8235 [BZ #13691]
8236 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8237 with only 1 character between 0x0041 and 0x01b0.
8238 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8239 * wcsmbs/tst-mbsnrtowcs.c: New file.
8240
20fde227
DM
82412012-03-29 David S. Miller <davem@davemloft.net>
8242
8243 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8244 small copies by hand.
8245
984a4237
JL
82462012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8247
8248 [BZ #13761]
8249 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8250 _nss_compat_initgroups_dyn): Fall back to malloc/free
8251 for large group memberships.
8252
18c9d62b
DM
82532012-03-28 David S. Miller <davem@davemloft.net>
8254
88d85d4f
DM
8255 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8256 that branches into memcpy.
8257 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8260 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8262 bits.
8263 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8264 implementation too.
8265 * sysdeps/sparc/mempcpy.S: New file.
8266
e5aa83e1
DM
8267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8268 the IFUNC routine in the libc case.
8269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8270
88570753
DM
8271 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8272 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8273 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8274 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8275 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8276 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8277 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8278 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8279
249d7567
DM
8280 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8281 loop to 256 bytes instead of 64 bytes and fix test signedness.
8282
18c9d62b
DM
8283 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8284 * sysdeps/sparc/sparc32/Makefile: rather than here...
8285 * sysdeps/sparc/sparc64/Makefile: and here.
8286
05f3d1f6
UD
82872012-03-28 Ulrich Drepper <drepper@gmail.com>
8288
8289 * malloc/mallocbug.c: Avoid warnings about unused variables.
8290
86ae07a8
JL
82912012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8292
8293 [BZ #13760]
8294 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8295 in the right place. Discard and retry query if response is
8296 larger than input buffer size.
8297
41bf21a1
JM
82982012-03-28 Joseph Myers <joseph@codesourcery.com>
8299
d6270972
JM
8300 [BZ #369]
8301 [BZ #2678]
8302 [BZ #3866]
8303 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8304 x for large integer exponent.
8305 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8306 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8307 sign of result as needed afterwards.
8308 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8309 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8310 result for underflowing pow the same as for overflow.
8311 (__kernel_standard_l): Handle powl overflow and underflow here
8312 rather than calling __kernel_standard.
8313 * math/libm-test.inc (pow_test): Add more tests.
8314
414fca03 8315 [BZ #3868]
41bf21a1
JM
8316 [BZ #13879]
8317 [BZ #13910]
8318 [BZ #13911]
8319 [BZ #13912]
8320 [BZ #13913]
8321 [BZ #13915]
8322 [BZ #13916]
8323 [BZ #13917]
8324 [BZ #13918]
8325 [BZ #13919]
8326 [BZ #13920]
8327 [BZ #13921]
8328 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8329 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8330 (__kernel_standard_l): New function.
8331 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8332 __kernel_standard.
8333 * math/w_acosl.c (__acosl): Likewise.
8334 * math/w_asinl.c (__asinl): Likewise.
8335 * math/w_atan2l.c (__atan2l): Likewise.
8336 * math/w_atanhl.c (__atanhl): Likewise.
8337 * math/w_coshl.c (__coshl): Likewise.
8338 * math/w_exp10l.c (__exp10l): Likewise.
8339 * math/w_exp2l.c (__exp2l): Likewise.
8340 * math/w_fmodl.c (__fmodl): Likewise.
8341 * math/w_hypotl.c (__hypotl): Likewise.
8342 * math/w_j0l.c (__j0l, __y0l): Likewise.
8343 * math/w_j1l.c (__j1l, __y1l): Likewise.
8344 * math/w_jnl.c (__jnl, __ynl): Likewise.
8345 * math/w_lgammal.c (__lgammal): Likewise.
8346 * math/w_log10l.c (__log10l): Likewise.
8347 * math/w_log2l.c (__log2l): Likewise.
8348 * math/w_logl.c (__logl): Likewise.
8349 * math/w_powl.c (__powl): Likewise.
8350 * math/w_remainderl.c (__remainderl): Likewise.
8351 * math/w_scalbl.c (sysv_scalbl): Likewise.
8352 * math/w_sinhl.c (__sinhl): Likewise.
8353 * math/w_sqrtl.c (__sqrtl): Likewise.
8354 * math/w_tgammal.c (__tgammal): Likewise.
8355 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8356 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8357 * math/libm-test.inc (acos_test): Add more tests.
8358 (acosh_test): Likewise.
8359 (asin_test): Likewise.
8360 (atanh_test): Likewise.
8361 (exp_test): Likewise.
8362 (exp10_test): Likewise.
8363 (exp2_test): Likewise.
8364 (expm1_test): Likewise.
8365 (lgamma_test): Likewise.
8366 (log_test): Likewise.
8367 (log10_test): Likewise.
8368 (log1p_test): Likewise.
8369 (log2_test): Likewise.
8370 (pow_test): Do not allow some spurious overflow exceptions.
8371 (sqrt_test): Add more tests.
8372 (tgamma_test): Likewise.
8373 (y0_test): Likewise.
8374 (y1_test): Likewise.
8375 (yn_test): Likewise.
8376
dd62fda6
AB
83772012-03-27 Anton Blanchard <anton@samba.org>
8378
8379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8380 MAP_HUGETLB.
8381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8384
1e3cdfda
AJ
83852012-03-27 David S. Miller <davem@davemloft.net>
8386
b855ab85
DM
8387 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8388
1e3cdfda
AJ
8389 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8390 have-as-vis3 check.
8391
83922012-03-27 Andreas Jaeger <aj@suse.de>
8393
8394 * sysdeps/x86_64/elf/configure.in: Moved to ...
8395 * sysdeps/x86_64/configure.in: ... here.
8396 * sysdeps/x86_64/elf/start.S: Moved to ...
8397 * sysdeps/x86_64/start.S: ... here.
8398 * sysdeps/x86_64/elf/configure: Delete.
8399
8400 * sysdeps/x86_64/configure.in: Merge contents from
8401 sysdeps/i386/configure.in (without i686 check).
8402
8403 * sysdeps/i386/elf/Versions: Merge into ...
8404 * sysdeps/i386/Versions: ... this.
8405 * sysdeps/i386/elf/Versions: Delete file.
8406 * sysdeps/i386/elf/start.S: Moved to ...
8407 * sysdeps/i386/start.S: ...here.
8408 * sysdeps/i386/elf/configure.in: Merge into...
8409 * sysdeps/i386/configure.in: ...here.
8410 * sysdeps/i386/elf/configure.in: Delete file.
8411 * sysdeps/i386/elf/configure: Delete file.
8412
8413 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8414 * debug/backtracesyms.c: ... here.
8415 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8416 * debug/backtracesymsfd.c: ... here.
8417 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8418 * sysdeps/generic/ifunc-sel.h: ... here.
8419
8420 * sysdeps/unix/i386/start.c: Delete file.
8421 * sysdeps/unix/sparc/start.c: Delete file.
8422 * sysdeps/unix/start.c: Delete file.
8423
8424 * sysdeps/sh/elf/configure.in: Moved to ...
8425 * sysdeps/sh/configure.in: ... here.
8426 * sysdeps/sh/elf/start.S: Moved to ...
8427 * sysdeps/sh/start.S: ... here.
8428 * sysdeps/sh/elf/configure: Delete file.
8429
8430 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8431 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8432 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8433 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8434 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8435 * sysdeps/powerpc/powerpc64/start.S: here.
8436 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8437 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8438 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8439 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8440 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8441
8442 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8443 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8444 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8445 * sysdeps/powerpc/powerpc32/start.S: ... here.
8446 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8447 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8448 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8449
8450 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8451 * sysdeps/powerpc/ifunc-sel.h: ... here.
8452 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8453 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8454
8455 * sysdeps/sparc/elf/configure.in: Moved to ...
8456 * sysdeps/sparc/configure.in: ... here.
8457 * sysdeps/sparc/elf/configure: Delete file.
8458 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8459 * sysdeps/sparc/sparc32/start.S: ... here.
8460 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8461 * sysdeps/sparc/sparc64/start.S: ... here.
8462 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8463 * sysdeps/sparc/sparc32/Makefile: ... this.
8464 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8465 * sysdeps/sparc/sparc64/Makefile: ... this.
8466
8467 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8468 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8469 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8470 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8471 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8472 * sysdeps/s390/s390-32/setjmp.S: ... here.
8473 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8474 * sysdeps/s390/s390-32/configure.in: ... here.
8475 * sysdeps/s390/s390-32/elf/configure: Delete file.
8476 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8477 * sysdeps/s390/s390-32/start.S: ... here.
8478
8479 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8480 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8481 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8482 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8483 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8484 * sysdeps/s390/s390-64/setjmp.S: ... here.
8485 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8486 * sysdeps/s390/s390-64/configure.in: ... here
8487 * sysdeps/s390/s390-64/elf/configure: Delete file.
8488 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8489 * sysdeps/s390/s390-64/start.S: ... here.
8490 * sysdeps/s390/s390-64/elf/configure: Delete.
8491
8492 * configure.in: Remove support for elf directories in sysdeps.
8493
8494 * configure: Regenerated.
8495 * sysdeps/i386/configure: Regenerated.
8496 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8497 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8498 * sysdeps/s390/s390-32/configure: Regenerated.
8499 * sysdeps/s390/s390-64/configure: Regenerated.
8500 * sysdeps/sh/configure: Regenerated.
8501 * sysdeps/sparc/configure: Regenerated.
8502 * sysdeps/x86_64/configure: Regenerated.
8503
a3f61311
AS
85042012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8505
c876e002
AS
8506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8507
a3f61311
AS
8508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8509 denormal result into account.
8510
ac4c54f0
RM
85112012-03-25 Roland McGrath <roland@hack.frob.com>
8512
8513 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8514 Reported by Allan McRae <allan@archlinux.org>.
8515
6a9b9c02
JL
85162012-03-23 Jeff Law <law@redhat.com>
8517
8518 * nss/getnssent.c (__nss_getent): Fix typo.
8519
4c42a0c1
DM
85202012-03-23 David S. Miller <davem@davemloft.net>
8521
8522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8523
1532c7ac
L
85242012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8527 to pad to uint64_t for each field.
8528 (dl_tls_index): Replace unsigned long with uint64_t.
8529
3ff42526
PP
85302012-03-23 Daniel Jacobowitz <dmj@google.com>
8531 Paul Pluzhnikov <ppluzhnikov@google.com>
8532
8533 [BZ #6528]
8534 * grp/Makefile (otherlibs): Don't set it.
8535 * inet/Makefile (otherlibs): Likewise.
8536 * login/Makefile (otherlibs): Likewise.
8537 * nscd/Makefile (otherlibs): Likewise.
8538 * posix/Makefile (otherlibs): Likewise.
8539 * pwd/Makefile (otherlibs): Likewise.
8540 * rt/Makefile (otherlibs): Likewise.
8541 * sunrpc/Makefile (otherlibs): Likewise.
8542 * nss/Makefile (otherlibs): Likewise.
8543 Add libnss_files to routines and static-only-routines.
8544 ($(objpfx)getent): Remove rule.
8545 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8546 static-only-routines.
8547
7c69cd14
JM
85482012-03-22 Joseph Myers <joseph@codesourcery.com>
8549
8550 [BZ #13892]
8551 * math/s_cexp.c: Include <float.h>.
8552 (__cexp): Handle exp result overflowing not necessarily
8553 overflowing both real and imaginary parts of result.
8554 * math/s_cexpf.c: Likewise.
8555 * math/s_cexpl.c: Likewise.
8556 * math/libm-test.inc (cexp_test): Add more tests.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8559
81b035fe
L
85602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * include/link.h (ELFW): New macro.
8563 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8564 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8565
1da7940c
L
85662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8569 with uint64_t.
8570
b749dbb9
L
85712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8572
8573 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8574 declaration.
8575 (struct La_x32_retval): Likewise.
8576
2ff87f3f
L
85772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/x86_64/preconfigure.in: New file.
8580 * sysdeps/x86_64/preconfigure: New generated file.
8581
c0df8e69
JM
85822012-03-22 Joseph Myers <joseph@codesourcery.com>
8583
48e44791
JM
8584 [BZ #13824]
8585 * math/e_exp2l.c: Include <float.h>.
8586 (__ieee754_exp2l): Handle overflow and underflow cases
8587 separately. Only pass fractional part of argument to
8588 __ieee754_expl.
8589 * math/libm-test.inc (exp2_test): Add more tests.
8590
c0df8e69
JM
8591 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8592 negating x to take absolute value.
8593 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8594 Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8597 Likewise.
8598 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8599 computing low part if x was negated.
8600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8601
c8e43ba7
L
86022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8605 la_x32_gnu_pltexit.
8606 (pltexit): Cast int_retval to ptrdiff_t.
8607 * elf/tst-auditmod3b.c: Likewise.
8608 * elf/tst-auditmod4b.c: Likewise.
8609 * elf/tst-auditmod5b.c: Likewise.
8610 * elf/tst-auditmod6b.c: Likewise.
8611 * elf/tst-auditmod6c.c: Likewise.
8612 * elf/tst-auditmod7b.c: Likewise.
8613
8614 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8615 and x32_gnu_pltexit.
8616
8617 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8618 __ELF_NATIVE_CLASS.
8619 (La_x32_regs): New macro.
8620 (La_x32_retval): Likewise.
8621 (la_x32_gnu_pltenter): New function prototype.
8622 (la_x32_gnu_pltexit): Likewise.
8623
7998fa78
AS
86242012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8625
dcb33988
AS
8626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8627 exponent.
8628
233fc563
AS
8629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8630
7998fa78
AS
8631 * configure.in (libc_cv_cc_nofma): Check for option to disable
8632 generation of FMA instructions.
8633 * configure: Regenerate.
8634 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8635 * sysdeps/ieee754/dbl-64/Makefile: New file.
8636 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8637 Remove brandred-fma4.
8638 (CFLAGS-brandred-fma4.c): Remove.
8639 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8641 define.
8642 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8643 define.
8644
8e95c99a
L
86452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8648 LLONG_MAX != LONG_MAX.
8649 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8650 (_fitoa_word): Likewise.
8651 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8652 LLONG_MAX != LONG_MAX.
8653 * stdio-common/_itowa.h: Include <_itoa.h>.
8654 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8655 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8656 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8657 only if not defined.
8658 (_ITOA_WORD_TYPE): Likewise.
8659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8660 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8661
6f4db457
DM
86622012-03-21 David S. Miller <davem@davemloft.net>
8663
8664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8665
7785fe5a
L
86662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8667
8668 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8669 of x86_64 when setting libc_cv_slibdir, libdir and
8670 libc_cv_localedir.
8671 * sysdeps/unix/sysv/linux/configure: Regenerated.
8672
4535cd55
JM
86732012-03-21 Joseph Myers <joseph@codesourcery.com>
8674
8675 * manual/lang.texi (Old Varargs): Remove section.
8676 (How Variadic): Update menu.
8677 (va_start): Do not mention varargs.h.
8678
17228132
TS
86792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8680 Joseph Myers <joseph@codesourcery.com>
8681
8682 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8683 link test.
8684 * configure: Regenerated.
8685
8149f976
TS
86862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8687
05f3d1f6
UD
8688 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8689 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8690 conformtest.pl
8149f976 8691
1a4ac776
JM
86922012-03-21 Joseph Myers <joseph@codesourcery.com>
8693
be22ce65
JM
8694 * NOTES: Remove.
8695 * Makefile (files-for-dist): Remove NOTES.
8696 (NOTES): Remove rule.
8697 * README: Don't refer to NOTES.
8698 * manual/creature.texi: Don't include macros.texi.
8699 * manual/intro.texi (creature.texi): Remove comment referring to
8700 NOTES.
8701
40b601fb
JM
8702 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8703 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8704 * configure: Regenerated.
8705 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8706 LIBC_TRY_CC_OPTION.
8707 (libc_cv_as_i686): Likewise.
8708 (libc_cv_cc_avx): Likewise.
8709 (libc_cv_cc_sse2avx): Likewise.
8710 (libc_cv_cc_fma4): Likewise.
8711 (libc_cv_cc_novzeroupper): Likewise.
8712 * sysdeps/i386/configure: Regenerated.
8713
1a4ac776
JM
8714 [BZ #13883]
8715 * sysdeps/i386/fpu/s_cexp.S: Remove.
8716 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8717 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8718 * math/libm-test.inc (cexp_test): Add more tests.
8719 * sysdeps/i386/fpu/libm-test-ulps: Update.
8720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8721
a458e7fe
AM
87222012-03-21 Allan McRae <allan@archlinux.org>
8723
8724 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8725
0cb7efc5
JM
87262012-03-21 Joseph Myers <joseph@codesourcery.com>
8727
8728 [BZ #13871]
8729 * math/w_exp2.c: Do not include <float.h>.
8730 (o_threshold, u_threshold): Remove.
8731 (__exp2): Calculate result before checking finiteness and calling
8732 __kernel_standard.
8733 * math/w_exp2f.c: Likewise.
8734 * math/w_exp2l.c: Likewise.
8735 * math/libm-test.inc (exp2_test): Require overflow exception for
8736 1e6 input.
2460d3aa
JM
8737
8738 [BZ #3866]
8739 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8740 range of signed 64-bit integers before using fistpll. Remove
8741 checks for whether integers fit in mantissa bits.
8742 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8743 the range of signed 32-bit integers before using fistpl. Remove
8744 checks for whether integers fit in mantissa bits.
8745 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8746 (__ieee754_powl): Test for y outside the range of signed 64-bit
8747 integers before using fistpll. Reduce 64-bit values to 63-bit
8748 ones as needed.
8749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8750 divide-by-zero is raised for zero to large negative powers.
8751 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8752 (__ieee754_powl): Test for y outside the range of signed 64-bit
8753 integers before using fistpll. Reduce 64-bit values to 63-bit
8754 ones as needed.
8755 * math/libm-test.inc (pow_test): Add more tests.
8756
eb96ffb0
L
87572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8760 <stdio-common/_itoa.h>.
8761 * debug/segfault.c: Likewise.
8762 * elf/dl-cache.c: Likewise.
8763 * elf/dl-minimal.c: Likewise.
8764 * elf/dl-misc.c: Likewise.
8765 * elf/dl-sysdep.c: Likewise.
8766 * elf/dl-version.c: Likewise.
8767 * elf/rtld.c: Likewise.
8768 * hurd/hurdsock.c: Likewise.
8769 * hurd/lookup-retry.c: Likewise.
8770 * malloc/malloc.c: Likewise.
8771 * malloc/mtrace.c: Likewise.
8772 * nscd/nscd_getgr_r.c: Likewise.
8773 * nscd/nscd_getpw_r.c: Likewise.
8774 * nscd/nscd_getserv_r.c: Likewise.
8775 * posix/getopt_init.c: Likewise.
8776 * posix/wordexp.c: Likewise.
8777 * stdio-common/_itoa.c: Likewise.
8778 * stdio-common/printf_fphex.c: Likewise.
8779 * stdio-common/vfprintf.c: Likewise.
8780 * string/_strerror.c: Likewise.
8781 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8782 * sysdeps/i386/i686/hp-timing.h: Likewise.
8783 * sysdeps/mach/_strerror.c: Likewise.
8784 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8785 * sysdeps/mach/hurd/sethostid.c: Likewise.
8786 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8787 * sysdeps/mach/xpg-strerror.c: Likewise.
8788 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8790 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8791 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8792 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8793 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8794 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8795 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8796 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8797 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8798 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8799 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8803 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8806 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8807 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8809
8810 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8811
8812 * stdio-common/_itoa.h: Moved to ...
8813 * sysdeps/generic/_itoa.h: Here.
8814
8815 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8816
8817 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8818 instead of "_itoa.h" and "_itowa.h".
8819 * stdio-common/vfprintf.: Likewise.
8820
d1af992d
L
88212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8822
8823 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8824 <bits/wordsize.h>.
8825 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8826 (__signbit): Likwise.
8827 (llrintf): Likwise.
8828 (llrint): Likwise.
8829
114883e0
L
88302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8831
8832 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8833 __WORDSIZE != 64.
8834
c135cc1b
JM
88352012-03-20 Joseph Myers <joseph@codesourcery.com>
8836
8837 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8838 OVERFLOW_EXCEPTION_OK.
8839 * math/libm-test.inc ("Philosophy"): Update comment about
8840 exception testing.
8841 (OVERFLOW_EXCEPTION): Define.
8842 (OVERFLOW_EXCEPTION_OK): Likewise.
8843 (INVALID_EXCEPTION_OK): Renumber.
8844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8845 (IGNORE_ZERO_INF_SIGN): Likewise.
8846 (test_exceptions): Handle FE_OVERFLOW.
8847 (exp10_test): Expect overflow exceptions.
8848 (exp2_test): Likewise.
8849 (expm1_test): Likewise.
8850 (nextafter_test): Likewise.
8851 (pow_test): Likewise.
8852 (scalbn_test): Likewise.
8853 (scalbln_test): Likewise.
8854
95443d88
L
88552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8856
8857 * sysdeps/x86_64/bits/atomic.h
8858 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8859 64bit integer.
8860 (atomic_exchange_acq): Likewise.
8861 (__arch_exchange_and_add_body): Likewise.
8862 (__arch_add_body): Likewise.
8863 (atomic_add_negative): Likewise.
8864 (atomic_add_zero): Likewise.
8865
490df6c4
L
88662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8867
c2722551 8868 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8869 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8870
5e52b189
L
88712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8874 Check __x86_64__ instead of __WORDSIZE.
8875
a9879d4c
L
88762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8877
8878 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8879
5df98260
DM
88802012-03-19 David S. Miller <davem@davemloft.net>
8881
e1497744
DM
8882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8883
5df98260
DM
8884 * sysdeps/sparc/fpu/fenv_private.h: New file.
8885 * sysdeps/sparc/fpu/math_private.h: Use it.
8886 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8887 Remove.
8888 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8889 (libc_feholdexcept_setroundl): Remove.
8890 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8891 Remove.
8892 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8893 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8894
b4c35121
L
88952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8898 int64_t instead of long int.
8899 (INSERT_WORDS64): Likwise.
8900
56965fd7
L
89012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8904 _Unwind_GetCFA return to _Unwind_Ptr first.
8905
83d1aec8
JM
89062012-03-19 Joseph Myers <joseph@codesourcery.com>
8907
1897ad44
JM
8908 [BZ #13629]
8909 * math/s_clog.c: Include <float.h>.
8910 (__clog): Scale large or subnormal inputs.
8911 * math/s_clogf.c: Likewise.
8912 * math/s_clogl.c: Likewise.
8913 * math/s_clog10.c: Include <float.h>.
8914 (M_LOG10_2): Define.
8915 (__clog10): Scale large or subnormal inputs.
8916 * math/s_clog10f.c: Likewise.
8917 * math/s_clog10l.c: Likewise.
8918 * math/libm-test.inc (clog_test): Add more tests.
8919 (clog10_test): Likewise.
8920 * sysdeps/i386/fpu/libm-test-ulps: Update.
8921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8922
7726d6a9
JM
8923 [BZ #11451]
8924 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8925 x and y.
8926 * math/libm-test.inc (atan2_test): Add another test.
8927
83d1aec8
JM
8928 * Makerules (common-objdir-compile): Remove.
8929 * sysdeps/unix/Makefile (config-generated): Do not add
8930 $(unix-generated) to variable.
8931 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8932 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8933 Remove rule.
8934 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8935 Likewise.
8936 [generic bits/local_lim.h] (before-compile): Do not append to
8937 variable.
8938 [generic bits/local_lim.h] (common-generated): Likewise.
8939 [generic sys/param.h] (before-compile): Do not append to variable.
8940 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8941 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8942 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8943 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8944 include.
8945 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8946 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8947 [generic sys/param.h] ($(addprefix
8948 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8949 [generic sys/param.h] (common-generated): Do not append to
8950 variable.
8951 [generic sys/param.h] (sysdep_headers): Likewise.
8952 [generic bits/errno.h] (before-compile): Do not append to
8953 variable.
8954 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8955 rule.
8956 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8957 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8958 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8959 [generic bits/errno.h] (common-generated): Do not append to
8960 variable.
8961 [generic bits/ioctls.h] (before-compile): Do not append to
8962 variable.
8963 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8964 rule.
8965 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8966 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8967 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8968 rule.
8969 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8970 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8971 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8972 [generic bits/ioctls.h] (common-generated): Do not append to
8973 variable.
8974 [generic sys/syscall.h] (syscall.h): Remove variable.
8975 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8976 rule.
8977 [generic sys/syscall.h] (before-compile): Do not append to
8978 variable.
8979 [generic sys/syscall.h] (common-generated): Likewise.
8980 * sysdeps/unix/errnos-tmpl.c: Remove file.
8981 * sysdeps/unix/errnos.awk: Likewise.
8982 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8983 * sysdeps/unix/ioctls.awk: Likewise.
8984 * sysdeps/unix/mk-local_lim.c: Likewise.
8985 * sysdeps/unix/snarf-ioctls: Likewise.
8986
4851a949
RH
89872012-03-19 Richard Henderson <rth@twiddle.net>
8988
bd37f2ee
RH
8989 * sysdeps/i386/fpu/fenv_private.h: New file.
8990 * sysdeps/i386/fpu/math_private.h: Use it.
8991 (math_opt_barrier, math_force_eval): Remove.
8992 (libc_feholdexcept_setround_53bit): Remove.
8993 (libc_feupdateenv_53bit): Remove.
8994 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8995 (math_opt_barrier, math_force_eval): Remove.
8996 (libc_feholdexcept): Remove.
8997 (libc_feholdexcept_setround): Remove.
8998 (libc_fetestexcept, libc_fesetenv): Remove.
8999 (libc_feupdateenv_test): Remove.
9000 (libc_feupdateenv, libc_feholdsetround): Remove.
9001 (libc_feresetround): Remove.
9002
d0adc922
RH
9003 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9004 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9005
0fe0f1f8
RH
9006 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9007 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9008 (libc_feupdateenv_testl): New.
9009 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9010 (libc_feupdateenv_testf): New.
9011 (libc_feupdateenv): Use libc_feupdateenv_test.
9012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9014
eb92c487
RH
9015 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9016 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9017 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9018 (libc_feresetround_noex): New.
9019 (libc_feresetround_noexf): New.
9020 (libc_feresetround_noexl): New.
9021 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9022 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9023 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9024 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9025 SET_RESTORE_ROUND.
9026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9028 (__cos): Likewise.
9029 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9031 SET_RESTORE_ROUND_NOEX.
9032 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9033 SET_RESTORE_ROUND_NOEXF.
9034 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9035 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9036 (libc_feholdsetroundf): New.
9037 (libc_feresetround, libc_feresetroundf): New.
9038
7d2e8012
RH
9039 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9040 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9041 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9042
b4dabbb4
RH
9043 * sysdeps/generic/math_private.h: Include <fenv.h>.
9044 (default_libc_feholdexcept): New.
9045 (default_libc_feholdexcept_setround): New.
9046 (default_libc_fesetenv, default_libc_feupdateenv): New.
9047 (libc_feholdexcept): Only define if undefined.
9048 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9049 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9050 (libc_feholdexcept_setroundl): Likewise.
9051 (libc_feholdexcept_setround_53bit): Likewise.
9052 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9053 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9054 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9055 (libc_feupdateenv_53bit): Likewise.
9056 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9057 (libc_feholdexcept): Convert from macro to inline function.
9058 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9059 (libc_fesetenv, libc_feupdateenv): Likewise.
9060
4851a949
RH
9061 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9062 not previously defined.
9063 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9064 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9065 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9066 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9067 * sysdeps/ieee754/flt-32/math_private.h: New file.
9068 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9069 math_private.h below SET_FLOAT_WORD.
9070 (__isnan, __isinf_ns, __finite): Remove.
9071 (__isnanf, __isinf_nsf, __finitef): Remove.
9072
e79d442e
AS
90732012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9074
9075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9076
90b80344
DM
90772012-03-17 David S. Miller <davem@davemloft.net>
9078
9079 [BZ #6471]
9080 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9081 for 2.16.
9082
edc21804
DM
90832012-03-16 David S. Miller <davem@davemloft.net>
9084
77e927af
DM
9085 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9086 warnings.
9087
374976dd
DM
9088 [BZ #6471]
9089 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9090 properly.
9091 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9092 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9093 sysdep_routines when subdir is sysvipc.
9094 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9095 __getshmlba helper.
9096
edc21804
DM
9097 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9098
473c3ef3
L
90992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9102 [__LP64__].
9103
eb0f39b6
L
91042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9107 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9108 (__lround): Renamed to ...
9109 (__llround): This. Replace long int with long long int.
9110 Define lround functions as aliases of llround functions.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9112
6b6cd74b
L
91132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9116 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9117 adresses to uintptr_t. Replace "long int" and "unsigned long
9118 int" with "greg_t" on va_arg.
9119
f1a77b01
L
91202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9121
9122 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9123 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9124
9125 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9126 Move e_machine check before EI_CLASS check. Handle x32
9127 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9128 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9129 SKIP_EM_IA_64 and include
9130 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9131
9132 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9133 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9134 (add_system_dir): New macro.
9135
9136 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9137 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9138
11b90b9f
JM
91392012-03-16 Joseph Myers <joseph@codesourcery.com>
9140
c36e1d23
JM
9141 [BZ #2551]
9142 [BZ #2552]
9143 [BZ #2553]
9144 [BZ #2554]
9145 [BZ #2562]
9146 [BZ #2563]
9147 [BZ #2565]
9148 [BZ #2566]
9149 [BZ #2576]
9150 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9151 (y0): Likewise.
9152 * math/w_j0f.c (j0f): Likewise.
9153 (y0f): Likewise.
9154 * math/w_j0l.c (__j0l): Likewise.
9155 (__y0l): Likewise.
9156 * math/w_j1.c (j1): Likewise.
9157 (y1): Likewise.
9158 * math/w_j1f.c (j1f): Likewise.
9159 (y1f): Likewise.
9160 * math/w_j1l.c (__j1l): Likewise.
9161 (__y1l): Likewise.
9162 * math/w_jn.c (jn): Likewise.
9163 (yn): Likewise.
9164 * math/w_jnf.c (jnf): Likewise.
9165 (ynf): Likewise.
9166 * math/w_jnl.c (__jnl): Likewise.
9167 (__ynl): Likewise.
9168 * math/libm-test.inc (j0_test): Add more tests.
9169 (j1_test): Likewise.
9170 (jn_test): Likewise. Add trailing semicolon to existing test.
9171 (y0_test): Likewise.
9172 (y1_test): Likewise.
9173 * sysdeps/i386/fpu/libm-test-ulps: Update.
9174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9175
11b90b9f
JM
9176 [BZ #13851]
9177 [BZ #13854]
9178 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9179 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9180 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9181 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9182 (__tanl): Set errno for infinite argument.
9183 * sysdeps/i386/fpu/mptan.c: Remove.
9184 * sysdeps/i386/fpu/s_tan.S: Likewise.
9185 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9186 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9187 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9188 * math/libm-test.inc (tan_test): Add more tests and enable more
9189 tests for double and long double.
9190 * sysdeps/i386/fpu/libm-test-ulps: Update.
9191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9192
6a1bd2a1
JK
91932012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9194
9195 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9196 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9197
10a803e0
RM
91982012-03-16 Roland McGrath <roland@hack.frob.com>
9199
9200 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9201 * configure.in: Use it for both main tree and add-ons.
9202 * configure: Regenerated.
9203
f196c7f7
L
92042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9207
8848d99d
JM
92082012-03-16 Joseph Myers <joseph@codesourcery.com>
9209
96cbe7f4
JM
9210 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9211 in comment.
9212
8848d99d
JM
9213 [BZ #13851]
9214 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9215 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9219 infinite argument.
9220 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9222 != 0 for prec == 2.
9223 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9224 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9225 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9226 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9227 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9228 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9229 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9230 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9231 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9232 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9233 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9234 * math/libm-test.inc (cos_test): Add more tests and enable more
9235 tests for long double.
9236 (sin_test): Likewise.
9237 (sincos_test): Likewise.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9240
dd7f4703
DM
92412012-03-16 David S. Miller <davem@davemloft.net>
9242
9243 * sysdeps/sparc/fpu/math_private.h: New file.
9244
006f1daa
DM
92452012-03-15 David S. Miller <davem@davemloft.net>
9246
c0c83bc8
DM
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9248 file.
e6a62e18 9249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9251 file.
e6a62e18
DM
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9258 sysdep routines.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9260
88cb87d9
DM
9261 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9262 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9263
006f1daa 9264 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9266 sparc-ifunc.h
006f1daa 9267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9269 Likewise.
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9271 Likewise.
006f1daa
DM
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9276 Likewise.
006f1daa
DM
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9282 Likewise.
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9284 Likewise.
006f1daa
DM
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9309
11e0098e
AS
93102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9311
9312 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9313 scaling.
9314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9315
e85b09d0
AJ
93162012-03-15 Andreas Jaeger <aj@suse.de>
9317
9318 [BZ #13852]
9319 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9320 ieee754/flt-32 implementation for sin, cos and sincos.
9321 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9322 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9323 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9324 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9325 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9326 ieee754/flt-32 implementation for tan.
9327
9328 * math/libm-test.inc (cos_test): Enable some large input tests for
9329 float as well
9330 (sin_test): Likewise.
9331 (sincos_test): Likewise.
9332 (tan_test): Add tests for large input.
9333
9334 * sysdeps/i386/fpu/libm-test-ulps: Update.
9335
81c64153
AJ
93362012-03-15 Andreas Jaeger <aj@suse.de>
9337
9338 [BZ #13658]
9339 * math/libm-test.inc (cos_test): Add more test cases.
9340 (sin_test): Likewise.
9341 (sincos_test): Likewise.
9342
7bbfa5c6
AJ
93432012-03-15 Andreas Jaeger <aj@suse.de>
9344
9345 [BZ #13837]
9346 * math/libm-test.inc (cos_test): Add a test case for large input
9347 value.
9348 (sin_test): Likewise.
9349 (sincos_test): Likewise.
9350
93512012-03-15 Andreas Jaeger <aj@suse.de>,
9352 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #13658]
0671f479 9355 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9356 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9357 * sysdeps/i386/fpu/branred.c: Likewise.
9358 * sysdeps/i386/fpu/dosincos.c: Likewise.
9359 * sysdeps/i386/fpu/mpa.c: Likewise.
9360 * sysdeps/i386/fpu/s_cos.S: Likewise.
9361 * sysdeps/i386/fpu/s_sin.S: Likewise.
9362 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9363 * sysdeps/i386/fpu/sincos32.c: Likewise.
9364
9365 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9366 Define.
9367 (libc_feupdateenv_53bit): Define.
9368 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9369 Define.
9370 (libc_feupdateenv_53bit): Define.
9371
9372 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9373 53 bit (without extend i386 double precision).
9374
9375 * math/libm-test.inc (sincos_test): Add tests for large input.
9376 (sin): Likewise.
9377 (cos): Likewise.
9378
9379 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9380
9cad04ea
AS
93812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9382
9383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9384
f7062b9a
DM
93852012-03-15 David S. Miller <davem@davemloft.net>
9386
9387 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9388 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9389 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9403 file.
f7062b9a 9404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9406 file.
f7062b9a 9407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9409 file.
f7062b9a 9410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9412 file.
f7062b9a
DM
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9415 fmin/fmax sysdep routines.
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9417
7bd951ff
DM
94182012-03-14 David S. Miller <davem@davemloft.net>
9419
559398ab
DM
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9449 routines.
9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9451 file.
559398ab 9452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9454 file.
559398ab 9455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9457 file.
559398ab 9458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9460 file.
559398ab 9461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9463 file.
559398ab 9464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9466 file.
9467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9468 file.
9469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9470 file.
9471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9472 file.
9473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9474 New file.
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9476 file.
9477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9478 file.
559398ab 9479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9481 file.
559398ab 9482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9484 file.
559398ab 9485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9487 file.
559398ab 9488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9490 VIS3 routines.
559398ab
DM
9491
9492 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9493 New file.
9494
5a1c1e32
DM
9495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9496
eae47a36
DM
9497 * sysdeps/sparc/configure.in: New file.
9498 * sysdeps/sparc/configure: Generate.
9499 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9500 * configure: Regenerate.
9501 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9502 * config.make.in (have-as-vis3): New.
9503 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9504 available use -Av9d instead of -Av9a.
9505 * sysdeps/sparc/sparc64/Makefile: Likewise.
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9508 New file.
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9510 file.
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9512 New file.
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9514 file.
eae47a36
DM
9515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9520
c0c83bc8
DM
9521 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9522 fzeros/fnegs to load 0x80000000 into a float register instead of
9523 using the stack.
7bd951ff
DM
9524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9525
bd951ccb
JM
95262012-03-14 Joseph Myers <joseph@codesourcery.com>
9527
9528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9529 bits/syscall.h.
9530 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9531 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9532 ($(inst_includedir)/bits/syscall.h): Remove rule.
9533 ($(objpfx)bits/syscall.d): Include instead of
9534 $(objpfx)syscall-list.d.
9535 (generated): Change syscall-list.h and syscall-list.d to
9536 bits/syscall.h and bits/syscall.d.
9537
bb4e6db2
RM
95382012-03-14 Roland McGrath <roland@hack.frob.com>
9539
9540 [BZ #13846]
9541 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9542
aa4a2ae1
JM
95432012-03-14 Joseph Myers <joseph@codesourcery.com>
9544
e456826d
JM
9545 [BZ #13841]
9546 * math/s_csqrt.c: Include <float.h>.
9547 (__csqrt): Scale large or subnormal inputs.
9548 * math/s_csqrtf.c: Likewise.
9549 * math/s_csqrtl.c: Likewise.
9550 * math/libm-test.inc (csqrt_test): Add more tests.
9551 * sysdeps/i386/fpu/libm-test-ulps: Update.
9552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9553
aa4a2ae1
JM
9554 [BZ #13840]
9555 * math/libm-test.inc (hypot_test): Add more tests.
9556
7c10fd35
DM
95572012-03-13 David S. Miller <davem@davemloft.net>
9558
9559 [BZ #13840]
9560 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9561 double-precision for the calculation instead of scaling.
9562
f453b98b
JM
95632012-03-13 Joseph Myers <joseph@codesourcery.com>
9564
9565 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9566 manipulate bits before adding and subtracting TWO52[sx].
9567 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9568 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9569 Likewise.
9570 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9571
09a3453f
DM
95722012-03-13 David S. Miller <davem@davemloft.net>
9573
8e59da90
DM
9574 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9575 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9577 rtld-global-offsets.h
9578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9579
2a8ab7f2
DM
9580 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9581 large parameters.
9582
10f62770
DM
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9584
5f0bdb18
DM
9585 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9586 'err' in the ifdef scope in which it is actually used.
9587
09a3453f
DM
9588 * nss/nss_db/db-init.c: Include string.h
9589
b4b2eb5e
DM
95902012-03-12 David S. Miller <davem@davemloft.net>
9591
98bb2f1c
DM
9592 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9593 masking out of the most significant byte of random value used.
9594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9595 Fix coding style in previous change.
9596
b4b2eb5e
DM
9597 * sysdeps/unix/sysv/linux/kernel-features.h
9598 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9599 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9600 expression.
9601 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9602 later.
9603
6e226b09
DM
96042012-03-11 David S. Miller <davem@davemloft.net>
9605
a1bcbd40
DM
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9607 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9609 for 'resultvar' otherwise things get truncated on 64-bit.
9610
cb9d6174
DM
9611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9612 Fix masking out of the most significant byte of random value used.
9613
6e226b09
DM
9614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9615
058c132d
AS
96162012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9617
9618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9619
2d2cd515
DM
96202012-03-09 David S. Miller <davem@davemloft.net>
9621
9622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9623 variables with appropriate CPP guards.
9624 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9625 frame pointer, not the stack pointer. Correct layout comments. Fix test
9626 on resulting framesize and the management of the outregs buffer for pltexit.
9627 Preserve floating point return values across _dl_call_pltexit call.
9628 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9629 framesize and the management of the outregs buffer for pltexit.
9630 Preserve floating point return values across _dl_call_pltexit
9631 call.
9632 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9633 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9634 (print_exit): Fix format string for return register value.
9635
9a07f9d0
JM
96362012-03-10 Joseph Myers <joseph@codesourcery.com>
9637
9638 * sunrpc/Makefile (others): Add rpcgen.
9639 ($(objpfx)rpcgen): Remove special build rule and dependency on
9640 libc.
9641 * sunrpc/rpcgen.c: New file.
9642
547b5e30
PE
96432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9644
c524201a
PE
9645 [BZ #13673]
9646 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9647 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9648 * sysdeps/i386/crti.S: Likewise.
9649 * sysdeps/i386/crtn.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9652 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9654 * sysdeps/sh/crti.S: Likewise.
9655 * sysdeps/sh/crtn.S: Likewise.
9656 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9657
7b6235f2
PE
9658 [BZ #13673]
9659 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9660 with URL.
9661 * locale/programs/locfile-kw.gperf: Likewise.
9662 * locale/programs/charmap-kw.h: Regenerated.
9663 * locale/programs/locfile-kw.h: Likewise.
9664
547b5e30
PE
9665 [BZ #13673]
9666 * intl/plural.y: Replace FSF snail mail address with URL.
9667 * intl/plural.c: Regenerated.
9668
5f0a5dae
RH
96692012-03-09 Richard Henderson <rth@twiddle.net>
9670
9671 * include/math_private.h: Remove file.
9672 * math/math_private.h: Move file ...
9673 * sysdeps/generic/math_private.h: ... here.
9674
b8c03620
RH
9675 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9676 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9677 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9678
4e234f5d 9679 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9680 and <math_private.h>.
9681 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9682 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9683 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9684 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9685 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9778 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9779 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9780 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9781 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9782 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9783 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9784 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9785 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9792 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9794 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9795 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9797 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9798 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9799 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9800 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9802 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9803 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9804 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9805 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9809 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9811 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9812 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9814 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9817 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9819 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9820 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9822 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9824 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9825 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9827 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9828 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9829 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9830 * sysdeps/ieee754/k_standard.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9953 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9958 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9963 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9991 * sysdeps/ieee754/s_lib_version.c: Likewise.
9992 * sysdeps/ieee754/s_matherr.c: Likewise.
9993 * sysdeps/ieee754/s_signgam.c: Likewise.
9994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9996 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9997 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10000 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10001 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10002 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10003 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10004 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10005 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10006 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10007 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10008 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10015
1991fa03
JM
100162012-03-09 Joseph Myers <joseph@codesourcery.com>
10017
10018 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10019 * sunrpc/rpc_main.c: Likewise.
10020 * sunrpc/rpc_svcout.c: Likewise.
10021
60d6f5a6
DM
100222012-03-09 David S. Miller <davem@davemloft.net>
10023
10024 * include/math_private.h: New file.
10025
4962050e
JM
100262012-03-09 Joseph Myers <joseph@codesourcery.com>
10027
02a6f887
JM
10028 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10029 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10030 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10031 from <bits/socket_type.h>.
10032 (enum __socket_type): Don't define here.
10033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10035 bits/socket_type.h.
10036
c6e013c1
JM
10037 [BZ #13566]
10038 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10039 checking __USE_GNU.
10040
4962050e
JM
10041 * Makerules ($(inst_includedir)/%.h): New rule.
10042 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10043 (install-others): Remove variable setting.
10044 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10045
38842f45
RH
100462012-03-08 Richard Henderson <rth@twiddle.net>
10047
67bb6da6
RH
10048 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10049 from macro to inline function; merge with the
10050 !__LIBC_INTERNAL_MATH_INLINES version.
10051 (__ieee754_sqrtf): Likewise.
10052
15194b4b
RH
10053 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10054 to inline function.
10055 (__rintf, __floor, __floorf): Likewise.
10056
64e21ede
RH
10057 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10058 macro to inline function.
10059 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10060
38842f45
RH
10061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10062 not <math/math_private.h>.
10063
c64bf5fe
DM
100642012-03-08 David S. Miller <davem@davemloft.net>
10065
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10067 copyright year.
10068 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10069
82d86f28
TS
100702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10071
10072 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10073 normalization.
10074 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10075 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10076
aea5d727
UD
100772012-03-08 Ulrich Drepper <drepper@gmail.com>
10078
10079 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10080 be defined individually, they must be defined as a block. Define
10081 S for printing a string instead of hidint the different by using a
10082 macro for adding the 'l'.
10083 * stdio-common/tst-fphex-wide.c: Adjust.
10084
70bca0a3
MP
100852012-03-07 Marek Polacek <polacek@redhat.com>
10086
10087 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10088
65b81130
MP
100892012-03-08 Marek Polacek <polacek@redhat.com>
10090
10091 [BZ #13806]
10092 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10093 * stdio-common/tst-fphex.c: Define a few macros to make the
10094 test reusable. Use them.
10095 * stdio-common/tst-fphex-wide.c: New file.
10096
07037eeb
JM
100972012-03-08 Joseph Myers <joseph@codesourcery.com>
10098
a7a93d50
JM
10099 [BZ #6911]
10100 * manual/macros.texi (gnusystems): New macro.
10101 (nongnusystems): Likewise.
10102 (gnulinuxhurdsystems): Likewise.
10103 (gnuhurdsystems): Likewise..
10104 (gnulinuxsystems): Likewise.
10105 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10106 variants of the GNU system, not "GNU system".
10107 * manual/conf.texi: Likewise.
10108 * manual/errno.texi: Likewise. Update example of errno macro
10109 expansion.
10110 * manual/filesys.texi: Likewise.
10111 (getumask): Document as specific to GNU/Hurd.
10112 * manual/install.texi: Likewise. Reword some references to
10113 GNU/Linux.
10114 * manual/intro.texi: Likewise.
10115 * manual/io.texi: Likewise.
10116 (File Name Portability): Detail which constraints are inapplicable
10117 to all GNU systems and which are only inapplicable to GNU/Hurd.
10118 * manual/job.texi: Likewise.
10119 * manual/llio.texi: Likewise.
10120 (O_NOCTTY): Document as present on GNU/Linux.
10121 * manual/maint.texi: Likewise.
10122 * manual/memory.texi: Likewise.
10123 * manual/pattern.texi: Likewise.
10124 * manual/pipe.texi: Likewise.
10125 * manual/process.texi: Likewise.
10126 * manual/resource.texi: Likewise.
10127 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10128 child on GNU/Hurd.
10129 * manual/setjmp.texi: Likewise.
10130 * manual/signal.texi: Likewise.
10131 * manual/startup.texi: Likewise.
10132 * manual/stdio.texi: Likewise.
10133 * manual/terminal.texi: Likewise.
10134 (ONLCR): Document as POSIX.
10135 (OXTABS): Document availability on GNU/Linux as XTABS.
10136 (ONOEOT): Document availability separately from other bits.
10137 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10138 * manual/time.texi: Likewise.
10139 * manual/users.texi: Likewise.
10140 * INSTALL: Regenerated.
10141 * sysdeps/gnu/errlist.c: Regenerated.
10142
07037eeb
JM
10143 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10144 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10145 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10146 puts.
10147 * configure: Regenerated.
10148
d1d3431a
JM
101492012-03-07 Joseph Myers <joseph@codesourcery.com>
10150
af6a1e37
JM
10151 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10152 default includes instead of AC_HEADER_CHECK.
10153 * sysdeps/i386/configure: Regenerated.
10154
d1d3431a
JM
10155 [BZ #10716]
10156 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10157 * math/s_cacoshf.c (__cacoshf): Likewise.
10158 * math/s_cacoshl.c (__cacoshl): Likewise.
10159 * math/s_casinh.c (__casinh): Set signs of result from argument.
10160 * math/s_casinhf.c (__casinhf): Likewise.
10161 * math/s_casinhl.c (__casinhl): Likewise.
10162 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10163 (casinh_test): Add more tests.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10166
482ff4da
UD
101672012-03-07 Ulrich Drepper <drepper@gmail.com>
10168
872fda05
UD
10169 * po/zh_TW.po: Update from translation team.
10170
a4300c7a
UD
10171 * login/Makefile (distribute): Remove variable.
10172 * catgets/Makefile: Likewise.
10173 * mach/Makefile: Likewise.
10174 * malloc/Makefile: Likewise.
10175 * misc/Makefile: Likewise.
10176 * iconv/Makefile: Likewise.
10177 * nscd/Makefile: Likewise.
10178 * hurd/Makefile: Likewise.
10179 * manual/Makefile: Likewise.
10180 * locale/Makefile: Likewise.
10181 * intl/Makefile: Likewise.
10182 * conform/Makefile: Likewise.
10183 * nss/Makefile: Likewise.
10184 * time/Makefile: Likewise.
10185 * soft-fp/Makefile: Likewise.
10186 * dirent/Makefile: Likewise.
10187 * gmon/Makefile: Likewise.
10188 * po/Makefile: Likewise.
10189 * rt/Makefile: Likewise.
10190 * socket/Makefile: Likewise.
10191 * math/Makefile: Likewise.
10192 * signal/Makefile: Likewise.
10193 * debug/Makefile: Likewise.
10194 * elf/Makefile: Likewise.
10195 * timezone/Makefile: Likewise.
10196 * stdlib/Makefile: Likewise.
10197 * iconvdata/Makefile: Likewise.
10198 * sunrpc/Makefile: Likewise.
10199 * io/Makefile: Likewise.
10200 * argp/Makefile: Likewise.
10201 * inet/Makefile: Likewise.
10202 * hesiod/Makefile: Likewise.
10203 * grp/Makefile: Likewise.
10204 * csu/Makefile: Likewise.
10205 * wctype/Makefile: Likewise.
10206 * crypt/Makefile: Likewise.
10207 * libio/Makefile: Likewise.
10208 * string/Makefile: Likewise.
10209 * nis/Makefile: Likewise.
10210 * resolv/Makefile: Likewise.
10211 * stdio-common/Makefile: Likewise.
10212 * wcsmbs/Makefile: Likewise.
10213 * dlfcn/Makefile: Likewise.
10214 * posix/Makefile: Likewise.
10215
3b7c4e74 10216 [BZ #6959]
482ff4da
UD
10217 * timezone/Makefile: Don't install timezone files, just the programs
10218 and scripts.
10219
f72ed77d
UD
102202012-03-06 Ulrich Drepper <drepper@gmail.com>
10221
a000466f
UD
10222 * nss/databases.def: Add missing gshadow entry.
10223
f72ed77d
UD
10224 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10225
a53b7a4e
MP
102262012-03-06 Marek Polacek <polacek@redhat.com>
10227
10228 [BZ #13726]
10229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10230 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10231 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10232 * stdio-common/tst-long-dbl-fphex.c: New file.
10233
e9258400
DM
102342012-03-06 David S. Miller <davem@davemloft.net>
10235
10236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10237 (set_obp_int): New function.
10238 (get_obp_int): New function.
10239 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10241 Avoid unused variable warnings on 'val' and use builtin_expect.
10242 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10243 __builtin_expect.
e9258400
DM
10244 (INLINE_CLONE_SYSCALL): Likewise.
10245
3bd2c723
DM
102462012-03-05 David S. Miller <davem@davemloft.net>
10247
10248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10249
bbb78d03
AS
102502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10251
884c5db4
AS
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10253
bbb78d03
AS
10254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10255 only for |x| >= 40.
10256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10257
1c9f702a 102582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10259
10260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10261 Replace gettimeofday with __vdso_gettimeofday.
10262
7be16f82
RM
10263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10264 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10265 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10266
10267 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10268 time with __vdso_time.
10269
ed58a00f
JM
102702012-03-05 Joseph Myers <joseph@codesourcery.com>
10271
10272 * manual/lang.texi (size_t): Note types to which size_t may be
10273 equivalent with the GNU C Library, but do not describe when
10274 differences between them are significant.
10275
30ee4ced
AJ
102762012-03-05 Andreas Jaeger <aj@suse.de>
10277
10278 * sysdeps/i386/fpu/libm-test-ulps: Update.
10279
b7cd39e8
JM
102802012-03-05 Joseph Myers <joseph@codesourcery.com>
10281
10282 [BZ #3976]
10283 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10284 (__ieee754_pow): Save and restore rounding mode and use
10285 round-to-nearest for main computations.
10286 * math/libm-test.inc (pow_test_tonearest): New function.
10287 (pow_test_towardzero): Likewise.
10288 (pow_test_downward): Likewise.
10289 (pow_test_upward): Likewise.
10290 (main): Call the new functions.
10291 * sysdeps/i386/fpu/libm-test-ulps: Update.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10293
10294 [BZ #3976]
10295 * math/libm-test.inc (cosh_test_tonearest): New function.
10296 (cosh_test_towardzero): Likewise.
10297 (cosh_test_downward): Likewise.
10298 (cosh_test_upward): Likewise.
10299 (sinh_test_tonearest): Likewise.
10300 (sinh_test_towardzero): Likewise.
10301 (sinh_test_downward): Likewise.
10302 (sinh_test_upward): Likewise.
10303 (main): Call the new functions.
10304 * sysdeps/i386/fpu/libm-test-ulps: Update.
10305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10306
6c6a98c9
TV
103072012-03-05 Tom de Vries <tom@codesourcery.com>
10308
10309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10310 default stack guard is set in last bytes.
10311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10312
21bb2d2e 103132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10314
21bb2d2e 10315 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10316
21bb2d2e
AJ
10317 [BZ #13656]
10318 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10319 possibly allocate from heap instead of stack.
10320 * stdio-common/bug-vfprintf-nargs.c: New file.
10321 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10322
c6922934
AS
103232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10324
10325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10326
bc957d53
MP
103272012-03-03 Marek Polacek <polacek@redhat.com>
10328
10329 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10330 * math/math_private.h: Likewise.
10331 * stdlib/tst-strtod.c: Likewise.
10332 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10333 * sysdeps/x86_64/bits/atomic.h: Likewise.
10334
6358490d
DM
103352012-03-02 David S. Miller <davem@davemloft.net>
10336
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10341 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10342 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10343 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10345
01ae168d
RM
103462012-03-02 Roland McGrath <roland@hack.frob.com>
10347
d9a17c07
RM
10348 [BZ #13792]
10349 * manual/examples/README: New file, says the example source files
10350 can be used under GPL>=2.
10351 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10352 line containing just "*/".
10353 * manual/examples/add.c: Add copyright header (GPL>=2).
10354 * manual/examples/argp-ex1.c: Likewise.
10355 * manual/examples/argp-ex2.c: Likewise.
10356 * manual/examples/argp-ex3.c: Likewise.
10357 * manual/examples/argp-ex4.c: Likewise.
10358 * manual/examples/atexit.c: Likewise.
10359 * manual/examples/db.c: Likewise.
10360 * manual/examples/dir.c: Likewise.
10361 * manual/examples/dir2.c: Likewise.
10362 * manual/examples/execinfo.c: Likewise.
10363 * manual/examples/filecli.c: Likewise.
10364 * manual/examples/filesrv.c: Likewise.
10365 * manual/examples/fmtmsgexpl.c: Likewise.
10366 * manual/examples/genpass.c: Likewise.
10367 * manual/examples/inetcli.c: Likewise.
10368 * manual/examples/inetsrv.c: Likewise.
10369 * manual/examples/isockad.c: Likewise.
10370 * manual/examples/longopt.c: Likewise.
10371 * manual/examples/memopen.c: Likewise.
10372 * manual/examples/memstrm.c: Likewise.
10373 * manual/examples/mkfsock.c: Likewise.
10374 * manual/examples/mkisock.c: Likewise.
10375 * manual/examples/mygetpass.c: Likewise.
10376 * manual/examples/pipe.c: Likewise.
10377 * manual/examples/popen.c: Likewise.
10378 * manual/examples/rprintf.c: Likewise.
10379 * manual/examples/search.c: Likewise.
10380 * manual/examples/select.c: Likewise.
10381 * manual/examples/setjmp.c: Likewise.
10382 * manual/examples/sigh1.c: Likewise.
10383 * manual/examples/sigusr.c: Likewise.
10384 * manual/examples/stpcpy.c: Likewise.
10385 * manual/examples/strdupa.c: Likewise.
10386 * manual/examples/strftim.c: Likewise.
10387 * manual/examples/strncat.c: Likewise.
10388 * manual/examples/subopt.c: Likewise.
10389 * manual/examples/swapcontext.c: Likewise.
10390 * manual/examples/termios.c: Likewise.
10391 * manual/examples/testopt.c: Likewise.
10392 * manual/examples/testpass.c: Likewise.
10393 * manual/examples/timeval_subtract.c: Likewise.
10394
01ae168d
RM
10395 [BZ #13792]
10396 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10397 function to ...
10398 * manual/timeval_subtract.c.texi: ... here, new file.
10399
49efa33d
DM
104002012-03-02 David S. Miller <davem@davemloft.net>
10401
10402 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10403
28afd92d
JM
104042012-03-02 Joseph Myers <joseph@codesourcery.com>
10405
804360ed
JM
10406 [BZ #3976]
10407 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10408 (__sin): Save and restore rounding mode and use round-to-nearest
10409 for all computations.
10410 (__cos): Save and restore rounding mode and use round-to-nearest
10411 for all computations.
10412 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10413 <fenv.h>.
10414 (tan): Save and restore rounding mode and use round-to-nearest for
10415 all computations.
10416 * math/libm-test.inc (cos_test_tonearest): New function.
10417 (cos_test_towardzero): Likewise.
10418 (cos_test_downward): Likewise.
10419 (cos_test_upward): Likewise.
10420 (sin_test_tonearest): Likewise.
10421 (sin_test_towardzero): Likewise.
10422 (sin_test_downward): Likewise.
10423 (sin_test_upward): Likewise.
10424 (tan_test_tonearest): Likewise.
10425 (tan_test_towardzero): Likewise.
10426 (tan_test_downward): Likewise.
10427 (tan_test_upward): Likewise.
10428 (main): Call the new functions.
10429 * sysdeps/i386/fpu/libm-test-ulps: Update.
10430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10431
a6d06d7b
JM
10432 [BZ #10135]
10433 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10434 small n, then large n, before computing and testing k+n.
10435 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10437 Likewise.
10438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10439 Likewise.
10440 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10441 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10448 * math/libm-test.inc (scalbn_test): Add more tests.
10449 (scalbln_test): Likewise.
10450
07e12bb3
JM
10451 * manual/filesys.texi (mode_t): Describe constraints on size and
10452 signedness, not exact equivalence to a particular type.
10453 (ino_t): Likewise.
10454 (ino64_t): Likewise.
10455 (dev_t): Likewise.
10456 (nlink_t): Likewise.
10457 (blkcnt_t): Likewise.
10458 (blkcnt64_t): Likewise.
10459 * manual/llio.texi (off_t): Likewise.
10460
28afd92d
JM
10461 [BZ #3976]
10462 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10463 (__ieee754_exp): Save and restore rounding mode and use
10464 round-to-nearest for all computations.
10465 * math/libm-test.inc (exp_test_tonearest): New function.
10466 (exp_test_towardzero): Likewise.
10467 (exp_test_downward): Likewise.
10468 (exp_test_upward): Likewise.
10469 (main): Call the new functions.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10472
b1eeb65d
CD
104732012-03-01 Chris Demetriou <cgd@google.com>
10474
10475 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10476 have predictable order.
10477
53362a4b
DM
104782012-03-01 David S. Miller <davem@davemloft.net>
10479
3c969083
DM
10480 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10481
759707de
DM
10482 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10483 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10484 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10485 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10486
dfdb8ff2
DM
10487 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10488 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10489 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10491 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10492 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10496
ead89f96
DM
10497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10498
7f66bd07
DM
10499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10500 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10502
53362a4b
DM
10503 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10505 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10506 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10507 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10510 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10512 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10513 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10519 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10520 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10521 * sysdeps/sparc/elf/configure: Regenerated.
10522
7b1902cb
JM
105232012-03-01 Joseph Myers <joseph@codesourcery.com>
10524
bec039bc
JM
10525 * configure.in (AS, LD): Require binutils 2.20 or later.
10526 * configure: Regenerated.
10527 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10528 as required minimum version.
10529 * INSTALL: Regenerated.
10530
7b1902cb
JM
10531 [BZ #2541]
10532 [BZ #4108]
10533 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10534 before squaring exponent.
10535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10536 bottom long double and 27 bits of top long double before squaring
10537 exponent.
10538 * math/libm-test.inc (erfc_test): Add more tests.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10542
f775c276
KT
105432012-03-01 Kai Tietz <ktietz@redhat.com>
10544
10545 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10546 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10547 containing bit-fields.
10548 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10549 * soft-fp/single.h (_FP_UNION_S): Likewise.
10550 * soft-fp/double.h (_FP_UNION_D): Likewise.
10551
5b8a4d4a
JM
105522012-02-29 Joseph Myers <joseph@codesourcery.com>
10553
0bab47b6
JM
10554 [BZ #13786]
10555 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10556 not include ../strcmp.S.
10557 [USE_AS_STRNCASECMP_L]: Likewise.
10558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10559 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10560 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10561 (__strncasecmp_l_ia32): Define as alias to
10562 __strncasecmp_l_nonascii.
10563
0fcad3e2
JM
10564 [BZ #5794]
10565 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10568
5b8a4d4a
JM
10569 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10571
8fdceb2e
JL
105722012-02-29 Jeff Law <law@redhat.com>
10573
10574 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10575 out of bounds read.
10576
1f393a11
MP
105772012-02-29 Marek Polacek <polacek@redhat.com>
10578
10579 [BZ #13706]
10580 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10581 * elf/Makefile: Add rules to run tst-unused-dep.out.
10582
8847f037
DM
105832012-02-28 David S. Miller <davem@davemloft.net>
10584
10585 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10586 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10591
169d7f11
JM
105922012-02-29 Joseph Myers <joseph@codesourcery.com>
10593
10594 * math/libm-test.inc (llround_test): Move one test from
10595 lround_test. Use TEST_f_L in moved test.
10596 (lround_test): Move misplaced test to llround_test. Add testcase
10597 from bug 2561.
10598
39adf059
UD
105992012-02-28 Ulrich Drepper <drepper@gmail.com>
10600
10601 * sysdeps/x86_64/fpu/e_expf.S: New file.
10602 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10603
71b5d1c5
SB
106042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10605
10606 [BZ #13637]
10607 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10608 of remain_len that may cause incomplete multi-byte character and
10609 false match.
10610 * posix/bug-regex33.c: New file.
10611 * posix/Makefile (tests): Add bug-regex33.
10612
1f77f049
JM
106132012-02-28 Joseph Myers <joseph@codesourcery.com>
10614
10615 * manual/macros.texi: New file.
10616 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10617 * manual/libc.texinfo: Include macros.texi.
10618 * manual/creatute.texi: Likewise.
10619 * manual/install.texi: Likewise.
10620 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10621 @glibcadj{} in references to the GNU C Library.
10622 * manual/charset.texi: Likewise.
10623 * manual/conf.texi: Likewise.
10624 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10625 when not using those macros.
10626 * manual/creature.texi: Likewise.
10627 * manual/crypt.texi: Likewise.
10628 * manual/errno.texi: Likewise.
10629 * manual/filesys.texi: Likewise.
10630 * manual/header.texi: Likewise.
10631 * manual/install.texi: Likewise.
10632 * manual/intro.texi: Likewise.
10633 * manual/io.texi: Likewise.
10634 * manual/job.texi: Likewise.
10635 * manual/lang.texi: Likewise.
10636 * manual/libc.texiinfo: Likewise.
10637 * manual/llio.texi: Likewise.
10638 * manual/locale.texi: Likewise.
10639 * manual/maint.texi: Likewise.
10640 * manual/math.texi: Likewise.
10641 * manual/memory.texi: Likewise.
10642 * manual/message.texi: Likewise.
10643 * manual/nss.texi: Likewise.
10644 * manual/pattern.texi: Likewise.
10645 * manual/process.texi: Likewise.
10646 * manual/resource.texi: Likewise.
10647 * manual/search.texi: Likewise.
10648 * manual/setjmp.texi: Likewise.
10649 * manual/signal.texi: Likewise.
10650 * manual/socket.texi: Likewise.
10651 * manual/startup.texi: Likewise.
10652 * manual/stdio.texi: Likewise.
10653 * manual/string.texi: Likewise.
10654 * manual/sysinfo.texi: Likewise.
10655 * manual/syslog.texi: Likewise.
10656 * manual/terminal.texi: Likewise.
10657 * manual/time.texi: Likewise.
10658 * manual/users.texi: Likewise.
10659 * INSTALL: Regenerated.
10660 * NOTES: Regenerated.
d40c5d54 10661 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10662
450bf206
AS
106632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10664
10665 * include/dirent.h: Include <dirstream.h> before
10666 <dirent/dirent.h>.
10667
741a235b
DM
106682012-02-28 David S. Miller <davem@davemloft.net>
10669
10670 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10671 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10673 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10674
d6b5aa58
DM
106752012-02-27 David S. Miller <davem@davemloft.net>
10676
1aff59a3
DM
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10679 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10680 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10681
d6b5aa58
DM
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10683 frame pointer instead of stack pointer relative arg slot.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10685 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10686 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10687
433f48bf
CD
106882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10689
10690 [BZ #3992]
10691 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10692
d674b76d
DM
106932012-02-27 David S. Miller <davem@davemloft.net>
10694
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10699 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10700 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10701 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10702 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10703
0e7727f7
JM
107042012-02-27 Joseph Myers <joseph@codesourcery.com>
10705
10706 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10707 later. Allow versions 5-9.
43be4ca2 10708 * configure: Regenerated.
0e7727f7
JM
10709 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10710 required minimum version and 4.6 as recommended version. Do not
10711 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10712 * INSTALL: Regenerated.
0e7727f7 10713
a78bc654
DM
107142012-02-27 David S. Miller <davem@davemloft.net>
10715
428d5830
DM
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10722 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10724
a78bc654
DM
10725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10726 manipulate bits before adding and subtracting TWO112[sx].
10727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10728
4579f81c
RM
107292012-02-27 Roland McGrath <roland@hack.frob.com>
10730
36c8acb4
RM
10731 [BZ #13775]
10732 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10733 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10734 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10735 being in POSIX, because they are in 1003.1-2008.
10736
84ad622b
RM
10737 * rt/tst-aio.c: Include <fcntl.h>.
10738 * rt/tst-aio7.c: Likewise.
10739 * rt/tst-aio64.c: Likewise.
10740
4579f81c
RM
10741 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10742
abd923db
JM
107432012-02-27 Joseph Myers <joseph@codesourcery.com>
10744
10745 * manual/install.texi (--with-headers): Describe headers as
10746 interface headers, not private headers.
10747 (Specific advice for GNU/Linux systems): Describe use of headers
10748 from "make headers_install", not private headers from older
10749 kernels.
43be4ca2 10750 * INSTALL: Regenerated.
abd923db
JM
10751 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10752 Change to 2.6.19.
10753 * sysdeps/unix/sysv/linux/configure: Regenerated.
10754
6664049b
JM
10755 * manual/llio.texi (fclean): Remove documentation.
10756
bb8b6697
JM
10757 * manual/Makefile (libc-texi-generated): New variable. Include
10758 version.texi.
10759 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10760 $(libc-texi-generated), not duplicated list of files.
10761 (version.texi, stamp-version): New rules.
10762 (realclean): Remove $(libc-texi-generated), not individual files
10763 from that list. Do not remove dir-add.texinfo.
10764 * manual/libc.texinfo: Comment out uses of edition numbers and
10765 references to printed manual. Remove last-updated dates.
10766 (EDITION): Comment out.
10767 (ISBN): Likewise.
10768 (VERSION, UPDATED): Remove.
10769 (version.texi): Include.
10770
12e5c3b9
AS
107712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10772
10773 * sysdeps/posix/spawni.c: Include <signal.h>.
10774 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10775 * sysdeps/pthread/aio_fsync.c: Likewise.
10776
4efeffc1 107772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10778
ba63ba08
UD
10779 * conform/Makefile (tests): Run only when not cross-compiling and
10780 when fast-check is not defined.
10781
d94a4670
UD
10782 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10783 * conform/data/limits.h-data: Fixes for POSIX2008.
10784 * conform/run-conformtest.sh: Run all tests.
10785 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10786 headers.
10787 * include/bits/dlfcn.h: Likewise.
10788 * include/langinfo.h: Likewise.
10789 * include/monetary.h: Likewise.
10790 * include/sys/poll.h: Likewise.
10791
10792 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10793 for __USE_GNU.
10794 * posix/spawn.h: Define __need_sigset_t.
10795 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10796 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10797 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10798 to get sigevent_t only.
10799 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10800 only for __USE_GNU.
10801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10802 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10803 process_vm_writev only for __USE_GNU.
10804 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10805
10806 * conform/Makefile: For now ignore errors from run-conformtest.
10807 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10808 POSIX to avoid namespace pollution. Don't prepend headers.
10809 * conform/data/aio.h-data: Fixes for POSIX testing.
10810 * conform/data/fcntl.h-data: Likewise.
10811 * conform/data/glob.h-data: Likewise.
10812 * conform/data/grp.h-data: Likewise.
10813 * conform/data/pthread.h-data: Likewise.
10814 * conform/data/pwd.h-data: Likewise.
10815 * conform/data/signal.h-data: Likewise.
10816 * conform/data/spawn.h-data: Likewise.
10817 * conform/data/stdio.h-data: Likewise.
10818 * conform/data/stdlib.h-data: Likewise.
10819 * conform/data/stropts.h-data: Likewise.
10820 * conform/data/sys/mman.h-data: Likewise.
10821 * conform/data/sys/stat.h-data: Likewise.
10822 * conform/data/sys/types.h-data: Likewise.
10823 * conform/data/sys/wait.h-data: Likewise.
10824 * conform/data/time.h-data: Likewise.
10825 * conform/data/unistd.h-data: Likewise.
10826 * conform/data/utime.h-data: Likewise.
10827
10828 * io/sys/stat.h: fchmod was always in POSIX.
10829 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10830 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10831 * rt/aio.h: Define __need_timespec before including <time.h>.
10832 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10833 struct. Add forward declaration of pthread_attr_t and use it in
10834 sigevent.
10835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10837 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10838 always remove CLK_TCK definition.
10839
c20105c3
AS
108402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10841
10842 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10843
7a270350
UD
108442012-02-25 Ulrich Drepper <drepper@gmail.com>
10845
31341567
UD
10846 * conform/run-conformtest.sh: New file.
10847 * conform/Makefile: Run run-conformtest for tests.
10848 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10849 support.
10850
10851 * conform/data/uchar.h-data: New file.
10852 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10853 * conform/data/arpa/inet.h-data: Likewise.
10854 * conform/data/assert.h-data: Likewise.
10855 * conform/data/complex.h-data: Likewise.
10856 * conform/data/cpio.h-data: Likewise.
10857 * conform/data/ctype.h-data: Likewise.
10858 * conform/data/dirent.h-data: Likewise.
10859 * conform/data/dlfcn.h-data: Likewise.
10860 * conform/data/errno.h-data: Likewise.
10861 * conform/data/fcntl.h-data: Likewise.
10862 * conform/data/float.h-data: Likewise.
10863 * conform/data/fmtmsg.h-data: Likewise.
10864 * conform/data/fnmatch.h-data: Likewise.
10865 * conform/data/ftw.h-data: Likewise.
10866 * conform/data/glob.h-data: Likewise.
10867 * conform/data/grp.h-data: Likewise.
10868 * conform/data/iconv.h-data: Likewise.
10869 * conform/data/inttypes.h-data: Likewise.
10870 * conform/data/langinfo.h-data: Likewise.
10871 * conform/data/libgen.h-data: Likewise.
10872 * conform/data/limits.h-data: Likewise.
10873 * conform/data/locale.h-data: Likewise.
10874 * conform/data/math.h-data: Likewise.
10875 * conform/data/monetary.h-data: Likewise.
10876 * conform/data/mqueue.h-data: Likewise.
10877 * conform/data/ndbm.h-data: Likewise.
10878 * conform/data/net/if.h-data: Likewise.
10879 * conform/data/netdb.h-data: Likewise.
10880 * conform/data/netinet/in.h-data: Likewise.
10881 * conform/data/nl_types.h-data: Likewise.
10882 * conform/data/poll.h-data: Likewise.
10883 * conform/data/pthread.h-data: Likewise.
10884 * conform/data/pwd.h-data: Likewise.
10885 * conform/data/regex.h-data: Likewise.
10886 * conform/data/sched.h-data: Likewise.
10887 * conform/data/search.h-data: Likewise.
10888 * conform/data/semaphore.h-data: Likewise.
10889 * conform/data/setjmp.h-data: Likewise.
10890 * conform/data/signal.h-data: Likewise.
10891 * conform/data/spawn.h-data: Likewise.
10892 * conform/data/stdarg.h-data: Likewise.
10893 * conform/data/stdio.h-data: Likewise.
10894 * conform/data/stdlib.h-data: Likewise.
10895 * conform/data/string.h-data: Likewise.
10896 * conform/data/strings.h-data: Likewise.
10897 * conform/data/stropts.h-data: Likewise.
10898 * conform/data/sys/ipc.h-data: Likewise.
10899 * conform/data/sys/mman.h-data: Likewise.
10900 * conform/data/sys/msg.h-data: Likewise.
10901 * conform/data/sys/resource.h-data: Likewise.
10902 * conform/data/sys/select.h-data: Likewise.
10903 * conform/data/sys/sem.h-data: Likewise.
10904 * conform/data/sys/shm.h-data: Likewise.
10905 * conform/data/sys/socket.h-data: Likewise.
10906 * conform/data/sys/stat.h-data: Likewise.
10907 * conform/data/sys/statvfs.h-data: Likewise.
10908 * conform/data/sys/time.h-data: Likewise.
10909 * conform/data/sys/timeb.h-data: Likewise.
10910 * conform/data/sys/times.h-data: Likewise.
10911 * conform/data/sys/types.h-data: Likewise.
10912 * conform/data/sys/uio.h-data: Likewise.
10913 * conform/data/sys/un.h-data: Likewise.
10914 * conform/data/sys/utsname.h-data: Likewise.
10915 * conform/data/sys/wait.h-data: Likewise.
10916 * conform/data/syslog.h-data: Likewise.
10917 * conform/data/tar.h-data: Likewise.
10918 * conform/data/termios.h-data: Likewise.
10919 * conform/data/utime.h-data: Likewise.
10920 * conform/data/utmpx.h-data: Likewise.
10921 * conform/data/varargs.h-data: Likewise.
10922 * conform/data/wchar.h-data: Likewise.
10923 * conform/data/wctype.h-data: Likewise.
10924 * conform/data/wordexp.h-data: Likewise.
10925
10926 * include/stropts.h: New file.
10927 * include/uchar.h: New file.
10928 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10929 * include/assert.h: Likewise.
10930 * include/ctype.h: Likewise.
10931 * include/dirent.h: Likewise.
10932 * include/dlfcn.h: Likewise.
10933 * include/fcntl.h: Likewise.
10934 * include/fnmatch.h: Likewise.
10935 * include/glob.h: Likewise.
10936 * include/grp.h: Likewise.
10937 * include/libio.h: Likewise.
10938 * include/locale.h: Likewise.
10939 * include/math.h: Likewise.
10940 * include/net/if.h: Likewise.
10941 * include/netdb.h: Likewise.
10942 * include/netinet/in.h: Likewise.
10943 * include/pthread.h: Likewise.
10944 * include/pwd.h: Likewise.
10945 * include/regex.h: Likewise.
10946 * include/sched.h: Likewise.
10947 * include/search.h: Likewise.
10948 * include/setjmp.h: Likewise.
10949 * include/signal.h: Likewise.
10950 * include/stdio.h: Likewise.
10951 * include/stdlib.h: Likewise.
10952 * include/string.h: Likewise.
10953 * include/sys/cdefs.h: Likewise.
10954 * include/sys/mman.h: Likewise.
10955 * include/sys/msg.h: Likewise.
10956 * include/sys/resource.h: Likewise.
10957 * include/sys/select.h: Likewise.
10958 * include/sys/socket.h: Likewise.
10959 * include/sys/stat.h: Likewise.
10960 * include/sys/statvfs.h: Likewise.
10961 * include/sys/time.h: Likewise.
10962 * include/sys/times.h: Likewise.
10963 * include/sys/uio.h: Likewise.
10964 * include/sys/utsname.h: Likewise.
10965 * include/sys/wait.h: Likewise.
10966 * include/termios.h: Likewise.
10967 * include/time.h: Likewise.
10968 * include/ulimit.h: Likewise.
10969 * include/unistd.h: Likewise.
10970 * include/utime.h: Likewise.
10971 * include/wchar.h: Likewise.
10972 * include/wctype.h: Likewise.
10973 * include/wordexp.h: Likewise.
10974
10975 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10976
7a270350
UD
10977 * time/time.h: TIME_UTC must be a macro.
10978 Make timespec_get available for ISO C11 only as well.
10979
7724defc
UD
109802012-02-24 Ulrich Drepper <drepper@gmail.com>
10981
10982 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10983 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10984
6b1d1d46
JM
109852012-02-24 Joseph Myers <joseph@codesourcery.com>
10986
10987 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10988
0f8bbd69
JM
109892012-02-24 Joseph Myers <joseph@codesourcery.com>
10990
10991 * manual/texinfo.tex: Update to version 2012-01-19.16.
10992
66ab80bc
JM
109932012-02-24 Joseph Myers <joseph@codesourcery.com>
10994
10995 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10996
74981cc5
RM
109972012-02-24 Roland McGrath <roland@hack.frob.com>
10998
ee968201
RM
10999 [BZ #13738]
11000 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11001 * manual/fdl-1.3.texi: New file.
11002 * manual/fdl-1.1.texi: File removed.
11003
74981cc5
RM
11004 [BZ #13738]
11005 * manual/libc.texinfo (FDL_VERSION): New @set.
11006 Use it for mention of FDL in cover text.
11007 (Documentation License): Use it in @include file name.
11008
7bb764bc
JM
110092012-02-22 Joseph Myers <joseph@codesourcery.com>
11010 Roland McGrath <roland@hack.frob.com>
11011
11012 [BZ #5461]
11013 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11014 not LONG_LONG_MAX and LONG_LONG_MIN.
11015 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11016 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11017 name.
11018 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11019
6cbeae47
JM
110202012-02-22 Joseph Myers <joseph@codesourcery.com>
11021
11022 [BZ #2547]
11023 [BZ #11365]
11024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11025 manipulate bits before adding and subtracting TWO23[sx].
11026 * math/libm-test.inc (nearbyint_test): Add more tests.
11027
fe45ce09
JM
110282012-02-22 Joseph Myers <joseph@codesourcery.com>
11029
11030 [BZ #2548]
11031 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11032 bits before adding and subtracting TWO23[sx].
11033 * math/libm-test.inc (rint_test): Add more tests.
11034 (rint_test_tonearest): Likewise.
11035 (rint_test_towardzero): Likewise.
11036 (rint_test_downward): Likewise.
11037 (rint_test_upward: Likewise.
11038
ff3b3d82
JM
110392012-02-22 Joseph Myers <joseph@codesourcery.com>
11040
11041 [BZ #10110]
11042 * include/stdc-predef.h: New file. Extracted from features.h.
11043 * include/features.h: Include stdc-predef.h.
11044 * Makefile (headers): Add stdc-predef.h.
11045 * CONFORMANCE (Compiler limitations): Update.
11046
ef0aab35
JM
110472012-02-22 Joseph Myers <joseph@codesourcery.com>
11048
11049 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11050
58639409
DM
110512012-02-21 David S. Miller <davem@davemloft.net>
11052
11053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11054 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11055
c0e70b25
DM
110562012-02-20 David S. Miller <davem@davemloft.net>
11057
11058 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11059 using a normal save/restore sequence, rather than allocating a
11060 dummy stack frame just to store a frame pointer and restore.
11061 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11062
fb06851d
JM
110632012-02-21 Joseph Myers <joseph@codesourcery.com>
11064
11065 * manual/install.texi: Fix stray word in line-wrapped comment.
11066
7a8b71c3
DM
110672012-02-20 David S. Miller <davem@davemloft.net>
11068
d510c123
DM
11069 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11070 both binutils and gcc support GOTDATA.
11071
0722d7c2
DM
11072 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11073 "rd %pc" in the PIC register setup sequences.
11074
3d2b3019
DM
11075 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11076 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11077 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11078 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11084 (SYSCALL_ERROR_HANDLER): Likewise.
11085 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11088 (SYSCALL_ERROR_HANDLER): Likewise.
11089
c80098a9
DM
11090 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11091 (HAVE_GCC_GOTDATA): New.
11092 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11093 relocation support in both binutils and gcc.
11094 * sysdeps/sparc/elf/configure: Regenerate.
11095
3a2545a0
DM
11096 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11097 * sysdeps/sparc/sparc32/elf/configure: Delete.
11098 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11099 * sysdeps/sparc/sparc64/elf/configure: Delete.
11100 * sysdeps/sparc/elf/configure.in: New file.
11101 * sysdeps/sparc/elf/configure: Generate.
11102
7a8b71c3
DM
11103 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11104 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11106 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11107 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11108
f1e86fca
JM
111092012-02-21 Joseph Myers <joseph@codesourcery.com>
11110
11111 * manual/install.texi: Do not mention specific glibc version
11112 numbers.
11113 * manual/libc.texinfo (VERSION, UPDATED): Update.
11114 (@copying): Use @copyright{} and range of years.
11115
0e7dfaef
JM
111162012-02-21 Joseph Myers <joseph@codesourcery.com>
11117
11118 [BZ #13695]
11119 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11120 [crti.S not in sysdirs] (generated): Do not append.
11121 [crti.S not in sysdirs] (omit-deps): Likewise.
11122 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11123 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11124 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11125 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11126 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11127 Likewise.
11128 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11129 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11130 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11131 * csu/defs.awk: Remove file.
11132 * sysdeps/generic/initfini.c: Likewise.
11133 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11134 variable.
11135 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11136 Likewise.
11137
599af3ca
JM
111382012-02-20 Joseph Myers <joseph@codesourcery.com>
11139
11140 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11141 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11144 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11145 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11146 <bits/epoll.h>.
11147 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11148 (__EPOLL_PACKED): Define to empty if not defined by
11149 <bits/epoll.h>.
11150 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11152 bits/epoll.h.
11153
0e499750
JM
111542012-02-20 Joseph Myers <joseph@codesourcery.com>
11155
11156 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11157 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11160 <bits/timerfd.h>.
11161 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11163 bits/timerfd.h.
11164
5ad91f6e
JM
111652012-02-20 Joseph Myers <joseph@codesourcery.com>
11166
11167 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11168 in C locale.
11169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173
06b99b02
AJ
111742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11175
11176 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11177 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11178
7638c0fd
AS
111792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11180
11181 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11182 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11183 defined.
11184 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11185 Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11187 entry for 2.16.
11188
92221550
AJ
111892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11190
11191 * math/w_acos.c: Use non-signaling floating-point comparisons.
11192 * math/w_acosf.c: Likewise.
11193 * math/w_acosh.c: Likewise.
11194 * math/w_acoshf.c: Likewise.
11195 * math/w_acoshl.c: Likewise.
11196 * math/w_acosl.c: Likewise.
11197 * math/w_asin.c: Likewise.
11198 * math/w_asinf.c: Likewise.
11199 * math/w_asinl.c: Likewise.
11200 * math/w_atanh.c: Likewise.
11201 * math/w_atanhf.c: Likewise.
11202 * math/w_atanhl.c: Likewise.
11203 * math/w_exp2.c: Likewise.
11204 * math/w_exp2f.c: Likewise.
11205 * math/w_exp2l.c: Likewise.
11206 * math/w_j0.c: Likewise.
11207 * math/w_j0f.c: Likewise.
11208 * math/w_j0l.c: Likewise.
11209 * math/w_j1.c: Likewise.
11210 * math/w_j1f.c: Likewise.
11211 * math/w_j1l.c: Likewise.
11212 * math/w_jn.c: Likewise.
11213 * math/w_jnf.c: Likewise.
11214 * math/w_log.c: Likewise.
11215 * math/w_log10.c: Likewise.
11216 * math/w_log10f.c: Likewise.
11217 * math/w_log10l.c: Likewise.
11218 * math/w_log2.c: Likewise.
11219 * math/w_log2f.c: Likewise.
11220 * math/w_log2l.c: Likewise.
11221 * math/w_logf.c: Likewise.
11222 * math/w_logl.c: Likewise.
11223 * math/w_sqrt.c: Likewise.
11224 * math/w_sqrtf.c: Likewise.
11225 * math/w_sqrtl.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11231
ebaf36eb
JM
112322012-02-19 Joseph Myers <joseph@codesourcery.com>
11233
11234 [BZ #9739]
11235 * manual/string.texi (strnlen): Use correct parameter name in
11236 equivalent expression.
11237
71c254a6
JM
112382012-02-19 Joseph Myers <joseph@codesourcery.com>
11239
11240 [BZ #11174]
11241 * manual/users.texi (seteuid): Consistently use neweuid for
11242 argument name.
11243
16d2c631
JM
112442012-02-19 Joseph Myers <joseph@codesourcery.com>
11245
11246 [BZ #13704]
11247 * manual/nss.texi (Services in the NSS configuration): Correct
11248 list of services in example configuration file.
11249
cd837b09
NB
112502012-02-19 Nick Bowler <nbowler@draconx.ca>
11251
11252 [BZ #11322]
11253 * manual/arith.texi: Remove statements about negative zero
11254 behaving identically to zero.
11255
02c4bbad
JM
112562012-02-18 Joseph Myers <joseph@codesourcery.com>
11257
11258 [BZ #5993]
11259 * manual/install.texi: Do not document upgrading from libc5.
11260
366842e7
JM
112612012-02-18 Joseph Myers <joseph@codesourcery.com>
11262
11263 [BZ #4596]
11264 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11265
dd54084d
DM
112662012-02-18 David S. Miller <davem@davemloft.net>
11267
11268 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11269 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11270 %o7 across the call.
11271 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11272 instead.
11273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11274 SETUP_PIC_REG_LEAF.
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11276 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11277 * sysdeps/sparc/crtn.S: Likewise.
11278
2bcc53a3
UD
112792012-02-17 Ulrich Drepper <drepper@gmail.com>
11280
11281 * aout/Makefile: Remove.
11282
09c093b5
RK
112832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11284
11285 [BZ #13058]
11286 * manual/examples/argp-ex1.c (main): Format definition in GNU
11287 style.
11288 * manual/examples/argp-ex2.c (main): Likewise.
11289 * manual/examples/argp-ex3.c (main): Likewise.
11290 * manual/examples/argp-ex4.c (main): Likewise.
11291 * manual/examples/longopt.c (main): Use new-style prototype
11292 definition.
11293 * manual/examples/strncat.c (main): Specify return type and use
11294 (void) for arguments.
11295 * manual/examples/subopt.c (main): Use char **argv argument.
11296
2ee633a2
JM
112972012-02-17 Joseph Myers <joseph@codesourcery.com>
11298
11299 [BZ #5077]
11300 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11301 rounding modes.
11302
0520adde
FB
113032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11304
11305 [BZ #6907]
11306 * manual/string.texi (strchr): Change when strchrnul is
11307 recommended.
11308
3f4081cd
DGM
113092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11310
11311 [BZ #174]
11312 * manual/locale.texi (setlocale): Document LOCPATH.
11313
d1b10e78
JM
113142012-02-17 Joseph Myers <joseph@codesourcery.com>
11315
11316 [BZ #10210]
11317 * manual/process.texi (execle): Move @dots{} before last argument.
11318
79c6869c
PB
113192012-02-17 Paul Bolle <pebolle@tiscali.nl>
11320
11321 [BZ #12047]
11322 * manual/charset.texi (Generic Charset Conversion): Fix typo
11323 (LC_TYPE -> LC_CTYPE).
11324
cc6e48bc
NB
113252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11326
11327 [BZ #5805]
11328 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11329 (scalbnf): Likewise.
11330 (scalbnl): Likewise.
11331 (scalbln): Likewise.
11332 (scalblnf): Likewise.
11333 (scalblnl): Likewise.
11334 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11335 (vwarnx): Likewise.
11336 (verr): Likewise.
11337 (verrx): Likewise.
11338 * manual/filesys.texi (telldir): Use braces around return type.
11339 * manual/llio.texi (mmap): Add space after comma.
11340 (mmap64): Likewise.
11341 * manual/math.texi (jn): Use @var{} on parameter names.
11342 (jnf): Likewise.
11343 (jnl): Likewise.
11344 (yn): Likewise.
11345 (ynf): Likewise.
11346 (ynl): Likewise.
11347 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11348 line.
11349 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11350 "...".
11351 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11352 (sched_get_priority_max): Likewise.
11353 * manual/signal.texi (sigvec): Add space after comma.
11354 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11355 names.
11356 (if_indextoname): Likewise.
11357 (if_freenameindex): Likewise.
11358 (sendto): Use ',' instead of '.' in prototype.
11359 * manual/startup.texi (syscall): Use @dots{} instead of literal
11360 "...".
11361 * manual/stdio.texi (__fpending): Separate initial words of
11362 paragraph from @deftypefun line.
11363 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11364 "...".
11365 (vsyslog): Use @var{} on parameter names.
11366 * manual/terminal.texi (stty): Use @var{} on parameter names.
11367 * manual/users.texi (getutmp): Use @var{} on parameter names.
11368 (getutmpx): Likewise.
11369
5b23062f
JM
113702012-02-17 Joseph Myers <joseph@codesourcery.com>
11371
11372 [BZ #6884]
11373 * manual/stdio.texi (fopen): Fix typos in description of
11374 ",ccs=STRING".
11375
8dee4833
AJ
113762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11377
11378 [BZ #4026]
11379 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11380 get clock_id definition.
11381
9078ce93
TS
113822012-02-17 Thomas Schwinge <thomas@schwinge.name>
11383
11384 [BZ #4822]
11385 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11386 (madvise): Cast every argument to void on its own.
11387
3835c55f
JM
113882012-02-17 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #9902]
11391 * manual/startup.texi (Exit Status): Fix typo.
11392
35c47e37
JM
113932012-02-17 Joseph Myers <joseph@codesourcery.com>
11394
11395 [BZ #10140]
11396 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11397 * manual/examples/argp-ex2.c: Likewise.
11398 * manual/examples/argp-ex3.c: Likewise.
11399
e3b69ca7
RH
114002012-02-16 Richard Henderson <rth@redhat.com>
11401
11402 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11403 * sysdeps/s390/s390-32/initfini.c: Remove.
11404 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11405 * sysdeps/s390/s390-64/initfini.c: Remove.
11406
df83af67
KK
114072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11408
11409 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11410 compiler output for sysdeps/generic/initfini.c.
11411 * sysdeps/sh/elf/initfini.c: Remove file.
11412
f63f3380
DM
114132012-02-16 David S. Miller <davem@davemloft.net>
11414
fb59b3a4
DM
11415 [BZ #11494]
11416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11417
f63f3380
DM
11418 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11419 * sysdeps/sparc/crti.S: New file.
11420 * sysdeps/sparc/crtn.S: New file.
11421 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11422 * sysdeps/sparc/sparc64/Makefile: Likewise.
11423
df6a4a4a
MF
114242012-02-15 Mike Frysinger <vapier@gentoo.org>
11425
6dd8f3dc 11426 [BZ #3335]
df6a4a4a
MF
11427 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11428
1cac7236
RM
114292012-02-15 Roland McGrath <roland@hack.frob.com>
11430
d2c736f8
RM
11431 [BZ #4822]
11432 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11433
1cac7236
RM
11434 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11435 (write, read, close): Likewise.
11436 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11437
8e475601
JM
114382012-02-15 Joseph Myers <joseph@codesourcery.com>
11439
11440 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11441 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11443 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11444 <bits/signalfd.h>.
11445 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11447 bits/signalfd.h.
11448
ed656b40
MP
114492012-02-14 Marek Polacek <polacek@redhat.com>
11450
11451 * sysdeps/x86_64/crti.S: New file.
11452 * sysdeps/x86_64/crtn.S: New file.
11453 * sysdeps/x86_64/elf/initfini.c: Remove file.
11454
2a979d3a
JM
114552012-02-13 Joseph Myers <joseph@codesourcery.com>
11456
11457 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11458 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11460 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11461 <bits/inotify.h>.
11462 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11464 bits/inotify.h.
11465
2a418ac3
JM
114662012-02-13 Joseph Myers <joseph@codesourcery.com>
11467
11468 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11469 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11470 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11471 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11472 <bits/eventfd.h>.
11473 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11475 bits/eventfd.h.
11476
fb779be7
TS
114772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11478
e19e83c5
RM
11479 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11480 __feraiseexcept instead of feraiseexcept.
7c35ffed 11481
fb779be7
TS
11482 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11483 nanosleep invocations.
11484 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11485 strings, and add error checking for a nanosleep invocations.
11486
59ba27a6
PE
114872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11488
11489 Replace FSF snail mail address with URLs, as per GNU coding standards.
11490 Most of the snail mail addresses were wrong anyway, and omitting
11491 them makes the source code easier to maintain. Almost all of the
11492 changes are to license notices and to locale LC_IDENTIFICATION
11493 addresses, except for this one:
11494 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11495 not its snail mail address.
11496
57b957eb
RH
114972012-02-09 Richard Henderson <rth@twiddle.net>
11498
af850b1c
RH
11499 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11500 of kernel-features.h.
11501
57b957eb
RH
11502 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11503
6b73181a
MP
115042012-02-08 Marek Polacek <polacek@redhat.com>
11505
11506 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11507 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11508 * sysdeps/gnu/_G_config.h: Likewise.
11509 * sysdeps/generic/_G_config.h: Likewise.
11510
26ecc33a
AS
115112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11512
6c6dbc63
AS
11513 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11514 tests.
11515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11516
e216c012
AS
11517 * sysdeps/powerpc/powerpc32/crti.S: New file.
11518 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11519 * sysdeps/powerpc/powerpc64/crti.S: New file.
11520 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11521
26ecc33a
AS
11522 * Makeconfig (have-initfini): Don't set.
11523 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11524 * configure.in (nopic_initfini): Don't substitute.
11525 * config.h.in (HAVE_INITFINI): Don't #undef.
11526 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11527 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11528
3add8e13
JM
115292012-02-08 Joseph Myers <joseph@codesourcery.com>
11530
11531 Support crti.S and crtn.S provided directly by architectures.
11532 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11533 [crti.S in sysdirs] (omit-deps): Likewise.
11534 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11535 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11536 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11537 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11538 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11539 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11540 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11541 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11542 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11543 compiler output for sysdeps/generic/initfini.c.
11544 * sysdeps/i386/elf/Makefile: Remove file.
11545 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11546
a22f12b4
MP
115472012-02-07 Marek Polacek <polacek@redhat.com>
11548
11549 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11550 * sysdeps/gnu/_G_config.h: Likewise.
11551 * sysdeps/mach/hurd/_G_config.h: Likewise.
11552
148cf100
MP
115532012-02-07 Marek Polacek <polacek@redhat.com>
11554
11555 * math/Makefile (tests): Add tst-CMPLX2.
11556 * math/tst-CMPLX2.c: New file.
11557
cfdc0dd7
AS
115582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11559
84ba42c4
AS
11560 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11561
cfdc0dd7
AS
11562 * math/libm-test.inc (jn_test): Add missing L suffix.
11563
622c86f4
MP
115642012-02-06 Marek Polacek <polacek@redhat.com>
11565
11566 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11567 * sysdeps/i386/fpu/e_powf.S: Likewise.
11568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11570 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11571 * sysdeps/i386/fpu/e_pow.S: Likewise.
11572 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11573 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11574 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11575 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11576 * sysdeps/i386/fpu/e_log2.S: Likewise.
11577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11578 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11579 * sysdeps/i386/fpu/e_powl.S: Likewise.
11580 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11582 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11583 * sysdeps/i386/fpu/e_logl.S: Likewise.
11584 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11585 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11586 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11587 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11589 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11590 * sysdeps/i386/fpu/e_log.S: Likewise.
11591 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11593 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11594 * sysdeps/i386/fpu/e_logf.S: Likewise.
11595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11597 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11598 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11600 * sysdeps/i386/fpu/e_log10.S: Likewise.
11601 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11603 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11604 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11606 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11607 * sysdeps/i386/asm-syntax.h: Likewise.
11608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11611 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11612 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11614 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11615 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11616 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11617 * sysdeps/powerpc/sysdep.h: Likewise.
11618 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11620
d4a54ac6
JM
116212012-02-06 Joseph Myers <joseph@codesourcery.com>
11622
11623 [BZ #411]
11624 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11625
314054ea
JM
116262012-02-06 Joseph Myers <joseph@codesourcery.com>
11627
11628 * sysdeps/i386/sysdep.h: Include <features.h>.
11629 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11630 version.
11631
d8e0ca50
JM
116322012-02-05 Joseph Myers <joseph@codesourcery.com>
11633
11634 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11635 Define.
11636 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11637 LOAD_PIC_REG_STR.
11638
b1da7dd9
JM
116392012-02-03 Joseph Myers <joseph@codesourcery.com>
11640
11641 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11642 (SETUP_PIC_REG): Use GET_PC_THUNK.
11643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11644 macro.
11645
9a1d9254
JM
116462012-02-03 Joseph Myers <joseph@codesourcery.com>
11647
11648 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11649 for non-PIC compilation.
11650 (SETUP_PIC_REG): Add .p2align directive.
11651 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11652 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11659 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11660 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11661 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11662 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11663 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11664 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11665 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11669 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11670 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11679 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11680 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11681 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11686 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11687 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11688 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11689 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11692
65dc3b75
JM
116932012-02-03 Joseph Myers <joseph@codesourcery.com>
11694
11695 * math/tst-CMPLX.c: Include <stdio.h>.
11696
d55bf177
JM
116972012-01-31 Joseph Myers <joseph@codesourcery.com>
11698
11699 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11700 float.
11701 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11702 * sysdeps/sparc/bits/mathdef.h: Likewise.
11703
69db4f8f
MP
117042012-01-31 Marek Polacek <polacek@redhat.com>
11705
11706 * libio/libio.h: Don't define _PARAMS.
11707 * locale/programs/config.h: Don't define PARAMS.
11708 * stdlib/strtol_l.c: Likewise.
11709 (__strtol_l): Remove PARAMS from the prototype.
11710
41b81892
UD
117112012-01-31 Ulrich Drepper <drepper@gmail.com>
11712
3b49edc0
UD
11713 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11714 names. Just use the correct names. Remove unnecessary wrapper
11715 functions.
11716 * malloc/arena.c: Likewise.
11717 * malloc/hooks.c: Likewise.
11718
41b81892
UD
11719 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11720 ARENA_TEST says not to. Simplify test for creation of a new arena.
11721 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11722
27a25b6e
UD
117232012-01-30 Ulrich Drepper <drepper@gmail.com>
11724
11725 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11726 into tail calls.
11727 (update_get_addr): New function.
11728 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11729 GET_ADDR_MODULE parameter.
11730
c8a89e7d
JM
117312012-01-30 Joseph Myers <joseph@codesourcery.com>
11732
11733 * crypt/cert.c: Remove __STDC__ conditionals.
11734 * crypt/crypt-entry.c: Likewise.
11735 * crypt/crypt_util.c: Likewise.
11736 * libio/filedoalloc.c: Likewise.
11737 * libio/fileops.c: Likewise.
11738 * libio/genops.c: Likewise.
11739 * libio/iofclose.c: Likewise.
11740 * libio/iofdopen.c: Likewise.
11741 * libio/iofopen.c: Likewise.
11742 * libio/iofopen64.c: Likewise.
11743 * libio/iogetdelim.c: Likewise.
11744 * libio/iopopen.c: Likewise.
11745 * libio/obprintf.c: Likewise.
11746 * libio/oldfileops.c: Likewise.
11747 * libio/oldiofclose.c: Likewise.
11748 * libio/oldiofdopen.c: Likewise.
11749 * libio/oldiofopen.c: Likewise.
11750 * libio/oldiopopen.c: Likewise.
11751 * libio/wfiledoalloc.c: Likewise.
11752 * libio/wgenops.c: Likewise.
11753 * locale/programs/xmalloc.c: Likewise.
11754 * misc/syslog.c: Likewise.
11755 * stdio-common/xbug.c: Likewise.
11756 * string/memchr.c: Likewise.
11757 * string/memcmp.c: Likewise.
11758 * string/memrchr.c: Likewise.
11759 * string/rawmemchr.c: Likewise.
11760 * sysdeps/posix/getcwd.c: Likewise.
11761 * time/strftime_l.c: Likewise.
11762
3b100462
JM
117632012-01-30 Joseph Myers <joseph@codesourcery.com>
11764
11765 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11766 * config.make.in (config-cflags-sse2avx): Define.
11767 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11768 Fix typo.
11769
607998af
CM
117702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11771
11772 * scripts/config.guess: Update from upstream config git repository.
11773 * scripts/config.sub: Likewise.
11774
3601428f
CM
117752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11776
3ac8b282
CM
11777 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11778 (EM_NUM): Update.
11779 (R_TILEPRO_*, R_TILEGX_*): New macros.
11780
e034841e
CM
11781 * scripts/firstversions.awk: Fix bug in version range handling.
11782
540d7568
CM
11783 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11784
3601428f
CM
11785 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11786
463de862
CM
11787 * include/sys/epoll.h: New file.
11788 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11789 libc_hidden_def.
11790
73139a76
UD
117912012-01-28 Ulrich Drepper <drepper@gmail.com>
11792
96bc5b45
UD
11793 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11794 Avoid unnecessary __WORDSIZE == 64 test.
11795 (fmaxf): Use VEX format if possible.
11796 (fmax): Likewise.
11797 (fminf): Likewise.
11798 (fmin): Likewise.
11799
56f6f6a2
UD
11800 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11801 * math/math_private.h: Remove libc_fegetround* and
11802 libc_fesetround*.
11803 * sysdeps/i386/configure.in: Check for -msse2avx.
11804 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11805 also if SSE2AVX is defined.
11806 Remove libc_fegetround* and libc_fesetround*.
11807 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11808 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11810 of HAS_YMM_USABLE.
11811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11812 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11816
73139a76
UD
11817 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11818
d73f93a4
AZ
118192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11820
11821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11822 size is not set.
11823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11824
6ee65ed6
UD
118252012-01-27 Ulrich Drepper <drepper@gmail.com>
11826
11827 [BZ #13618]
11828 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11829 relocation.
11830 * Makeconfig (libm): Define.
11831 * elf/Makefile: Add rules to build and run tst-relsort1.
11832 * elf/tst-relsort1.c: New file.
11833 * elf/tst-relsort1mod1.c: New file.
11834 * elf/tst-relsort1mod2.c: New file.
11835
8db21882
JM
118362012-01-27 Joseph Myers <joseph@codesourcery.com>
11837
11838 * math/s_ldexp.c: Remove __STDC__ conditionals.
11839 * math/s_ldexpf.c: Likewise.
11840 * math/s_ldexpl.c: Likewise.
11841 * math/s_nextafter.c: Likewise.
11842 * math/s_nexttowardf.c: Likewise.
11843 * math/s_significand.c: Likewise.
11844 * math/s_significandf.c: Likewise.
11845 * math/s_significandl.c: Likewise.
11846 * math/w_jnl.c: Likewise.
11847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11873 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11881 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11885 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11887 * sysdeps/ieee754/k_standard.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11967 * sysdeps/ieee754/s_matherr.c: Likewise.
11968 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11972
965a54a4
JM
119732012-01-26 Joseph Myers <joseph@codesourcery.com>
11974
11975 * crypt/md5.h: Remove __STDC__ conditionals.
11976 * libio/libioP.h: Likewise.
11977 * locale/programs/config.h: Likewise.
11978 * sysdeps/generic/sysdep.h: Likewise.
11979 * sysdeps/i386/asm-syntax.h: Likewise.
11980 * sysdeps/s390/asm-syntax.h: Likewise.
11981 * sysdeps/unix/sysdep.h: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11984
7071ad79
JM
119852012-01-26 Joseph Myers <joseph@codesourcery.com>
11986
11987 * libio/libio.h: Remove __STDC__ conditionals.
11988 * malloc/obstack.h: Likewise.
11989 * math/complex.h: Likewise.
11990 * math/math.h: Likewise.
11991 * sysdeps/generic/_G_config.h: Likewise.
11992 * sysdeps/gnu/_G_config.h: Likewise.
11993 * sysdeps/mach/hurd/_G_config.h: Likewise.
11994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11996 * sysdeps/sparc/bits/mathdef.h: Likewise.
11997
afc5ed09
UD
119982012-01-26 Ulrich Drepper <drepper@gmail.com>
11999
12000 [BZ #13583]
12001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12002 Clean up HAS_* macros.
afc5ed09 12003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12004 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12005 possible.
12006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12007 HAS_AVX.
12008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12013
bdb6de1d
JM
120142012-01-25 Joseph Myers <joseph@codesourcery.com>
12015
12016 * elf/tst-unique3.cc (gets): Remove declaration.
12017 * elf/tst-unique3lib.cc (gets): Likewise.
12018 * elf/tst-unique3lib2.cc (gets): Likewise.
12019 * elf/tst-unique4.cc (gets): Likewise.
12020
b15549e6
UD
120212012-01-24 Ulrich Drepper <drepper@gmail.com>
12022
12023 * include/stdio.h: Add C++ protection. Add gets declarations and
12024 definitions.
12025 * debug/tst-chk1.c: Don't declare gets here.
12026 * stdio-common/tst-gets.c: Likewise.
12027
a037381f
JM
120282012-01-24 Joseph Myers <joseph@codesourcery.com>
12029
12030 * posix/glob: Remove directory.
12031
f1d4aa75
JM
120322012-01-24 Joseph Myers <joseph@codesourcery.com>
12033
12034 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12035
81c0c964
PT
120362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12037
12038 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12039 of the non-standard EPFNOSUPPORT.
12040
0ea698ae
ST
120412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12042
12043 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12044 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12045 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12046
d220b117
UD
120472012-01-21 Ulrich Drepper <drepper@gmail.com>
12048
12049 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12050
3e1aa84e
UD
120512012-01-20 Ulrich Drepper <drepper@gmail.com>
12052
12053 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12054 transient errors.
12055 * nscd/grpcache.c (cache_addgr): Likewise.
12056 * nscd/hstcache.c (cache_addhst): Likewise.
12057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12058 * nscd/pwdcache.c (cache_addpw): Likewise.
12059 * nscd/servicescache.c (cache_addserv): Likewise.
12060
400aa020
UD
120612012-01-16 Ulrich Drepper <drepper@gmail.com>
12062
d77e7869
UD
12063 * malloc/malloc.c: Various cleanups.
12064 * malloc/hooks.c: Likewise.
12065
400aa020
UD
12066 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12067 * stdlib/bug-fmtmsg1.c: New file.
12068
12069 * stdlib/fmtmsg.c (init): Add missing unlock.
12070 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12071
e0a309cf
MP
120722012-01-12 Marek Polacek <polacek@redhat.com>
12073
12074 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12075 and _GNU_SOURCE.
12076
929d11c7
WS
120772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12078
12079 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12081 macro to ensure uniqueness of label name.
12082 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12083 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12084
41d0e869
UD
120852012-01-11 Ulrich Drepper <drepper@gmail.com>
12086
0cc5ed3b
UD
12087 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12088
41d0e869
UD
12089 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12091 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12093
a47a831a
UD
120942012-01-10 Ulrich Drepper <drepper@gmail.com>
12095
daa891c0
UD
12096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12097
12098 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12099 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12101
e58ef0f2
UD
12102 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12103
a47a831a 12104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12105 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12108
12109 * math/bits/math-finite.h: Add ldexp support.
12110
a0bfc9c7
MP
121112012-01-10 Marek Polacek <polacek@redhat.com>
12112
12113 * locale/programs/localedef.h (show_archive_content): Add noreturn
12114 attribute.
12115
d6e97a1d
UD
121162012-01-09 Ulrich Drepper <drepper@gmail.com>
12117
12118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12119
d5835c26
UD
121202012-01-08 Ulrich Drepper <drepper@gmail.com>
12121
e5f484c6
UD
12122 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12123
d5835c26
UD
12124 * io/Makefile (headers): Add bits/poll2.h.
12125
d1f741e9
WS
121262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12127
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12129 typo #include statement.
12130
ec09c1c4
UD
121312012-01-08 Ulrich Drepper <drepper@gmail.com>
12132
12133 * include/sys/cdefs.h: Define __attribute_alloc_size.
12134 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12135 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12136 * elf/pldd.c: Likewise.
12137 * iconv/iconv_charmap.c: Likewise.
12138 * iconv/iconvconfig.c: Likewise.
12139 * iconv/strtab.c: Likewise.
12140 * locale/programs/locale.c: Likewise.
12141 * locale/programs/localedef.h: Likewise.
12142 * locale/programs/simple-hash.c: Likewise.
12143 * nscd/nscd.h: Likewise.
12144 * nss/makedb.c: Likewise.
12145 * sysdeps/generic/ldconfig.h: Likewise.
12146 * locale/programs/localedef.c: Remove xmalloc prototype.
12147 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12148
20b38e03
PP
121492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12150
12151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12152 appropriate.
12153
a0da5fe1
UD
121542012-01-08 Ulrich Drepper <drepper@gmail.com>
12155
1d5a644a 12156 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12157 * math/tst-CMPLX.c: New file.
1d5a644a 12158
8784a6db
UD
12159 * math/complex.h (CMPLXL): Fix typo.
12160
d9a216c0
UD
12161 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12162 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12163 GLIBC_2.16.
12164 * debug/tst-chk1.c: Add poll and ppoll tests.
12165 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12166 * include/sys/poll.h: Add hidden proto for ppoll.
12167 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12168 * sysdeps/mach/hurd/ppoll.c: Likewise.
12169 * io/ppoll.c: Likewise.
12170 * debug/poll_chk.c: New file.
12171 * debug/ppoll_chk.c: New file.
12172 * include/bits/poll2.h: New file.
12173 * io/bits/poll2.h: New file.
12174
ac097f5c
UD
12175 [BZ #1350]
12176 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12177
2119dcfa
UD
12178 * configure.in: static is always set to yes. Remove.
12179 * config.make.in: Don't set build-static.
12180 * Makeconfig: Remove use of build-static.
12181 * dlfcn/Makefile: Likewise.
12182 * elf/Makefile: Likewise.
12183 * math/Makefile: Likewise.
12184 * misc/Makefile: Likewise.
12185 * nptl/Makefile: Likewise.
12186 * sysdeps/mach/hurd/Makefile: Likewise.
12187
121766a9
UD
12188 * configure.in: PWD_P is not used anymore.
12189 * config.make.in: Remove PWD_P entry.
12190
51a1d39c 12191 * configure.in: Remove last remnants of RANLIB.
8720d066 12192 No need to check for signed size_t anymore.
215f4bdc
UD
12193 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12194 and IA-64.
3857022a 12195 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12196 * aclocal.m4: Likewise.
12197
d3ed7225
UD
12198 * wcsmbs/mbrtoc16.c: Implement using towc function.
12199 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12200 * wcsmbs/wcsmbsload.c: Likewise.
12201 * iconv/gconv_simple.c: Likewise.
12202 * iconv/gconv_int.h: Likewise.
12203 * iconv/gconv_builtin.h: Likewise.
12204 * iconv/iconv_prog.c: Remove CHAR16 handling.
12205
12206 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12207
12208 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12209
a0da5fe1
UD
12210 * configure.in: Remove --with-elf and --enable-bounded options.
12211 Dont set base_machine for ia64. More non-ELF conditions removed.
12212 Remove testing and setting of leading underscore information.
12213 * config.make.in (build-bounded): Set to no.
12214 * config.h.in: Remove NO_UNDERSCORES entry.
12215 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12216 them.
12217 * csu/start.c: Remove !NO_UNDERSCORE code.
12218 * locale/localeinfo.h: Likewise.
12219 * sysdeps/generic/machine-gmon.h: Likewise.
12220 * sysdeps/generic/sysdep.h: Likewise.
12221 * sysdeps/i386/sysdep.h: Likewise.
12222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12223 * sysdeps/mach/sysdep.h: Likewise.
12224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12226 * sysdeps/sh/sysdep.h: Likewise.
12227 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12228 * sysdeps/unix/i386/sysdep.S: Likewise.
12229 * sysdeps/unix/sparc/start.c: Likewise.
12230 * sysdeps/unix/sparc/sysdep.S: Likewise.
12231 * sysdeps/unix/sparc/sysdep.h: Likewise.
12232 * sysdeps/unix/start.c: Likewise.
12233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12234 * sysdeps/x86_64/sysdep.h: Likewise.
12235
df78418a
UD
122362012-01-07 Ulrich Drepper <drepper@gmail.com>
12237
a784e502
UD
12238 [BZ #13553]
12239 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12240 for non-gcc.
12241 * argp/argp-fmtstream.h: Use const instead __const.
12242 * argp/argp.h: Likewise.
12243 * assert/assert.h: Likewise.
12244 * bits/fenv.h: Likewise.
12245 * bits/sched.h: Likewise.
12246 * bits/sigset.h: Likewise.
12247 * bits/sigthread.h: Likewise.
12248 * catgets/nl_types.h: Likewise.
12249 * conform/data/pthread.h-data: Likewise.
12250 * crypt/crypt-private.h: Likewise.
12251 * crypt/crypt.h: Likewise.
12252 * crypt/crypt_util.c: Likewise.
12253 * ctype/ctype.h: Likewise.
12254 * debug/execinfo.h: Likewise.
12255 * debug/mbsnrtowcs_chk.c: Likewise.
12256 * debug/mbsrtowcs_chk.c: Likewise.
12257 * debug/wcsnrtombs_chk.c: Likewise.
12258 * debug/wcsrtombs_chk.c: Likewise.
12259 * debug/wcstombs_chk.c: Likewise.
12260 * dirent/dirent.h: Likewise.
12261 * dlfcn/dlfcn.h: Likewise.
12262 * elf/neededtest4.c: Likewise.
12263 * grp/grp.h: Likewise.
12264 * gshadow/gshadow.h: Likewise.
12265 * iconv/gconv.h: Likewise.
12266 * iconv/gconv_int.h: Likewise.
12267 * iconv/gconv_simple.c: Likewise.
12268 * iconv/iconv.h: Likewise.
12269 * iconv/loop.c: Likewise.
12270 * iconv/skeleton.c: Likewise.
12271 * include/aio.h: Likewise.
12272 * include/aliases.h: Likewise.
12273 * include/argz.h: Likewise.
12274 * include/arpa/inet.h: Likewise.
12275 * include/assert.h: Likewise.
12276 * include/dirent.h: Likewise.
12277 * include/dlfcn.h: Likewise.
12278 * include/execinfo.h: Likewise.
12279 * include/fcntl.h: Likewise.
12280 * include/fenv.h: Likewise.
12281 * include/glob.h: Likewise.
12282 * include/grp.h: Likewise.
12283 * include/libintl.h: Likewise.
12284 * include/mntent.h: Likewise.
12285 * include/netdb.h: Likewise.
12286 * include/pwd.h: Likewise.
12287 * include/rpc/netdb.h: Likewise.
12288 * include/sched.h: Likewise.
12289 * include/search.h: Likewise.
12290 * include/shadow.h: Likewise.
12291 * include/signal.h: Likewise.
12292 * include/stdio.h: Likewise.
12293 * include/stdlib.h: Likewise.
12294 * include/string.h: Likewise.
12295 * include/sys/socket.h: Likewise.
12296 * include/sys/stat.h: Likewise.
12297 * include/sys/statfs.h: Likewise.
12298 * include/sys/statvfs.h: Likewise.
12299 * include/sys/syslog.h: Likewise.
12300 * include/sys/time.h: Likewise.
12301 * include/sys/uio.h: Likewise.
12302 * include/time.h: Likewise.
12303 * include/unistd.h: Likewise.
12304 * include/utmp.h: Likewise.
12305 * include/wchar.h: Likewise.
12306 * include/wctype.h: Likewise.
12307 * inet/aliases.h: Likewise.
12308 * inet/arpa/inet.h: Likewise.
12309 * inet/netinet/ether.h: Likewise.
12310 * inet/netinet/in.h: Likewise.
12311 * intl/libintl.h: Likewise.
12312 * io/bits/fcntl2.h: Likewise.
12313 * io/fcntl.h: Likewise.
12314 * io/ftw.h: Likewise.
12315 * io/sys/poll.h: Likewise.
12316 * io/sys/stat.h: Likewise.
12317 * io/sys/statfs.h: Likewise.
12318 * io/sys/statvfs.h: Likewise.
12319 * io/utime.h: Likewise.
12320 * libio/bits/stdio.h: Likewise.
12321 * libio/bits/stdio2.h: Likewise.
12322 * libio/libio.h: Likewise.
12323 * libio/libioP.h: Likewise.
12324 * libio/stdio.h: Likewise.
12325 * locale/lc-ctype.c: Likewise.
12326 * locale/locale.h: Likewise.
12327 * login/utmp.h: Likewise.
12328 * malloc/arena.c: Likewise.
12329 * malloc/malloc.c: Likewise.
12330 * malloc/malloc.h: Likewise.
12331 * malloc/mcheck.c: Likewise.
12332 * malloc/mtrace.c: Likewise.
12333 * math/bits/mathcalls.h: Likewise.
12334 * math/fenv.h: Likewise.
12335 * math/math_private.h: Likewise.
12336 * misc/bits/error.h: Likewise.
12337 * misc/bits/syslog.h: Likewise.
12338 * misc/err.h: Likewise.
12339 * misc/error.h: Likewise.
12340 * misc/fstab.h: Likewise.
12341 * misc/mntent.h: Likewise.
12342 * misc/regexp.h: Likewise.
12343 * misc/search.h: Likewise.
12344 * misc/sgtty.h: Likewise.
12345 * misc/sys/mman.h: Likewise.
12346 * misc/sys/syslog.h: Likewise.
12347 * misc/sys/uio.h: Likewise.
12348 * misc/sys/xattr.h: Likewise.
12349 * misc/ttyent.h: Likewise.
12350 * nis/rpcsvc/ypclnt.h: Likewise.
12351 * nss/nss.h: Likewise.
12352 * posix/bits/unistd.h: Likewise.
12353 * posix/fnmatch.h: Likewise.
12354 * posix/glob.h: Likewise.
12355 * posix/sched.h: Likewise.
12356 * posix/spawn.h: Likewise.
12357 * posix/sys/wait.h: Likewise.
12358 * posix/unistd.h: Likewise.
12359 * posix/wordexp.h: Likewise.
12360 * pwd/pwd.h: Likewise.
12361 * resolv/netdb.h: Likewise.
12362 * resource/sys/resource.h: Likewise.
12363 * rt/aio.h: Likewise.
12364 * rt/bits/mqueue2.h: Likewise.
12365 * rt/mqueue.h: Likewise.
12366 * shadow/shadow.h: Likewise.
12367 * signal/signal.h: Likewise.
12368 * socket/send.c: Likewise.
12369 * socket/sendto.c: Likewise.
12370 * socket/sys/socket.h: Likewise.
12371 * stdio-common/printf.h: Likewise.
12372 * stdlib/bits/stdlib.h: Likewise.
12373 * stdlib/fmtmsg.h: Likewise.
12374 * stdlib/monetary.h: Likewise.
12375 * stdlib/stdlib.h: Likewise.
12376 * stdlib/ucontext.h: Likewise.
12377 * streams/stropts.h: Likewise.
12378 * string/argz.h: Likewise.
12379 * string/bits/string2.h: Likewise.
12380 * string/string.h: Likewise.
12381 * string/strings.h: Likewise.
12382 * sunrpc/rpc/auth.h: Likewise.
12383 * sunrpc/rpc/auth_des.h: Likewise.
12384 * sunrpc/rpc/clnt.h: Likewise.
12385 * sunrpc/rpc/netdb.h: Likewise.
12386 * sunrpc/rpc/pmap_clnt.h: Likewise.
12387 * sunrpc/rpc/xdr.h: Likewise.
12388 * sysdeps/generic/inttypes.h: Likewise.
12389 * sysdeps/generic/net/if.h: Likewise.
12390 * sysdeps/generic/sys/swap.h: Likewise.
12391 * sysdeps/gnu/net/if.h: Likewise.
12392 * sysdeps/gnu/utmpx.h: Likewise.
12393 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12394 * sysdeps/i386/i486/bits/string.h: Likewise.
12395 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12396 * sysdeps/s390/bits/string.h: Likewise.
12397 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12398 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12399 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12400 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12401 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12402 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12403 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12405 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12406 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12407 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12408 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12409 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12410 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12411 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12412 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12425 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12427 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12428 * sysvipc/sys/ipc.h: Likewise.
12429 * sysvipc/sys/msg.h: Likewise.
12430 * sysvipc/sys/sem.h: Likewise.
12431 * sysvipc/sys/shm.h: Likewise.
12432 * termios/termios.h: Likewise.
12433 * time/sys/time.h: Likewise.
12434 * time/time.h: Likewise.
12435 * wcsmbs/bits/wchar2.h: Likewise.
12436 * wcsmbs/uchar.h: Likewise.
12437 * wcsmbs/wchar.h: Likewise.
12438 * wctype/wctype.h: Likewise.
12439
0269750c
UD
12440 [BZ #13551]
12441 * Makeconfig: Remove all but ELF support including AIX support.
12442 * Makerules: Likewise.
12443 * config.h.in: Likewise.
12444 * config.make.in: Likewise.
12445 * configure: Likewise.
12446 * configure.in: Likewise.
12447 * csu/Makefile: Likewise.
12448 * csu/version.c: Likewise.
12449 * debug/Makefile: Likewise.
12450 * dlfcn/Makefile: Likewise.
12451 * elf/Makefile: Likewise.
12452 * extra-lib.mk: Likewise.
12453 * iconv/Makefile: Likewise.
12454 * include/libc-symbols.h: Likewise.
12455 * include/shlib-compat.h: Likewise.
12456 * resolv/Makefile: Likewise.
12457 * resolv/res_libc.c: Likewise.
12458 * rt/Makefile: Likewise.
12459 * sysdeps/i386/asm-syntax.h: Likewise.
12460 * sysdeps/i386/sysdep.h: Likewise.
12461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12462 * sysdeps/mach/sysdep.h: Likewise.
12463 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12464 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12465 * sysdeps/s390/asm-syntax.h: Likewise.
12466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12468 * sysdeps/sh/sysdep.h: Likewise.
12469 * sysdeps/unix/sparc/sysdep.h: Likewise.
12470 * sysdeps/wordsize-32/divdi3.c: Likewise.
12471 * sysdeps/x86_64/sysdep.h: Likewise.
12472
00bbd29b
UD
12473 * argp/Versions: Remove _argp_unlock_xxx.
12474
12475 [BZ #13559]
12476 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12477 * abilist/libBrokenLocale.abilist: Likewise.
12478 * abilist/libanl.abilist: Likewise.
12479 * abilist/libc.abilist: Likewise.
12480 * abilist/libcrypt.abilist: Likewise.
12481 * abilist/libdl.abilist: Likewise.
12482 * abilist/libm.abilist: Likewise.
12483 * abilist/libnsl.abilist: Likewise.
12484 * abilist/libpthread.abilist: Likewise.
12485 * abilist/libresolv.abilist: Likewise.
12486 * abilist/librt.abilist: Likewise.
12487 * abilist/libthread_db.abilist: Likewise.
12488 * abilist/libutil.abilist: Likewise.
12489 * abilist/libnss_db.abilist: New file.
12490
12491 * scripts/abilist.awk: Add support for indirect functions.
12492
a2693a0e
UD
12493 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12494
3f05895f
UD
12495 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12496
ecb6fb48
UD
12497 * shlib-versions: Remove entries for ports architectures.
12498
664f8cb9
UD
12499 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12500 files in ports.
12501 * elf/stackguard-macros.h: Remove support for IA-64.
12502 * elf/tst-auditmod1.c: Likewise.
12503 * sysdeps/generic/ldsodefs.h: Likewise.
12504
7ae81d88
UD
12505 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12506 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12507 configure files.
12508
bdeba135
UD
12509 [BZ #13552]
12510 * configure.in: Remove --enable-omitfp support.
12511 * FAQ.in: Adjust.
12512 * config.make.in: Likewise.
12513 * Makeconfig: Likewise.
12514 * manual/install.texi: Likewise.
12515
d75a0a62
UD
12516 In case anyone cares, the IA-64 architecture could move to ports.
12517 * sysdeps/ia64/*: Removed.
12518 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12519 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12520
dcc9756b
UD
12521 [BZ #13555]
12522 * configure.in: Remove entries for unsupported architectures.
12523
d3761ebc 12524 [BZ #13533]
9954432e
UD
12525 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12526 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12527 routines.
12528 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12529 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12530 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12531 fall back to using wcrtomb.
12532 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12533 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12534 renaming.
12535 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12536 * wcsmbs/tst-c16c32-1.c: New file.
12537
12538 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12539 local variable.
12540
c3a87236
UD
12541 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12542
28926a1b
UD
12543 * elf/tst-unique3.cc: Add explicit declaration of gets.
12544 * elf/tst-unique3lib.cc: Likewise.
12545 * elf/tst-unique3lib2.cc: Likewise.
12546 * elf/tst-unique4.cc: Likewise.
12547
df78418a
UD
12548 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12549
8ecd6b2a
JM
125502012-01-06 Joseph Myers <joseph@codesourcery.com>
12551
12552 [BZ #13566]
12553 * assert/assert.h (static_assert): Don't define for C++.
12554 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12555 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12556
9f115170
UD
125572012-01-03 Ulrich Drepper <drepper@gmail.com>
12558
5e0d0300
UD
12559 * iconv/loop.c (single loop): Fix assertion in storing of
12560 remaining bytes.
12561
9f115170
UD
12562 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12563
81fb02b0
UD
125642012-01-01 Ulrich Drepper <drepper@gmail.com>
12565
12566 * posix/getconf.c: Update copyright year.
12567 * nss/getent.c: Likewise.
a316c1f6 12568 * nss/makedb.c: Likewise.
81fb02b0
UD
12569 * iconv/iconvconfig.c: Likewise.
12570 * iconv/iconv_prog.c: Likewise.
12571 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12572 * elf/pldd.c: Likewise.
12573 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12574 * catgets/gencat.c: Likewise.
12575 * csu/version.c: Likewise.
12576 * elf/ldd.bash.in: Likewise.
12577 * elf/sprof.c (print_version): Likewise.
12578 * locale/programs/locale.c: Likewise.
12579 * locale/programs/localedef.c: Likewise.
a316c1f6 12580 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12581 * nscd/nscd.c (print_version): Likewise.
12582 * debug/xtrace.sh: Likewise.
12583 * malloc/memusage.sh: Likewise.
12584 * malloc/mtrace.pl: Likewise.
12585 * debug/catchsegv.sh: Likewise.
12586
2ba92745
JJ
125872011-12-30 Jakub Jelinek <jakub@redhat.com>
12588
12589 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12590 pure attribute.
12591
dadebdae
UD
125922011-12-24 Ulrich Drepper <drepper@gmail.com>
12593
d3761ebc 12594 [BZ #13533]
db6af3eb
UD
12595 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12596 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12597 transformations.
12598 * iconv/gconv_int.h: Likewise.
12599 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12600 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12601 from libc for GLIBC_2.16.
12602 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12603 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12604 * wcsmbs/uchar.h: Really define mbstate_t.
12605 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12606 * wcsmbs/c16rtomb.c: New file.
12607 * wcsmbs/mbrtoc16.c: New file.
12608 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12609 for C/POSIX locale.
12610 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12611 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12612
dadebdae
UD
12613 * wcsmbs/wchar.h: Add missing __restrict.
12614
67371b56
UD
126152011-12-23 Ulrich Drepper <drepper@gmail.com>
12616
74033a25
UD
12617 [BZ #13532]
12618 * time/Makefile (routines): Add timespec_get.
12619 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12620 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12621 timespec for ISO C11.
12622 * time/timespec_get.c: New file.
12623 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12624 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12625
380d7e87
UD
12626 [BZ #13531]
12627 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12628 * stdlib/stdlib.h: Declare aligned_alloc.
12629 * Versions.def: Add GLIBC_2.16 for libc.
12630 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12631
4e9e7a35
UD
12632 [BZ 13527]
12633 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12634 ISO C11.
12635
380d7e87 12636 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12637 code.
12638
03a71829
UD
12639 [BZ #13528]
12640 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12641
839e283e
UD
12642 [BZ #13529]
12643 * assert/assert.h (static_assert): Define.
12644
ce5294e2 12645 * version.h: Update for 2.16 development version.
90fa7312 12646
8d44e150 12647 [BZ #13526]
d7809905
UD
12648 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12649 _ISOC11_SOURCE.
12650
c0da14cd
UD
12651 * version.h (RELEASE): Bump for 2.15 release.
12652 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12653
530a3249
MP
12654 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12655 Patch by Marek Polacek <mpolacek@redhat.com>.
12656
67371b56
UD
12657 * bits/byteswap.h: Protect long long constants with __extension__.
12658 * sysdeps/i386/bits/byteswap.h: Likewise.
12659 * sysdeps/ia64/bits/byteswap.h: Likewise.
12660 * sysdeps/s390/bits/byteswap.h: Likewise.
12661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12662
15db4de1
LD
126632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12664
12665 [BZ #13540]
bbe315ea
LD
12666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12667 destination buffer.
15db4de1
LD
12668 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12669
2b2596b1
MP
126702011-12-23 Marek Polacek <polacek@redhat.com>
12671
12672 * elf/dl-addr.c (determine_info): Add inline keyword.
12673 * elf/tst-auditmod4b.c (check_avx): Likewise.
12674 * elf/tst-auditmod6b.c (check_avx): Likewise.
12675 * elf/tst-auditmod6c.c (check_avx): Likewise.
12676 * elf/tst-auditmod7b.c (check_avx): Likewise.
12677
70c6c246
UD
126782011-12-23 Ulrich Drepper <drepper@gmail.com>
12679
12680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12681 !__SSE_MATH__.
12682
c044cf14
LD
126832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12684
15db4de1 12685 [BZ #13540]
c044cf14
LD
12686 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12687 processing for last bytes.
12688
6b13d9d9
BH
126892011-08-06 Bruno Haible <bruno@clisp.org>
12690
d455f537
BH
12691 [BZ #13061]
12692 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12693 U+0385, not to U+1FEE.
12694
6b13d9d9
BH
12695 [BZ #13062]
12696 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12697 entry for U+00A5 U+0301.
12698
db910efd
UD
126992011-12-22 Ulrich Drepper <drepper@gmail.com>
12700
27deeafc
UD
12701 [BZ #13166]
12702 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12703 buffer for the output is too small.
12704
aed9d171
UD
12705 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12706 optimization.
12707
db910efd
UD
12708 [BZ #13185]
12709 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12710 SSE flags if possible.
12711
2bd779ae
LD
127122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12713
e7f9dac3 12714 [BZ #13540]
2bd779ae
LD
12715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12716 processing for last bytes.
12717
154bfc16
JM
127182011-12-22 Joseph Myers <joseph@codesourcery.com>
12719
12720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12721 (syscall-list-default-options, syscall-list-default-condition)
12722 (syscall-list-includes): Define.
12723 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12724 list of ABIs and options and #if conditions for each ABI. Do not
12725 handle common syscalls between ABIs specially.
12726 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12727 Remove.
12728 (syscall-list-variants, syscall-list-32bit-options)
12729 (syscall-list-32bit-condition, syscall-list-64bit-options)
12730 (syscall-list-64bit-condition): Define.
12731 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12732 (syscall-list-variants, syscall-list-32bit-options)
12733 (syscall-list-32bit-condition, syscall-list-64bit-options)
12734 (syscall-list-64bit-condition): Define.
12735 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12736 Remove.
12737 (syscall-list-variants, syscall-list-32bit-options)
12738 (syscall-list-32bit-condition, syscall-list-64bit-options)
12739 (syscall-list-64bit-condition): Define.
12740 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12741 Remove.
12742 (syscall-list-variants, syscall-list-32bit-options)
12743 (syscall-list-32bit-condition, syscall-list-64bit-options)
12744 (syscall-list-64bit-condition): Define.
12745
21eaf3a5
UD
127462011-12-22 Ulrich Drepper <drepper@gmail.com>
12747
16c6f992
UD
12748 * locale/iso-639.def: Add brx entry.
12749
41043168
UD
12750 [BZ #13328]
12751 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12752 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12753
21eaf3a5
UD
12754 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12755 __feraiseexcept_renamed.
12756
e3a851a2
UD
127572011-12-21 Ulrich Drepper <drepper@gmail.com>
12758
4920765e
UD
12759 [BZ #13538]
12760 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12761 EPOLLET with unsigned values.
12762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12764
e3a851a2
UD
12765 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12766 to large cancellation.
12767 * math/s_cacoshf.c: Likewise.
12768 * math/s_cacoshl.c: Likewise.
12769
b27e24b8
RK
127702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12771
12772 [BZ #13305]
aebefeee 12773 [BZ #12786]
b27e24b8
RK
12774 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12775 * math/s_cacoshf.c: Likewise.
12776 * math/s_cacoshl.c: Likewise.
12777
ee190f67
UD
127782011-12-21 Ulrich Drepper <drepper@gmail.com>
12779
12780 [BZ #13439]
12781 * iconv/gconv.h: Define __GCONV_SWAP.
12782 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12783 * iconvdata/utf-16.c: Likewise.
12784 * iconvdata/utf-32.c: Likewise.
12785
707f25df
AS
127862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12787
12788 [BZ #13524]
12789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12790 numerator after shifting it by one limb.
12791
d2daaa1e
RÁE
127922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12793
12794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12795 under [__USE_EXTERN_INLINES].
12796
a4647e72
UD
127972011-12-17 Ulrich Drepper <drepper@gmail.com>
12798
12799 [BZ #13446]
12800 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12801
f0b264f1
AZ
128022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12803
12804 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12805 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12806 optimized code.
12807 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12808 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12809 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12810 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12811 for strncasecmp/strncasecmp_l compilation.
12812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12813 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12814
8ef4f244
MP
128152011-12-08 Marek Polacek <mpolacek@redhat.com>
12816
12817 [BZ #13484]
12818 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12819 of __asm__.
12820
97ac2654
UD
128212011-12-17 Ulrich Drepper <drepper@gmail.com>
12822
12823 [BZ #13506]
12824 * time/tzfile.c (__tzfile_read): Check values from file header.
12825
91d2a845
WS
128262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12827
12828 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12829 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12830 * powerpc/powerpc32/dl-start.S: Likewise.
12831 * powerpc/powerpc32/elf/start.S: Likewise.
12832 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12833 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12834 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12835 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12836 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12837 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12838 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12839 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12840 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12841 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12842 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12843 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12844 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12845 * powerpc/powerpc32/memset.S: Likewise.
12846 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12847 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12848 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12849 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12850 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12851 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12852 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12853 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12854 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12855 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12857 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12858 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12859
a1267ba1
AZ
128602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12861
12862 * math/libm-test.inc: Added more nearbyint tests.
12863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12867
ad8ac1bd
RL
128682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12869
12870 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12871 FD_CLOEXEC.
12872
1d3e4b61
UD
128732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12874
12875 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12876 Add wcscpy-ssse3 wcscpy-c.
12877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12878 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12879 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12880 * sysdeps/x86_64/wcschr.S: New file.
12881 * sysdeps/x86_64/wcsrchr.S: New file.
12882 * string/test-strcmp.c: Remove checking of wcscmp function for
12883 wrong alignments.
12884 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12885 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12886 wcsrchr-sse2 wcsrchr-c.
12887 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12888 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12889 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12890 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12891 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12892 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12893 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12894 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12896 * wcsmbc/wcschr.c (WCSCHR): New macro.
12897
5b330a2d
UD
128982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12899
12900 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12901 * wcsmbs/test-wcsrchr.c: New file.
12902 * string/test-strrchr.c: Add wcsrchr support.
12903 (WIDE): New macro.
12904 * wcsmbs/test-wcscpy.c: New file.
12905 * string/test-strcpy.c: Add wcscpy support.
12906 (WIDE): New macro.
26428b7c 12907
f039c043
UD
129082011-12-10 Ulrich Drepper <drepper@gmail.com>
12909
12910 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12911 the inner loop.
12912
850fb039
AS
129132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12914
12915 [BZ #13472]
12916 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12917
4efbd5cb
UD
129182011-12-04 Ulrich Drepper <drepper@gmail.com>
12919
52ff5dd0 12920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12921 Minor optimizations.
52ff5dd0 12922
4efbd5cb
UD
12923 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12924 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12925 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12926
8a426e12
UD
129272011-12-03 Ulrich Drepper <drepper@gmail.com>
12928
aff2453d
UD
12929 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12930 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12931 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12932 for gcc to avoid warnings.
12933 * inet/Makefile (tests): Add tst-checks.
12934 * inet/tst-checks.c: New file.
12935
12936 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12937 warning.
12938
12939 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12940 __wmemcmp_sse2.
12941
12942 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12943 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12944
8a426e12
UD
12945 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12946
9bea3473
UD
129472011-12-02 Ulrich Drepper <drepper@gmail.com>
12948
3a965496
UD
12949 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12950 problem.
12951
9bea3473
UD
12952 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12953
f101631b
UD
129542011-11-29 Joseph Myers <joseph@codesourcery.com>
12955
12956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12957 conditional on GCC version.
12958 (__arch_compare_and_exchange_val_8_acq)
12959 (__arch_compare_and_exchange_val_16_acq)
12960 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12961 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12962 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12963
a98275aa
UD
129642011-12-02 Joseph Myers <joseph@codesourcery.com>
12965
12966 * sysdeps/sh/backtrace.c: New file.
12967
d4cc29a2
AS
129682011-12-02 Andreas Schwab <schwab@redhat.com>
12969
12970 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12971 parenthesis.
12972
6257af2d
AS
129732011-12-01 Andreas Schwab <schwab@redhat.com>
12974
12975 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12976 falling back to utime.
12977
b5f44c1a
AS
129782011-11-30 Andreas Schwab <schwab@redhat.com>
12979
12980 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12981 expectations for float.
12982
f3a6cc0a
AS
129832011-11-29 Andreas Schwab <schwab@redhat.com>
12984
12985 * locale/weight.h (findidx): Add parameter len.
12986 * locale/weightwc.h (findidx): Likewise.
12987 * posix/fnmatch_loop.c (FCT): Adjust caller.
12988 * posix/regcomp.c (build_equiv_class): Likewise.
12989 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12990 * posix/regexec.c (check_node_accept_bytes): Likewise.
12991 * string/strcoll_l.c (STRCOLL): Likewise.
12992 * string/strxfrm_l.c (STRXFRM): Likewise.
12993
9d65ea3a
UD
129942011-11-17 Ulrich Drepper <drepper@gmail.com>
12995
12996 * Makefile.in: Remove CVSOPT handling.
12997 * configure.in: Remove use of AC_REVISION.
12998 * iconvdata/Makefile (distribute): No need to filter out CVS.
12999 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13000 handling.
13001
5583a086
AS
130022011-11-16 Andreas Schwab <schwab@redhat.com>
13003
13004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13005 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13006 [USE_AS_STRNCASECMP_L]: Likewise.
13007 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13008 NO_TLS_DIRECT_SEG_REFS.
13009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13010 Fix argument offsets for non-PIC.
13011 [USE_AS_STRNCASECMP_L]: Likewise.
13012 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13013 NO_TLS_DIRECT_SEG_REFS.
13014
d62a8200
UD
130152011-11-15 Ulrich Drepper <drepper@gmail.com>
13016
9d65ea3a 13017 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13018 O_CLOEXEC.
13019 * locale/loadlocale.c (_nl_load_locale): Likewise.
13020
09f93bd3
AS
130212011-11-15 Andreas Schwab <schwab@redhat.com>
13022
446514f9
AS
13023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13024 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13026 (SYSCALL_GETTIME): Set errno on error.
13027
09f93bd3
AS
13028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13029 count references to noai6ai_cached.
13030
312be3f9
UD
130312011-11-15 Ulrich Drepper <drepper@gmail.com>
13032
13033 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13034
13035 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13036 FD_CLOEXEC for /proc/self/maps.
13037
13038 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13039 FD_CLOEXEC for /proc/meminfo.
13040
13041 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13042 gai.conf.
13043
13044 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13045 FD_CLOEXEC for given file.
13046
13047 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13048
13049 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13050 FD_CLOEXEC for /etc/hosts.
13051 (_gethtent): Likewise.
13052
13053 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13054
13055 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13056 cancellation and set FD_CLOEXEC for /etc/netgroup.
13057
13058 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13059 reading /etc/publickey.
13060
13061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13062 allow cancellation when reading /etc/group.
13063
13064 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13065 cancellation.
13066 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13067
13068 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13069 when using data file.
13070
13071 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13072
13073 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13074 (write_nis_obj): Use "c" and "e" in fopen.
13075
13076 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13077
13078 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13079
13080 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13081
13082 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13083
13084 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13085 locale.alias.
13086
13087 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13088
13089 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13090
13091 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13092
13093 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13094 file parsing and set FD_CLOEXEC.
13095
82af0fa8
UD
130962011-11-14 Ulrich Drepper <drepper@gmail.com>
13097
13098 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13099
a5fb313c
AS
131002011-11-14 Andreas Schwab <schwab@redhat.com>
13101
13102 * malloc/arena.c (arena_get2): Don't call reused_arena when
13103 _int_new_arena failed.
13104
6abf3465
UD
131052011-11-14 Ulrich Drepper <drepper@gmail.com>
13106
13107 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13108 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13109 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13113 to compile strcasecmp and strncasecmp.
13114 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13115 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13116
13117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13118
76e3966e
UD
131192011-11-13 Ulrich Drepper <drepper@gmail.com>
13120
13121 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13122 locale-defines.sym to gen-as-const-headers.
13123 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13124 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13126 to compile strcasecmp and strncasecmp.
13127 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13128 strcasecmp_l and strncasecmp_l.
13129 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13130 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13131 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13133 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13135 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13136 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13137 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13138 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13139 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13140
ab26144e
UD
131412011-11-12 Ulrich Drepper <drepper@gmail.com>
13142
7edb22ef
UD
13143 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13144 result of SYSDEP_GETTIME_CPU to retval.
13145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13146 parameter list to macro. Remove trailing semicolon. Adjust users.
13147
9694fc44
UD
13148 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13149 variable.
13150
8ad89ef8
UD
13151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13152 mantissa words.
13153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13154
0c822ef9
UD
13155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13156 from unused variable.
13157
874e0564
UD
13158 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13159 DWARF definitions.
13160 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13161 for assembling.
13162
3a2edc79
UD
13163 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13164 over namespaces.
13165
f3c2577f
UD
13166 * sunrpc/rpc_prot.c (rejected): Fix case value.
13167
294ce126
UD
13168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13169 unsigned long long int to avoid warnings in shift.
13170
5e2b63c6
UD
13171 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13172 of use of trans.
13173 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13174 variable tmp.
13175
e7f4b08e
UD
13176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13177 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13178 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13179
ab26144e
UD
13180 * nis/nis_table.c (nis_list): Use variable of correct type for
13181 result of __follow_path call.
13182
8a6d5255
AZ
131832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13184
13185 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13186 of math functions ceil, trunc, floor, round, and sqrt, when
13187 avaliable on the platform.
13188 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13189 name clash.
13190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13193
aaddc98c
MP
131942011-10-30 Marek Polacek <mpolacek@redhat.com>
13195
13196 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13198
95b7042b
RM
131992011-11-11 Roland McGrath <roland@hack.frob.com>
13200
13201 * include/unistd.h: Fix __readlink return type.
13202 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13203
57769839
UD
132042011-11-11 Ulrich Drepper <drepper@gmail.com>
13205
13206 * stdlib/ucontext.h: Undo last change for makecontext.
13207
edc5984d
AS
132082011-11-11 Andreas Schwab <schwab@redhat.com>
13209
98591e58
AS
13210 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13211
edc5984d
AS
13212 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13213 * setjmp/setjmp.h: Mark functions as non-leaf.
13214 * setjmp/bits/setjmp2.h: Likewise.
13215 * stdlib/ucontext.h: Likewise.
13216
77cdc054
AS
132172011-11-10 Andreas Schwab <schwab@redhat.com>
13218
13219 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13220 (reused_arena): Don't check arena limit.
13221 (arena_get2): Atomically check arena limit.
13222
fe72eebd
UD
132232011-11-08 Ulrich Drepper <drepper@gmail.com>
13224
5f078c32
UD
13225 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13226 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13227
fe72eebd
UD
13228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13229 instructions.
13230
ae1bc2fa
AS
132312011-11-07 Andreas Schwab <schwab@redhat.com>
13232
7583a88d
AS
13233 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13234 handler when locking.
13235
ae1bc2fa
AS
13236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13237 Fix size of allocated buffer.
13238
10fb0bfa
AS
132392011-11-04 Andreas Schwab <schwab@redhat.com>
13240
998832a4
AS
13241 [BZ #10103]
13242 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13243 declarations for long double functions.
13244 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13245
10fb0bfa
AS
13246 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13247
3d7ba52b
AS
132482011-11-03 Andreas Schwab <schwab@redhat.com>
13249
a9ae54a1
AS
13250 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13251 installed.
13252
3d7ba52b
AS
13253 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13254 is disabled.
13255
bc8db248
ST
132562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13257
13258 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13259
45b96dd6
AS
132602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13261
647776f6
AS
13262 * include/alloca.h (stackinfo_alloca_round): Define.
13263 (extend_alloca): Use it.
13264 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13265 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13266 here.
13267
d91a8b93
AS
13268 * scripts/check-local-headers.sh: Ignore libaudit.h.
13269
45b96dd6
AS
13270 * nscd/Makefile (extra-objs): Make recursively expanded.
13271
432d41ce
UD
132722011-11-01 Ulrich Drepper <drepper@gmail.com>
13273
34372fc6
UD
13274 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13276
fadb59f8
UD
13277 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13278 * posix/tst-rfc3484-2.c: Likewise.
13279 * posix/tst-rfc3484-3.c: Likewise.
13280
78239589
UD
13281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13282 process_vm_writev.
13283 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13284 process_vm_writev.
13285 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13286 process_vm_writev from libc using GLIBC_2.15 version.
13287
432d41ce
UD
13288 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13289
02f9c6cf
PP
132902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13291
13292 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13293 stack usage.
13294
3a2c0242
UD
132952011-10-31 Ulrich Drepper <drepper@gmail.com>
13296
f4ec4833
UD
13297 [BZ #13367]
13298 * nss/getent.c (initgroups_keys): Show error message in case no group
13299 names are given.
13300
3a2c0242
UD
13301 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13302 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13303 __bump_nl_timestamp.
13304 * nscd/connections (nscd_init): When host database is served open
13305 netlink socket and request notification about configuration changes.
13306 (main_loop_poll): Track netlink file descriptor and bump timestamp
13307 in case data becomes available.
13308 (main_loop_epoll): Likewise.
13309 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13310 (database_pers_head): Add extra_data fileds.
13311 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13313 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13314 Adjust caller.
13315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13316 in6ai data, call __free_in6ai.
13317 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13318 Add -DHAVE_NETLINK.
13319 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13320 interface information. Reuse previous data if netlink timestamp
13321 is not changed.
13322 (__bump_nl_timestamp): New function.
13323 (__free_in6ai): New function.
13324
636064eb
UD
133252011-10-30 Ulrich Drepper <drepper@gmail.com>
13326
13327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13328 close_not_cancel_no_status here.
13329 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13330
9beb2334
UD
133312011-10-29 Ulrich Drepper <drepper@gmail.com>
13332
6ef76f3b
UD
13333 [BZ #13276]
13334 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13335 return value.
13336
0ffc4f3e 13337 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13338 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13339 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13340
cb95113e
UD
133412011-07-03 Andreas Jaeger <aj@suse.de>
13342
13343 [BZ #10709]
13344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13345 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13346 * math/libm-test.inc (sin_test): Add test case.
13347
a1b560ff
UD
133482011-10-29 Ulrich Drepper <drepper@gmail.com>
13349
c9aaface
UD
13350 [BZ #13337]
13351 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13353
d272e7f1
UD
13354 * elf/chroot_canon.c (chroot_canon): Cleanups.
13355
1bc33071
UD
13356 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13357
1760874d
TJ
13358 [BZ #13335]
13359 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13361
51d91b18
UD
13362 * string/test-strchr.c: Make usable for strchrnul testing.
13363 * string/test-strchrnul.c: New file.
13364 * string/Makefile (strop-tests): Add strchrnul.
13365
a1b560ff 13366 * po/it.po: Update from translation team.
b611fb81 13367 * po/es.po: Likewise.
a1b560ff 13368
a5b81e1f
UD
133692011-10-28 Ulrich Drepper <drepper@gmail.com>
13370
fd52bc6d
UD
13371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13372 the three constants needed as parameters. Drop the others.
13373 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13374 __m128i_strloadu_tolower.
52e4b9eb
UD
13375 Create and initialize variable zero and use it in all the places
13376 where _mm_setzero_si128 was used.
fd52bc6d 13377
a5b81e1f
UD
13378 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13379 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13380 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13382 anymore.
13383 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13386 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13388 __mpranred, __mptan.
13389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13393 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13394 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13397 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13398
b4343346
AS
133992011-10-28 Andreas Schwab <schwab@redhat.com>
13400
0c92d8a8
AS
13401 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13402 redefine if SHARED.
13403 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13404
b4343346
AS
13405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13406 wide char related routines to wcsmbs subdir.
13407
3871f58f
AS
134082011-10-27 Andreas Schwab <schwab@redhat.com>
13409
13410 [BZ #13344]
13411 * misc/sys/cdefs.h (__THROWNL): Define.
13412 * posix/unistd.h: Use __THREADNL instead of __THREAD
13413 for memory synchronization functions.
13414
94d44d9f
RM
134152011-10-26 Roland McGrath <roland@hack.frob.com>
13416
21b64b15 13417 [BZ #13349]
94d44d9f
RM
13418 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13419 doesn't exist.
13420 * manual/stdio.texi (Obstack Streams): Node removed.
13421
f6ce9294
AS
134222011-10-26 Andreas Schwab <schwab@redhat.com>
13423
80479147
AS
13424 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13427
f6ce9294
AS
13428 * math/math_private.h (math_force_eval): Allow non-addressable
13429 arguments.
13430 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13431
618280a1
UD
134322011-10-25 Ulrich Drepper <drepper@gmail.com>
13433
e0016b11
UD
13434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13435 file is not needed.
13436
13437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13444 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13445 Add AVX variants.
13446 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13447 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13448 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13449 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13450 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13452 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13456 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13457 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13459 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13463 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13464 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13465
13466 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13467 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13468
618280a1
UD
13469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13470 place. Use VEX encoding when compiling for AVX.
13471
37822576
AS
134722011-10-25 Andreas Schwab <schwab@redhat.com>
13473
1f1e1947
AS
13474 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13475 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13476
37822576
AS
13477 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13478
31ea014d
UD
134792011-10-25 Ulrich Drepper <drepper@gmail.com>
13480
d7826aa1 13481 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13482 useless if() expression.
d7826aa1
UD
13483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13492 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13498 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13502
31ea014d
UD
13503 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13504
16437fec
AS
135052011-10-25 Andreas Schwab <schwab@redhat.com>
13506
13507 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13508 condition.
13509 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13510
31d3cc00
UD
135112011-10-25 Ulrich Drepper <drepper@gmail.com>
13512
13513 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13514 .text section. Avoid duplicate constants.
13515 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13525 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13527 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13530 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13546 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13548 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13549 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13550 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13551 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13553 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13560
58985aa9
UD
135612011-10-24 Ulrich Drepper <drepper@gmail.com>
13562
202c9deb
UD
13563 * sysdeps/x86_64/dla.h: Move to ...
13564 * sysdeps/x86_64/fpu/dla.h: ...here.
13565 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13566 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13567
af968f62
UD
13568 * config.make.in: Add have-mfma4 entry.
13569 * configure.in: Substitute libc_cv_cc_fma4.
13570 * math/Makefile (dbl-only-routines): Add sincostab.
13571 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13572 Use __sincostab not sincos.
13573 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13574 name is a macro.
13575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13579 using __copysign.
13580 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13581 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13582 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13583 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13584 and __inv.
13585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13586 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13587 __copysign.
13588 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13589 define aliases when function name is a macro.
13590 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13591 sysdeps/ieee754/dbl-64/sincos.tbl.
13592 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13593 fma4-enabled routines.
13594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13595 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13596 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13597 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13599 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13604 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13606 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13607 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13609 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13610 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13611 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13612 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13614 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13624
58985aa9
UD
13625 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13626 rename.
13627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13635
a201fbcf
AS
136362011-10-24 Andreas Schwab <schwab@redhat.com>
13637
13638 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13639
fc2ee42a
LD
136402011-10-23 Ulrich Drepper <drepper@gmail.com>
13641
bb3129bd
UD
13642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13643
0275fff8
UD
13644 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13645 prediction.
13646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13647
2fa2ae85
UD
13648 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13649 Remove unused variable magic_bits.
13650 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13651
fc2ee42a
LD
13652 * string/strnlen.c: Define and use STRNLEN macro.
13653 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13654 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13656 * wcsmbs/wcslen.c: Define and use WCSLEN.
13657 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13658 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13659 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13660 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13661 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13662 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13663 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13664
ce7dd29f
LD
136652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13666
13667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13668 strnlen-sse2-no-bsf.
13669 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13671 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13672 Add strnlen support.
13673 (USE_AS_STRNLEN): New macro.
13674 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13675 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13676 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13677 * sysdeps/x86_64/wcslen.S: New file.
13678
979c70a3
MZ
136792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13680
13681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13682 XMM-moves are used for copying on small sizes.
13683
2d09f82f
LD
136842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13685
13686 * wcsmbs/Makefile (strop-tests): Add wcschr.
13687 * wcsmbs/test-wcschr.c: New file.
13688 * string/test-strchr.c: Update.
13689 Add wcschr support.
13690 (WIDE): New macro.
13691
619fccca
LD
136922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13693
2d09f82f 13694 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13695 * wcsmbs/test-wcslen.c: New file.
13696 * string/test-strlen.c: Update.
13697 Add wcslen support.
13698 (WIDE): New macro.
13699
09f699ea
UD
137002011-10-23 Ulrich Drepper <drepper@gmail.com>
13701
13702 * po/it.po: Update from translation team.
13703
95584d3b
LD
137042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13705
13706 * sysdeps/x86_64/wcscmp.S: Update.
13707 Fix wrong comparison semantics.
13708 wcscmp shall use signed comparison not unsigned.
13709 Don't use substraction to avoid overflow bug.
13710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13711 * wcsmbc/wcscmp.c: Likewise.
13712 * string/test-strcmp.c: Likewise.
13713 Add new tests to check cases with negative values.
13714
c8b3296b
UD
137152011-10-23 Ulrich Drepper <drepper@gmail.com>
13716
13717 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13718 * sysdeps/x86_64/dla.h: ...here. New file.
13719 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13728
246ad57a
AS
137292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13732 __ynl_finite aliases.
13733
a1a87169
UD
137342011-10-22 Ulrich Drepper <drepper@gmail.com>
13735
0d355eb7
UD
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13737
a1a87169
UD
13738 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13739 define DLA_FMA.
13740 [DLA_FMA] (EMULV): Use DLA_FMA.
13741 [DLA_FMA] (MUL12): Use EMULV.
13742 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13743 that are not needed.
13744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13751
ee2aafe0
AS
137522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13753
13754 * math/s_nan.c: Undef __nan.
13755 * math/s_nanf.c: Undef __nanf.
13756 * math/s_nanl.c: Undef __nanl.
13757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13758 "math_private.h".
13759
bc62c2fb
UD
137602011-10-22 Ulrich Drepper <drepper@gmail.com>
13761
77425c63
UD
13762 * math/s_catan.c: Add branch predictions.
13763 * math/s_catanf.c: Likewise.
13764 * math/s_catanh.c: Likewise.
13765 * math/s_catanhf.c: Likewise.
13766 * math/s_catanhl.c: Likewise.
13767 * math/s_catanl.c: Likewise.
13768 * math/s_cexp.c: Likewise.
13769 * math/s_cexpf.c: Likewise.
13770 * math/s_cexpl.c: Likewise.
13771 * math/s_clog.c: Likewise.
13772 * math/s_clog10.c: Likewise.
13773 * math/s_clog10f.c: Likewise.
13774 * math/s_clog10l.c: Likewise.
13775 * math/s_clogf.c: Likewise.
13776 * math/s_clogl.c: Likewise.
13777 * math/s_csqrt.c: Likewise.
13778 * math/s_csqrtf.c: Likewise.
13779 * math/s_csqrtl.c: Likewise.
13780 * math/s_ctanf.c: Likewise.
13781 * math/s_ctanh.c: Likewise.
13782 * math/s_ctanhf.c: Likewise.
13783 * math/s_ctanhl.c: Likewise.
13784 * math/s_ctanl.c: Likewise.
13785
bc62c2fb
UD
13786 * math/math_private.h: Define __nan, __nanf, __nanl.
13787 * math/s_cacosh.c: Include <math_private.h>.
13788 * math/s_cacoshl.c: Likewise.
13789 * math/s_casinh.c: Likewise.
13790 * math/s_casinhf.c: Likewise.
13791 * math/s_casinhl.c: Likewise.
13792 * math/s_ccos.c: Rely entire on ccosh.
13793 * math/s_ccosf.c: Rely entire on ccoshf.
13794 * math/s_ccosl.c: Rely entirely on ccoshl.
13795 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13796 Remove tests for FE_INVALID.
13797 * math/s_ccoshf.c: Likewise.
13798 * math/s_ccoshl.c: Likewise.
13799 * math/s_csin.c: Likewise.
13800 * math/s_csinf.c: Likewise.
13801 * math/s_csinh.c Likewise.
13802 * math/s_csinhf.c: Likewise.
13803 * math/s_csinhl.c: Likewise.
13804 * math/s_csinl.c: Likewise.
13805 * math/s_ctan.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13807 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13809
8ec250a4
UD
138102011-10-21 Ulrich Drepper <drepper@gmail.com>
13811
c196fed8
UD
13812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13813 compilation problems.
13814
8ec250a4
UD
13815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13816 __builtin_expect.
13817
8d4f46c6
UD
138182011-10-20 Ulrich Drepper <drepper@gmail.com>
13819
ed72b654
UD
13820 * sysdeps/i386/configure.in: Test for -mfma4 option.
13821 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13822 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13823 COMMON_CPUID_INDEX_80000001.
13824 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13825 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13826 use it if FMA3 is not supported.
13827 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13828
8d4f46c6
UD
13829 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13830 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13831
d45c60c2
AS
138322011-10-20 Andreas Schwab <schwab@redhat.com>
13833
13834 [BZ #12892]
13835 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13836 it would create a cycle with a link time dependency.
13837
d9a4d2ab
UD
138382011-10-19 Ulrich Drepper <drepper@gmail.com>
13839
855d1560
UD
13840 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13841 instruction.
13842 * string/Makefile (strop-tests): Add rawmemchr.
13843 * string/test-rawmemchr.c: New file.
13844
d9a4d2ab
UD
13845 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13847 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13848 when compiling str{,n}casecmp and when AVX is available. Hook up
13849 new optimized code in initializers.
13850
8f3b1ffe
AS
138512011-10-19 Andreas Schwab <schwab@redhat.com>
13852
13853 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13854 __feraiseexcept instead of feraiseexcept.
13855
d38f1dba
UD
138562011-10-18 Ulrich Drepper <drepper@gmail.com>
13857
d9a8d0ab
UD
13858 * math/math_private.h: Define defaults for libc_fetestexcept and
13859 libc_feupdateenv.
13860 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13865 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13866 libc_fetestexcept and libc_feupdateenv.
13867
4855e3dd
UD
13868 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13869 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13870 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13871 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13872 libc_feholdexcept_setround.
13873
581d30e3
UD
13874 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13875 Add s_nearbyint-c and s_nearbyintf-c.
13876 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13877 nearbyintf inlines.
13878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13881 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13882
d38f1dba
UD
13883 * math/math_private.h: Define defaults for libc_fegetround,
13884 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13885 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13886 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13888 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13889 standard functions.
13890 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13891 Remove comments and hacks for old compiler versions.
13892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13893 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13894 libc_feholdexceptl.
13895
caa6c9d8
AS
138962011-10-18 Andreas Schwab <schwab@redhat.com>
13897
13898 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13899 (__feraiseexcept_renamed): Add __NTH.
13900 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13901 namespace violations.
13902
97c066e6
UD
139032011-10-17 Ulrich Drepper <drepper@gmail.com>
13904
99ce7b04
UD
13905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13906
1004d182
UD
13907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13908
228a984d
UD
13909 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13910 recently added interfaces.
13911 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13912
c8553a6a
UD
13913 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13914 about macro parameter expansion.
13915
ed22dcf6
UD
13916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13917 __NO_MATH_INLINES is defined. Cleanups.
13918
13919 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13920 and __floorf is target has SSE4.1.
13921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13923 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13925
b171c137
UD
13926 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13927 name.
13928 (floorf): Likewise.
13929
97c066e6
UD
13930 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13931
629f62ef
AS
139322011-10-17 Andreas Schwab <schwab@redhat.com>
13933
49a43d80
AS
13934 * misc/sys/cdefs.h: Fix last change.
13935
629f62ef
AS
13936 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13937 database lookup.
13938
e453f6cd
UD
139392011-10-16 Ulrich Drepper <drepper@gmail.com>
13940
aa78043a
UD
13941 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13942
ad0f5cad
UD
13943 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13951 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13952 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13953 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13955 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13957 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13958 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13959 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13960 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13961 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13962 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13963 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13964 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13965
13966 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13967 ceil, ceilf, floor, floorf.
13968
13969 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13970 Perform IRELATIVE relocations last.
13971
e453f6cd
UD
13972 * elf/do-rel.h: Add another parameter nrelative, replacing the
13973 local variable with the same name. Change name of the function
13974 to end in Rel or Rela (uppercase).
13975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13976 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13977 elf_dynamic_do_##reloc function.
13978
fd5bdc09
UD
139792011-10-15 Ulrich Drepper <drepper@gmail.com>
13980
79b195b5
UD
13981 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13982 is sufficient, at least on modern CPUs.
13983
d4a28569
UD
13984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13985
b61099b5
UD
13986 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13987 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13988
bcf01e6d
UD
13989 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13990 __expl_finite.
13991 * math/bits/math-finite.h: Add entries for exp.
13992 * math/e_expl.c: Add __*_finite alias.
13993 * sysdeps/i386/fpu/e_exp.S: Likewise.
13994 * sysdeps/i386/fpu/e_expf.S: Likewise.
13995 * sysdeps/i386/fpu/e_expl.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14003
ba1a0d59
UD
14004 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14005 is sufficient, at least on modern CPUs.
14006
fd5bdc09
UD
14007 * ctype/ctype-info.c (__ctype_init): Define.
14008 * include/ctype.h (__ctype_init): Declare.
14009 (__ctype_b_loc): The variable is always initialized.
14010 (__ctype_toupper_loc): Likewise.
14011 (__ctype_tolower_loc): Likewise.
14012 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14013 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14014
7872cfb0
AS
140152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14016
b468825a
AS
14017 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14018
7872cfb0
AS
14019 * configure.in: Also look in $cxxmachine/include for C++ system
14020 headers.
14021
be13f7bf
LD
140222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14023
14024 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14025 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14026 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14027 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14029 (USE_AS_WMEMCMP): New macro.
14030 Fixing indents.
14031 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14032 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14033 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14034 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14036 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14037 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14039 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14040 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14042 (USE_AS_WMEMCMP): New macro.
14043 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14044 * sysdeps/string/test-memcmp.c: Update.
14045 Fix simple_wmemcmp.
14046 Add new tests.
14047 * wcsmbs/wmemcmp.c: Update.
14048 (WMEMCMP): New macro.
14049 Fix overflow bug.
14050
556a2007
AJ
140512011-10-12 Andreas Jaeger <aj@suse.de>
14052
14053 [BZ #13268]
14054 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14055
538faaa7
UD
140562011-10-15 Ulrich Drepper <drepper@gmail.com>
14057
ab6737ff
UD
14058 * libio/iofwide.c (do_length): Avoid warning.
14059
538faaa7
UD
14060 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14061
396a21b1
UD
140622011-10-14 Ulrich Drepper <drepper@gmail.com>
14063
cdf2901f
UD
14064 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14065
38ad40ce
UD
14066 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14067 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14068 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14069 * sysdeps/i386/i686/fpu/e_log.S: New file.
14070 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14071 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14072
396a21b1
UD
14073 * ctype/ctype.h: Add support for inlined isXXX functions when
14074 compiling C++ code.
14075
6b1f68c9
AS
140762011-10-14 Andreas Schwab <schwab@redhat.com>
14077
349290c0
AS
14078 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14079
6b1f68c9
AS
14080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14081
f2282d42
RM
140822011-10-13 Roland McGrath <roland@hack.frob.com>
14083
14084 [BZ #13291]
14085 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14086
5298ffa8
AS
140872011-10-13 Andreas Schwab <schwab@redhat.com>
14088
714fad23
AS
14089 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14090 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14091 feraiseexcept.
14092
81dcc7fb
AS
14093 * sysdeps/x86_64/memrchr.S: Check for zero size.
14094
5298ffa8
AS
14095 * string/stratcliff.c: Add memrchr tests.
14096
951fbcec
LD
140972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14098
14099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14100 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14101 rawmemchr-sse2 rawmemchr-sse2-bsf.
14102 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14103 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14104 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14105 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14106 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14107 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14108 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14109 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14111 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14112 * string/memrchr.c (MEMRCHR): New macro.
14113
0ac5ae23
UD
141142011-10-12 Ulrich Drepper <drepper@gmail.com>
14115
14116 Add integration with gcc's -ffinite-math-only and optimize wrapper
14117 functions in libm.
14118 * Versions.def: Define GLIBC_2.15 version for libm.
14119 * math/Makefile (headers): Add bits/math-finite.h.
14120 * math/bits/math-finite.h: New file.
14121 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14122 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14123 * math/e_acoshl.c: Add __*_finite alias.
14124 * math/e_acosl.c: Likewise.
14125 * math/e_asinl.c: Likewise.
14126 * math/e_atan2l.c: Likewise.
14127 * math/e_atanhl.c: Likewise.
14128 * math/e_coshl.c: Likewise.
14129 * math/e_exp10.c: Likewise.
14130 * math/e_exp10f.c: Likewise.
14131 * math/e_exp10l.c: Likewise.
14132 * math/e_exp2l.c: Likewise.
14133 * math/e_fmodl.c: Likewise.
14134 * math/e_gammal_r.c: Likewise.
14135 * math/e_hypotl.c: Likewise.
14136 * math/e_j0l.c: Likewise.
14137 * math/e_j1l.c: Likewise.
14138 * math/e_jnl.c: Likewise.
14139 * math/e_lgammal_r.c: Likewise.
14140 * math/e_log10l.c: Likewise.
14141 * math/e_log2l.c: Likewise.
14142 * math/e_logl.c: Likewise.
14143 * math/e_powl.c: Likewise.
14144 * math/e_sinhl.c: Likewise.
14145 * math/e_sqrtl.c: Likewise.
14146 * math/e_scalb.c: Completely rewritten and optimized.
14147 * math/e_scalbf.c: Likewise.
14148 * math/e_scalbl.c: Likewise.
14149 * math/w_acos.c: Likewise.
14150 * math/w_acosf.c: Likewise.
14151 * math/w_acosl.c: Likewise.
14152 * math/w_acosh.c: Likewise.
14153 * math/w_acoshf.c: Likewise.
14154 * math/w_acoshl.c: Likewise.
14155 * math/w_asin.c: Likewise.
14156 * math/w_asinf.c: Likewise.
14157 * math/w_asinl.c: Likewise.
14158 * math/w_atan2.c: Likewise.
14159 * math/w_atan2f.c: Likewise.
14160 * math/w_atan2l.c: Likewise.
14161 * math/w_atanh.c: Likewise.
14162 * math/w_atanhf.c: Likewise.
14163 * math/w_atanhl.c: Likewise.
14164 * math/w_exp10.c: Likewise.
14165 * math/w_exp10f.c: Likewise.
14166 * math/w_exp10l.c: Likewise.
14167 * math/w_fmod.c: Likewise.
14168 * math/w_fmodf.c: Likewise.
14169 * math/w_fmodl.c: Likewise.
14170 * math/w_j0.c: Likewise.
14171 * math/w_j0f.c: Likewise.
14172 * math/w_j0l.c: Likewise.
14173 * math/w_j1.c: Likewise.
14174 * math/w_j1f.c: Likewise.
14175 * math/w_j1l.c: Likewise.
14176 * math/w_jn.c: Likewise.
14177 * math/w_jnf.c: Likewise.
14178 * math/w_log.c: Likewise.
14179 * math/w_logf.c: Likewise.
14180 * math/w_logl.c: Likewise.
14181 * math/w_log10.c: Likewise.
14182 * math/w_log10f.c: Likewise.
14183 * math/w_log10l.c: Likewise.
14184 * math/w_log2.c: Likewise.
14185 * math/w_log2f.c: Likewise.
14186 * math/w_log2l.c: Likewise.
14187 * math/w_pow.c: Likewise.
14188 * math/w_powf.c: Likewise.
14189 * math/w_powl.c: Likewise.
14190 * math/w_remainder.c: Likewise.
14191 * math/w_remainderf.c: Likewise.
14192 * math/w_remainderl.c: Likewise.
14193 * math/w_scalb.c: Likewise.
14194 * math/w_scalbf.c: Likewise.
14195 * math/w_scalbl.c: Likewise.
14196 * math/w_sqrt.c: Likewise.
14197 * math/w_sqrtf.c: Likewise.
14198 * math/w_sqrtl.c: Likewise.
14199 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14200 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14201 used.
14202 * math/math_private.h: Declare __kernel_standard_f.
14203 * math/w_cosh.c: Remove cruft and optimize a bit.
14204 * math/w_coshf.c: Likewise.
14205 * math/w_coshl.c: Likewise.
14206 * math/w_exp2.c: Likewise.
14207 * math/w_exp2f.c: Likewise.
14208 * math/w_exp2l.c: Likewise.
14209 * math/w_hypot.c: Likewise.
14210 * math/w_hypotf.c: Likewise.
14211 * math/w_hypotl.c: Likewise.
14212 * math/w_lgamma.c: Likewise.
14213 * math/w_lgamma_r.c: Likewise.
14214 * math/w_lgammaf.c: Likewise.
14215 * math/w_lgammaf_r.c: Likewise.
14216 * math/w_lgammal.c: Likewise.
14217 * math/w_lgammal_r.c: Likewise.
14218 * math/w_sinh.c: Likewise.
14219 * math/w_sinhf.c: Likewise.
14220 * math/w_sinhl.c: Likewise.
14221 * math/w_tgamma.c: Likewise.
14222 * math/w_tgammaf.c: Likewise.
14223 * math/w_tgammal.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14226 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14227 Minor optimizations. Pretty printing. Remove cruft.
14228 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14229 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14232 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14233 * sysdeps/i386/fpu/e_asin.S: Likewise.
14234 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14235 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14236 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14237 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14241 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14242 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14243 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14244 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14245 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14246 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14247 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14248 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14249 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14250 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14251 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14252 * sysdeps/i386/fpu/e_log.S: Likewise.
14253 * sysdeps/i386/fpu/e_log10.S: Likewise.
14254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14256 * sysdeps/i386/fpu/e_log2.S: Likewise.
14257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14259 * sysdeps/i386/fpu/e_logf.S: Likewise.
14260 * sysdeps/i386/fpu/e_logl.S: Likewise.
14261 * sysdeps/i386/fpu/e_pow.S: Likewise.
14262 * sysdeps/i386/fpu/e_powf.S: Likewise.
14263 * sysdeps/i386/fpu/e_powl.S: Likewise.
14264 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14265 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14266 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14267 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14270 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14271 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14272 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14294 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14297 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14300 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14301 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14302 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14303 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14304 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14305 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14307 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14308 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14309 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14310 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14311 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14313 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14314 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14370 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14371 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14372 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14373 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14374 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14375 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14376 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14381 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14382 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14383 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14384 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14385 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14386 (__isnanf): Likewise.
14387 (__isinf_ns): Likewise.
14388 (__isinf_nsf): Likewise.
14389 (__finite): Likewise.
14390 (__finitef): Likewise.
14391 (__ieee754_sqrt): Define as macro.
14392 (__ieee754_sqrtf): Define as macro.
14393 (__ieee754_sqrtl): Define as macro.
14394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14395 inlined copy.
14396 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14397 __FINITE_MATH_ONLY__ consistent.
14398 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14399
12cc2fcd
AS
144002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14401
a843a204
AS
14402 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14403 of rawmemchr.
14404
12cc2fcd
AS
14405 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14406
c853acd5
UD
144072011-10-09 Ulrich Drepper <drepper@gmail.com>
14408
14409 * po/ja.po: Update from translation team.
14410
c658d255
RM
144112011-10-08 Roland McGrath <roland@hack.frob.com>
14412
110946e4
RM
14413 * locale/programs/locarchive.c (prepare_address_space): New function.
14414 (create_archive, enlarge_archive, open_archive): Use it.
14415
50604220
RM
14416 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14417 inside [SHARED], where it is used.
14418
c658d255
RM
14419 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14420
14421 * nss/getent.c (netgroup_keys): Remove unused variable.
14422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14423
6a621eb7
UD
144242011-10-08 Ulrich Drepper <drepper@gmail.com>
14425
7edb55ce
UD
14426 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14431 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14432 * math/Makefile (libm-calls): Add s_isinf_ns.
14433 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14434 * math/multc3.c: Likewise.
14435 * math/s_casin.c: Likewise.
14436 * math/s_casinf.c: Likewise.
14437 * math/s_casinl.c: Likewise.
14438 * math/s_ccos.c: Likewise.
14439 * math/s_ccosf.c: Likewise.
14440 * math/s_ccosl.c: Likewise.
14441 * math/s_ctan.c: Likewise.
14442 * math/s_ctanf.c: Likewise.
14443 * math/s_ctanh.c: Likewise.
14444 * math/s_ctanhf.c: Likewise.
14445 * math/s_ctanhl.c: Likewise.
14446 * math/s_ctanl.c: Likewise.
14447 * math/w_fmod.c: Likewise.
14448 * math/w_fmodf.c: Likewise.
14449 * math/w_fmodl.c: Likewise.
14450 * math/w_remainder.c: Likewise.
14451 * math/w_remainderf.c: Likewise.
14452 * math/w_remainderl.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14454 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14455 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14457 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14458 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14459 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14460 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14461
187da0ae
UD
14462 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14463 of the number.
14464 * stdio-common/printf_fphex.c: Likewise.
14465 * stdio-common/printf_size.c: Likewise.
14466
9277c064
UD
14467 * math/e_exp10.c: Include math_private.h using <...> not "...".
14468 * math/e_exp10f.c: Likewise.
14469 * math/e_exp10l.c: Likewise.
14470 * math/e_exp2l.c: Likewise.
14471 * math/e_j0l.c: Likewise.
14472 * math/e_j1l.c: Likewise.
14473 * math/e_jnl.c: Likewise.
14474 * math/e_lgammal_r.c: Likewise.
14475 * math/e_rem_pio2l.c: Likewise.
14476 * math/e_scalb.c: Likewise.
14477 * math/e_scalbf.c: Likewise.
14478 * math/e_scalbl.c: Likewise.
14479 * math/k_cosl.c: Likewise.
14480 * math/k_sinl.c: Likewise.
14481 * math/k_tanl.c: Likewise.
14482 * math/s_cacoshf.c: Likewise.
14483 * math/s_catan.c: Likewise.
14484 * math/s_catanf.c: Likewise.
14485 * math/s_catanh.c: Likewise.
14486 * math/s_catanhf.c: Likewise.
14487 * math/s_catanhl.c: Likewise.
14488 * math/s_catanl.c: Likewise.
14489 * math/s_ccosh.c: Likewise.
14490 * math/s_ccoshf.c: Likewise.
14491 * math/s_ccoshl.c: Likewise.
14492 * math/s_cexp.c: Likewise.
14493 * math/s_cexpf.c: Likewise.
14494 * math/s_cexpl.c: Likewise.
14495 * math/s_clog.c: Likewise.
14496 * math/s_clog10.c: Likewise.
14497 * math/s_clog10f.c: Likewise.
14498 * math/s_clog10l.c: Likewise.
14499 * math/s_clogf.c: Likewise.
14500 * math/s_clogl.c: Likewise.
14501 * math/s_csin.c: Likewise.
14502 * math/s_csinf.c: Likewise.
14503 * math/s_csinh.c: Likewise.
14504 * math/s_csinhf.c: Likewise.
14505 * math/s_csinhl.c: Likewise.
14506 * math/s_csinl.c: Likewise.
14507 * math/s_csqrt.c: Likewise.
14508 * math/s_csqrtf.c: Likewise.
14509 * math/s_csqrtl.c: Likewise.
14510 * math/s_ctan.c: Likewise.
14511 * math/s_ctanf.c: Likewise.
14512 * math/s_ctanh.c: Likewise.
14513 * math/s_ctanhf.c: Likewise.
14514 * math/s_ctanhl.c: Likewise.
14515 * math/s_ctanl.c: Likewise.
14516 * math/s_ldexp.c: Likewise.
14517 * math/s_ldexpf.c: Likewise.
14518 * math/s_ldexpl.c: Likewise.
14519 * math/s_significand.c: Likewise.
14520 * math/s_significandf.c: Likewise.
14521 * math/s_significandl.c: Likewise.
14522 * math/w_acos.c: Likewise.
14523 * math/w_acosf.c: Likewise.
14524 * math/w_acosh.c: Likewise.
14525 * math/w_acoshf.c: Likewise.
14526 * math/w_acoshl.c: Likewise.
14527 * math/w_acosl.c: Likewise.
14528 * math/w_asin.c: Likewise.
14529 * math/w_asinf.c: Likewise.
14530 * math/w_asinl.c: Likewise.
14531 * math/w_atan2.c: Likewise.
14532 * math/w_atan2f.c: Likewise.
14533 * math/w_atan2l.c: Likewise.
14534 * math/w_atanh.c: Likewise.
14535 * math/w_atanhf.c: Likewise.
14536 * math/w_atanhl.c: Likewise.
14537 * math/w_cosh.c: Likewise.
14538 * math/w_coshf.c: Likewise.
14539 * math/w_coshl.c: Likewise.
14540 * math/w_dremf.c: Likewise.
14541 * math/w_exp10.c: Likewise.
14542 * math/w_exp10f.c: Likewise.
14543 * math/w_exp10l.c: Likewise.
14544 * math/w_exp2.c: Likewise.
14545 * math/w_exp2f.c: Likewise.
14546 * math/w_fmod.c: Likewise.
14547 * math/w_fmodf.c: Likewise.
14548 * math/w_fmodl.c: Likewise.
14549 * math/w_hypot.c: Likewise.
14550 * math/w_hypotf.c: Likewise.
14551 * math/w_hypotl.c: Likewise.
14552 * math/w_j0.c: Likewise.
14553 * math/w_j0f.c: Likewise.
14554 * math/w_j0l.c: Likewise.
14555 * math/w_j1.c: Likewise.
14556 * math/w_j1f.c: Likewise.
14557 * math/w_j1l.c: Likewise.
14558 * math/w_jn.c: Likewise.
14559 * math/w_jnf.c: Likewise.
14560 * math/w_jnl.c: Likewise.
14561 * math/w_lgamma.c: Likewise.
14562 * math/w_lgamma_r.c: Likewise.
14563 * math/w_lgammaf.c: Likewise.
14564 * math/w_lgammaf_r.c: Likewise.
14565 * math/w_lgammal.c: Likewise.
14566 * math/w_lgammal_r.c: Likewise.
14567 * math/w_log.c: Likewise.
14568 * math/w_log10.c: Likewise.
14569 * math/w_log10f.c: Likewise.
14570 * math/w_log10l.c: Likewise.
14571 * math/w_log2.c: Likewise.
14572 * math/w_log2f.c: Likewise.
14573 * math/w_log2l.c: Likewise.
14574 * math/w_logf.c: Likewise.
14575 * math/w_logl.c: Likewise.
14576 * math/w_pow.c: Likewise.
14577 * math/w_powf.c: Likewise.
14578 * math/w_powl.c: Likewise.
14579 * math/w_remainder.c: Likewise.
14580 * math/w_remainderf.c: Likewise.
14581 * math/w_remainderl.c: Likewise.
14582 * math/w_scalb.c: Likewise.
14583 * math/w_scalbf.c: Likewise.
14584 * math/w_scalbl.c: Likewise.
14585 * math/w_sinh.c: Likewise.
14586 * math/w_sinhf.c: Likewise.
14587 * math/w_sinhl.c: Likewise.
14588 * math/w_sqrt.c: Likewise.
14589 * math/w_sqrtf.c: Likewise.
14590 * math/w_sqrtl.c: Likewise.
14591 * math/w_tgamma.c: Likewise.
14592 * math/w_tgammaf.c: Likewise.
14593 * math/w_tgammal.c: Likewise.
14594
6a621eb7
UD
14595 * po/ja.po: Update from translation team.
14596
bf582445
AJ
145972011-09-29 Andreas Jaeger <aj@suse.de>
14598
f9efbf3a
AJ
14599 [BZ #13179]
14600 * sunrpc/netname.c (netname2host): Fix logic.
14601
bf582445
AJ
14602 [BZ #6779]
14603 [BZ #6783]
14604 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14605 correctly.
14606 * math/w_remainder.c (__remainder): Likewise.
14607 * math/w_remainderf.c (__remainderf): Likewise.
14608 * math/libm-test.inc (remainder_test): Add test cases.
14609
48693bea
AK
146102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14611
14612 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14613 sdiv_qrnnd.
14614
42622229
LD
146152011-10-07 Ulrich Drepper <drepper@gmail.com>
14616
14617 * string/test-memcmp.c: Avoid unncessary #defines.
14618 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14619
093ecf92
LD
146202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14621
14622 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14623 Use new sse2 version for core i3 - i7 as it's faster
14624 than sse42 version.
14625 (bit_Prefer_PMINUB_for_stringop): New.
14626 * sysdeps/x86_64/rawmemchr.S: Update.
14627 Replace with faster SSE2 version.
14628 * sysdeps/x86_64/memrchr.S: New file.
14629 * sysdeps/x86_64/memchr.S: Update.
14630 Replace with faster SSE2 version.
14631
fde56e5c
MP
146322011-09-12 Marek Polacek <mpolacek@redhat.com>
14633
14634 * elf/dl-load.c (lose): Add cast to avoid warning.
14635
21fd49a9
UD
146362011-10-07 Ulrich Drepper <drepper@gmail.com>
14637
5a06e643
UD
14638 * po/ca.po: Update from translation team.
14639
684ae515
UD
14640 * inet/getnetgrent_r.c: Hook up nscd.
14641 * nscd/Makefile (routines): Add nscd_netgroup.
14642 (nscd-modules): Add netgroupcache.
14643 (CFLAGS-netgroupcache.c): Define.
14644 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14645 (cache_search): Add const to second parameter.
14646 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14647 INNETGR.
14648 (dbs): Add netgrdb entry.
14649 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14650 (verify_persistent_db): Handle netgrdb.
14651 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14652 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14653 GETFDNETGR.
14654 (netgroup_response_header): Define.
14655 (innetgroup_response_header): Define.
14656 (datahead): Add netgroup_response_header and innetgroup_response_header
14657 elements.
14658 * nscd/nscd.conf: Add entries for netgroup cache.
14659 * nscd/nscd.h (dbtype): Add netgrdb.
14660 (_PATH_NSCD_NETGROUP_DB): Define.
14661 (netgroup_iov_disabled): Declare.
14662 (xmalloc, xcalloc, xrealloc): Move declarations here.
14663 (cache_search): Adjust prototype.
14664 Add netgroup-related prototypes.
14665 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14666 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14667 (__nscd_innetgr): Declare.
14668 * nscd/selinux.c (perms): Use access_vector_t as element type and
14669 add netgroup-related initializers.
14670 * nscd/netgroupcache.c: New file.
14671 * nscd/nscd_netgroup.c: New file.
14672 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14673 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14674 For four parameters use innetgr.
14675 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14676 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14677 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14678 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14679
21fd49a9
UD
14680 * nscd/connections.c (register_traced_file): Don't register file
14681 for disabled databases.
14682
054c0457
UD
146832011-10-06 Ulrich Drepper <drepper@gmail.com>
14684
32b63198
UD
14685 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14686
054c0457
UD
14687 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14688 from tree and freeing node.
14689
64031225
JO
146902011-09-25 Jiri Olsa <jolsa@redhat.com>
14691
14692 * nss/nsswitch.c (__nss_database_lookup): Handle
14693 nss_parse_service_list out of memory case.
14694
0490345c
JO
146952011-09-15 Jiri Olsa <jolsa@redhat.com>
14696
14697 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14698 out of memory case.
14699
3a62d00d
AS
147002011-10-04 Andreas Schwab <schwab@redhat.com>
14701
14702 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14703 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14704 pass it down.
14705 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14706 elf_machine_rela, elf_machine_lazy_rel.
14707 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14708 (ELF_DYNAMIC_DO_REL): Likewise.
14709 (ELF_DYNAMIC_DO_RELA): Likewise.
14710 (ELF_DYNAMIC_RELOCATE): Likewise.
14711 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14712 to ELF_DYNAMIC_DO_REL.
14713 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14714 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14715 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14716 elf_machine_rela.
14717 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14718 skip_ifunc, don't call ifunc function if non-zero.
14719 (elf_machine_rela): Likewise.
14720 (elf_machine_lazy_rel): Likewise.
14721 (elf_machine_lazy_rela): Likewise.
14722 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14723 (elf_machine_lazy_rel): Likewise.
14724 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14725 Likewise.
14726 (elf_machine_lazy_rel): Likewise.
14727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14728 Likewise.
14729 (elf_machine_lazy_rel): Likewise.
14730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14731 (elf_machine_lazy_rel): Likewise.
14732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14733 (elf_machine_lazy_rel): Likewise.
14734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14735 (elf_machine_lazy_rel): Likewise.
14736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14737 (elf_machine_lazy_rel): Likewise.
14738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14739 (elf_machine_lazy_rel): Likewise.
14740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14741 (elf_machine_lazy_rel): Likewise.
14742
68577918
UD
147432011-09-28 Ulrich Drepper <drepper@gmail.com>
14744
14745 * nss/nss_files/files-init.c (_nss_files_init): Use static
14746 initialization for all the *_traced_file variables.
14747
68822d74
AS
147482011-09-28 Andreas Schwab <schwab@redhat.com>
14749
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14751
2056100b
RM
147522011-09-27 Roland McGrath <roland@hack.frob.com>
14753
14754 [BZ #13226]
14755 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14756
32c76b63
AS
147572011-09-27 Andreas Schwab <schwab@redhat.com>
14758
14759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14760 Reread the line before reparsing it.
14761
bf972c9d
AS
147622011-09-26 Andreas Schwab <schwab@redhat.com>
14763
14764 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14765
e057a1b5
JM
147662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14767 Maxim Kuvyrkov <maxim@codesourcery.com>
14768 Joseph Myers <joseph@codesourcery.com>
14769
14770 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14771 if needed for __stack_chk_guard.
14772
bc7e1c36
RM
147732011-09-19 Roland McGrath <roland@hack.frob.com>
14774
ecb1482f
RM
14775 * sysdeps/posix/spawni.c (script_execute): Always define it.
14776 It will be optimized away if unused.
14777 (maybe_script_execute): New function.
14778 (__spawni): Call it.
14779
bc7e1c36
RM
14780 * Makerules: Don't include tls.make.
14781 (config-tls): Always set to thread.
14782 * tls.make.c: File removed.
14783
1c3b002b
MF
147842011-09-19 Mike Frysinger <vapier@gentoo.org>
14785
14786 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14787 * config.make.in (CPPFLAGS-config): New substituted variable.
14788
2840865d
UD
147892011-09-15 Ulrich Drepper <drepper@gmail.com>
14790
88738eb6
UD
14791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14792
cbf645a6 14793 [BZ #13192]
2840865d
UD
14794 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14795 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14796
b402e91a
RM
147972011-09-15 Roland McGrath <roland@hack.frob.com>
14798
14799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14800 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14802 (CALL_FAIL): Likewise.
14803 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14804 (CALL_FAIL): Macro removed.
14805 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14806
4c1a1f71
UD
148072011-09-15 Ulrich Drepper <drepper@gmail.com>
14808
14809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14810 for __FINITE_MATH_ONLY__ == 1.
14811
edc121be
AS
148122011-09-15 Andreas Schwab <schwab@redhat.com>
14813
14814 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14815 __ieee754_sqrt instead of sqrt.
14816 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14817 __ieee754_sqrtf instead of sqrtf.
14818 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14819 __floorf instead of floorf.
14820 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14821 __floorf, __truncf instead of floorf, truncf.
14822
cd205654
UD
148232011-09-14 Ulrich Drepper <drepper@gmail.com>
14824
ee4d0315
UD
14825 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14826
cd205654
UD
14827 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14828 __extern_always_inline.
14829 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14830 32-bit.
14831
48b67d71
AS
148322011-09-14 Andreas Schwab <schwab@redhat.com>
14833
14834 * elf/rtld.c (dl_main): Also relocate in dependency order when
14835 doing symbol dependency testing.
14836
1ae12c75
AS
148372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14838
14839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14840 Always define `refsym'.
14841
995a80df
AS
148422011-09-13 Andreas Schwab <schwab@redhat.com>
14843
e529793b
AS
14844 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14845 (__FD_ELT): Renamed from __FDELT.
14846 * misc/bits/select2.h (__FD_ELT): Likewise.
14847 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14848 __FD_MASK instead of __FDELT, __FDMASK.
14849 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14850 Likewise.
14851 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14852 Likewise.
14853
52d4fef8
AS
14854 * elf/Makefile (gen-ldd): Fix pattern.
14855
995a80df
AS
14856 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14857 (init_tls): Likewise.
14858
8682f8b0
UD
148592011-09-12 Ulrich Drepper <drepper@gmail.com>
14860
14861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14862
de82006d
AS
148632011-09-12 Andreas Schwab <schwab@redhat.com>
14864
a7c8e6a1
AS
14865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14866 `struct cmsghdr *' instead of `void *'.
14867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14868 Likewise.
14869
0f31fe77
AS
148702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14871
14872 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14873 if non-absolute.
14874 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14875 ldd_rewrite_script.
0f31fe77 14876
32b4c839
UD
148772011-09-11 Ulrich Drepper <drepper@gmail.com>
14878
83cd1420
UD
14879 * configure.in: Remove --with-tls option.
14880 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14881 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14882 out in case it is missing.
14883 * sysdeps/ia64/elf/configure.in: Likewise.
14884 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14885 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14886 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14887 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14888 * sysdeps/sh/elf/configure.in: Likewise.
14889 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14890 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14891 * sysdeps/x86_64/elf/configure.in: Likewise.
14892 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14893 * sysdeps/mach/hurd/tls.h: Likewise.
14894
633f745d
UD
14895 [BZ #13067]
14896 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14897
f318beb8
UD
14898 [BZ #13090]
14899 * configure.in: Fix use of AC_INIT.
14900
32b4c839
UD
14901 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14902
3ce1f295
UD
149032011-09-10 Ulrich Drepper <drepper@gmail.com>
14904
bb016596
UD
14905 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14906 __set_errno.
8e58439c
UD
14907 * malloc/hooks.c: Likewise.
14908
aebae053 14909 [BZ #11929]
02d46fc4
UD
14910 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14911 variables statically.
14912 (narenas): Initialize.
14913 (list_lock): Initialize.
bb016596
UD
14914 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14915 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14916 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14917 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14918 Add initializers to main_arena and mp_.
14919 (malloc_state): Remove pagesize member. Change all users to use
14920 GLRO(dl_pagesize).
14921
14922 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14923 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14924 is always initialized.
14925
22a89187
UD
14926 * malloc/malloc.c: Removed unused configurations and dead code.
14927 * malloc/arena.c: Likewise.
14928 * malloc/hooks.c: Likewise.
02d46fc4 14929 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14930
d063d164
UD
14931 * include/tls.h: Removed. USE___THREAD must always be defined.
14932 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14933 * elf/dl-libc.c: Likewise.
14934 * elf/dl-tsd.c: Likewise.
14935 * include/errno.h: Likewise.
14936 * include/netdb.h: Likewise.
14937 * include/resolv.h: Likewise.
14938 * inet/herrno-loc.c: Likewise.
14939 * inet/herrno.c: Likewise.
14940 * malloc/arena.c: Likewise.
14941 * malloc/hooks.c: Likewise.
14942 * malloc/malloc.c: Likewise.
14943 * resolv/res-state.c: Likewise.
14944 * resolv/res_libc.c: Likewise.
14945 * sysdeps/i386/dl-machine.h: Likewise.
14946 * sysdeps/ia64/dl-machine.h: Likewise.
14947 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14949 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14950 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14951 * sysdeps/sh/dl-machine.h: Likewise.
14952 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14954 * sysdeps/unix/i386/sysdep.S: Likewise.
14955 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14956 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14961 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14966 * sysdeps/x86_64/dl-machine.h: Likewise.
14967 * tls.make.c: Likewise.
14968
3ce1f295
UD
14969 * configure.in: Remove --with-__thread option. Make tests for
14970 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14971 tls_model attribute fail if no support is available. Remove
14972 USE_IN_LIBIO.
14973 * Makeconfig: Adjust for dropped configure option. All features are
14974 now mandatory.
14975 * Makerules: Likewise.
14976 * Versions.def: Likewise.
14977 * argp/argp-fmtstream.c: Likewise.
14978 * argp/argp-fmtstream.h: Likewise.
14979 * argp/argp-help.c: Likewise.
14980 * assert/assert.c: Likewise.
14981 * config.h.in: Likewise.
14982 * config.make.in: Likewise.
14983 * configure: Likewise.
14984 * configure.in: Likewise.
14985 * csu/Versions: Likewise.
14986 * csu/init.c: Likewise.
14987 * elf/tst-audit2.c: Likewise.
14988 * elf/tst-tls10.c: Likewise.
14989 * elf/tst-tls10.h: Likewise.
14990 * elf/tst-tls11.c: Likewise.
14991 * elf/tst-tls12.c: Likewise.
14992 * elf/tst-tls14.c: Likewise.
14993 * elf/tst-tlsmod11.c: Likewise.
14994 * elf/tst-tlsmod12.c: Likewise.
14995 * elf/tst-tlsmod13.c: Likewise.
14996 * elf/tst-tlsmod13a.c: Likewise.
14997 * elf/tst-tlsmod14a.c: Likewise.
14998 * elf/tst-tlsmod15b.c: Likewise.
14999 * elf/tst-tlsmod16a.c: Likewise.
15000 * elf/tst-tlsmod16b.c: Likewise.
15001 * elf/tst-tlsmod7.c: Likewise.
15002 * elf/tst-tlsmod8.c: Likewise.
15003 * elf/tst-tlsmod9.c: Likewise.
15004 * gmon/gmon.c: Likewise.
15005 * grp/fgetgrent_r.c: Likewise.
15006 * grp/putgrent.c: Likewise.
15007 * hurd/fopenport.c: Likewise.
15008 * include/libc-symbols.h: Likewise.
15009 * include/tls.h: Likewise.
15010 * intl/gettextP.h: Likewise.
15011 * intl/loadinfo.h: Likewise.
15012 * locale/global-locale.c: Likewise.
15013 * locale/localeinfo.h: Likewise.
15014 * mach/devstream.c: Likewise.
15015 * malloc/arena.c: Likewise.
15016 * malloc/set-freeres.c: Likewise.
15017 * misc/err.c: Likewise.
15018 * misc/getttyent.c: Likewise.
15019 * misc/mntent_r.c: Likewise.
15020 * posix/getopt.c: Likewise.
15021 * posix/wordexp.c: Likewise.
15022 * pwd/fgetpwent_r.c: Likewise.
15023 * resolv/Versions: Likewise.
15024 * resolv/res_hconf.c: Likewise.
15025 * shadow/fgetspent_r.c: Likewise.
15026 * shadow/putspent.c: Likewise.
15027 * stdio-common/printf_fphex.c: Likewise.
15028 * stdio-common/tmpfile.c: Likewise.
15029 * stdlib/abort.c: Likewise.
15030 * stdlib/fmtmsg.c: Likewise.
15031 * sunrpc/auth_unix.c: Likewise.
15032 * sunrpc/clnt_perr.c: Likewise.
15033 * sunrpc/clnt_tcp.c: Likewise.
15034 * sunrpc/clnt_udp.c: Likewise.
15035 * sunrpc/clnt_unix.c: Likewise.
15036 * sunrpc/openchild.c: Likewise.
15037 * sunrpc/svc_simple.c: Likewise.
15038 * sunrpc/svc_tcp.c: Likewise.
15039 * sunrpc/svc_udp.c: Likewise.
15040 * sunrpc/svc_unix.c: Likewise.
15041 * sunrpc/xdr.c: Likewise.
15042 * sunrpc/xdr_array.c: Likewise.
15043 * sunrpc/xdr_rec.c: Likewise.
15044 * sunrpc/xdr_ref.c: Likewise.
15045 * sunrpc/xdr_stdio.c: Likewise.
15046
1248c1c4
PB
150472011-09-09 Ulrich Drepper <drepper@gmail.com>
15048
15049 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15050
150512011-07-03 Andreas Jaeger <aj@suse.de>
15052
15053 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15054 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15055 regenerate with gen-libm-tests.pl.
15056
150572010-05-12 Petr Baudis <pasky@suse.cz>
15058
15059 [BZ #11589]
15060 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15061 around j0() zero points by switching to j1().
15062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15066
f22e1074
UD
150672011-09-09 Ulrich Drepper <drepper@gmail.com>
15068
f19009c1
UD
15069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15070 instead of 0.
15071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15072 instead of 0. .
15073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15074 Patch in part by Pavel Roskin <proski@gnu.org>.
15075
3f8cc204
UD
15076 [BZ #13138]
15077 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15078 realloc.
15079 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15080 Free memory block if necessary.
15081
f22e1074
UD
15082 [BZ #12847]
15083 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15084 be NULL. Don't lock in this case.
15085
0a2349f9
RM
150862011-09-09 Roland McGrath <roland@hack.frob.com>
15087
15088 * elf/elf.h (ELFOSABI_GNU): New macro.
15089 (ELFOSABI_LINUX): Define to that.
15090
f3cdd467
DZ
150912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15092
15093 * string/strncat.c (strncat): Undef the symbol in case it has been
15094 defined in bits/string.h.
15095
74718d13
UD
150962011-09-09 Ulrich Drepper <drepper@gmail.com>
15097
633e9e0f
UD
15098 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15099
0a2349f9 15100 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15101 link map.
15102
f9924780
AJ
151032011-08-17 Andreas Jaeger <aj@suse.de>
15104
15105 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15106
7f5517aa
PP
151072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15108 Ian Lance Taylor <iant@google.com>
15109
15110 * math/libm-test.inc (lround_test): New testcase.
15111 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15112
762011fe
UD
151132011-09-08 Ulrich Drepper <drepper@gmail.com>
15114
92963737
UD
15115 * Makefile: Remove support for automatic cvs check-ins.
15116 * Makerules: Likewise.
15117 * config.make.in: Likewise.
15118 * configure.in: Likewise.
15119 * intl/Makefile: Likewise.
15120 * locale/Makefile: Likewise.
15121 * po/Makefile: Likewise.
15122 * posix/Makefile: Likewise.
15123 * sysdeps/gnu/Makefile: Likewise.
15124 * sysdeps/mach/hurd/Makefile: Likewise.
15125 * sysdeps/sparc/sparc32/Makefile: Likewise.
15126
b0727fd8
JS
15127 [BZ #13118]
15128 * posix/Makefile (bug-regex32-ENV): Define.
15129 Patch by John Stanley <jpsinthemix@verizon.net>.
15130
a0f33f99
UD
15131 * misc/Makefile (headers): Add bits/select2.h.
15132 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15133 * misc/bits/select2.h: New file.
15134 * include/bits/select2.h: New file.
15135 * debug/Makefile (routines): Add fdelt_chk.
15136 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15137 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15138 FD_ISSET.
15139 * debug/fdelt_chk.c: New file.
15140
762011fe
UD
15141 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15142 * wcsmbs/test-wmemcmp.c: Likewise.
15143 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15144 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15145
151462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15147
15148 * string/Makefile (strop-tests): Add memcmp.
15149 * string/test-wmemcmp.c: New file.
15150 * string/test-memcmp.c: Add wmemcmp support.
15151
7f513ec8
RM
151522011-09-08 Roland McGrath <roland@hack.frob.com>
15153
0442afb4
RM
15154 [BZ #13153]
15155 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15156 2011-07-19 change.
15157
7f513ec8
RM
15158 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15159 garbage value in a __mach_port_mod_refs call in the cases of the
15160 task-self and thread-self ports.
15161
a12b2239
ST
151622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15163
15164 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15165
610f9ab4
AS
151662011-09-08 Andreas Schwab <schwab@redhat.com>
15167
7f513ec8 15168 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15169
48882a1a
LD
151702011-09-07 Ulrich Drepper <drepper@gmail.com>
15171
b49865be
UD
15172 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15173
fdc86bc9
UD
15174 * elf/dl-libc.c (dlerror_run): Pass back error code from
15175 dl_catch_error.
15176
c966526a
UD
15177 [BZ #13123]
15178 * elf/dl-load.c (lose): Free l_origin if it is valid.
15179
48882a1a
LD
15180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15181 names.
15182 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15186 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15187 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15188
77a2a8b4
AZ
151892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15190
15191 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15192 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15195 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15196 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15197 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15198 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15199 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15200 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15201
24f579d8
AM
152022011-08-15 Alan Modra <amodra@gmail.com>
15203
15204 [BZ #13092]
15205 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15206 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15207 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15208 ppc_mcount to static-only-routines.
15209 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15210 __mcount_internal.
15211 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15212 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15213
3d4837df
UD
152142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15215
15216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15217 for finite and infinity parameters.
15218
22700377
WS
152192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15220
15221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15222 and add nop instructions for throughput optimization.
15223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15224
5025581e
WS
152252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15226
15227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15228 aligned copy for power7 with vector-scalar instructions.
15229 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15230
08a300c9
L
152312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15234 AVX check.
15235
59178ef9
AS
152362011-09-07 Andreas Schwab <schwab@redhat.com>
15237
15238 [BZ #13144]
15239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15240 last change.
15241
e38ba7ab
UD
152422011-09-07 Ulrich Drepper <drepper@gmail.com>
15243
15244 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15245 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15246 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15248 clock_gettime.
15249
d53a73ac
UD
152502011-09-06 Ulrich Drepper <drepper@gmail.com>
15251
fc8bffcc
UD
15252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15253 Forgot to demangle the pointer.
15254
ceaa0c5d
UD
15255 * sysdeps/i386/sysdep.h: Define atom_text_section.
15256 * sysdeps/x86_64/sysdep.h: Likewise.
15257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15258 section with atom_text_section.
15259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15261 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15264
a77d3c17
UD
15265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15266 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15267 already be defined. Change to take two parameters and don't assign
15268 result to variable. Adjust all users.
15269 Define INTERNAL_GETTIME if not already defined.
15270 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15271 call.
15272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15273 HAVE_CLOCK_GETTIME_VSYSCALL.
15274 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15275
d53a73ac
UD
15276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15277 gettimeofday vsyscall, just use time.
15278
a8f84144
AS
152792011-09-06 Andreas Schwab <schwab@redhat.com>
15280
15281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15282 <errno.h>.
15283
ef606249
UD
152842011-09-06 Ulrich Drepper <drepper@gmail.com>
15285
15286 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15287 syscall on x86-64.
15288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15289 syscall.
15290 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15292 syscall if possible.
15293
6585cb60
UD
152942011-09-05 Ulrich Drepper <drepper@gmail.com>
15295
15296 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15297 e_ident. Don't pass to find_mapsXX.
15298 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15299
a5f524e4
LD
153002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15301
15302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15303 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15304 * sysdeps/x86_64/multiarch/strchr.S: Update.
15305 Check bit_slow_BSF bit.
15306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15309
554881ef
UD
153102011-09-05 Ulrich Drepper <drepper@gmail.com>
15311
d96de963
UD
15312 [BZ #13134]
15313 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15314 before glibc 2.15.
15315 (tryshell): Define.
15316 (__spawni): Change last parameter to be flag. Test
15317 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15318 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15319 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15320 * posix/spawni.c: Likewise.
15321 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15322 * posix/spawnp.c: Likewise. Change normal version to use
15323 SPAWN_XFLAGS_USE_PATH.
15324 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15325 SPAWN_XFLAGS_TRY_SHELL.
15326
d48e5868
UD
15327 [BZ #13150]
15328 * posix/glob.h: Remove gcc 1.x support.
15329
554881ef
UD
15330 [BZ #13068]
15331 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15332
693fb948
LD
153332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15334
15335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15336 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15337 strrchr-sse2-bsf
15338 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15339 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15341 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15344
1b48c537
UD
153452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15346
49d42c37
UD
15347 * sysdeps/x86_64/wcscmp.S: New file.
15348
1b48c537
UD
15349 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15350 wcscmp-c wcscmp-sse2
15351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15352 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15353 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15354 * wcsmbs/wcscmp.c: Allow renaming.
15355
15c95c5d
DM
153562011-09-05 David S. Miller <davem@davemloft.net>
15357
15358 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15359 stack slot, rather than the struct return pointer slot.
15360 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15361 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15364
2f0ad8f3
UD
153652011-09-05 Ulrich Drepper <drepper@gmail.com>
15366
d88ae418
UD
15367 * po/ja.po: Update from translation team.
15368
2f0ad8f3
UD
15369 [BZ #13144]
15370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15371 kernel in 64-bit binaries.
15372
5f4318d1
DM
153732011-09-01 David S. Miller <davem@davemloft.net>
15374
15375 * elf/elf.h (HWCAP_SPARC_*): Move to..
15376 * sysdeps/sparc/sysdep.h: this new file and add new values.
15377 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15378 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15379 _DL_HWCAP_COUNT to 24.
15380 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15381 entries.
15382 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15383 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15384 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15386 instead of magic constants.
15387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15388
3ba57516
DM
153892011-08-31 David S. Miller <davem@davemloft.net>
15390
15391 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15393 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
15399 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15400 (PSEUDO): Reimplement to do errno handling inline.
15401 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15402 (SYSCALL_ERROR_HANDLER): New macro.
15403 (__SYSCALL_STRING): Do not do errno handling in asm.
15404 (__CLONE_SYSCALL_STRING): Delete.
15405 (__INTERNAL_SYSCALL_STRING): Delete.
15406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15407 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15408 i386.
15409 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15410 (inline_syscall*): Add 'err' argument.
15411 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15412 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15413 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15414 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15415
15416 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15418
2bc17433
AS
154192011-08-30 Andreas Schwab <schwab@redhat.com>
15420
15421 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15422
fbeb5f4d
JO
154232011-08-29 Jiri Olsa <jolsa@redhat.com>
15424
15425 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15426 directive.
15427
ad69cc26
DM
154282011-08-24 David S. Miller <davem@davemloft.net>
15429
15430 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15431
39dd69df
AS
154322011-08-24 Andreas Schwab <schwab@redhat.com>
15433
15434 * elf/Makefile: Add rules to build and run unload8 test.
15435 * elf/unload8.c: New file.
15436 * elf/unload8mod1.c: New file.
15437 * elf/unload8mod1x.c: New file.
15438 * elf/unload8mod2.c: New file.
15439 * elf/unload8mod3.c: New file.
15440
15441 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15442 it wasn't used.
15443
2c0b250a
DM
154442011-08-23 David S. Miller <davem@davemloft.net>
15445
15446 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15447 subtract stack bias.
15448 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15449 %sp not %fp in calculations.
15450 (_JMPBUF_UNWINDS_ADJ): Likewise.
15451
22044b48
DM
15452 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15453 (aio_suspend): Call it to force an exception region around the
15454 AIO_MISC_WAIT() invocation.
15455
2cae4995
AS
154562011-08-23 Andreas Schwab <schwab@redhat.com>
15457
15458 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15459 backslash.
15460
873a772e
AJ
154612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15462
15463 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15464 protection macro.
15465 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15466 and <dl-machine.h>.
15467 (Elf64_FuncDesc): Remove.
15468
25ad0df1
DM
154692011-08-22 David S. Miller <davem@davemloft.net>
15470
15471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15472 sigaltstack check, add missing cfi directives.
15473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15474 missing cfi directives, and sigaltstack handling.
15475
e888bcbe
AS
154762011-08-16 Andreas Schwab <schwab@redhat.com>
15477
15478 [BZ #11724]
15479 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15480 object is seen twice.
15481 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15482
15483 * elf/Makefile (distribute): Add tst-initorder2.c.
15484 (tests): Add tst-initorder2.
15485 (modules-names): Add tst-initorder2a tst-initorder2b
15486 tst-initorder2c tst-initorder2d. Add rules to build them.
15487 ($(objpfx)tst-initorder2.out): New rule.
15488 * elf/tst-initorder2.c: New file.
15489 * elf/tst-initorder2.exp: New file.
15490
87162f46
AS
154912011-08-22 Andreas Schwab <schwab@redhat.com>
15492
70538b7f
AS
15493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15494
f55ffe58
AS
15495 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15496 dependencies back to end of function.
15497
87162f46
AS
15498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15499 $(elfobjdir)/ld.so.
15500
91b392a4
UD
155012011-08-21 Ulrich Drepper <drepper@gmail.com>
15502
15503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15504 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15506 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15508 of __vdso_gettimeofday.
15509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15510 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15511 attribute_hidden.
15512 (_libc_vdso_platform_setup): Remove initialization of
15513 __vdso_gettimeofday and __vdso_time.
15514
5c43483f
UD
155152011-08-20 Ulrich Drepper <drepper@gmail.com>
15516
775a77e7
UD
15517 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15518 and fgetc_unlocked.
15519 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15520 getc_unlocked.
89f447ed 15521
49c74ba9
UD
15522 * elf/dl-open.c (add_to_global): Report additions to the global scope
15523 for LD_DEBUG=scopes.
15524 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15525 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15526
5c43483f
UD
15527 [BZ #13114]
15528 * stdio-common/Makefile (tests): Add bug24.
15529 * stdio-common/bug24.c: New file.
15530
a101b025
AJ
155312011-08-19 Andreas Jaeger <aj@suse.de>
15532
15533 [BZ #13114]
15534 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15535 non-existant file when using close-on-exec mode.
15536
c88f1766
UD
155372011-08-20 Ulrich Drepper <drepper@gmail.com>
15538
0276a718
UD
15539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15540 the very first instruction.
15541
c88f1766
UD
15542 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15543 the CFI state in the end.
15544 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15545 inclusion of dl-trampoline.h.
15546 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15547
51ccffa0
AS
155482011-08-19 Andreas Schwab <schwab@redhat.com>
15549
94d7165f
AS
15550 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15551 expectations for long double.
15552
51ccffa0
AS
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15554 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15555
fd708658 155562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15557
15558 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15559 artificual limit depends upon the system page size.
15560
44f0a71e
UD
155612011-08-17 Ulrich Drepper <drepper@gmail.com>
15562
15563 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15564 * resolv/Makefile: Define CFLAGS-libresolv.
15565
8de79a24
AS
155662011-08-17 Andreas Schwab <schwab@redhat.com>
15567
15568 * nss/makedb.c (compute_tables): Make variables used in nested
15569 function static.
15570
27724598
UD
155712011-08-17 Ulrich Drepper <drepper@gmail.com>
15572
c5305d88
UD
15573 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15574 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15575 if buffer was too small.
15576
27724598
UD
15577 * elf/pldd.c (main): Attach to all threads in the process.
15578 Rewrite /proc handling to use *at functions.
15579
076fe015
UD
155802011-08-16 Ulrich Drepper <drepper@gmail.com>
15581
174baab3
UD
15582 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15583 specifies first scope to show.
15584 (dl_open_worker): Update callers. Move printing scope of new
15585 object to before the relocation.
44f0a71e 15586 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15587 * sysdeps/generic/ldsodefs.h: Update declaration.
15588
076fe015
UD
15589 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15590 string for the scope number.
15591
a60df2c3
UD
155922011-08-14 Ulrich Drepper <drepper@gmail.com>
15593
15594 * nscd/servicescache.c (cache_addserv): Make sure written is always
15595 initialized.
15596
5e4287d1
RM
155972011-08-14 Roland McGrath <roland@hack.frob.com>
15598
85ae0589
RM
15599 * sysdeps/i386/i486/bits/atomic.h
15600 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15601 statement expression, so as to suppress "set but not used" warning.
15602 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15603
69f63097
RM
15604 * string/strncat.c (STRNCAT): Use prototype definition.
15605
675456ef
RM
15606 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15607 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15608 -Iprograms here.
15609 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15610 (localedef-modules): Add localedef.
15611 (locale-modules): Add locale.
15612
5e4287d1
RM
15613 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15614 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15615 to avoid a warning.
15616
9c96ff23
DM
156172011-08-14 David S. Miller <davem@davemloft.net>
15618
15619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15620 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15621
f9ddf089
UD
156222011-08-13 Ulrich Drepper <drepper@gmail.com>
15623
44f0a71e 15624 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15625 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15626 * elf/rtld.c (dl_main): Set l_name of vDSO.
15627 Call _dl_show_scope when DL_DEBUG_SCOPES.
15628 (process_dl_debug): Recognize scopes flag and also set it for all.
15629 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15630 Declare _dl_show_scope.
15631
1dc27704
UD
15632 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15633 (do_dlopen): Pass caller_dlopen to dl_open.
15634 (__libc_dlopen_mode): Initialize caller_dlopen.
15635
f9ddf089
UD
15636 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15637 of libc. Make tolower call locale-independent. Optimize a bit by
15638 using isdigit instead of isalnum.
15639 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15640
9ac533d3
UD
156412011-08-12 Ulrich Drepper <drepper@gmail.com>
15642
15643 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15644 was a dependency or dynamically loaded.
15645
89edf2e9
UD
156462011-08-11 Ulrich Drepper <drepper@gmail.com>
15647
8e999d29
UD
15648 * intl/l10nflist.c: Allow architecture-specific pop function.
15649 * sysdeps/x86_64/l10nflist.c: New file.
15650
89edf2e9
UD
15651 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15652 classification.
15653
14d96785
AS
156542011-08-10 Andreas Schwab <schwab@redhat.com>
15655
15656 * include/dirent.h: Add libc_hidden_proto for scandirat and
15657 scandirat64. Don't declare __scandirat64.
15658 * dirent/scandirat.c: Add libc_hidden_def.
15659 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15660 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15661
6761ac04
DM
156622011-08-10 David S. Miller <davem@davemloft.net>
15663
15664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15665 enum.
15666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15669
c55fbd1e
UD
156702011-08-09 Ulrich Drepper <drepper@gmail.com>
15671
15672 * Versions.def [libc]: Add GLIBC_2.15.
15673 * dirent/Makefile (routines): Add scandirat and scandirat64.
15674 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15675 GLIBC_2.15.
15676 * dirent/dirent.h: Declare scandirat and scandirat64.
15677 * dirent/scandirat.c: New file.
15678 * dirent/scandirat64.c: New file.
15679 * sysdeps/wordsize-64/scandirat.c: New file.
15680 * sysdeps/wordsize-64/scandirat64.c: New file.
15681 * dirent/opendir.c: Define opendirat.
15682 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15683 using scandirat.
15684 * dirent/scandir64.c: Adjust for scandir.c change.
15685 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15686 __scandirat64, and __scandir_cancel_handler.
15687 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15688 additional parameter and use openat instead of open (outside of ld.so).
15689 Add new __opendir as wrapper around __opendirat.
15690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15691 here without requiring old scandirat implementation.
15692
879165f2
UD
156932011-08-08 Ulrich Drepper <drepper@gmail.com>
15694
15695 * dirent/scandir.c (cancel_handler): Renamed to
15696 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15697 defined. Adjust users.
15698 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15700
cb7e923b
UD
157012011-08-04 Ulrich Drepper <drepper@gmail.com>
15702
16292edd
UD
15703 * string/test-string.h (IMPL): Use __STRING to expand name and then
15704 stringify it.
15705
cb7e923b
UD
15706 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15707 of cleanups.
15708
cff82933
LD
157092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15710
15711 * string/Makefile: Update.
15712 (strop-tests): Append strncat.
15713 * string/test-wcscmp.c: New file.
15714 New comprehensive test for wcscmp.
15715 * string/test-strcmp.c: Update.
15716 (WIDE): New define.
15717
9be9bfcc
AS
157182011-07-22 Andreas Schwab <schwab@redhat.com>
15719
15720 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15721 line.
15722
2e96f1c7
AS
157232011-07-26 Andreas Schwab <schwab@redhat.com>
15724
15725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15726 encoding to ACE if AI_IDN.
15727
85188888
JJ
157282011-08-01 Jakub Jelinek <jakub@redhat.com>
15729
15730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15731 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15732
5fa16e9b
LD
157332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15734
15735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15736 Fix overflow bug in strncat.
15737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15738
15739 * string/test-strncat.c: Update.
15740 Add new tests for checking overflow bugs.
15741
157422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15743
15744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15745 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15746 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15747 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15749 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15750 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15751 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15752 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15753
15754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15755 (USE_AS_STRCAT): Define.
15756 Add strcat and strncat support.
15757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15758
8c1a459f
AS
157592011-07-25 Andreas Schwab <schwab@redhat.com>
15760
15761 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15762 __n bigger than INT_MAX+1.
15763 (__strncmp_g): Likewise.
15764
bba33c28
UD
157652011-07-23 Ulrich Drepper <drepper@gmail.com>
15766
798be72d
UD
15767 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15768 * libio/stido.h: Likewise.
15769
8accd4dc
UD
15770 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15771 (AF_NFC): Define.
15772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15773 (AF_NFC): Define.
15774
cbff0d96
UD
15775 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15780
9191c04a
UD
15781 [BZ #13021]
15782 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15783 installed.
15784
bba33c28
UD
15785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15786 typo.
15787 (_dl_x86_64_save_sse): Likewise.
15788
90f139dd
UD
157892011-07-22 Ulrich Drepper <drepper@gmail.com>
15790
1aae088a
UD
15791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15792 OSXSAVE.
15793 (_dl_x86_64_save_sse): Likewise.
15794
8e2045f5
UD
15795 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15796
90f139dd
UD
15797 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15798
1d002f25
AS
157992011-07-21 Andreas Schwab <schwab@redhat.com>
15800
15801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15802 change.
15803 (_dl_x86_64_save_sse): Use correct AVX check.
15804
21137f89
UD
158052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15806
15807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15808 bug in strncpy/strncat.
15809 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15810
a65c0b7a
UD
158112011-07-21 Ulrich Drepper <drepper@gmail.com>
15812
15813 * string/tester.c (test_strcat): Add tests for different alignments
15814 of source and destination.
15815 (test_strncat): Likewise.
15816
6986b98a
UD
158172011-07-20 Ulrich Drepper <drepper@gmail.com>
15818
90bb2039
UD
15819 [BZ #12852]
15820 * posix/glob.c (glob): Check passed in values before using them in
15821 expressions to avoid some overflows.
15822 (glob_in_dir): Likewise.
15823
5644ef54
UD
15824 [BZ #13007]
15825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15826 check for AVX enablement so that we don't crash with old kernels and
15827 new hardware.
15828 * elf/tst-audit4.c: Add same checks here.
15829 * elf/tst-audit6.c: Likewise.
15830
15831 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15832
bfc9dc9b
AS
158332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15834
15835 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15836
702e64bb
UD
158372011-07-20 Ulrich Drepper <drepper@gmail.com>
15838
15839 * po/cs.po: Update from translation team.
15840 * po/bg.po: Likewise.
15841
295e904f
MP
158422011-07-12 Marek Polacek <mpolacek@redhat.com>
15843
15844 * misc/sys/cdefs.h: Add support for const attribute.
15845 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15846 to gnu_dev_{major,minor,makedev} functions.
15847
3ff94596
MP
158482011-07-20 Marek Polacek <mpolacek@redhat.com>
15849
15850 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15851
28b59fca
AS
158522011-07-20 Andreas Schwab <schwab@redhat.com>
15853
15854 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15855 strlen results.
15856
19df733e
AK
158572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15858
15859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15860 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15861 register in order to avoid conflicts with the soft frame pointer
15862 being held in r11 when necessary.
15863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15864 (INTERNAL_VSYSCALL_NCS): Likewise.
15865
c8835729
MP
158662011-07-14 Marek Polacek <mpolacek@redhat.com>
15867
15868 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15869 * elf/dl-fini.c (_dl_fini): Adjust caller.
15870 * elf/dl-close.c (_dl_close_worker): Likewise.
15871 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15872
b902330c
MP
158732011-07-15 Marek Polacek <mpolacek@redhat.com>
15874
8991e135
MP
15875 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15876 "aux_cache->nlibs < 0".
15877
b902330c
MP
15878 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15879 in the reload-count case.
15880
99710781
LD
158812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15882
15883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15884 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15885 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15886 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15887 * sysdeps/x86_64/multiarch/strcat.S: New file.
15888 * sysdeps/x86_64/multiarch/strncat.S: New file.
15889 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15891 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15892 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15894 (USE_AS_STRCAT): Define.
15895 Add strcat and strncat support.
15896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15898 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15899 * string/strncat.c: Update.
15900 (USE_AS_STRNCAT): Define.
15901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15902 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15903 and i7.
15904 * sysdeps/x86_64/multiarch/init-arch.h
15905 (bit_Prefer_PMINUB_for_stringop): New.
15906 (index_Prefer_PMINUB_for_stringop): Likewise.
15907 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15908 bit_Prefer_PMINUB_for_stringop.
15909
7dc6bd90
UD
159102011-07-19 Ulrich Drepper <drepper@gmail.com>
15911
15912 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15913 buffer64.
15914 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15915 of casting of buffer.
15916 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15917 buffer32 and buffer64.
15918 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15919 writes instead of casting of buffer.
15920 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15921 buffer32.
15922 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15923 casting of buffer.
15924
e0e72284
AS
159252011-07-19 Andreas Schwab <schwab@redhat.com>
15926
15927 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15928
feb1eb0b
UD
159292011-07-19 Ulrich Drepper <drepper@gmail.com>
15930
15931 * nscd/nscd.c (termination_handler): Don't do anything for a database
15932 if it has not yet been initialized.
15933
298711ff
UD
159342011-07-18 Ulrich Drepper <drepper@gmail.com>
15935
15936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15937
159382011-07-15 Marek Polacek <mpolacek@redhat.com>
15939
15940 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15941
f9d68389
UD
159422011-07-18 Ulrich Drepper <drepper@gmail.com>
15943
15944 * po/nl.po: Update from translation team.
15945 * po/sv.po: Likewise.
15946
db290cf5
RM
159472011-07-16 Roland McGrath <roland@hack.frob.com>
15948
15949 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15950 now disallowed by GCC.
5c550700 15951
fd5e21c7
RM
15952 * configure.in (use-default-link): Default to yes if a test -shared
15953 link meets our qualifications.
15954 * configure: Regenerated.
15955
5c550700
RM
15956 * config.make.in (output-format): New variable.
15957 * configure.in: Check for ld --print-output-format support.
15958 * configure: Regenerated.
15959 * Makerules ($(common-objpfx)format.lds)
15960 [$(output-format) != unknown]: Just use $(output-format),
15961 instead of the linker-script munging.
15962
9fa2c032
RM
159632011-07-14 Roland McGrath <roland@hack.frob.com>
15964
a6928d51
RM
15965 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15966 of $(common-objpfx)shlib.lds.
15967 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15968
661607b3
RM
15969 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15970 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15971
9fa2c032
RM
15972 * configure.in (-z relro check): Adjust test code to add a large
15973 writable data section after it.
15974 * configure: Regenerated.
15975
defe9061
RM
159762011-07-11 Roland McGrath <roland@hack.frob.com>
15977
15978 * configure.in (-z relro check): Fix test code to make the variable
15979 truly const.
15980 * configure: Regenerated.
15981
319b9ad4
UD
159822011-07-11 Ulrich Drepper <drepper@gmail.com>
15983
15984 * nscd/nscd.h (struct traced_file): Define.
15985 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15986 elements. Add traced_files.
15987 (inotify_fd): Declare.
15988 (register_traced_file): Declare.
15989 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15990 (inotify_fd): Export.
15991 (resolv_conf_descr): Remove.
15992 (nscd_init): Move inotify descriptor creation to main.
15993 Don't register files for notification here.
15994 (register_traced_file): New function.
15995 (invalidate_cache): Don't use reset_res to determine whether to call
15996 res_init, go through the list of registered files.
15997 (main_loop_poll): The inotify descriptors are now stored in the
15998 structures for the traced files.
15999 (main_loop_epoll): Likewise
16000 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16001 to __nss_disable_nscd.
16002 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16003 for a database anymore. Check the records for all the registered
16004 files instead.
16005 * nss/Makefile (libnss_files-routines): Add files-init.
16006 (libnss_db-routines): Add db-init.
16007 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16008 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16009 * nss/nss_db/db-init.c: New file.
16010 * nss/nss_files/files-init.c: New file.
16011 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16012 __nss_lookup_function.
16013 (__nss_lookup_function): Call nss_load_library.
16014 (nss_load_all_libraries): New function.
16015 (__nss_disable_nscd): Take parameter with callback function for files
16016 to register. Set is_nscd. Load all the DSOs for the NSS modules
16017 used for the cached services.
16018 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16019 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16020 options for features to all the files in nscd.
16021
16022 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16023
23bee3e8
RM
160242011-07-10 Roland McGrath <roland@hack.frob.com>
16025
16026 * csu/elf-init.c (__libc_csu_init): Comment typo.
16027
46a5b7f0
UD
160282011-07-09 Ulrich Drepper <drepper@gmail.com>
16029
16030 * po/pl.po: Update from translation team.
16031 * po/ja.po: Likewise.
16032 * po/ru.po: Likewise.
16033 * po/ko.po: Likewise.
16034 * po/fr.po: Likewise.
16035
d30cf5bb
RM
160362011-07-09 Roland McGrath <roland@hack.frob.com>
16037
113ddea4
RM
16038 * configure.in (.ctors/.dtors header and trailer check):
16039 Use an empirical test on a built program.
16040 * configure: Regenerated.
16041
574920b4
RM
16042 * configure.in (-z relro check): Use an empirical test on a built DSO.
16043 Detect, but do not require, on ia64.
16044 * configure: Regenerated.
16045
d30cf5bb
RM
16046 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16047 Update tests that use readelf to use $READELF instead.
16048 * configure: Regenerated.
16049
8538fdb3
UD
160502011-07-08 Ulrich Drepper <drepper@gmail.com>
16051
16052 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16053 if the result is not used.
16054
04d08991
AJ
160552011-07-05 Andreas Jaeger <aj@suse.de>
16056
16057 [BZ#9696]
16058 * stdlib/tst-strtod.c: Add testcase.
16059
de283087
AD
160602011-07-07 Ulrich Drepper <drepper@gmail.com>
16061
4e5f31c8 16062 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16063 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16064 The latter has a higher limit. Take additional parameter to pass to
16065 the new function.
16066 (__pathconf): Pass file to __statfs_link_max.
16067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16068 __statfs_link_max.
16069 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16070 __statfs_link_max.
16071
de283087
AD
16072 [BZ #12868]
16073 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16075 Handle Lustre.
16076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16077 (__statfs_filesize_max): Likewise.
16078 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16079
c75fa153
AJ
160802011-07-05 Andreas Jaeger <aj@suse.de>
16081
16082 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16083
1a544854
UD
160842011-07-06 Marek Polacek <mpolacek@redhat.com>
16085
16086 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16087 `status' variable.
16088 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16089 Likewise.
16090
6f0eec67
UD
160912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16092
16093 * Makefile (strop-tests): Add strncat.
16094 * string/test-strncat.c: New file.
16095
aae30307
UD
160962011-06-30 Marek Polacek <mpolacek@redhat.com>
16097
16098 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16099
c0cfb5eb
UD
161002011-06-21 Andreas Jaeger <aj@suse.de>
16101
16102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16103 Copy rule from iconvdata/Makefile.
16104
01636b21
UD
161052011-07-06 Ulrich Drepper <drepper@gmail.com>
16106
16107 [BZ #12922]
16108 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16109 but no long options are defined, just return 'W'.
16110
9895c8bc
UD
161112011-06-22 Marek Polacek <mpolacek@redhat.com>
16112
16113 [BZ #9696]
16114 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16115
5d4cf042
UD
161162011-07-06 Ulrich Drepper <drepper@gmail.com>
16117
16118 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16119 netgroups to read.
960e5535 16120 (innetgr): Likewise.
5d4cf042 16121
751eb97e
RM
161222011-07-05 Roland McGrath <roland@hack.frob.com>
16123
16124 * config.make.in (install_root): Default to $(DESTDIR).
16125
f15f1e45
UD
161262011-07-05 Ulrich Drepper <drepper@gmail.com>
16127
16128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16129
4e34ac6a
RM
161302011-07-02 Roland McGrath <roland@hack.frob.com>
16131
5e9b6af4
RM
16132 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16133
84f9ea0f
RM
16134 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16135 containing directory rather than embedding absolute directory names.
16136
ea5ee9f7
RM
16137 * scripts/check-local-headers.sh: Rewritten using awk.
16138 Match by word, not by line. Print error messages for matches.
16139 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16140
1b74661a
RM
16141 * Makerules [shlib-lds-flags empty]:
16142 ($(common-objpfx)libc_pic.opts): New target.
16143 ($(common-objpfx)libc_pic.os.clean): New target.
16144 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16145
16146 * config.make.in (OBJCOPY): New variable.
16147 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16148 * configure: Regenerated.
16149
f781ef40
RM
16150 * config.make.in (use-default-link): New variable.
16151 * configure.in (use_default_link): Grok --with-default-link to set it.
16152 * configure: Regenerated.
16153 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16154 (shlib-lds, shlib-lds-flags): Define to empty.
16155
2d4fa81e
RM
16156 * Makerules (shlib-lds): New variable.
16157 (shlib-lds-flags): New variable.
16158 (build-shlib, build-moduile, build-module-asneeded): Use it.
16159 ($(common-objpfx)libc.so): Use $(shlib-lds).
16160 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16161 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16162
31fffa6b
RM
16163 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16164 DT_FLAGS/DT_FLAGS_1 with zero flags.
16165
4e34ac6a
RM
16166 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16167 linker script munging.
16168
fcfc776b
UD
161692011-07-02 Ulrich Drepper <drepper@gmail.com>
16170
16171 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16172 as 128-bit value.
16173 * crypt/sha512.c (sha512_process_block): Perform total addition using
16174 128-bit if possible.
16175 (__sha512_finish_ctx): Likewise.
16176 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16177 as 64-bit value.
16178 * crypt/sha256.c (SWAP64): Define.
16179 (sha256_process_block): Perform total addition using 64-bit if
16180 possible.
16181 (__sha256_finish_ctx): Likewise.
16182
99231d9a
UD
161832011-07-01 Ulrich Drepper <drepper@gmail.com>
16184
16185 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16187 * nscd/hstcache.c (cache_addhst): Likewise.
16188 * nscd/grpcache.c (cache_addgr): Likewise.
16189 * nscd/aicache.c (addhstaiX): Likewise
16190 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16191
445b4a53
TK
161922011-07-01 Thorsten Kukuk <kukuk@suse.de>
16193
16194 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16196 * nscd/hstcache.c (cache_addhst): Likewise.
16197 * nscd/grpcache.c (cache_addgr): Likewise.
16198 * nscd/aicache.c (addhstaiX): Likewise
16199
6d4d8e8e
AS
162002011-07-01 Andreas Schwab <schwab@redhat.com>
16201
16202 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16203 domain only when needed.
16204
89f654c5
AS
162052011-06-30 Andreas Schwab <schwab@redhat.com>
16206
16207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16208 is always restored.
16209
cf3b23ff
UD
162102011-06-29 Ulrich Drepper <drepper@gmail.com>
16211
16212 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16213 are re-adding the entry.
16214 * nscd/servicescache.c (cache_addserv): Likewise.
16215
751626f9
AJ
162162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16217
16218 * sysdeps/generic/dl-irel.h: fix protection against multiple
16219 inclusions.
16220 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16221
9113ea1f
UD
162222011-06-28 Ulrich Drepper <drepper@gmail.com>
16223
5c0b8d90
UD
16224 [BZ #12935]
16225 * malloc/memusage.sh: Fix quoting in message.
16226 * debug/xtrace.sh: Likewise.
16227
9113ea1f
UD
16228 * configure.in: Remove support for --experimental-malloc option, make
16229 it the default.
16230 * config.make.in: Likewise.
16231 * malloc/Makefile: Likewise.
16232
a4172181
AS
162332011-06-27 Andreas Schwab <schwab@redhat.com>
16234
16235 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16236 two-byte characters.
16237
78a7eee7
RM
162382011-06-27 Roland McGrath <roland@hack.frob.com>
16239
62bede13
RM
16240 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16241 AC_CACHE_CHECK invocation.
16242 * configure: Regenerated.
16243
78a7eee7
RM
16244 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16245
5ce33a62
UD
162462011-06-27 Ulrich Drepper <drepper@gmail.com>
16247
034807a9
UD
16248 [BZ #12350]
16249 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16250 bit from old_res_options.
16251
4902da17
UD
16252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16253
5ce33a62
UD
16254 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16255 value type for setfct.
16256
c2344f56
L
162572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16260 __gettimeofday instead of gettimeofday.
16261
68468076
UD
162622011-06-26 Ulrich Drepper <drepper@gmail.com>
16263
16264 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16265
acb0d739
L
162662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16269
16270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16271 info.
16272
8912479f
L
162732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16274
16275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16276 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16277 strcpy-sse2-unaligned strncpy-sse2-unaligned
16278 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16279 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16280 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16281 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16282 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16285 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16286 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16287 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16288 (STRCPY): Support SSE2 and SSSE3 versions.
16289
d5495a11
UD
162902011-06-24 Ulrich Drepper <drepper@gmail.com>
16291
16292 [BZ #12874]
16293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16294 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16295 kernels which artificially limit size of requests.
16296
0b1cbaae
L
162972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16300 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16301 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16302 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16303 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16304 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16305 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16306 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16309 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16310 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16311 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16312 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16313 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16315 Enable unaligned load optimization for Intel Core i3, i5 and i7
16316 processors.
16317 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16318 Define.
16319 (index_Fast_Unaligned_Load): Define.
16320 (HAS_FAST_UNALIGNED_LOAD): Define.
16321
07f494a0
MP
163222011-06-23 Marek Polacek <mpolacek@redhat.com>
16323
16324 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16325
fa3fc0fe
UD
163262011-06-22 Ulrich Drepper <drepper@gmail.com>
16327
16328 [BZ #12907]
16329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16330 until it is clear that the information is realy needed.
16331 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16332
e12df166
AS
163332011-06-22 Andreas Schwab <schwab@redhat.com>
16334
16335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16336
852eb34d
UD
163372011-06-22 Ulrich Drepper <drepper@gmail.com>
16338
84e2a551
UD
16339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16340 /sys/devices/system/cpu/online if it is usable.
16341
852eb34d
UD
16342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16343 reading the information from the /proc filesystem to once a second.
16344
6e502e19
UD
163452011-06-21 Andreas Jaeger <aj@suse.de>
16346
16347 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16348 NULL after inclusion of kernel headers.
16349
75d39ff2
UD
163502011-06-21 Ulrich Drepper <drepper@gmail.com>
16351
51f9aa6a
UD
16352 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16353 calls to internal_setent.
16354
c0244a9d
UD
16355 [BZ #12885]
16356 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16357 addresses using gethostbyname4_r ignore IPv4 addresses.
16358
c5e3c2ae
UD
16359 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16360 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16361
75d39ff2
UD
16362 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16363
42675c6f
DM
163642011-06-20 David S. Miller <davem@davemloft.net>
16365
16366 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16367 inclusions.
16368 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16369
16370 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16371 (elf_irel): Use it.
16372 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16373 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16374 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16375 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16376 * sysdeps/x86_64/dl-irel.h: Likewise.
16377
16378 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16379 * elf/dl-sym.c: Likewise.
16380
57912a71
UD
163812011-06-15 Ulrich Drepper <drepper@gmail.com>
16382
16383 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16384 need to dereference resplen2.
16385
ee22793d
AS
163862011-06-14 Andreas Schwab <schwab@redhat.com>
16387
16388 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16389
a9e836b0
UD
163902011-06-15 Ulrich Drepper <drepper@gmail.com>
16391
77fb9117
UD
16392 * Makeconfig: Define vardbdir and inst_vardbdir.
16393 * nss/Makefile: Add rules to install db-Makefile.
16394
40c1b22c
UD
16395 * nss/nss_db/db-XXX.c: Cleanup.
16396
9f2da732
UD
16397 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16398 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16399 GLIBC_PRIVATE.
16400 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16401 * nss/makedb.c: Implement -g option to specify that value strings
16402 are generated and should not be added to table iterated over for
16403 get*ent calls.
16404 * nss/nss_db/db-initgroups.c: New file.
16405
82e9a1f7
UD
16406 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16407 interface.
16408
c41af17e
UD
16409 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16410 (internal_getgrouplist): Adjust to name change.
16411 Update use_initgroups_entry if this is not the first call.
16412 * nss/databases.def: Add initgroups entry.
16413
a9e836b0
UD
16414 * nss/makedb.c (compute_tables): Check result of multiple hash table
16415 sizes to minimize maximum chain length.
16416
2666d441
UD
164172011-06-14 Ulrich Drepper <drepper@gmail.com>
16418
16419 * Versions.def: Add entry for libnss_db.
16420 * shlib-versions: Likewise.
16421 * nss/Makefile: Add rules to build libnss_db.
16422 * nss/Versions: Add libnss_db information. Organize libnss_files
16423 entries better.
16424 * nss/db-Makefile: Add gshadow support. Change rules for the new
16425 makedb progra. Some minor improvements to generate smaller files.
16426 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16427 here from...
16428 * nss/makedb.c: ...here.
16429 Improve database format to be smaller and require less memory at
16430 runtime.
16431 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16432 db anymore.
16433 * nss/nss_db/db-netgrp.c: Likewise.
16434 * nss/nss_db/db-open.c: Likewise.
16435 * nss/nss_files/flies-XXX.x: Adjust comments.
16436 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16437 * nss/nss_files/files-grp.c: Likewise.
16438 * nss/nss_files/files-hosts.c: Likewise.
16439 * nss/nss_files/files-network.c: Likewise.
16440 * nss/nss_files/files-proto.c: Likewise.
16441 * nss/nss_files/files-pwd.c: Likewise.
16442 * nss/nss_files/files-rpc.c: Likewise.
16443 * nss/nss_files/files-service.c: Likewise.
16444 * nss/nss_files/files-sgrp.c: Likewise.
16445 * nss/nss_files/files-spwd.c: Likewise.
16446 * nss/nss_db/db-alias.c: Removed.
16447 * nss/nss_db/dummy-db.h: Removed.
16448
9ee76b5a
UD
164492011-06-02 Ulrich Drepper <drepper@gmail.com>
16450
16451 * nss/makedb.c: Rewritten to not use database library.
16452 * nss/Makefile: Update to build new makedb program.
16453
c71ca1f8
AJ
164542011-06-14 Andreas Jaeger <aj@suse.de>
16455
16456 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16457 memset declaration.
16458
3154bfb8
UD
164592011-06-10 Andreas Schwab <schwab@redhat.com>
16460
16461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16462 tmpbuf.
16463
b350afab
RM
164642011-06-10 Roland McGrath <roland@hack.frob.com>
16465
decd4e50
RM
16466 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16467 * elf/Makefile ($(objpfx)ld.so): Likewise.
16468
5615eaf2
RM
16469 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16470 Don't list ld.so twice in dependencies.
16471
16472 * posix/bug-regex31.c: Include <stdlib.h>.
16473
16474 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16475
16476 * nis/nss_compat/compat-spwd.c
16477 (getspent_next_nss_netgr): Remove unused variable.
16478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16479
16480 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16481 nonmembers" output to use the right array.
16482
16483 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16484
16485 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16486
16487 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16488 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16489 * catgets/gencat.c (read_input_file): Likewise.
16490 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16491
16492 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16493 variable definition inside #if's controlling its use.
16494
16495 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16496
16497 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16498
16499 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16500
16501 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16502 unreachable code.
16503
16504 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16505
b68e08db
RM
16506 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16507 * configure: Regenerated.
16508
b350afab
RM
16509 * Makerules: Revert last change.
16510 * elf/Makefile: Likewise.
16511
28368601
RM
165122011-06-09 Roland McGrath <roland@hack.frob.com>
16513
16514 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16515 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16516 (reloc-link): Likewise.
16517
11988f8f
UD
165182011-06-09 Ulrich Drepper <drepper@gmail.com>
16519
16520 * elf/Makefile: Add rules to build pldd.
16521 * elf/pldd.c: New file.
16522 * elf/pldd-xx.c: New file.
16523
e80fab37
UD
165242011-06-07 Ulrich Drepper <drepper@gmail.com>
16525
16526 * version.h: Update for 2.15 development version.
16527
9b849836
DM
165282011-06-07 David S. Miller <davem@davemloft.net>
16529
16530 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16531 ifuncs.
16532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16533 elf_machine_lazy_rel): Likewise.
16534 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16536 elf_machine_lazy_rel): Likewise.
16537 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16538 dl_hwcap via passed in argument.
16539 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16540 Likewise.
16541
5a31b283
AK
165422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16543
16544 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16545
069e52f8
RM
165462011-06-06 Roland McGrath <roland@hack.frob.com>
16547
16548 [BZ #12849]
16549 * manual/fdl-1.1.texi: New file, verbatim from:
16550 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16551 * manual/lgpl-2.1.texi: New file, verbatim from:
16552 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16553 * manual/Makefile (licenses): New variable, list those new file names.
16554 (texis): Use it.
16555 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16556
16557 * manual/fdl.texi: File removed.
16558 * manual/lesser.texi: File removed.
16559 * manual/libc.texinfo (Copying, Documentation License):
16560 Use new @include file names, put @appendix directive before @include.
16561
f16846a5
JJ
165622011-06-04 Jakub Jelinek <jakub@redhat.com>
16563
16564 [BZ #12841]
16565 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16566 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16567 (mq_open): Add __NTH.
16568
3d29045b
L
165692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16570
16571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16572 Assume Intel Core i3/i5/i7 processor if AVX is available.
16573
8c297311
UD
165742011-05-31 Ulrich Drepper <drepper@gmail.com>
16575
16576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16577 typo.
16578
c8fc0c91
UD
165792011-05-31 Andreas Schwab <schwab@redhat.com>
16580
16581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16582 memory. Use alloca_account. Fix memory leak when retrying.
16583
5b27a807
UD
165842011-05-31 Ulrich Drepper <drepper@gmail.com>
16585
356f8bc6
UD
16586 * version.h (RELEASE): Bump for 2.14 release.
16587 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16588
5b27a807
UD
16589 * config.make.in (RANLIB): Remove entry.
16590
01f16ab0
UD
165912011-05-30 Ulrich Drepper <drepper@gmail.com>
16592
41fce8bd
UD
16593 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16594 (libc.pot): Work around missing support for .ksh extension in xgettext.
16595
4769ae77
UD
16596 [BZ #12684]
16597 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16598 if both request failed.
16599 (send_dg): In case of server errors clear resplen or *resplen2.
16600
6b1e7d19
UD
16601 [BZ #12454]
16602 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16603 when there are multiple maps.
16604 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16605 (_dl_fini): Remove test here.
16606
01f16ab0
UD
16607 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16608
b1ebd700
UD
166092011-05-29 Ulrich Drepper <drepper@gmail.com>
16610
7ae22829
UD
16611 [BZ #12350]
16612 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16613 bit from old_res_options.
16614 (gaih_inet): Likewise.
16615
553149f6 16616 [BZ #11099]
18a84741 16617 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16618 as signed.
16619
652ffab1
UD
16620 * resolv/res_init.c (res_setoptions): Make the code more compact.
16621
16985fd0
UD
16622 [BZ #11558]
16623 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16624 set RES_USEVC.
16625
0464f746
UD
16626 [BZ #11634]
16627 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16628
7d17596c
UD
16629 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16630
cf6bbbd7
UD
16631 [BZ #11781]
16632 * malloc/malloc.h: Declare malloc hook variables as volatile.
16633
13f1ab36
UD
16634 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16635 in last patch.
16636
b1ebd700
UD
16637 [BZ #11799]
16638 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16639 raise in the comment.
80e2212d
UD
16640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16642 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16643
ce67228d
UD
166442011-05-28 Ulrich Drepper <drepper@gmail.com>
16645
8887a920
UD
16646 [BZ #12811]
16647 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16648 grow the buffers more if it already has to be sufficient.
16649 (build_wcs_upper_buffer): Likewise.
16650 * posix/regexec.c (check_matching): Likewise.
16651 (clean_state_log_if_needed): Likewise.
16652 (extend_buffers): Don't enlarge buffers beyond size of the input
16653 buffer.
16654 Patches mostly by Emil Wojak <emil@wojak.eu>.
16655 * posix/bug-regex32.c: New file.
16656 * posix/Makefile (tests): Add bug-regex32.
16657
4f031072
UD
16658 * locale/findlocale.c (_nl_find_locale): Return right away if
16659 _nl_explode_name failed.
16660 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16661
d0478f0c
UD
16662 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16663
de81b246
UD
16664 * debug/xtrace.sh: Unify messages.
16665 * malloc/memusage.sh: Likewise.
16666
c738465a
UD
16667 [BZ #12813]
16668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16669 time symbol from vDSO. Substitute with vsyscall if not available.
16670 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16671 __vdso_time.
16672
f1f929d7
UD
16673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16674 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16676 Add sendmmsg and internal_sendmmsg.
16677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16678 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16680
ce67228d
UD
16681 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16682 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16684
e57420c6
UD
166852011-05-27 Ulrich Drepper <drepper@gmail.com>
16686
a8509ca5
UD
16687 [BZ #12813]
16688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16689 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16690 available.
16691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16692 __vdso_getcpu.
16693
e57420c6
UD
16694 [BZ #12814]
16695 * iconvdata/Makefile (tests): Add bug-iconv9.
16696 * iconvdata/bug-iconv9.c: New file.
16697
4d07db15
AS
166982011-05-27 Andreas Schwab <schwab@redhat.com>
16699
16700 [BZ #12814]
16701 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16702
ea486f69
JJ
167032011-05-25 Jakub Jelinek <jakub@redhat.com>
16704
16705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16706 (struct user_regs_struct): Change intcs field back to cs.
16707
6f038433
UD
167082011-05-25 Ulrich Drepper <drepper@gmail.com>
16709
16710 * po/ja.po: Update from translation team.
16711
67f86a25
UD
167122011-05-23 Ulrich Drepper <drepper@gmail.com>
16713
16714 [BZ #12795]
16715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16716 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16717
def7fbd6
AS
167182011-05-20 Andreas Schwab <schwab@redhat.com>
16719
16720 * stdlib/longlong.h: Update from GCC.
16721
f50ef8f1
AS
167222011-05-23 Andreas Schwab <schwab@redhat.com>
16723
16724 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16725 parameter name.
16726 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16727 Add parameter name.
16728 (__sysconf): Pass it down.
16729
de7ce8f1
UD
167302011-05-22 Ulrich Drepper <drepper@gmail.com>
16731
f2962a71
UD
16732 [BZ #12671]
16733 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16734 some situations.
16735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16736 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16737 add in in __libc_use_alloca calls. Adjust callers.
16738 (glob): Use malloc in some situations.
16739
de7ce8f1
UD
16740 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16741 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16742 pltexit.
16743
aec84f53
UD
167442011-05-21 Ulrich Drepper <drepper@gmail.com>
16745
05bb4a68
UD
16746 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16747 and CLOCK_BOOTTIME_ALARM.
16748
7ea72f99
UD
16749 [BZ #12782]
16750 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16751 is returned.
16752
7e4afad5
UD
16753 * string/_strerror.c (__strerror_r): Print negative errors as signed
16754 numbers.
16755
8e211fec
UD
16756 [BZ #12777]
16757 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16758 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16759 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16760
f7d82dc9
UD
16761 * configure.in: Fix typo in redirection and correct removal of test
16762 files in two cases.
16763
cc9e536d
UD
16764 [BZ #12788]
16765 * locale/setlocale.c (new_composite_name): Fix test to check for
16766 identical name of all categories.
16767
aec84f53
UD
16768 [BZ #12792]
16769 * libio/filedoalloc.c (local_isatty): New function.
16770 (_IO_file_doallocate): Use local_isatty.
16771 * stdio-common/perror.c (perror): In case a new stream is used
16772 forward the stream error.
16773 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16774 error flag.
16775
78e64fdc
RT
167762011-05-20 Ulrich Drepper <drepper@gmail.com>
16777
34a9094f
UD
16778 [BZ #11869]
16779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16780 alloca.
16781 * include/alloca.h (extend_alloca_account): Define.
16782
78e64fdc
RT
16783 [BZ #11857]
16784 * posix/regex.h: Fix comments with documentation of user-accessible
16785 fields after compilation and describe correct free'ing of pattern
16786 after re_compile_pattern.
16787 Patch by Reuben Thomas <rrt@sc3d.org>.
16788
457bddfc
RA
167892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16790
16791 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16792 and -mno-altivec to prevent the compiler from using Altivec and/or
16793 VSX instructions when the corresponding registers are not available.
16794
a4527b51
AS
167952011-05-19 Andreas Schwab <schwab@redhat.com>
16796
16797 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16798
ed690b2f
UD
167992011-05-19 Ulrich Drepper <drepper@gmail.com>
16800
16801 * libio/freopen.c (freopen): Use __dup2, not dup2.
16802 * libio/freopen64.c (freopen64): Likewise.
16803
8db73634
L
168042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16805
16806 [BZ #12775]
16807 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16808 * math/Makefile (tests): Add test-powl.
16809 (CFLAGS-test-powl.c): Define.
16810 * math/test-powl.c: New file.
16811
0a197a9d
L
168122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16813
16814 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16815
ee30c380
UD
168162011-05-17 Ulrich Drepper <drepper@gmail.com>
16817
16818 [BZ #11837]
16819 * iconvdata/gb18030.c: Update to GB18020-2005.
16820
6ce75379
UD
168212011-05-16 Ulrich Drepper <drepper@gmail.com>
16822
a4b89fd8
AR
16823 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16824 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16825 Patch by Aharon Robbins <arnold@skeeve.com>.
16826
ea389b12
UD
16827 [BZ #11892]
16828 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16829 on the stack.
16830
68a3f91f
UD
16831 [BZ #11895]
16832 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16833 through underflows.
16834
15cc7dd1
UD
16835 [BZ #12766]
16836 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16837 point to strings before performing equality test for error_one_per_line
16838 mode.
16839
f3799213
UD
16840 [BZ #11697]
16841 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16842
d79a9c94
UD
16843 [BZ #11820]
16844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16845 (struct user_fpregs_struct): Avoid __uint*_t types.
16846
56e5eb46
UD
16847 [BZ #6420]
16848 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16849 symbol info. Use it instead of calling _dl_addr locally.
16850 (lock_and_info): New function.
16851 (tr_freehook): Call lock_and_info and pass symbol info as additional
16852 parameter to tr_where.
16853 (tr_mallochook): Likewise.
16854 (tr_reallochook): Likewise.
16855 (tr_memalignhook): Likewise.
16856
6ce75379
UD
16857 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16858 used and couldn't be at all thread-safe.
16859
f8a3b5bf
UD
168602011-05-15 Ulrich Drepper <drepper@gmail.com>
16861
94b7cc37
UD
16862 * libio/freopen.c (freopen): Don't close old file descriptor
16863 before the new one is opened. Instead dup the new file descriptor
16864 to the old one after the new stream is created.
16865 * libio/freopen64.c (freopen64): Likewise.
16866 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16867 * libio/fileops.c (_IO_new_file_close_it): Handle new
16868 _IO_FLAGS2_NOCLOSE flag.
16869 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16870 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16871 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16872 _IO_FLAGS2_NOCLOSE flag.
16873 * include/unistd.h: Add hidden_proto for dup3.
16874 Define __have_dup3.
16875 * io/dup3.c: Define hidden symbol.
16876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16877
bd25564e
UD
16878 [BZ #7101]
16879 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16880 when an incomplete long option is used.
16881 * posix/tst-getopt_long1.c: New file.
16882 * posix/Makefile (tests): Add tst-getopt_long1.
16883
c84cfef4
UD
16884 [BZ #10138]
16885 * scripts/config.guess: Update from autoconf-2.68.
16886 * scripts/config.sub: Likewise.
16887
3b85df27
UD
16888 [BZ #10157]
16889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16890 tests into ...
16891 (has_cpuclock): ...this. New function.
16892 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16893 macro here based on has_cpuclock code.
16894
15a856b1
UD
16895 [BZ #10149]
16896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16897 First byte (not low byte) is now always NUL.
16898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16899
05f399e6
UD
16900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16901 Use non-cancelable interfaces.
16902
10a52685 16903 [BZ #9809]
94ecc67d
UD
16904 * locale/iso-639.def: Add entry for Sorani.
16905
f8a3b5bf
UD
16906 [BZ #11901]
16907 * include/stdlib.h: Move include protection to the right place.
16908 Define abort_msg_s. Declare __abort_msg with it.
16909 * stdlib/abort.c (__abort_msg): Adjust type.
16910 * assert/assert.c (__assert_fail_base): New function. Majority
16911 of code from __assert_fail. Allocate memory for __abort_msg with
16912 mmap.
16913 (__assert_fail): Now call __assert_fail_base.
16914 * assert/assert-perr.c: Remove bulk of implementation. Use
16915 __assert_fail_base.
16916 * include/assert.hL Declare __assert_fail_base.
16917 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16918 mmap.
16919 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16920
1af4e298
UD
169212011-05-14 Ulrich Drepper <drepper@gmail.com>
16922
f8a3b5bf 16923 [BZ #11952]
d26dfc60
MG
16924 [BZ #12453]
16925 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16926 until all modules are registered in the DTV.
16927 * elf/Makefile: Add rules to build and run tst-tls19.
16928 * elf/tst-tls19.c: New file.
16929 * elf/tst-tls19mod1.c: New file.
16930 * elf/tst-tls19mod2.c: New file.
16931 * elf/tst-tls19mod3.c: New file.
16932 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16933
2fc54d6f
UD
16934 [BZ #12083]
16935 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16936 correctly.
16937
98d76b46
UD
16938 [BZ #12601]
16939 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16940 two-byte sequence errors.
16941 * iconvdata/Makefile (tests): Add bug-iconv8.
16942 * iconvdata/bug-iconv8.c: New file.
16943
da3c19ef
UD
16944 [BZ #12626]
16945 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16946 buf2 definition.
16947
ca408c15
UD
16948 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16949
d6f67f7d
UD
16950 [BZ #12432]
16951 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16952 (dummy_getcfa): New function.
16953 (init): Get _Unwind_GetCFA address, use dummy if not found.
16954 (backtrace_helper): In recursion check, also check whether CFA changes.
16955 (__backtrace): Completely initialize arg.
16956
1af4e298 16957 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16958 storing incomplete byte sequence in state object. Avoid testing for
16959 guaranteed too small input if we know there is enough data available.
1af4e298 16960
da62f81b
AS
169612011-05-11 Andreas Schwab <schwab@redhat.com>
16962
16963 * Makeconfig (+link-pie): Indent.
16964 * Rules (binaries-pie): Define if $(have-fpie) and
16965 $(build-shared).
16966 (binaries-shared): Also filter out $(binaries-pie).
16967 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16968 * nscd/Makefile (others-pie): Add nscd.
16969 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16970 ($(objpfx)nscd): Remove command override.
16971 * login/Makefile (others-pie): Add pt_chown.
16972 ($(objpfx)pt_chown): Remove command override.
16973 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16974 remove command overrides.
16975
fcabc0f8
UD
169762011-05-13 Ulrich Drepper <drepper@gmail.com>
16977
20030ae6
UD
16978 * libio/tst_putwc.c: Fix error messages.
16979
fcabc0f8
UD
16980 [BZ #12724]
16981 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16982 currently writing and seek to current position when not.
16983 * libio/Makefile (tests): Add bug-fclose1.
16984 * libio/bug-fclose1.c: New file.
16985
320a5dc0
PB
169862011-05-12 Ulrich Drepper <drepper@gmail.com>
16987
16988 [BZ #12511]
16989 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16990 don't set DF_1_NODELETE here.
16991 (do_lookup_x): When entering new entry test for copy relocation
16992 and if necessary set DF_1_NODELETE flag.
16993 * elf/tst-unique4.cc: New file.
16994 * elf/tst-unique4.h: New file.
16995 * elf/tst-unique4lib.cc: New file.
16996 * elf/Makefile: Add rules to build and run tst-unique4.
16997 Patch by Piotr Bury <pbury@goahead.com>.
16998
22836f52
UD
169992011-05-11 Ulrich Drepper <drepper@gmail.com>
17000
f574184a
UD
17001 [BZ #12052]
17002 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17003
e1fb097f
UD
17004 [BZ #12625]
17005 * misc/mntent_r.c (addmntent): Flush the stream after the output
17006
22836f52
UD
17007 [BZ #12393]
17008 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17009 (is_trusted_path_normalize): Skip initial colon. Append slash
17010 to empty buffer. Duplicate is_trusted_path code but allow
17011 constructed patch to be prefix.
17012 (is_dst): Allow $ORIGIN followed by /.
17013 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17014 Correct testing of result of is_trusted_path_normalize
17015 (decompose_rpath): Fix warning.
17016
7b3b0b2a
UD
170172011-05-10 Ulrich Drepper <drepper@gmail.com>
17018
17019 [BZ #11257]
17020 * grp/initgroups.c (internal_getgrouplist): When we found the service
17021 list through the initgroups entry in nsswitch.conf do not always
17022 continue on a successful lookup. Don't always use the
eac80ce2 17023 __nss_group_database value if it is set.
7b3b0b2a
UD
17024 * nss/nsswitch.conf (initgroups): Change action for successful db
17025 lookup to continue for compatibility.
17026
2a81eaa5
UD
170272011-05-09 Ulrich Drepper <drepper@gmail.com>
17028
be97a69e
UD
17029 [BZ #11532]
17030 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17031 and CP774 modules.
17032 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17033 and CP774 modules.
17034 * iconvdata/tst-tables.sh: Likewise.
17035 * iconvdata/cp770.c: New file.
17036 * iconvdata/cp771.c: New file.
17037 * iconvdata/cp772.c: New file.
17038 * iconvdata/cp773.c: New file.
17039 * iconvdata/cp774.c: New file.
17040 * iconvdata/testdata/CP770: New file.
17041 * iconvdata/testdata/CP770..UTF8: New file.
17042 * iconvdata/testdata/CP771: New file.
17043 * iconvdata/testdata/CP771..UTF8: New file.
17044 * iconvdata/testdata/CP772: New file.
17045 * iconvdata/testdata/CP772..UTF8: New file.
17046 * iconvdata/testdata/CP773: New file.
17047 * iconvdata/testdata/CP773..UTF8: New file.
17048 * iconvdata/testdata/CP774: New file.
17049 * iconvdata/testdata/CP774..UTF8: New file.
17050
17051 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17052 END CHARMAP line.
17053 * iconvdata/gen-8bit-gap.sh: Likewise.
17054 * iconvdata/gen-8bit.sh: Likewise.
17055
c1e9e399
UD
17056 * locale/iso-639.def: Add ary entry.
17057
24c55fb3 17058 [BZ #11258]
96b4b1b0
UD
17059 * locale/C-translit.h.in: Add U20A1 transliteration.
17060
bdc2f971
KB
17061 [BZ #12178]
17062 * locale/iso-639.def: Add wae entry.
17063 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17064
2952b117
UD
17065 [BZ #12545]
17066 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17067 for n.
17068
2a81eaa5
UD
17069 [BZ #12711]
17070 * locale/C-translit.h.in: Add entry for U20B9.
17071 Patch by pravin.d.s@gmail.com.
17072
28377d1b
UD
170732011-05-08 Ulrich Drepper <drepper@gmail.com>
17074
7fb90fb8
UD
17075 [BZ #12713]
17076 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17077 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17078 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17079 in rtld. Use *stat64.
7fb90fb8 17080 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17081 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17082 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17083 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17084 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17085 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17086 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17087 __fstatat64 macros.
7fb90fb8
UD
17088 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17089 * dirent/rewinddir.c: Add libc_hidden_def.
17090 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17091 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17092
28377d1b
UD
17093 * include/dirent.h (__alloc_dir): Add flags parameter.
17094 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17095 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17096 __alloc_dir.
17097 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17098 from fdopendir if O_CLOEXEC is already set.
17099
66bdbaa4
AM
171002011-03-15 Alan Modra <amodra@gmail.com>
17101
17102 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17103 l_tls_firstbyte_offset non-zero. Save padding offset in
17104 l_tls_firstbyte_offset for later use.
17105 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17106 freeing static tls block.
17107
95721191
JN
171082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17109
17110 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17111 where #ifdef was intended. The intent is to prevent ARG_MAX from
17112 being defined by the kernel headers.
17113
f87dfb1f
UD
171142011-05-07 Ulrich Drepper <drepper@gmail.com>
17115
17116 [BZ #12734]
17117 * resolv/resolv.h: Define RES_NOTLDQUERY.
17118 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17119 no-tld-query and set RES_NOTLDQUERY.
17120 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17121 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17122 modern BIND to search name as TLD unless forbidden.
17123
47c3cd7a
UD
171242011-05-07 Petr Baudis <pasky@suse.cz>
17125 Ulrich Drepper <drepper@gmail.com>
17126
17127 [BZ #12393]
17128 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17129 (is_trusted_path): ...to here.
c1e9ea35 17130 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17131 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17132 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17133
8a35c912
PP
171342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17135
17136 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17137 __BEGIN/__END_DECLS.
17138
acd41f47
UD
171392011-05-06 Ulrich Drepper <drepper@gmail.com>
17140
17141 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17142 NSS_STATUS_NOTFOUND if no record was found.
17143
597df647
AS
171442011-05-05 Andreas Schwab <schwab@redhat.com>
17145
17146 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17147 (headers-not-in-tirpc): Remove rpc/netdb.h
17148 * resolv/netdb.h: Revert last change.
17149
b9af1301
PP
171502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17151
17152 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17153 circular dependency between libgcc.a and libc.a.
17154
4e34d5f5
AS
171552011-05-05 Andreas Schwab <schwab@redhat.com>
17156
17157 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17158 * nis/Makefile: Don't install rpcsvc/*.
17159 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17160 instead of <rpc/types.h>.
17161 (MAXHOSTNAMELEN): Define.
17162
00ee369c
AS
171632011-05-03 Andreas Schwab <schwab@redhat.com>
17164
17165 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17166
0b592a30
MB
171672011-04-28 Maciej Babinski <mbabinski@google.com>
17168
17169 [BZ #12714]
17170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17171 gethostbyname4_r when IPv6 results are possible.
17172
6e04cbbe
UD
171732011-05-02 Ulrich Drepper <drepper@gmail.com>
17174
17175 [BZ #12723]
17176 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17177 _PC_PIPE_BUF handling.
17178
e4ecafe0
BH
171792011-04-30 Bruno Haible <bruno@clisp.org>
17180
17181 [BZ #12717]
17182 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17183 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17184 to 'int'.
17185 * inet/getnameinfo.c (getnameinfo): Likewise.
17186
125ee683
UD
171872011-04-29 Ulrich Drepper <drepper@gmail.com>
17188
17189 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17190 to groups setting in database lookup.
17191 * nss/nsswitch.conf: Add initgroups entry.
17192
b722481a
EB
171932011-04-22 Ulrich Drepper <drepper@gmail.com>
17194
17195 [BZ #12685]
17196 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17197 mode string.
17198 Patch by Eric Blake <eblake@redhat.com>.
17199
4df46dbd
L
172002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 * sunrpc/Makefile (need-export-routines): Add svc_run.
17203 (routines): Remove svc_run.
17204 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17205 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17206 * sunrpc/svc_run.c (svc_run): Likewise.
17207 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17208
e84142d2
UD
172092011-04-21 Ulrich Drepper <drepper@gmail.com>
17210
17211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17212 problem in reallocation in last patch.
17213
877175d8
UD
172142011-04-20 Ulrich Drepper <drepper@gmail.com>
17215
17216 * sunrpc/Makefile: Move inclusion of Rules.
17217
ab8eed78
UD
172182011-04-19 Ulrich Drepper <drepper@gmail.com>
17219
17220 * nss/nss_files/files-initgroups.c: New file.
17221 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17222 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17223 _nss_files_initgroups_dyn.
17224
e3d8f584
RS
172252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17226
17227 * elf/elf.h (R_ARM_IRELATIVE): Define.
17228
af190f45
UD
172292011-04-19 Ulrich Drepper <drepper@gmail.com>
17230
17231 * po/ru.po: Update from translation team.
17232
53cf59ef
UD
172332011-04-17 Ulrich Drepper <drepper@gmail.com>
17234
17235 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17236 dependencies.
17237
4c559bcd
MF
172382011-02-06 Mike Frysinger <vapier@gentoo.org>
17239
17240 [BZ #12653]
17241 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17242 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17246
4420675c
AS
172472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17248
17249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17250 differing bytes.
17251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17254
75ea32ab
UD
172552011-04-17 Ulrich Drepper <drepper@gmail.com>
17256
17257 [BZ #12420]
17258 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17259 storing it.
17260 * stdlib/bug-getcontext.c: New file.
17261 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17262
27390476
AK
172632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17264
17265 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17266 instructions into .machine "z9-109".
17267 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17268 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17269
10442705
AK
172702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17271
17272 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17273 between environment variables and auxiliary vector.
17274
7b57bfe5
UD
172752011-04-16 Ulrich Drepper <drepper@gmail.com>
17276
17277 * Makefile: Add rules to build linkobj/libc.so.
17278 * include/libc-symbols.h: Define libc_hidden_nolink.
17279 * include/rpc/auth.h: Mark functions which are to be hidden.
17280 * include/rpc/auth_des.h: Likewise.
17281 * include/rpc/auth_unix.h: Likewise.
17282 * include/rpc/clnt.h: Likewise.
17283 * include/rpc/des_crypt.h: Likewise.
17284 * include/rpc/key_prot.h: Likewise.
17285 * include/rpc/pmap_clnt.h: Likewise.
17286 * include/rpc/pmap_prot.h: Likewise.
17287 * include/rpc/pmap_rmt.h: Likewise.
17288 * include/rpc/rpc_msg.h: Likewise.
17289 * include/rpc/svc.h: Likewise.
17290 * include/rpc/svc_auth.h: Likewise.
17291 * include/rpc/xdr.h: Likewise.
17292 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17293 * nss/Makefile: Likewise.
17294 * sunrpc/Makefile: Don't install headers. Build library with normal
17295 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17296 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17297 for the compat linking library. Remove use of INTDEF/INTUSE.
17298 * sunrpc/auth_none.c: Likewise.
17299 * sunrpc/auth_unix.c: Likewise.
17300 * sunrpc/authdes_prot.c: Likewise.
17301 * sunrpc/authuxprot.c: Likewise.
17302 * sunrpc/clnt_gen.c: Likewise.
17303 * sunrpc/clnt_perr.c: Likewise.
17304 * sunrpc/clnt_raw.c: Likewise.
17305 * sunrpc/clnt_simp.c: Likewise.
17306 * sunrpc/clnt_tcp.c: Likewise.
17307 * sunrpc/clnt_udp.c: Likewise.
17308 * sunrpc/clnt_unix.c: Likewise.
17309 * sunrpc/des_crypt.c: Likewise.
17310 * sunrpc/des_soft.c: Likewise.
17311 * sunrpc/get_myaddr.c: Likewise.
17312 * sunrpc/key_call.c: Likewise.
17313 * sunrpc/key_prot.c: Likewise.
17314 * sunrpc/netname.c: Likewise.
17315 * sunrpc/pm_getmaps.c: Likewise.
17316 * sunrpc/pm_getport.c: Likewise.
17317 * sunrpc/pmap_clnt.c: Likewise.
17318 * sunrpc/pmap_prot.c: Likewise.
17319 * sunrpc/pmap_prot2.c: Likewise.
17320 * sunrpc/pmap_rmt.c: Likewise.
17321 * sunrpc/publickey.c: Likewise.
17322 * sunrpc/rpc_cmsg.c: Likewise.
17323 * sunrpc/rpc_common.c: Likewise.
17324 * sunrpc/rpc_dtable.c: Likewise.
17325 * sunrpc/rpc_prot.c: Likewise.
17326 * sunrpc/rpc_thread.c: Likewise.
17327 * sunrpc/rtime.c: Likewise.
17328 * sunrpc/svc.c: Likewise.
17329 * sunrpc/svc_auth.c: Likewise.
17330 * sunrpc/svc_authux.c: Likewise.
17331 * sunrpc/svc_raw.c: Likewise.
17332 * sunrpc/svc_run.c: Likewise.
17333 * sunrpc/svc_simple.c: Likewise.
17334 * sunrpc/svc_tcp.c: Likewise.
17335 * sunrpc/svc_udp.c: Likewise.
17336 * sunrpc/svc_unix.c: Likewise.
17337 * sunrpc/svcauth_des.c: Likewise.
17338 * sunrpc/xcrypt.c: Likewise.
17339 * sunrpc/xdr.c: Likewise.
17340 * sunrpc/xdr_array.c: Likewise.
17341 * sunrpc/xdr_float.c: Likewise.
17342 * sunrpc/xdr_intXX_t.c: Likewise.
17343 * sunrpc/xdr_mem.c: Likewise.
17344 * sunrpc/xdr_rec.c: Likewise.
17345 * sunrpc/xdr_ref.c: Likewise.
17346 * sunrpc/xdr_sizeof.c: Likewise.
17347 * sunrpc/xdr_stdio.c: Likewise.
17348
e6c61494
UD
173492011-04-10 Ulrich Drepper <drepper@gmail.com>
17350
17351 [BZ #12650]
17352 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17353 * sysdeps/ia64/dl-tls.h: Likewise.
17354 * sysdeps/powerpc/dl-tls.h: Likewise.
17355 * sysdeps/s390/dl-tls.h: Likewise.
17356 * sysdeps/sh/dl-tls.h: Likewise.
17357 * sysdeps/sparc/dl-tls.h: Likewise.
17358 * sysdeps/x86_64/dl-tls.h: Likewise.
17359 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17360
34fe483e
AS
173612011-03-14 Andreas Schwab <schwab@redhat.com>
17362
17363 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17364 rpath element also skip the following colon.
17365 (expand_dynamic_string_token): Add is_path parameter and pass
17366 down to DL_DST_REQUIRED and _dl_dst_substitute.
17367 (decompose_rpath): Call expand_dynamic_string_token with
17368 non-zero is_path. Ignore empty rpaths.
17369 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17370 with zero is_path.
17371
f12a32e6
AS
173722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17373
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17375 Make cancelable.
17376
38a7d692
UD
173772011-04-09 Ulrich Drepper <drepper@gmail.com>
17378
17379 [BZ #12655]
17380 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17381 Patch by Filipe David Manana <fdmanana@apache.org>.
17382
e451d22b
AS
173832011-04-07 Andreas Schwab <schwab@redhat.com>
17384
17385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17386 Maintain aligned stack.
17387 (CHECK_RSP): Remove unused macro.
17388
dedc7c7b
UD
173892011-04-03 Ulrich Drepper <drepper@gmail.com>
17390
17391 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17393
94521213
UD
173942011-04-02 Ulrich Drepper <drepper@gmail.com>
17395
17396 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17397
8cb700c0 17398 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17399
0354e355
L
174002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17401
17402 [BZ #12518]
17403 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17404 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17405 * sysdeps/x86_64/memmove.c: New file.
17406 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17407 (memcpy): Renamed to ...
17408 (__new_memcpy): This.
17409 (memcpy): Provide GLIBC_2_14 memcpy.
17410 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17411 (memcpy): Provide GLIBC_2_2_5 memcpy.
17412
8593482f
UD
174132011-04-01 Ulrich Drepper <drepper@gmail.com>
17414
17415 [BZ #12631]
17416 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17417
81a5726b
AS
174182011-03-30 Andreas Schwab <schwab@redhat.com>
17419
17420 * misc/syncfs.c: New file.
17421 * misc/Makefile (routines): Add syncfs.
17422 * posix/unistd.h: Declare syncfs.
17423 * sysdeps/unix/syscalls.list: Add syncfs.
17424
00e5419f
AS
174252011-04-01 Andreas Schwab <schwab@redhat.com>
17426
17427 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17428 open_by_handle_at.
17429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17434 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17436
748876bf
UD
174372011-04-01 Ulrich Drepper <drepper@gmail.com>
17438
658e451d
UD
17439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17446
748876bf
UD
17447 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17448 sync_file_range.c with -fexceptions.
17449 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17450 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17451 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17453 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17456 sync_file_range as cancellation point
17457 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17458 now a wrapper around __call_sync_file_range with cancellation handling.
17459 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17461 function name to __call_sync_file_range.
17462 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17463 Add call_sync_file_range.
748876bf 17464
6e63d5e1
AS
174652011-04-01 Andreas Schwab <schwab@redhat.com>
17466
17467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17468 bits/timex.h.
6e63d5e1 17469
46998f74
UD
174702011-04-01 Ulrich Drepper <drepper@gmail.com>
17471
4c1423ed
UD
17472 * iconv/iconv.h: Fix typo in comment.
17473 * io/fcntl.h: Likewise.
17474 * libio/stdio.h: Likewise.
17475 * posix/spawn.h: Likewise.
17476 * posix/unistd.h: Likewise.
17477 * stdlib/stdlib.h: Likewise.
17478 * time/time.h: Likewise.
17479 * wcsmbs/wchar.h: Likewise.
17480
158648c0
UD
17481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17482 open_by_handle): Add.
17483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17484 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17485 Augment a few comments.
17486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17491 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17492 open_by_handle.
17493
46998f74
UD
17494 * io/fcntl.h (AT_EMPTY_PATH): Define.
17495
83fe108b
UD
174962011-03-30 Ulrich Drepper <drepper@gmail.com>
17497
17498 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17499 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17500 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17501 to...
17502 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17503 * Versions.def: Add GLIBC_2.14.
17504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17505 Export.
83fe108b 17506
bb242059
UD
175072011-03-22 Ulrich Drepper <drepper@gmail.com>
17508
17509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17510 round counter.
17511 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17512
c97a1282
L
175132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 [BZ #12597]
17516 * string/test-strncmp.c (do_page_test): New function.
17517 (check2): Likewise.
17518 (test_main): Call check2.
17519 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17520
2a115601
UD
175212011-03-20 Ulrich Drepper <drepper@gmail.com>
17522
17523 [BZ #12587]
17524 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17525 Handle cache information in CPU leaf 4.
17526 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17527
8126d904
UD
175282011-03-18 Ulrich Drepper <drepper@gmail.com>
17529
042c49c6 17530 [BZ #12583]
8126d904
UD
17531 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17532 character representation.
17533 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17534
ccfe366e
RA
175352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17536
17537 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17538 END(__isnan) to END(__isnanf) to match function entry point/label
17539 EALIGN(__isnanf,...).
17540
c6e13027
JJ
175412011-03-10 Jakub Jelinek <jakub@redhat.com>
17542
17543 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17544
33f85a3f
UD
175452011-03-10 Ulrich Drepper <drepper@gmail.com>
17546
028478fa
UD
17547 [BZ #12510]
17548 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17549 copy from the symbol referenced in the relocation to initialize the
17550 used variable.
17551 Patch by Piotr Bury <pbury@goahead.com>.
17552 * elf/Makefile: Add rules to build and tst-unique3.
17553 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17554 * elf/tst-unique3.cc: New file.
17555 * elf/tst-unique3.h: New file.
17556 * elf/tst-unique3lib.cc: New file.
17557 * elf/tst-unique3lib2.cc: New file.
17558
33f85a3f
UD
17559 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17560
03592fc7
MF
175612011-03-10 Mike Frysinger <vapier@gentoo.org>
17562
17563 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17564 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17565 to _start.
03592fc7 17566
6a5ee102
UD
175672011-03-06 Ulrich Drepper <drepper@gmail.com>
17568
17569 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17570 to-be-loaded object along a path to loader is ld.so.
17571
7e4ba49c
HJ
175722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17573 Ulrich Drepper <drepper@gmail.com>
17574
17575 * sysdeps/x86_64/memset.S: After aligning destination, code
17576 branches to different locations depending on the value of
17577 misalignment, when multiarch is enabled. Fix this.
17578
175792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17580
17581 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17582 Set _x86_64_preferred_memory_instruction for AMD processsors.
17583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17584 Set bit_Prefer_SSE_for_memop for AMD processors.
17585
13a804de
UD
175862011-03-04 Ulrich Drepper <drepper@gmail.com>
17587
17588 * libio/fmemopen.c (fmemopen): Optimize a bit.
17589
9d25c392
AS
175902011-03-03 Andreas Schwab <schwab@redhat.com>
17591
17592 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17593
a5543c6a
RM
175942011-03-03 Roland McGrath <roland@redhat.com>
17595
17596 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17597
012d35f7
DM
175982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17599
7e4ba49c 17600 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17601 __bzero_ultra1 instead of __memset_ultra1.
17602
4bff6e01
AS
176032011-02-23 Andreas Schwab <schwab@redhat.com>
17604 Ulrich Drepper <drepper@gmail.com>
17605
17606 [BZ #12509]
17607 * include/link.h (struct link_map): Add l_orig_initfini.
17608 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17609 returning unsuccessfully.
17610 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17611 close of a file loaded at startup, restore the original l_initfini
17612 list.
17613 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17614 list, store the pointer.
17615 * elf/Makefile ($(objpfx)noload-mem): New rule.
17616 (noload-ENV): Define.
17617 (tests): Add $(objpfx)noload-mem.
17618 * elf/noload.c: Include <memcheck.h>.
17619 (main): Call mtrace. Close all opened handles.
17620
f2092faf
AS
176212011-02-17 Andreas Schwab <schwab@redhat.com>
17622
17623 [BZ #12454]
17624 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17625 dependencies are missing.
17626
6c8a2e88
ST
176272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17628
f2092faf 17629 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17630 Hurd needs munmap.
17631 * sysdeps/mach/hurd/ifreq.h: New file.
17632
84a42118
PB
176332011-01-27 Petr Baudis <pasky@suse.cz>
17634 Ulrich Drepper <drepper@gmail.com>
17635
071f805e 17636 [BZ 12445]#
84a42118
PB
17637 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17638 to extend_alloca().
17639 * stdio-common/bug23.c: New file.
17640 * stdio-common/Makefile (tests): Add bug23.
17641
e23fe25b
AS
176422010-09-28 Andreas Schwab <schwab@redhat.com>
17643 Ulrich Drepper <drepper@gmail.com>
17644
17645 [BZ #12489]
17646 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17647 before performing relro protection. At old place add assertion
17648 to make sure nothing changed.
17649
d3f02e10
NS
176502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17651 Glauber de Oliveira Costa <glommer@gmail.com>
17652
17653 * elf/elf.h: Add new ARM TLS relocs.
17654
d55fd7a5
RA
176552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17656
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17658 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17659 cast from r3.
17660 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17661 'tests' variable.
17662 * sysdeps/wordsize-64/tst-writev.c: New file.
17663
2206397e
RA
176642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17665
17666 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17667 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17668 insns in _dl_start to prevent a TOC reference before relocs are
17669 resolved.
17670
e9433893
UD
176712011-02-15 Ulrich Drepper <drepper@gmail.com>
17672
17673 [BZ #12469]
17674 * Makeconfig: Remove RANLIB definition.
17675 * Makerules: Don't use RANLIB.
17676 * aclocal.m4: Remove ranlib test.
17677 * configure.in: No need to check for ranlib.
17678 * elf/rtld-Rules: Don't use RANLIB.
17679
f75286c6
ST
176802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17681
8e31c82d
ST
17682 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17683 protection macro.
17684 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17685 inclusion protection macro.
17686
f75286c6
ST
17687 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17688 SIGRTMIN and SIGRTMAX and print information in that case only when
17689 SIGRTMIN is defined.
17690
c1d0e639
JJ
176912011-02-11 Jakub Jelinek <jakub@redhat.com>
17692
17693 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17694 arginfo fn returning -1.
17695
17696 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17697 and thousands string is zero terminated.
17698
edf9294e
AS
176992011-02-03 Andreas Schwab <schwab@redhat.com>
17700
17701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17702 sysdeps/unix/sysv/linux/bits/socket.h.
17703
2b7e92df
ST
177042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17705
edf9294e
AS
17706 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17707 (__CPU_COUNT): Remove old macros.
17708 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17709 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17710 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17711 (__sched_cpualloc, __sched_cpufree): Add declarations.
17712
a4c7ea7b
UD
177132011-02-05 Ulrich Drepper <drepper@gmail.com>
17714
17715 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17716 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17717 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17718 (readdhstai): Return value of addhstaiX call.
17719 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17720 (addgrbyX): Return value returned by cache_addgr.
17721 (readdgrbyname): Return value returned by addgrbyX.
17722 (readdgrbygid): Likewise.
17723 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17724 (addpwbyX): Return value returned by cache_addpw.
17725 (readdpwbyname): Return value returned by addhstbyX.
17726 (readdpwbyuid): Likewise.
17727 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17728 (addservbyX): Return value returned by cache_addserv.
17729 (readdservbyname): Return value returned by addservbyX:
17730 (readdservbyport): Likewise.
17731 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17732 (addhstbyX): Return value returned by cache_addhst.
17733 (readdhstbyname): Return value returned by addhstbyX.
17734 (readdhstbyaddr): Likewise.
17735 (readdhstbynamev6): Likewise.
17736 (readdhstbyaddrv6): Likewise.
17737 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17738 (readdinitgroups): Return value returned by addinitgroupsX.
17739 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17740 (prune_cache): Keep track of timeout value of re-added entries.
17741 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17742 * nscd/nscd.h: Adjust prototypes of readd* functions.
17743
a0bf67cc
RM
177442011-02-04 Roland McGrath <roland@redhat.com>
17745
17746 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17747 (nis_stats): Likewise.
17748 * nis/nis_modify.c (nis_modify): Likewise.
17749 * nis/nis_remove.c (nis_remove): Likewise.
17750 * nis/nis_add.c (nis_add): Likewise.
17751
17752 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17753
17754 * posix/fnmatch_loop.c: Add some consts.
17755
17756 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17757
435b95eb
L
177582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 [BZ #12460]
17761 * config.make.in (config-cflags-novzeroupper): Define.
17762 * configure.in: Substitute libc_cv_cc_novzeroupper.
17763 * elf/Makefile (AVX-CFLAGS): Define.
17764 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17765 (CFLAGS-tst-auditmod4a.c): Likewise.
17766 (CFLAGS-tst-auditmod4b.c): Likewise.
17767 (CFLAGS-tst-auditmod6b.c): Likewise.
17768 (CFLAGS-tst-auditmod6c.c): Likewise.
17769 (CFLAGS-tst-auditmod7b.c): Likewise.
17770 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17771
8517b15e
UD
177722011-02-02 Ulrich Drepper <drepper@gmail.com>
17773
17774 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17775 function to the callback.
17776 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17777
10a656fe
AS
177782011-02-02 Andreas Schwab <schwab@redhat.com>
17779
17780 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17781 of errno.
17782
968dad0a
UD
177832011-01-19 Ulrich Drepper <drepper@gmail.com>
17784
9f94d2ea 17785 [BZ #11724]
968dad0a
UD
17786 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17787 of constructors.
17788 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17789 of destructors.
17790 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17791
17792 [BZ #11724]
17793 * elf/Makefile: Add rules to build and run new test.
17794 * elf/tst-initorder.c: New file.
17795 * elf/tst-initorder.exp: New file.
17796 * elf/tst-initordera1.c: New file.
17797 * elf/tst-initordera2.c: New file.
17798 * elf/tst-initordera3.c: New file.
17799 * elf/tst-initordera4.c: New file.
17800 * elf/tst-initorderb1.c: New file.
17801 * elf/tst-initorderb2.c: New file.
17802 * elf/tst-order-a1.c: New file.
17803 * elf/tst-order-a2.c: New file.
17804 * elf/tst-order-a3.c: New file.
17805 * elf/tst-order-a4.c: New file.
17806 * elf/tst-order-b1.c: New file.
17807 * elf/tst-order-b2.c: New file.
17808 * elf/tst-order-main.c: New file.
17809 New test case by George Gensure <werkt0@gmail.com>.
17810
86e92359
UD
178112010-10-01 Andreas Schwab <schwab@redhat.com>
17812
17813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17814 decoding ACE if AI_CANONIDN.
17815
5d5732b0
UD
178162011-01-18 Ulrich Drepper <drepper@gmail.com>
17817
17818 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17819
a77e8cbc
UD
178202011-01-17 Ulrich Drepper <drepper@gmail.com>
17821
6392473f
UD
17822 * version.h (RELEASE): Bump for 2.13 release.
17823 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17824
620a0529
UD
17825 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17826
18ba70a5
UD
17827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17828 MADV_NOHUGEPAGE.
32465c3e
UD
17829 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17832 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17835
c0dafcf1
UD
17836 * posix/getconf.c: Update copyright year.
17837 * catgets/gencat.c: Likewise.
17838 * csu/version.c: Likewise.
17839 * debug/catchsegv.sh: Likewise.
17840 * debug/xtrace.sh: Likewise.
17841 * elf/ldconfig.c: Likewise.
17842 * elf/ldd.bash.in: Likewise.
17843 * elf/sprof.c (print_version): Likewise.
17844 * iconv/iconv_prog.c: Likewise.
17845 * iconv/iconvconfig.c: Likewise.
17846 * locale/programs/locale.c: Likewise.
17847 * locale/programs/localedef.c: Likewise.
17848 * malloc/memusage.sh: Likewise.
17849 * malloc/mtrace.pl: Likewise.
17850 * nscd/nscd.c (print_version): Likewise.
17851 * nss/getent.c: Likewise.
17852
a77e8cbc
UD
17853 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17854 PF_CAIF, and PF_ALG.
17855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17856
77e8bddf
AS
178572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17858
1f20b93a
AS
17859 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17860 (modules-names): Use them.
17861 (ifunc-test-modules, ifunc-pie-tests): Define.
17862 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17863 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17864 (test-extras): Likewise.
17865 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17866 $(compile-command.c).
17867 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17868 (all-built-dso): Define.
17869 (check-textrel.out, check-execstack.out): Depend on it.
17870
77e8bddf
AS
17871 * configure.in: Don't override --enable-multi-arch.
17872
bc425b33
UD
178732011-01-15 Ulrich Drepper <drepper@gmail.com>
17874
17875 [BZ #6812]
17876 * nscd/hstcache.c (tryagain): Define.
17877 (cache_addhst): Return tryagain not notfound for temporary errors.
17878 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17879 failed.
17880
794c3ad3
UD
178812011-01-14 Ulrich Drepper <drepper@gmail.com>
17882
70181fdd
UD
17883 [BZ #10563]
17884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17885 to make the syscall.
17886 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17887
794c3ad3
UD
17888 [BZ #12378]
17889 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17890 and fall back to matching as normal character if the string ends before
17891 the matching ']' is found. This is what POSIX requires.
17892 * posix/testfnm.c: Adjust test result.
17893 * posix/globtest.sh: Adjust test result. Add new test.
17894 * posix/tst-fnmatch.input: Likewise.
17895 * posix/tst-fnmatch2.c: Add new test.
17896
68dc9497
AS
178972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17898
17899 * elf/Makefile (check-execstack): Revert last change. Depend on
17900 check-execstack.h.
17901 (check-execstack.h): New target.
17902 (generated): Add check-execstack.h.
17903 * elf/check-execstack.c: Include "check-execstack.h".
17904 (main): Revert last change.
17905 (handle_file): Return zero if GNU_STACK is absent and
17906 DEFAULT_STACK_PERMS doesn't include PF_X.
17907
451f001b
UD
179082011-01-13 Ulrich Drepper <drepper@gmail.com>
17909
cfa28e56
UD
17910 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17911 in child fails because the descriptor is already closed.
8cf8ce17
UD
17912 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17913 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17915
1086d70d
UD
17916 [BZ #12397]
17917 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17918 syscall.
17919
451f001b
UD
17920 [BZ #10484]
17921 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17922 temporary buffer used to handle multi lookups locally.
a85b5cb4 17923 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17924
08769175
UD
179252011-01-12 Ulrich Drepper <drepper@gmail.com>
17926
17927 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17928 loader is ld.so.
17929
5e49c52e
UD
179302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17931
17932 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17933 alignment for SSE2.
17934
60522a5f
UD
179352011-01-12 Ulrich Drepper <drepper@gmail.com>
17936
17937 [BZ #12394]
17938 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17939 characters. When rounding increased number of integer digits recompute
17940 number of groups.
17941 * stdio-common/tst-grouping.c: New file.
17942 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17943
f257bbd7
UD
179442011-01-09 Ulrich Drepper <drepper@gmail.com>
17945
17946 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17947 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17948
17949 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17950 void.
17951 * bits/select.h: Likewise.
17952
fa9c15cb
UD
179532011-01-08 Ulrich Drepper <drepper@gmail.com>
17954
17955 * po/ja.po: Update from translation team.
17956
16c2895f
DM
179572011-01-04 David S. Miller <davem@sunset.davemloft.net>
17958
17959 [BZ #11155]
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17961 implementation just like for lxstat, fxstatat, et al.
17962
2543fef2
JM
179632010-12-27 Jim Meyering <meyering@redhat.com>
17964
17965 [BZ #12348]
17966 * posix/regexec.c (build_trtable): Return failure indication upon
17967 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17968
98727dbe
UD
179692010-12-25 Ulrich Drepper <drepper@gmail.com>
17970
5bd6dc5c
UD
17971 [BZ #12201]
17972 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17973 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17975 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17976
97983464
UD
17977 [BZ #12207]
17978 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17979
98727dbe
UD
17980 [BZ #12204]
17981 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17982 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17983
4a531bb0
L
179842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17987 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17988 script has SORT_BY_INIT_PRIORITY.
17989 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17990 NO_CTORS_DTORS_SECTIONS is defined.
17991 * elf/soinit.c: Likewise.
17992 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17993 NO_CTORS_DTORS_SECTIONS is defined.
17994 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17995 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17996 * sysdeps/sh/init-first.c: Likewise.
17997 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17998
07eb4b71
UD
179992010-12-24 Ulrich Drepper <drepper@gmail.com>
18000
18001 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18002 always use the slow path.
18003
30950a5f
RA
180042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18005
18006 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18007 similar rule which adds the sysdep directories to the header search in
18008 order to pick up the correct platform stackinfo.h.
18009 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18010 perform test if it is, otherwise return successfully without testing.
18011 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18012 DEFAULT_STACK_PERMS define in stackinfo.h.
18013 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18014 defined in stackinfo.h.
18015 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18016 DEFAULT_STACK_PERMS defined in stackinfo.h.
18017 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18018 * sysdeps/ia64/stackinfo.h: Likewise.
18019 * sysdeps/s390/stackinfo.h: Likewise.
18020 * sysdeps/sh/stackinfo.h: Likewise.
18021 * sysdeps/sparc/stackinfo.h: Likewise.
18022 * sysdeps/x86_64/stackinfo.h: Likewise.
18023 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18024 PF_X for powerpc64. Retain PF_X for powerpc32.
18025
db753e2c
UD
180262010-12-19 Ulrich Drepper <drepper@gmail.com>
18027
14b697f7
UD
18028 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18029 accurately.
db753e2c
UD
18030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18031 GETDENTS_64BIT_ALIGNED.
18032
28300719
UD
180332010-12-14 Ulrich Drepper <dreper@gmail.com>
18034
14b697f7 18035 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18036
4f197237
AS
180372010-12-10 Andreas Schwab <schwab@redhat.com>
18038
dbb0472f
AS
18039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18040 _GNU_SOURCE.
18041
4f197237
AS
18042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18043 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18044 Remove __restrict.
18045 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18046 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18047
fb88ac72
UD
180482010-12-09 Ulrich Drepper <drepper@gmail.com>
18049
18050 [BZ #11655]
18051 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18052 are initialized.
18053
42acbb92
JJ
180542010-12-09 Jakub Jelinek <jakub@redhat.com>
18055
18056 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18057
c038d98d
UD
180582010-12-03 Ulrich Drepper <drepper@gmail.com>
18059
18060 * po/it.po: Update from translation team.
18061
3a4a2499
L
180622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18065 unused codes.
18066
1e24cf6e
UD
180672010-11-30 Ulrich Drepper <drepper@gmail.com>
18068
18069 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18070
a7690819
AS
180712010-11-24 Andreas Schwab <schwab@redhat.com>
18072
18073 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18074 specially.
18075 (gaih_getanswer_slice): Likewise.
18076
3bf8d1b1
JJ
180772010-10-20 Jakub Jelinek <jakub@redhat.com>
18078
18079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18080
6db52fbb
PB
180812010-05-31 Petr Baudis <pasky@suse.cz>
18082
18083 [BZ #11149]
18084 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18085 silently even in the chroot mode.
18086
eaca7569
UD
180872010-11-22 Ulrich Drepper <drepper@gmail.com>
18088
18089 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18090 last patch a bit. Pretty printing
18091
3056dcdb
UD
180922010-05-31 Petr Baudis <pasky@suse.cz>
18093
18094 [BZ #10085]
18095 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18096 initialization of skip_initgroups_dyn.
18097
cf7c9078
UD
180982010-11-19 Ulrich Drepper <drepper@gmail.com>
18099
18100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18102
a1fb5e3e
UD
181032010-11-16 Ulrich Drepper <drepper@gmail.com>
18104
18105 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18106
3540d66b
AS
181072010-11-11 Andreas Schwab <schwab@redhat.com>
18108
18109 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18110 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18111 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18112 ($(objpfx)tst-fnmatch-mem): New rule.
18113 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18114 * posix/tst-fnmatch.c (main): Call mtrace.
18115
13b69574
L
181162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18117
18118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18119 Support Intel processor model 6 and model 0x2c.
18120
da93d214
LM
181212010-11-10 Luis Machado <luisgpm@br.ibm.com>
18122
18123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18124 signed comparison.
18125
8ca52c6e
L
181262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18127
18128 [BZ #12205]
18129 * string/test-strncasecmp.c (check_result): New function.
18130 (do_one_test): Use it.
18131 (check1): New function.
18132 (test_main): Use it.
18133 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18134 Support strcasecmp and strncasecmp.
18135
69da074d
UD
181362010-11-08 Ulrich Drepper <drepper@gmail.com>
18137
18138 [BZ #12194]
18139 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18141
ff02d528
L
181422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18145 IFUNC support.
18146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18147 memset-x86-64.
18148 * sysdeps/x86_64/multiarch/bzero.S: New file.
18149 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18150 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18151 * sysdeps/x86_64/multiarch/memset.S: New file.
18152 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18154 Set bit_Prefer_SSE_for_memop for Intel processors.
18155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18156 Define.
18157 (index_Prefer_SSE_for_memop): Define.
18158 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18159
344d0b54
LM
181602010-11-04 Luis Machado <luisgpm@br.ibm.com>
18161
18162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18164
c0dde15b
UD
181652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 [BZ #12191]
18168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18169 (__x86_64_raw_data_cache_size_half): Likewise.
18170 (__x86_64_raw_shared_cache_size): Likewise.
18171 (__x86_64_raw_shared_cache_size_half): Likewise.
18172
18173 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18174 (__x86_64_raw_data_cache_size_half): Likewise.
18175 (__x86_64_raw_shared_cache_size): Likewise.
18176 (__x86_64_raw_shared_cache_size_half): Likewise.
18177 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18178 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18179 and __x86_64_raw_shared_cache_size_half. Round
18180 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18181 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18182 to multiple of 256 bytes.
18183
0e516e0e
MS
181842010-11-03 Ulrich Drepper <drepper@gmail.com>
18185
18186 [BZ #12167]
18187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18188 of inacessible symlinks. Verify result of symlink before returning it.
18189 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18190 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18191
0e012e87
ER
181922010-10-28 Erich Ritz <erichritz@gmail.com>
18193
18194 * math/math.h (isinf): Fix typo in comment.
18195
de0ff7bc
UD
181962010-11-01 Ulrich Drepper <drepper@gmail.com>
18197
18198 * po/da.po: Update from translation team.
18199
fa41c84d
UD
182002010-10-26 Ulrich Drepper <drepper@gmail.com>
18201
18202 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18203 is added to the list.
18204
f0967738
AK
182052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18206 Ulrich Drepper <drepper@gmail.com>
18207
18208 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18209 the global list here. Move code to...
18210 (_dl_add_to_namespace_list): ...here. New function.
18211 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18212 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18213 * elf/dl-load.c (lose): Don't remove the element from the list.
18214 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18215 (_dl_map_object): Likewise.
18216
182172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18218
18219 [BZ #12159]
18220 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18221 into all bytes of SSE register.
18222 Patch by Richard Li <richardpku@gmail.com>.
18223
f0967738 182242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18225
18226 [BZ #12140]
18227 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18228 perturbing.
18229
d0b9e94f
MB
182302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18231
18232 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18233 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18237 submachine.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18239
8e9f92e9
AS
182402010-10-22 Andreas Schwab <schwab@redhat.com>
18241
18242 * include/dlfcn.h (__RTLD_SECURE): Define.
18243 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18244 mode & __RTLD_SECURE instead.
18245 (open_path): Rename preloaded parameter to secure.
18246 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18247 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18248 * elf/dl-deps.c (openaux): Likewise.
18249 * elf/rtld.c (struct map_args): Remove is_preloaded.
18250 (map_doit): Don't use it.
18251 (dl_main): Likewise.
18252 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18253 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18254
bc96fbda
AS
182552010-09-09 Andreas Schwab <schwab@redhat.com>
18256
18257 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18258 (sysd-rules-targets): Remove duplicates.
18259 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18260 rtld-%.$o dependency.
18261
22cd1c9b
AS
182622010-10-18 Andreas Schwab <schwab@redhat.com>
18263
18264 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18265 _dl_map_object do it.
18266
18edac48
UD
182672010-10-19 Ulrich Drepper <drepper@gmail.com>
18268
18269 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18270 fast fma builtins, define the macros in the C99 standard.
18271 (FP_FAST_FMAF): Likewise.
18272 (FP_FAST_FMAL): Likewise.
18273 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18274
18275 * bits/mathdef.h: Update copyright year.
18276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18277
d2050124
MM
182782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18279
18280 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18281 builtins, define the macros in the C99 standard.
18282 (FP_FAST_FMAF): Likewise.
18283 (FP_FAST_FMAL): Likewise.
18284 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18285 multiply/add.
18286 (FP_FAST_FMAF): Likewise.
18287
475facd1
JJ
182882010-10-15 Jakub Jelinek <jakub@redhat.com>
18289
18290 [BZ #3268]
18291 * math/libm-test.inc (fma_test): Some new testcases.
18292 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18294 y and infinite z. Do multiplication by C already in long double.
18295 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18297 y and infinite z. Do bitwise or of inexact bit into u.d.
18298 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18299 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18300 * sysdeps/i386/fpu/s_fma.S: Removed.
18301 * sysdeps/i386/fpu/s_fmal.S: Removed.
18302
7c08a05c
JJ
183032010-10-16 Jakub Jelinek <jakub@redhat.com>
18304
18305 [BZ #3268]
18306 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18308 computation is not scheduled after fetestexcept. Fix value
18309 of minimum denormal long double.
18310
f3f7372d
JJ
183112010-10-14 Jakub Jelinek <jakub@redhat.com>
18312
18313 [BZ #3268]
18314 * math/libm-test.inc (fma_test): Add some more tests.
18315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18316 correctly.
18317
14d43591
AS
183182010-10-15 Andreas Schwab <schwab@redhat.com>
18319
18320 * scripts/data/localplt-s390-linux-gnu.data: New file.
18321 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18322
5e908464
JJ
183232010-10-13 Jakub Jelinek <jakub@redhat.com>
18324
18325 [BZ #3268]
18326 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18327 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18328 instead of dbl-64.
18329 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18330 inlines.
18331 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18333 if one of x and y is very large and the other is subnormal.
18334 * sysdeps/s390/fpu/s_fmaf.c: New file.
18335 * sysdeps/s390/fpu/s_fma.c: New file.
18336 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18337 * sysdeps/powerpc/fpu/s_fma.S: New file.
18338 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18339 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18340 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18341
183422010-10-12 Jakub Jelinek <jakub@redhat.com>
18343
18344 [BZ #3268]
18345 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18346 fma tests.
18347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18348 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18349 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18350 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18351 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18352 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18354
b833d51f
UD
183552010-10-12 Ulrich Drepper <drepper@redhat.com>
18356
18357 [BZ #12078]
18358 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18359 * posix/bug-regex31.input: Add test case.
18360
1751705d
UD
183612010-10-11 Ulrich Drepper <drepper@gmail.com>
18362
e9b9cbf5
UD
18363 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18364 * posix/bug-regex31.input: New file.
18365
18366 [BZ #12078]
18367 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18368 (parse_sub_exp): Fix last change, use postorder.
18369
ef06edbe
UD
18370 * posix/bug-regex31.c: New file.
18371 * posix/Makefile: Add rules to build and run bug-regex31.
18372
a129c80d
UD
18373 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18374
18375 [BZ #12078]
18376 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18377
b76b818e
UD
18378 [BZ #12108]
18379 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18380 to have entries in sys_siglist.
18381
1751705d
UD
18382 [BZ #12093]
18383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18384 be NULL.
18385
9ff8d36f
JJ
183862010-10-07 Jakub Jelinek <jakub@redhat.com>
18387
18388 [BZ #3268]
18389 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18390 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18391 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18392 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18394 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18395 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18396 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18397 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18398 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18399 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18400 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18401 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18402 * math/ftestexcept.c (fetestexcept): Likewise.
18403 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18404 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18405 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18406 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18407 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18408 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18409 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18410
af325969
UD
184112010-10-11 Ulrich Drepper <drepper@gmail.com>
18412
c579b202 18413 [BZ #12107]
af325969
UD
18414 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18415 newline.
18416
67a67b95
UD
184172010-10-06 Ulrich Drepper <drepper@gmail.com>
18418
18419 * string/bug-strstr1.c: New file.
18420 * string/Makefile: Add rules to build and run bug-strstr1.
18421
5fb308bc
EB
184222010-10-05 Eric Blake <eblake@redhat.com>
18423
18424 [BZ #12092]
18425 * string/str-two-way.h (two_way_long_needle): Always clear memory
18426 when skipping input due to the shift table.
18427
45db99c7
UD
184282010-10-03 Ulrich Drepper <drepper@gmail.com>
18429
3b111893
UD
18430 [BZ #12005]
18431 * malloc/mcheck.c: Handle large requests.
18432
45db99c7
UD
18433 [BZ #12077]
18434 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18435 for strncmp and strncasecmp.
18436 * string/stratcliff.c: Add tests for strcmp and strncmp.
18437 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18438
cf7a1eb8
NI
184392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18440
18441 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18442 __set_fpscr.
18443
6484ba5e
AJ
184442010-09-30 Andreas Jaeger <aj@suse.de>
18445
18446 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18447 (CGROUP_SUPER_MAGIC): Define.
18448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18449 Handle btrfs and cgroup file systems.
18450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18451 Likewise.
18452
91c42559
LM
184532010-09-27 Luis Machado <luisgpm@br.ibm.com>
18454
18455 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18456 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18457
87a97932
AK
184582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18459
18460 [BZ #12067]
18461 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18462 trying to locate the ELF header.
18463
c21cc9bc
AS
184642010-09-27 Andreas Schwab <schwab@redhat.com>
18465
18466 [BZ #11611]
18467 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18468 Mask out sign-bit copies when constructing f_fsid.
18469
315970f6
PB
184702010-09-24 Petr Baudis <pasky@suse.cz>
18471
18472 * debug/stack_chk_fail_local.c: Add missing licence exception.
18473 * debug/warning-nop.c: Likewise.
18474
1ac7a2c7
JM
184752010-09-15 Joseph Myers <joseph@codesourcery.com>
18476
18477 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18478 implementing getdents64 using getdents syscall, set d_type if
18479 __ASSUME_GETDENTS32_D_TYPE.
18480
56801c50
AS
184812010-09-16 Andreas Schwab <schwab@redhat.com>
18482
18483 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18484 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18485
dda51327
UD
184862010-09-21 Ulrich Drepper <drepper@redhat.com>
18487
18488 [BZ #12037]
18489 * posix/unistd.h: Undo change of feature selection for ftruncate from
18490 2010-01-11.
18491
8ffcee4a
UD
184922010-09-20 Ulrich Drepper <drepper@redhat.com>
18493
a545ecd9 18494 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18495 detection.
18496
e24f0a8b
AS
184972010-09-20 Andreas Schwab <schwab@redhat.com>
18498
18499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18500 fanotify_mark.
18501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18502
7291c56f
AS
185032010-09-14 Andreas Schwab <schwab@redhat.com>
18504
18505 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18506 variables after CHECK_SP call.
18507 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18508
bc5fb037
AS
185092010-09-13 Andreas Schwab <schwab@redhat.com>
18510 Ulrich Drepper <drepper@redhat.com>
18511
18512 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18513 re-relocationg ld.so.
18514 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18515 _dl_init_paths call.
18516 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18517 here anymore.
18518
e66e7419
UD
185192010-09-14 Ulrich Drepper <drepper@redhat.com>
18520
18521 * resolv/res_init.c (__res_vinit): Count the default server we added.
18522
c044aa75
CLT
185232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18524 Ulrich Drepper <drepper@redhat.com>
18525
18526 [BZ #11968]
18527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18528 (____longjmp_chk): Use %ebx for saving value across system call.
18529 Add unwind info.
18530
32cf4069
AS
185312010-09-06 Andreas Schwab <schwab@redhat.com>
18532
18533 * manual/Makefile: Don't mix pattern rules with normal rules.
18534
817328ee
AS
185352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18536
18537 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18538 operation.
18539 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18540 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18541 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18542 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18544 Likewise.
18545
29fddf61
UD
185462010-09-04 Ulrich Drepper <drepper@redhat.com>
18547
18548 [BZ #11979]
18549 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18550 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18551
0959ffc9
UD
185522010-09-02 Ulrich Drepper <drepper@redhat.com>
18553
18554 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18555 * sysdeps/x86_64/addmul_1.S: Likewise.
18556 * sysdeps/x86_64/lshift.S: Likewise.
18557 * sysdeps/x86_64/mul_1.S: Likewise.
18558 * sysdeps/x86_64/rshift.S: Likewise.
18559 * sysdeps/x86_64/sub_n.S: Likewise.
18560 * sysdeps/x86_64/submul_1.S: Likewise.
18561
ece29840
ST
185622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18563
0959ffc9
UD
18564 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18565 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18566 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18567 * bits/sched.h [__need_schedparam]
ece29840 18568 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18569 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18570 (__defined_schedparam): Define to 1.
ece29840
ST
18571 (__sched_param): New structure, identical to sched_param.
18572 (__need_schedparam): Undefine.
18573
e53a31fe
MF
185742010-08-31 Mike Frysinger <vapier@gentoo.org>
18575
fdc0c10d
MF
18576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18577 (epoll_create1): Declare.
18578
e53a31fe
MF
18579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18580
a726d796
AS
185812010-08-31 Andreas Schwab <schwab@redhat.com>
18582
18583 [BZ #7066]
18584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18585 shifting retval into place.
18586
2f3e3dc7
UD
185872010-09-01 Ulrich Drepper <drepper@redhat.com>
18588
f2933da9
UD
18589 * nis/rpcsvc/nis.h: Update copyright notice.
18590 * nis/rpcsvc/nis.x: Likewise.
18591 * nis/rpcsvc/nis_callback.h: Likewise.
18592 * nis/rpcsvc/nis_callback.x: Likewise.
18593 * nis/rpcsvc/nis_object.x: Likewise.
18594 * nis/rpcsvc/nis_tags.h: Likewise.
18595 * nis/rpcsvc/yp.h: Likewise.
18596 * nis/rpcsvc/yp.x: Likewise.
18597 * nis/rpcsvc/ypupd.h: Likewise.
18598 * nis/yp_xdr.c: Likewise.
18599 * nis/ypupdate_xdr.c: Likewise.
18600
2f3e3dc7
UD
18601 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18602 mainly the body of pmap_getport. Add parameters to specify timeouts.
18603 (pmap_getport): Use __libc_rpc_getport.
18604 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18605 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18606 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18607
f3dcc2f9
AS
186082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18609
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18611 fanotify_mark.
18612
6d34eb5b
RM
186132010-08-27 Roland McGrath <roland@redhat.com>
18614
18615 * sysdeps/i386/i686/multiarch/Makefile
18616 (CFLAGS-varshift.c): New variable.
18617
9ea3de11
UD
186182010-08-27 Ulrich Drepper <drepper@redhat.com>
18619
c96d23fc
UD
18620 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18621 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18622
9ea3de11
UD
18623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18624
18625 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18626
623aac7f
L
186272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18628
18629 * sysdeps/x86_64/strlen.S: Unroll the loop.
18630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18631 strlen-sse2 strlen-sse2-bsf.
18632 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18633 __strlen_no_bsf if bit_Slow_BSF is set.
18634 (__strlen_sse42): Removed.
18635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18636 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18637
8b2b7715
RM
186382010-08-25 Roland McGrath <roland@redhat.com>
18639
18640 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18641 * sysdeps/x86_64/multiarch/varshift.c: New file.
18642 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18643 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18644 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18645 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18646
e73015f2
L
186472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18648
18649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18650 strlen-sse2 strlen-sse2-bsf.
18651 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18652 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18653 (__strlen_sse2): Removed.
18654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18657 bit_Slow_BSF for Atom.
18658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18659 (index_Slow_BSF): Define.
18660 (HAS_SLOW_BSF): Define.
18661
df24a73e
UD
186622010-08-25 Ulrich Drepper <drepper@redhat.com>
18663
18664 [BZ #10851]
18665 * resolv/res_init.c (__res_vinit): When no server address at all
18666 is given default to loopback.
18667
f2ac4868
RM
186682010-08-24 Roland McGrath <roland@redhat.com>
18669
09055553
RM
18670 * configure.in: Remove config-name.h generation.
18671 * configure: Regenerated.
18672 * config-name.in: File removed.
18673 * scripts/config-uname.sh: New file.
18674 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18675 ($(objdir)config-name.h): New target.
18676
f2ac4868
RM
18677 * sunrpc/rpc_parse.h: Avoid nested comment.
18678
73f27d5e
RH
186792010-08-24 Richard Henderson <rth@redhat.com>
18680 Ulrich Drepper <drepper@redhat.com>
18681 H.J. Lu <hongjiu.lu@intel.com>
18682
18683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18685 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18686 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18687 _mm_alignr_epi8 with _mm_loadu_si128.
18688 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18689 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18690 (__m128i_shift_right): Removed.
18691 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18692 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18693 * sysdeps/x86_64/multiarch/varshift.h: New file.
18694 * sysdeps/x86_64/multiarch/varshift.S: New file.
18695
84b9230c
MF
186962010-08-21 Mike Frysinger <vapier@gentoo.org>
18697
18698 * configure.in: Move assembler checks to before sysdep dir checking.
18699
9bbd0ddc
PB
187002010-08-20 Petr Baudis <pasky@suse.cz>
18701
18702 * LICENSES: Sync the sunrpc license.
18703
9da4bb31
UD
187042010-08-19 Ulrich Drepper <drepper@redhat.com>
18705
a7ab6ec8
UD
18706 * sunrpc/auth_des.c: Update copyright notice once again.
18707 * sunrpc/auth_none.c: Likewise.
18708 * sunrpc/auth_unix.c: Likewise.
18709 * sunrpc/authdes_prot.c: Likewise.
18710 * sunrpc/authuxprot.c: Likewise.
18711 * sunrpc/bindrsvprt.c: Likewise.
18712 * sunrpc/clnt_gen.c: Likewise.
18713 * sunrpc/clnt_perr.c: Likewise.
18714 * sunrpc/clnt_raw.c: Likewise.
18715 * sunrpc/clnt_simp.c: Likewise.
18716 * sunrpc/clnt_tcp.c: Likewise.
18717 * sunrpc/clnt_udp.c: Likewise.
18718 * sunrpc/clnt_unix.c: Likewise.
18719 * sunrpc/des_crypt.c: Likewise.
18720 * sunrpc/des_soft.c: Likewise.
18721 * sunrpc/get_myaddr.c: Likewise.
18722 * sunrpc/getrpcport.c: Likewise.
18723 * sunrpc/key_call.c: Likewise.
18724 * sunrpc/key_prot.c: Likewise.
18725 * sunrpc/openchild.c: Likewise.
18726 * sunrpc/pm_getmaps.c: Likewise.
18727 * sunrpc/pm_getport.c: Likewise.
18728 * sunrpc/pmap_clnt.c: Likewise.
18729 * sunrpc/pmap_prot.c: Likewise.
18730 * sunrpc/pmap_prot2.c: Likewise.
18731 * sunrpc/pmap_rmt.c: Likewise.
18732 * sunrpc/rpc/auth.h: Likewise.
18733 * sunrpc/rpc/auth_unix.h: Likewise.
18734 * sunrpc/rpc/clnt.h: Likewise.
18735 * sunrpc/rpc/des_crypt.h: Likewise.
18736 * sunrpc/rpc/key_prot.h: Likewise.
18737 * sunrpc/rpc/netdb.h: Likewise.
18738 * sunrpc/rpc/pmap_clnt.h: Likewise.
18739 * sunrpc/rpc/pmap_prot.h: Likewise.
18740 * sunrpc/rpc/pmap_rmt.h: Likewise.
18741 * sunrpc/rpc/rpc.h: Likewise.
18742 * sunrpc/rpc/rpc_des.h: Likewise.
18743 * sunrpc/rpc/rpc_msg.h: Likewise.
18744 * sunrpc/rpc/svc.h: Likewise.
18745 * sunrpc/rpc/svc_auth.h: Likewise.
18746 * sunrpc/rpc/types.h: Likewise.
18747 * sunrpc/rpc/xdr.h: Likewise.
18748 * sunrpc/rpc_clntout.c: Likewise.
18749 * sunrpc/rpc_cmsg.c: Likewise.
18750 * sunrpc/rpc_common.c: Likewise.
18751 * sunrpc/rpc_cout.c: Likewise.
18752 * sunrpc/rpc_dtable.c: Likewise.
18753 * sunrpc/rpc_hout.c: Likewise.
18754 * sunrpc/rpc_main.c: Likewise.
18755 * sunrpc/rpc_parse.c: Likewise.
18756 * sunrpc/rpc_parse.h: Likewise.
18757 * sunrpc/rpc_prot.c: Likewise.
18758 * sunrpc/rpc_sample.c: Likewise.
18759 * sunrpc/rpc_scan.c: Likewise.
18760 * sunrpc/rpc_scan.h: Likewise.
18761 * sunrpc/rpc_svcout.c: Likewise.
18762 * sunrpc/rpc_tblout.c: Likewise.
18763 * sunrpc/rpc_util.c: Likewise.
18764 * sunrpc/rpc_util.h: Likewise.
18765 * sunrpc/rpcinfo.c: Likewise.
18766 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18767 * sunrpc/rpcsvc/key_prot.x: Likewise.
18768 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18769 * sunrpc/rpcsvc/mount.x: Likewise.
18770 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18771 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18772 * sunrpc/rpcsvc/rex.x: Likewise.
18773 * sunrpc/rpcsvc/rstat.x: Likewise.
18774 * sunrpc/rpcsvc/rusers.x: Likewise.
18775 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18776 * sunrpc/rpcsvc/spray.x: Likewise.
18777 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18778 * sunrpc/rtime.c: Likewise.
18779 * sunrpc/svc.c: Likewise.
18780 * sunrpc/svc_auth.c: Likewise.
18781 * sunrpc/svc_authux.c: Likewise.
18782 * sunrpc/svc_raw.c: Likewise.
18783 * sunrpc/svc_run.c: Likewise.
18784 * sunrpc/svc_simple.c: Likewise.
18785 * sunrpc/svc_tcp.c: Likewise.
18786 * sunrpc/svc_udp.c: Likewise.
18787 * sunrpc/svc_unix.c: Likewise.
18788 * sunrpc/svcauth_des.c: Likewise.
18789 * sunrpc/xcrypt.c: Likewise.
18790 * sunrpc/xdr.c: Likewise.
18791 * sunrpc/xdr_array.c: Likewise.
18792 * sunrpc/xdr_float.c: Likewise.
18793 * sunrpc/xdr_mem.c: Likewise.
18794 * sunrpc/xdr_rec.c: Likewise.
18795 * sunrpc/xdr_ref.c: Likewise.
18796 * sunrpc/xdr_sizeof.c: Likewise.
18797 * sunrpc/xdr_stdio.c: Likewise.
18798
9da4bb31
UD
18799 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18800 handling.
18801
bdaa77bc
AS
188022010-08-19 Andreas Schwab <schwab@redhat.com>
18803
18804 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18805
fe2f79db
LM
188062010-08-19 Luis Machado <luisgpm@br.ibm.com>
18807
18808 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18811 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18813 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18815 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18817 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18818 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18819 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18820 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18821 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18822
b9b42ee0
AB
188232010-07-26 Anton Blanchard <anton@samba.org>
18824
18825 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18826 * malloc/arena.c (heap_trim): Likewise.
18827
1c06ba31
UD
188282010-08-16 Ulrich Drepper <drepper@redhat.com>
18829
18830 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18831 here. Not...
18832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18833 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18834
f8392f40
L
188352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 * sysdeps/i386/elf/Makefile: New file.
18838
3162f12e
AS
188392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18840
18841 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18842 from fanotify_init.
18843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18845
28c90b2c
UD
188462010-08-15 Ulrich Drepper <drepper@redhat.com>
18847
18848 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18849 of strncasecmp_l.
1feccb6c 18850 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18851
ca6bb004
UD
188522010-08-14 Ulrich Drepper <drepper@redhat.com>
18853
e9f82e0d
UD
18854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18855 strncase_l-nonascii.
18856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18857 Add strncase_l-ssse3.
18858 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18859 * sysdeps/x86_64/strcmp.S: Likewise.
18860 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18861 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18862 * sysdeps/x86_64/strncase.S: New file.
18863 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18864 * sysdeps/x86_64/strncase_l.S: New file.
18865 * string/Makefile (strop-tests): Add strncasecmp.
18866 * string/test-strncasecmp.c: New file.
18867
18868 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18869 warning.
18870
ca6bb004
UD
18871 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18873
052fa7b3
AS
188742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18875
18876 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18877
962dba78
UD
188782010-08-12 Ulrich Drepper <drepper@redhat.com>
18879
18880 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18883
bebff237
AM
188842010-05-01 Alan Modra <amodra@gmail.com>
18885
18886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18887 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18888 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18889 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18890 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18891 tidying. Don't tail-call __sigjmp_save for static lib.
18892 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18893 save location.
18894 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18895 (CALL_MCOUNT): Add eh info, and nop after bl.
18896 (TAIL_CALL_SYSCALL_ERROR): New macro.
18897 (PSEUDO_RET): Use it.
18898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18899 Correct save location of integer regs and cr.
18900 (_dl_profile_resolve): Correct cr save location. Delete nops
18901 after bl when SHARED. Reduce cfi size a little by better
18902 placement of cfi directives.
18903 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18904 make a stack frame. Instead use parm save area as a temp.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18906 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18908 Don't make a stack frame for parent, use parm save area.
18909 Increase child stack frame to 112 bytes. Don't save unused reg,
18910 and adjust reg usage. Set up cfi on error recovery and
18911 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18913 (__makecontext): Add dummy nop after jump to exit.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18915 Use correct parm save area and cr save, reduce stack frame.
18916 Correct cfi for possible PSEUDO_RET frame setup.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18918 Branch to local label emitted by PSEUDO_RET rather than
18919 __syscall_error.
18920
02637374
AS
189212010-08-12 Andreas Schwab <schwab@redhat.com>
18922
18923 [BZ #11904]
18924 * locale/programs/locale.c (print_assignment): New function.
18925 (show_locale_vars): Use it.
18926
c3e2f19b
UD
189272010-08-11 Ulrich Drepper <drepper@redhat.com>
18928
3cdaa6ad
UD
18929 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18930 field.
18931 (struct statfs64): Likewise.
18932 (_STATFS_F_FLAGS): Define.
18933 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18935 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18936 (ST_VALID): Define locally.
18937 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18938 __statvfs_getflags, use the provided value.
18939 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18940 __ASSUME_STATFS_F_FLAGS.
18941
754f7da3
UD
18942 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18943
10b3bedc
UD
18944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18945 Add sys/fanotify.h.
18946 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18947 fanotify_mask for GLIBC_2.13.
18948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18949 fanotify_init and fanotify_mark.
18950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18951 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18952
c08fb0d7
UD
18953 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18954 Add prlimit.
18955 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18956 prlimit64 for GLIBC_2.13.
18957 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18958 prlimit64.
18959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18960 syscall.
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18962 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18963 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18964 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18966 add prlimit alias.
18967 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18968
15bac72b
UD
18969 [BZ #11903]
18970 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18971 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18972
c3e2f19b
UD
18973 * nss/Makefile: Add rules to build and run tst-nss-test1.
18974 * shlib-versions: Add entry for libnss_test1.
18975 * nss/nss_test1.c: New file.
18976 * nss/tst-nss-test1.c: New file.
18977
18978 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18979 (__nss_configure_lookup): Set appropriate entry in
18980 __nss_configure_lookup to true.
18981 * nss/nsswitch.h: Define enum with indeces of databases in
18982 databases and __nss_database_custom arrays. Declare
18983 __nss_database_custom.
18984 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18985 to avoid using nscd when custom rules are installed.
18986 * nss/getXXbyYY_r.c: Likewise.
18987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18988
18989 * nss/nss_files/files-parse.c: Whitespace fixes.
18990
f15ce4d8
UD
189912010-08-09 Ulrich Drepper <drepper@redhat.com>
18992
18993 [BZ #11883]
18994 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18995 * posix/fnmatch_loop.c: Likewise.
18996
d22e4cc9
AK
189972010-07-17 Andi Kleen <ak@linux.intel.com>
18998
18999 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19000 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19001 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19002 * Versions.def [GLIBC_2.13]: Add.
19003
805bc17d
UD
190042010-08-06 Ulrich Drepper <drepper@redhat.com>
19005
19006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19007 Also fail if tpwd after pwuid call is NULL.
19008
5a42321d
ST
190092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19010
19011 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19012 when converting to ms.
19013
fd3ebeda
ST
190142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19015
19016 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19017 EOPNOTSUPP errors with ENOTTY.
19018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19019 EOPNOTSUPP errors with ENOTTY.
19020
73507d3a
UD
190212010-07-31 Ulrich Drepper <drepper@redhat.com>
19022
19023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19024 Add strcasecmp_l-ssse3.
19025 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19026 strcasecmp.
19027 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19028 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19029 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19030
fe36dd02
UD
190312010-07-30 Ulrich Drepper <drepper@redhat.com>
19032
66f6765a
UD
19033 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19034
42e08a54
UD
19035 * string/Makefile (strop-tests): Add strcasecmp.
19036 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19037 strcasecmp_l-nonascii.
19038 (gen-as-const-headers): Add locale-defines.sym.
19039 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19040 * sysdeps/x86_64/strcasecmp.S: New file.
19041 * sysdeps/x86_64/strcasecmp_l.S: New file.
19042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19043 * sysdeps/x86_64/locale-defines.sym: New file.
19044 * string/test-strcasecmp.c: New file.
19045
fe36dd02
UD
19046 * string/test-strcasestr.c: Test both ends of the range of characters.
19047 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19048
48cbc0d6
RM
190492010-07-29 Roland McGrath <roland@redhat.com>
19050
76e6d6bc 19051 [BZ #11856]
48cbc0d6
RM
19052 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19053
880113d9
UD
190542010-07-27 Ulrich Drepper <drepper@redhat.com>
19055
19056 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19057 for ld.so.
19058
deb9cabb
AS
190592010-07-27 Andreas Schwab <schwab@redhat.com>
19060
19061 * manual/memory.texi (Malloc Tunable Parameters): Document
19062 M_PERTURB.
19063
1c7570ff
RM
190642010-07-26 Roland McGrath <roland@redhat.com>
19065
19066 [BZ #11840]
19067 * configure.in (-fgnu89-inline check): Set and substitute
19068 gnu89_inline, not libc_cv_gnu89_inline.
19069 * configure: Regenerated.
19070 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19071
24fb0f88
UD
190722010-07-26 Ulrich Drepper <drepper@redhat.com>
19073
19074 * string/test-strnlen.c: New file.
19075 * string/Makefile (strop-tests): Add strnlen.
19076 * string/tester.c (test_strnlen): Add a few more test cases.
19077 * string/tst-strlen.c: Better error reporting.
19078
19079 * sysdeps/x86_64/strnlen.S: New file.
19080
8e96b93a
UD
190812010-07-24 Ulrich Drepper <drepper@redhat.com>
19082
19083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19084 lower-latency instructions.
19085
dbc676d4
UD
190862010-07-23 Ulrich Drepper <drepper@redhat.com>
19087
19088 * string/test-strcasestr.c: New file.
19089 * string/test-strstr.c: New file.
19090 * string/Makefile (strop-tests): Add strstr and strcasestr.
19091 * string/str-two-way.h: Don't undefine MAX.
19092 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19093
f6a31e0e
AS
190942010-07-21 Andreas Schwab <schwab@redhat.com>
19095
19096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19097 strcasestr-nonascii.
19098 (CFLAGS-strcasestr-nonascii.c): Define.
19099 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19101 Remove unused attribute.
19102
5dbc3b6c
RM
191032010-07-20 Roland McGrath <roland@redhat.com>
19104
19105 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19106 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19107 ld.so.cache was broken. With it, there is no way to disable dsocaps
19108 like LD_HWCAP_MASK can disable hwcaps.
19109
23d101d8
EPM
191102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19111
19112 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19113
cc9f2e47
UD
191142010-07-16 Ulrich Drepper <drepper@redhat.com>
19115
19116 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19117 call in strcasestr.
19118 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19119 __strcasestr_sse42_nonascii.
19120 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19121 strcasestr-nonascii.c.
19122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19123
77c1b069
LM
191242010-06-15 Luis Machado <luisgpm@br.ibm.com>
19125
19126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19130
440566c3
UD
191312010-07-09 Ulrich Drepper <drepper@redhat.com>
19132
19133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19134 fcntl.
19135
5be9d05d
AS
191362010-07-06 Andreas Schwab <schwab@redhat.com>
19137
c30b7ee2 19138 [BZ #11577]
5be9d05d
AS
19139 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19140 dl_signal_cerror.
19141
8a492a67
UD
191422010-07-06 Ulrich Drepper <drepper@redhat.com>
19143
19144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19145 _PC_PIPE_BUF using F_GETPIPE_SZ.
19146
713df3d5
RM
191472010-07-05 Roland McGrath <roland@redhat.com>
19148
19149 * manual/arith.texi (Rounding Functions): Fix rint description
19150 implicit in round description.
19151
702e8f14
UD
191522010-07-02 Ulrich Drepper <drepper@redhat.com>
19153
19154 * elf/Makefile: Fix linking for a few tests to make recent linker
19155 happy.
19156
52ed8be9
AS
191572010-06-30 Andreas Schwab <schwab@redhat.com>
19158
19159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19160 $(common-objpfx)libc_nonshared.a.
19161
f47c9a11
LM
191622010-06-21 Luis Machado <luisgpm@br.ibm.com>
19163
19164 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19165 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19166 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19168 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19171 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19186 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19187 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19188 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19189 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19190 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19191 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19192 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19193 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19194 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19195 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19196 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19197 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19212
6fb8cbcb
L
192132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19214
19215 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19216 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19217 * string/memmove.c (memmove): Renamed to ...
19218 (MEMMOVE): ...this. Default to memmove.
19219 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19220 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19221 (END_CHK): Define.
19222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19223 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19224 mempcpy-ssse3-back memmove-ssse3-back.
19225 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19228 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19229 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19230 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19231 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19232 * sysdeps/x86_64/multiarch/memmove.c: New file.
19233 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19234 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19235 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19236 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19239 Define.
19240 (index_Fast_Copy_Backward): Define.
19241 (HAS_ARCH_FEATURE): Define.
19242 (HAS_FAST_REP_STRING): Define.
19243 (HAS_FAST_COPY_BACKWARD): Define.
19244
4e733bac 192452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19246
19247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19248 Restore proper fallback handling.
19249
63c4ed22
UD
192502010-06-19 Ulrich Drepper <drepper@redhat.com>
19251
ac2b484c
UD
19252 [BZ #11701]
19253 * posix/group_member.c (__group_member): Correct checking loop.
19254
63c4ed22
UD
19255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19256 OOM in getpwuid_r correctly. Return error number when the caller
19257 should return, otherwise -1.
19258 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19259 call returning > 0 value.
19260 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19261
765ade4b
AS
192622010-06-07 Andreas Schwab <schwab@redhat.com>
19263
19264 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19265 libc_nonshared.a from targets in modules-names.
19266
80da2e09
KS
192672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19268
19269 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19270 requires it.
19271
158db122
LM
192722010-06-10 Luis Machado <luisgpm@br.ibm.com>
19273
19274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19278
caa78cf8
AS
192792010-06-02 Andreas Schwab <schwab@redhat.com>
19280
19281 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19282
b2ef2c01
UD
192832010-06-14 Ulrich Drepper <drepper@redhat.com>
19284
19285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19286 and F_GETPIPE_SZ.
19287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19291 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19293
fbd643b6
RM
192942010-06-14 Roland McGrath <roland@redhat.com>
19295
19296 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19297
f32f2869
JJ
192982010-06-07 Jakub Jelinek <jakub@redhat.com>
19299
19300 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19301 __REDIRECT followed by __THROW.
19302 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19303 * posix/getopt.h (getopt): Likewise.
19304
2a50c078
EPM
193052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19306
19307 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19308 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19309 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19310 in AT_FLAGS.
19311 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19312 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19313
eb5ad2eb
LM
193142010-05-28 Luis Machado <luisgpm@br.ibm.com>
19315
19316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19317
3c88fe1e
L
193182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19319
19320 [BZ #11640]
19321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19322 Properly check family and model.
19323
d2f73151
TY
193242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19325
19326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19327
ebd2e13d
LM
193282010-05-24 Luis Machado <luisgpm@br.ibm.com>
19329
19330 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19331
b32b8b45
UD
193322010-05-21 Ulrich Drepper <drepper@redhat.com>
19333
19334 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19335 symbol reference.
19336
9acbe24d
AS
193372010-05-19 Andreas Schwab <schwab@redhat.com>
19338
19339 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19340 symbol reference.
19341
f0ccf6ea
AS
193422010-05-21 Andreas Schwab <schwab@redhat.com>
19343
3d04ff3a
AS
19344 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19345 and internal_recvmmsg.
19346 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19347 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19349 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19350
f0ccf6ea
AS
19351 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19352 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19353 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19354
5b08ac57
AS
193552010-05-20 Andreas Schwab <schwab@redhat.com>
19356
19357 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19358
4828935d
LM
193592010-05-17 Luis Machado <luisgpm@br.ibm.com>
19360
19361 POWER7 optimizations.
19362 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19363 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19364
373d545e
UD
193652010-05-19 Ulrich Drepper <drepper@redhat.com>
19366
19367 * version.h: Update for 2.13 development version.
19368
21a2b1ae
AS
193692010-05-12 Andrew Stubbs <ams@codesourcery.com>
19370
19371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19372 exceptions. Return 0.
19373
3f7dcb2b
RM
193742010-05-07 Roland McGrath <roland@redhat.com>
19375
19376 * elf/ldconfig.c (main): Add a const.
19377
5f24d53a 193782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19379
a160f8d8
UD
19380 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19381 (args_options): Add no-idn option.
19382 (ahosts_keys_int): Add idn_flags to ai_flags.
19383 (parse_option): Handle 'i' option to clear idn_flags.
19384
5f24d53a
UD
19385 * malloc/malloc.c (_int_free): Possible race in the most recently
19386 added check. Only act on the data if no current modification
19387 happened.
265bb1ce
UD
19388
19389See ChangeLog.17 for earlier changes.
This page took 2.582486 seconds and 5 git commands to generate.