]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove _G_USING_THUNKS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0e886ef9
JM
12012-09-10 Joseph Myers <joseph@codesourcery.com>
2
28361c5e
JM
3 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4 [!_G_USING_THUNKS]: Remove conditional code.
5 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7
0e886ef9
JM
8 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11 (_G_VTABLE_LABEL_PREFIX): Likewise.
12 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15 (_G_VTABLE_LABEL_PREFIX): Likewise.
16 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19 (_G_VTABLE_LABEL_PREFIX): Likewise.
20 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21
bcba7aa2
L
222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23
24 * libio/Makefile: Include ../Makeconfig before tests.
25 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26 only if $(build-shared) is yes.
27
06585ee8
L
28 * iconv/gconv_db.c: Update copyright years.
29
80ccd52c
LD
302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31
32 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33 unwind info if defined PIC. Fix special cases description.
34 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35
36 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37 DP_HI_MASK entry.
38 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39
691bc9c1
L
402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41
3d9b46b3
L
42 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43
de2139a9
L
44 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45 is NULL.
46
5ca78dd0
L
47 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
48 (LDLIBS-tst-chk4): This.
49 (LDFLAGS-tst-chk5): Renamed to ...
50 (LDLIBS-tst-chk5): This.
51 (LDFLAGS-tst-chk6): Renamed to ...
52 (LDLIBS-tst-chk6): This.
53 (LDFLAGS-tst-lfschk4): Renamed to ...
54 (LDLIBS-tst-lfschk4): This.
55 (LDFLAGS-tst-lfschk5): Renamed to ...
56 (LDLIBS-tst-lfschk5): This.
57 (LDFLAGS-tst-lfschk6): Renamed to ...
58 (LDLIBS-tst-lfschk6): This.
59
691bc9c1
L
60 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61 on $(common-objpfx)soversions.mk.
62
65cafb1c
JM
632012-09-07 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #10014]
66 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67 example host name.
68
c78ab094
SP
692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
70
71 * malloc/arena.c (arena_get_retry): New function that gets
72 another arena for the caller to try its request on.
73 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74 current arena cannot fulfill the request.
75 (__libc_memalign): Likewise.
76 (__libc_memalign): Likewise.
77 (__libc_pvalloc): Likewise.
78 (__libc_calloc): Likewise.
79
01f49f59
JT
802012-09-05 John Tobey <john.tobey@gmail.com>
81
82 [BZ #13542]
83 * manual/arith.texi (Operations on Complex): Fix description
84 of carg branch cut.
85
4c23fed5
JM
862012-09-06 Joseph Myers <joseph@codesourcery.com>
87
1d3c8572
JM
88 [BZ #10014]
89 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
90 host name.
91
4c23fed5
JM
92 [BZ #10038]
93 * manual/memory.texi (Memory): Make order of menu items match
94 order of sections.
95
04570aaa
L
962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
97
98 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
99 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
100 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
101
b80af2f4
L
1022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
103
104 * csu/libc-tls.c (static_dtv): Renamed to ...
105 (_dl_static_dtv): This. Make it global.
106 (_dl_initial_dtv): Removed.
107 (__libc_setup_tls): Updated.
108 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
109 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
110 DL_INITIAL_DTV.
111
2abe9f15
PM
1122012-09-06 Petr Machata <pmachata@redhat.com>
113
114 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
115 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
116 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
117 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
118
0948c3af
L
1192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
120
121 [BZ #14545]
122 * csu/libc-tls.c (_dl_initial_dtv): New variable.
123 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
124 freeing dtv[-1].
125
a5055ad1
L
1262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
127
128 [BZ #14544]
129 * Makeconfig (link-static-before-libc): Replace $(+prector)
130 with $(+prectorT).
131 (link-static-after-libc): Replace $(+postctor) with
132 $(+postctorT).
133 (link-bounded): Replace $(+prector)/$(+postctor) with
134 $(+prectorT)/$(+postctorT).
135 (+prectorT): New macro.
136 (+postctorT): Likewise.
137
ed8c2ecd
JM
1382012-09-06 Joseph Myers <joseph@codesourcery.com>
139
140 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
141 (round_str): Handle values above the maximum for IBM long double
142 as inexact.
143 * stdlib/tst-strtod-round.c (tests): Regenerated.
144
14c996c8
AK
1452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
146
147 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
148 assembler flag.
149 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
150 zarch_nohighgprs around the zarch optimized routines.
151 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
152 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
153 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
154 for zarch.
155
430d6ce6
DM
1562012-09-05 David S. Miller <davem@davemloft.net>
157
158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
159
ff04dda4
DM
160 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
161 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
162 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
163 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
164 entries.
165
24d4e01b
AO
1662012-09-05 Alexandre Oliva <aoliva@redhat.com>
167
168 * malloc/arena.c: Fold copyright years.
169 * malloc/mcheck.c, malloc/memusage.c: Likewise.
170
61d58174
AO
1712012-09-05 Alexandre Oliva <aoliva@redhat.com>
172
173 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
174
20196a5e
AO
1752012-09-05 Alexandre Oliva <aoliva@redhat.com>
176
177 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
178
5c447383
AO
1792012-09-05 Alexandre Oliva <aoliva@redhat.com>
180
181 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
182 change internal state upon failure.
183
fad64255
AO
1842012-09-05 Alexandre Oliva <aoliva@redhat.com>
185
186 * malloc/mcheck.c (mcheck_check_all): Fix typo.
187 * malloc/memusage.c (mmap): Likewise.
188 (mmap64, mremap): Likewise. Adjust name in comment.
189
1ffb8c90
SP
1902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
191
192 * libio/fileops.c: Fix typos in comments.
193 * libio/oldfileops.c: Likewise.
194 * libio/wfileops.c: Likewise.
195
6ef9cc37
SP
1962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 [BZ #1349]
199 * malloc/Makefile (tests): Add tst-malloc-usable test case.
200 (tst-malloc-usable-ENV): Set environment for test case.
201 * malloc/hooks.c (malloc_check_get_size): New function to get
202 requested size.
203 * malloc/malloc.c (musable): Use malloc_check_get_size.
204 * malloc/tst-malloc-usable.c: New test case.
205
4d038ae3
AS
2062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
207
208 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
209
c4e85184
AM
2102012-09-05 Allan McRae <allan@archlinux.org>
211
b9dafc56 212 [BZ #13966]
c4e85184
AM
213 * configure.in (CXX_SYSINCLUDES): Use compiler output to
214 determine header location.
215 * configure: Regenerated.
216
e1343020
AS
2172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
218
219 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
220 float format.
221 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
222 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
223 format.
e1343020
AS
224 (test): Regenerate.
225
0a9f1987
DM
2262012-09-04 David S. Miller <davem@davemloft.net>
227
228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
231
29237804
FW
2322012-09-04 Florian Weimer <fweimer@redhat.com>
233
234 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
235 failures.
236
edb3cb88
FW
237 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
238
60160d83
JM
2392012-09-04 Joseph Myers <joseph@codesourcery.com>
240
241 [BZ #9914]
242 * libio/iogetdelim.c: Include <limits.h>.
243 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
244 + len + 1 would overflow.
245
bcd6c8dc
AJ
2462012-09-03 Andreas Jaeger <aj@suse.de>
247
248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
249 * sysdeps/i386/fpu/libm-test-ulps: Update.
250
4ffffbd2
LD
2512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
252
253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
254 Add s_sinf-sse2, s_conf-sse2.
255
256 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
257 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
258 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
259 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
260
261 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
262 for using routine as __sinf_ia32.
263 Use macro for function declaration and weak_alias.
264 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
265 for using routine as __cosf_ia32.
266 Use macro for function declaration and weak_alias.
267
268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
269 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
270
271 * sysdeps/x86_64/fpu/s_sinf.S: New file.
272 * sysdeps/x86_64/fpu/s_cosf.S: New file.
273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
274
275 * math/libm-test.inc (cos_test): Add more test cases.
276 (sin_test): Likewise.
277 (sincos_test): Likewise.
278
511fa286
AK
2792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
280
281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
282 (IFUNC_RESOLVE): Make pointers to the specialized implementations
283 hidden.
284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
285
5f30cfec
L
2862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
287
288 [BZ #14538]
289 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
290 first element of the GOT.
291 (elf_machine_load_address): Return the difference between
292 the runtime address of _DYNAMIC and elf_machine_dynamic ().
293
0786794f
AM
2942012-09-01 Allan McRae <allan@archlinux.org>
295
5f30cfec
L
296 [BZ #13412]
297 * configure.in (AWK): Require gawk version 3.0 or later.
298 * configure: Regenerated.
0786794f 299
26889eac
JM
3002012-09-01 Joseph Myers <joseph@codesourcery.com>
301
302 * sysdeps/unix/sysv/linux/kernel-features.h
303 (__ASSUME_POSIX_CPU_TIMERS): Remove.
304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
305 [__NR_clock_getres]: Make code unconditional.
306 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
307 (clock_getcpuclockid): Remove code left unreachable by removal of
308 conditionals.
309 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
310 code unconditional.
311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
314 Make code unconditional.
315 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
317 * sysdeps/unix/sysv/linux/clock_settime.c
318 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
319 conditional code.
320 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
322
d22e28b0
L
3232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
324
325 [BZ #14476]
326 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
327 scripts/test-installation.pl.
328
329 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
330 and $ld_so_version if it is set.
331
050af9c4
SP
3322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
333
334 [BZ #14516]
335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
336 failure if reading from procfs failed.
337 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
338
ad845c0b
JM
3392012-08-27 Joseph Myers <joseph@codesourcery.com>
340
341 * sysdeps/unix/sysv/linux/kernel-features.h
342 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
343 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
344 Remove conditional code.
345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
346 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
347 Remove conditional code.
348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
349 * sysdeps/unix/sysv/linux/i386/fxstat.c
350 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
352 * sysdeps/unix/sysv/linux/i386/fxstatat.c
353 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
355 * sysdeps/unix/sysv/linux/i386/lxstat.c
356 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
358 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
359 Remove conditional code.
360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
361 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
362 Remove conditional code.
363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
364 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
365 <kernel-features.h>.
366 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
367 Remove.
368 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
369 Remove conditional code.
370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
371 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
372 Remove conditional.
373
5dbf56af
MF
3742012-08-27 Mike Frysinger <vapier@gentoo.org>
375
376 [BZ #5400]
377 * NEWS: Add fixed bug number.
378
d6e70f43
JM
3792012-08-27 Joseph Myers <joseph@codesourcery.com>
380
7efb4737
JM
381 [BZ #14519]
382 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
383 underflowing exponent in case of negative sign.
384 * stdlib/tst-strtod-round-data: Add more tests.
385 * stdlib/tst-strtod-round.c (tests): Regenerated.
386
af92131a
JM
387 [BZ #3479]
388 * stdlib/strtod_l.c (NDIG): Remove.
389 (HEXNDIG): Likewise.
390 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
391 smallest representable value.
392 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
393 lie within an exact representation of 1/2 ulp of the result.
394 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
395 unconditionally.
396 (TENS_P9_IDX): Define unconditionally.
397 (TENS_P9_SIZE): Likewise.
398 (TENS_P10_IDX): Likewise.
399 (TENS_P10_SIZE): Likewise.
400 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
401 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
403 entries for 10^2^13 and 10^2^14.
404 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
405 (TENS_P13_IDX): Define.
406 (TENS_P13_SIZE): Likewise.
407 (TENS_P14_IDX): Likewise.
408 (TENS_P14_SIZE): Likewise.
409 (_fpioconst_pow10): Change array size to
410 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
411 unconditional.
412 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
413 1024]: Add entries for 10^2^13 and 10^2^14.
414 [LAST_POW10 > _LAST_POW10]: Remove #error.
415 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
416 (_fpioconst_pow10): Change array size to
417 FPIOCONST_POW10_ARRAY_SIZE.
418 * stdlib/gen-fpioconst.c: New file.
419 * stdlib/gen-tst-strtod-round.c: Likewise.
420 * stdlib/tst-strtod-round-data: Likewise.
421 * stdlib/tst-strtod-round.c: Likewise.
422 * stdlib/Makefile (tests): Add tst-strtod-round.
423
d6e70f43
JM
424 [BZ #14459]
425 * stdlib/strtod_l.c: Include <stdint.h>.
426 (NDEBUG): Do not define.
427 (round_and_return): Change EXPONENT parameter to type intmax_t.
428 Rearrange calculations to avoid internal overflow possibilities.
429 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
430 Rearrange calculations to avoid internal overflow possibilities.
431 Assert that number fits inside MPNSIZE limbs.
432 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
433 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
434 calculations and add assertions to avoid internal overflow
435 possibilities. Add casts to avoid signed/unsigned operations.
436 * stdlib/tst-strtod-overflow.c: New file.
437 * stdlib/Makefile (tests): Add tst-strtod-overflow.
438
1f529f7d
MP
4392012-08-25 Marek Polacek <polacek@redhat.com>
440
441 * time/time.h: Fix some typos in comments.
442
59a629f1
RM
4432012-08-23 Roland McGrath <roland@hack.frob.com>
444
445 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
446 * posix/tst-rfc3484-2.c: Likewise.
447 * posix/tst-rfc3484-3.c: Likewise.
448
d3bafbc9
SM
4492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
450
451 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
452 (EF_ARM_ABI_FLOAT_HARD): Likewise.
453
4efcc022
JM
4542012-08-23 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
457 #include of fxstatat64.c.
458
3cc3ef96
RM
4592012-08-22 Roland McGrath <roland@hack.frob.com>
460
f04e2132
RM
461 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
462 * shadow/getspent_r.c: Likewise.
463 * shadow/getspnam.c: Likewise.
464 * shadow/getspnam_r.c: Likewise.
465 * gshadow/getsgent.c: Likewise.
466 * gshadow/getsgent_r.c: Likewise.
467 * gshadow/getsgnam.c: Likewise.
468 * gshadow/getsgnam_r.c: Likewise.
469 * inet/getnetbyad.c: Likewise.
470 * inet/getnetbyad_r.c: Likewise.
471 * inet/getnetbynm.c: Likewise.
472 * inet/getnetbynm_r.c: Likewise.
473 * inet/getnetent.c: Likewise.
474 * inet/getnetent_r.c: Likewise.
475 * inet/getproto.c: Likewise.
476 * inet/getproto_r.c: Likewise.
477 * inet/getprtent.c: Likewise.
478 * inet/getprtent_r.c: Likewise.
479 * inet/getprtname.c: Likewise.
480 * inet/getprtname_r.c: Likewise.
481 * inet/getrpcbyname.c: Likewise.
482 * inet/getrpcbyname_r.c: Likewise.
483 * inet/getrpcbynumber.c: Likewise.
484 * inet/getrpcbynumber_r.c: Likewise.
485 * inet/getrpcent.c: Likewise.
486 * inet/getrpcent_r.c: Likewise.
487 * inet/getaliasent.c: Likewise.
488 * inet/getaliasent_r.c: Likewise.
489 * inet/getaliasname.c: Likewise.
490 * inet/getaliasname_r.c: Likewise.
491 * nscd/getgrgid_r.c: Likewise.
492 * nscd/getgrnam_r.c: Likewise.
493 * nscd/gethstbyad_r.c: Likewise.
494 * nscd/gethstbynm3_r.c: Likewise.
495 * nscd/getpwnam_r.c: Likewise.
496 * nscd/getpwuid_r.c: Likewise.
497 * nscd/getsrvbynm_r.c: Likewise.
498 * nscd/getsrvbypt_r.c: Likewise.
499 * nscd/gai.c: Likewise.
500
c53d909c
RM
501 * configure.in (build_nscd): New substituted variable, set
502 by --disable-build-nscd and defaults to $use_nscd.
503 * configure: Regenerated.
504 * config.make.in (build-nscd): New substituted variable.
505 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
506 Change conditional to require [$(build-nscd) = yes] as well.
507 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
508
3cc3ef96
RM
509 [BZ# 13696]
510 * configure.in (use_nscd): New substituted variable, set by
511 --disable-nscd. If enabled, define USE_NSCD.
512 * configure: Regenerated.
513 * config.h.in: Add USE_NSCD.
514 * config.make.in (use-nscd): New substituted variable.
515 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
516 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
517 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
518 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
519 (CFLAGS-getgrnam_r.c): Likewise.
520 (CFLAGS-initgroups.c): Likewise.
521 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
522 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
523 Variables removed.
524 * inet/getnetgrent_r.c
525 (nscd_setnetgrent): New function, broken out of ...
526 (setnetgrent): ... here. Call it.
527 (innetgr): Conditionalize nscd bits on [USE_NSCD].
528 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
529 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
530 * nscd/Makefile (routines, aux): Move definitions after include of
531 Makeconfig. Conditionalize on [$(use-nscd) != no].
532 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
533 Conditionalize on [USE_NSCD].
534 (is_nscd, nscd_init_cb): Likewise.
535 (nss_load_library): Conditionalize init callback on [USE_NSCD].
536 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
537 * nss/nss_db/db-init.c: Likewise.
538 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
539 [USE_NSCD].
540 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
541 (make_request): Use it.
542 (cache_valid_p): New function.
543 (__check_pf): Use it.
544 * NEWS: Add item for --disable-nscd.
545
07e51550
DL
5462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
547
548 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
549 to support sed >= 4.2.1-20-ga9bf076.
550 * configure: Regenerated.
551
35a5b08b
RM
5522012-08-22 Roland McGrath <roland@hack.frob.com>
553
554 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
555 Conditionalize whole body on [IREL].
556
8479f23a
JL
5572012-08-22 Jeff Law <law@redhat.com>
558
559 [BZ #14505]
560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
561 if the family is PF_UNSPEC.
562
48da0b21
MF
5632012-08-22 Mike Frysinger <vapier@gentoo.org>
564
565 * Makerules (lib-version): Rename from V.
566 (install-lib-nosubdir): Change V to lib-version.
567
15d0da8c
WS
5682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
569
570 [BZ #14252]
571 * powerpc32/power6/wcschr.c: New file.
572 * powerpc32/power6/wcscpy.c: New file.
573 * powerpc32/power6/wcsrchr.c: New file.
574 * powerpc64/power6/wcschr.c: New file.
575 * powerpc64/power6/wcscpy.c: New file.
576 * powerpc64/power6/wcsrchr.c: New file.
577
bcca0895
MK
5782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
579
580 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
581 (two_way_short_needle): Use it.
5a4aaa33
RM
582 * string/strstr.c (AVAILABLE1_USES_J): Define.
583 * string/strcasestr.c: Likewise.
99677e57
MK
584
585 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
586 array references.
587 * string/strcasestr.c (TOLOWER): Make side-effect safe.
588
400726de
MK
589 [BZ #11607]
590 * NEWS: Add an entry.
591 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
592 define their defaults.
593 (two_way_short_needle): Detect end-of-string on-the-fly.
594 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
595 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
596 * string/bug-strcasestr1.c: New test.
597 * string/Makefile: Run it.
598
20a71f2c
MK
5992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
600
601 [BZ #11607]
602 * string/str-two-way.h (two_way_short_needle): Optimize matching of
603 the first character.
604
21ad0558
RM
6052012-08-21 Roland McGrath <roland@hack.frob.com>
606
607 * csu/elf-init.c (__libc_csu_irel): Function removed.
608 * csu/libc-start.c (apply_irel): New function.
609 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
610
0e1d9911
JM
6112012-08-21 Joseph Myers <joseph@codesourcery.com>
612
613 * sysdeps/unix/sysv/linux/kernel-features.h
614 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
615 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
616 <kernel-features.h>.
617 [__NR_fadvise64_64]: Make code unconditional.
618 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
619 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
620 !__NR_fadvise64_64)]: Likewise.
621 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
622 !__NR_fadvise64_64))]: Likewise.
623 [__NR_fadvise64]: Make code unconditional.
624 [!__NR_fadvise64]: Remove conditional code.
625 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
626 <kernel-features.h>.
627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
628 unconditional.
629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
630 conditional code.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
632 not include <kernel-features.h>.
633 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
634 unconditional.
635 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
636 conditional code.
637 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
638 include <kernel-features.h>.
639 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
640 unconditional.
641 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
642 conditional code.
643
14a50c9d
WS
6442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
645
646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
647 slight instruction rearrangements per scrollpipe analysis.
648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
649
c0f4faf0
RM
6502012-08-20 Roland McGrath <roland@hack.frob.com>
651
696da859
RM
652 * manual/syslog.texi (syslog; vsyslog, closelog):
653 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
654 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
655
c0f4faf0
RM
656 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
657 DSOCAPS to match condition on defining it.
658
348363b2
JM
6592012-08-20 Joseph Myers <joseph@codesourcery.com>
660
a35cbf28
JM
661 * sysdeps/unix/sysv/linux/kernel-features.h
662 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
664 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
665 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
667 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
668 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
670 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
671 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
672
445f7ecd
JM
673 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
674 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
675
348363b2
JM
676 * sysdeps/unix/sysv/linux/kernel-features.h
677 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
678 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
679 unconditional.
680 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
681 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
684 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
685 Make code unconditional.
686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
687 (__mmap64) [!__NR_mmap2]: Likewise.
688 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
691 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
692 [__NR_mmap2]: Make code unconditional.
693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
694 (__mmap64) [!__NR_mmap2]: Likewise.
695
bc5bc0e5
AK
6962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
697
698 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
699
88d506de
AJ
7002012-08-18 Andreas Jaeger <aj@suse.de>
701
702 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
703
493387d2
MF
7042012-08-18 Mike Frysinger <vapier@gentoo.org>
705
706 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
707 * include/unistd.h (__have_sock_cloexec): Likewise.
708 (__have_pipe2): Likewise.
709 (__have_dup3): Likewise.
710
a277af22
MF
7112012-08-18 Mike Frysinger <vapier@gentoo.org>
712
713 [BZ #9685]
714 * include/unistd.h (__have_pipe2): Change define into an extern int.
715 (__have_dup3): Likewise.
716 * socket/have_sock_cloexec.c: Include fcntl.h.
717 (__have_pipe2): New variable.
718 (__have_dup3): Likewise.
719
fdab8fd3
MF
7202012-08-17 Mike Frysinger <vapier@gentoo.org>
721
722 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
723
31035e80
MP
7242012-08-17 Marek Polacek <polacek@redhat.com>
725
726 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
727 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
728
3bd9e993
RM
7292012-08-17 Roland McGrath <roland@hack.frob.com>
730
c91c505f
RM
731 * configure.in: Add AC_SUBST for sysheaders.
732 * configure: Regenerated.
733 * config.make.in (sysheaders): New substituted variable.
734
7c6f9d53
RM
735 * sysdeps/unix/mkfifo.c: Moved ...
736 * sysdeps/posix/mkfifo.c: ... here.
737 * sysdeps/unix/mkfifoat.c: Moved ...
738 * sysdeps/posix/mkfifoat.c: ... here.
739
740 * sysdeps/unix/utime.c: Moved ...
741 * sysdeps/posix/utime.c: ... here.
742
743 * sysdeps/unix/time.c: Moved ...
744 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
745 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
746 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
747
748 * sysdeps/unix/nice.c: Moved ...
749 * sysdeps/posix/nice.c: ... here.
750
751 * sysdeps/unix/alarm.c: Moved ...
752 * sysdeps/posix/alarm.c: ... here.
753
3bd9e993
RM
754 * intl/Makefile ($(codeset_mo)): Depend on the input file.
755
d1f09384
JL
7562012-08-17 Jeff Law <law@redhat.com>
757
758 * intl/Makefile (codeset_mo): New variable.
759 ($(codeset_mo)): New target.
760 (tst-codeset.out): Depend on that. Remove explicit rule.
761 (tst-gettext3.out, tst-gettext5.out): Likewise.
762 (LOCPATH-ENV, tst-codeset-ENV): New variables.
763 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
764 * intl/tst-codeset.sh: Remove.
765 * intl/tst-gettext3.sh: Likewise.
766 * intl/tst-gettext5.sh: Likewise.
767
2ae1ae5c
RM
7682012-08-17 Roland McGrath <roland@hack.frob.com>
769
c31fdb83
RM
770 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
771 * sysdeps/unix/syscalls.list: ... here.
772
a0844057
RM
773 * sysdeps/posix/getaddrinfo.c
774 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
775 (gaiconf_init, gaiconf_reload): Use them.
776 [!_STATBUF_ST_NSEC]
777 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
778 Define using time_t rather than struct timespec.
779
750c1f2a
RM
780 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
781 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
782 Macros removed.
783 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
784 [!NO_THREADS].
785 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
786 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
787 Likewise.
788
2ae1ae5c
RM
789 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
790 __libc_cleanup_push argument.
791
e66a42f5
RM
792 * bits/param.h: New file.
793 * misc/sys/param.h: New file.
794 * include/sys/param.h: New file.
795 * misc/Makefile (headers): Add bits/param.h.
796 * sysdeps/generic/sys/param.h: File removed.
797 * sysdeps/unix/sysv/linux/bits/param.h: New file.
798 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
799 * sysdeps/mach/hurd/bits/param.h: New file.
800 * sysdeps/mach/hurd/sys/param.h: New file.
801
b7c08a66
RM
802 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
803 last change.
804
b2e1c562
RM
805 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
806 [_IO_MTSAFE_IO].
807 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
808 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
809 New macros.
810
c75ccd4c
RM
811 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
812 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
813 rather than -D_IO_MTSAFE_IO conditionally.
814 * stdio-common/Makefile (CPPFLAGS): Likewise.
815 * wcsmbs/Makefile (CPPFLAGS): Likewise.
816 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
817 Use $(libio-mtsafe).
818 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
819 of -D_IO_MTSAFE_IO.
820 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
821 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
822 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
823 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
824 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
825 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
826 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
827 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
828 (CFLAGS-fread_u_chk.c): Likewise.
829 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
830 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
831 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
832 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
833 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
834 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
835 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
836 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
837 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
838
839 * libio/Makefile: Test [$(libc-reentrant) = yes]
840 instead of [$(filter %REENTRANT, $(defines)) nonempty].
841
842 * Makeconfig
843 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
844 * sysdeps/pthread/configure: File removed.
845 * sysdeps/pthread/Makeconfig: New file.
846 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
847 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
848
d9195db8
GB
8492012-08-16 Gary Benson <gbenson@redhat.com>
850
851 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
852 unmapping the first object in a namespace.
853
86466cd9
RM
8542012-08-16 Roland McGrath <roland@hack.frob.com>
855
856 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
857 (__internal_setnetgrent): ... this. Add internal_function to
858 definition. Add libc_hidden_def.
859 (setnetgrent): Update caller.
860 (internal_endnetgrent): Renamed to ...
861 (__internal_endnetgrent): ... this. Add internal_function to
862 definition. Add libc_hidden_def.
863 (endnetgrent): Update caller.
864 (internal_getnetgrent_r): Renamed to ...
865 (__internal_getnetgrent_r): ... this. Add internal_function to
866 definition. Add libc_hidden_def.
867 (__getnetgrent_r): Update caller.
868 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
869
c3c8283c
JM
8702012-08-16 Joseph Myers <joseph@codesourcery.com>
871
872 * stdlib/longlong.h: Update from GCC.
873
db1ee0a8
RM
8742012-08-16 Roland McGrath <roland@hack.frob.com>
875
876 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
877 on _QL, which is set by umul_ppmm but never used.
878 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
879 variables, which are set by GMP macros but never used.
880 * stdio-common/_itowa.c (_itowa): Likewise.
881 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
882 * stdlib/mod_1.c (mpn_mod_1): Likewise.
883
30f69637
CD
8842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
885
886 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
887 struct La_sh_regs is not constant.
888 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
889 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
890 and struct La_sparc64_regs are not constant.
891
93a78ac4
JM
8922012-08-16 Joseph Myers <joseph@codesourcery.com>
893
894 * sysdeps/unix/sysv/linux/kernel-features.h
895 (__ASSUME_POSIX_TIMERS): Remove.
896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
899 Make code unconditional.
900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
901 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
902 Make code unconditional.
903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
904 * sysdeps/unix/sysv/linux/clock_nanosleep.c
905 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
907 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
908 Make code unconditional.
909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
910 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
911 (__libc_missing_posix_timers): Remove.
912
dd924cd7
RM
9132012-08-15 Roland McGrath <roland@hack.frob.com>
914
4b4f2771
RM
915 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
916 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
917
601c888b
RM
918 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
919
176790a7
RM
920 * elf/dl-sym.c: Include <stdlib.h>.
921
329bc018
RM
922 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
923 constants, which avoids warnings in 32-bit builds.
924
e04e272d
RM
925 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
926 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
927
952bf94a
RM
928 * misc/lseek.c: File moved to ...
929 * io/lseek.c: ... here.
930
7c99b50a
RM
931 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
932
dd924cd7
RM
933 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
934 shifting LEN more than 31 bits at once.
935
b3f479a8
LD
9362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
937
938 [BZ #14195]
8c4ae0d4
RM
939 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
940 segmentation fault for a case of two empty input strings.
b3f479a8
LD
941 * string/test-strncasecmp.c (check1): Renamed to...
942 (bz12205): ...this.
943 (bz14195): Add new testcase for two empty input strings and N > 0.
944 (test_main): Call new testcase, adapt for renamed function.
945
9c55864e
AJ
9462012-08-15 Andreas Jaeger <aj@suse.de>
947
948 [BZ #14090]
949 * crypt/md5test2.c: New test, based on test supplied by Serge
950 Belyshev <belyshev@depni.sinp.msu.ru>.
951 * crypt/Makefile (xtests): Add md5test-giant..
952 * crypt/Makefile ($(objpfx)md5test-giant): Add.
953
02dcb6c5
PE
9542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
955
956 [BZ #14090]
957 * crypt/md5.c (md5_process_block): Don't assume the buffer
958 length is less than 2**32.
959 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
960 length is less than 2**64.
961
a3f95dcc
RM
9622012-08-15 Roland McGrath <roland@hack.frob.com>
963
be75d758
RM
964 * string/str-two-way.h: Include <sys/param.h>.
965 (MAX): Macro removed.
966
7312ca90
RM
967 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
968 Move #define and #undef of memmove to just before and after
969 including <string.h>.
970
9a0a5486
RM
971 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
972 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
973 and after including <string.h>. Move declarations of
974 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
975 to before #include "string/memmove.c".
976
67cc348d
RM
977 * include/dirent.h: Declare __getdirentries.
978
a3f95dcc
RM
979 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
980 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
981
ca98e171
MF
9822012-08-14 Mike Frysinger <vapier@gentoo.org>
983
984 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
985 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
986 * sysdeps/i386/configure: Regenerated.
987 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
988 STABS_CURRENT_FILE, and STABS_FUN.
989 (END): Remove call to STABS_FUN_END.
990 (STABS_CURRENT_FILE1): Delete.
991 (STABS_CURRENT_FILE): Likewise.
992 (STABS_FUN): Likewise.
993 (STABS_FUN_END): Likewise.
994 (STABS_FUN2): Likewise.
995 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
996 * sysdeps/x86_64/configure: Regenerated.
997
5908bf46
RM
9982012-08-14 Roland McGrath <roland@hack.frob.com>
999
1000 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1001 * elf/dl-lookup.c: Likewise.
5908bf46 1002
f2c05b9e
JM
10032012-08-14 Joseph Myers <joseph@codesourcery.com>
1004
1005 * sysdeps/unix/sysv/linux/kernel-features.h
1006 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1007 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1008 unconditionally.
1009 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1010 unconditionally.
1011 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1012 condition on __ASSUME_CLONE_THREAD_FLAGS.
1013
e11f5155
AJ
10142012-08-14 Andreas Jaeger <aj@suse.de>
1015
1016 * sysdeps/i386/fpu/libm-test-ulps: Update.
1017
51a9ba86
MK
10182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1019
2fdd4f78
AJ
1020 * include/atomic.h (atomic_exchange_and_add): Split into ...
1021 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1022 New atomic macros.
51a9ba86 1023
ba6cba9e
MT
10242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1025
1026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1027
42443a47
JL
10282012-08-13 Jeff Law <law@redhat.com>
1029
1030 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1031 null byte in the output string.
1032
121dce05
JM
10332012-08-10 Joseph Myers <joseph@codesourcery.com>
1034
1035 * sysdeps/unix/sysv/linux/kernel-features.h
1036 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1037 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1038 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1040 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1041 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1042 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1043
bf51f568
JL
10442012-08-09 Jeff Law <law@redhat.com>
1045
1046 [BZ #13939]
1047 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1048 When avoid_arena is set, don't retry in the that arena. Pick the
1049 next one, whatever it might be.
1050 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1051 (arena_lock): Pass in new parameter to arena_get2.
1052 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1053 arena_get2.
1054 (__libc_malloc): Unify retrying after main arena failure with
1055 __libc_memalign version.
1056 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1057
f85fa270
L
10582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 [BZ #14166]
1061 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1062 to __redirect_strstr.
1063 (__strstr_sse42): Use typeof __redirect_strstr.
1064 (__strstr_ia32): Likewise.
1065 (__libc_strstr): New prototype.
1066 (strstr): Renamed to ...
1067 (__libc_strstr): This.
1068 (strstr): New strong alias of __libc_strstr.
1069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1071 __redirect_time.
1072 Include <time.h>.
1073 (__libc_time): New prototype.
1074 (time_ifunc): Replace time with __libc_time.
1075 (time): New strong alias and hidden definition of __libc_time.
1076 (__GI_time): Remove strong alias.
1077 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1078 Include <stddef.h>.
1079 (memmove): Redefined to __redirect_memmove.
1080 (__memmove_sse2): Use typeof __redirect_memmove.
1081 (__memmove_ssse3): Likewise.
1082 (__memmove_ssse3_back): Likewise.
1083 (__libc_memmove): New prototype.
1084 (memmove): Renamed to ...
1085 (__libc_memmove): This.
1086 (memmove): New strong alias of __libc_memmove.
1087
33b4a91e
MS
10882012-08-08 Mark Salter <msalter@redhat.com>
1089
1090 * elf/elf.h
1091 (R_MN10300_TLS_GD): Define.
1092 (R_MN10300_TLS_LD): Likewise.
1093 (R_MN10300_TLS_LDO): Likewise.
1094 (R_MN10300_TLS_GOTIE): Likewise.
1095 (R_MN10300_TLS_IE): Likewise.
1096 (R_MN10300_TLS_LE): Likewise.
1097 (R_MN10300_TLS_DTPMOD): Likewise.
1098 (R_MN10300_TLS_DTPOFF): Likewise.
1099 (R_MN10300_TLS_TPOFF): Likewise.
1100 (R_MN10300_SYM_DIFF): Likewise.
1101 (R_MN10300_ALIGN): Likewise.
1102 (R_MN10300_NUM): Update.
1103
b36137f1
JM
11042012-08-08 Joseph Myers <joseph@codesourcery.com>
1105
1106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1107 Remove.
1108
cdd915fd
RM
11092012-08-08 Roland McGrath <roland@hack.frob.com>
1110
a2433aac
RM
1111 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1112
cdd915fd
RM
1113 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1114 sysdeps/unix -> sysdeps/posix move.
1115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1116
bf9b740a
AM
11172012-08-07 Allan McRae <allan@archlinux.org>
1118
1119 [BZ #14303]
1120 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1121 (SUNOS_CPP): Likewise.
1122 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1123 not found.
1124 (open_input): Call CPP using execvp.
1125
93df14ee
JM
11262012-08-07 Joseph Myers <joseph@codesourcery.com>
1127
1128 * sysdeps/unix/sysv/linux/kernel-features.h
1129 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1130 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1131 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1132 (__ASSUME_WAITID_SYSCALL): Likewise.
1133 * sysdeps/unix/sysv/linux/dl-execstack.c
1134 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1135 code unconditional.
1136 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1137 conditional code.
1138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1139 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1140 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1141 code.
1142 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1143 unconditional.
1144 [__ASSUME_WAITID_SYSCALL]: Likewise.
1145 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1146
d34689de
RM
11472012-08-07 Roland McGrath <roland@hack.frob.com>
1148
a281decc
RM
1149 * sysdeps/unix/closedir.c: Renamed to ...
1150 * sysdeps/posix/closedir.c: ... here.
1151 * sysdeps/unix/dirfd.c: Renamed to ...
1152 * sysdeps/posix/dirfd.c: ... here.
1153 * sysdeps/unix/dirstream.h: Renamed to ...
1154 * sysdeps/posix/dirstream.h: ... here.
1155 * sysdeps/unix/fdopendir.c: Renamed to ...
1156 * sysdeps/posix/fdopendir.c: ... here.
1157 * sysdeps/unix/opendir.c: Renamed to ...
1158 * sysdeps/posix/opendir.c: ... here.
1159 * sysdeps/unix/readdir.c: Renamed to ...
1160 * sysdeps/posix/readdir.c: ... here.
1161 * sysdeps/unix/readdir_r.c: Renamed to ...
1162 * sysdeps/posix/readdir_r.c: ... here.
1163 * sysdeps/unix/rewinddir.c: Renamed to ...
1164 * sysdeps/posix/rewinddir.c: ... here.
1165 * sysdeps/unix/seekdir.c: Renamed to ...
1166 * sysdeps/posix/seekdir.c: ... here.
1167 * sysdeps/unix/telldir.c: Renamed to ...
1168 * sysdeps/posix/telldir.c: ... here.
1169 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1170 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1171 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1172 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1173
22895b47
RM
1174 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1175 * bits/fcntl.h: ... here.
1176
707a53b6
RM
1177 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1178 not 0.
1179 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1180 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1181 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1182 (struct flock): Move l_start, l_len to the beginning.
1183 Use __pid_t for l_pid.
1184 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1185 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1186 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1187 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1188 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1189 [__USE_LARGEFILE64] (struct flock64): New type.
1190 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1191
f0bd3e25
RM
1192 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1193 * bits/dirent.h: ... here.
1194
d34689de
RM
1195 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1196 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1197
6dad2c06
JM
11982012-08-07 Joseph Myers <joseph@codesourcery.com>
1199
1200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1201 Change from 2.6.0 to 2.6.16.
1202 * sysdeps/unix/sysv/linux/configure: Regenerated.
1203 * sysdeps/unix/sysv/linux/kernel-features.h
1204 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1205 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1206 version.
1207 (__ASSUME_UTIMES): Likewise.
1208 (__ASSUME_CLONE_STOPPED): Remove.
1209 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1210 architectures, not kernel version.
1211 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1212 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1213 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1214 (__ASSUME_WAITID_SYSCALL): Likewise.
1215 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1216 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1217 * README: State 2.6.16 as minimum Linux kernel version. Do not
1218 refer to older versions.
1219
03af9520
RM
12202012-08-06 Roland McGrath <roland@hack.frob.com>
1221
8e49df1d
RM
1222 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1223 Define alphasort64 as an alias.
1224 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1225 Define versionsort64 as an alias.
1226 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1227 Define scandir64 as an alias.
1228 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1229 Define scandirat64 as an alias.
1230 * dirent/alphasort64.c (alphasort64):
1231 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1232 * dirent/versionsort64.c: Likewise.
1233 * dirent/scandir64.c: Likewise.
1234 * dirent/scandirat64.c: Likewise.
1235 * sysdeps/wordsize-64/alphasort.c: File removed.
1236 * sysdeps/wordsize-64/alphasort64.c: File removed.
1237 * sysdeps/wordsize-64/scandir.c: File removed.
1238 * sysdeps/wordsize-64/scandir64.c: File removed.
1239 * sysdeps/wordsize-64/scandirat.c: File removed.
1240 * sysdeps/wordsize-64/scandirat64.c: File removed.
1241 * sysdeps/wordsize-64/versionsort.c: File removed.
1242 * sysdeps/wordsize-64/versionsort64.c: File removed.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1251
1252 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1254 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1256 [defined __arch64__ || defined __sparcv9]
1257 (__INO_T_MATCHES_INO64_T): New macro.
1258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1259 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1260 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1261 * sysdeps/unix/sysv/linux/bits/dirent.h
1262 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1263 (_DIRENT_MATCHES_DIRENT64): New macro.
1264
03af9520
RM
1265 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1266 Define lockf64 as an alias.
1267 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1268 Define fseeko64 as an alias.
1269 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1270 Define ftello64 as an alias.
1271 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1272 Define _IO_fgetpos64 and fgetpos64 as aliases.
1273 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1274 Define _IO_fsetpos64 and fsetpos64 as aliases.
1275 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1276 Conditionalize body on this.
1277 * libio/fseeko64.c: Likewise.
1278 * libio/ftello64.c: Likewise.
1279 * libio/iofgetpos64.c: Likewise.
1280 * libio/iofsetpos64.c: Likewise.
1281 * sysdeps/wordsize-64/lockf.c: File removed.
1282 * sysdeps/wordsize-64/lockf64.c: File removed.
1283 * sysdeps/wordsize-64/fseeko.c: File removed.
1284 * sysdeps/wordsize-64/fseeko64.c: File removed.
1285 * sysdeps/wordsize-64/ftello.c: File removed.
1286 * sysdeps/wordsize-64/ftello64.c: File removed.
1287 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1288 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1289 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1290 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1291 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1292 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1299 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1301
1302 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1304 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1306 [defined __arch64__ || defined __sparcv9]
1307 (__OFF_T_MATCHES_OFF64_T): New macro.
1308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1309 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1311 (__OFF_T_MATCHES_OFF64_T): New macro.
1312
c5757acd
L
13132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 * stdlib/secure-getenv.c (__secure_getenv): Replace
1316 GLIBC_2_16 with GLIBC_2_17.
1317
3a31811e
L
13182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1322
faa2bccb
DM
13232012-08-03 David S. Miller <davem@davemloft.net>
1324
1325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1326
85fe1997
JM
13272012-08-03 Joseph Myers <joseph@codesourcery.com>
1328
1329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1330 Remove.
1331 (__ASSUME_CORRECT_SI_PID): Likewise.
1332 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1333 (__ASSUME_TMPFS_NAME): Likewise.
1334 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1335 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1336 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1337 (HAVE_AUX_SECURE): Make definition unconditional.
1338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1339 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1340
4f75b7a0
RM
13412012-08-03 Roland McGrath <roland@hack.frob.com>
1342
1343 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1344 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1345 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1346 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1347 __eloop_threshold instead of SYMLOOP_MAX.
1348
1349 * sysdeps/generic/eloop-threshold.h: New file.
1350 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1351 of MAXSYMLINKS.
1352 * elf/chroot_canon.c (chroot_canon): Likewise.
1353
7aab07e4
JM
13542012-08-03 Joseph Myers <joseph@codesourcery.com>
1355
1356 [BZ #13717]
1357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1358 Change to 2.6.0 everywhere.
1359 * sysdeps/unix/sysv/linux/configure: Regenerated.
1360 * sysdeps/unix/sysv/linux/kernel-features.h
1361 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1362 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1363 kernel versions.
1364 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1365 (__ASSUME_FUTEX_REQUEUE): Remove.
1366 (__ASSUME_STATFS64): Define unconditionally.
1367 (__ASSUME_AT_SECURE): Likewise.
1368 (__ASSUME_CORRECT_SI_PID): Likewise.
1369 (__ASSUME_TGKILL): Define without depending on kernel version for
1370 i386.
1371 (__ASSUME_UTIMES): Likewise.
1372 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1373 kernel version.
1374 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1375 (__ASSUME_TMPFS_NAME): Likewise.
1376 * README: Update reference to Linux kernel versions.
1377
b67e9372
MP
13782012-08-02 Marek Polacek <polacek@redhat.com>
1379
1f529f7d 1380 [BZ# 14150]
b67e9372
MP
1381 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1382 libc_cv_asm_type_prefix with %.
1383 * configure: Regenerated.
d2441631
RM
1384 * include/libc-symbols.h: Remove comment about
1385 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1386 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1387 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1388 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1389 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1390 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1391 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1392 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1393 * elf/tst-unique2mod1.c: Likewise.
1394 * elf/tst-unique1mod2.c: Likewise.
1395 * elf/tst-unique1mod1.c: Likewise.
1396 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1397 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1398 Replace ASM_TYPE_DIRECTIVE with .type.
1399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1400 * sysdeps/i386/sysdep.h: Likewise.
1401 * sysdeps/x86_64/sysdep.h: Likewise.
1402 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1404 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1405 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1406 * sysdeps/powerpc/powerpc32/sysdep.h:
1407 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1408 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1409 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1410 * sysdeps/i386/fpu/e_powf.S: Likewise.
1411 * sysdeps/i386/fpu/e_expl.S: Likewise.
1412 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1413 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1414 * sysdeps/i386/fpu/e_pow.S: Likewise.
1415 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1417 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1418 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1419 * sysdeps/i386/fpu/e_log2.S: Likewise.
1420 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1422 * sysdeps/i386/fpu/e_powl.S: Likewise.
1423 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1424 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1425 * sysdeps/i386/fpu/e_logl.S: Likewise.
1426 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1431 * sysdeps/i386/fpu/e_log.S: Likewise.
1432 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1433 * sysdeps/i386/fpu/e_logf.S: Likewise.
1434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1436 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1437 * sysdeps/i386/fpu/e_log10.S: Likewise.
1438 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1440 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1441 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1444 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1445 * sysdeps/i386/i686/strtok.S: Likewise.
1446 * sysdeps/i386/i386-mcount.S: Likewise.
1447 * sysdeps/i386/strtok.S: Likewise.
1448 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1452 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1453 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1454 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1455 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1457 * sysdeps/x86_64/_mcount.S: Likewise.
1458 * sysdeps/x86_64/strtok.S: Likewise.
1459 * sysdeps/sh/_mcount.S: Likewise.
1460
2747bf9a
RM
14612012-08-01 Roland McGrath <roland@hack.frob.com>
1462
1463 * libio/iofopen.c: Include <fcntl.h>.
1464 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1465 (_IO_fopen64, fopen64): Define as aliases.
1466 * libio/iofopen64.c: Include <fcntl.h>.
1467 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1468 Conditionalize body on this.
1469 * sysdeps/wordsize-64/iofopen.c: File removed.
1470 * sysdeps/wordsize-64/iofopen64.c: File removed.
1471
3fb791b8
MP
14722012-08-01 Marek Polacek <polacek@redhat.com>
1473
1474 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1475 Use dlfcn directly instead of a variable.
1476 (binfmt-subdir): Do not define.
1477 (dlfcn): Likewise.
1478
a9f1039f
JM
14792012-08-01 Joseph Myers <joseph@codesourcery.com>
1480
23bddc06
JM
1481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1482 Remove all definitions.
1483 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1484 <kernel-features.h>.
1485 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1486 (miss_F_GETOWN_EX): Remove all definitions.
1487 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1488 macro definition.
1489 [!__ASSUME_FCNTL64]: Remove conditional code.
1490 [__ASSUME_FCNTL64]: Make code unconditional.
1491 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1492 <kernel-features.h>.
1493 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1494 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1495 (lockf64) [__NR_fcntl64]: Make code unconditional.
1496 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1497
a9f1039f
JM
1498 * sysdeps/unix/sysv/linux/kernel-features.h
1499 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1500 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1501 Make code unconditional.
1502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1505 [__NR_vfork]: Make code unconditional.
1506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1509 [__NR_vfork]: Make code unconditional.
1510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1512
09c0ee5f
RM
15132012-08-01 Roland McGrath <roland@hack.frob.com>
1514
48aec5b9
RM
1515 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1516 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1517
cd97c966
RM
1518 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1519 Define mkstemp64 as an alias.
3f55550c
RM
1520 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1521 Define mkstemps64 as an alias.
cd97c966
RM
1522 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1523 Define mkostemp64 as an alias.
b8625cfc
RM
1524 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1525 Define mkostemps64 as an alias.
cd97c966
RM
1526 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1527 Conditionalize body on this.
1528 * misc/mkostemp64.c: Likewise.
b8625cfc 1529 * misc/mkostemps64.c: Likewise.
3f55550c 1530 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1531 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1532 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1533 * sysdeps/wordsize-64/mkostemp.c: File removed.
1534 * sysdeps/wordsize-64/mkstemp.c: File removed.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1538 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1539
09c0ee5f
RM
1540 [BZ #14138]
1541 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1542 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1543 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1544 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1545
1546 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1547 compat_symbol macros from <shlib-compat.h> rather than the underlying
1548 default_symbol_version and symbol_version macros, so that DEFAULT
1549 lines in shlib-versions are respected.
1550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1551
7e66ee51
FW
15522012-08-01 Florian Weimer <fweimer@redhat.com>
1553
1554 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1555 Declare with warn_unused_result.
1556 (setgid, setregid, setegid, setresgid): Likewise.
1557 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1558 Likewise.
1559 * WUR-REPORT: Remove set*id functions.
1560
d2a54255
PT
15612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1562
1563 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1564
7ecdb005
RM
15652012-07-31 Roland McGrath <roland@hack.frob.com>
1566
789bd351
RM
1567 * include/sys/socket.h (__libc_accept, __libc_accept4):
1568 Add attribute_hidden.
1569 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1570
40ce302d
RM
1571 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1572 use of PTR_MANGLE.
1573 * inet/getnetgrent_r.c (setup): Likewise.
1574
7ecdb005
RM
1575 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1576
e2eabb2c
DM
15772012-07-31 David S. Miller <davem@davemloft.net>
1578
1579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1580
d0419dbf
JM
15812012-07-31 Joseph Myers <joseph@codesourcery.com>
1582
1583 [BZ #13629]
1584 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1585 value between 1.0 and 2.0 and smaller part has absolute value less
1586 than 1.0.
1587 * math/s_clog10.c (__clog10): Likewise.
1588 * math/s_clog10f.c (__clog10f): Likewise.
1589 * math/s_clog10l.c (__clog10l): Likewise.
1590 * math/s_clogf.c (__clogf): Likewise.
1591 * math/s_clogl.c (__clogl): Likewise.
1592 * math/libm-test.inc (clog_test): Add more tests.
1593 (clog10_test): Likewise.
1594 * sysdeps/i386/fpu/libm-test-ulps: Update.
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1596
2bc13872
FW
15972012-07-31 Florian Weimer <fweimer@redhat.com>
1598
1599 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1600 Exit with zero in case no suitable GID is found, and write a
1601 message to standard error.
1602
bea9b193
RM
16032012-07-30 Roland McGrath <roland@hack.frob.com>
1604
1605 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1606 rather than to 1.
1607 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1608 (MAXPATHLEN): Removed.
1609 (NOGROUP, NODEV): New macros.
1610 (setbit, clrbit, isset, isclr): New macros.
1611 (howmany, roundup, powerof2): New macros.
1612 (DEV_BSIZE): New macro.
1613
1614 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1615 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1616
1617 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1618 definition on [!__NO_LONG_DOUBLE_MATH].
1619
1620 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1621 PTR_MANGLE and PTR_DEMANGLE.
1622
1623 * socket/accept4.c (accept4): Rename to __libc_accept4.
1624 Define accept4 as a weak alias.
1625
1626 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1627 on [_DIRENT_HAVE_D_TYPE].
1628 * io/ftw.c (ftw_dir): Likewise.
1629
1630 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1631
1632 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1633
1634 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1635 Use the BSD numbers rather than the arbitrary ones we had.
1636 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1637 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1638 (SIGXCPU, SIGXFSZ): New macros.
1639 (_NSIG): Now 32.
1640
1641 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1642 initializer on [_LIBC_REENTRANT].
1643
1644 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1645 definitions inside [_POSIX_MAPPED_FILES].
1646
1647 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1648
1649 * dirent/opendir.c: Include <fcntl.h>.
1650
1651 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1652 (__libc_getspecific): Likewise.
1653 (__libc_key_create): Likewise.
1654
1655 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1656 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1657 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1658 (tmpfile64): Define as alias.
1659 * sysdeps/wordsize-64/tmpfile.c: File removed.
1660 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1663
1664 * stdio-common/vfscanf.c: Include <stdbool.h>.
1665 * nss/makedb.c: Likewise.
1666 * stdio-common/_i18n_number.h: Likewise.
1667 * argp/argp-help.c: Likewise.
1668 * posix/wordexp.c: Likewise.
1669 * sysdeps/posix/spawni.c: Likewise.
1670 * nss/nss_files/files-initgroups.c: Likewise.
1671 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1672 * nss/nss_files/files-initgroups.c: Likewise.
1673 * nss/nss_db/db-netgrp.c: Likewise.
1674 * nss/nss_db/db-initgroups.c: Likewise.
1675 * io/fchmodat.c: Include <sys/stat.h>.
1676
1677 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1678 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1679
1680 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1681 [HAVE_MMAP].
1682
1683 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1684 Add multiple inclusion protection.
1685
e5abc686
DM
16862012-07-27 David S. Miller <davem@davemloft.net>
1687
1688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1689
815e6fa3
GB
16902012-07-27 Gary Benson <gbenson@redhat.com>
1691
1692 [BZ #14298]
1693 * elf/rtld.c: Include <stap-probe.h>.
1694 (dl_main): Added static probes "init_start" and "init_complete".
1695 * elf/dl-load.c: Include <stap-probe.h>.
1696 (lose): Take new parameter "nsid".
1697 Added static probe "map_failed".
1698 (_dl_map_object_from_fd): Pass namespace id to lose.
1699 Added static probe "map_start".
1700 (open_verify): Pass namespace id to lose.
1701 * elf/dl-open.c: Include <stap-probe.h>.
1702 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1703 and "reloc_complete".
1704 * elf/dl-close.c: Include <stap-probe.h>.
1705 (_dl_close_worker): Added static probes "unmap_start" and
1706 "unmap_complete".
1707 * elf/rtld-debugger-interface.txt: New file documenting the above.
1708
9f98c16c
RM
17092012-07-26 Roland McGrath <roland@hack.frob.com>
1710
1711 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1712 rather than a string variable.
1713 * sunrpc/rpc_main.c (h_output): Likewise.
1714 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1715
f3c22df3
PT
17162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1717
1718 * inet/check_native.c: New file.
1719
3129cfc6
JM
17202012-07-26 Joseph Myers <joseph@codesourcery.com>
1721
da865e95
JM
1722 [BZ #13629]
1723 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1724 if larger part has absolute value 1.0.
1725 * math/s_clog10.c (__clog10): Likewise.
1726 * math/s_clog10f.c (__clog10f): Likewise.
1727 * math/s_clog10l.c (__clog10l): Likewise.
1728 * math/s_clogf.c (__clogf): Likewise.
1729 * math/s_clogl.c (__clogl): Likewise.
1730 * math/libm-test.inc (clog_test): Add more tests.
1731 (clog10_test): Likewise.
1732 * sysdeps/i386/fpu/libm-test-ulps: Update.
1733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1734
3129cfc6
JM
1735 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1736 (pltexit): Likewise.
1737 (La_regs): Likewise.
1738 (La_retval): Likewise.
1739 (int_retval): Likewise.
1740 Update #error for removed macros to refer only to definitions in
1741 tst-audit.h.
1742 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1743 macro.
1744 (pltexit): Likewise.
1745 (La_regs): Likewise.
1746 (La_retval): Likewise.
1747 (int_retval): Likewise.
1748 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1749 macro.
1750 (pltexit): Likewise.
1751 (La_regs): Likewise.
1752 (La_retval): Likewise.
1753 (int_retval): Likewise.
1754 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1755 macro.
1756 (pltexit): Likewise.
1757 (La_regs): Likewise.
1758 (La_retval): Likewise.
1759 (int_retval): Likewise.
1760 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1761 macro.
1762 (pltexit): Likewise.
1763 (La_regs): Likewise.
1764 (La_retval): Likewise.
1765 (int_retval): Likewise.
1766 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1767 macro.
1768 (pltexit): Likewise.
1769 (La_regs): Likewise.
1770 (La_retval): Likewise.
1771 (int_retval): Likewise.
1772 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1773 macro.
1774 (pltexit): Likewise.
1775 (La_regs): Likewise.
1776 (La_retval): Likewise.
1777 (int_retval): Likewise.
1778 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1779 macro definitions in tst-audit.h.
1780 * sysdeps/i386/tst-audit.h: New file.
1781 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1782 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1783 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1784 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1785 * sysdeps/sh/tst-audit.h: Likewise.
1786 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1787 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1788 * sysdeps/x86_64/tst-audit.h: Likewise.
1789
bfc07087
AJ
17902012-07-26 Andreas Jaeger <aj@suse.de>
1791
b1b2aaf8
AJ
1792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1793 ptrace.
1794
1795 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1796 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1797 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1798 PTRACE_O_MASK.
1799 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1800 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1802
bfc07087
AJ
1803 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1804 value.
1805
1806 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1807 _sigsys.
1808 (si_call_addr, si_syscall, si_arch): Define new macro.
1809 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1810 _sigsys.
1811 (si_call_addr, si_syscall, si_arch): Define new marcro.
1812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1813 _sigsys.
1814 (si_call_addr, si_syscall, si_arch): Define new macro.
1815 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1816 _sigsys.
1817 (si_call_addr, si_syscall, si_arch): Define new macro.
1818
89b4b02f
JM
18192012-07-25 Joseph Myers <joseph@codesourcery.com>
1820
1821 [BZ #13717]
1822 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1823 Change to 2.4.21 where previously 2.4.1.
1824 * sysdeps/unix/sysv/linux/configure: Regenerated.
1825 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1826 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1827 Linux kernel version.
1828 (__ASSUME_STD_AUXV): Remove.
1829 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1830 kernel version.
1831 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1832 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1833 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1834 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1835 (__ASSUME_NETLINK_SUPPORT): Likewise.
1836 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1837 (__no_netlink_support): Remove conditional definition.
1838 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1839 Remove.
1840 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1841 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1842 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1843 (if_nameindex_ioctl): Remove.
1844 (if_nameindex_netlink): Do not handle __no_netlink_support.
1845 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1846 code.
1847 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1848 Remove conditional code.
1849 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1850 code.
1851 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1852 unconditional.
1853 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1854 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1855 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1856 Remove.
1857 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1858 [!__ASSUME_STD_AUXV]: Remove conditional code.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1860 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1861 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1863 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1864 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1865 code.
1866 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1868 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1869 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1870 conditional code.
1871 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1873 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1874 code.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1876 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1877 conditional code.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1879 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1880 code unconditional.
1881 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1882 conditional code.
1883 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1884 unconditional.
1885 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1886 conditional code.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1888 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1889 unconditional.
1890 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1891 conditional code.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1893 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1894 code unconditional.
1895 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1896 conditional code.
1897 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1898 unconditional.
1899 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1900 conditional code.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1902 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1903 code unconditional.
1904 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1905 conditional code.
1906 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1907 unconditional.
1908 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1909 conditional code.
1910
842a39cd
AS
19112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1912
1913 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1914 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1915 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1916 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1917 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1918 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1919 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1920 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1921 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1923 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1924 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1925 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1926 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1936
84b3fd84
FW
19372012-07-25 Florian Weimer <fweimer@redhat.com>
1938
1939 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1940 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1941 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1942 Introduce __libc_secure_getenv.
0c7936d5
FW
1943 * stdlib/Versions (2.17): Add secure_getenv
1944 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1945 * stdlib/secure-getenv.c: Rename __secure_getenv to
1946 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1947 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1948 * stdlib/tst-secure-getenv.c: New.
1949 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1950 * manual/startup.texi (Environment Access): Document
1951 secure_getenv.
84b3fd84
FW
1952 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1953 __libc_secure_getenv.
1954 * inet/ruserpass.c (ruserpass): Likewise.
1955 * malloc/mtrace.c (mtrace): Likewise.
1956 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1957 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1958 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1959 * sysdeps/posix/tempname.c: Likewise. Evaluate
1960 HAVE_SECURE_GETENV.
1961 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1962 __secure_getenv to __libc_secure_getenv.
84b3fd84 1963 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1965 Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1975
56e49b71
JM
19762012-07-25 Joseph Myers <joseph@codesourcery.com>
1977
1978 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1979 (struct La_i86_retval): Likewise.
1980 (struct La_x86_64_regs): Likewise.
1981 (struct La_x86_64_retval): Likewise.
1982 (struct La_x32_regs): Likewise.
1983 (struct La_x32_retval): Likewise.
1984 (struct La_ppc32_regs): Likewise.
1985 (struct La_ppc32_retval): Likewise.
1986 (struct La_ppc64_regs): Likewise.
1987 (struct La_ppc64_retval): Likewise.
1988 (struct La_sh_regs): Likewise.
1989 (struct La_sh_retval): Likewise.
1990 (struct La_s390_32_regs): Likewise.
1991 (struct La_s390_32_retval): Likewise.
1992 (struct La_s390_64_regs): Likewise.
1993 (struct La_s390_64_retval): Likewise.
1994 (struct La_sparc32_regs): Likewise.
1995 (struct La_sparc32_retval): Likewise.
1996 (struct La_sparc64_regs): Likewise.
1997 (struct La_sparc64_retval): Likewise.
1998 (struct audit_ifaces): Remove architecture-specific pltenter and
1999 pltexit members.
2000 * sysdeps/i386/ldsodefs.h: New file.
2001 * sysdeps/powerpc/ldsodefs.h: Likewise.
2002 * sysdeps/s390/ldsodefs.h: Likewise.
2003 * sysdeps/sh/ldsodefs.h: Likewise.
2004 * sysdeps/sparc/ldsodefs.h: Likewise.
2005 * sysdeps/x86_64/ldsodefs.h: Likewise.
2006
354691b7
MP
20072012-07-25 Marek Polacek <polacek@redhat.com>
2008
2009 [BZ #6808]
2010 * math/libm-test.inc (yn_test): Add another test.
2011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2012 to ERANGE when the result is +-Inf.
2013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2014 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2015 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2016 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2017
bf9e2071
JM
20182012-07-24 Joseph Myers <joseph@codesourcery.com>
2019
2020 * conform/data/time.h-data (NULL): Use macro-constant. Require
2021 equal to 0.
2022 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2023 clock_t.
2024 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2025
57633811
TS
20262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2027
2028 * configure.in <sysdeps resolving>: Correct printing
2029 Implies_before.
2030 * configure: Regenerate.
2031
c23c33b0
TS
20322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2033
2034 * math/w_ilogb.c: Include <limits.h>.
2035 * math/w_ilogbl.c: Likewise.
2036
b5982523
JM
20372012-07-20 Joseph Myers <joseph@codesourcery.com>
2038
2039 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2040 va_copy. Document allowing for unavailable va_copy only as
2041 pre-C99 compatibility.
2042 * manual/string.texi (Copying and Concatenation): Use va_copy
2043 instead of __va_copy in concat example.
2044
ac4ea442
PT
20452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2046
2047 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2048 (__sendto): Use create_address_port. Initialize APORT and deallocate
2049 it if not null.
2050
f98eafbd
PT
2051 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2052 with O_NOLINK passed to __file_name_lookup.
2053
898c7aab
PT
2054 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2055 with O_NOLINK passed to __file_name_lookup.
2056
0ced335a
PT
2057 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2058 negative N or less than NGIDS.
2059
b3404dbd
PT
2060 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2061 type to string_t. Set ERANGE as errno and return it if NAME is not big
2062 enough. Use memcpy instead of strncpy.
2063
0f48659e
JM
20642012-07-20 Joseph Myers <joseph@codesourcery.com>
2065
2066 * elf/Makefile (check-data): Remove.
2067 (localplt.data): New vpath directive.
2068 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2069 instead of $(check-data).
2070 * scripts/data/localplt-generic.data: Move to ...
2071 * sysdeps/generic/localplt.data: ... here.
2072 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2073 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2074 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2076 ... here.
2077 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2079 ... here.
2080 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2082 ... here.
2083 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2085 ... here.
2086 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2088 ... here.
2089 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2091 ... here.
2092
d37cbdaa
AZ
20932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2094
2095 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2096 PPC32 and PPC64 files.
2097 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2098 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2099
46f85fc2
AK
21002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2101
2102 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2103 __makecontext_ret to ...
2104 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2105 ... here and call exit if uc_link is NULL. New file.
2106 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2107 __makecontext_ret.S.
2108 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2109 __makecontext_ret to ...
2110 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2111 ... here and call exit if uc_link is NULL. New file.
2112 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2113 __makecontext_ret.S.
2114
08f43f9b
AK
21152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2116
2117 * elf/elf.h (R_390_IRELATIVE): New definition.
2118 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2119 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2120 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2121 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2122 (elf_machine_lazy_rel): Likewise.
2123 * sysdeps/s390/dl-irel.h: New file.
2124 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2125 * sysdeps/s390/s390-64/memset.S: New asm code.
2126 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2127 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2128 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2129 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2130 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2131 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2133 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2134 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2135 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2136 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2137 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2138 * sysdeps/s390/s390-32/memset.S: New asm code.
2139 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2140
3b05db33
MP
21412012-07-17 Marek Polacek <polacek@redhat.com>
2142
2143 [BZ #14349]
2144 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2145 * sysdeps/s390/s390-64/configure.in: Likewise.
2146 * sysdeps/sparc/configure.in: Likewise.
2147 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2148 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2149 * sysdeps/i386/configure.in: Likewise.
2150 * sysdeps/x86_64/configure.in: Likewise.
2151 * sysdeps/sh/configure.in: Likewise.
2152 * sysdeps/s390/s390-32/configure: Regenerated.
2153 * sysdeps/s390/s390-64/configure: Likewise.
2154 * sysdeps/x86_64/configure: Likewise.
2155 * sysdeps/sh/configure: Likewise.
2156 * sysdeps/powerpc/powerpc64/configure: Likewise.
2157 * sysdeps/powerpc/powerpc32/configure: Likewise.
2158 * sysdeps/sparc/configure: Likwise.
2159 * sysdeps/i386/configure: Likewise.
2160
a66877c6
MP
2161 * elf/dl-open.c: Comment fixes.
2162
cfc82fd8
JM
21632012-07-17 Joseph Myers <joseph@codesourcery.com>
2164
bd29910a
JM
2165 * Makefile [CXX] (check-data): Remove.
2166 [CXX] (c++-types.data): New vpath directive.
2167 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2168 vpath. Do not allow for C++ type data being missing.
2169 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2170 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2171 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2172 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2173 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2174 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2175 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2177 ... here.
2178 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2180 ... here.
2181 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2183 ... here.
2184 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2186 ... here.
2187 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2189 ... here.
2190 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2192 ... here.
2193 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2195 ... here.
2196 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2198
cfc82fd8
JM
2199 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2200 definitions to architecture-specific files.
2201 (TLS_IE): Likewise.
2202 (TLS_LD): Likewise.
2203 (TLS_GD): Likewise.
2204 * sysdeps/i386/tls-macros.h: New file.
2205 * sysdeps/powerpc/tls-macros.h: Likewise.
2206 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2207 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2208 * sysdeps/sh/tls-macros.h: Likewise.
2209 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2210 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2211 * sysdeps/x86_64/tls-macros.h: Likewise.
2212
f7db3170
TS
22132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2214
07cbfc23
TS
2215 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2216 zero value for regular exit case.
2217
f7db3170
TS
2218 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2219 (__start_context): Preserve zero value for regular exit case.
2220
dc97c227
TS
22212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2222 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2223
2224 * manual/setjmp.texi (setcontext): Clarify normal process
2225 termination when uc_link is the null pointer.
2226 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2227 exit call.
2228
d0cd7d02
AS
22292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2230
2231 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2232 preprocessor. Test for each exception mask separately.
2233
dd318934
AJ
22342012-07-16 Andreas Jaeger <aj@suse.de>
2235
2236 * po/ru.po: Update from translation team.
2237
8048311a
JM
22382012-07-15 Joseph Myers <joseph@codesourcery.com>
2239
2240 * conform/data/string.h-data (NULL): Use macro-constant. Require
2241 equal to 0.
2242 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2243 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2244 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2245 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2247
b637d46e
AJ
22482012-07-13 Andreas Jaeger <aj@suse.de>
2249
2250 * po/fr.po: Update from translation team.
2251
541428fe
MP
22522012-07-12 Marek Polacek <polacek@redhat.com>
2253
2254 [BZ #14173]
2255 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2256 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2257 loop condition.
2258
ec332e94
JM
22592012-07-12 Joseph Myers <joseph@codesourcery.com>
2260
2261 [BZ #13717]
2262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2263 Change to 2.4.1 where previously 2.4.0.
2264 * sysdeps/unix/sysv/linux/configure: Regenerated.
2265 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2266 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2267 version.
2268 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2269 (__ASSUME_AT_CLKTCK): Remove.
2270 (__ASSUME_AT_PAGESIZE): Likewise.
2271 (__ASSUME_AT_XID): Likewise.
2272 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2273 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2274 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2275 unconditionally.
2276 (HAVE_AUX_PAGESIZE): Likewise.
2277 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2278 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2279 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2280
7b6e99be
JB
22812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2282
2283 [BZ #14307]
2284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2285 the temporary buffer used to invoke __gethostbyname2_r,
2286 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2287 host_data / struct gaih_addrtuple.
2288 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2289 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2290 header file nss/nsswitch.h.
2291 * nss/nsswitch.h (global scope): Add definition of implementation
2292 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2293 resolv/nss_dns/dns-host.c).
2294
608404eb
AJ
22952012-07-11 Andreas Jaeger <aj@suse.de>
2296
2297 * po/fr.po: Update from translation team.
2298
71220aca
AJ
2299 * po/sv.po: Update from translation team
2300 * po/fr.po: Another update from translation team.
2301
28cfe843
AZ
23022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2305 for subnormals or multiply small sinh result by itself.
2306 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2308
6b90f981
DM
23092012-07-11 David S. Miller <davem@davemloft.net>
2310
2311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2312
c6825772
AS
23132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 [BZ #14347]
2316 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2317 (INTERNAL_MARK): Shift it here.
2318
7b8e0d49
MP
23192012-07-10 Marek Polacek <polacek@redhat.com>
2320
2321 [BZ #14151]
2322 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2323 libc_cv_asm_global_directive with .globl.
2324 * configure: Regenerated.
2325 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2326 with .globl.
2327 * sysdeps/i386/configure: Regenerated.
2328 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2329 with .globl.
2330 * sysdeps/x86_64/configure: Regenerated.
2331 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2332 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2333 * elf/tst-unique2mod2.c: Likewise.
2334 * elf/tst-unique2mod1.c: Likewise.
2335 * elf/tst-unique1mod2.c: Likewise.
2336 * elf/tst-unique1mod1.c: Likewise.
2337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2338 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2340 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2341 * sysdeps/mach/sysdep.h: Likewise.
2342 * sysdeps/i386/sysdep.h: Likewise.
2343 * sysdeps/i386/i386-mcount.S: Likewise.
2344 * sysdeps/x86_64/_mcount.S: Likewise.
2345 * sysdeps/x86_64/sysdep.h: Likewise.
2346 * sysdeps/sh/_mcount.S: Likewise.
2347 * sysdeps/sh/sysdep.h: Likewise.
2348 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2349 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2350 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2351 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2352 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2353 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2354 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2355 * locale/localeinfo.h: Likewise.
2356 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2357 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2358
6c55cda3
RM
23592012-07-09 Roland McGrath <roland@hack.frob.com>
2360
2361 [BZ #14336]
2362 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2363 system".
2364 * manual/message.texi (The Uniforum approach): Likewise.
2365 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2366 (glibc iconv Implementation): Likewise.
2367
638a572e
JM
23682012-07-09 Joseph Myers <joseph@codesourcery.com>
2369
2370 [BZ #14337]
2371 * math/s_clog.c (__clog): Avoid scaling a value down where that
2372 could result in underflow.
2373 * math/s_clog10.c (__clog10): Likewise.
2374 * math/s_clog10f.c (__clog10f): Likewise.
2375 * math/s_clog10l.c (__clog10l): Likewise.
2376 * math/s_clogf.c (__clogf): Likewise.
2377 * math/s_clogl.c (__clogl): Likewise.
2378 * math/libm-test.inc (clog_test): Add more tests.
2379 (clog10_test): Likewise.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382
261f4859
AS
23832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2384
0abaf3e4
AS
2385 [BZ #14283]
2386 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2387 by 7 not 8 to examine high bit of fractional part.
2388
261f4859
AS
2389 [BZ #14042]
2390 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2391 for call to __mcount_internal.
2392 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2393 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2394 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2395
f17ac40d
JM
23962012-07-06 Joseph Myers <joseph@codesourcery.com>
2397
9ad63c23
JM
2398 [BZ #14154]
2399 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2400 approximation for values within 0x1p-13f of an odd multiple of
2401 pi/4.
2402 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2403 exception. Add more tests.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2405
f17ac40d
JM
2406 [BZ #6778]
2407 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2408 inputs and return -1 for them. Do not check for +Inf in case not
2409 reachable for +Inf.
2410 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2411 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2413 and return -1 for them. Do not check for +Inf in case not
2414 reachable for +Inf.
2415 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2416 define.
2417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2418 and return -1 for them. Do not check for +Inf in case not
2419 reachable for +Inf.
2420 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2421 spurious underflow.
2422 * sysdeps/i386/fpu/libm-test-ulps: Update.
2423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2424
fb21f89b
MF
24252012-07-06 Mike Frysinger <vapier@gentoo.org>
2426
2427 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2428
cdfe2c5e
JM
24292012-07-05 Joseph Myers <joseph@codesourcery.com>
2430
2431 [BZ #14157]
2432 [BZ #14331]
2433 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2434 could result in spurious underflow. Scale down values above
2435 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2436 * math/s_csqrtf.c (__csqrtf): Likewise.
2437 * math/s_csqrtl.c (__csqrtl): Likewise.
2438 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2439 spurious underflow.
2440 * sysdeps/i386/fpu/libm-test-ulps: Update.
2441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2442
70d35b67
AS
24432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2444
704bc459
AS
2445 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2446 xopen-msg.sed.
2447 * catgets/xopen-msg.awk: New file.
2448 * catgets/xopen-msg.sed: Removed.
2449
70d35b67
AS
2450 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2451 po2text.sed.
2452 * intl/po2test.awk: New file.
2453 * intl/po2test.sed: Removed.
2454
ca61cf32
JM
24552012-07-04 Joseph Myers <joseph@codesourcery.com>
2456
2457 [BZ #14328]
2458 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2459 or multiply small sinh result by itself.
2460 * math/s_ctanf.c (__ctanf): Likewise.
2461 * math/s_ctanh.c (__ctanh): Likewise.
2462 * math/s_ctanhf.c (__ctanhf): Likewise.
2463 * math/s_ctanhl.c (__ctanhl): Likewise.
2464 * math/s_ctanl.c (__ctanl): Likewise.
2465 * math/libm-test.inc (ctan_test_tonearest): New function.
2466 (ctan_test_towardzero): Likewise.
2467 (ctan_test_downward): Likewise.
2468 (ctan_test_upward): Likewise.
2469 (ctanh_test_tonearest): Likewise.
2470 (ctanh_test_towardzero): Likewise.
2471 (ctanh_test_downward): Likewise.
2472 (ctanh_test_upward): Likewise.
2473 (main): Call these new functions.
2474 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476
ca48a46a
MF
24772012-07-03 Mike Frysinger <vapier@gentoo.org>
2478
2479 * .gitignore: Delete /ports entry.
2480
9d63d37d
AJ
24812012-07-03 Andreas Jaeger <aj@suse.de>
2482
2483 * po/bg.po: Update from translation team.
2484 * po/cs.po: Likewise.
2485 * po/de.po: Likewise.
2486 * po/hr.po: Likewise.
2487 * po/nl.pl: Likewise.
2488 * po/pl.po: Likewise.
2489 * po/vi.po: Likewise.
2490
370ca3d2
JM
24912012-07-03 Joseph Myers <joseph@codesourcery.com>
2492
95f5a9a8
JM
2493 * Makeconfig [!+link] (+link-before-libc): New variable.
2494 [!+link] (+link-after-libc): Likewise.
2495 [!+link] (+link-tests): Likewise.
2496 [!+link] (+link): Define in terms of $(+link-before-libc) and
2497 $(+link-after-libc).
2498 [!+link-static] (+link-static-before-libc): New variable.
2499 [!+link-static] (+link-static-after-libc): Likewise.
2500 [!+link-static] (+link-static-tests): Likewise.
2501 [!+link-static] (+link-static): Define in terms of
2502 $(+link-static-before-libc) and $(+link-static-after-libc).
2503 [build-shared] (link-libc-before-gnulib): New variable.
2504 [build-shared] (link-libc-tests): Likewise.
2505 [build-shared] (link-libc): Define in terms of
2506 $(link-libc-before-gnulib).
2507 [!build-shared] (link-libc-tests): New variable.
2508 (link-libc-static-tests): New variable.
2509 [!gnulib] (gnulib-arch): New variable.
2510 [!gnulib] (gnulib-tests): Likewise.
2511 [!gnulib] (static-gnulib-arch): Likewise.
2512 [!gnulib] (static-gnulib-tests): Likewise.
2513 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2514 Define with "=" instead of ":=".
2515 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2516 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2517 * Rules (binaries-all-notests): New variable.
2518 (binaries-all-tests): Likewise.
2519 (binaries-static-notests): Likewise.
2520 (binaries-static-tests): Likewise.
2521 (binaries-all): Define using $(binaries-all-notests) and
2522 $(binaries-all-tests).
2523 (binaries-static): Define using $(binaries-static-notests) and
2524 $(binaries-static-tests).
2525 (binaries-shared-tests): New variable.
2526 (binaries-shared-notests): Likewise.
2527 (binaries-shared): Remove variable.
2528 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2529 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2530 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2531 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2532 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2533 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2534 * elf/Makefile (sln-modules): New variable.
2535 (extra-objs): Add $(sln-modules:=.o).
2536 (ldconfig-modules): Add static-stubs.
2537 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2538 * elf/static-stubs.c: New file.
2539
7a845b2c
JM
2540 [BZ #14283]
2541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2542 by 7 not 8 to examine high bit of fractional part. Use volatile
2543 variables when splitting into final array of floats if
2544 __FLT_EVAL_METHOD__ != 0.
2545 * math/libm-test.inc (cos_test): Add another test.
2546 (sin_test): Likewise.
2547 * sysdeps/i386/fpu/libm-test-ulps: Update.
2548
e2283f38
JM
2549 [BZ #14273]
2550 * math/libm-test.inc (cosh_test): Add more tests.
2551
370ca3d2
JM
2552 * version.h (RELEASE): Set to "development".
2553 (VERSION): Set to "2.16.90".
2554
ee9247c3
CD
25552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2556
2557 * NEWS: Update copyright. Remove last-updated date.
2558 Mention math library bug fixes and timezone data changes.
2559 * README: Mention GNU/Hurd, x32, and HPPA support status.
2560
4648c381
TS
25612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2562
2563 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2564
aac78a43
AJ
25652012-06-27 Andreas Jaeger <aj@suse.de>
2566
2567 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2568
ed3dbfad
AJ
25692012-06-25 Andreas Jaeger <aj@suse.de>
2570
2571 * sysdeps/s390/fpu/libm-test-ulps: Update.
2572
4d0ee855
AS
25732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2574 Thomas Schwinge <thomas@codesourcery.com>
2575
2576 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2577 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2579 fanotify_mark.
2580
af1bce34
TS
25812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2582
a9fa33ba
TS
2583 * sysdeps/mach/start.c: Remove file.
2584 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2585 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2586 * sysdeps/sh/init-first.c: Likewise.
2587
58f902b8
TS
2588 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2589 registers for frame unwinding purposes, add CFI directives.
2590 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2592 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2593 Likewise.
2594
1518f58b
TS
2595 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2596 __fortify_fail returning.
2597 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2598
db9b5059
TS
2599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2600 sysdeps/sh/____longjmp_chk.S.
2601 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2602 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2603 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2604 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2605
967705fe
TS
2606 * sysdeps/sh/abort-instr.h: New file.
2607 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2608 process in case exit returns.
2609
a9def8c4
TS
2610 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2611 initialize the GOT register before use.
2612
2a649725
TS
2613 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2614 calculation of ARGC > 4.
2615
af1bce34
TS
2616 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2617 meaningful names to some local labels.
2618
d230f50a
KK
26192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2620 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2621
2622 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2623 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2624 (__arch_compare_and_exchange_val_16_acq): Likewise.
2625 (__arch_compare_and_exchange_val_32_acq): Likewise.
2626 (atomic_exchange_and_add): Fix gUSA sequence.
2627 (atomic_add): Likewise.
2628 (atomic_add_negative): Likewise.
2629 (atomic_add_zero): Likewise.
2630 (atomic_bit_test_set): Likewise.
2631
0479b305
AS
26322012-06-22 Andreas Schwab <schwab@redhat.com>
2633
2634 [BZ #13579]
2635 * include/link.h (struct link_map): Add l_free_initfini.
2636 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2637 l_initfini.
2638 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2639 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2640 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2641 set.
2642
0e3933b9
CD
26432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2644
2645 * configure.in: Use AC_LANG_SOURCE.
2646 * configure: Regenerate.
2647
4248b1b1
RM
26482012-06-22 Roland McGrath <roland@hack.frob.com>
2649
2650 * configure.in (libc_cv_localstatedir): New substituted variable.
2651 * configure: Regenerated.
2652 * config.make.in (localstatedir): New variable, substituted from
2653 libc_cv_localstatedir.
2654 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2655 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2656 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2657 * sysdeps/gnu/configure: Regenerated.
2658
006dd861
JL
26592012-06-21 Jeff Law <law@redhat.com>
2660
2661 [BZ #14277]
2662 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2663 free. Simplify list management for _LIBC case.
2664
79662d42
JM
26652012-06-21 Joseph Myers <joseph@codesourcery.com>
2666
b7abb4bf
JM
2667 [BZ #14273]
2668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2669 Clear sign bit of 64-bit integer value before comparing against
2670 overflow value.
2671
79662d42
JM
2672 * sysdeps/mach/configure: Regenerated.
2673
1f150908
L
26742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 [BZ #14278]
2677 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2678
28363bbf
JL
26792012-06-21 Jeff Law <law@redhat.com>
2680
2681 [BZ #13882]
2682 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2683 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2684 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2685 * elf/dl-open.c (dl_open_worker): Likewise.
2686
09615db4
CD
26872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2688
2689 * scripts/list-sources.sh: Scan PORTS for translations.
2690 * po/libc.pot: Regenerated.
2691
2174c6dd
AJ
26922012-06-21 Andreas Jaeger <aj@suse.de>
2693
2694 [BZ #12194]
2695 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2696 warning.
2697 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2698 * bits/byteswap-16.h (__bswap_16): Likewise.
2699 * bits/byteswap.h (__bswap_constant_16): Likewise.
2700
3ee947b1
L
27012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2702
2703 [BZ #14117]
a2f34833
L
2704 * sysdeps/i386/fpu_control.h: Removed.
2705 * sysdeps/x86_64/fpu_control.h: Moved to ...
2706 * sysdeps/x86/fpu_control.h: Here.
2707
3ee947b1
L
2708 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2709 (_FPU_SETCW): Likewise.
2710
ed1825f8
L
27112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2712
25f1282a
L
2713 [BZ #14117]
2714 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2715 * sysdeps/x86/fpu/bits/mathinline.h: This.
2716 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2717
ed1825f8
L
2718 [BZ #14050]
2719 [BZ #14117]
2720 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2721 functions if __x86_64__ is defined.
2722
36d54b74
CLT
27232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2724
2725 * string/endian.h: Add !__ASSEMBLER__ condition for including
2726 conversion interfaces.
2727
10285c21
JM
27282012-06-15 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #14241]
2731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2732 of ABS(x) in calculating zero to negative powers other than odd
2733 integers.
2734 * math/libm-test.inc (pow_test): Add more tests.
2735
06c5abbd
AJ
27362012-06-15 Andreas Jaeger <aj@suse.de>
2737
2738 * manual/contrib.texi (Contributors): Update entry of Liubov
2739 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2740 Machado Filho.
2741
a3aeac40
CH
27422012-06-15 Cyril Hrubis <metan@ucw.cz>
2743
2744 * string/string.h: Add __wur to GNU version of strerror_r.
2745
49bdf4c1
L
27462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 [BZ #14229]
2749 * string/Makefile (tests): Add tst-strtok_r.
2750 * string/tst-strtok_r.c: New file.
2751 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2752 RAX_LP/RDX_LP on SAVE_PTR.
2753
834f9b8d
RM
27542012-06-14 Roland McGrath <roland@hack.frob.com>
2755
2756 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2757
75fa1921
JM
27582012-06-14 Joseph Myers <joseph@codesourcery.com>
2759
2760 * libm_test.inc (csqrt_test): Allow more spurious underflow
2761 exceptions.
2762 (j0_test): Likewise.
2763 (j1_test): Likewise.
2764 (y0_test): Likewise.
2765 (y1_test): Likewise.
2766
771766df
CD
27672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2768
2769 * po/Makefile (libc.pot): Use UTF-8 charset.
2770
ceb9e56b
PP
27712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2772
2773 [BZ #14210]
2774 Suppress sign-conversion warning from FD_SET.
2775 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2776 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2777 not unsigned long int.
2778 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2779
ddb28975
L
27802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 [BZ #14050]
2783 [BZ #14117]
2784 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2785 __extern_always_inline instead of __extern_inline.
2786 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2787 (__signbit): Likewise.
2788 (__signbitl): Support C++ namespace.
2789 (lrintf): New inline function.
2790 (lrint): Likewise.
2791 (llrintf): Likewise.
2792 (llrint): Likewise.
2793 (fmaxf): Likewise.
2794 (fmax): Likewise.
2795 (fminf): Likewise.
2796 (fmin): Likewise.
2797 (rint): Likewise.
2798 (rintf): Likewise.
2799 (ceil): Likewise.
2800 (ceilf): Likewise.
2801 (floor): Likewise.
2802 (floorf): Likewise.
2803 (nearbyint): Likewise.
2804 (nearbyintf): Likewise.
2805
d7b4fb26
TS
28062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2807
2808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2809 non-default versions.
2810
eb55f5c2
RM
28112012-06-11 Roland McGrath <roland@hack.frob.com>
2812
2813 [BZ #14218]
2814 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2815
366af02c
TS
28162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2817
99ff6e5c
TS
2818 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2819 (FE_UPWARD, FE_DOWNWARD): Don't define.
2820 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2822
366af02c
TS
2823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2824 reading it.
2825 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2826 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2827
793ea851
KK
28282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2829
2830 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2832 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2833 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2834
a728a38f
L
28352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 [BZ #14117]
c08010c7
L
2838 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2839 * sysdeps/i386/fpu/Implies: New file.
2840 * sysdeps/x86_64/fpu/Implies: Likewise.
2841 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2842 * sysdeps/x86/fpu/bits/fenv.h: This.
2843
a728a38f
L
2844 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2845 __SSE_MATH__.
2846
6e230d11
SP
28472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2848
2849 [BZ #14134]
2850 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2851 character 0xffff that matches the last element of the
2852 conversion table.
2853
1b671feb
AZ
28542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855
2856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2857 fmodl commit.
2858
6043738b
AZ
28592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860
2861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2862 values higher than 25.6283.
2863
34ae0b32
AZ
28642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2865
2866 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2867 subnormal exponent extraction and add some __builtin_expect.
2868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2869 Fix for subnormal mantissa calculation.
2870
1214ec8f
MF
28712012-06-04 Mike Frysinger <vapier@gentoo.org>
2872
2873 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2874 cpu2 is -1 and errno is not ENOSYS.
2875
f3d1f93c
L
28762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 [BZ #14117]
0e4a3cd7
L
2879 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2880 * sysdeps/x86/bits/string.h: This.
2881 * sysdeps/x86_64/bits/string.h: Removed.
2882
6704c645
L
2883 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2884 if not compiling for x86-64, but compiling for >= i486.
2885
48495318
L
2886 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2887 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2888
14adcbfc
L
2889 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2890 New macro from Linux kernel 3.4.0.
2891 (FP_XSTATE_MAGIC2): Likewise.
2892 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2893 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2894 (struct _fpx_sw_bytes): New struct.
2895 (struct _xsave_hdr): Likewise.
2896 (struct _ymmh_state): Likewise.
2897 (struct _xstate): Likewise.
2898
68e408ab
L
2899 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2900 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2901 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2902 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2903 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2904 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2905
f3d1f93c
L
2906 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2908 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2909 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2910 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2911 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2912
d9dc34cd
TMQMF
29132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2914
2915 [BZ #13743]
2916 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2917 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2918 (sysdep_headers): Include sys/platform/ppc.h.
2919 * sysdeps/powerpc/test-gettimebase.c: Test for
2920 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2921 * manual/Makefile (appendices): Include platform.texi.
2922 * manual/contrib.texi (Contributors): Update @node pointers.
2923 * manual/maint.texi (Maintenance): Likewise.
2924 (Platform): New node.
2925 * manual/platform.texi: New file. Document the new features.
2926
4af3879c
SP
29272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2928 Jakub Jelinek <jakub@redhat.com>
2929
2930 [BZ #14188]
2931 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2932 where __builtin_expect is unavailable.
2933
2fd6ff13
DM
29342012-06-03 David S. Miller <davem@davemloft.net>
2935
2936 * stdlib/longlong.h: Updated from GCC.
2937
173f7220
AS
29382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2939
2940 [BZ #14042]
2941 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2942 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2943 __mcount_internal.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2945 (GLIBC_2.16): Likewise.
2946
f34a1c6f
L
29472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2950
88a4576f
JM
29512012-06-01 Joseph Myers <joseph@codesourcery.com>
2952
ea32bcdd
JM
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2954 (default-abi): New variable.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2956 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2957 variable.
2958 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2959 Likewise.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2961 Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2963 Likewise.
2964
88a4576f
JM
2965 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2966 definition. Document in comment.
2967
402fe938
DM
29682012-06-01 David S. Miller <davem@davemloft.net>
2969
2970 * stdlib/longlong.h: Updated from GCC.
2971
3553723f
L
29722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 [BZ #14117]
3bd872c4
L
2975 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2976 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2977 sys/debugreg.h sys/io.h here.
2978 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2979 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2980 sys/io.h.
2981 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2982 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2983 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2984 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2985 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2986 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2987
3553723f
L
2988 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2989 Define only if __x86_64__ is defined.
2990
4842e4fe
JM
29912012-06-01 Joseph Myers <joseph@codesourcery.com>
2992
c5bfe3d5
JM
2993 [BZ #14048]
2994 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2995 Use int64_t for variable i.
2996 * math/libm-test.inc (fmod_test): Add more tests.
2997
4842e4fe
JM
2998 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2999 z computation is not scheduled after fetestexcept.
3000 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3001 Use math_force_eval instead of asm to ensure calculation scheduled
3002 before exception test.
3003 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3004 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3005
efb73488
AJ
30062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3007
3008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3009 computation is not scheduled after fetestexcept.
3010
29bcce7c
L
30112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3012
3013 [BZ #14117]
3014 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3015 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3016
73a68f94
AZ
30172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3018
3019 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3020 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3021
67b6df78
L
30222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3023
edf2933a 3024 [BZ #14117]
ebc64a18
L
3025 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3026 <bits/wordsize.h>.
3027 (__WCHAR_MIN): Support __WORDSIZE == 64.
3028 (__WCHAR_MAX): Likewise.
3029
edf2933a
L
3030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3031 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3032
57c6cf40
L
3033 [BZ #14183]
3034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3035 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3036
67b6df78 3037 [BZ #14117]
8eb6281e
L
3038 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3039 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3040
aac639f4
L
3041 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3042 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3043
67b6df78
L
3044 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3045 Defined to 1 if __x86_64__ isn't defined.
3046 (_STAT_VER_LINUX_OLD): New.
3047 (st_atime): Remove duplicate.
3048 (st_mtime): Likewise.
3049 (st_ctime): Likewise.
3050
1c2cfe81
DM
30512012-05-31 David S. Miller <davem@davemloft.net>
3052
3053 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3054 entries.
3055
5be8418c
AS
30562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3057
e7725326
AS
3058 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3059 gen-libm-test.pl.
3060
5be8418c
AS
3061 [BZ #14132]
3062 * elf/dl-reloc.c: Include <_itoa.h>.
3063 (_dl_reloc_bad_type): Remove use of INTUSE.
3064 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3065 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3066 * stdio-common/psiginfo.c (psiginfo): Likewise.
3067 * stdio-common/psignal.c (psignal): Likewise.
3068 * string/strsignal.c (strsignal): Likewise.
3069 * include/signal.h (_sys_siglist): Declare hidden proto.
3070 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3071 INTVARDEF with libc_hidden_data_def.
3072 * stdio-common/itoa-udigits.c: Likewise.
3073 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3074 (_itoa_lower_digits_internal): Remove declaration.
3075 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3076 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3077 (_sys_sigabbrev_internal): Remove aliases.
3078 (_sys_siglist): Define hidden alias.
3079
507352f1
MT
30802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3081
3082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3083 bits/sysctl.h.
3084
42bbb1c3
L
30852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3086
3087 [BZ #14117]
6bd784b6
L
3088 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3089 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3090
8bca20f0
L
3091 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3092 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3093 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3094 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3096 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3097
f9e890a9
L
3098 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3099 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3100 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3101
471101a1
L
3102 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3103 with __addr.
3104 (insw): Likewise.
3105 (insl): Likewise.
3106 (outsb): Likewise.
3107 (outsw): Likewise.
3108 (outsl): Likewise.
3109
6451c862
L
3110 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3112 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3113
a254b8c9
L
3114 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3115 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3117 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3118 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3119 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3120
b8dfdd92
L
3121 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3122 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3123
578cd270
L
3124 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3125 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3126
de662f5f
L
3127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3130
25653439
L
3131 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3132 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3133 to ...
3134 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3135
6bad24a0
L
3136 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3137 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3138 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3139
42bbb1c3
L
3140 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3141 for x86-64.
3142 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3143
2d10d547
JM
31442012-05-31 Joseph Myers <joseph@codesourcery.com>
3145
3146 * math/math.h (M_El): Use two more decimal places.
3147 (M_LOG2El): Likewise.
3148 (M_LOG10El): Likewise.
3149 (M_LN2l): Likewise.
3150 (M_LN10l): Likewise.
3151 (M_PIl): Likewise.
3152 (M_PI_2l): Likewise.
3153 (M_PI_4l): Likewise.
3154 (M_1_PIl): Likewise.
3155 (M_2_PIl): Likewise.
3156 (M_2_SQRTPIl): Likewise.
3157 (M_SQRT2l): Likewise.
3158 (M_SQRT1_2l): Likewise.
3159
f230c29b
DM
31602012-05-31 David S. Miller <davem@davemloft.net>
3161
3162 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3163 values between float registers.
3164 * sysdeps/sparc/sparc64/memset.S: Likewise.
3165 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3166
fed806c3
MF
31672012-05-31 Mike Frysinger <vapier@gentoo.org>
3168
3169 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3170 -D_FORTIFY_SOURCE=1.
3171 (CPPFLAGS-tst-longjmp_chk.c): Define.
3172 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3173 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3174 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3175 CFLAGS-tst-wchar-h.c.
3176
30917259
MP
31772012-05-31 Marek Polacek <polacek@redhat.com>
3178
3179 [BZ #14132]
3180 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3181 __endmntent_internal): Remove declaration.
3182 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3183 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3184 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3185
1c58d5dc
DM
31862012-05-30 David S. Miller <davem@davemloft.net>
3187
3188 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3189 (___Q_simulate_exceptions): Use real FP ops rather than writing
3190 into the %fsr.
3191 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3192 Likewise.
3193
7dc00e0d
L
31942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 [BZ #14117]
0bd53985
L
3197 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3198 * sysdeps/x86/bits/xtitypes.h: This.
3199
3a257e66
L
3200 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3201 * sysdeps/x86/bits/wordsize.h: This.
3202
62f62904
L
3203 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3204 * sysdeps/x86/bits/huge_vall.h: This.
3205
404fe9d9
L
3206 * sysdeps/i386/bits/select.h: Removed.
3207 * sysdeps/x86_64/bits/select.h: Renamed to ...
3208 * sysdeps/x86/bits/select.h: This.
3209
d48d0446
L
3210 * sysdeps/i386/bits/setjmp.h: Removed.
3211 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3212 * sysdeps/x86/bits/setjmp.h: This.
3213
7dc00e0d
L
3214 * sysdeps/i386/bits/mathdef.h: Removed.
3215 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3216 * sysdeps/x86/bits/mathdef.h: This.
3217
03277f8f
AS
32182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3219
3220 [BZ #14132]
3221 * include/sys/socket.h (__connect_internal)
3222 (__libc_sa_len_internal): Remove declaration.
3223 (__connect, __libc_sa_len): Declare hidden_proto.
3224 (SA_LEN): Remove use of INTUSE.
3225 * socket/connect.c: Add libc_hidden_def.
3226 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3227 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3228 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3229 alias.
3230 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3231 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3232 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3233 of adding _internal alias.
3234
13764867
L
32352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3236
3237 [BZ #14117]
6bd97696
L
3238 * sysdeps/i386/bits/link.h: Removed.
3239 * sysdeps/i386/bits/linkmap.h: Likewise.
3240 * sysdeps/x86_64/bits/link.h: Renamed to ...
3241 * sysdeps/x86/bits/link.h: This.
3242 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3243 * sysdeps/x86/bits/linkmap.h: This.
3244
f726f0bb
L
3245 * sysdeps/i386/bits/endian.h: Removed.
3246 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3247 * sysdeps/x86/bits/endian.h: This.
3248
13764867
L
3249 * sysdeps/i386/bits/byteswap.h: Removed.
3250 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3251 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3252 * sysdeps/x86/bits/byteswap.h: This.
3253 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3254 * sysdeps/x86/bits/byteswap-16.h: This.
3255 * sysdeps/i386/Implies: Add x86.
3256 * sysdeps/x86_64/Implies: Likewise.
3257
ae251b0b
DM
32582012-05-30 David S. Miller <davem@davemloft.net>
3259
3260 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3261 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3263 (FP_TRAPPING_EXCEPTIONS): Define.
3264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3265 (FP_TRAPPING_EXCEPTIONS): Define.
3266 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3267 subnormals only when inexact has been signalled or underflow
3268 exceptions are enabled.
3269 (_FP_PACK_CANONICAL): Likewise.
3270
d5c90867
L
32712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3272
3273 [BZ #14183]
3274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3275 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3276
63f1549e
RH
32772012-05-30 Richard Henderson <rth@twiddle.net>
3278
8d8f2279
RH
3279 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3280 with #ifndef NOT_IN_libc.
3281
63f1549e
RH
3282 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3283 marked to avoid plt entry.
3284
0ab0291b
L
32852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3286
3287 [BZ #14112]
3288 * Makeconfig (default-abi): New macro.
3289 (abi-includes): Likewise.
3290 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3291 $(abi-$(default-abi)-lib-soname) for soname if defined.
3292 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3293 abi-variants.
3294 * Makefile (installed-stubs): Likewise.
3295 * include/stubs-biarch.h: Removed.
3296 * scripts/lib-names.awk: Only handle one library at a time.
3297 * scripts/soversions.awk: Remove WORDSIZE support.
3298 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3299 entries.
3300 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3301 Removed.
3302 (syscall-list-default-condition): Likewise.
3303 (syscall-list-default-condition): Likewise.
3304 (syscall-list-includes): Likewise.
3305 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3306 syscall-list-* with abi-*. Handle undefined abi-variants.
3307 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3308 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3309 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3312 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3313 Removed.
3314 (syscall-list-32-options): Likewise.
3315 (syscall-list-32-condition): Likewise.
3316 (syscall-list-64-options): Likewise.
3317 (syscall-list-64-condition): Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3319 macro.
3320 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3321 Renamed to ...
3322 (abi-*): This.
3323 (abi-64-ld-soname): New macro.
3324 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3325 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3326 Renamed to ...
3327 (abi-*): This.
3328 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3329 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3330
4da0431d
JM
33312012-05-30 Joseph Myers <joseph@codesourcery.com>
3332
3a85279c
JM
3333 * sysdeps/unix/sysv/linux/kernel-features.h
3334 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3335 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3336 include <kernel-features.h>.
3337 [!__NR_ftruncate64]: Remove conditional code.
3338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3339 [__NR_ftruncate64]: Make code unconditional.
3340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3341 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3342 include <kernel-features.h>.
3343 [!__NR_ftruncate64]: Remove conditional code.
3344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3345 [__NR_ftruncate64]: Make code unconditional.
3346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3348 include <kernel-features.h>.
3349 [!__NR_ftruncate64]: Remove conditional code.
3350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3351 [__NR_ftruncate64]: Make code unconditional.
3352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3354 include <kernel-features.h>.
3355 [!__NR_ftruncate64]: Remove conditional code.
3356 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3357 [__NR_ftruncate64]: Make code unconditional.
3358 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3359
4da0431d
JM
3360 * configure.in (libc_cv_fpie): Weaken to a compile test using
3361 LIBC_TRY_CC_OPTION.
3362 * configure: Regenerated.
3363
11ef492c
AK
33642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3365
3366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3370 Refreshed.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3377 Refreshed.
3378
d66ef399
DM
33792012-05-27 David S. Miller <davem@davemloft.net>
3380
3381 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3382 (___Q_zero): New.
3383 (__Q_simulate_exceptions): Return void. Change to simulate
3384 exceptions by writing into the %fsr.
3385 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3386 (__Qp_handle_exceptions): Likewise.
3387 (numbers): Delete.
3388 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3389 __Qp_handle_exceptions.
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3391 __Qp_handle_exceptions.
3392 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3393 as unused and give dummy FP_RND_NEAREST initializer.
3394 (FP_INHIBIT_RESULTS): Define.
3395 (___Q_simulate_exceptions): Update declaration.
3396 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3397 formatting.
3398 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3399 as unused and give dummy FP_RND_NEAREST initializer.
3400 (__Qp_handle_exceptions): Update declaration.
3401 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3402 formatting.
3403
04fb54b5
TS
34042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3405
3406 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3407 the temporary FPU control word.
3408 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3409 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3411 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3412 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3413 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3414 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3415 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3416 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3417 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3418 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3419
3f99608f
KK
34202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3421
3422 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3423 fields.
3424
65a4de4e
CLT
34252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3426
3427 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3428 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3429 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3430 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3431 Likewise.
3432 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3433 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3434 Likewise.
3435
15749d40
UD
34362012-05-27 Ulrich Drepper <drepper@gmail.com>
3437
3438 * po/h.po: Update from translation team.
3439
25dbcb27
AS
34402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3441
3d3f8e55
AS
3442 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3443
25dbcb27
AS
3444 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3445 handling of denormals.
3446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3447 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3448 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3449 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3453 Likewise.
3454
7ad47a80 34552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3456
3457 [BZ #14152]
3458 * math/libm-test.inc (fma_test): Don't always expect underflow
3459 exception.
3460
9c6ea9fa
SP
34612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3462
3463 [BZ #12416]
3464 * elf/tst-execstack.c: Include stackinfo.h.
3465 (do_test): Adjust test case to ensure that pthread_getattr_np
3466 behaviour remains the same after marking stack executable.
3467
a8239222
JM
34682012-05-25 Joseph Myers <joseph@codesourcery.com>
3469
3470 * sysdeps/unix/sysv/linux/kernel-features.h
3471 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3472 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3473 kernel-features.h.
3474 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3475 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3476 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3477 kernel-features.h.
3478 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3479 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3480
918b5606
L
34812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * configure.in: Define the default includes to being none.
3484 * configure: Regenerated.
3485
3a097cc7
RM
34862012-05-25 Roland McGrath <roland@hack.frob.com>
3487
8422c9a5
RM
3488 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3489 * sysdeps/x86_64/setjmp.S: Likewise.
3490 * sysdeps/i386/bsd-setjmp.S: Likewise.
3491 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3492 * sysdeps/i386/setjmp.S: Likewise.
3493 * sysdeps/i386/__longjmp.S: Likewise.
3494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3496
3a097cc7
RM
3497 * include/stap-probe.h: New file.
3498 * configure.in: Handle --enable-systemtap.
3499 * configure: Regenerated.
3500 * config.h.in (USE_STAP_PROBE): New #undef.
3501 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3502 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3503 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3504
21708942
JM
35052012-05-25 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #13717]
3508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3509 to 2.4.0 where earlier.
3510 * sysdeps/unix/sysv/linux/configure: Regenerated.
3511 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3512 <kernel-features.h>.
3513 [__ASSUME_32BITUIDS]: Make code unconditional.
3514 [!__ASSUME_32BITUIDS]: Remove conditional code.
3515 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3516 <kernel-features.h>.
3517 [__ASSUME_32BITUIDS]: Make code unconditional.
3518 [!__ASSUME_32BITUIDS]: Remove conditional code.
3519 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3520 [__ASSUME_32BITUIDS]: Make code unconditional.
3521 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3522 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3523 <kernel-features.h>.
3524 [__ASSUME_32BITUIDS]: Make code unconditional.
3525 [!__ASSUME_32BITUIDS]: Remove conditional code.
3526 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3527 <kernel-features.h>.
3528 [__ASSUME_32BITUIDS]: Make code unconditional.
3529 [!__ASSUME_32BITUIDS]: Remove conditional code.
3530 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3531 <kernel-features.h>.
3532 [__ASSUME_32BITUIDS]: Make code unconditional.
3533 [!__ASSUME_32BITUIDS]: Remove conditional code.
3534 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3535 <kernel-features.h>.
3536 [__ASSUME_32BITUIDS]: Make code unconditional.
3537 [!__ASSUME_32BITUIDS]: Remove conditional code.
3538 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3539 <kernel-features.h>.
3540 [__ASSUME_32BITUIDS]: Make code unconditional.
3541 [!__ASSUME_32BITUIDS]: Remove conditional code.
3542 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3543 <kernel-features.h>.
3544 [__ASSUME_32BITUIDS]: Make code unconditional.
3545 [!__ASSUME_32BITUIDS]: Remove conditional code.
3546 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3547 <kernel-features.h>.
3548 [__ASSUME_32BITUIDS]: Make code unconditional.
3549 [!__ASSUME_32BITUIDS]: Remove conditional code.
3550 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3551 <kernel-features.h>.
3552 [__ASSUME_32BITUIDS]: Make code unconditional.
3553 [!__ASSUME_32BITUIDS]: Remove conditional code.
3554 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3555 <kernel-features.h>.
3556 [__ASSUME_32BITUIDS]: Make code unconditional.
3557 [!__ASSUME_32BITUIDS]: Remove conditional code.
3558 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3559 <kernel-features.h>.
3560 [__ASSUME_32BITUIDS]: Make code unconditional.
3561 [!__ASSUME_32BITUIDS]: Remove conditional code.
3562 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3563 <kernel-features.h>.
3564 [__NR_setresgid] (__setresgid): Do not declare.
3565 [__ASSUME_32BITUIDS]: Make code unconditional.
3566 [!__ASSUME_32BITUIDS]: Remove conditional code.
3567 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3568 <kernel-features.h>.
3569 [__NR_setresuid] (__setresuid): Do not declare.
3570 [__ASSUME_32BITUIDS]: Make code unconditional.
3571 [!__ASSUME_32BITUIDS]: Remove conditional code.
3572 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3573 <kernel-features.h>.
3574 [__ASSUME_32BITUIDS]: Make code unconditional.
3575 [!__ASSUME_32BITUIDS]: Remove conditional code.
3576 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3577 <kernel-features.h>.
3578 [__ASSUME_32BITUIDS]: Make code unconditional.
3579 [!__ASSUME_32BITUIDS]: Remove conditional code.
3580 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3581 <kernel-features.h>.
3582 [__ASSUME_32BITUIDS]: Make code unconditional.
3583 [!__ASSUME_32BITUIDS]: Remove conditional code.
3584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3585 <kernel-features.h>.
3586 [__ASSUME_32BITUIDS]: Make code unconditional.
3587 [!__ASSUME_32BITUIDS]: Remove conditional code.
3588 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3589 <kernel-features.h>.
3590 [__ASSUME_32BITUIDS]: Make code unconditional.
3591 [!__ASSUME_32BITUIDS]: Remove conditional code.
3592 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3593 <kernel-features.h>.
3594 [__ASSUME_32BITUIDS]: Make code unconditional.
3595 [!__ASSUME_32BITUIDS]: Remove conditional code.
3596 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3597 <kernel-features.h>.
3598 [__ASSUME_32BITUIDS]: Make code unconditional.
3599 [!__ASSUME_32BITUIDS]: Remove conditional code.
3600 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3601 <kernel-features.h>.
3602 [__ASSUME_32BITUIDS]: Make code unconditional.
3603 [!__ASSUME_32BITUIDS]: Remove conditional code.
3604 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3605 <kernel-features.h>.
3606 [__ASSUME_32BITUIDS]: Make code unconditional.
3607 [!__ASSUME_32BITUIDS]: Remove conditional code.
3608 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3609 <kernel-features.h>.
3610 [__ASSUME_32BITUIDS]: Make code unconditional.
3611 [!__ASSUME_32BITUIDS]: Remove conditional code.
3612 * sysdeps/unix/sysv/linux/kernel-features.h
3613 (__ASSUME_SETRESUID_SYSCALL): Remove.
3614 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3615 (__ASSUME_32BITUIDS): Likewise.
3616 (__ASSUME_LDT_WORKS): Likewise.
3617 (__ASSUME_O_DIRECTORY): Likewise.
3618 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3619 architecture but not kernel version.
3620 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3621 (__ASSUME_MMAP2_SYSCALL): Likewise.
3622 (__ASSUME_STAT64_SYSCALL): Likewise.
3623 (__ASSUME_IPC64): Likewise.
3624 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3625 <kernel-features.h>.
3626 [__ASSUME_32BITUIDS]: Make code unconditional.
3627 [!__ASSUME_32BITUIDS]: Remove conditional code.
3628 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3629 <kernel-features.h>.
3630 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3631 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3632 132096]: Remove conditional code.
3633 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3634 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3635 <kernel-features.h>.
3636 [__ASSUME_32BITUIDS]: Make code unconditional.
3637 [!__ASSUME_32BITUIDS]: Remove conditional code.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
3643 <kernel-features.h>.
3644 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3645 unconditional.
3646 (__setresgid): Do not declare.
3647 [__ASSUME_32BITUIDS]: Make code unconditional.
3648 [!__ASSUME_32BITUIDS]: Remove conditional code.
3649 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3650 <kernel-features.h>.
3651 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3652 unconditional.
3653 (__setresuid): Do not declare.
3654 [__ASSUME_32BITUIDS]: Make code unconditional.
3655 [!__ASSUME_32BITUIDS]: Remove conditional code.
3656 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3657 <kernel-features.h>.
3658 [__ASSUME_32BITUIDS]: Make code unconditional.
3659 [!__ASSUME_32BITUIDS]: Remove conditional code.
3660 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3661 <kernel-features.h>.
3662 [__ASSUME_32BITUIDS]: Make code unconditional.
3663 [!__ASSUME_32BITUIDS]: Remove conditional code.
3664
a386f1cc
RH
36652012-05-25 Richard Henderson <rth@twiddle.net>
3666
3667 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3668 dl_hwcap to ifunc resolver.
3669 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3670 elf_ifunc_invoke.
3671 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3672 dl_hwcap to ifunc resolver.
3673 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3674
b6550497
JM
36752012-05-24 Joseph Myers <joseph@codesourcery.com>
3676
3677 [BZ #14153]
3678 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3679 for |x| <= 2**-26, not 2**-57.
3680 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3681 exception.
3682
b0bc23a1
JL
36832012-05-24 Jeff Law <law@redhat.com>
3684
3685 * stdio-common/Makefile (tests): Add bug25.
3686 * stdio-common/bug25.c: New test.
3687
347c92e9
L
36882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 [BZ #13576]
3691 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3692 multiple of MALLOC_ALIGNMENT in size.
3693 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3694
6bcc8b3f
JM
36952012-05-24 Joseph Myers <joseph@codesourcery.com>
3696
3697 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3698 Require >= 256.
3699 (FILENAME_MAX): Use macro-int-constant.
3700 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3701 (_IOFBF): Use macro-int-constant.
3702 (_IOLBF): Likewise.
3703 (_IONBF): Likewise.
3704 (SEEK_CUR): Likewise.
3705 (SEEK_END): Likewise.
3706 (SEEK_SET): Likewise.
3707 (TMP_MAX): Likewise.
3708 (EOF): Use macro-int-constant. Require < 0.
3709 (NULL): Use macro-constant. Require == 0.
3710 (stdin): Require type to be FILE *.
3711 (stdout): Likewise.
3712 (stderr): Likewise.
3713 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3714 macro-int-constant.
3715 (EXIT_SUCCESS): Likewise.
3716 (NULL): Use macro-constant. Require == 0.
3717 (RAND_MAX): Use macro-int-constant.
3718 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3719 [C99-based standards] (strtof): Require function.
3720 [C99-based standards] (strtold): Likewise.
3721 [C99-based standards] (strtoll): Likewise.
3722 [C99-based standards] (strtoull): Likewise.
3723 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3724 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3725 [ISO || ISO99 || ISO11] (math.h): Likewise.
3726 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3727 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3729
d18ea0c5
AS
37302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3731
3732 [BZ #14132]
56d25bb8
AS
3733 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3734 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3735 * intl/dgettext.c (DCGETTEXT): Likewise.
3736 * intl/gettext.c (DCGETTEXT): Likewise.
3737 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3738 * posix/regex_internal.h (gettext): Likewise.
3739 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3740 Remove declaration.
3741 * include/argz.h (__argz_count_internal)
3742 (__argz_stringify_internal): Remove declaration.
3743 (__argz_count, __argz_stringify): Declare hidden proto.
3744 * intl/dcgettext.c: Remove use of INTDEF.
3745 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3746 * string/argz-stringify.c: Likewise.
3747 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3748 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3749 Declare hidden proto.
d18ea0c5
AS
3750 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3751 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3752 Declare hidden proto.
3753 * include/stdio.h (__asprintf_internal): Don't declare.
3754 (__asprintf): Don't define as macro. Declare hidden proto.
3755 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3756 (__fsetlocking): Declare hidden proto.
3757 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3758 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3759 hidden proto.
3760 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3761 (_IO_setlinebuf): Remove use of INTUSE.
3762 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3763 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3764 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3765 Remove declaration.
3766 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3767 (_IO_do_flush): Remove use of INTUSE.
3768 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3769 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3770 (_IO_adjust_column, _IO_least_wmarker)
3771 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3772 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3773 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3774 (_IO_default_doallocate, _IO_wdefault_doallocate)
3775 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3776 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3777 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3778 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3779 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3780 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3781 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3782 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3783 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3784 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3785 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3786 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3787 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3788 proto.
3789 (_IO_flush_all_internal, _IO_adjust_column_internal)
3790 (_IO_default_uflow_internal, _IO_default_finish_internal)
3791 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3792 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3793 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3794 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3795 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3796 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3797 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3798 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3799 (_IO_file_close_internal, _IO_file_close_it_internal)
3800 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3801 (_IO_file_init_internal, _IO_file_attach_internal)
3802 (_IO_file_fopen_internal, _IO_file_read_internal)
3803 (_IO_file_sync_internal, _IO_file_seek_internal)
3804 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3805 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3806 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3807 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3808 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3809 (_IO_list_all_internal, _IO_link_in_internal)
3810 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3811 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3812 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3813 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3814 (_IO_do_write_internal, _IO_padn_internal)
3815 (_IO_getline_info_internal, _IO_getline_internal)
3816 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3817 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3818 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3819 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3820 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3821 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3822 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3823 with libc_hidden_ver, remove use of INTUSE.
3824 * libio/genops.c: Likewise.
3825 * libio/freopen.c: Likewise.
3826 * libio/freopen64.c: Likewise.
3827 * libio/iofclose.c: Likewise.
3828 * libio/iofdopen.c: Likewise.
3829 * libio/iofflush.c: Likewise.
3830 * libio/iofflush_u.c: Likewise.
3831 * libio/iofgets.c: Likewise.
3832 * libio/iofgets_u.c: Likewise.
3833 * libio/iofopen.c: Likewise.
3834 * libio/iofopncook.c: Likewise.
3835 * libio/iofread.c: Likewise.
3836 * libio/iofread_u.c: Likewise.
3837 * libio/ioftell.c: Likewise.
3838 * libio/iofwrite.c: Likewise.
3839 * libio/iogetline.c: Likewise.
3840 * libio/iogets.c: Likewise.
3841 * libio/iogetwline.c: Likewise.
3842 * libio/iopadn.c: Likewise.
3843 * libio/iopopen.c: Likewise.
3844 * libio/ioseekoff.c: Likewise.
3845 * libio/ioseekpos.c: Likewise.
3846 * libio/iosetbuffer.c: Likewise.
3847 * libio/iosetvbuf.c: Likewise.
3848 * libio/ioungetc.c: Likewise.
3849 * libio/ioungetwc.c: Likewise.
3850 * libio/iovdprintf.c: Likewise.
3851 * libio/iovsprintf.c: Likewise.
3852 * libio/iovsscanf.c: Likewise.
3853 * libio/memstream.c: Likewise.
3854 * libio/obprintf.c: Likewise.
3855 * libio/oldfileops.c: Likewise.
3856 * libio/oldiofclose.c: Likewise.
3857 * libio/oldiofdopen.c: Likewise.
3858 * libio/oldiofopen.c: Likewise.
3859 * libio/oldiopopen.c: Likewise.
3860 * libio/oldstdfiles.c: Likewise.
3861 * libio/putc.c: Likewise.
3862 * libio/setbuf.c: Likewise.
3863 * libio/setlinebuf.c: Likewise.
3864 * libio/stdfiles.c: Likewise.
3865 * libio/strops.c: Likewise.
3866 * libio/vasprintf.c: Likewise.
3867 * libio/vscanf.c: Likewise.
3868 * libio/vsnprintf.c: Likewise.
3869 * libio/vswprintf.c: Likewise.
3870 * libio/wfiledoalloc.c: Likewise.
3871 * libio/wfileops.c: Likewise.
3872 * libio/wgenops.c: Likewise.
3873 * libio/wmemstream.c: Likewise.
3874 * libio/wstrops.c: Likewise.
3875 * libio/__fpurge.c: Likewise.
3876 * libio/__fsetlocking.c: Likewise.
3877 * assert/assert.c: Likewise.
3878 * debug/fgets_chk.c: Likewise.
3879 * debug/fgets_u_chk.c: Likewise.
3880 * debug/fread_chk.c: Likewise.
3881 * debug/fread_u_chk.c: Likewise.
3882 * debug/gets_chk.c: Likewise.
3883 * debug/obprintf_chk.c: Likewise.
3884 * debug/vasprintf_chk.c: Likewise.
3885 * debug/vdprintf_chk.c: Likewise.
3886 * debug/vsnprintf_chk.c: Likewise.
3887 * debug/vsprintf_chk.c: Likewise.
3888 * malloc/mtrace.c: Likewise.
3889 * misc/error.c: Likewise.
3890 * misc/syslog.c: Likewise.
3891 * stdio-common/asprintf.c: Likewise.
3892 * stdio-common/fxprintf.c: Likewise.
3893 * stdio-common/getw.c: Likewise.
3894 * stdio-common/isoc99_fscanf.c: Likewise.
3895 * stdio-common/isoc99_scanf.c: Likewise.
3896 * stdio-common/isoc99_vfscanf.c: Likewise.
3897 * stdio-common/isoc99_vscanf.c: Likewise.
3898 * stdio-common/isoc99_vsscanf.c: Likewise.
3899 * stdio-common/printf-prs.c: Likewise.
3900 * stdio-common/printf_fp.c: Likewise.
3901 * stdio-common/printf_fphex.c: Likewise.
3902 * stdio-common/printf_size.c: Likewise.
3903 * stdio-common/putw.c: Likewise.
3904 * stdio-common/scanf.c: Likewise.
3905 * stdio-common/sprintf.c: Likewise.
3906 * stdio-common/tmpfile.c: Likewise.
3907 * stdio-common/vfprintf.c: Likewise.
3908 * stdio-common/vfscanf.c: Likewise.
3909 * stdlib/strfmon_l.c: Likewise.
3910 * sunrpc/openchild.c: Likewise.
3911 * sunrpc/xdr_stdio.c: Likewise.
3912 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3913 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3914
d6c33fda
RM
39152012-05-24 Roland McGrath <roland@hack.frob.com>
3916
c1487492
RM
3917 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3918
3919 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3920 in the third column, to generate for the shared library an IFUNC
3921 that uses _dl_vdso_vsym.
3922 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3923 * Makeconfig (object-suffixes-noshared): New variable.
3924
3925 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3926 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3927 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3928 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3929
d6c33fda
RM
3930 [BZ #14132]
3931 * include/sys/time.h (__gettimeofday): Remove macro.
3932 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3933 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3934 Remove INTDEF.
3935 (__gettimeofday): Add libc_hidden_def.
3936 (gettimeofday): Add libc_hidden_weak.
3937 * sysdeps/mach/gettimeofday.c: Likewise.
3938 * sysdeps/posix/gettimeofday.c: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3940 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3942 (__gettimeofday_internal): Remove strong_alias.
3943 (__gettimeofday): Add libc_hidden_def.
3944 (gettimeofday): Add libc_hidden_weak.
3945 * sysdeps/unix/syscalls.list (gettimeofday):
3946 Remove __gettimeofday_internal alias.
3947
b5a2bbe6
L
39482012-05-24 Daniel Jacobowitz <drow@false.org>
3949 H.J. Lu <hongjiu.lu@intel.com>
3950
3951 [BZ #12495]
3952 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3953 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3954 (largebin_index_32_big): New.
3955 (largebin_index): Use it for 16-byte alignment.
3956 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3957 correction with front_misalign.
3958
cfba4fda
L
39592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3960
7f907421
L
3961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3965 Likewise.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3967 Likewise.
3968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3969 Likewise.
3970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3971 Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3973 Likewise.
3974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3975 Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3977 Likewise.
3978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3979 Likewise.
3980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3981 Likewise.
3982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3983 Likewise.
3984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3985 Likewise.
3986
cfba4fda
L
3987 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3988 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3989
80bad0cc
JM
39902012-05-24 Joseph Myers <joseph@codesourcery.com>
3991
7a25eb06
JM
3992 [BZ #10846]
3993 [BZ #14036]
3994 * math/libm-test.inc (exp_test): Add test from bug 14036.
3995 (pow_test): Add test from bug 10846.
3996
795405f9
JM
3997 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3998 and other flags.
3999 (special_function): Do not include flags in test name.
4000 (parse_args): Likewise.
4001 * sysdeps/i386/fpu/libm-test-ulps: Update.
4002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4003 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4004 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4006
80bad0cc
JM
4007 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4008 exceptions.
4009 * math/libm-test.inc ("Philosophy"): Update comment about
4010 exception testing.
4011 (UNDERFLOW_EXCEPTION): New macro.
4012 (UNDERFLOW_EXCEPTION_OK): Likewise.
4013 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4014 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4015 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4016 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4017 (INVALID_EXCEPTION_OK): Update value.
4018 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4019 (OVERFLOW_EXCEPTION_OK): Likewise.
4020 (IGNORE_ZERO_INF_SIGN): Likewise.
4021 (test_exceptions): Handle underflow exceptions.
4022 (acos_test): Update for underflow exception expectations.
4023 (cexp_test): Likewise.
4024 (clog_test): Likewise.
4025 (clog10_test): Likewise.
4026 (csqrt_test): Likewise.
4027 (ctan_test): Likewise.
4028 (ctanh_test): Likewise.
4029 (exp_test): Likewise.
4030 (exp10_test): Likewise.
4031 (exp2_test): Likewise.
4032 (expm1_test): Likewise.
4033 (fma_test): Likewise.
4034 (j0_test): Likewise.
4035 (jn_test): Likewise.
4036 (nexttoward_test): Likewise.
4037 (pow_test): Likewise.
4038 (scalbn_test): Likewise.
4039 (scalbln_test): Likewise.
4040 (tan_test): Likewise.
4041 (y1_test): Likewise.
4042 * sysdeps/i386/fpu/libm-test-ulps: Update.
4043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4044
9e0e3d0b
DM
40452012-05-23 David S. Miller <davem@davemloft.net>
4046
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4048 (__libc_sigaction): Remove unused local variables.
4049
ccd0a08f
L
40502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4053
62bdf9a6
PE
40542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4055
f8591f80
PE
4056 mktime: avoid signed integer overflow
4057 * time/mktime.c (__mktime_internal): Do not mishandle the case
4058 where diff == INT_MIN.
4059
94c7d826
PE
4060 mktime: simplify computation of average
4061 * time/mktime.c (ranged_convert): Use new time_t_avg function
4062 instead of rolling our own (probably-slower) code.
4063
ce73d683
PE
4064 mktime: do not assume signed right shift propagates sign bit
4065 * time/mktime.c (isdst_differ): New static function.
4066 (__mktime_internal): No need to normalize tm_isdst now.
4067 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4068 tm_isdst values.
4069
72a22e59
PE
4070 mktime: merge another wrapv change from gnulib
4071 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4072 from some compilers.
4073
68605433
PE
4074 mktime: remove incorrect attempt at unusual arithmetics
4075 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4076 The code didn't really work on such machines anyway.
4077 (TYPE_MINIMUM): Assume two's complement.
4078 (twos_complement_arithmetic): Verify that long_int and time_t
4079 are two's complement (or unsigned, in the latter case).
4080
03cf7fe3
PE
4081 mktime: check signed shifts on long_int and time_t, too
4082 * time/mktime.c (SHR): Check that shifts work as desired
4083 on the types long_int and time_t too, as SHR is used on
4084 such types.
4085
f04dfbc2
PE
4086 mktime: do not assume 'long' is wide enough
4087 * time/mktime.c (verify): Move decl up.
4088 (long_int): New type.
4089 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4090 to remove assumption in the code that 'long' is wide enough to
4091 store year values. This assumption is not true on x32 and on
4092 some non-glibc platforms.
4093
62bdf9a6
PE
4094 mktime: merge wrapv change from gnulib
4095 * time/mktime.c (WRAPV): New macro.
4096 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4097 (guess_time_tm, __mktime_internal): Do not assume that signed
4098 integer overflow wraps around; modern compilers generate code
4099 where this assumption is no longer valid.
4100
5e292e4f
L
41012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4102
4103 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4104 Replace "jmp L(pseudo_end)" with "ret".
4105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4106 Likewise.
4107
8caf8c87
AJ
41082012-05-23 Andreas Jaeger <aj@suse.de>
4109
4110 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4111 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4112
1a09dc56
AJ
41132012-05-23 Andreas Jaeger <aj@suse.de>
4114 Maximilian Attems <max@stro.at>
4115
4116 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4117 New macros.
4118
1c87aba0
L
41192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4122 code so that pseudo_end is just ret and the stack pointer is
4123 correct also for static library in error case.
4124
40e45bd5
JM
41252012-05-23 Joseph Myers <joseph@codesourcery.com>
4126
c2670533
JM
4127 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4128 move to syscalls.list.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4133
40e45bd5
JM
4134 * manual/install.texi (Running make install): Do not mention Linux
4135 kernel version for which pt_chown is not needed.
4136 (Linux): Do not mention problems with nscd with 2.0 kernels.
4137 * INSTALL: Regenerated.
4138
be08eda5
AJ
41392012-05-23 Andreas Jaeger <aj@suse.de>
4140
4141 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4142 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4143 macro.
4144 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4146 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4148 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4154 * sysdeps/unix/sysv/linux/bits/in.h
4155 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4156
a6a056bb
RM
41572012-05-22 Roland McGrath <roland@hack.frob.com>
4158
4159 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4160 (PREPARE_VERSION): Just use assert instead, it will be elided
4161 under [NDEBUG] anyway.
4162
c9009328
L
41632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 * sysdeps/unix/sysv/linux/Makefile: Include
4166 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4167 (sysdep_routines): Remove sysctl.
c9009328
L
4168 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4169 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4172 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4173
73338355
AJ
41742012-05-22 Andreas Jaeger <aj@suse.de>
4175
4176 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4177 that pseudo_end is just ret and the stack pointer is correct also
4178 for static library in error case.
4179
d44638b0
PP
41802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4181
4182 [BZ #14122]
4183 * nss/nsswitch.c (defconfig_entries): New variable.
4184 (__nss_database_lookup): Don't leak defconfig entries.
4185 (nss_parse_service_list): Don't leak on error paths.
4186 (free_database_entries): New function.
4187 (free_defconfig): New function.
4188 (free_mem): Move common code to free_database_entries.
4189
31a39bd8
L
41902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4191
da0331a8
L
4192 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4193 Add arch_prctl.
4194 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4195
31a39bd8
L
4196 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4197 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4199 New macro.
4200 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4201 (INTERNAL_SYSCALL_TYPES): Likewise.
4202 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4203 (LOAD_REGS_TYPES_[1-6]): Likewise.
4204 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4205 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4206
45470df3
AZ
42072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4208
4209 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4210 copysignl for GLIBC_2_0.
4211 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4212 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4214 logbl for GLIBC_2_0.
4215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4216 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4217
98a61bcb
L
42182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4219
a4f6e481
L
4220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4222
f63d5db6
L
4223 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4224 Use "neg %eax".
4225
98a61bcb
L
4226 * time/mktime.c: Update copyright years.
4227
95770f14
PE
42282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4229
6226efbd
PE
4230 mktime: merge comment-quoting-style change from gnulib
4231 * time/mktime.c: Quote 'like this' in comments.
4232 The GNU coding standards suggest that we no longer quote `like this',
4233 as "`" and "'" are typically rendered asymmetrically nowadays.
4234 The typical gnulib style is to quote 'like this' when quoting
4235 code, and "like this" when quoting English.
4236
b99e4f78
PE
4237 * time/mktime.c (compile-command): Add "-I.".
4238
643e01e6
PE
4239 mktime: merge mktime-internal.h change from gnulib
4240 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4241
2554247d
PE
4242 mktime: merge time_r change from gnulib
4243 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4244
826dd0ab
PE
4245 mktime: merge DEBUG change from gnulib
4246 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4247 case system <time.h> has a #define.
4248
bd83aabe
PE
4249 mktime: merge <sys/types.h> change from gnulib
4250 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4251 since <time.t> is now guaranteed to define time_t.
4252
95770f14
PE
4253 mktime: merge HAVE_CONFIG_H change from gnulib
4254 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4255
5e1a27a9
L
42562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4257
0e44a77e
L
4258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4259 Use "neg %eax".
4260
5e1a27a9
L
4261 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4262 __rlim_t cast.
4263 (struct rusage): Use anonymous union to pad each field to
4264 __syscall_slong_t.
4265
46259bec
DM
42662012-05-21 David S. Miller <davem@davemloft.net>
4267
4268 * Makefules (o-iterator): Remove .s cases.
4269 (compile-command.s): Delete.
4270 (COMPILE.s): Delete.
4271 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4272
59f0c22e
JM
42732012-05-21 Joseph Myers <joseph@codesourcery.com>
4274
4275 * configure.in (libc_cv_predef_stack_protector): Only consider
4276 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4277 * configure: Regenerated.
4278
20c07380
L
42792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4280
bbb3154b
L
4281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4282 New macro. Use R*LP on int and pointer.
4283 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4284 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4285 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4286 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4287
20c07380
L
4288 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4289 [__WORDSIZE_TIME64_COMPAT32] instead of
4290 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4291 (struct utmp): Likewise.
4292 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4293 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4294 Renamed to ...
4295 (__WORDSIZE_TIME64_COMPAT32): This.
4296 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4297 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4298 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4299 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4300 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4301 (__WORDSIZE_TIME64_COMPAT32): New macro.
4302
d8d1017e
AJ
43032012-05-21 Andreas Jaeger <aj@suse.de>
4304
4305 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4306 only if [SHARED]. Add prototype for __wcschr_ia32.
4307
6c7fb145
RM
43082012-05-21 Roland McGrath <roland@hack.frob.com>
4309
4310 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4311 of %rbp unmolested in the jmp_buf while mangling the low bits.
4312 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4313 unmolested high bits of %rbp while demangling the low bits.
4314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4315
66274218
AJ
43162012-05-21 Andreas Jaeger <aj@suse.de>
4317
07c58f8f
AJ
4318 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4319 * sunrpc/svc_simple.c: Use it for registerrpc.
4320 * sunrpc/xcrypt.c: Use it for passwd2des.
4321
66274218
AJ
4322 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4323
61f65140
L
43242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4325
4326 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4327 Don't define if [__SYSCALL_WORDSIZE != 32].
4328 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4329 New macro.
4330
5fefb436
AJ
43312012-05-21 Bruno Haible <bruno@clisp.org>
4332 Andreas Jaeger <aj@suse.de>
4333
4334 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4335 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4336 inptr and inend for must_buffer_ch.
4337 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4338 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4339 * stdio-common/Makefile (tests): Remove bug15.
4340 (bug15-ENV): Remove macro.
4341 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4342 anymore.
4343
d8e272ab
AJ
43442012-05-19 Andreas Jaeger <aj@suse.de>
4345 Roland McGrath <roland@hack.frob.com>
4346
4347 * manual/contrib.texi: Completely rewritten. It contains now an
4348 alphabetical list of contributors and their contributions.
4349
4a56a162
RH
43502012-05-21 Richard Henderson <rth@twiddle.net>
4351
4352 * misc/getauxval.c (__getauxval): Use unsigned long int.
4353 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4354 (getauxval): Use unsigned long int.
4355
d024d23c
L
43562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4359
cbc00a03
RM
43602012-05-21 Roland McGrath <roland@hack.frob.com>
4361
4362 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4363 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4364 __alignof__ (long double).
4365
478143fa
AZ
43662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4367
4368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4369
c7683a6d
RH
43702012-05-20 Richard Henderson <rth@twiddle.net>
4371
4372 * misc/getauxval.c: New file.
4373 * misc/sys/auxv.h: New file.
4374 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4375 (routines): Add getauxval.
4376 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4378 * elf/dl-sysdep.c (_dl_auxv): Remove.
4379 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4380 * elf/dl-support.c (_dl_auxv): New variable.
4381 (_dl_aux_init): Initialize it.
4382 * manual/startup.texi (Auxiliary Vector): New node.
4383 * sysdeps/generic/bits/hwcap.h: New file.
4384 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4385 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4386 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4387 * sysdeps/sparc/sysdep.h: ... here. Include it.
4388 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4391 Update.
c7683a6d
RH
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4395 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4400
a6f1845d
AZ
44012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4402
4403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4404
cbcbe830
DM
44052012-05-19 David S. Miller <davem@davemloft.net>
4406
4407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4408
e0b16cc2
JM
44092012-05-19 Joseph Myers <joseph@codesourcery.com>
4410
4411 [BZ #14123]
4412 * math/s_ccosh.c: Include <float.h>
4413 (__ccosh): Avoid internal overflow calculating sinh and cosh
4414 values before multiplying by sin and cos values.
4415 * math/s_ccoshf.c: Likewise.
4416 * math/s_ccoshl.c: Likewise.
4417 * math/s_csin.c: Likewise.
4418 * math/s_csinf.c: Likewise.
4419 * math/s_csinl.c: Likewise.
4420 * math/s_csinh.c: Likewise.
4421 * math/s_csinhf.c: Likewise.
4422 * math/s_csinhl.c: Likewise.
4423 * math/libm-test.inc (ccos_test): Add more tests.
4424 (ccosh_test): Likewise.
4425 (csin_test): Likewise.
4426 (csinh_test): Likewise.
4427 * sysdeps/i386/fpu/libm-test-ulps: Update.
4428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4429
6ad13e08
L
44302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4431
f66f0ce8
L
4432 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4433 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4434
6ad13e08
L
4435 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4436
b1d072a7
JM
44372012-05-19 Joseph Myers <joseph@codesourcery.com>
4438
4439 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4440 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4441 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4442 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4443 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4444 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4445 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4446 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4447 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4448 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4449 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4450 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4451 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4452 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4453 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4454 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4455 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4456 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4457 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4458 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4459 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4460 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4461 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4462 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4463 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4464 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4465 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4466 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4467 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4468 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4469 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4470
9eae47cb
AJ
44712012-05-18 Andreas Jaeger <aj@suse.de>
4472
4473 * csu/.gitignore: Delete.
4474
bb07f69f
L
44752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4478 (timex): Use __syscall_slong_t.
4479
e6bdb741
AJ
44802012-05-18 Andreas Jaeger <aj@suse.de>
4481 Carlos O'Donell <carlos_odonell@mentor.com>
4482
4483 * manual/install.texi (Configuring and compiling): Update
4484 description about files modified in the source directory.
d6c33fda 4485 * INSTALL: Regenerated.
e6bdb741 4486
1b74487e
L
44872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4490 value. Use "or" to set return value to -1.
4491 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4492 negate return value.
4493
a88b64b9
TMQMF
44942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4495
4496 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4497 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4498 failure if the compiler has Graphite support disabled.
4499 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4500 Likewise.
4501 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4502 CFLAGS-memmove.c): Likewise.
4503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4504 Likewise.
4505
3707636e
L
45062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4507
610b8622
L
4508 * sysdeps/x86_64/x32/_itoa.h: New file.
4509
7cd195df
L
4510 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4511 getdents system call only if kernel and user dirents have the
4512 same d_ino and d_off.
4513
94b07d20
L
4514 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4515 LLONG_MAX != LONG_MAX.
4516 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4517 (_fitoa_word): Likewise.
4518
18298070
L
4519 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4520 years.
4521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4522 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4524
553c7ea4
L
4525 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4526 include <bits/wordsize.h>. Check __x86_64__ instead of
4527 __WORDSIZE.
4528 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4529 if __x86_64__ is defined. Use anonymous union on fpstate.
4530
3707636e
L
4531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4532 anonymous union.
4533
b53ef01a
AS
45342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4535
37fb1dc0
AS
4536 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4537 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4538 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4539 Refer to _rtld_local_ro instead of _rtld_global_ro.
4540 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4541 Likewise.
4542 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4543 Likewise.
4544 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4545 Likewise.
4546 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4547 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4548 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4549
b53ef01a
AS
4550 * sysdeps/powerpc/powerpc32/dl-machine.c
4551 (__elf_machine_runtime_setup) [PROF]: Don't reference
4552 _dl_prof_resolve.
4553
7a185db2
AJ
45542012-05-18 Andreas Jaeger <aj@suse.de>
4555
4556 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4557 function only available for GCCs before 3.4 since GCC 3.4
4558 introduced a builtin.
4559 (lrint): Likewise.
4560 (llrintf): Likewise.
4561 (llrint): Likewise.
4562 (fmaxf): Likewise.
4563 (fmax): Likewise.
4564 (fminf): Likewise.
4565 (fmin): Likewise.
4566 (rint): Likewise.
4567 (rintf): Likewise.
4568 (nearbyint): Likewise.
4569 (nearbyintf): Likewise.
4570 (ceil): Likewise.
4571 (ceilf): Likewise.
4572 (floor): Likewise.
4573 (floorf): Likewise.
4574
3e5aef87
L
45752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4576
428bd707
L
4577 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4578 on both fields and cast pointer to __syscall_ulong_t.
4579
3e5aef87
L
4580 * bits/types.h (__fsword_t): New type.
4581 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4582 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4584 (__FSWORD_T_TYPE): Likewise.
4585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4586 (__FSWORD_T_TYPE): Likewise.
4587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4588 (__FSWORD_T_TYPE): Likewise.
4589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4590 (__FSWORD_T_TYPE): Likewise.
4591 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4592 __SWORD_TYPE with __fsword_t.
4593 (statfs64): Likewise.
4594
1ba7c3dc
DM
45952012-05-17 David S. Miller <davem@davemloft.net>
4596
4597 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4598
59910343
AJ
45992012-05-17 Andreas Jaeger <aj@suse.de>
4600
4601 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4602 warning.
4603
2e4c1e9e
L
46042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4607
de7f5ce7
AJ
46082012-05-17 Andreas Jaeger <aj@suse.de>
4609
4610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4611 when it is used.
4612
286abc3d
CM
46132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4614
4615 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4616
477cc68e
L
46172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4618
4619 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4620 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4621
1a0994f5
CD
46222012-05-17 Andreas Jaeger <aj@suse.de>
4623 Carlos O'Donell <carlos_odonell@mentor.com>
4624
4625 [BZ #14059]
4626 * sysdeps/x86_64/multiarch/init-arch.h
4627 (bit_YMM_Usable): Rename to...
4628 (bit_AVX_Usable): ... this.
4629 (bit_FMA4_Usable): New macro.
4630 (bit_XMM_state): New macro.
4631 (bit_YMM_state): New macro.
4632 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4633 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4634 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4635 (CPUID_OSXSAVE): New macro.
4636 (CPUID_AVX): New macro.
4637 (CPUID_FMA4): New macro.
4638 (index_YMM_Usable): Rename to...
4639 (index_AVX_Usable): ... this.
4640 (HAS_AVX): Use HAS_ARCH_FEATURE.
4641 (HAS_FMA4): Likewise.
4642 (HAS_YMM_USABLE): Remove.
4643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4644 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4645 are present.
4646 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4647 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4648 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4649 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4650 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4651
0af797de
CM
46522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4653
4654 * math/libm-test.c: Support platforms without multiple rounding modes.
4655 * math/bug-nextafter.c: Support platforms without FP exceptions.
4656 * math/bug-nexttoward.c: Likewise.
4657 * math/test-fenv.c: Likewise.
4658 * math/test-misc.c: Likewise.
4659 * stdlib/bug-getcontext.c: Likewise.
4660
e39745ff
AJ
46612012-05-17 Andreas Jaeger <aj@suse.de>
4662
4663 * manual/examples/search.c (critter_cmp): Change signature to
4664 avoid warnings.
4665 * manual/string.texi (Collation Functions): Likewise.
4666
48970aba
L
46672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4668
4669 * bits/types.h: Fold copyright years.
4670 * bits/typesizes.h: Likewise.
4671 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4675 * time/time.h: Likewise.
4676
bedee953
PP
46772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4678
4679 [BZ #208]
4680 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4681 in instead of returning them. Return void.
4682 (__libc_mallinfo): Accumulate over all arenas.
4683 (__malloc_stats): Adjust for change in int_mallinfo interface.
4684
61653dfb
RM
46852012-05-16 Roland McGrath <roland@hack.frob.com>
4686
30b99d79
RM
4687 [BZ #10375]
4688 * configure.in (NM): Add AC_CHECK_TOOL for it.
4689 (libc_extra_cflags): New substituted variable.
4690 Check for -fstack-protector being used implicitly.
4691 * configure: Regenerated.
4692 * config.make.in (config-extra-cflags): New variable,
4693 gets @libc_extra_cflags@.
4694 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4695
61653dfb
RM
4696 [BZ #10375]
4697 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4698 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4699 * configure: Regenerated.
4700 * config.make.in (CPPUNDEFS): New substituted variable.
4701 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4702 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4703 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4704
661768bb
L
47052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4706
4707 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4708 (mq_attr): Use __syscall_slong_t.
4709
d4261567
L
47102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4711
4712 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4713 Check __x86_64__ instead of __WORDSIZE.
4714 (_STAT_VER_LINUX): Likewise.
4715 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4716 __syscall_ulong_t and __syscall_slong_t.
4717 (stat64): Likewise.
4718
cf3ff365
L
47192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4720
4721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4722
76cf3e4d
L
47232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4724
4725 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4726
a637753a
L
47272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4728
4729 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4730 __syscall_ulong_t.
4731
d5e05119
L
4732 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4733 include <bits/wordsize.h>. Check __x86_64__ instead of
4734 __WORDSIZE.
4735 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4736 defined.
4737 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4738
f62ee380
L
4739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4740 include <bits/wordsize.h>. Check __x86_64__ instead of
4741 __WORDSIZE.
4742 (user_regs_struct): Use "__extension__ unsigned long long"
4743 instead of "unsigned long" if __x86_64__ is defined.
4744 (user): Likewise. Pad after pointer field if __ILP32__ is
4745 defined.
4746
4e124ced
JM
47472012-05-16 Joseph Myers <joseph@codesourcery.com>
4748
6a3951a0
JM
4749 * configure.in (makeinfo): Require version 4.5 or later. Allow
4750 versions 5 to 9.
4751 * configure: Regenerated.
4752 * manual/install.texi (texinfo): Increase version requirement to
4753 4.5 or later.
4754 * INSTALL: Regenerated.
4755
4e124ced
JM
4756 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4757
953ca31a
L
47582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4759
4760 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4761
617aca05
L
4762 * sysdeps/x86_64/x32/ffs.c: New file.
4763
5762f7ae
L
4764 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4765 __syscall_ulong_t.
4766 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4767 defined. Use __syscall_ulong_t.
4768 (shminfo): Use __syscall_ulong_t.
4769 (shm_info): Likewise.
4770
a26b6856
L
4771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4772 __syscall_ulong_t.
4773
cb2b9ef7
L
4774 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4775 <bits/wordsize.h>.
4776 (msgqnum_t): Use __syscall_ulong_t.
4777 (msglen_t): Likewise.
4778 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4779 __syscall_ulong_t.
4780
34683bb0
L
4781 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4783
84a68786
L
4784 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4785
48baa5f1
L
4786 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4787 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4788
180be88b
L
4789 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4790 __syscall_slong_t.
4791
5e90c8ad
L
4792 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4793 include <bits/wordsize.h>. Check __x86_64__ instead of
4794 __WORDSIZE.
4795
23dfb58b
L
4796 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4797 "unsigned long long int" if __x86_64__ is defined.
4798 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4799
ce5d54b0
L
4800 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4801 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4802 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4803
13dc9eac
L
4804 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4805 <stdint.h>.
4806 (GET_PC): Cast to uintptr_t first.
4807 (GET_FRAME): Likewise.
4808 (GET_STACK): Likewise.
4809
a7895d15
L
4810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4821 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4825 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4826 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4828 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4839
656416c9
AS
48402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4841
5bd66283
AS
4842 * Makerules (+depfiles): Also collect depfiles from .oS in
4843 $(extra-objs).
4844 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4845 .oS, $(libnldbl-routines)).
4846
656416c9
AS
4847 * Makerules (native-compile-mkdep-flags): Define.
4848 * sunrpc/Makefile (extra-objs): Add $(addprefix
4849 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4850 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4851 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4852 calling $(make-target-directory).
4853
a46f2169
L
48542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * bits/types.h (__snseconds_t): Removed.
4857 * time/time.h (struct timespec): Replace __snseconds_t with
4858 __syscall_slong_t.
4859 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4860 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4861 Likewise.
4862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4863 (__SNSECONDS_T_TYPE): Likewise.
4864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4865 (__SNSECONDS_T_TYPE): Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4867 (__SNSECONDS_T_TYPE): Likewise.
4868
6af6528b
L
48692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4870
4871 * sysdeps/mach/hurd/bits/typesizes.h
4872 (__SYSCALL_SLONG_TYPE): New macro.
4873 (__SYSCALL_ULONG_TYPE): Likewise.
4874
de986b56
L
48752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4876
4877 * bits/types.h (__syscall_slong_t): New type.
4878 (__syscall_ulong_t): Likewise.
4879
4880 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4881 (__SYSCALL_ULONG_TYPE): Likewise.
4882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4883 (__SYSCALL_SLONG_TYPE): Likewise.
4884 (__SYSCALL_ULONG_TYPE): Likewise.
4885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4886 (__SYSCALL_SLONG_TYPE): Likewise.
4887 (__SYSCALL_ULONG_TYPE): Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4889 (__SYSCALL_SLONG_TYPE): Likewise.
4890 (__SYSCALL_ULONG_TYPE): Likewise.
4891
85736dc7
L
48922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4895 Add sigaltstack-offsets.sym.
4896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4897 <sigaltstack-offsets.h>.
4898 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4899 longjmp_msg pointer.
4900 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4901 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4902 signal stack.
4903 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4904
cc03b296
JM
49052012-05-15 Joseph Myers <joseph@codesourcery.com>
4906
a9538892
JM
4907 * elf/stackguard-macros.h: Remove file.
4908 * sysdeps/generic/stackguard-macros.h: New file.
4909 * sysdeps/i386/stackguard-macros.h: Likewise.
4910 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4911 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4912 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4913 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4914 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4915 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4916 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4917 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4918 <elf/stackguard-macros.h>.
4919
cc03b296
JM
4920 [BZ #14109]
4921 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4922 __aligned__ in attribute.
4923 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4924 (gregset_t): Likewise.
4925
93171016
L
49262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4927
4928 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4929 * sysdeps/x86_64/64/Implies-after: Here. New file.
4930 * sysdeps/x86_64/x32/Implies-after: New file.
4931
d86813a0
L
49322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4935 and access return value for _dl_profile_fixup. Use R10_LP to
4936 load frame size.
4937
2953ec75
L
49382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4941
3b550e9e
L
49422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4943
4944 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4945 * sysdeps/x86_64/x32/sysdep.h: New file.
4946
eda41706
L
49472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4948
4949 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4950 * sysdeps/x86_64/setjmp.S: Likewise.
4951
9ea01d93
AZ
49522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4953
4954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4956 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4958 remove unused global constant.
4959
02a91938
CM
49602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4961
4962 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4963 include of <not-cancel.h>.
4964
6540185f
RM
49652012-05-15 Roland McGrath <roland@hack.frob.com>
4966
4967 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4968
509072a0
AJ
49692012-05-15 Jeff Law <law@redhat.com>
4970 Andreas Jaeger <aj@suse.de>
4971
4972 [BZ #13594]
4973 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4974 out from...
4975 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4976 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4977 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4978 code changing __hst_map_handle.map.
4979
ba75122d
RM
49802012-05-15 Roland McGrath <roland@hack.frob.com>
4981
4982 * configure.in (sysnames): Look for Implies-before and Implies-after
4983 files.
4984 * configure: Regenerated.
4985
890d8bd8
L
49862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4989 8-byte data alignment with LP_SIZE alignment.
4990
f6ee6623
L
49912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4992
4993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4994 into R10_LP.
4995
ea2626f6
L
49962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4999
085f715e
L
50002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5001
5002 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5005 Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5007
be8498fc
L
50082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5009
5010 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5011 (stackinfo_sub_sp): Likewise.
5012
70bc83b9
L
50132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5014
5015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5016 RAX_LP.
5017
9bc0b730
L
50182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5019
5020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5021 into R*_LP.
5022
6d2850e7
L
50232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5024
5025 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5026 sizes into R*_LP.
5027
3cb84561
L
50282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5029
5030 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5031
54e2ed81
L
50322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5033
5034 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5035 into R11_LP and load __x86_64_shared_cache_size_half into
5036 R8_LP.
5037
8a17f349
L
50382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5041 R8_LP.
5042
777b1eea
AZ
50432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044
5045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5046 logb for POWER7.
5047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5048 logbf for POWER7.
5049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5050 logbl for POWER7.
5051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5052 powerpc32/power7/fpu/s_logb.c via #include.
5053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5054 powerpc32/power7/fpu/s_logbf.c via #include.
5055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5056 powerpc32/power7/fpu/s_logbl.c via #include.
5057
d20d4ac2
JM
50582012-05-15 Joseph Myers <joseph@codesourcery.com>
5059
5060 * README.libm: Remove file.
5061
6cdef1ab
L
50622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5065 count for x32. Use R*_LP and omit operand-size suffix.
5066
0b254d8f
L
50672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5068
5069 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5070 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5071 * sysdeps/x86_64/x32/shlib-versions: New file.
5072
ceb809dc
RM
50732012-05-14 Roland McGrath <roland@hack.frob.com>
5074
5075 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5076 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5077 Use _dl_fatal_printf instead.
5078
37f1abd4
JM
50792012-05-14 Joseph Myers <joseph@codesourcery.com>
5080
5081 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5082 set if not set by the user. Do not allow for being unset.
5083 * sysdeps/unix/sysv/linux/configure: Regenerated.
5084
11de3a33
L
50852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5086
5087 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5088 the `q' suffix from lea and replace .quad with ASM_ADDR.
5089
e02f153a
L
50902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5091
5092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5093 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5094 instead of $17.
5095 (PTR_DEMANGLE): Likewise.
5096
520ae0fd
L
50972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5098
5099 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5100 (LP_OP): Likewise.
5101 (ASM_ADDR): Likewise.
5102 (RAX_LP): Likewise.
5103 (RBP_LP): Likewise.
5104 (RBX_LP): Likewise.
5105 (RCX_LP): Likewise.
5106 (RDI_LP): Likewise.
5107 (RSI_LP): Likewise.
5108 (RSP_LP): Likewise.
5109 (R8_LP): Likewise.
5110 (R9_LP): Likewise.
5111 (R10_LP): Likewise.
5112 (R10_LP): Likewise.
5113 (R11_LP): Likewise.
5114 (R12_LP): Likewise.
5115 (R13_LP): Likewise.
5116 (R14_LP): Likewise.
5117 (R15_LP): Likewise.
5118
b985be81
L
51192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 * sysdeps/x86_64/x32/dl-machine.h: New file.
5122
6a4888ff
AJ
51232012-05-14 Andreas Jaeger <aj@suse.de>
5124
5125 * manual/Makefile (subdir): Remove export of subdir.
5126 (all): Remove target.
5127 (.PHONY): Remove all from list.
5128 (mkinstalldirs): Remove.
5129 (.PHONY): Remove installdirs from list.
5130 ($(inst_infodir)/libc.info): Use make-target-directory.
5131 (installdirs): Remove.
5132 (subdir_%): Remove.
5133 (glibc-targets): Remove.
5134 (lib): Remove.
5135 (stubs): Remove.
5136 ($(objpfx)stubs ../po/manual.pot): Remove.
5137 ($(objpfx)stamp%): Remove.
5138 (make-target-directory): Remove.
5139 (subdir_install): Remove.
5140 (routines): Remove.
5141 (aux): Remove.
5142 (sources): Remove.
5143 (objects): Remove.
5144 (headers): Remove.
5145
5146 [BZ #13750]
5147 * manual/.gitignore: Remove, it's not needed anymore.
5148 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5149 all files in it.
5150 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5151 directory.
5152 (texis): Renamed to $(objpfx)texis.
5153 (texis-path): New, contains path to generated files.
5154 (chapters.%): Use texis-path for complete path, add extra argument
5155 libc-texinfo.sh.
5156 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5157 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5158 (summary,texi, stamp-summary): Use complete path of
5159 files. Generate files in build dir.
5160 (dir-add.texi): Build in build dir.
5161 (libm-err.texi,stamp-libm-err): Likewise.
5162 (version.texi, stamp-version): Likewise.
5163 (.%c.texi): Likewise.
5164 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5165 (mostlyclean): Remove target.
5166 (realclean): Remove target.
5167 (generated): Add new variable with contents from mostlyclean and
5168 realclean, remove entries duplicated in common-mostlyclean, add
5169 stamp-libm-err and stamp-version.
5170 (generated-dirs): Add libc directory.
5171 ($(inst_infodir)/libc.info): Install files from build dir.
5172
5173 * manual/install.texi (Configuring and compiling): Adjust since
5174 the info files are not part of the tar ball anymore.
5175
7ac77294
AJ
51762012-05-14 Andreas Jaeger <aj@suse.de>
5177
5178 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5179 variable.
5180
ffb7875d
JM
51812012-05-14 Joseph Myers <joseph@codesourcery.com>
5182
5183 [BZ #13717]
5184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5185 to 2.2.0 where earlier.
5186 * sysdeps/unix/sysv/linux/configure: Regenerated.
5187 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5188 Remove conditional code.
5189 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5190 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5191 Remove conditional code.
5192 [!__NR_lchown]: Likewise.
5193 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5194 [__NR_lchown]: Likewise.
5195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5196 comment referencing __ASSUME_LCHOWN_SYSCALL.
5197 * sysdeps/unix/sysv/linux/i386/sigaction.c
5198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5200 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5201 Remove conditional code.
5202 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5203 (__protocol_available): Remove #if 0 code.
5204 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5205 conditional code.
5206 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5207 * sysdeps/unix/sysv/linux/kernel-features.h
5208 (__ASSUME_GETCWD_SYSCALL): Don't define.
5209 (__ASSUME_REALTIME_SIGNALS): Likewise.
5210 (__ASSUME_PREAD_SYSCALL): Likewise.
5211 (__ASSUME_PWRITE_SYSCALL): Likewise.
5212 (__ASSUME_POLL_SYSCALL): Likewise.
5213 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5214 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5215 non-SPARC.
5216 (__ASSUME_SIOCGIFNAME): Don't define.
5217 (__ASSUME_MSG_NOSIGNAL): Likewise.
5218 (__ASSUME_SENDFILE): Define unconditionally.
5219 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5220 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5221 conditional code.
5222 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5223 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5224 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5225 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5226 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5227 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5228 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5245 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5251 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5253 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5254 Remove conditional code.
5255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5256 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5257 Remove conditional code.
5258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5259 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5260 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5261 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5262 Remove conditional code.
5263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5264 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5265 Remove conditional code.
5266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5267 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5268 Remove conditional code.
5269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5270 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5271 Remove conditional code.
5272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5273 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5274 Remove conditional code.
5275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5276 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5279 * sysdeps/unix/sysv/linux/sigaction.c
5280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5282 * sysdeps/unix/sysv/linux/sigpending.c
5283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5285 * sysdeps/unix/sysv/linux/sigprocmask.c
5286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5288 * sysdeps/unix/sysv/linux/sigsuspend.c
5289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5291 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5292 (__libc_missing_rt_sigs): Remove.
5293 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5294 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5295 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5296 Remove conditional code.
5297 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5298 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5299 return 1.
5300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5301 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5303 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5304
1bfb7291
AJ
53052012-05-14 Andreas Jaeger <aj@suse.de>
5306
caae5a81
AJ
5307 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5308 it's not used in glibc.
5309 (__coshm1): Likewise.
5310 (__acosh1p): Likewise.
5311 (__sgn): Likewise.
5312
1bfb7291
AJ
5313 * manual/string.texi (Copying and Concatenation): Add missing
5314 variable in concat example.
5315 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5316
c044d724
L
53172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5318
144c5467 5319 [BZ #14103]
c044d724
L
5320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5321 __builtin_clzl with __builtin_clzll.
5322
2523c62b
L
53232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5324
5325 [BZ #14104]
5326 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5327 libc_freeres_ptr.
5328
d7bb4c42
LD
53292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5330
5331 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5332 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5333 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5335
9dc4e1fb
MF
53362012-05-14 Mike Frysinger <vapier@gentoo.org>
5337
5338 * NEWS: Update ia64 info.
5339
c7df0112
AS
53402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5341
5342 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5343 used as bcopy.
5344
dc70356c
TS
53452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5346
5347 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5348 * sysdeps/unix/syscalls.list (dup3): Likewise.
5349 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5350 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5351
9fb1a21f
L
53522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5353
5354 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5355 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5356
4822a2a5
L
53572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5360 thread pointer.
5361 (TLS_IE): Use mov/add instead of movq/addq to load thread
5362 pointer.
5363 (TLS_GD_PREFIX): New.
5364 (TLS_GD): Use it.
5365
842b81d6
DM
53662012-05-11 David S. Miller <davem@davemloft.net>
5367
5368 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5369 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5370 (_FPU_SETCW): Likewise.
5371
1cf463cd
L
53722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5373
5374 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5375 is 32-byte aligned.
5376
60cc4a18
AS
53772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5378
5379 [BZ #11837]
5380 * iconvdata/gb18030.c: Update tables.
5381 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5382 characters specially.
5383 (BODY for TO_LOOP): Add encoding of missing ranges.
5384
febb44a4
TS
53852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5386
5387 [BZ #13673]
5388 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5389 * sysdeps/mach/hurd/dup3.c: Likewise.
5390 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5391 * sysdeps/powerpc/memmove.c:: Likewise.
5392
0a10fb9e
L
53932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5394
5395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5396 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5397
df8a552f
L
53982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 * elf/elf.h (R_X86_64_RELATIVE64): New.
5401 (R_X86_64_NUM): Updated.
5402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5403 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5404 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5405 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5406 tst-quad1pie tst-quad2pie
5407 (modules-names): Add tst-quadmod1 tst-quadmod2.
5408 ($(objpfx)tst-quad1): New dependency.
5409 ($(objpfx)tst-quad2): Likewise.
5410 ($(objpfx)tst-quad1pie): Likewise.
5411 ($(objpfx)tst-quad2pie): Likewise.
5412 * sysdeps/x86_64/tst-quad1.c: New file.
5413 * sysdeps/x86_64/tst-quad1pie.c: New file.
5414 * sysdeps/x86_64/tst-quad2.c: Likewise.
5415 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5416 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5417 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5418 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5419 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5420
f34d6f84
ST
54212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5422
f42d41d1
ST
5423 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5424 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5425 * streams/stropts.h (t_scalar_t): Define type.
5426
3c3571fc
ST
5427 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5428 (_PATH_PRESERVE): Set to "/var/lib".
5429 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5430
61f06bd3
ST
5431 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5432 instead of int.
5433
918d4d71
ST
5434 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5435 if __dir_mkfile succeeded.
5436
f34d6f84
ST
5437 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5438 checking for _hurd_dtablesize. Unlock it right after having
5439 finished _hurd_dtable allocation.
5440
10589b4a
TS
54412012-05-10 Thomas Schwinge <thomas@schwinge.name>
5442
674cdbc7
TS
5443 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5444 * sysdeps/mach/hurd/configure: Regenerated.
5445 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5446 special-casing to...
5447 * sysdeps/gnu/configure.in: ... this new file.
5448 * sysdeps/unix/sysv/linux/configure: Regenerated.
5449 * sysdeps/gnu/configure: New generated file.
5450
8e41b99f
TS
5451 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5452 for Linux: use nsec instead of usec, as well as:
5453 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5454 members of type struct timespec.
5455 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5456 New macros.
5457 (struct stat64): Likewise.
5458 (_STATBUF_ST_NSEC): New macro.
5459 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5460
10589b4a
TS
5461 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5462 __strtoul_internal rather than strtoul.
5463
63643c85
PT
54642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5465
5466 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5467 and reject them.
5468
3faebe6a
ST
54692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5470
5471 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5472 which preserves existing values.
5473 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5474
c6474b07
PT
54752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5476
5477 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5478 TIMEOUT values. Return EINVAL for NFDS values either negative or
5479 greater than FD_SETSIZE.
5480
1043890b
ST
54812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5482
5483 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5484 allocated, call __vm_protect to finish enabling the existing space, and
5485 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5486 allocate the remainder.
5487
37ed8b9b
PT
54882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5489
5490 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5491 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5492
db653660
ST
54932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5494
37ed8b9b
PT
5495 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5496 sysdeps/mach/hurd/readlink.c.
b29d4053 5497
db653660
ST
5498 * posix/tst-sysconf.c (posix_options): Only use
5499 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5500 _POSIX_SYNCHRONIZED_IO when they are defined
5501 * sysdeps/mach/hurd/bits/posix_opt.h:
5502 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5503 (_XOPEN_REALTIME): Undefine macro.
5504 (_XOPEN_REALTIME_THREADS): Undefine macro.
5505 (_XOPEN_SHM): Undefine macro.
5506 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5507 macro to -1.
5508 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5509 macro to -1.
5510 (_POSIX_ASYNC_IO): Undefine macro.
5511 (_POSIX_PRIORITIZED_IO): Undefine macro.
5512 (_POSIX_SPIN_LOCKS): Define macro to -1.
5513
ee16e894
ST
5514 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5515 SA_NODEFER, SA_RESETHAND.
5516 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5517 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5518 F_DUPFD_CLOEXEC.
5519
6103ae3b
TS
55202012-05-10 Thomas Schwinge <thomas@schwinge.name>
5521
5522 * elf/Makefile (pldd-modules): Define unconditionally.
5523
80b4e5f3
TS
55242012-05-10 Thomas Schwinge <thomas@schwinge.name>
5525
5526 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5527
edadcbd6
ST
55282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5529
5530 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5531 Return ENOENT when name is empty.
5532 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5533
80694780
TS
55342012-05-10 Thomas Schwinge <thomas@schwinge.name>
5535
1792c087
TS
5536 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5537
80694780
TS
5538 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5539
6b645f0d
ST
55402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541
80694780
TS
5542 Fix mlock in all cases except non-readable pages.
5543 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5544 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5545
6b645f0d
ST
5546 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5547 (__mkdir): When path is `/', just fail with EEXIST.
5548 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5549
e468f8a3
TS
55502012-05-10 Thomas Schwinge <thomas@schwinge.name>
5551
5552 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5553 <sys/uio.h> (for writev).
5554 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5555 and <sys/param.h> (for MIN).
5556
a4186cff
PT
55572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5558
5559 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5560 REQUESTED_TIME. Properly set the remaining time and return EINTR
5561 if interrupted.
5562
510bbf14
TS
55632012-05-10 Thomas Schwinge <thomas@schwinge.name>
5564
5565 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5566 Depend on against $(link-rpcuserlibs).
5567
5d5722e8
ST
55682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5569
a4186cff
PT
5570 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5571 (__libc_stack_end): Do not use attribute_relro.
5572 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5573 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5574 to libthread-provided value.
a4186cff
PT
5575 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5576 attribute_relro.
5d5722e8 5577
37233df9
TS
55782012-05-10 Thomas Schwinge <thomas@schwinge.name>
5579
be971a2b
TS
5580 [BZ #3748]
5581 * bits/libc-lock.h (__libc_once_get): New macro.
5582 * sysdeps/mach/bits/libc-lock.h: Likewise.
5583 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5585 instead of using implementation details.
5586
37233df9
TS
5587 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5588 * libio/freopen.c: Likewise.
5589 * libio/freopen64.c: Likewise.
5590 * misc/syslog.c: Likewise.
5591 * nscd/connections.c: Likewise.
5592 * nscd/netgroupcache.c: Likewise.
5593 * sysdeps/posix/getcwd.c: Likewise.
5594
38de94a5
RM
55952012-05-10 Roland McGrath <roland@hack.frob.com>
5596
5597 * math/w_ilogbf.c: Add #include <limits.h>.
5598
67530489
ST
55992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600
a4186cff 5601 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5602 path instead of returning without unlocking.
5603
67530489
ST
5604 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5605 immediate-write ioctls.
5606 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5607
5aa3a74a
TS
56082012-05-10 Thomas Schwinge <thomas@schwinge.name>
5609
18bad2ae
TS
5610 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5611 __builtin_frame_address instead of making assumptions about the
5612 location of the return address relative to DATA. Force early load of
5613 the return address.
5614 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5615 __builtin_frame_address.
5616
5aa3a74a
TS
5617 dup3 for GNU Hurd.
5618 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5619 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5620 implement dup3 and do some further code clean-ups.
5621 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5622 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5623
ecd0de9a
ST
56242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5625
cd9fa985
ST
5626 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5627
a4186cff
PT
5628 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5629 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5630 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5631 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5632 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5633 d->port.lock.
802ca5a5 5634
a4186cff
PT
5635 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5636 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5637 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5638
bcf55240
TS
56392012-05-10 Thomas Schwinge <thomas@schwinge.name>
5640
6960eb42
TS
5641 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5642 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5643 definitions.
5644
eb43375f
TS
5645 accept4 for GNU Hurd.
5646 * include/sys/socket.h (__libc_accept4): New prototype.
5647 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5648 to implement __libc_accept4.
5649 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5650 __libc_accept4.
5651 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5652
bcf55240
TS
5653 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5654 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5655 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5656 signal-defines.sym.
5657
6178c55b
ST
56582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5659
a4186cff 5660 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5661
6f080c2f
TS
56622012-05-10 Thomas Schwinge <thomas@schwinge.name>
5663
5664 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5665 assertion on O_CLOEXEC flag.
5666 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5667 * hurd/intern-fd.c: Likewise.
5668 * hurd/port2fd.c: Likewise.
5669
bcfe3a54
ST
56702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5671
5672 [BZ #3906]
5673 * bits/in.h (IPV6_PKTINFO): Define new macro.
5674 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5675
89c9aa49
AZ
56762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 [BZ #13954]
5679 [BZ #13955]
5680 [BZ #13956]
5681 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5683 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5686 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5687 * math/libm-test.inc (logb_test) : Additional logb tests.
5688
021db4be
AJ
56892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5690 Andreas Jaeger <aj@suse.de>
5691
5692 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5693 * configure: Regenerated.
5694 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5695 * config.make.in (link-obsolete-rpc): New substituted variable.
5696 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5697 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5698 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5699 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5700 so that libc.a contains the symbols.
5701 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5702 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5703 * sunrpc/auth_none.c: Likewise.
5704 * sunrpc/auth_unix.c: Likewise.
5705 * sunrpc/authdes_prot.c: Likewise.
5706 * sunrpc/authuxprot.c: Likewise.
5707 * sunrpc/clnt_gen.c: Likewise.
5708 * sunrpc/clnt_perr.c: Likewise.
5709 * sunrpc/clnt_raw.c: Likewise.
5710 * sunrpc/clnt_simp.c: Likewise.
5711 * sunrpc/clnt_tcp.c: Likewise.
5712 * sunrpc/clnt_udp.c: Likewise.
5713 * sunrpc/clnt_unix.c: Likewise.
5714 * sunrpc/des_crypt.c: Likewise.
5715 * sunrpc/des_soft.c: Likewise.
5716 * sunrpc/get_myaddr.c: Likewise.
5717 * sunrpc/key_call.c: Likewise.
5718 * sunrpc/key_prot.c: Likewise.
5719 * sunrpc/netname.c: Likewise.
5720 * sunrpc/pm_getmaps.c: Likewise.
5721 * sunrpc/pm_getport.c: Likewise.
5722 * sunrpc/pmap_clnt.c: Likewise.
5723 * sunrpc/pmap_prot.c: Likewise.
5724 * sunrpc/pmap_prot2.c: Likewise.
5725 * sunrpc/pmap_rmt.c: Likewise.
5726 * sunrpc/publickey.c: Likewise.
5727 * sunrpc/rpc_cmsg.c: Likewise.
5728 * sunrpc/rpc_common.c: Likewise.
5729 * sunrpc/rpc_dtable.c: Likewise.
5730 * sunrpc/rpc_prot.c: Likewise.
5731 * sunrpc/rpc_thread.c: Likewise.
5732 * sunrpc/rtime.c: Likewise.
5733 * sunrpc/svc.c: Likewise.
5734 * sunrpc/svc_auth.c: Likewise.
5735 * sunrpc/svc_raw.c: Likewise.
5736 * sunrpc/svc_run.c: Likewise.
5737 * sunrpc/svc_tcp.c: Likewise.
5738 * sunrpc/svc_udp.c: Likewise.
5739 * sunrpc/svc_unix.c: Likewise.
5740 * sunrpc/svcauth_des.c: Likewise.
5741 * sunrpc/xcrypt.c: Likewise.
5742 * sunrpc/xdr.c: Likewise.
5743 * sunrpc/xdr_array.c: Likewise.
5744 * sunrpc/xdr_float.c: Likewise.
5745 * sunrpc/xdr_intXX_t.c: Likewise.
5746 * sunrpc/xdr_mem.c: Likewise.
5747 * sunrpc/xdr_rec.c: Likewise.
5748 * sunrpc/xdr_ref.c: Likewise.
5749 * sunrpc/xdr_sizeof.c: Likewise.
5750 * sunrpc/xdr_stdio.c: Likewise.
5751
b5c086a2
RM
57522012-05-10 Roland McGrath <roland@hack.frob.com>
5753
5754 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5755 change. Update copyright years.
5756
6d74dd09
JM
57572012-05-10 Joseph Myers <joseph@codesourcery.com>
5758
5759 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5760
28e72501
MK
57612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5762 Joseph Myers <joseph@codesourcery.com>
5763 Paul Pluzhnikov <ppluzhnikov@google.com>
5764
5765 [BZ #14012]
5766 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5767 requiring rpcgen.
5768 [cross-compiling] (extra-libs): Likewise.
5769 [cross-compiling] (extra-libs-others): Likewise.
5770 [cross-compiling] (librpcsvc-routines): Likewise.
5771 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5772 [cross-compiling] (omit-deps): Likewise.
5773 (sunrpc-CPPFLAGS): New variable.
5774 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5775 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5776 (cross-rpcgen-objs): New variable.
5777 (extra-objs): Append $(cross-rpcgen-objs).
5778 ($(cross-rpcgen-objs)): New rule.
5779 ($(objpfx)cross-rpcgen): Likewise.
5780 (rpcgen-cmd): Define to use $(built-program-file). Expand
5781 comment.
5782 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5783 ($(objpfx)x%.stmp): Likewise.
5784 * sunrpc/proto.h [IS_IN_build] (_): Define.
5785 [IS_IN_build] (_libc_intl_domainname): Likewise.
5786
c8c59454
L
57872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5790 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5791 and R_X86_64_TPOFF64.
5792
6f27cd16
JM
57932012-05-10 Joseph Myers <joseph@codesourcery.com>
5794
5795 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5796 sysdeps/unix/sysv/syscalls.list.
5797 (stime): Likewise.
5798 (utime): Likewise.
5799 * sysdeps/unix/sysv/syscalls.list: Remove file.
5800
02467e1c
PE
58012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5802
5803 [BZ #3440]
5804 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5805 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5806 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5807 (__LC_IDENTIFICATION): Make these macros useful in #if
5808 expressions, as required by C99.
5809
da392631
AS
58102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5811
5812 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5813 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5814 after this.
5815
8115f29b
L
58162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 * stdlib/longlong.h: Updated from GCC.
5819
bdd74070
AJ
58202012-05-09 Andreas Jaeger <aj@suse.de>
5821
edfe0dbe
AJ
5822 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5823 default is first entry.
5824 (run_mode): Set type.
5825 (main): Remove informal message about syslog.
5826 (options): Fix typo.
5827
bcfe3a54
ST
5828 [BZ #14053]
5829 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5830 to asm.
bcfe3a54
ST
5831 (lrint): Likewise.
5832 (llrintf): Likewise.
5833 (llrint): Likewise.
5834 (rint): Likewise.
5835 (rintf): Likewise.
5836 (nearbyint): Likewise.
5837 (nearbyintf): Likewise.
bdd74070 5838
91d8d69e
AJ
58392012-05-09 Andreas Jaeger <aj@suse.de>
5840 Pedro Alves <palves@redhat.com>
5841
5842 * nscd/nscd.c (run_mode): Use enum.
5843 (main): Cleanup coding style issue.
5844
bb90b80b
AJ
58452012-05-09 Alexandre Oliva <aoliva@redhat.com>
5846 Andreas Jaeger <aj@suse.de>
5847
bcfe3a54
ST
5848 * nscd/nscd.c (go_background): Replaced with...
5849 (run_mode): ... this.
bb90b80b 5850 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5851 (options): Add -F --foreground.
5852 (main): Implement it.
5853 (parse_opt): Parse it.
bb90b80b 5854
1a4b75a1
AJ
58552012-05-09 Andreas Jaeger <aj@suse.de>
5856
5857 [BZ #14083]
5858 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5859 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5860 -Wconversion warning.
5861 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5862 Likewise.
5863
b1cc2472
JM
58642012-05-09 Joseph Myers <joseph@codesourcery.com>
5865
5866 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5867 == 0.
5868 (LC_ALL): Use macro-int-constant.
5869 (LC_COLLATE): Likewise.
5870 (LC_CTYPE): Likewise.
5871 (LC_MESSAGES): Likewise.
5872 (LC_MONETARY): Likewise.
5873 (LC_NUMERIC): Likewise.
5874 (LC_TIME): Likewise.
5875 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5876 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5878 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5879 Specify type.
5880 [C99-based standards] (float_t): Expect type.
5881 [C99-based standards] (double_t): Expect type.
5882 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5883 type.
5884 [C99-based standards] (HUGE_VALL): Likewise.
5885 [C99-based standards] (INFINITY): Likewise.
5886 [C99-based standards] (NAN): Likewise.
5887 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5888 [C99-based standards] (FP_NAN): Likewise.
5889 [C99-based standards] (FP_NORMAL): Likewise.
5890 [C99-based standards] (FP_SUBNORMAL): Likewise.
5891 [C99-based standards] (FP_ZERO): Likewise.
5892 [C99-based standards] (FP_FAST_FMA): Use
5893 optional-macro-int-constant. Specify type. Require == 1.
5894 [C99-based standards] (FP_FAST_FMAF): Likewise.
5895 [C99-based standards] (FP_FAST_FMAL): Likewise.
5896 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5897 [C99-based standards] (FP_ILOGBNAN): Likewise.
5898 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5899 Specify type.
5900 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5901 [C99-based standards] (math_errhandling): Specify type.
5902 [ISO99 || ISO11] (signgam): Do not allow.
5903 [non-C99-based standards] (copysignf): Do not allow.
5904 [non-C99-based standards] (exp2f): Likewise.
5905 [non-C99-based standards] (log2f): Likewise.
5906 [non-C99-based standards] (modff): Allow.
5907 [non-C99-based standards] (erff): Do not allow.
5908 [non-C99-based standards] (erfcf): Likewise.
5909 [non-C99-based standards] (gammaf): Likewise.
5910 [non-C99-based standards] (hypotf): Likewise.
5911 [non-C99-based standards] (j0f): Likewise.
5912 [non-C99-based standards] (j1f): Likewise.
5913 [non-C99-based standards] (jnf): Likewise.
5914 [non-C99-based standards] (lgammaf): Likewise.
5915 [non-C99-based standards] (tgammaf): Likewise.
5916 [non-C99-based standards] (y0f): Likewise.
5917 [non-C99-based standards] (y1f): Likewise.
5918 [non-C99-based standards] (ynf): Likewise.
5919 [non-C99-based standards] (isnanf): Likewise.
5920 [non-C99-based standards] (acoshf): Likewise.
5921 [non-C99-based standards] (asinhf): Likewise.
5922 [non-C99-based standards] (atanhf): Likewise.
5923 [non-C99-based standards] (cbrtf): Likewise.
5924 [non-C99-based standards] (expm1f): Likewise.
5925 [non-C99-based standards] (ilogbf): Likewise.
5926 [non-C99-based standards] (log1pf): Likewise.
5927 [non-C99-based standards] (logbf): Likewise.
5928 [non-C99-based standards] (nextafterf): Likewise.
5929 [non-C99-based standards] (remainderf): Likewise.
5930 [non-C99-based standards] (rintf): Likewise.
5931 [non-C99-based standards] (scalbf): Likewise.
5932 [non-C99-based standards] (copysignl): Likewise.
5933 [non-C99-based standards] (exp2l): Likewise.
5934 [non-C99-based standards] (log2l): Likewise.
5935 [non-C99-based standards] (modfl): Allow.
5936 [non-C99-based standards] (erfl): Do not allow.
5937 [non-C99-based standards] (erfcl): Likewise.
5938 [non-C99-based standards] (gammal): Likewise.
5939 [non-C99-based standards] (hypotl): Likewise.
5940 [non-C99-based standards] (j0l): Likewise.
5941 [non-C99-based standards] (j1l): Likewise.
5942 [non-C99-based standards] (jnl): Likewise.
5943 [non-C99-based standards] (lgammal): Likewise.
5944 [non-C99-based standards] (tgammal): Likewise.
5945 [non-C99-based standards] (y0l): Likewise.
5946 [non-C99-based standards] (y1l): Likewise.
5947 [non-C99-based standards] (ynl): Likewise.
5948 [non-C99-based standards] (isnanl): Likewise.
5949 [non-C99-based standards] (acoshl): Likewise.
5950 [non-C99-based standards] (asinhl): Likewise.
5951 [non-C99-based standards] (atanhl): Likewise.
5952 [non-C99-based standards] (cbrtl): Likewise.
5953 [non-C99-based standards] (expm1l): Likewise.
5954 [non-C99-based standards] (ilogbl): Likewise.
5955 [non-C99-based standards] (log1pl): Likewise.
5956 [non-C99-based standards] (logbl): Likewise.
5957 [non-C99-based standards] (nextafterl): Likewise.
5958 [non-C99-based standards] (remainderl): Likewise.
5959 [non-C99-based standards] (rintl): Likewise.
5960 [non-C99-based standards] (scalbl): Likewise.
5961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5962 [non-C99-based standards] (FP_*): Do not allow.
5963 [C99-based standards] (FP_*): Change to
5964 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5965 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5966 allow.
5967 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5968 (SIG_ERR): Likewise.
5969 [X/Open-based standards] (SIG_HOLD): Likewise.
5970 (SIG_IGN): Likewise.
5971 (SIGABRT): Use macro-int-constant. Specify type. Require
5972 positive value.
5973 (SIGFPE): Likewise.
5974 (SIGILL): Likewise.
5975 (SIGINT): Likewise.
5976 (SIGSEGV): Likewise.
5977 (SIGTER): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5981 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5988 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5996 [X/Open-based standards] (SIGTRAP): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6001 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6002 allow.
6003
b9f1922d
IW
60042012-05-08 Ian Wienand <ianw@vmware.com>
6005
6006 [BZ #14080]
6007 * time/tzset.c (__tzset_parse_tz): Update default rules for
6008 daylight time changes in the Energy Policy Act of 2005.
6009
1db86e88
AJ
60102012-05-09 Andreas Jaeger <aj@suse.de>
6011
6012 [BZ #13983]
6013 * elf/ldconfig.c (parse_conf): Change string to make clear that
6014 ldconfig only issued a warning if ld.so.conf does not exist.
6015
dee4a4e3
DM
60162012-05-08 David S. Miller <davem@davemloft.net>
6017
ee0db190
DM
6018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6019 movxtod instead of popping the value on the stack.
6020
dee4a4e3
DM
6021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6022
6a43ec98
CD
60232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6024
6025 * config.h.in: Add HAVE_ARM_PCS_VFP.
6026
05c2c961
RMG
60272012-05-08 Roland Mc Grath <roland@hack.frob.com>
6028
bcfe3a54
ST
6029 [BZ #13979]
6030 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6031 checking but the checks are disabled for any reason.
05c2c961 6032
4b30f61a
L
60332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6034
6035 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6036 and ELF64_R_TYPE with ELFW(R_TYPE).
6037
eee2bc67
JM
60382012-05-08 Joseph Myers <joseph@codesourcery.com>
6039
7ea5391a
JM
6040 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6041 (ulimit): Likewise.
6042
eee2bc67
JM
6043 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6044 (settimeofday): Likewise.
6045
abb66a67
MF
60462012-05-08 Mike Frysinger <vapier@gentoo.org>
6047
6048 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6049 a struct th_u2 inside the union, and move tu_block/tu_code into
6050 a new th_u3 union of tu_block/tu_code inside of that. Move
6051 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6052 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6053 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6054 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6055 (th_stuff): Change to th_u1.tu_stuff.
6056 (th_data): Define.
6057 (th_msg): Change to th_u1.th_u2.tu_data.
6058
7f18b530
DM
60592012-05-07 David S. Miller <davem@davemloft.net>
6060
05760585
DM
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
7f18b530
DM
6063 [BZ #14074]
6064 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6065 (SETUP_PIC_REG): Use it.
6066 (SETUP_PIC_REG_LEAF): Use it.
6067
495fd99f
JM
60682012-05-07 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #13885]
6071 [BZ #13923]
6072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6073 USE_AS_EXPM1L.
6074 (EXPL_FINITE): Likewise.
6075 (FLDLOG): Likewise.
6076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6077 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6078 e_expl.S.
6079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6080 USE_AS_EXPM1L.
6081 (EXPL_FINITE): Likewise.
6082 (FLDLOG): Likewise.
6083 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6084 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6085 e_expl.S.
6086 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6087 test of -max_value argument for long double.
6088 * sysdeps/i386/fpu/libm-test-ulps: Update.
6089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090
6693d694
DM
60912012-05-06 David S. Miller <davem@davemloft.net>
6092
6093 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6094 quad soft-float symbols whose references which are compiler
6095 generated.
6096 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6097
6c23e11c
JM
60982012-05-06 Joseph Myers <joseph@codesourcery.com>
6099
d8b82cad
JM
6100 [BZ #13884]
6101 [BZ #13914]
6102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6103 USE_AS_EXP10L.
6104 (EXPL_FINITE): Likewise.
6105 (FLDLOG): Likewise.
6106 (c0): Likewise.
6107 (c1): Likewise.
6108 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6109 Adjust comments for base varying.
6110 (__expl_finite): Change alias to EXPL_FINITE.
6111 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6112 e_expl.S.
6113 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6114 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6116 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6117 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6118 USE_AS_EXP10L.
6119 (EXPL_FINITE): Likewise.
6120 (FLDLOG): Likewise.
6121 (c0): Likewise.
6122 (c1): Likewise.
6123 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6124 Adjust comments for base varying.
6125 (__expl_finite): Change alias to EXPL_FINITE.
6126 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6127 tests for bugs.
6128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6129
6c23e11c
JM
6130 [BZ #14064]
6131 * math/libm-test.inc (check_float_internal): Correct ulp
6132 calculation for subnormal expected results.
6133
29ba805c
AJ
61342012-05-06 Andreas Jaeger <aj@suse.de>
6135
6136 * Makeconfig (+math-flags): New, set to -frounding-math.
6137 (+cflags): Add +math-flags so that all of glibc gets compiled with
6138 it.
6139
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6141
7b17aeda
JM
61422012-05-05 Joseph Myers <joseph@codesourcery.com>
6143
5779f134
JM
6144 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6145 Disable one test.
6146
41498f4d
JM
6147 [BZ #13787]
6148 [BZ #13922]
6149 [BZ #14036]
6150 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6151 (__ieee754_expl): Allow for and saturate large arguments.
6152 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6153 (u_threshold): Likewise.
6154 (__exp): Call __ieee754_exp before checking for overflow and
6155 underflow.
6156 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6157 (u_threshold): Likewise.
6158 (__expf): Call __ieee754_expf before checking for overflow and
6159 underflow.
6160 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6161 (u_threshold): Likewise.
6162 (__expl): Call __ieee754_expl before checking for overflow and
6163 underflow.
6164 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6165 (__ieee754_expl): Allow for and saturate large arguments.
6166 * math/libm-test.inc (exp_test): Add another test. Do not allow
6167 missing overflow exception on overflow.
6168 (expm1_test): Do not allow missing overflow exception on overflow.
6169
6698b8bf
JM
6170 * sysdeps/i386/fpu/e_expl.c: Move to ...
6171 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6172 rather than using inline asm.
6173 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6174 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6175 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6176
7b17aeda
JM
6177 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6178 (nice): Likewise.
6179 (poll): Likewise.
6180 (signal): Likewise.
6181 (time): Likewise.
6182 (times): Likewise.
6183
f7c85819
JM
61842012-05-04 Joseph Myers <joseph@codesourcery.com>
6185
6186 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6187 sysdeps/unix/common/syscalls.list.
6188 (fchmod): Likewise.
6189 (fchown): Likewise.
6190 (ftruncate): Likewise.
6191 (getrusage): Likewise.
6192 (gettimeofday): Likewise.
6193 (setpgid): Likewise.
6194 (setregid): Likewise.
6195 (setreuid): Likewise.
6196 (sigaction): Likewise.
6197 (truncate): Likewise.
6198 (vhangup): Likewise.
6199 * sysdeps/unix/common/syscalls.list: Remove file.
6200 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6201 * sysdeps/unix/sysv/linux/Implies: Likewise.
6202
336270d0
L
62032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6207 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6208 Moved to ...
6209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6210 Here.
6211 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6212 to ...
6213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6214 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6215 to ...
6216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6217 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6218 to ...
6219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6220 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6221 to ...
6222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6223 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6224 to ...
6225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6226 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6227 to ...
6228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6229 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6230 to ...
6231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6232 Here.
6233 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6234 to ...
6235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6236 Here.
6237 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6238 to ...
6239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6240 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6241 Moved to ...
6242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6243 Here.
6244 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6245 to ...
6246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6247
d128e450
JM
62482012-05-04 Joseph Myers <joseph@codesourcery.com>
6249
fa8ee516
JM
6250 * sysdeps/unix/common/bits/dirent.h: Remove file.
6251 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6252
d128e450
JM
6253 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6254 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6255 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6256 * sysdeps/unix/bsd/isatty.c: Likewise.
6257 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6258 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6259 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6260
ff8faaf0 62612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6262
62881be4 6263 [BZ #13563]
31dc8730
AZ
6264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6265 long double comparison inaccuracies.
6266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6268
6fef930c
AS
62692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6270
6271 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6273
8f203e6c
JM
62742012-05-04 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #14049]
6277 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6278 nonzero digits before rounding a hex value.
6279 * stdlib/tst-strtod.c (tests): Add another test.
6280
5197d9c2
AK
62812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6282
6283 * sysdeps/s390/fpu/libm-test-ulps: Update.
6284
f0c1dedf
AJ
62852012-05-03 Andreas Jaeger <aj@suse.de>
6286
6287 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6288 does not get optimized out.
6289 (malloc_opt_barrier): New.
6290
a65ef2ae 62912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6292 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6293
2b942cb7 6294 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6295 intermediate file deletion.
2b942cb7 6296 (generated): Add .symlist files.
a65ef2ae 6297
54b71e02
JM
62982012-05-03 Joseph Myers <joseph@codesourcery.com>
6299
6300 [BZ #13775]
6301 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6302 Redirect under this condition.
6303 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6304 [__USE_GNU] (__dprintf_chk): Not under this condition.
6305 [__USE_GNU] (__vdprintf_chk): Likewise.
6306 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6307 under this condition.
6308 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6309 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6310 [__USE_XOPEN2K8] (vdprintf): Likewise.
6311 [__USE_GNU] (__dprintf_chk): Not under this condition.
6312 [__USE_GNU] (__vdprintf_chk): Likewise.
6313 [__USE_GNU] (dprintf): Likewise.
6314 [__USE_GNU] (vdprintf): Likewise.
6315
d3dfcc41
RM
63162012-05-03 Roland McGrath <roland@hack.frob.com>
6317
6318 * elf/Makefile (common-generated): Set this instead of generated for
6319 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6320 $(all-built-dso)-derived lists.
6321
7ac30cc5
AJ
63222012-05-03 Andreas Jaeger <aj@suse.de>
6323
0c51e550
AJ
6324 * sysdeps/i386/fpu/libm-test-ulps: Update.
6325
7ac30cc5
AJ
6326 * FAQ: Removed.
6327 * FAQ.in: Likewise.
6328 * scripts/gen-FAQ.pl: Likewise.
6329 * manual/install.texi (Installation): Point to online location of
6330 FAQ.
6331 * Makefile (files-for-dist): Remove FAQ.
6332 (FAQ): Remove.
6333
d4c2917f
AM
63342012-05-02 Allan McRae <allan@archlinux.org>
6335
6336 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6337 (LDFLAGS-reldepmod5.so): Likewise.
6338 (LDFLAGS-reldep6mod1.so): Likewise.
6339 (LDFLAGS-reldep6mod4.so): Likewise.
6340 (LDFLAGS-reldep8mod3.so): Likewise.
6341 (LDFLAGS-unload4mod1.so): Likewise.
6342 (LDFLAGS-unload4mod2.so): Likewise.
6343 (LDFLAGS-tst-initorder): Likewise.
6344 (LDFLAGS-tst-initordera2.so): Likewise.
6345 (LDFLAGS-tst-initordera3.so): Likewise.
6346 (LDFLAGS-tst-initordera4.so): Likewise.
6347 (LDFLAGS-tst-initorderb2.so): Likewise.
6348 (LDFLAGS-noload): Likewise.
6349 (LDFLAGS-next): Likewise.
6350 (LDFLAGS-order2mod1.so): Likewise.
6351 (LDFLAGS-order2mod2.so): Likewise.
6352 (LDFLAGS-tst-initorder2): Likewise.
6353 (LDFLAGS-tst-initorder2a.so): Likewise.
6354 (LDFLAGS-tst-initorder2b.so): Likewise.
6355 (LDFLAGS-tst-initorder2c.so): Likewise.
6356 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6357
d77f993f
DM
63582012-05-02 David S. Miller <davem@davemloft.net>
6359
6360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6361
171a70b4
PP
63622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6363
6364 [BZ #14055]
6365 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6366
0be196ad
AJ
63672012-05-02 Andreas Jaeger <aj@suse.de>
6368
6369 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6370 since we manipulate rounding mode.
6371 (CPPFLAGS-test-idouble.c): Likewise.
6372 (CPPFLAGS-test-ifloat.c): Likewise.
6373 (CFLAGS-test-ldouble.c): Likewise.
6374 (CFLAGS-test-double.c): Likewise.
6375 (CFLAGS-test-float.c): Likewise.
6376 (CFLAGS-test-misc.c): Likewise.
6377 (CFLAGS-test-test-fenv.c): Likewise.
6378
4f9d04aa
AZ
63792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380
2b942cb7
RM
6381 [BZ #2550]
6382 [BZ #2570]
6383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6384 comparisons to determine direction to adjust input.
4f9d04aa 6385
82a79e7d
RM
63862012-05-01 Roland McGrath <roland@hack.frob.com>
6387
f5a01ca9
RM
6388 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6389 output to the target.
6390
90fe4186
RM
6391 * scripts/localplt.awk: New file.
6392 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6393 (check-localplt-CFLAGS): Variable removed.
6394 ($(all-built-dso:=.jmprel)): New static pattern rule.
6395 (generated): Add those targets.
6396 (localplt-built-dso): New variable.
6397 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6398
6399 * elf/check-localplt.c: File removed.
6400
82397ed6
RM
6401 * scripts/check-execstack.awk: New file.
6402 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6403 (check-execstack-CFLAGS): Variable removed.
6404 ($(objpfx)check-execstack.h): Target removed.
6405 ($(objpfx)execstack-default): New target.
6406 (generated): Add that instead of check-execstack.h.
6407 ($(all-built-dso:=.phdr)): New static pattern rule.
6408 (generated): Add those targets.
6409 * elf/check-execstack.c: File removed.
6410
82a79e7d
RM
6411 * scripts/check-textrel.awk: New file.
6412 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6413 (check-textrel-CFLAGS): Variable removed.
6414 (all-built-dso): Use := to define.o
6415 ($(all-built-dso:=.dyn)): New static pattern rule.
6416 (generated): Add those targets.
6417 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6418 * config.make.in (READELF): New substituted variable.
6419 * elf/check-textrel.c: File removed.
6420
62fde54f 64212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6422
615605c9
JM
6423 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6424 allow.
6425 * conform/data/ctype.h-data [C99-based standards] (isblank):
6426 Expect function.
6427 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6428 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6430 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6431 Specify type. Require positive value.
6432 (EILSEQ): Likewise.
6433 (ERANGE): Likewise.
6434 [ISO || POSIX] (EILSEQ): Do not expect.
6435 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6436 Specify type. Require positive value.
6437 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6484 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6485 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6486 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6491 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6492 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6493 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6498 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6499 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6500 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6501 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6502 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6503 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6505 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6506 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6511 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6512 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6513 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6514 Require >= 2.
6515 (FLT_ROUNDS): Expect as macro, not constant.
6516 (FLT_MANT_DIG): Use macro-int-constant.
6517 (DBL_MANT_DIG): Likewise.
6518 (LDBL_MANT_DIG): Likewise.
6519 (FLT_DIG): Likewise.
6520 (DBL_DIG): Likewise.
6521 (LDBL_DIG): Likewise.
6522 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6523 (DBL_MIN_EXP): Likewise.
6524 (LDBL_MIN_EXP): Likewise.
6525 (FLT_MAX_EXP): Use macro-int-constant.
6526 (DBL_MAX_EXP): Likewise.
6527 (LDBL_MAX_EXP): Likewise.
6528 (FLT_MAX_10_EXP): Likewise.
6529 (DBL_MAX_10_EXP): Likewise.
6530 (LDBL_MAX_10_EXP): Likewise.
6531 (FLT_MAX): Use macro-constant.
6532 (DBL_MAX): Likewise.
6533 (LDBL_MAX): Likewise.
6534 (FLT_EPSILON): Use macro-constant. Give upper bound.
6535 (DBL_EPSILON): Likewise.
6536 (LDBL_EPSILON): Likewise.
6537 (FLT_MIN): Likewise.
6538 (DBL_MIN): Likewise.
6539 (LDBL_MIN): Likewise.
6540 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6541 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6542 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6543 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6544 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6545 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6546 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6547 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6548 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6549 [ISO11] (FLT_TRUE_MIN): Likewise.
6550 [ISO11] (LDBL_TRUE_MIN): Likewise.
6551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6552 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6553 (SCHAR_MIN): Use macro-int-constant. Specify type.
6554 (SCHAR_MAX): Likewise.
6555 (UCHAR_MAX): Likewise.
6556 (CHAR_MIN): Likewise.
6557 (CHAR_MAX): Likewise.
6558 (MB_LEN_MAX): Use macro-int-constant.
6559 (SHRT_MIN): Use macro-int-constant. Specify type.
6560 (SHRT_MAX): Likewise.
6561 (USHRT_MAX): Likewise.
6562 (INT_MAX): Likewise.
6563 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6564 bound negative.
6565 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6566 bound with "U".
6567 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6568 bound with "L".
6569 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6570 bound negative. Suffix upper bound with "L".
6571 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6572 bound with "UL".
6573 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6574 Specify type.
6575 [C99-based standards] (LLONG_MAX): Likewise.
6576 [C99-based standards] (ULLONG_MAX): Likewise.
6577 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6578 == 0.
6579 [ISO11] (max_align_t): Require type.
6580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6581
c9140a62
JM
6582 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6583 from $CFLAGS, without defining away __attribute__ calls.
6584 (checknamespace): Use $CFLAGS_namespace.
6585
9af0bf29
JM
6586 * conform/conformtest.pl (@keywords): Only include C99 keywords
6587 for standards based on C99 or C11.
6588
343222a2
JM
6589 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6590 Disable tests.
6591 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6592 UNIX98]: Likewise.
6593
661f8cf0
JM
6594 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6595 usability of symbols in #if.
6596
ee74b9cb
JM
6597 * conform/conformtest.pl: If macro or constant types start
6598 "promoted:", expect the symbol to be of the following type
6599 promoted by the integer promotions.
62fde54f 6600
aafc49b3
JM
6601 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6602 in one place. Also handle "macro-constant".
6603
fefdf574
JM
6604 * conform/conformtest.pl: Only accept expected macro values with
6605 "==". Parse all "macro" lines in one place.
6606 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6607
f2d922fe
JM
6608 * conform/conformtest.pl: Handle braced types on "constant" lines
6609 instead of handling "typed-constant".
6610 * conform/data/signal.h-data: Use "constant" instead of
6611 "typed-constant".
6612
d22956c9
JM
6613 * conform/conformtest.pl: Handle "optional-" at start of lines in
6614 one place rather than duplicating several cases. Handle each
6615 format of "macro" line with initial "optional-".
6616
028e2e38
JM
6617 * conform/conformtest.pl: Only accept expected constant or
6618 optional-constant values with "==". Parse all "constant" lines in
6619 one place. Parse all "optional-constant" lines in one place.
6620 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6621 * conform/data/fmtmsg.h-data: Likewise.
6622 * conform/data/netinet/in.h-data: Likewise.
6623 * conform/data/tar.h-data: Likewise.
6624 * conform/data/limits.h-data: Use "==" form on "constant" and
6625 "optional-constant" lines.
6626
1b8f2850
JM
6627 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6628 Use -std=c99 for XOPEN2K.
6629 (@knownproblems): Remove.
6630 (newtoken): Don't check %isknown.
6631
a05a144b
JM
6632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6633 Do not expect macro.
6634 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6646 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6647 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6664 [XPG3] (acosh): Likewise.
6665 [XPG3] (asinh): Likewise.
6666 [XPG3] (atanh): Likewise.
6667 [XPG3] (cbrt): Likewise.
6668 [XPG3] (expm1): Likewise.
6669 [XPG3] (ilogb): Likewise.
6670 [XPG3] (log1p): Likewise.
6671 [XPG3] (logb): Likewise.
6672 [XPG3] (nextafter): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6675 [XPG3] (remainder): Likewise.
6676 [XPG3] (rint): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6684 [UNIX98 || XOPEN2K] (scalb): Expect.
6685 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6686 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6791 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6794 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6795 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6802 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6803 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6822
73c5ebe3
JM
6823 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6824 _XOPEN_SOURCE_EXTENDED for XPG4.
6825
39c33b6c
JM
6826 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6827
62fde54f
JM
6828 * Makeconfig (localtime): Remove variable.
6829 (inst_localtime-file): Likewise.
6830
0741d64c
AS
68312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6832
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6834 Update.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6836 Update.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6838 Update.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6840 Update.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6842 Update.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6844 Update.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6846 Update.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6848 Update.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6850 Update.
6851
7cb029ee
JM
68522012-05-01 Joseph Myers <joseph@codesourcery.com>
6853
6854 [BZ #2550]
6855 [BZ #2570]
6856 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6857 comparisons to determine direction to adjust input.
6858 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6859 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6861 Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6863 Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6865 Likewise.
6866 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6868 Likewise.
6869 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6870 Likewise.
6871 * math/libm-test.inc (nexttoward_test): Add more tests.
6872
412bd966
AS
68732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6874
6875 [BZ #14040]
6876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6877 in version GLIBC_2.1, not GLIBC_2.0.
6878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6879 Likewise.
6880
9568c0c2
JM
68812012-04-30 Joseph Myers <joseph@codesourcery.com>
6882
adfbc8ac
JM
6883 [BZ #13942]
6884 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6885 (1 - x) * (1 + x).
6886 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6887 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6888 * math/libm-test.inc (acos_test): Add more tests.
6889 (asin_test): Likewise.
6890 * sysdeps/i386/fpu/libm-test-ulps: Update.
6891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6892
5ba3cc69
JM
6893 [BZ #14034]
6894 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6895 of square root.
6896 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6898 * math/libm-test.inc (acos_test_tonearest): New function.
6899 (acos_test_towardzero): Likewise.
6900 (acos_test_downward): Likewise.
6901 (acos_test_upward): Likewise.
6902 (asin_test_tonearest): Likewise.
6903 (asin_test_towardzero): Likewise.
6904 (asin_test_downward): Likewise.
6905 (asin_test_upward): Likewise.
6906 (main): Call the new functions.
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6909
9568c0c2
JM
6910 [BZ #13884]
6911 [BZ #13924]
6912 * math/e_exp10.c: Include <float.h>.
6913 (__ieee754_exp10): Handle underflow here rather than multiplying
6914 large negative argument by M_LN10.
6915 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6916 of __ieee754_expf.
6917 * math/e_exp10l.c: Include <float.h>.
6918 (__ieee754_exp10l): Handle underflow here rather than multiplying
6919 large negative argument by M_LN10l.
6920 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6921 spurious overflow exception on underflow.
6922
5ac3ea17
MP
69232012-04-29 Marek Polacek <polacek@redhat.com>
6924
6925 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6926 (__fortify_function): New macro.
6927 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6928 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6929 __extern_always_inline.
6930 * libio/bits/stdio2.h: Likewise.
6931 * libio/bits/stdio.h: Likewise.
6932 * string/string.h: Likewise.
6933 * string/bits/string3.h: Likewise.
6934 * include/stdio.h: Likewise.
6935 * stdlib/bits/stdlib.h: Likewise.
6936 * stdlib/stdlib.h: Likewise.
6937 * rt/bits/mqueue2.h: Likewise.
6938 * rt/mqueue.h: Likewise.
6939 * posix/bits/unistd.h: Likewise.
6940 * posix/unistd.h: Likewise.
6941 * io/bits/poll2.h: Likewise.
6942 * io/bits/fcntl2.h: Likewise.
6943 * io/fcntl.h: Likewise.
6944 * io/sys/poll.h: Likewise.
6945 * misc/bits/syslog.h: Likewise.
6946 * misc/bits/syslog-ldbl.h: Likewise.
6947 * misc/sys/syslog.h: Likewise.
6948 * socket/bits/socket2.h: Likewise.
6949 * socket/sys/socket.h: Likewise.
6950 * debug/tst-chk1.c: Likewise.
6951 * wcsmbs/bits/wchar2.h: Likewise.
6952 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6953 * wcsmbs/wchar.h: Likewise.
6954
ecf0ebfb
AJ
69552012-04-29 Andreas Jaeger <aj@suse.de>
6956
6957 * Makerules (tests): Remove enable-check-abi protection.
6958 (check-abi-warn): Remove.
6959 (check-abi-%): Remove check-abi-warn usage.
6960
6961 * configure.in: Remove check-abi configure option.
6962 * configure: Regenerated.
6963 * config.make.in (enable-check-abi): Remove.
6964
6d5c57fa
AS
69652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6966
24c5d07e 6967 [BZ #14033]
ded5180a
AS
6968 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6969 double functions to double *_finite functions.
6970
7e0d315d
AS
6971 [BZ #13941]
6972 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6973 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6974 LDBL_MIN_EXP.
6975 * stdio-common/Makefile (tests): Add tst-sprintf3.
6976 * stdio-common/tst-sprintf3.c: New file.
6977
6d5c57fa
AS
6978 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6979 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6980
0749ff8b
JM
69812012-04-28 Joseph Myers <joseph@codesourcery.com>
6982
6983 * conform/conformtest.pl: Remove duplicate typed-constant
6984 handling.
6985
8dbd5d7b
DM
69862012-04-28 David S. Miller <davem@davemloft.net>
6987
6988 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6989 (check-abi-%): Remove AWK script prerequisite and explicit
6990 abilist directory.
6991 (check-abi): Rewrite to just diff the symlist with the abilist.
6992 (config-tls, config-abi-config): Delete, no longer used.
6993 (update-abi-%): Remove AWK script and explicit abilist directory.
6994 (update-abi): Rewrite to simply compare and conditionally copy the
6995 symlist and the sysdep abilist file. Remove update-abi-config
6996 checks.
6997 * abilist/ld.abilist: Remove.
6998 * abilist/libBrokenLocale.abilist: Remove.
6999 * abilist/libanl.abilist: Remove.
7000 * abilist/libcrypt.abilist: Remove.
7001 * abilist/libdl.abilist: Remove.
7002 * abilist/librt.abilist: Remove.
7003 * abilist/libthread_db.abilist: Remove.
7004 * abilist/libutil.abilist: Remove.
7005 * scripts/extract-abilist.awk: Remove.
7006 * scripts/merge-abilist.awk: Remove.
7007 * sysdeps/generic/libcidn.abilist: New file.
7008 * sysdeps/generic/libnss_compat.abilist: New file.
7009 * sysdeps/generic/libnss_db.abilist: New file.
7010 * sysdeps/generic/libnss_dns.abilist: New file.
7011 * sysdeps/generic/libnss_files.abilist: New file.
7012 * sysdeps/generic/libnss_hesiod.abilist: New file.
7013 * sysdeps/generic/libnss_nis.abilist: New file.
7014 * sysdeps/generic/libnss_nisplus.abilist: New file.
7015 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7016 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7017 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7018 file.
7019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7020 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7021 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7022 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7023 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7024 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7025 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7026 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7027 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7028 file.
7029 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7030 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7031 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7032 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7033 file.
7034 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7035 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7036 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7037 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7038 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7039 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7040 file.
7041 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7042 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7043 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7044 file.
7045 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7047 New file.
7048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7049 New file.
7050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7051 New file.
7052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7053 New file.
7054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7055 New file.
7056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7057 New file.
7058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7059 New file.
7060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7061 New file.
7062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7063 New file.
7064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7065 New file.
7066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7067 New file.
7068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7069 New file.
7070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7071 New file.
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7073 file.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7075 New file.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7077 New file.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7079 file.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7081 New file.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7083 New file.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7085 file.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7087 New file.
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7089 New file.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7091 New file.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7093 New file.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7095 New file.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7097 New file.
7098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7100 file.
7101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7102 New file.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7104 file.
7105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7106 file.
7107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7108 file.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7110 file.
7111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7112 file.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7114 New file.
7115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7116 file.
7117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7118 file.
7119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7120 New file.
7121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7122 file.
7123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7125 file.
7126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7127 New file.
7128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7129 file.
7130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7131 file.
7132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7133 file.
7134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7135 file.
7136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7137 file.
7138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7139 New file.
7140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7141 file.
7142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7143 file.
7144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7145 New file.
7146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7147 file.
7148 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7149 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7150 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7151 file.
7152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7153 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7154 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7155 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7156 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7157 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7158 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7159 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7160 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7161 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7164 file.
7165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7166 New file.
7167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7168 file.
7169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7170 file.
7171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7172 file.
7173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7174 file.
7175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7176 file.
7177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7178 New file.
7179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7180 New file.
7181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7182 file.
7183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7184 New file.
7185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7186 file.
7187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7189 file.
7190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7191 New file.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7193 file.
7194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7195 file.
7196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7197 file.
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7199 file.
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7201 file.
7202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7203 New file.
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7205 New file.
7206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7207 file.
7208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7209 New file.
7210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7211 file.
7212
41d73a1b
JM
72132012-04-28 Joseph Myers <joseph@codesourcery.com>
7214
7215 * conform/conformtest.pl: Fix typo in handling typed-constant from
7216 allow-header.
7217
28aeeda4
JM
72182012-04-27 Joseph Myers <joseph@codesourcery.com>
7219
adae8f5e
JM
7220 * README: Cut down references to pre-2.6 Linux kernels and
7221 Linuxthreads. Update lists of configurations in libc and ports
7222 and sort alphabetically. Say "or newer" with Linux kernel version
7223 requirements.
7224
28aeeda4
JM
7225 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7226
a462cb63
RA
72272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7228
7229 [BZ #887]
7230 * math/libm-test.inc (logb_test_downward): New test to expose
7231 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7232 rounding mode.
7233
6ad3493e
JM
72342012-04-27 Joseph Myers <joseph@codesourcery.com>
7235
7236 [BZ #14027]
7237 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7238 to be done.
7239 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7240 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7241
2ce4f015
JM
72422012-04-26 Joseph Myers <joseph@codesourcery.com>
7243
5aeb141a
JM
7244 * sysdeps/unix/i386/brk.S: Remove file.
7245 * sysdeps/unix/i386/dl-brk.S: Likewise.
7246 * sysdeps/unix/i386/pipe.S: Likewise.
7247 * sysdeps/unix/i386/sigreturn.S: Likewise.
7248 * sysdeps/unix/i386/syscall.S: Likewise.
7249 * sysdeps/unix/i386/vfork.S: Likewise.
7250 * sysdeps/unix/i386/wait.S: Likewise.
7251
7143acae
JM
7252 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7253 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7254
2ce4f015
JM
7255 * configure.in (arm*-none*): Do not allow without
7256 --enable-hacker-mode.
7257 (netbsd*): Remove case setting base_os.
7258 (386bsd*): Likewise.
7259 (freebsd*): Likewise.
7260 (bsdi*): Likewise.
7261 (osf*): Likewise.
7262 (sunos*): Likewise.
7263 (ultrix*): Likewise.
7264 (newsos*): Likewise.
7265 (dynix*): Likewise.
7266 (*bsd*): Likewise.
7267 (sysv*): Likewise.
7268 (isc*): Likewise.
7269 (esix*): Likewise.
7270 (sco*): Likewise.
7271 (minix*): Likewise.
7272 (irix4*): Likewise.
7273 (irix6*): Likewise.
7274 (solaris[2-9]*): Likewise.
7275 (none): Likewise.
7276 * configure: Regenerated.
7277
0ac229c8
AZ
72782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7279
7280 [BZ #11521]
7281 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7282 overflow or cancellation in calculating denominator.
7283 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7285 down expression to avoid unexpected rounding in newer GCCs.
7286 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7287
33f244f4
DM
72882012-04-26 David S. Miller <davem@davemloft.net>
7289
7290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7291 long-double compat symbols.
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7305
cfa1f3e8
DM
73062012-04-25 David S. Miller <davem@davemloft.net>
7307
7308 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7309 HWCAP_* values only after the memory barriers have been defined.
7310 (atomic_full_barrier): Define.
7311 (atomic_read_barrier): Define.
7312 (atomic_write_barrier): Define.
7313
6e236b92
SP
73142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7315
7316 * shlib-versions: Add libgcc_s version information.
7317 * sysdeps/generic/libgcc_s.h: Remove.
7318 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7319 libgcc_s.h.
7320 * sysdeps/gnu/unwind-resume.c: Likewise.
7321 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7322
aab39a09
DM
73232012-04-25 David S. Miller <davem@davemloft.net>
7324
7325 * sysdeps/unix/sparc/brk.S: Delete.
7326 * sysdeps/unix/sparc/dl-brk.S: Delete.
7327 * sysdeps/unix/sparc/pipe.S: Delete.
7328 * sysdeps/unix/sparc/sysdep.S: Delete.
7329 * sysdeps/unix/sparc/sysdep.h: Delete.
7330 * sysdeps/unix/sparc/vfork.S: Delete.
7331 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7332 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7334 ret_ERRVAL, r0, r1, MOVE): Define.
7335 (JUMPTARGET): Remove.
7336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7337 sysdeps/unix/sparc/sysdep.h
7338 (ENTRY, END): Remove.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7340
a3cc4f48
JM
73412012-04-25 Joseph Myers <joseph@codesourcery.com>
7342
2ed8cda2
JM
7343 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7344 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7345 -DIS_IN_build.
7346
35d76d59
JM
7347 * timezone/README: Update upstream location and email address for
7348 tzcode and tzdata.
7349 * timezone/zdump.c: Update from tzcode 2012b.
7350 * timezone/zic.c: Likewise.
7351
a3cc4f48
JM
7352 * configure.in (libc_cv_as_needed): Remove test.
7353 * configure: Regenerated.
7354 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7355 conditional definition.
7356 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7357 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7358 * config.make.in (have-as-needed): Remove variable.
7359
ceab42c3
SP
73602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7361 Paul Pluzhnikov <ppluzhnikov@google.com>
7362
7363 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7364 strings correctly.
7365
3ce2865f
CLT
73662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7367
7368 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7369 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7370 * sysdeps/sh/strlen.S: Likewise.
7371
f37e0d68
JM
73722012-04-24 Joseph Myers <joseph@codesourcery.com>
7373
ae186e9a
JM
7374 * sysdeps/unix/fork.S: Remove file.
7375 * sysdeps/unix/i386/fork.S: Likewise.
7376 * sysdeps/unix/sparc/fork.S: Likewise.
7377
b96914af
JM
7378 * sysdeps/unix/system.c: Remove file.
7379 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7380
f37e0d68
JM
7381 * sysdeps/unix/getegid.S: Remove file.
7382 * sysdeps/unix/geteuid.S: Likewise.
7383
87ef29ca
RM
73842012-04-24 Roland McGrath <roland@hack.frob.com>
7385
83bcd236
RM
7386 * scripts/check-localplt.awk: New file.
7387 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7388 of diff.
7389 * scripts/data/localplt-generic.data: Add a comment.
7390
87ef29ca
RM
7391 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7392 NODE when __dir_mkfile failed.
7393 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7394 Reported by Ludovic Courtès <ludo@gnu.org>.
7395
e5a6e567
AJ
73962012-04-24 Andreas Jaeger <aj@suse.de>
7397
7398 * Makerules (common-clean): Also remove gen-as-const-headers
7399 files.
7400
c1820385
JM
74012012-04-24 Joseph Myers <joseph@codesourcery.com>
7402
7403 * Makerules (native-compile): Do not change working directory for
7404 build. Use $(OUTPUT_OPTION) in command.
7405 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7406
94e02fc4
AZ
74072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 [BZ #13886]
7410 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7411 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7412 * math/libm-test.inc (floor_test): Add more tests.
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7414
3a533ca3
JM
74152012-04-24 Joseph Myers <joseph@codesourcery.com>
7416
940ab4b3
JM
7417 * sysdeps/unix/getdents.c: Remove file.
7418 * sysdeps/unix/sysv/getdents.c: Likewise.
7419 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7420
90e037bd
JM
7421 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7422 sysdeps/unix/mman/syscalls.list.
7423 (mmap): Likewise.
7424 (mprotect): Likewise.
7425 (msync): Likewise.
7426 (munmap): Likewise.
7427 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7428 * sysdeps/unix/mman/syscalls.list: Remove.
7429 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7430
3a533ca3
JM
7431 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7432 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7433 * configure: Regenerated.
7434 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7435 $(libgcc_s_suffix).
7436 * config.make.in (libgcc_s_suffix): Remove variable.
7437
1ad743de
JM
74382012-04-23 Joseph Myers <joseph@codesourcery.com>
7439
4ad451e2
JM
7440 * sysdeps/unix/sysv/gethostname.c: Move to ...
7441 * sysdeps/posix/gethostname.c: ... here.
7442
5e37ce39
JM
7443 * sysdeps/unix/execve.S: Remove file.
7444
1ad743de
JM
7445 * sysdeps/unix/_exit.S: Remove file.
7446
4e681b5b
AJ
74472012-04-23 Andreas Jaeger <aj@suse.de>
7448
7449 [BZ #13739]
7450 * manual/Makefile: Remove make dist support, there's no
7451 need for a stand-alone documentation tar ball.
7452 (TEXI2DVI): Define always, it's not in Makeconfig.
7453 (dist): Removed.
7454 (tar-it): Removed.
7455 (edition): Removed.
7456 (glibc-doc-$(edition).tar): Removed
7457 (%.Z): Removed.
7458 (%.gz): Removed.
7459 (%.uu): Removed.
7460 (ETAGS): Remove, it's in Makeconfig.
7461 (move-if-change): Remove, it's in Makeconfig.
7462
c0baea34
PE
74632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7464
7465 [BZ #13970]
7466 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7467 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7468 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7469 (strtod_l, strtof_l, strtold_l): Remove __wur.
7470 It is not necessarily an error to ignore strtol's return value.
7471 One can reliably look at the stored endptr to decide whether
7472 the number had valid syntax.
7473
7c0616fa
AJ
74742012-04-21 Andreas Jaeger <aj@suse.de>
7475
803cb6b7 7476 [BZ #13739]
7c0616fa
AJ
7477 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7478
b0fe253f
JM
74792012-04-21 Joseph Myers <joseph@codesourcery.com>
7480
7481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7482 * sysdeps/unix/sysv/Versions: Remove file.
7483
8280f22d
MT
74842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7485
7486 [BZ #13927]
7487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7488
75ce411f 74892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7490
7491 [BZ #7064]
7492 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7493 version from __vm86.
7494
097d59fa
JM
74952012-04-20 Joseph Myers <joseph@codesourcery.com>
7496
a90f3bcb
JM
7497 * sysdeps/unix/common/lxstat.c: Remove file.
7498 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7499
edc7ea78
JM
7500 * sysdeps/unix/sysv/Makefile: Remove file.
7501
cb78c221
JM
7502 * sysdeps/unix/sysv/direct.h: Remove file.
7503
efa6a45f
JM
7504 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7505 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7506 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7507 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7508 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7509 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7510 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7511
9c9f2d0c
JM
7512 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7513
4541c83b
JM
7514 * sysdeps/unix/xmknod.c: Remove file.
7515 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7516
f5d153a0
JM
7517 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7518
aa746595
JM
7519 * sysdeps/unix/sysv/i386/time.S: Remove file.
7520
cce5905e
JM
7521 * sysdeps/unix/fxstat.c: Remove file.
7522 * sysdeps/unix/xstat.c: Likewise.
7523 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7524
37fa3841
JM
7525 * sysdeps/unix/sysv/sigaction.c: Remove file.
7526
ff1962a3
JM
7527 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7528 (sysdep_headers): Remove variable.
7529 [termio.h not in sysdep_headers] (generated): Likewise.
7530 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7531 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7532 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7533 * sysdeps/unix/sysv/tcflow.c: Likewise.
7534 * sysdeps/unix/sysv/tcflush.c: Likewise.
7535 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7536 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7537 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7538 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7539 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7540
e7740d31
JM
7541 * sysdeps/unix/siglist.c: Remove file.
7542
ee06f18b
JM
7543 * sysdeps/unix/getppid.S: Remove file.
7544
097d59fa
JM
7545 * sysdeps/unix/mkdir.c: Remove file.
7546 * sysdeps/unix/rmdir.c: Likewise.
7547
ff3d51ec
AS
75482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7549
7550 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7551 ERR_MAX value.
7552 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7553 errlist-compat value.
7554
50f81fd7
DM
75552012-04-18 David S. Miller <davem@davemloft.net>
7556
7557 * sysdeps/generic/memcopy.h (reg_char): Delete.
7558 * debug/strcat_chk.c: Use char, not reg_char.
7559 * debug/strcpy_chk.c: Likewise.
7560 * debug/strncat_chk.c: Likewise.
7561 * debug/strncpy_chk.c: Likewise.
7562 * string/memchr.c: Likewise.
7563 * string/memrchr.c: Likewise.
7564 * string/rawmemchr.c: Likewise.
7565 * string/strcat.c: Likewise.
7566 * string/strchr.c: Likewise.
7567 * string/strchrnul.c: Likewise.
7568 * string/strcmp.c: Likewise.
7569 * string/strcpy.c: Likewise.
7570 * string/strncat.c: Likewise.
7571 * string/strncmp.c: Likewise.
7572 * string/strncpy.c: Likewise.
7573
8ff41c46
WS
75742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7575
7576 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7577 __builtin_memcopy is called when src and dest ranges are known to not
7578 overlap.
7579
6b652f46
WS
75802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7581
7582 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7583 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7584 fwd_align_merge macro call.
7585 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7586 bwd_align_merge macro call.
7587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7588
b282631e
WS
75892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7590
7591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7592 bwd_align_merge macros.
7593 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7594 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7596
95aa737c
DM
75972012-04-18 David S. Miller <davem@davemloft.net>
7598
7599 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7600
7a99a614
AJ
76012012-04-18 Andreas Jaeger <aj@suse.de>
7602
7603 [BZ# 6794]
7604 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7605 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7607
7608 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7609 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7610 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7611
7612 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7613 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7614 Adjust for changed ldbl-128 files.
7615
7616 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7617 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7618 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7619
e5270c23
DM
76202012-04-17 David S. Miller <davem@davemloft.net>
7621
7622 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7623
fb5e92c9
AS
76242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7625
7626 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7627 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7628 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7629 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7630 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7631 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7632
76da7265
AZ
76332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634
7635 [BZ #6794]
7636 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7637 * math/libm-test.inc: Add ilogb errno and exception tests.
7638 * math/w_ilogb.c: New file: ilogb wrapper.
7639 * math/w_ilogbf.c: New file: ilogbf wrapper.
7640 * math/w_ilogbl.c: New file: ilogbl wrapper.
7641 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7642 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7643 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7644 exception being thrown with 0.0 as argument.
7645 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7646 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7647 exception being thrown with 0.0 as argument.
7648 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7649 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7650 exception being thrown with 0.0 as argument.
7651 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7652 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7653 exception being thrown with 0.0 as argument.
7654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7655 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7656 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7657 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7658 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7659 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7660 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7661 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7662 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7663
0396e69d
PB
76642012-04-17 Petr Baudis <pasky@ucw.cz>
7665
7666 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7667 with altivec.
7668
750b5926
MP
76692012-04-16 Marek Polacek <polacek@redhat.com>
7670
7671 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7672
751728a1
MP
76732012-04-16 Marek Polacek <polacek@redhat.com>
7674
7675 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7676 operands of fdivp instruction.
7677
34a27407
L
76782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7681 * elf/tst-auditmod3b.c: Likewise.
7682 * elf/tst-auditmod4b.c: Likewise.
7683 * elf/tst-auditmod5b.c: Likewise.
7684 * elf/tst-auditmod6b.c: Likewise.
7685 * elf/tst-auditmod6c.c: Likewise.
7686 * elf/tst-auditmod7b.c: Likewise.
7687 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7688 * sysdeps/x86_64/preconfigure.in: Likewise.
7689 * sysdeps/x86_64/preconfigure: Regenerated.
7690
7e73e17d
L
76912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7692
7693 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7694 __ILP32__.
7695
c7a6ab72
AB
76962012-04-13 Antoine Balestrat <merkil33@gmail.com>
7697
7698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7699 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7700
a9e8e0e0
CL
77012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7702
7703 [BZ #13973]
7704 * locale/iso-639.def: Fix gl language name. Spotted by
7705 Yaron Shahrabani.
7706
ec98af7d
RM
77072012-04-12 Roland McGrath <roland@hack.frob.com>
7708
7709 [BZ #2074]
7710 * libio/libio.h (__io_write_fn): Update comment.
7711
247c3ede
PB
77122012-04-12 Petr Baudis <pasky@ucw.cz>
7713
7714 [BZ #2074]
7715 * stdio.texi (Hook Functions): The user provided writer function
7716 is not allowed to return -1.
7717
55939d6d
DM
77182012-04-11 David S. Miller <davem@davemloft.net>
7719
7720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7721
90020f5a
MF
77222012-04-11 Mike Frysinger <vapier@gentoo.org>
7723
7724 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7725 Add a leading slash to rtkaio.
7726
288f9098
JM
77272012-04-11 Jim Meyering <meyering@redhat.com>
7728
90020f5a
MF
7729 [BZ #11959]
7730 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7731 It is not necessarily an error to ignore fwrite's return
7732 value. One can reliably use ferror to test for errors after
7733 the fact.
288f9098 7734
4be2b570
L
77352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7736
7737 * bits/types.h (__snseconds_t): New type.
7738 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7739
7740 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7742 (__SNSECONDS_T_TYPE): Likewise.
7743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7744 (__SNSECONDS_T_TYPE): Likewise.
7745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7746 (__SNSECONDS_T_TYPE): Likewise.
7747
288f9098 77482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7749
7750 [BZ #2636]
7751 * manual/time.texi (Processor Time): Return type of times is
7752 elapsed real time since an arbitrary point in the past.
7753 (CPU Time): Move CLK_TCK from here...
7754 (Processor Time): ...to here. Correct description.
7755 * manual/conf.texi (Constants for Sysconf): Correct description of
7756 _SC_CLK_TCK.
7757
d7dd4413
DM
77582012-04-10 David S. Miller <davem@davemloft.net>
7759
7760 [BZ #13967]
7761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7762 where the is a gap between DT_REL(A) and DT_JMPREL.
7763
b46068fc
L
77642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7765
7766 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7767 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7768 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7769
73d65cc3
SP
77702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7771
7772 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7773 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7774 (dl_main): Handle --inhibit-cache.
7775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7776 _dl_inhibit_cache.
7777 * elf/dl-load.c (_dl_map_object): Use it.
7778 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7779
bcc8d661
JM
77802012-04-09 Joseph Myers <joseph@codesourcery.com>
7781
8f9a2fae
JM
7782 [BZ #13872]
7783 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7784 (__ieee754_powl): Saturate large exponents rather than testing for
7785 overflow of y*log2(x).
7786 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7787 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7788 exceptions.
7789
bcc8d661
JM
7790 [BZ #11521]
7791 * math/s_ctan.c: Include <float.h>.
7792 (__ctan): Avoid internal overflow or cancellation in calculating
7793 denominator.
7794 * math/s_ctanf.c: Likewise.
7795 * math/s_ctanl.c: Likewise.
7796 * math/s_ctanh.c: Likewise.
7797 * math/s_ctanhf.c: Likewise.
7798 * math/s_ctanhl.c: Likewise.
7799 * math/libm-test.inc (ctan_test): Add more tests.
7800 (ctanh_test): Likewise.
7801 * sysdeps/i386/fpu/libm-test-ulps: Update.
7802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7803
823fbbb4
AJ
78042012-04-09 Andreas Jaeger <aj@suse.de>
7805
03879793
AJ
7806 [BZ #6894]
7807 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7808 is an optional BSD extension.
7809
823fbbb4
AJ
7810 [BZ #10254]
7811 * manual/stdio.texi (Opening Streams): Document additional fopen
7812 parameters.
7813
8de131cb
RM
78142012-04-09 Roland McGrath <roland@hack.frob.com>
7815
7816 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7817 %eax without telling the compiler.
7818
c0ed9d7d
CD
78192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7820
7821 [BZ # 13963]
7822 * manual/install.texi: Use sourceware.org.
7823
c483f6b4
JM
78242012-04-09 Joseph Myers <joseph@codesourcery.com>
7825
d7dd9453
JM
7826 [BZ #13873]
7827 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7828 (__ieee754_pow): Generate overflow and underflow using huge*huge
7829 and tiny*tiny rather than just returning constant infinity or zero
7830 for large exponents.
7831 * math/libm-test.inc (pow_test): Require overflow exceptions for
7832 applicable cases of large exponents.
7833
c483f6b4
JM
7834 [BZ #706]
7835 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7836 (__ieee754_pow): Use iterative multiplication algorithm only for
7837 integer exponents with absolute value below 1024. Check for odd
7838 integer exponents when using algorithm for real exponents.
7839 * math/libm-test.inc (pow_test): Add more tests.
7840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7841
d2de7579
JM
78422012-04-08 Joseph Myers <joseph@codesourcery.com>
7843
7844 [BZ #13705]
7845 * math/libm-test.inc (exp_test): Do not allow overflow exception
7846 on underflow test.
7847
f77f1232
AJ
78482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7849
7850 [BZ #13705]
7851 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7852 instead of __kernel_standard_f.
7853
3884932b
MF
78542012-04-08 Mike Frysinger <vapier@gentoo.org>
7855
7856 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7857 * sysdeps/x86_64/memset_chk.S: Likewise.
7858
54472e9c
AJ
78592012-04-08 Andreas Jaeger <aj@suse.de>
7860
6ab0fbfc
AJ
7861 [BZ #10153]
7862 * manual/startup.texi (Environment Access): Describe return value
7863 for putenv and setenv.
7864
61efba8c
AJ
7865 [BZ #6895]
7866 * manual/filesys.texi (Directory Entries): Add description for
7867 DT_LNK.
7868
95c3f29a
AJ
7869 [BZ #6890]
7870 * manual/filesys.texi (Directory Entries): Clarify that it's file
7871 system not operating system in the description of DT_UNKNOWN.
7872
54472e9c
AJ
7873 [BZ #6578]
7874 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7875
624254b1
SC
78762012-04-08 Stephen Compall <s11@member.fsf.org>
7877
7878 [BZ #6649]
7879 * manual/llio.texi (Opening and Closing Files): Add cross
7880 reference to explain mode argument.
7881
1e4920e0
MF
78822012-04-07 Mike Frysinger <vapier@gentoo.org>
7883
7884 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7885 * sysdeps/x86_64/memset_chk.S: Likewise.
7886
5ed848f3
DM
78872012-04-07 David S. Miller <davem@davemloft.net>
7888
7889 * elf/elf.h (R_SPARC_WDISP10): Define.
7890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7891 R_SPARC_SIZE32.
7892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7893 R_SPARC_SIZE64 and R_SPARC_H34.
7894
96154cd8
CD
78952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7896
7897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7898 conditions and remove no longer applicable assertion.
7899
9904dc47
L
79002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * bits/byteswap.h: Include <features.h>.
7903 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7904 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7905
f8887d0a
L
79062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7907
7908 * bits/byteswap.h (__bswap_16): Removed.
7909 Include <bits/byteswap-16.h> to get __bswap_16.
7910 * sysdeps/i386/bits/byteswap.h: Likewise.
7911 * sysdeps/s390/bits/byteswap.h: Likewise.
7912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7913 * bits/byteswap-16.h: New file.
7914 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7915 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7916 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7917 * string/Makefile (headers): Add bits/byteswap-16.h.
7918
62470f60
PP
79192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7920
7921 [BZ #13895]
7922 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7923 extra indirection.
7924 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7925 * nss/tst-nss-static.c: New.
7926
4dad7bab
RM
79272012-04-06 Robert Millan <rmh@gnu.org>
7928
7929 [BZ #6486]
7930 * manual/llio.texi (File Position Primitive): lseek
7931 refers to WHENCE when it really means OFFSET.
7932
e9142a17
AJ
79332012-04-06 Andreas Jaeger <aj@suse.de>
7934
2c040eff
AJ
7935 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7936 strncmp declarations.
7937
e9142a17
AJ
7938 * abilist/libc.abilist: Add __poll and __ppoll.
7939
ff9f1c5f
DM
79402012-04-05 David S. Miller <davem@davemloft.net>
7941
dcd2ae90
DM
7942 * scripts/check-local-headers.sh: Accept a host triplet in the
7943 path matched by the exclude regexp.
7944
993eb054
DM
7945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7946 definition.
7947 * sysdeps/powerpc/powerpc32/dl-machine.h
7948 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7949 * sysdeps/s390/s390-32/dl-machine.h
7950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7951 * sysdeps/sparc/sparc32/dl-machine.h
7952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7953 * sysdeps/sparc/sparc64/dl-machine.h
7954 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7955
ff9f1c5f
DM
7956 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7957 lazy binding.
48e2e132 7958 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7959 undefined symbol errors.
7960
48e2e132 7961 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7962 DT_NEEDED entries.
7963
e80d6f94
MM
79642012-04-05 Michael Matz <matz@suse.de>
7965
7966 [BZ #13592]
7967 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7968
349fa79f
AJ
79692012-04-05 Andreas Jaeger <aj@suse.de>
7970
7971 [BZ #13908]
7972 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7973 comment.
7974
f402708f
KK
79752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7976
7977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7978 which ROUND is no valid rounding mode.
7979
2ecccfc9
KK
79802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7981
7982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7983 read again.
7984 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7985
8a53f50f
KK
79862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7987
7988 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7989 an exception using FPU order intentionally.
7990
79912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7992
7993 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7994 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7995 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7996 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7997
d653abb7
SJ
79982012-04-05 Simon Josefsson <simon@josefsson.org>
7999
8000 [BZ #12340]
8001 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8002 EINVAL when BUFLEN is too smal.
8003
c3b1bf7d
TS
80042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8005
8006 [BZ #13553]
8007 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8008 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8009
b1aa60f3
AJ
80102012-04-03 Andreas Jaeger <aj@suse.de>
8011
c3b1bf7d 8012 [BZ #13938]
67f60a26
AJ
8013 * manual/setjmp.texi (System V contexts): Fix sentence.
8014
b1aa60f3
AJ
8015 [BZ #13926]
8016 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8017 New macro for this case.
8018 [!__GNUC__] (__bswap_64): New inline function for this case.
8019 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8020 * bits/byteswap.h: Likewise.
8021 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8022 ull, guard with __GLIBC_HAVE_LONG_LONG.
8023
8024 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8025 __GLIBC_HAVE_LONG_LONG.
8026
8027 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8028 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8029
39c59c35
TMQMF
80302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8031
8032 [BZ #13691]
8033 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8034 inptr and inend, rather than using last_ch.
8035
135ffda8
DM
80362012-04-02 David S. Miller <davem@davemloft.net>
8037
8038 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8039 * stdio-common/printf-parse.h (read_int): Change return type to
8040 'int', return -1 on INT_MAX overflow.
8041 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8042 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8043 overflows INT_MAX. Check for overflow of in-format-string precision
8044 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8045 SIZE_MAX not INT_MAX for integer overflow test.
8046 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8047 skip the construct in the format string but do not record anything.
8048 * stdio-common/bug22.c: Adjust to test both width/prevision
8049 INT_MAX overflow as well as total length INT_MAX overflow. Check
8050 explicitly for proper errno values.
8051
228c019e
TS
80522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8053
302cadd3
TS
8054 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8055 CHAR_MAX.
8056 * string/test-strcmp.c [! WIDE]: Likewise.
8057 * time/tst-mktime2.c: Likewise for INT_MAX.
8058 * string/test-string.h: #include <sys/param.h> for MIN.
8059
228c019e
TS
8060 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8061 * sysdeps/i386/init-first.c (init): Likewise.
8062 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8063 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8064 * sysdeps/sh/init-first.c (init): Likewise.
8065
cfa633f5
UD
80662012-04-01 Ulrich Drepper <drepper@gmail.com>
8067
8068 * po/ru.po: Update from translation team.
d1635ef8 8069 * po/vi.po: Likewise.
cfa633f5 8070
6cd0a5ea
SP
80712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8072
8073 * resolv/nss_dns/dns-host.c: Merge copyright years.
8074
4b43400f
LD
80752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8076
8077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8078 Optimize memcpy with prefetch if
8079 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8080 src, dst pointers have unequal 16 byte alignments.
8081
48c41d04
SP
80822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8083
8084 [BZ #13928]
8085 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8086 from a CNAME entry and return the minimum ttl for the query.
8087 (gaih_getanswer_slice): Likewise.
8088
b8dc394d
JL
80892012-03-30 Jeff Law <law@redhat.com>
8090
8091 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8092 due to long keys.
8093 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8094 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8095
2f5a5ed0
JL
8096 * resolv/nss_dns/dns-host.c: Update copyright year.
8097
1d39e359
UD
80982012-03-30 Ulrich Drepper <drepper@gmail.com>
8099
c030f70c 8100 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8101 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8102
1d39e359
UD
8103 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8104 comments for sendmmsg.
8105
81062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8107
8108 [BZ #13691]
8109 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8110 with only 1 character between 0x0041 and 0x01b0.
8111 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8112 * wcsmbs/tst-mbsnrtowcs.c: New file.
8113
20fde227
DM
81142012-03-29 David S. Miller <davem@davemloft.net>
8115
8116 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8117 small copies by hand.
8118
984a4237
JL
81192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8120
8121 [BZ #13761]
8122 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8123 _nss_compat_initgroups_dyn): Fall back to malloc/free
8124 for large group memberships.
8125
18c9d62b
DM
81262012-03-28 David S. Miller <davem@davemloft.net>
8127
88d85d4f
DM
8128 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8129 that branches into memcpy.
8130 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8133 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8135 bits.
8136 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8137 implementation too.
8138 * sysdeps/sparc/mempcpy.S: New file.
8139
e5aa83e1
DM
8140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8141 the IFUNC routine in the libc case.
8142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8143
88570753
DM
8144 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8145 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8146 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8147 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8148 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8149 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8150 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8151 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8152
249d7567
DM
8153 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8154 loop to 256 bytes instead of 64 bytes and fix test signedness.
8155
18c9d62b
DM
8156 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8157 * sysdeps/sparc/sparc32/Makefile: rather than here...
8158 * sysdeps/sparc/sparc64/Makefile: and here.
8159
05f3d1f6
UD
81602012-03-28 Ulrich Drepper <drepper@gmail.com>
8161
8162 * malloc/mallocbug.c: Avoid warnings about unused variables.
8163
86ae07a8
JL
81642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
8166 [BZ #13760]
8167 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8168 in the right place. Discard and retry query if response is
8169 larger than input buffer size.
8170
41bf21a1
JM
81712012-03-28 Joseph Myers <joseph@codesourcery.com>
8172
d6270972
JM
8173 [BZ #369]
8174 [BZ #2678]
8175 [BZ #3866]
8176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8177 x for large integer exponent.
8178 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8179 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8180 sign of result as needed afterwards.
8181 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8182 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8183 result for underflowing pow the same as for overflow.
8184 (__kernel_standard_l): Handle powl overflow and underflow here
8185 rather than calling __kernel_standard.
8186 * math/libm-test.inc (pow_test): Add more tests.
8187
414fca03 8188 [BZ #3868]
41bf21a1
JM
8189 [BZ #13879]
8190 [BZ #13910]
8191 [BZ #13911]
8192 [BZ #13912]
8193 [BZ #13913]
8194 [BZ #13915]
8195 [BZ #13916]
8196 [BZ #13917]
8197 [BZ #13918]
8198 [BZ #13919]
8199 [BZ #13920]
8200 [BZ #13921]
8201 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8202 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8203 (__kernel_standard_l): New function.
8204 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8205 __kernel_standard.
8206 * math/w_acosl.c (__acosl): Likewise.
8207 * math/w_asinl.c (__asinl): Likewise.
8208 * math/w_atan2l.c (__atan2l): Likewise.
8209 * math/w_atanhl.c (__atanhl): Likewise.
8210 * math/w_coshl.c (__coshl): Likewise.
8211 * math/w_exp10l.c (__exp10l): Likewise.
8212 * math/w_exp2l.c (__exp2l): Likewise.
8213 * math/w_fmodl.c (__fmodl): Likewise.
8214 * math/w_hypotl.c (__hypotl): Likewise.
8215 * math/w_j0l.c (__j0l, __y0l): Likewise.
8216 * math/w_j1l.c (__j1l, __y1l): Likewise.
8217 * math/w_jnl.c (__jnl, __ynl): Likewise.
8218 * math/w_lgammal.c (__lgammal): Likewise.
8219 * math/w_log10l.c (__log10l): Likewise.
8220 * math/w_log2l.c (__log2l): Likewise.
8221 * math/w_logl.c (__logl): Likewise.
8222 * math/w_powl.c (__powl): Likewise.
8223 * math/w_remainderl.c (__remainderl): Likewise.
8224 * math/w_scalbl.c (sysv_scalbl): Likewise.
8225 * math/w_sinhl.c (__sinhl): Likewise.
8226 * math/w_sqrtl.c (__sqrtl): Likewise.
8227 * math/w_tgammal.c (__tgammal): Likewise.
8228 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8229 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8230 * math/libm-test.inc (acos_test): Add more tests.
8231 (acosh_test): Likewise.
8232 (asin_test): Likewise.
8233 (atanh_test): Likewise.
8234 (exp_test): Likewise.
8235 (exp10_test): Likewise.
8236 (exp2_test): Likewise.
8237 (expm1_test): Likewise.
8238 (lgamma_test): Likewise.
8239 (log_test): Likewise.
8240 (log10_test): Likewise.
8241 (log1p_test): Likewise.
8242 (log2_test): Likewise.
8243 (pow_test): Do not allow some spurious overflow exceptions.
8244 (sqrt_test): Add more tests.
8245 (tgamma_test): Likewise.
8246 (y0_test): Likewise.
8247 (y1_test): Likewise.
8248 (yn_test): Likewise.
8249
dd62fda6
AB
82502012-03-27 Anton Blanchard <anton@samba.org>
8251
8252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8253 MAP_HUGETLB.
8254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8257
1e3cdfda
AJ
82582012-03-27 David S. Miller <davem@davemloft.net>
8259
b855ab85
DM
8260 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8261
1e3cdfda
AJ
8262 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8263 have-as-vis3 check.
8264
82652012-03-27 Andreas Jaeger <aj@suse.de>
8266
8267 * sysdeps/x86_64/elf/configure.in: Moved to ...
8268 * sysdeps/x86_64/configure.in: ... here.
8269 * sysdeps/x86_64/elf/start.S: Moved to ...
8270 * sysdeps/x86_64/start.S: ... here.
8271 * sysdeps/x86_64/elf/configure: Delete.
8272
8273 * sysdeps/x86_64/configure.in: Merge contents from
8274 sysdeps/i386/configure.in (without i686 check).
8275
8276 * sysdeps/i386/elf/Versions: Merge into ...
8277 * sysdeps/i386/Versions: ... this.
8278 * sysdeps/i386/elf/Versions: Delete file.
8279 * sysdeps/i386/elf/start.S: Moved to ...
8280 * sysdeps/i386/start.S: ...here.
8281 * sysdeps/i386/elf/configure.in: Merge into...
8282 * sysdeps/i386/configure.in: ...here.
8283 * sysdeps/i386/elf/configure.in: Delete file.
8284 * sysdeps/i386/elf/configure: Delete file.
8285
8286 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8287 * debug/backtracesyms.c: ... here.
8288 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8289 * debug/backtracesymsfd.c: ... here.
8290 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8291 * sysdeps/generic/ifunc-sel.h: ... here.
8292
8293 * sysdeps/unix/i386/start.c: Delete file.
8294 * sysdeps/unix/sparc/start.c: Delete file.
8295 * sysdeps/unix/start.c: Delete file.
8296
8297 * sysdeps/sh/elf/configure.in: Moved to ...
8298 * sysdeps/sh/configure.in: ... here.
8299 * sysdeps/sh/elf/start.S: Moved to ...
8300 * sysdeps/sh/start.S: ... here.
8301 * sysdeps/sh/elf/configure: Delete file.
8302
8303 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8304 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8305 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8306 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8307 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8308 * sysdeps/powerpc/powerpc64/start.S: here.
8309 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8310 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8311 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8312 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8313 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8314
8315 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8316 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8317 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8318 * sysdeps/powerpc/powerpc32/start.S: ... here.
8319 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8320 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8321 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8322
8323 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8324 * sysdeps/powerpc/ifunc-sel.h: ... here.
8325 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8326 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8327
8328 * sysdeps/sparc/elf/configure.in: Moved to ...
8329 * sysdeps/sparc/configure.in: ... here.
8330 * sysdeps/sparc/elf/configure: Delete file.
8331 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8332 * sysdeps/sparc/sparc32/start.S: ... here.
8333 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8334 * sysdeps/sparc/sparc64/start.S: ... here.
8335 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8336 * sysdeps/sparc/sparc32/Makefile: ... this.
8337 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8338 * sysdeps/sparc/sparc64/Makefile: ... this.
8339
8340 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8341 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8342 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8343 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8344 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8345 * sysdeps/s390/s390-32/setjmp.S: ... here.
8346 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8347 * sysdeps/s390/s390-32/configure.in: ... here.
8348 * sysdeps/s390/s390-32/elf/configure: Delete file.
8349 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8350 * sysdeps/s390/s390-32/start.S: ... here.
8351
8352 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8353 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8354 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8355 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8356 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8357 * sysdeps/s390/s390-64/setjmp.S: ... here.
8358 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8359 * sysdeps/s390/s390-64/configure.in: ... here
8360 * sysdeps/s390/s390-64/elf/configure: Delete file.
8361 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8362 * sysdeps/s390/s390-64/start.S: ... here.
8363 * sysdeps/s390/s390-64/elf/configure: Delete.
8364
8365 * configure.in: Remove support for elf directories in sysdeps.
8366
8367 * configure: Regenerated.
8368 * sysdeps/i386/configure: Regenerated.
8369 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8370 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8371 * sysdeps/s390/s390-32/configure: Regenerated.
8372 * sysdeps/s390/s390-64/configure: Regenerated.
8373 * sysdeps/sh/configure: Regenerated.
8374 * sysdeps/sparc/configure: Regenerated.
8375 * sysdeps/x86_64/configure: Regenerated.
8376
a3f61311
AS
83772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8378
c876e002
AS
8379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8380
a3f61311
AS
8381 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8382 denormal result into account.
8383
ac4c54f0
RM
83842012-03-25 Roland McGrath <roland@hack.frob.com>
8385
8386 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8387 Reported by Allan McRae <allan@archlinux.org>.
8388
6a9b9c02
JL
83892012-03-23 Jeff Law <law@redhat.com>
8390
8391 * nss/getnssent.c (__nss_getent): Fix typo.
8392
4c42a0c1
DM
83932012-03-23 David S. Miller <davem@davemloft.net>
8394
8395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8396
1532c7ac
L
83972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8400 to pad to uint64_t for each field.
8401 (dl_tls_index): Replace unsigned long with uint64_t.
8402
3ff42526
PP
84032012-03-23 Daniel Jacobowitz <dmj@google.com>
8404 Paul Pluzhnikov <ppluzhnikov@google.com>
8405
8406 [BZ #6528]
8407 * grp/Makefile (otherlibs): Don't set it.
8408 * inet/Makefile (otherlibs): Likewise.
8409 * login/Makefile (otherlibs): Likewise.
8410 * nscd/Makefile (otherlibs): Likewise.
8411 * posix/Makefile (otherlibs): Likewise.
8412 * pwd/Makefile (otherlibs): Likewise.
8413 * rt/Makefile (otherlibs): Likewise.
8414 * sunrpc/Makefile (otherlibs): Likewise.
8415 * nss/Makefile (otherlibs): Likewise.
8416 Add libnss_files to routines and static-only-routines.
8417 ($(objpfx)getent): Remove rule.
8418 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8419 static-only-routines.
8420
7c69cd14
JM
84212012-03-22 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #13892]
8424 * math/s_cexp.c: Include <float.h>.
8425 (__cexp): Handle exp result overflowing not necessarily
8426 overflowing both real and imaginary parts of result.
8427 * math/s_cexpf.c: Likewise.
8428 * math/s_cexpl.c: Likewise.
8429 * math/libm-test.inc (cexp_test): Add more tests.
8430 * sysdeps/i386/fpu/libm-test-ulps: Update.
8431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8432
81b035fe
L
84332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * include/link.h (ELFW): New macro.
8436 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8437 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8438
1da7940c
L
84392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8442 with uint64_t.
8443
b749dbb9
L
84442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8447 declaration.
8448 (struct La_x32_retval): Likewise.
8449
2ff87f3f
L
84502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * sysdeps/x86_64/preconfigure.in: New file.
8453 * sysdeps/x86_64/preconfigure: New generated file.
8454
c0df8e69
JM
84552012-03-22 Joseph Myers <joseph@codesourcery.com>
8456
48e44791
JM
8457 [BZ #13824]
8458 * math/e_exp2l.c: Include <float.h>.
8459 (__ieee754_exp2l): Handle overflow and underflow cases
8460 separately. Only pass fractional part of argument to
8461 __ieee754_expl.
8462 * math/libm-test.inc (exp2_test): Add more tests.
8463
c0df8e69
JM
8464 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8465 negating x to take absolute value.
8466 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8467 Likewise.
8468 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8469 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8470 Likewise.
8471 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8472 computing low part if x was negated.
8473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8474
c8e43ba7
L
84752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8478 la_x32_gnu_pltexit.
8479 (pltexit): Cast int_retval to ptrdiff_t.
8480 * elf/tst-auditmod3b.c: Likewise.
8481 * elf/tst-auditmod4b.c: Likewise.
8482 * elf/tst-auditmod5b.c: Likewise.
8483 * elf/tst-auditmod6b.c: Likewise.
8484 * elf/tst-auditmod6c.c: Likewise.
8485 * elf/tst-auditmod7b.c: Likewise.
8486
8487 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8488 and x32_gnu_pltexit.
8489
8490 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8491 __ELF_NATIVE_CLASS.
8492 (La_x32_regs): New macro.
8493 (La_x32_retval): Likewise.
8494 (la_x32_gnu_pltenter): New function prototype.
8495 (la_x32_gnu_pltexit): Likewise.
8496
7998fa78
AS
84972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8498
dcb33988
AS
8499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8500 exponent.
8501
233fc563
AS
8502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8503
7998fa78
AS
8504 * configure.in (libc_cv_cc_nofma): Check for option to disable
8505 generation of FMA instructions.
8506 * configure: Regenerate.
8507 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8508 * sysdeps/ieee754/dbl-64/Makefile: New file.
8509 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8510 Remove brandred-fma4.
8511 (CFLAGS-brandred-fma4.c): Remove.
8512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8513 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8514 define.
8515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8516 define.
8517
8e95c99a
L
85182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8521 LLONG_MAX != LONG_MAX.
8522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8523 (_fitoa_word): Likewise.
8524 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8525 LLONG_MAX != LONG_MAX.
8526 * stdio-common/_itowa.h: Include <_itoa.h>.
8527 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8528 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8529 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8530 only if not defined.
8531 (_ITOA_WORD_TYPE): Likewise.
8532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8533 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8534
6f4db457
DM
85352012-03-21 David S. Miller <davem@davemloft.net>
8536
8537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8538
7785fe5a
L
85392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8542 of x86_64 when setting libc_cv_slibdir, libdir and
8543 libc_cv_localedir.
8544 * sysdeps/unix/sysv/linux/configure: Regenerated.
8545
4535cd55
JM
85462012-03-21 Joseph Myers <joseph@codesourcery.com>
8547
8548 * manual/lang.texi (Old Varargs): Remove section.
8549 (How Variadic): Update menu.
8550 (va_start): Do not mention varargs.h.
8551
17228132
TS
85522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8553 Joseph Myers <joseph@codesourcery.com>
8554
8555 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8556 link test.
8557 * configure: Regenerated.
8558
8149f976
TS
85592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8560
05f3d1f6
UD
8561 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8562 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8563 conformtest.pl
8149f976 8564
1a4ac776
JM
85652012-03-21 Joseph Myers <joseph@codesourcery.com>
8566
be22ce65
JM
8567 * NOTES: Remove.
8568 * Makefile (files-for-dist): Remove NOTES.
8569 (NOTES): Remove rule.
8570 * README: Don't refer to NOTES.
8571 * manual/creature.texi: Don't include macros.texi.
8572 * manual/intro.texi (creature.texi): Remove comment referring to
8573 NOTES.
8574
40b601fb
JM
8575 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8576 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8577 * configure: Regenerated.
8578 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8579 LIBC_TRY_CC_OPTION.
8580 (libc_cv_as_i686): Likewise.
8581 (libc_cv_cc_avx): Likewise.
8582 (libc_cv_cc_sse2avx): Likewise.
8583 (libc_cv_cc_fma4): Likewise.
8584 (libc_cv_cc_novzeroupper): Likewise.
8585 * sysdeps/i386/configure: Regenerated.
8586
1a4ac776
JM
8587 [BZ #13883]
8588 * sysdeps/i386/fpu/s_cexp.S: Remove.
8589 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8590 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8591 * math/libm-test.inc (cexp_test): Add more tests.
8592 * sysdeps/i386/fpu/libm-test-ulps: Update.
8593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8594
a458e7fe
AM
85952012-03-21 Allan McRae <allan@archlinux.org>
8596
8597 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8598
0cb7efc5
JM
85992012-03-21 Joseph Myers <joseph@codesourcery.com>
8600
8601 [BZ #13871]
8602 * math/w_exp2.c: Do not include <float.h>.
8603 (o_threshold, u_threshold): Remove.
8604 (__exp2): Calculate result before checking finiteness and calling
8605 __kernel_standard.
8606 * math/w_exp2f.c: Likewise.
8607 * math/w_exp2l.c: Likewise.
8608 * math/libm-test.inc (exp2_test): Require overflow exception for
8609 1e6 input.
2460d3aa
JM
8610
8611 [BZ #3866]
8612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8613 range of signed 64-bit integers before using fistpll. Remove
8614 checks for whether integers fit in mantissa bits.
8615 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8616 the range of signed 32-bit integers before using fistpl. Remove
8617 checks for whether integers fit in mantissa bits.
8618 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8619 (__ieee754_powl): Test for y outside the range of signed 64-bit
8620 integers before using fistpll. Reduce 64-bit values to 63-bit
8621 ones as needed.
8622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8623 divide-by-zero is raised for zero to large negative powers.
8624 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8625 (__ieee754_powl): Test for y outside the range of signed 64-bit
8626 integers before using fistpll. Reduce 64-bit values to 63-bit
8627 ones as needed.
8628 * math/libm-test.inc (pow_test): Add more tests.
8629
eb96ffb0
L
86302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8633 <stdio-common/_itoa.h>.
8634 * debug/segfault.c: Likewise.
8635 * elf/dl-cache.c: Likewise.
8636 * elf/dl-minimal.c: Likewise.
8637 * elf/dl-misc.c: Likewise.
8638 * elf/dl-sysdep.c: Likewise.
8639 * elf/dl-version.c: Likewise.
8640 * elf/rtld.c: Likewise.
8641 * hurd/hurdsock.c: Likewise.
8642 * hurd/lookup-retry.c: Likewise.
8643 * malloc/malloc.c: Likewise.
8644 * malloc/mtrace.c: Likewise.
8645 * nscd/nscd_getgr_r.c: Likewise.
8646 * nscd/nscd_getpw_r.c: Likewise.
8647 * nscd/nscd_getserv_r.c: Likewise.
8648 * posix/getopt_init.c: Likewise.
8649 * posix/wordexp.c: Likewise.
8650 * stdio-common/_itoa.c: Likewise.
8651 * stdio-common/printf_fphex.c: Likewise.
8652 * stdio-common/vfprintf.c: Likewise.
8653 * string/_strerror.c: Likewise.
8654 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8655 * sysdeps/i386/i686/hp-timing.h: Likewise.
8656 * sysdeps/mach/_strerror.c: Likewise.
8657 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8658 * sysdeps/mach/hurd/sethostid.c: Likewise.
8659 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8660 * sysdeps/mach/xpg-strerror.c: Likewise.
8661 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8663 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8664 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8665 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8666 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8667 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8668 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8669 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8670 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8671 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8672 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8673 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8674 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8675 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8677 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8678 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8679 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8680 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8682
8683 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8684
8685 * stdio-common/_itoa.h: Moved to ...
8686 * sysdeps/generic/_itoa.h: Here.
8687
8688 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8689
8690 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8691 instead of "_itoa.h" and "_itowa.h".
8692 * stdio-common/vfprintf.: Likewise.
8693
d1af992d
L
86942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8695
8696 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8697 <bits/wordsize.h>.
8698 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8699 (__signbit): Likwise.
8700 (llrintf): Likwise.
8701 (llrint): Likwise.
8702
114883e0
L
87032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8704
8705 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8706 __WORDSIZE != 64.
8707
c135cc1b
JM
87082012-03-20 Joseph Myers <joseph@codesourcery.com>
8709
8710 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8711 OVERFLOW_EXCEPTION_OK.
8712 * math/libm-test.inc ("Philosophy"): Update comment about
8713 exception testing.
8714 (OVERFLOW_EXCEPTION): Define.
8715 (OVERFLOW_EXCEPTION_OK): Likewise.
8716 (INVALID_EXCEPTION_OK): Renumber.
8717 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8718 (IGNORE_ZERO_INF_SIGN): Likewise.
8719 (test_exceptions): Handle FE_OVERFLOW.
8720 (exp10_test): Expect overflow exceptions.
8721 (exp2_test): Likewise.
8722 (expm1_test): Likewise.
8723 (nextafter_test): Likewise.
8724 (pow_test): Likewise.
8725 (scalbn_test): Likewise.
8726 (scalbln_test): Likewise.
8727
95443d88
L
87282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * sysdeps/x86_64/bits/atomic.h
8731 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8732 64bit integer.
8733 (atomic_exchange_acq): Likewise.
8734 (__arch_exchange_and_add_body): Likewise.
8735 (__arch_add_body): Likewise.
8736 (atomic_add_negative): Likewise.
8737 (atomic_add_zero): Likewise.
8738
490df6c4
L
87392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8740
c2722551 8741 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8742 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8743
5e52b189
L
87442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8747 Check __x86_64__ instead of __WORDSIZE.
8748
a9879d4c
L
87492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8752
5df98260
DM
87532012-03-19 David S. Miller <davem@davemloft.net>
8754
e1497744
DM
8755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8756
5df98260
DM
8757 * sysdeps/sparc/fpu/fenv_private.h: New file.
8758 * sysdeps/sparc/fpu/math_private.h: Use it.
8759 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8760 Remove.
8761 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8762 (libc_feholdexcept_setroundl): Remove.
8763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8764 Remove.
8765 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8766 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8767
b4c35121
L
87682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8771 int64_t instead of long int.
8772 (INSERT_WORDS64): Likwise.
8773
56965fd7
L
87742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8775
8776 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8777 _Unwind_GetCFA return to _Unwind_Ptr first.
8778
83d1aec8
JM
87792012-03-19 Joseph Myers <joseph@codesourcery.com>
8780
1897ad44
JM
8781 [BZ #13629]
8782 * math/s_clog.c: Include <float.h>.
8783 (__clog): Scale large or subnormal inputs.
8784 * math/s_clogf.c: Likewise.
8785 * math/s_clogl.c: Likewise.
8786 * math/s_clog10.c: Include <float.h>.
8787 (M_LOG10_2): Define.
8788 (__clog10): Scale large or subnormal inputs.
8789 * math/s_clog10f.c: Likewise.
8790 * math/s_clog10l.c: Likewise.
8791 * math/libm-test.inc (clog_test): Add more tests.
8792 (clog10_test): Likewise.
8793 * sysdeps/i386/fpu/libm-test-ulps: Update.
8794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8795
7726d6a9
JM
8796 [BZ #11451]
8797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8798 x and y.
8799 * math/libm-test.inc (atan2_test): Add another test.
8800
83d1aec8
JM
8801 * Makerules (common-objdir-compile): Remove.
8802 * sysdeps/unix/Makefile (config-generated): Do not add
8803 $(unix-generated) to variable.
8804 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8805 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8806 Remove rule.
8807 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8808 Likewise.
8809 [generic bits/local_lim.h] (before-compile): Do not append to
8810 variable.
8811 [generic bits/local_lim.h] (common-generated): Likewise.
8812 [generic sys/param.h] (before-compile): Do not append to variable.
8813 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8814 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8815 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8816 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8817 include.
8818 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8819 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8820 [generic sys/param.h] ($(addprefix
8821 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8822 [generic sys/param.h] (common-generated): Do not append to
8823 variable.
8824 [generic sys/param.h] (sysdep_headers): Likewise.
8825 [generic bits/errno.h] (before-compile): Do not append to
8826 variable.
8827 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8828 rule.
8829 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8830 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8831 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8832 [generic bits/errno.h] (common-generated): Do not append to
8833 variable.
8834 [generic bits/ioctls.h] (before-compile): Do not append to
8835 variable.
8836 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8837 rule.
8838 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8839 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8840 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8841 rule.
8842 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8843 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8844 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8845 [generic bits/ioctls.h] (common-generated): Do not append to
8846 variable.
8847 [generic sys/syscall.h] (syscall.h): Remove variable.
8848 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8849 rule.
8850 [generic sys/syscall.h] (before-compile): Do not append to
8851 variable.
8852 [generic sys/syscall.h] (common-generated): Likewise.
8853 * sysdeps/unix/errnos-tmpl.c: Remove file.
8854 * sysdeps/unix/errnos.awk: Likewise.
8855 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8856 * sysdeps/unix/ioctls.awk: Likewise.
8857 * sysdeps/unix/mk-local_lim.c: Likewise.
8858 * sysdeps/unix/snarf-ioctls: Likewise.
8859
4851a949
RH
88602012-03-19 Richard Henderson <rth@twiddle.net>
8861
bd37f2ee
RH
8862 * sysdeps/i386/fpu/fenv_private.h: New file.
8863 * sysdeps/i386/fpu/math_private.h: Use it.
8864 (math_opt_barrier, math_force_eval): Remove.
8865 (libc_feholdexcept_setround_53bit): Remove.
8866 (libc_feupdateenv_53bit): Remove.
8867 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8868 (math_opt_barrier, math_force_eval): Remove.
8869 (libc_feholdexcept): Remove.
8870 (libc_feholdexcept_setround): Remove.
8871 (libc_fetestexcept, libc_fesetenv): Remove.
8872 (libc_feupdateenv_test): Remove.
8873 (libc_feupdateenv, libc_feholdsetround): Remove.
8874 (libc_feresetround): Remove.
8875
d0adc922
RH
8876 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8877 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8878
0fe0f1f8
RH
8879 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8880 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8881 (libc_feupdateenv_testl): New.
8882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8883 (libc_feupdateenv_testf): New.
8884 (libc_feupdateenv): Use libc_feupdateenv_test.
8885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8887
eb92c487
RH
8888 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8889 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8890 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8891 (libc_feresetround_noex): New.
8892 (libc_feresetround_noexf): New.
8893 (libc_feresetround_noexl): New.
8894 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8895 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8896 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8897 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8898 SET_RESTORE_ROUND.
8899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8901 (__cos): Likewise.
8902 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8903 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8904 SET_RESTORE_ROUND_NOEX.
8905 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8906 SET_RESTORE_ROUND_NOEXF.
8907 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8908 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8909 (libc_feholdsetroundf): New.
8910 (libc_feresetround, libc_feresetroundf): New.
8911
7d2e8012
RH
8912 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8913 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8914 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8915
b4dabbb4
RH
8916 * sysdeps/generic/math_private.h: Include <fenv.h>.
8917 (default_libc_feholdexcept): New.
8918 (default_libc_feholdexcept_setround): New.
8919 (default_libc_fesetenv, default_libc_feupdateenv): New.
8920 (libc_feholdexcept): Only define if undefined.
8921 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8922 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8923 (libc_feholdexcept_setroundl): Likewise.
8924 (libc_feholdexcept_setround_53bit): Likewise.
8925 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8926 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8927 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8928 (libc_feupdateenv_53bit): Likewise.
8929 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8930 (libc_feholdexcept): Convert from macro to inline function.
8931 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8932 (libc_fesetenv, libc_feupdateenv): Likewise.
8933
4851a949
RH
8934 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8935 not previously defined.
8936 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8937 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8938 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8939 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8940 * sysdeps/ieee754/flt-32/math_private.h: New file.
8941 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8942 math_private.h below SET_FLOAT_WORD.
8943 (__isnan, __isinf_ns, __finite): Remove.
8944 (__isnanf, __isinf_nsf, __finitef): Remove.
8945
e79d442e
AS
89462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8947
8948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8949
90b80344
DM
89502012-03-17 David S. Miller <davem@davemloft.net>
8951
8952 [BZ #6471]
8953 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8954 for 2.16.
8955
edc21804
DM
89562012-03-16 David S. Miller <davem@davemloft.net>
8957
77e927af
DM
8958 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8959 warnings.
8960
374976dd
DM
8961 [BZ #6471]
8962 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8963 properly.
8964 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8965 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8966 sysdep_routines when subdir is sysvipc.
8967 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8968 __getshmlba helper.
8969
edc21804
DM
8970 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8971
473c3ef3
L
89722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8975 [__LP64__].
8976
eb0f39b6
L
89772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8980 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8981 (__lround): Renamed to ...
8982 (__llround): This. Replace long int with long long int.
8983 Define lround functions as aliases of llround functions.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8985
6b6cd74b
L
89862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8989 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8990 adresses to uintptr_t. Replace "long int" and "unsigned long
8991 int" with "greg_t" on va_arg.
8992
f1a77b01
L
89932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8996 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8997
8998 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8999 Move e_machine check before EI_CLASS check. Handle x32
9000 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9001 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9002 SKIP_EM_IA_64 and include
9003 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9004
9005 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9006 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9007 (add_system_dir): New macro.
9008
9009 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9010 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9011
11b90b9f
JM
90122012-03-16 Joseph Myers <joseph@codesourcery.com>
9013
c36e1d23
JM
9014 [BZ #2551]
9015 [BZ #2552]
9016 [BZ #2553]
9017 [BZ #2554]
9018 [BZ #2562]
9019 [BZ #2563]
9020 [BZ #2565]
9021 [BZ #2566]
9022 [BZ #2576]
9023 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9024 (y0): Likewise.
9025 * math/w_j0f.c (j0f): Likewise.
9026 (y0f): Likewise.
9027 * math/w_j0l.c (__j0l): Likewise.
9028 (__y0l): Likewise.
9029 * math/w_j1.c (j1): Likewise.
9030 (y1): Likewise.
9031 * math/w_j1f.c (j1f): Likewise.
9032 (y1f): Likewise.
9033 * math/w_j1l.c (__j1l): Likewise.
9034 (__y1l): Likewise.
9035 * math/w_jn.c (jn): Likewise.
9036 (yn): Likewise.
9037 * math/w_jnf.c (jnf): Likewise.
9038 (ynf): Likewise.
9039 * math/w_jnl.c (__jnl): Likewise.
9040 (__ynl): Likewise.
9041 * math/libm-test.inc (j0_test): Add more tests.
9042 (j1_test): Likewise.
9043 (jn_test): Likewise. Add trailing semicolon to existing test.
9044 (y0_test): Likewise.
9045 (y1_test): Likewise.
9046 * sysdeps/i386/fpu/libm-test-ulps: Update.
9047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9048
11b90b9f
JM
9049 [BZ #13851]
9050 [BZ #13854]
9051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9052 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9053 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9054 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9055 (__tanl): Set errno for infinite argument.
9056 * sysdeps/i386/fpu/mptan.c: Remove.
9057 * sysdeps/i386/fpu/s_tan.S: Likewise.
9058 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9059 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9060 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9061 * math/libm-test.inc (tan_test): Add more tests and enable more
9062 tests for double and long double.
9063 * sysdeps/i386/fpu/libm-test-ulps: Update.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
6a1bd2a1
JK
90662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9067
9068 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9069 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9070
10a803e0
RM
90712012-03-16 Roland McGrath <roland@hack.frob.com>
9072
9073 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9074 * configure.in: Use it for both main tree and add-ons.
9075 * configure: Regenerated.
9076
f196c7f7
L
90772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9080
8848d99d
JM
90812012-03-16 Joseph Myers <joseph@codesourcery.com>
9082
96cbe7f4
JM
9083 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9084 in comment.
9085
8848d99d
JM
9086 [BZ #13851]
9087 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9088 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9092 infinite argument.
9093 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9095 != 0 for prec == 2.
9096 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9097 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9098 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9099 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9100 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9101 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9102 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9103 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9104 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9105 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9106 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9107 * math/libm-test.inc (cos_test): Add more tests and enable more
9108 tests for long double.
9109 (sin_test): Likewise.
9110 (sincos_test): Likewise.
9111 * sysdeps/i386/fpu/libm-test-ulps: Update.
9112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9113
dd7f4703
DM
91142012-03-16 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/sparc/fpu/math_private.h: New file.
9117
006f1daa
DM
91182012-03-15 David S. Miller <davem@davemloft.net>
9119
c0c83bc8
DM
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9121 file.
e6a62e18 9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9124 file.
e6a62e18
DM
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9131 sysdep routines.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9133
88cb87d9
DM
9134 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9135 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9136
006f1daa 9137 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9139 sparc-ifunc.h
006f1daa 9140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9142 Likewise.
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9144 Likewise.
006f1daa
DM
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9149 Likewise.
006f1daa
DM
9150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9155 Likewise.
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9157 Likewise.
006f1daa
DM
9158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9182
11e0098e
AS
91832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9186 scaling.
9187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9188
e85b09d0
AJ
91892012-03-15 Andreas Jaeger <aj@suse.de>
9190
9191 [BZ #13852]
9192 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9193 ieee754/flt-32 implementation for sin, cos and sincos.
9194 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9195 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9196 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9197 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9198 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9199 ieee754/flt-32 implementation for tan.
9200
9201 * math/libm-test.inc (cos_test): Enable some large input tests for
9202 float as well
9203 (sin_test): Likewise.
9204 (sincos_test): Likewise.
9205 (tan_test): Add tests for large input.
9206
9207 * sysdeps/i386/fpu/libm-test-ulps: Update.
9208
81c64153
AJ
92092012-03-15 Andreas Jaeger <aj@suse.de>
9210
9211 [BZ #13658]
9212 * math/libm-test.inc (cos_test): Add more test cases.
9213 (sin_test): Likewise.
9214 (sincos_test): Likewise.
9215
7bbfa5c6
AJ
92162012-03-15 Andreas Jaeger <aj@suse.de>
9217
9218 [BZ #13837]
9219 * math/libm-test.inc (cos_test): Add a test case for large input
9220 value.
9221 (sin_test): Likewise.
9222 (sincos_test): Likewise.
9223
92242012-03-15 Andreas Jaeger <aj@suse.de>,
9225 Joseph Myers <joseph@codesourcery.com>
9226
9227 [BZ #13658]
0671f479 9228 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9229 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9230 * sysdeps/i386/fpu/branred.c: Likewise.
9231 * sysdeps/i386/fpu/dosincos.c: Likewise.
9232 * sysdeps/i386/fpu/mpa.c: Likewise.
9233 * sysdeps/i386/fpu/s_cos.S: Likewise.
9234 * sysdeps/i386/fpu/s_sin.S: Likewise.
9235 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9236 * sysdeps/i386/fpu/sincos32.c: Likewise.
9237
9238 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9239 Define.
9240 (libc_feupdateenv_53bit): Define.
9241 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9242 Define.
9243 (libc_feupdateenv_53bit): Define.
9244
9245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9246 53 bit (without extend i386 double precision).
9247
9248 * math/libm-test.inc (sincos_test): Add tests for large input.
9249 (sin): Likewise.
9250 (cos): Likewise.
9251
9252 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9253
9cad04ea
AS
92542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9255
9256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9257
f7062b9a
DM
92582012-03-15 David S. Miller <davem@davemloft.net>
9259
9260 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9261 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9262 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9263 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9276 file.
f7062b9a 9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9279 file.
f7062b9a 9280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9282 file.
f7062b9a 9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9285 file.
f7062b9a
DM
9286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9288 fmin/fmax sysdep routines.
9289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9290
7bd951ff
DM
92912012-03-14 David S. Miller <davem@davemloft.net>
9292
559398ab
DM
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9322 routines.
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9324 file.
559398ab 9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9327 file.
559398ab 9328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9330 file.
559398ab 9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9333 file.
559398ab 9334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9336 file.
559398ab 9337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9339 file.
9340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9341 file.
9342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9343 file.
9344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9345 file.
9346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9347 New file.
9348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9349 file.
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9351 file.
559398ab 9352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9354 file.
559398ab 9355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9357 file.
559398ab 9358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9360 file.
559398ab 9361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9363 VIS3 routines.
559398ab
DM
9364
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9366 New file.
9367
5a1c1e32
DM
9368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9369
eae47a36
DM
9370 * sysdeps/sparc/configure.in: New file.
9371 * sysdeps/sparc/configure: Generate.
9372 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9373 * configure: Regenerate.
9374 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9375 * config.make.in (have-as-vis3): New.
9376 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9377 available use -Av9d instead of -Av9a.
9378 * sysdeps/sparc/sparc64/Makefile: Likewise.
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9381 New file.
9382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9383 file.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9385 New file.
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9387 file.
eae47a36
DM
9388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9393
c0c83bc8
DM
9394 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9395 fzeros/fnegs to load 0x80000000 into a float register instead of
9396 using the stack.
7bd951ff
DM
9397 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9398
bd951ccb
JM
93992012-03-14 Joseph Myers <joseph@codesourcery.com>
9400
9401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9402 bits/syscall.h.
9403 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9404 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9405 ($(inst_includedir)/bits/syscall.h): Remove rule.
9406 ($(objpfx)bits/syscall.d): Include instead of
9407 $(objpfx)syscall-list.d.
9408 (generated): Change syscall-list.h and syscall-list.d to
9409 bits/syscall.h and bits/syscall.d.
9410
bb4e6db2
RM
94112012-03-14 Roland McGrath <roland@hack.frob.com>
9412
9413 [BZ #13846]
9414 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9415
aa4a2ae1
JM
94162012-03-14 Joseph Myers <joseph@codesourcery.com>
9417
e456826d
JM
9418 [BZ #13841]
9419 * math/s_csqrt.c: Include <float.h>.
9420 (__csqrt): Scale large or subnormal inputs.
9421 * math/s_csqrtf.c: Likewise.
9422 * math/s_csqrtl.c: Likewise.
9423 * math/libm-test.inc (csqrt_test): Add more tests.
9424 * sysdeps/i386/fpu/libm-test-ulps: Update.
9425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9426
aa4a2ae1
JM
9427 [BZ #13840]
9428 * math/libm-test.inc (hypot_test): Add more tests.
9429
7c10fd35
DM
94302012-03-13 David S. Miller <davem@davemloft.net>
9431
9432 [BZ #13840]
9433 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9434 double-precision for the calculation instead of scaling.
9435
f453b98b
JM
94362012-03-13 Joseph Myers <joseph@codesourcery.com>
9437
9438 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9439 manipulate bits before adding and subtracting TWO52[sx].
9440 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9441 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9442 Likewise.
9443 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9444
09a3453f
DM
94452012-03-13 David S. Miller <davem@davemloft.net>
9446
8e59da90
DM
9447 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9448 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9450 rtld-global-offsets.h
9451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9452
2a8ab7f2
DM
9453 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9454 large parameters.
9455
10f62770
DM
9456 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9457
5f0bdb18
DM
9458 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9459 'err' in the ifdef scope in which it is actually used.
9460
09a3453f
DM
9461 * nss/nss_db/db-init.c: Include string.h
9462
b4b2eb5e
DM
94632012-03-12 David S. Miller <davem@davemloft.net>
9464
98bb2f1c
DM
9465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9466 masking out of the most significant byte of random value used.
9467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9468 Fix coding style in previous change.
9469
b4b2eb5e
DM
9470 * sysdeps/unix/sysv/linux/kernel-features.h
9471 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9472 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9473 expression.
9474 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9475 later.
9476
6e226b09
DM
94772012-03-11 David S. Miller <davem@davemloft.net>
9478
a1bcbd40
DM
9479 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9480 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9482 for 'resultvar' otherwise things get truncated on 64-bit.
9483
cb9d6174
DM
9484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9485 Fix masking out of the most significant byte of random value used.
9486
6e226b09
DM
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488
058c132d
AS
94892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9490
9491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9492
2d2cd515
DM
94932012-03-09 David S. Miller <davem@davemloft.net>
9494
9495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9496 variables with appropriate CPP guards.
9497 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9498 frame pointer, not the stack pointer. Correct layout comments. Fix test
9499 on resulting framesize and the management of the outregs buffer for pltexit.
9500 Preserve floating point return values across _dl_call_pltexit call.
9501 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9502 framesize and the management of the outregs buffer for pltexit.
9503 Preserve floating point return values across _dl_call_pltexit
9504 call.
9505 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9506 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9507 (print_exit): Fix format string for return register value.
9508
9a07f9d0
JM
95092012-03-10 Joseph Myers <joseph@codesourcery.com>
9510
9511 * sunrpc/Makefile (others): Add rpcgen.
9512 ($(objpfx)rpcgen): Remove special build rule and dependency on
9513 libc.
9514 * sunrpc/rpcgen.c: New file.
9515
547b5e30
PE
95162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9517
c524201a
PE
9518 [BZ #13673]
9519 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9520 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9521 * sysdeps/i386/crti.S: Likewise.
9522 * sysdeps/i386/crtn.S: Likewise.
9523 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9524 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9525 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9527 * sysdeps/sh/crti.S: Likewise.
9528 * sysdeps/sh/crtn.S: Likewise.
9529 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9530
7b6235f2
PE
9531 [BZ #13673]
9532 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9533 with URL.
9534 * locale/programs/locfile-kw.gperf: Likewise.
9535 * locale/programs/charmap-kw.h: Regenerated.
9536 * locale/programs/locfile-kw.h: Likewise.
9537
547b5e30
PE
9538 [BZ #13673]
9539 * intl/plural.y: Replace FSF snail mail address with URL.
9540 * intl/plural.c: Regenerated.
9541
5f0a5dae
RH
95422012-03-09 Richard Henderson <rth@twiddle.net>
9543
9544 * include/math_private.h: Remove file.
9545 * math/math_private.h: Move file ...
9546 * sysdeps/generic/math_private.h: ... here.
9547
b8c03620
RH
9548 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9549 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9551
4e234f5d 9552 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9553 and <math_private.h>.
9554 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9555 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9556 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9557 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9558 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9642 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9643 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9644 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9645 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9648 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9649 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9654 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9655 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9656 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9659 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9660 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9661 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9662 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9664 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9666 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9668 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9670 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9671 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9674 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9677 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9678 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9680 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9683 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9685 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9687 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9688 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9690 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9692 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9693 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9695 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9696 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9697 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9698 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9700 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9701 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9702 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9703 * sysdeps/ieee754/k_standard.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9836 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9853 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9854 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9864 * sysdeps/ieee754/s_lib_version.c: Likewise.
9865 * sysdeps/ieee754/s_matherr.c: Likewise.
9866 * sysdeps/ieee754/s_signgam.c: Likewise.
9867 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9868 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9869 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9870 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9871 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9872 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9873 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9874 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9875 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9876 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9877 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9878 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9879 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9881 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9888
1991fa03
JM
98892012-03-09 Joseph Myers <joseph@codesourcery.com>
9890
9891 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9892 * sunrpc/rpc_main.c: Likewise.
9893 * sunrpc/rpc_svcout.c: Likewise.
9894
60d6f5a6
DM
98952012-03-09 David S. Miller <davem@davemloft.net>
9896
9897 * include/math_private.h: New file.
9898
4962050e
JM
98992012-03-09 Joseph Myers <joseph@codesourcery.com>
9900
02a6f887
JM
9901 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9902 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9903 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9904 from <bits/socket_type.h>.
9905 (enum __socket_type): Don't define here.
9906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9908 bits/socket_type.h.
9909
c6e013c1
JM
9910 [BZ #13566]
9911 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9912 checking __USE_GNU.
9913
4962050e
JM
9914 * Makerules ($(inst_includedir)/%.h): New rule.
9915 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9916 (install-others): Remove variable setting.
9917 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9918
38842f45
RH
99192012-03-08 Richard Henderson <rth@twiddle.net>
9920
67bb6da6
RH
9921 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9922 from macro to inline function; merge with the
9923 !__LIBC_INTERNAL_MATH_INLINES version.
9924 (__ieee754_sqrtf): Likewise.
9925
15194b4b
RH
9926 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9927 to inline function.
9928 (__rintf, __floor, __floorf): Likewise.
9929
64e21ede
RH
9930 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9931 macro to inline function.
9932 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9933
38842f45
RH
9934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9935 not <math/math_private.h>.
9936
c64bf5fe
DM
99372012-03-08 David S. Miller <davem@davemloft.net>
9938
9939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9940 copyright year.
9941 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9942
82d86f28
TS
99432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9944
9945 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9946 normalization.
9947 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9948 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9949
aea5d727
UD
99502012-03-08 Ulrich Drepper <drepper@gmail.com>
9951
9952 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9953 be defined individually, they must be defined as a block. Define
9954 S for printing a string instead of hidint the different by using a
9955 macro for adding the 'l'.
9956 * stdio-common/tst-fphex-wide.c: Adjust.
9957
70bca0a3
MP
99582012-03-07 Marek Polacek <polacek@redhat.com>
9959
9960 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9961
65b81130
MP
99622012-03-08 Marek Polacek <polacek@redhat.com>
9963
9964 [BZ #13806]
9965 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9966 * stdio-common/tst-fphex.c: Define a few macros to make the
9967 test reusable. Use them.
9968 * stdio-common/tst-fphex-wide.c: New file.
9969
07037eeb
JM
99702012-03-08 Joseph Myers <joseph@codesourcery.com>
9971
a7a93d50
JM
9972 [BZ #6911]
9973 * manual/macros.texi (gnusystems): New macro.
9974 (nongnusystems): Likewise.
9975 (gnulinuxhurdsystems): Likewise.
9976 (gnuhurdsystems): Likewise..
9977 (gnulinuxsystems): Likewise.
9978 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9979 variants of the GNU system, not "GNU system".
9980 * manual/conf.texi: Likewise.
9981 * manual/errno.texi: Likewise. Update example of errno macro
9982 expansion.
9983 * manual/filesys.texi: Likewise.
9984 (getumask): Document as specific to GNU/Hurd.
9985 * manual/install.texi: Likewise. Reword some references to
9986 GNU/Linux.
9987 * manual/intro.texi: Likewise.
9988 * manual/io.texi: Likewise.
9989 (File Name Portability): Detail which constraints are inapplicable
9990 to all GNU systems and which are only inapplicable to GNU/Hurd.
9991 * manual/job.texi: Likewise.
9992 * manual/llio.texi: Likewise.
9993 (O_NOCTTY): Document as present on GNU/Linux.
9994 * manual/maint.texi: Likewise.
9995 * manual/memory.texi: Likewise.
9996 * manual/pattern.texi: Likewise.
9997 * manual/pipe.texi: Likewise.
9998 * manual/process.texi: Likewise.
9999 * manual/resource.texi: Likewise.
10000 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10001 child on GNU/Hurd.
10002 * manual/setjmp.texi: Likewise.
10003 * manual/signal.texi: Likewise.
10004 * manual/startup.texi: Likewise.
10005 * manual/stdio.texi: Likewise.
10006 * manual/terminal.texi: Likewise.
10007 (ONLCR): Document as POSIX.
10008 (OXTABS): Document availability on GNU/Linux as XTABS.
10009 (ONOEOT): Document availability separately from other bits.
10010 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10011 * manual/time.texi: Likewise.
10012 * manual/users.texi: Likewise.
10013 * INSTALL: Regenerated.
10014 * sysdeps/gnu/errlist.c: Regenerated.
10015
07037eeb
JM
10016 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10017 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10018 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10019 puts.
10020 * configure: Regenerated.
10021
d1d3431a
JM
100222012-03-07 Joseph Myers <joseph@codesourcery.com>
10023
af6a1e37
JM
10024 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10025 default includes instead of AC_HEADER_CHECK.
10026 * sysdeps/i386/configure: Regenerated.
10027
d1d3431a
JM
10028 [BZ #10716]
10029 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10030 * math/s_cacoshf.c (__cacoshf): Likewise.
10031 * math/s_cacoshl.c (__cacoshl): Likewise.
10032 * math/s_casinh.c (__casinh): Set signs of result from argument.
10033 * math/s_casinhf.c (__casinhf): Likewise.
10034 * math/s_casinhl.c (__casinhl): Likewise.
10035 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10036 (casinh_test): Add more tests.
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10039
482ff4da
UD
100402012-03-07 Ulrich Drepper <drepper@gmail.com>
10041
872fda05
UD
10042 * po/zh_TW.po: Update from translation team.
10043
a4300c7a
UD
10044 * login/Makefile (distribute): Remove variable.
10045 * catgets/Makefile: Likewise.
10046 * mach/Makefile: Likewise.
10047 * malloc/Makefile: Likewise.
10048 * misc/Makefile: Likewise.
10049 * iconv/Makefile: Likewise.
10050 * nscd/Makefile: Likewise.
10051 * hurd/Makefile: Likewise.
10052 * manual/Makefile: Likewise.
10053 * locale/Makefile: Likewise.
10054 * intl/Makefile: Likewise.
10055 * conform/Makefile: Likewise.
10056 * nss/Makefile: Likewise.
10057 * time/Makefile: Likewise.
10058 * soft-fp/Makefile: Likewise.
10059 * dirent/Makefile: Likewise.
10060 * gmon/Makefile: Likewise.
10061 * po/Makefile: Likewise.
10062 * rt/Makefile: Likewise.
10063 * socket/Makefile: Likewise.
10064 * math/Makefile: Likewise.
10065 * signal/Makefile: Likewise.
10066 * debug/Makefile: Likewise.
10067 * elf/Makefile: Likewise.
10068 * timezone/Makefile: Likewise.
10069 * stdlib/Makefile: Likewise.
10070 * iconvdata/Makefile: Likewise.
10071 * sunrpc/Makefile: Likewise.
10072 * io/Makefile: Likewise.
10073 * argp/Makefile: Likewise.
10074 * inet/Makefile: Likewise.
10075 * hesiod/Makefile: Likewise.
10076 * grp/Makefile: Likewise.
10077 * csu/Makefile: Likewise.
10078 * wctype/Makefile: Likewise.
10079 * crypt/Makefile: Likewise.
10080 * libio/Makefile: Likewise.
10081 * string/Makefile: Likewise.
10082 * nis/Makefile: Likewise.
10083 * resolv/Makefile: Likewise.
10084 * stdio-common/Makefile: Likewise.
10085 * wcsmbs/Makefile: Likewise.
10086 * dlfcn/Makefile: Likewise.
10087 * posix/Makefile: Likewise.
10088
3b7c4e74 10089 [BZ #6959]
482ff4da
UD
10090 * timezone/Makefile: Don't install timezone files, just the programs
10091 and scripts.
10092
f72ed77d
UD
100932012-03-06 Ulrich Drepper <drepper@gmail.com>
10094
a000466f
UD
10095 * nss/databases.def: Add missing gshadow entry.
10096
f72ed77d
UD
10097 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10098
a53b7a4e
MP
100992012-03-06 Marek Polacek <polacek@redhat.com>
10100
10101 [BZ #13726]
10102 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10103 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10104 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10105 * stdio-common/tst-long-dbl-fphex.c: New file.
10106
e9258400
DM
101072012-03-06 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10110 (set_obp_int): New function.
10111 (get_obp_int): New function.
10112 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10114 Avoid unused variable warnings on 'val' and use builtin_expect.
10115 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10116 __builtin_expect.
e9258400
DM
10117 (INLINE_CLONE_SYSCALL): Likewise.
10118
3bd2c723
DM
101192012-03-05 David S. Miller <davem@davemloft.net>
10120
10121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10122
bbb78d03
AS
101232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10124
884c5db4
AS
10125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10126
bbb78d03
AS
10127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10128 only for |x| >= 40.
10129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10130
1c9f702a 101312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10132
10133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10134 Replace gettimeofday with __vdso_gettimeofday.
10135
7be16f82
RM
10136 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10137 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10138 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10139
10140 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10141 time with __vdso_time.
10142
ed58a00f
JM
101432012-03-05 Joseph Myers <joseph@codesourcery.com>
10144
10145 * manual/lang.texi (size_t): Note types to which size_t may be
10146 equivalent with the GNU C Library, but do not describe when
10147 differences between them are significant.
10148
30ee4ced
AJ
101492012-03-05 Andreas Jaeger <aj@suse.de>
10150
10151 * sysdeps/i386/fpu/libm-test-ulps: Update.
10152
b7cd39e8
JM
101532012-03-05 Joseph Myers <joseph@codesourcery.com>
10154
10155 [BZ #3976]
10156 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10157 (__ieee754_pow): Save and restore rounding mode and use
10158 round-to-nearest for main computations.
10159 * math/libm-test.inc (pow_test_tonearest): New function.
10160 (pow_test_towardzero): Likewise.
10161 (pow_test_downward): Likewise.
10162 (pow_test_upward): Likewise.
10163 (main): Call the new functions.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10166
10167 [BZ #3976]
10168 * math/libm-test.inc (cosh_test_tonearest): New function.
10169 (cosh_test_towardzero): Likewise.
10170 (cosh_test_downward): Likewise.
10171 (cosh_test_upward): Likewise.
10172 (sinh_test_tonearest): Likewise.
10173 (sinh_test_towardzero): Likewise.
10174 (sinh_test_downward): Likewise.
10175 (sinh_test_upward): Likewise.
10176 (main): Call the new functions.
10177 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10179
6c6a98c9
TV
101802012-03-05 Tom de Vries <tom@codesourcery.com>
10181
10182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10183 default stack guard is set in last bytes.
10184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10185
21bb2d2e 101862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10187
21bb2d2e 10188 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10189
21bb2d2e
AJ
10190 [BZ #13656]
10191 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10192 possibly allocate from heap instead of stack.
10193 * stdio-common/bug-vfprintf-nargs.c: New file.
10194 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10195
c6922934
AS
101962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10197
10198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199
bc957d53
MP
102002012-03-03 Marek Polacek <polacek@redhat.com>
10201
10202 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10203 * math/math_private.h: Likewise.
10204 * stdlib/tst-strtod.c: Likewise.
10205 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10206 * sysdeps/x86_64/bits/atomic.h: Likewise.
10207
6358490d
DM
102082012-03-02 David S. Miller <davem@davemloft.net>
10209
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10214 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10215 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10216 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10217 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10218
01ae168d
RM
102192012-03-02 Roland McGrath <roland@hack.frob.com>
10220
d9a17c07
RM
10221 [BZ #13792]
10222 * manual/examples/README: New file, says the example source files
10223 can be used under GPL>=2.
10224 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10225 line containing just "*/".
10226 * manual/examples/add.c: Add copyright header (GPL>=2).
10227 * manual/examples/argp-ex1.c: Likewise.
10228 * manual/examples/argp-ex2.c: Likewise.
10229 * manual/examples/argp-ex3.c: Likewise.
10230 * manual/examples/argp-ex4.c: Likewise.
10231 * manual/examples/atexit.c: Likewise.
10232 * manual/examples/db.c: Likewise.
10233 * manual/examples/dir.c: Likewise.
10234 * manual/examples/dir2.c: Likewise.
10235 * manual/examples/execinfo.c: Likewise.
10236 * manual/examples/filecli.c: Likewise.
10237 * manual/examples/filesrv.c: Likewise.
10238 * manual/examples/fmtmsgexpl.c: Likewise.
10239 * manual/examples/genpass.c: Likewise.
10240 * manual/examples/inetcli.c: Likewise.
10241 * manual/examples/inetsrv.c: Likewise.
10242 * manual/examples/isockad.c: Likewise.
10243 * manual/examples/longopt.c: Likewise.
10244 * manual/examples/memopen.c: Likewise.
10245 * manual/examples/memstrm.c: Likewise.
10246 * manual/examples/mkfsock.c: Likewise.
10247 * manual/examples/mkisock.c: Likewise.
10248 * manual/examples/mygetpass.c: Likewise.
10249 * manual/examples/pipe.c: Likewise.
10250 * manual/examples/popen.c: Likewise.
10251 * manual/examples/rprintf.c: Likewise.
10252 * manual/examples/search.c: Likewise.
10253 * manual/examples/select.c: Likewise.
10254 * manual/examples/setjmp.c: Likewise.
10255 * manual/examples/sigh1.c: Likewise.
10256 * manual/examples/sigusr.c: Likewise.
10257 * manual/examples/stpcpy.c: Likewise.
10258 * manual/examples/strdupa.c: Likewise.
10259 * manual/examples/strftim.c: Likewise.
10260 * manual/examples/strncat.c: Likewise.
10261 * manual/examples/subopt.c: Likewise.
10262 * manual/examples/swapcontext.c: Likewise.
10263 * manual/examples/termios.c: Likewise.
10264 * manual/examples/testopt.c: Likewise.
10265 * manual/examples/testpass.c: Likewise.
10266 * manual/examples/timeval_subtract.c: Likewise.
10267
01ae168d
RM
10268 [BZ #13792]
10269 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10270 function to ...
10271 * manual/timeval_subtract.c.texi: ... here, new file.
10272
49efa33d
DM
102732012-03-02 David S. Miller <davem@davemloft.net>
10274
10275 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10276
28afd92d
JM
102772012-03-02 Joseph Myers <joseph@codesourcery.com>
10278
804360ed
JM
10279 [BZ #3976]
10280 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10281 (__sin): Save and restore rounding mode and use round-to-nearest
10282 for all computations.
10283 (__cos): Save and restore rounding mode and use round-to-nearest
10284 for all computations.
10285 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10286 <fenv.h>.
10287 (tan): Save and restore rounding mode and use round-to-nearest for
10288 all computations.
10289 * math/libm-test.inc (cos_test_tonearest): New function.
10290 (cos_test_towardzero): Likewise.
10291 (cos_test_downward): Likewise.
10292 (cos_test_upward): Likewise.
10293 (sin_test_tonearest): Likewise.
10294 (sin_test_towardzero): Likewise.
10295 (sin_test_downward): Likewise.
10296 (sin_test_upward): Likewise.
10297 (tan_test_tonearest): Likewise.
10298 (tan_test_towardzero): Likewise.
10299 (tan_test_downward): Likewise.
10300 (tan_test_upward): Likewise.
10301 (main): Call the new functions.
10302 * sysdeps/i386/fpu/libm-test-ulps: Update.
10303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10304
a6d06d7b
JM
10305 [BZ #10135]
10306 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10307 small n, then large n, before computing and testing k+n.
10308 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10310 Likewise.
10311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10312 Likewise.
10313 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10314 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10321 * math/libm-test.inc (scalbn_test): Add more tests.
10322 (scalbln_test): Likewise.
10323
07e12bb3
JM
10324 * manual/filesys.texi (mode_t): Describe constraints on size and
10325 signedness, not exact equivalence to a particular type.
10326 (ino_t): Likewise.
10327 (ino64_t): Likewise.
10328 (dev_t): Likewise.
10329 (nlink_t): Likewise.
10330 (blkcnt_t): Likewise.
10331 (blkcnt64_t): Likewise.
10332 * manual/llio.texi (off_t): Likewise.
10333
28afd92d
JM
10334 [BZ #3976]
10335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10336 (__ieee754_exp): Save and restore rounding mode and use
10337 round-to-nearest for all computations.
10338 * math/libm-test.inc (exp_test_tonearest): New function.
10339 (exp_test_towardzero): Likewise.
10340 (exp_test_downward): Likewise.
10341 (exp_test_upward): Likewise.
10342 (main): Call the new functions.
10343 * sysdeps/i386/fpu/libm-test-ulps: Update.
10344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10345
b1eeb65d
CD
103462012-03-01 Chris Demetriou <cgd@google.com>
10347
10348 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10349 have predictable order.
10350
53362a4b
DM
103512012-03-01 David S. Miller <davem@davemloft.net>
10352
3c969083
DM
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10354
759707de
DM
10355 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10356 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10357 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10358 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10359
dfdb8ff2
DM
10360 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10361 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10362 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10364 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10365 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10366 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10367 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10368 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10369
ead89f96
DM
10370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10371
7f66bd07
DM
10372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10373 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10375
53362a4b
DM
10376 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10378 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10384 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10385 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10386 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10392 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10393 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10394 * sysdeps/sparc/elf/configure: Regenerated.
10395
7b1902cb
JM
103962012-03-01 Joseph Myers <joseph@codesourcery.com>
10397
bec039bc
JM
10398 * configure.in (AS, LD): Require binutils 2.20 or later.
10399 * configure: Regenerated.
10400 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10401 as required minimum version.
10402 * INSTALL: Regenerated.
10403
7b1902cb
JM
10404 [BZ #2541]
10405 [BZ #4108]
10406 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10407 before squaring exponent.
10408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10409 bottom long double and 27 bits of top long double before squaring
10410 exponent.
10411 * math/libm-test.inc (erfc_test): Add more tests.
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415
f775c276
KT
104162012-03-01 Kai Tietz <ktietz@redhat.com>
10417
10418 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10419 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10420 containing bit-fields.
10421 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10422 * soft-fp/single.h (_FP_UNION_S): Likewise.
10423 * soft-fp/double.h (_FP_UNION_D): Likewise.
10424
5b8a4d4a
JM
104252012-02-29 Joseph Myers <joseph@codesourcery.com>
10426
0bab47b6
JM
10427 [BZ #13786]
10428 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10429 not include ../strcmp.S.
10430 [USE_AS_STRNCASECMP_L]: Likewise.
10431 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10432 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10433 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10434 (__strncasecmp_l_ia32): Define as alias to
10435 __strncasecmp_l_nonascii.
10436
0fcad3e2
JM
10437 [BZ #5794]
10438 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10439 * sysdeps/i386/fpu/libm-test-ulps: Update.
10440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
5b8a4d4a
JM
10442 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10444
8fdceb2e
JL
104452012-02-29 Jeff Law <law@redhat.com>
10446
10447 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10448 out of bounds read.
10449
1f393a11
MP
104502012-02-29 Marek Polacek <polacek@redhat.com>
10451
10452 [BZ #13706]
10453 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10454 * elf/Makefile: Add rules to run tst-unused-dep.out.
10455
8847f037
DM
104562012-02-28 David S. Miller <davem@davemloft.net>
10457
10458 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10459 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10462 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10463 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10464
169d7f11
JM
104652012-02-29 Joseph Myers <joseph@codesourcery.com>
10466
10467 * math/libm-test.inc (llround_test): Move one test from
10468 lround_test. Use TEST_f_L in moved test.
10469 (lround_test): Move misplaced test to llround_test. Add testcase
10470 from bug 2561.
10471
39adf059
UD
104722012-02-28 Ulrich Drepper <drepper@gmail.com>
10473
10474 * sysdeps/x86_64/fpu/e_expf.S: New file.
10475 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10476
71b5d1c5
SB
104772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10478
10479 [BZ #13637]
10480 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10481 of remain_len that may cause incomplete multi-byte character and
10482 false match.
10483 * posix/bug-regex33.c: New file.
10484 * posix/Makefile (tests): Add bug-regex33.
10485
1f77f049
JM
104862012-02-28 Joseph Myers <joseph@codesourcery.com>
10487
10488 * manual/macros.texi: New file.
10489 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10490 * manual/libc.texinfo: Include macros.texi.
10491 * manual/creatute.texi: Likewise.
10492 * manual/install.texi: Likewise.
10493 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10494 @glibcadj{} in references to the GNU C Library.
10495 * manual/charset.texi: Likewise.
10496 * manual/conf.texi: Likewise.
10497 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10498 when not using those macros.
10499 * manual/creature.texi: Likewise.
10500 * manual/crypt.texi: Likewise.
10501 * manual/errno.texi: Likewise.
10502 * manual/filesys.texi: Likewise.
10503 * manual/header.texi: Likewise.
10504 * manual/install.texi: Likewise.
10505 * manual/intro.texi: Likewise.
10506 * manual/io.texi: Likewise.
10507 * manual/job.texi: Likewise.
10508 * manual/lang.texi: Likewise.
10509 * manual/libc.texiinfo: Likewise.
10510 * manual/llio.texi: Likewise.
10511 * manual/locale.texi: Likewise.
10512 * manual/maint.texi: Likewise.
10513 * manual/math.texi: Likewise.
10514 * manual/memory.texi: Likewise.
10515 * manual/message.texi: Likewise.
10516 * manual/nss.texi: Likewise.
10517 * manual/pattern.texi: Likewise.
10518 * manual/process.texi: Likewise.
10519 * manual/resource.texi: Likewise.
10520 * manual/search.texi: Likewise.
10521 * manual/setjmp.texi: Likewise.
10522 * manual/signal.texi: Likewise.
10523 * manual/socket.texi: Likewise.
10524 * manual/startup.texi: Likewise.
10525 * manual/stdio.texi: Likewise.
10526 * manual/string.texi: Likewise.
10527 * manual/sysinfo.texi: Likewise.
10528 * manual/syslog.texi: Likewise.
10529 * manual/terminal.texi: Likewise.
10530 * manual/time.texi: Likewise.
10531 * manual/users.texi: Likewise.
10532 * INSTALL: Regenerated.
10533 * NOTES: Regenerated.
d40c5d54 10534 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10535
450bf206
AS
105362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10537
10538 * include/dirent.h: Include <dirstream.h> before
10539 <dirent/dirent.h>.
10540
741a235b
DM
105412012-02-28 David S. Miller <davem@davemloft.net>
10542
10543 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10544 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10545 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10547
d6b5aa58
DM
105482012-02-27 David S. Miller <davem@davemloft.net>
10549
1aff59a3
DM
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10552 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10553 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10554
d6b5aa58
DM
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10556 frame pointer instead of stack pointer relative arg slot.
10557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10558 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10559 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10560
433f48bf
CD
105612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10562
10563 [BZ #3992]
10564 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10565
d674b76d
DM
105662012-02-27 David S. Miller <davem@davemloft.net>
10567
10568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10574 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10576
0e7727f7
JM
105772012-02-27 Joseph Myers <joseph@codesourcery.com>
10578
10579 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10580 later. Allow versions 5-9.
43be4ca2 10581 * configure: Regenerated.
0e7727f7
JM
10582 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10583 required minimum version and 4.6 as recommended version. Do not
10584 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10585 * INSTALL: Regenerated.
0e7727f7 10586
a78bc654
DM
105872012-02-27 David S. Miller <davem@davemloft.net>
10588
428d5830
DM
10589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10595 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10597
a78bc654
DM
10598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10599 manipulate bits before adding and subtracting TWO112[sx].
10600 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10601
4579f81c
RM
106022012-02-27 Roland McGrath <roland@hack.frob.com>
10603
36c8acb4
RM
10604 [BZ #13775]
10605 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10606 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10607 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10608 being in POSIX, because they are in 1003.1-2008.
10609
84ad622b
RM
10610 * rt/tst-aio.c: Include <fcntl.h>.
10611 * rt/tst-aio7.c: Likewise.
10612 * rt/tst-aio64.c: Likewise.
10613
4579f81c
RM
10614 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10615
abd923db
JM
106162012-02-27 Joseph Myers <joseph@codesourcery.com>
10617
10618 * manual/install.texi (--with-headers): Describe headers as
10619 interface headers, not private headers.
10620 (Specific advice for GNU/Linux systems): Describe use of headers
10621 from "make headers_install", not private headers from older
10622 kernels.
43be4ca2 10623 * INSTALL: Regenerated.
abd923db
JM
10624 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10625 Change to 2.6.19.
10626 * sysdeps/unix/sysv/linux/configure: Regenerated.
10627
6664049b
JM
10628 * manual/llio.texi (fclean): Remove documentation.
10629
bb8b6697
JM
10630 * manual/Makefile (libc-texi-generated): New variable. Include
10631 version.texi.
10632 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10633 $(libc-texi-generated), not duplicated list of files.
10634 (version.texi, stamp-version): New rules.
10635 (realclean): Remove $(libc-texi-generated), not individual files
10636 from that list. Do not remove dir-add.texinfo.
10637 * manual/libc.texinfo: Comment out uses of edition numbers and
10638 references to printed manual. Remove last-updated dates.
10639 (EDITION): Comment out.
10640 (ISBN): Likewise.
10641 (VERSION, UPDATED): Remove.
10642 (version.texi): Include.
10643
12e5c3b9
AS
106442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10645
10646 * sysdeps/posix/spawni.c: Include <signal.h>.
10647 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10648 * sysdeps/pthread/aio_fsync.c: Likewise.
10649
4efeffc1 106502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10651
ba63ba08
UD
10652 * conform/Makefile (tests): Run only when not cross-compiling and
10653 when fast-check is not defined.
10654
d94a4670
UD
10655 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10656 * conform/data/limits.h-data: Fixes for POSIX2008.
10657 * conform/run-conformtest.sh: Run all tests.
10658 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10659 headers.
10660 * include/bits/dlfcn.h: Likewise.
10661 * include/langinfo.h: Likewise.
10662 * include/monetary.h: Likewise.
10663 * include/sys/poll.h: Likewise.
10664
10665 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10666 for __USE_GNU.
10667 * posix/spawn.h: Define __need_sigset_t.
10668 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10669 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10670 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10671 to get sigevent_t only.
10672 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10673 only for __USE_GNU.
10674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10675 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10676 process_vm_writev only for __USE_GNU.
10677 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10678
10679 * conform/Makefile: For now ignore errors from run-conformtest.
10680 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10681 POSIX to avoid namespace pollution. Don't prepend headers.
10682 * conform/data/aio.h-data: Fixes for POSIX testing.
10683 * conform/data/fcntl.h-data: Likewise.
10684 * conform/data/glob.h-data: Likewise.
10685 * conform/data/grp.h-data: Likewise.
10686 * conform/data/pthread.h-data: Likewise.
10687 * conform/data/pwd.h-data: Likewise.
10688 * conform/data/signal.h-data: Likewise.
10689 * conform/data/spawn.h-data: Likewise.
10690 * conform/data/stdio.h-data: Likewise.
10691 * conform/data/stdlib.h-data: Likewise.
10692 * conform/data/stropts.h-data: Likewise.
10693 * conform/data/sys/mman.h-data: Likewise.
10694 * conform/data/sys/stat.h-data: Likewise.
10695 * conform/data/sys/types.h-data: Likewise.
10696 * conform/data/sys/wait.h-data: Likewise.
10697 * conform/data/time.h-data: Likewise.
10698 * conform/data/unistd.h-data: Likewise.
10699 * conform/data/utime.h-data: Likewise.
10700
10701 * io/sys/stat.h: fchmod was always in POSIX.
10702 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10703 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10704 * rt/aio.h: Define __need_timespec before including <time.h>.
10705 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10706 struct. Add forward declaration of pthread_attr_t and use it in
10707 sigevent.
10708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10710 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10711 always remove CLK_TCK definition.
10712
c20105c3
AS
107132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10714
10715 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10716
7a270350
UD
107172012-02-25 Ulrich Drepper <drepper@gmail.com>
10718
31341567
UD
10719 * conform/run-conformtest.sh: New file.
10720 * conform/Makefile: Run run-conformtest for tests.
10721 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10722 support.
10723
10724 * conform/data/uchar.h-data: New file.
10725 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10726 * conform/data/arpa/inet.h-data: Likewise.
10727 * conform/data/assert.h-data: Likewise.
10728 * conform/data/complex.h-data: Likewise.
10729 * conform/data/cpio.h-data: Likewise.
10730 * conform/data/ctype.h-data: Likewise.
10731 * conform/data/dirent.h-data: Likewise.
10732 * conform/data/dlfcn.h-data: Likewise.
10733 * conform/data/errno.h-data: Likewise.
10734 * conform/data/fcntl.h-data: Likewise.
10735 * conform/data/float.h-data: Likewise.
10736 * conform/data/fmtmsg.h-data: Likewise.
10737 * conform/data/fnmatch.h-data: Likewise.
10738 * conform/data/ftw.h-data: Likewise.
10739 * conform/data/glob.h-data: Likewise.
10740 * conform/data/grp.h-data: Likewise.
10741 * conform/data/iconv.h-data: Likewise.
10742 * conform/data/inttypes.h-data: Likewise.
10743 * conform/data/langinfo.h-data: Likewise.
10744 * conform/data/libgen.h-data: Likewise.
10745 * conform/data/limits.h-data: Likewise.
10746 * conform/data/locale.h-data: Likewise.
10747 * conform/data/math.h-data: Likewise.
10748 * conform/data/monetary.h-data: Likewise.
10749 * conform/data/mqueue.h-data: Likewise.
10750 * conform/data/ndbm.h-data: Likewise.
10751 * conform/data/net/if.h-data: Likewise.
10752 * conform/data/netdb.h-data: Likewise.
10753 * conform/data/netinet/in.h-data: Likewise.
10754 * conform/data/nl_types.h-data: Likewise.
10755 * conform/data/poll.h-data: Likewise.
10756 * conform/data/pthread.h-data: Likewise.
10757 * conform/data/pwd.h-data: Likewise.
10758 * conform/data/regex.h-data: Likewise.
10759 * conform/data/sched.h-data: Likewise.
10760 * conform/data/search.h-data: Likewise.
10761 * conform/data/semaphore.h-data: Likewise.
10762 * conform/data/setjmp.h-data: Likewise.
10763 * conform/data/signal.h-data: Likewise.
10764 * conform/data/spawn.h-data: Likewise.
10765 * conform/data/stdarg.h-data: Likewise.
10766 * conform/data/stdio.h-data: Likewise.
10767 * conform/data/stdlib.h-data: Likewise.
10768 * conform/data/string.h-data: Likewise.
10769 * conform/data/strings.h-data: Likewise.
10770 * conform/data/stropts.h-data: Likewise.
10771 * conform/data/sys/ipc.h-data: Likewise.
10772 * conform/data/sys/mman.h-data: Likewise.
10773 * conform/data/sys/msg.h-data: Likewise.
10774 * conform/data/sys/resource.h-data: Likewise.
10775 * conform/data/sys/select.h-data: Likewise.
10776 * conform/data/sys/sem.h-data: Likewise.
10777 * conform/data/sys/shm.h-data: Likewise.
10778 * conform/data/sys/socket.h-data: Likewise.
10779 * conform/data/sys/stat.h-data: Likewise.
10780 * conform/data/sys/statvfs.h-data: Likewise.
10781 * conform/data/sys/time.h-data: Likewise.
10782 * conform/data/sys/timeb.h-data: Likewise.
10783 * conform/data/sys/times.h-data: Likewise.
10784 * conform/data/sys/types.h-data: Likewise.
10785 * conform/data/sys/uio.h-data: Likewise.
10786 * conform/data/sys/un.h-data: Likewise.
10787 * conform/data/sys/utsname.h-data: Likewise.
10788 * conform/data/sys/wait.h-data: Likewise.
10789 * conform/data/syslog.h-data: Likewise.
10790 * conform/data/tar.h-data: Likewise.
10791 * conform/data/termios.h-data: Likewise.
10792 * conform/data/utime.h-data: Likewise.
10793 * conform/data/utmpx.h-data: Likewise.
10794 * conform/data/varargs.h-data: Likewise.
10795 * conform/data/wchar.h-data: Likewise.
10796 * conform/data/wctype.h-data: Likewise.
10797 * conform/data/wordexp.h-data: Likewise.
10798
10799 * include/stropts.h: New file.
10800 * include/uchar.h: New file.
10801 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10802 * include/assert.h: Likewise.
10803 * include/ctype.h: Likewise.
10804 * include/dirent.h: Likewise.
10805 * include/dlfcn.h: Likewise.
10806 * include/fcntl.h: Likewise.
10807 * include/fnmatch.h: Likewise.
10808 * include/glob.h: Likewise.
10809 * include/grp.h: Likewise.
10810 * include/libio.h: Likewise.
10811 * include/locale.h: Likewise.
10812 * include/math.h: Likewise.
10813 * include/net/if.h: Likewise.
10814 * include/netdb.h: Likewise.
10815 * include/netinet/in.h: Likewise.
10816 * include/pthread.h: Likewise.
10817 * include/pwd.h: Likewise.
10818 * include/regex.h: Likewise.
10819 * include/sched.h: Likewise.
10820 * include/search.h: Likewise.
10821 * include/setjmp.h: Likewise.
10822 * include/signal.h: Likewise.
10823 * include/stdio.h: Likewise.
10824 * include/stdlib.h: Likewise.
10825 * include/string.h: Likewise.
10826 * include/sys/cdefs.h: Likewise.
10827 * include/sys/mman.h: Likewise.
10828 * include/sys/msg.h: Likewise.
10829 * include/sys/resource.h: Likewise.
10830 * include/sys/select.h: Likewise.
10831 * include/sys/socket.h: Likewise.
10832 * include/sys/stat.h: Likewise.
10833 * include/sys/statvfs.h: Likewise.
10834 * include/sys/time.h: Likewise.
10835 * include/sys/times.h: Likewise.
10836 * include/sys/uio.h: Likewise.
10837 * include/sys/utsname.h: Likewise.
10838 * include/sys/wait.h: Likewise.
10839 * include/termios.h: Likewise.
10840 * include/time.h: Likewise.
10841 * include/ulimit.h: Likewise.
10842 * include/unistd.h: Likewise.
10843 * include/utime.h: Likewise.
10844 * include/wchar.h: Likewise.
10845 * include/wctype.h: Likewise.
10846 * include/wordexp.h: Likewise.
10847
10848 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10849
7a270350
UD
10850 * time/time.h: TIME_UTC must be a macro.
10851 Make timespec_get available for ISO C11 only as well.
10852
7724defc
UD
108532012-02-24 Ulrich Drepper <drepper@gmail.com>
10854
10855 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10856 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10857
6b1d1d46
JM
108582012-02-24 Joseph Myers <joseph@codesourcery.com>
10859
10860 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10861
0f8bbd69
JM
108622012-02-24 Joseph Myers <joseph@codesourcery.com>
10863
10864 * manual/texinfo.tex: Update to version 2012-01-19.16.
10865
66ab80bc
JM
108662012-02-24 Joseph Myers <joseph@codesourcery.com>
10867
10868 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10869
74981cc5
RM
108702012-02-24 Roland McGrath <roland@hack.frob.com>
10871
ee968201
RM
10872 [BZ #13738]
10873 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10874 * manual/fdl-1.3.texi: New file.
10875 * manual/fdl-1.1.texi: File removed.
10876
74981cc5
RM
10877 [BZ #13738]
10878 * manual/libc.texinfo (FDL_VERSION): New @set.
10879 Use it for mention of FDL in cover text.
10880 (Documentation License): Use it in @include file name.
10881
7bb764bc
JM
108822012-02-22 Joseph Myers <joseph@codesourcery.com>
10883 Roland McGrath <roland@hack.frob.com>
10884
10885 [BZ #5461]
10886 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10887 not LONG_LONG_MAX and LONG_LONG_MIN.
10888 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10889 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10890 name.
10891 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10892
6cbeae47
JM
108932012-02-22 Joseph Myers <joseph@codesourcery.com>
10894
10895 [BZ #2547]
10896 [BZ #11365]
10897 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10898 manipulate bits before adding and subtracting TWO23[sx].
10899 * math/libm-test.inc (nearbyint_test): Add more tests.
10900
fe45ce09
JM
109012012-02-22 Joseph Myers <joseph@codesourcery.com>
10902
10903 [BZ #2548]
10904 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10905 bits before adding and subtracting TWO23[sx].
10906 * math/libm-test.inc (rint_test): Add more tests.
10907 (rint_test_tonearest): Likewise.
10908 (rint_test_towardzero): Likewise.
10909 (rint_test_downward): Likewise.
10910 (rint_test_upward: Likewise.
10911
ff3b3d82
JM
109122012-02-22 Joseph Myers <joseph@codesourcery.com>
10913
10914 [BZ #10110]
10915 * include/stdc-predef.h: New file. Extracted from features.h.
10916 * include/features.h: Include stdc-predef.h.
10917 * Makefile (headers): Add stdc-predef.h.
10918 * CONFORMANCE (Compiler limitations): Update.
10919
ef0aab35
JM
109202012-02-22 Joseph Myers <joseph@codesourcery.com>
10921
10922 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10923
58639409
DM
109242012-02-21 David S. Miller <davem@davemloft.net>
10925
10926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10928
c0e70b25
DM
109292012-02-20 David S. Miller <davem@davemloft.net>
10930
10931 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10932 using a normal save/restore sequence, rather than allocating a
10933 dummy stack frame just to store a frame pointer and restore.
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10935
fb06851d
JM
109362012-02-21 Joseph Myers <joseph@codesourcery.com>
10937
10938 * manual/install.texi: Fix stray word in line-wrapped comment.
10939
7a8b71c3
DM
109402012-02-20 David S. Miller <davem@davemloft.net>
10941
d510c123
DM
10942 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10943 both binutils and gcc support GOTDATA.
10944
0722d7c2
DM
10945 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10946 "rd %pc" in the PIC register setup sequences.
10947
3d2b3019
DM
10948 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10949 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10950 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10951 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10952 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10957 (SYSCALL_ERROR_HANDLER): Likewise.
10958 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10961 (SYSCALL_ERROR_HANDLER): Likewise.
10962
c80098a9
DM
10963 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10964 (HAVE_GCC_GOTDATA): New.
10965 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10966 relocation support in both binutils and gcc.
10967 * sysdeps/sparc/elf/configure: Regenerate.
10968
3a2545a0
DM
10969 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10970 * sysdeps/sparc/sparc32/elf/configure: Delete.
10971 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10972 * sysdeps/sparc/sparc64/elf/configure: Delete.
10973 * sysdeps/sparc/elf/configure.in: New file.
10974 * sysdeps/sparc/elf/configure: Generate.
10975
7a8b71c3
DM
10976 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10977 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10978 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10979 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10980 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10981
f1e86fca
JM
109822012-02-21 Joseph Myers <joseph@codesourcery.com>
10983
10984 * manual/install.texi: Do not mention specific glibc version
10985 numbers.
10986 * manual/libc.texinfo (VERSION, UPDATED): Update.
10987 (@copying): Use @copyright{} and range of years.
10988
0e7dfaef
JM
109892012-02-21 Joseph Myers <joseph@codesourcery.com>
10990
10991 [BZ #13695]
10992 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10993 [crti.S not in sysdirs] (generated): Do not append.
10994 [crti.S not in sysdirs] (omit-deps): Likewise.
10995 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10996 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10997 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10998 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10999 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11000 Likewise.
11001 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11002 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11003 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11004 * csu/defs.awk: Remove file.
11005 * sysdeps/generic/initfini.c: Likewise.
11006 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11007 variable.
11008 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11009 Likewise.
11010
599af3ca
JM
110112012-02-20 Joseph Myers <joseph@codesourcery.com>
11012
11013 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11014 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11018 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11019 <bits/epoll.h>.
11020 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11021 (__EPOLL_PACKED): Define to empty if not defined by
11022 <bits/epoll.h>.
11023 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11025 bits/epoll.h.
11026
0e499750
JM
110272012-02-20 Joseph Myers <joseph@codesourcery.com>
11028
11029 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11030 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11031 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11032 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11033 <bits/timerfd.h>.
11034 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11036 bits/timerfd.h.
11037
5ad91f6e
JM
110382012-02-20 Joseph Myers <joseph@codesourcery.com>
11039
11040 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11041 in C locale.
11042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11046
06b99b02
AJ
110472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11048
11049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11051
7638c0fd
AS
110522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11053
11054 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11055 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11056 defined.
11057 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11058 Likewise.
11059 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11060 entry for 2.16.
11061
92221550
AJ
110622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11063
11064 * math/w_acos.c: Use non-signaling floating-point comparisons.
11065 * math/w_acosf.c: Likewise.
11066 * math/w_acosh.c: Likewise.
11067 * math/w_acoshf.c: Likewise.
11068 * math/w_acoshl.c: Likewise.
11069 * math/w_acosl.c: Likewise.
11070 * math/w_asin.c: Likewise.
11071 * math/w_asinf.c: Likewise.
11072 * math/w_asinl.c: Likewise.
11073 * math/w_atanh.c: Likewise.
11074 * math/w_atanhf.c: Likewise.
11075 * math/w_atanhl.c: Likewise.
11076 * math/w_exp2.c: Likewise.
11077 * math/w_exp2f.c: Likewise.
11078 * math/w_exp2l.c: Likewise.
11079 * math/w_j0.c: Likewise.
11080 * math/w_j0f.c: Likewise.
11081 * math/w_j0l.c: Likewise.
11082 * math/w_j1.c: Likewise.
11083 * math/w_j1f.c: Likewise.
11084 * math/w_j1l.c: Likewise.
11085 * math/w_jn.c: Likewise.
11086 * math/w_jnf.c: Likewise.
11087 * math/w_log.c: Likewise.
11088 * math/w_log10.c: Likewise.
11089 * math/w_log10f.c: Likewise.
11090 * math/w_log10l.c: Likewise.
11091 * math/w_log2.c: Likewise.
11092 * math/w_log2f.c: Likewise.
11093 * math/w_log2l.c: Likewise.
11094 * math/w_logf.c: Likewise.
11095 * math/w_logl.c: Likewise.
11096 * math/w_sqrt.c: Likewise.
11097 * math/w_sqrtf.c: Likewise.
11098 * math/w_sqrtl.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11102 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11104
ebaf36eb
JM
111052012-02-19 Joseph Myers <joseph@codesourcery.com>
11106
11107 [BZ #9739]
11108 * manual/string.texi (strnlen): Use correct parameter name in
11109 equivalent expression.
11110
71c254a6
JM
111112012-02-19 Joseph Myers <joseph@codesourcery.com>
11112
11113 [BZ #11174]
11114 * manual/users.texi (seteuid): Consistently use neweuid for
11115 argument name.
11116
16d2c631
JM
111172012-02-19 Joseph Myers <joseph@codesourcery.com>
11118
11119 [BZ #13704]
11120 * manual/nss.texi (Services in the NSS configuration): Correct
11121 list of services in example configuration file.
11122
cd837b09
NB
111232012-02-19 Nick Bowler <nbowler@draconx.ca>
11124
11125 [BZ #11322]
11126 * manual/arith.texi: Remove statements about negative zero
11127 behaving identically to zero.
11128
02c4bbad
JM
111292012-02-18 Joseph Myers <joseph@codesourcery.com>
11130
11131 [BZ #5993]
11132 * manual/install.texi: Do not document upgrading from libc5.
11133
366842e7
JM
111342012-02-18 Joseph Myers <joseph@codesourcery.com>
11135
11136 [BZ #4596]
11137 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11138
dd54084d
DM
111392012-02-18 David S. Miller <davem@davemloft.net>
11140
11141 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11142 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11143 %o7 across the call.
11144 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11145 instead.
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11147 SETUP_PIC_REG_LEAF.
11148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11149 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11150 * sysdeps/sparc/crtn.S: Likewise.
11151
2bcc53a3
UD
111522012-02-17 Ulrich Drepper <drepper@gmail.com>
11153
11154 * aout/Makefile: Remove.
11155
09c093b5
RK
111562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11157
11158 [BZ #13058]
11159 * manual/examples/argp-ex1.c (main): Format definition in GNU
11160 style.
11161 * manual/examples/argp-ex2.c (main): Likewise.
11162 * manual/examples/argp-ex3.c (main): Likewise.
11163 * manual/examples/argp-ex4.c (main): Likewise.
11164 * manual/examples/longopt.c (main): Use new-style prototype
11165 definition.
11166 * manual/examples/strncat.c (main): Specify return type and use
11167 (void) for arguments.
11168 * manual/examples/subopt.c (main): Use char **argv argument.
11169
2ee633a2
JM
111702012-02-17 Joseph Myers <joseph@codesourcery.com>
11171
11172 [BZ #5077]
11173 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11174 rounding modes.
11175
0520adde
FB
111762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11177
11178 [BZ #6907]
11179 * manual/string.texi (strchr): Change when strchrnul is
11180 recommended.
11181
3f4081cd
DGM
111822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11183
11184 [BZ #174]
11185 * manual/locale.texi (setlocale): Document LOCPATH.
11186
d1b10e78
JM
111872012-02-17 Joseph Myers <joseph@codesourcery.com>
11188
11189 [BZ #10210]
11190 * manual/process.texi (execle): Move @dots{} before last argument.
11191
79c6869c
PB
111922012-02-17 Paul Bolle <pebolle@tiscali.nl>
11193
11194 [BZ #12047]
11195 * manual/charset.texi (Generic Charset Conversion): Fix typo
11196 (LC_TYPE -> LC_CTYPE).
11197
cc6e48bc
NB
111982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11199
11200 [BZ #5805]
11201 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11202 (scalbnf): Likewise.
11203 (scalbnl): Likewise.
11204 (scalbln): Likewise.
11205 (scalblnf): Likewise.
11206 (scalblnl): Likewise.
11207 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11208 (vwarnx): Likewise.
11209 (verr): Likewise.
11210 (verrx): Likewise.
11211 * manual/filesys.texi (telldir): Use braces around return type.
11212 * manual/llio.texi (mmap): Add space after comma.
11213 (mmap64): Likewise.
11214 * manual/math.texi (jn): Use @var{} on parameter names.
11215 (jnf): Likewise.
11216 (jnl): Likewise.
11217 (yn): Likewise.
11218 (ynf): Likewise.
11219 (ynl): Likewise.
11220 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11221 line.
11222 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11223 "...".
11224 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11225 (sched_get_priority_max): Likewise.
11226 * manual/signal.texi (sigvec): Add space after comma.
11227 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11228 names.
11229 (if_indextoname): Likewise.
11230 (if_freenameindex): Likewise.
11231 (sendto): Use ',' instead of '.' in prototype.
11232 * manual/startup.texi (syscall): Use @dots{} instead of literal
11233 "...".
11234 * manual/stdio.texi (__fpending): Separate initial words of
11235 paragraph from @deftypefun line.
11236 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11237 "...".
11238 (vsyslog): Use @var{} on parameter names.
11239 * manual/terminal.texi (stty): Use @var{} on parameter names.
11240 * manual/users.texi (getutmp): Use @var{} on parameter names.
11241 (getutmpx): Likewise.
11242
5b23062f
JM
112432012-02-17 Joseph Myers <joseph@codesourcery.com>
11244
11245 [BZ #6884]
11246 * manual/stdio.texi (fopen): Fix typos in description of
11247 ",ccs=STRING".
11248
8dee4833
AJ
112492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11250
11251 [BZ #4026]
11252 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11253 get clock_id definition.
11254
9078ce93
TS
112552012-02-17 Thomas Schwinge <thomas@schwinge.name>
11256
11257 [BZ #4822]
11258 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11259 (madvise): Cast every argument to void on its own.
11260
3835c55f
JM
112612012-02-17 Joseph Myers <joseph@codesourcery.com>
11262
11263 [BZ #9902]
11264 * manual/startup.texi (Exit Status): Fix typo.
11265
35c47e37
JM
112662012-02-17 Joseph Myers <joseph@codesourcery.com>
11267
11268 [BZ #10140]
11269 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11270 * manual/examples/argp-ex2.c: Likewise.
11271 * manual/examples/argp-ex3.c: Likewise.
11272
e3b69ca7
RH
112732012-02-16 Richard Henderson <rth@redhat.com>
11274
11275 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11276 * sysdeps/s390/s390-32/initfini.c: Remove.
11277 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11278 * sysdeps/s390/s390-64/initfini.c: Remove.
11279
df83af67
KK
112802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11281
11282 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11283 compiler output for sysdeps/generic/initfini.c.
11284 * sysdeps/sh/elf/initfini.c: Remove file.
11285
f63f3380
DM
112862012-02-16 David S. Miller <davem@davemloft.net>
11287
fb59b3a4
DM
11288 [BZ #11494]
11289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11290
f63f3380
DM
11291 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11292 * sysdeps/sparc/crti.S: New file.
11293 * sysdeps/sparc/crtn.S: New file.
11294 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11295 * sysdeps/sparc/sparc64/Makefile: Likewise.
11296
df6a4a4a
MF
112972012-02-15 Mike Frysinger <vapier@gentoo.org>
11298
6dd8f3dc 11299 [BZ #3335]
df6a4a4a
MF
11300 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11301
1cac7236
RM
113022012-02-15 Roland McGrath <roland@hack.frob.com>
11303
d2c736f8
RM
11304 [BZ #4822]
11305 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11306
1cac7236
RM
11307 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11308 (write, read, close): Likewise.
11309 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11310
8e475601
JM
113112012-02-15 Joseph Myers <joseph@codesourcery.com>
11312
11313 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11314 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11315 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11316 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11317 <bits/signalfd.h>.
11318 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11320 bits/signalfd.h.
11321
ed656b40
MP
113222012-02-14 Marek Polacek <polacek@redhat.com>
11323
11324 * sysdeps/x86_64/crti.S: New file.
11325 * sysdeps/x86_64/crtn.S: New file.
11326 * sysdeps/x86_64/elf/initfini.c: Remove file.
11327
2a979d3a
JM
113282012-02-13 Joseph Myers <joseph@codesourcery.com>
11329
11330 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11331 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11332 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11333 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11334 <bits/inotify.h>.
11335 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11337 bits/inotify.h.
11338
2a418ac3
JM
113392012-02-13 Joseph Myers <joseph@codesourcery.com>
11340
11341 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11342 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11343 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11344 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11345 <bits/eventfd.h>.
11346 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11348 bits/eventfd.h.
11349
fb779be7
TS
113502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11351
e19e83c5
RM
11352 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11353 __feraiseexcept instead of feraiseexcept.
7c35ffed 11354
fb779be7
TS
11355 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11356 nanosleep invocations.
11357 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11358 strings, and add error checking for a nanosleep invocations.
11359
59ba27a6
PE
113602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11361
11362 Replace FSF snail mail address with URLs, as per GNU coding standards.
11363 Most of the snail mail addresses were wrong anyway, and omitting
11364 them makes the source code easier to maintain. Almost all of the
11365 changes are to license notices and to locale LC_IDENTIFICATION
11366 addresses, except for this one:
11367 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11368 not its snail mail address.
11369
57b957eb
RH
113702012-02-09 Richard Henderson <rth@twiddle.net>
11371
af850b1c
RH
11372 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11373 of kernel-features.h.
11374
57b957eb
RH
11375 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11376
6b73181a
MP
113772012-02-08 Marek Polacek <polacek@redhat.com>
11378
11379 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11380 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11381 * sysdeps/gnu/_G_config.h: Likewise.
11382 * sysdeps/generic/_G_config.h: Likewise.
11383
26ecc33a
AS
113842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11385
6c6dbc63
AS
11386 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11387 tests.
11388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11389
e216c012
AS
11390 * sysdeps/powerpc/powerpc32/crti.S: New file.
11391 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11392 * sysdeps/powerpc/powerpc64/crti.S: New file.
11393 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11394
26ecc33a
AS
11395 * Makeconfig (have-initfini): Don't set.
11396 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11397 * configure.in (nopic_initfini): Don't substitute.
11398 * config.h.in (HAVE_INITFINI): Don't #undef.
11399 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11400 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11401
3add8e13
JM
114022012-02-08 Joseph Myers <joseph@codesourcery.com>
11403
11404 Support crti.S and crtn.S provided directly by architectures.
11405 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11406 [crti.S in sysdirs] (omit-deps): Likewise.
11407 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11408 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11409 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11410 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11411 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11412 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11413 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11414 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11415 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11416 compiler output for sysdeps/generic/initfini.c.
11417 * sysdeps/i386/elf/Makefile: Remove file.
11418 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11419
a22f12b4
MP
114202012-02-07 Marek Polacek <polacek@redhat.com>
11421
11422 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11423 * sysdeps/gnu/_G_config.h: Likewise.
11424 * sysdeps/mach/hurd/_G_config.h: Likewise.
11425
148cf100
MP
114262012-02-07 Marek Polacek <polacek@redhat.com>
11427
11428 * math/Makefile (tests): Add tst-CMPLX2.
11429 * math/tst-CMPLX2.c: New file.
11430
cfdc0dd7
AS
114312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11432
84ba42c4
AS
11433 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11434
cfdc0dd7
AS
11435 * math/libm-test.inc (jn_test): Add missing L suffix.
11436
622c86f4
MP
114372012-02-06 Marek Polacek <polacek@redhat.com>
11438
11439 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11440 * sysdeps/i386/fpu/e_powf.S: Likewise.
11441 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11442 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11443 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11444 * sysdeps/i386/fpu/e_pow.S: Likewise.
11445 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11447 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11448 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11449 * sysdeps/i386/fpu/e_log2.S: Likewise.
11450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11451 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11452 * sysdeps/i386/fpu/e_powl.S: Likewise.
11453 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11456 * sysdeps/i386/fpu/e_logl.S: Likewise.
11457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11458 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11459 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11460 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11462 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11463 * sysdeps/i386/fpu/e_log.S: Likewise.
11464 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11466 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11467 * sysdeps/i386/fpu/e_logf.S: Likewise.
11468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11470 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11471 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11472 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11473 * sysdeps/i386/fpu/e_log10.S: Likewise.
11474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11479 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11480 * sysdeps/i386/asm-syntax.h: Likewise.
11481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11482 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11483 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11484 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11485 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11486 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11487 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11488 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11490 * sysdeps/powerpc/sysdep.h: Likewise.
11491 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11492 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11493
d4a54ac6
JM
114942012-02-06 Joseph Myers <joseph@codesourcery.com>
11495
11496 [BZ #411]
11497 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11498
314054ea
JM
114992012-02-06 Joseph Myers <joseph@codesourcery.com>
11500
11501 * sysdeps/i386/sysdep.h: Include <features.h>.
11502 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11503 version.
11504
d8e0ca50
JM
115052012-02-05 Joseph Myers <joseph@codesourcery.com>
11506
11507 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11508 Define.
11509 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11510 LOAD_PIC_REG_STR.
11511
b1da7dd9
JM
115122012-02-03 Joseph Myers <joseph@codesourcery.com>
11513
11514 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11515 (SETUP_PIC_REG): Use GET_PC_THUNK.
11516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11517 macro.
11518
9a1d9254
JM
115192012-02-03 Joseph Myers <joseph@codesourcery.com>
11520
11521 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11522 for non-PIC compilation.
11523 (SETUP_PIC_REG): Add .p2align directive.
11524 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11525 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11545 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11565
65dc3b75
JM
115662012-02-03 Joseph Myers <joseph@codesourcery.com>
11567
11568 * math/tst-CMPLX.c: Include <stdio.h>.
11569
d55bf177
JM
115702012-01-31 Joseph Myers <joseph@codesourcery.com>
11571
11572 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11573 float.
11574 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11575 * sysdeps/sparc/bits/mathdef.h: Likewise.
11576
69db4f8f
MP
115772012-01-31 Marek Polacek <polacek@redhat.com>
11578
11579 * libio/libio.h: Don't define _PARAMS.
11580 * locale/programs/config.h: Don't define PARAMS.
11581 * stdlib/strtol_l.c: Likewise.
11582 (__strtol_l): Remove PARAMS from the prototype.
11583
41b81892
UD
115842012-01-31 Ulrich Drepper <drepper@gmail.com>
11585
3b49edc0
UD
11586 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11587 names. Just use the correct names. Remove unnecessary wrapper
11588 functions.
11589 * malloc/arena.c: Likewise.
11590 * malloc/hooks.c: Likewise.
11591
41b81892
UD
11592 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11593 ARENA_TEST says not to. Simplify test for creation of a new arena.
11594 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11595
27a25b6e
UD
115962012-01-30 Ulrich Drepper <drepper@gmail.com>
11597
11598 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11599 into tail calls.
11600 (update_get_addr): New function.
11601 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11602 GET_ADDR_MODULE parameter.
11603
c8a89e7d
JM
116042012-01-30 Joseph Myers <joseph@codesourcery.com>
11605
11606 * crypt/cert.c: Remove __STDC__ conditionals.
11607 * crypt/crypt-entry.c: Likewise.
11608 * crypt/crypt_util.c: Likewise.
11609 * libio/filedoalloc.c: Likewise.
11610 * libio/fileops.c: Likewise.
11611 * libio/genops.c: Likewise.
11612 * libio/iofclose.c: Likewise.
11613 * libio/iofdopen.c: Likewise.
11614 * libio/iofopen.c: Likewise.
11615 * libio/iofopen64.c: Likewise.
11616 * libio/iogetdelim.c: Likewise.
11617 * libio/iopopen.c: Likewise.
11618 * libio/obprintf.c: Likewise.
11619 * libio/oldfileops.c: Likewise.
11620 * libio/oldiofclose.c: Likewise.
11621 * libio/oldiofdopen.c: Likewise.
11622 * libio/oldiofopen.c: Likewise.
11623 * libio/oldiopopen.c: Likewise.
11624 * libio/wfiledoalloc.c: Likewise.
11625 * libio/wgenops.c: Likewise.
11626 * locale/programs/xmalloc.c: Likewise.
11627 * misc/syslog.c: Likewise.
11628 * stdio-common/xbug.c: Likewise.
11629 * string/memchr.c: Likewise.
11630 * string/memcmp.c: Likewise.
11631 * string/memrchr.c: Likewise.
11632 * string/rawmemchr.c: Likewise.
11633 * sysdeps/posix/getcwd.c: Likewise.
11634 * time/strftime_l.c: Likewise.
11635
3b100462
JM
116362012-01-30 Joseph Myers <joseph@codesourcery.com>
11637
11638 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11639 * config.make.in (config-cflags-sse2avx): Define.
11640 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11641 Fix typo.
11642
607998af
CM
116432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11644
11645 * scripts/config.guess: Update from upstream config git repository.
11646 * scripts/config.sub: Likewise.
11647
3601428f
CM
116482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11649
3ac8b282
CM
11650 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11651 (EM_NUM): Update.
11652 (R_TILEPRO_*, R_TILEGX_*): New macros.
11653
e034841e
CM
11654 * scripts/firstversions.awk: Fix bug in version range handling.
11655
540d7568
CM
11656 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11657
3601428f
CM
11658 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11659
463de862
CM
11660 * include/sys/epoll.h: New file.
11661 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11662 libc_hidden_def.
11663
73139a76
UD
116642012-01-28 Ulrich Drepper <drepper@gmail.com>
11665
96bc5b45
UD
11666 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11667 Avoid unnecessary __WORDSIZE == 64 test.
11668 (fmaxf): Use VEX format if possible.
11669 (fmax): Likewise.
11670 (fminf): Likewise.
11671 (fmin): Likewise.
11672
56f6f6a2
UD
11673 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11674 * math/math_private.h: Remove libc_fegetround* and
11675 libc_fesetround*.
11676 * sysdeps/i386/configure.in: Check for -msse2avx.
11677 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11678 also if SSE2AVX is defined.
11679 Remove libc_fegetround* and libc_fesetround*.
11680 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11681 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11683 of HAS_YMM_USABLE.
11684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11689
73139a76
UD
11690 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11691
d73f93a4
AZ
116922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693
11694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11695 size is not set.
11696 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11697
6ee65ed6
UD
116982012-01-27 Ulrich Drepper <drepper@gmail.com>
11699
11700 [BZ #13618]
11701 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11702 relocation.
11703 * Makeconfig (libm): Define.
11704 * elf/Makefile: Add rules to build and run tst-relsort1.
11705 * elf/tst-relsort1.c: New file.
11706 * elf/tst-relsort1mod1.c: New file.
11707 * elf/tst-relsort1mod2.c: New file.
11708
8db21882
JM
117092012-01-27 Joseph Myers <joseph@codesourcery.com>
11710
11711 * math/s_ldexp.c: Remove __STDC__ conditionals.
11712 * math/s_ldexpf.c: Likewise.
11713 * math/s_ldexpl.c: Likewise.
11714 * math/s_nextafter.c: Likewise.
11715 * math/s_nexttowardf.c: Likewise.
11716 * math/s_significand.c: Likewise.
11717 * math/s_significandf.c: Likewise.
11718 * math/s_significandl.c: Likewise.
11719 * math/w_jnl.c: Likewise.
11720 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11721 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11722 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11723 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11724 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11739 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11740 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11748 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11749 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11750 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11751 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11754 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11757 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11758 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11759 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11760 * sysdeps/ieee754/k_standard.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11822 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11827 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11840 * sysdeps/ieee754/s_matherr.c: Likewise.
11841 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11842 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11845
965a54a4
JM
118462012-01-26 Joseph Myers <joseph@codesourcery.com>
11847
11848 * crypt/md5.h: Remove __STDC__ conditionals.
11849 * libio/libioP.h: Likewise.
11850 * locale/programs/config.h: Likewise.
11851 * sysdeps/generic/sysdep.h: Likewise.
11852 * sysdeps/i386/asm-syntax.h: Likewise.
11853 * sysdeps/s390/asm-syntax.h: Likewise.
11854 * sysdeps/unix/sysdep.h: Likewise.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11857
7071ad79
JM
118582012-01-26 Joseph Myers <joseph@codesourcery.com>
11859
11860 * libio/libio.h: Remove __STDC__ conditionals.
11861 * malloc/obstack.h: Likewise.
11862 * math/complex.h: Likewise.
11863 * math/math.h: Likewise.
11864 * sysdeps/generic/_G_config.h: Likewise.
11865 * sysdeps/gnu/_G_config.h: Likewise.
11866 * sysdeps/mach/hurd/_G_config.h: Likewise.
11867 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11869 * sysdeps/sparc/bits/mathdef.h: Likewise.
11870
afc5ed09
UD
118712012-01-26 Ulrich Drepper <drepper@gmail.com>
11872
11873 [BZ #13583]
11874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11875 Clean up HAS_* macros.
afc5ed09 11876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11877 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11878 possible.
11879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11880 HAS_AVX.
11881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11882 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11883 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11885 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11886
bdb6de1d
JM
118872012-01-25 Joseph Myers <joseph@codesourcery.com>
11888
11889 * elf/tst-unique3.cc (gets): Remove declaration.
11890 * elf/tst-unique3lib.cc (gets): Likewise.
11891 * elf/tst-unique3lib2.cc (gets): Likewise.
11892 * elf/tst-unique4.cc (gets): Likewise.
11893
b15549e6
UD
118942012-01-24 Ulrich Drepper <drepper@gmail.com>
11895
11896 * include/stdio.h: Add C++ protection. Add gets declarations and
11897 definitions.
11898 * debug/tst-chk1.c: Don't declare gets here.
11899 * stdio-common/tst-gets.c: Likewise.
11900
a037381f
JM
119012012-01-24 Joseph Myers <joseph@codesourcery.com>
11902
11903 * posix/glob: Remove directory.
11904
f1d4aa75
JM
119052012-01-24 Joseph Myers <joseph@codesourcery.com>
11906
11907 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11908
81c0c964
PT
119092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11910
11911 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11912 of the non-standard EPFNOSUPPORT.
11913
0ea698ae
ST
119142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11915
11916 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11917 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11918 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11919
d220b117
UD
119202012-01-21 Ulrich Drepper <drepper@gmail.com>
11921
11922 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11923
3e1aa84e
UD
119242012-01-20 Ulrich Drepper <drepper@gmail.com>
11925
11926 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11927 transient errors.
11928 * nscd/grpcache.c (cache_addgr): Likewise.
11929 * nscd/hstcache.c (cache_addhst): Likewise.
11930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11931 * nscd/pwdcache.c (cache_addpw): Likewise.
11932 * nscd/servicescache.c (cache_addserv): Likewise.
11933
400aa020
UD
119342012-01-16 Ulrich Drepper <drepper@gmail.com>
11935
d77e7869
UD
11936 * malloc/malloc.c: Various cleanups.
11937 * malloc/hooks.c: Likewise.
11938
400aa020
UD
11939 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11940 * stdlib/bug-fmtmsg1.c: New file.
11941
11942 * stdlib/fmtmsg.c (init): Add missing unlock.
11943 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11944
e0a309cf
MP
119452012-01-12 Marek Polacek <polacek@redhat.com>
11946
11947 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11948 and _GNU_SOURCE.
11949
929d11c7
WS
119502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11951
11952 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11953 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11954 macro to ensure uniqueness of label name.
11955 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11956 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11957
41d0e869
UD
119582012-01-11 Ulrich Drepper <drepper@gmail.com>
11959
0cc5ed3b
UD
11960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11961
41d0e869
UD
11962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11966
a47a831a
UD
119672012-01-10 Ulrich Drepper <drepper@gmail.com>
11968
daa891c0
UD
11969 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11970
11971 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11973 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11974
e58ef0f2
UD
11975 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11976
a47a831a 11977 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11978 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11979 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11981
11982 * math/bits/math-finite.h: Add ldexp support.
11983
a0bfc9c7
MP
119842012-01-10 Marek Polacek <polacek@redhat.com>
11985
11986 * locale/programs/localedef.h (show_archive_content): Add noreturn
11987 attribute.
11988
d6e97a1d
UD
119892012-01-09 Ulrich Drepper <drepper@gmail.com>
11990
11991 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11992
d5835c26
UD
119932012-01-08 Ulrich Drepper <drepper@gmail.com>
11994
e5f484c6
UD
11995 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11996
d5835c26
UD
11997 * io/Makefile (headers): Add bits/poll2.h.
11998
d1f741e9
WS
119992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12000
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12002 typo #include statement.
12003
ec09c1c4
UD
120042012-01-08 Ulrich Drepper <drepper@gmail.com>
12005
12006 * include/sys/cdefs.h: Define __attribute_alloc_size.
12007 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12008 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12009 * elf/pldd.c: Likewise.
12010 * iconv/iconv_charmap.c: Likewise.
12011 * iconv/iconvconfig.c: Likewise.
12012 * iconv/strtab.c: Likewise.
12013 * locale/programs/locale.c: Likewise.
12014 * locale/programs/localedef.h: Likewise.
12015 * locale/programs/simple-hash.c: Likewise.
12016 * nscd/nscd.h: Likewise.
12017 * nss/makedb.c: Likewise.
12018 * sysdeps/generic/ldconfig.h: Likewise.
12019 * locale/programs/localedef.c: Remove xmalloc prototype.
12020 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12021
20b38e03
PP
120222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12023
12024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12025 appropriate.
12026
a0da5fe1
UD
120272012-01-08 Ulrich Drepper <drepper@gmail.com>
12028
1d5a644a 12029 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12030 * math/tst-CMPLX.c: New file.
1d5a644a 12031
8784a6db
UD
12032 * math/complex.h (CMPLXL): Fix typo.
12033
d9a216c0
UD
12034 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12035 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12036 GLIBC_2.16.
12037 * debug/tst-chk1.c: Add poll and ppoll tests.
12038 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12039 * include/sys/poll.h: Add hidden proto for ppoll.
12040 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12041 * sysdeps/mach/hurd/ppoll.c: Likewise.
12042 * io/ppoll.c: Likewise.
12043 * debug/poll_chk.c: New file.
12044 * debug/ppoll_chk.c: New file.
12045 * include/bits/poll2.h: New file.
12046 * io/bits/poll2.h: New file.
12047
ac097f5c
UD
12048 [BZ #1350]
12049 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12050
2119dcfa
UD
12051 * configure.in: static is always set to yes. Remove.
12052 * config.make.in: Don't set build-static.
12053 * Makeconfig: Remove use of build-static.
12054 * dlfcn/Makefile: Likewise.
12055 * elf/Makefile: Likewise.
12056 * math/Makefile: Likewise.
12057 * misc/Makefile: Likewise.
12058 * nptl/Makefile: Likewise.
12059 * sysdeps/mach/hurd/Makefile: Likewise.
12060
121766a9
UD
12061 * configure.in: PWD_P is not used anymore.
12062 * config.make.in: Remove PWD_P entry.
12063
51a1d39c 12064 * configure.in: Remove last remnants of RANLIB.
8720d066 12065 No need to check for signed size_t anymore.
215f4bdc
UD
12066 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12067 and IA-64.
3857022a 12068 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12069 * aclocal.m4: Likewise.
12070
d3ed7225
UD
12071 * wcsmbs/mbrtoc16.c: Implement using towc function.
12072 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12073 * wcsmbs/wcsmbsload.c: Likewise.
12074 * iconv/gconv_simple.c: Likewise.
12075 * iconv/gconv_int.h: Likewise.
12076 * iconv/gconv_builtin.h: Likewise.
12077 * iconv/iconv_prog.c: Remove CHAR16 handling.
12078
12079 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12080
12081 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12082
a0da5fe1
UD
12083 * configure.in: Remove --with-elf and --enable-bounded options.
12084 Dont set base_machine for ia64. More non-ELF conditions removed.
12085 Remove testing and setting of leading underscore information.
12086 * config.make.in (build-bounded): Set to no.
12087 * config.h.in: Remove NO_UNDERSCORES entry.
12088 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12089 them.
12090 * csu/start.c: Remove !NO_UNDERSCORE code.
12091 * locale/localeinfo.h: Likewise.
12092 * sysdeps/generic/machine-gmon.h: Likewise.
12093 * sysdeps/generic/sysdep.h: Likewise.
12094 * sysdeps/i386/sysdep.h: Likewise.
12095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12096 * sysdeps/mach/sysdep.h: Likewise.
12097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12099 * sysdeps/sh/sysdep.h: Likewise.
12100 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12101 * sysdeps/unix/i386/sysdep.S: Likewise.
12102 * sysdeps/unix/sparc/start.c: Likewise.
12103 * sysdeps/unix/sparc/sysdep.S: Likewise.
12104 * sysdeps/unix/sparc/sysdep.h: Likewise.
12105 * sysdeps/unix/start.c: Likewise.
12106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12107 * sysdeps/x86_64/sysdep.h: Likewise.
12108
df78418a
UD
121092012-01-07 Ulrich Drepper <drepper@gmail.com>
12110
a784e502
UD
12111 [BZ #13553]
12112 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12113 for non-gcc.
12114 * argp/argp-fmtstream.h: Use const instead __const.
12115 * argp/argp.h: Likewise.
12116 * assert/assert.h: Likewise.
12117 * bits/fenv.h: Likewise.
12118 * bits/sched.h: Likewise.
12119 * bits/sigset.h: Likewise.
12120 * bits/sigthread.h: Likewise.
12121 * catgets/nl_types.h: Likewise.
12122 * conform/data/pthread.h-data: Likewise.
12123 * crypt/crypt-private.h: Likewise.
12124 * crypt/crypt.h: Likewise.
12125 * crypt/crypt_util.c: Likewise.
12126 * ctype/ctype.h: Likewise.
12127 * debug/execinfo.h: Likewise.
12128 * debug/mbsnrtowcs_chk.c: Likewise.
12129 * debug/mbsrtowcs_chk.c: Likewise.
12130 * debug/wcsnrtombs_chk.c: Likewise.
12131 * debug/wcsrtombs_chk.c: Likewise.
12132 * debug/wcstombs_chk.c: Likewise.
12133 * dirent/dirent.h: Likewise.
12134 * dlfcn/dlfcn.h: Likewise.
12135 * elf/neededtest4.c: Likewise.
12136 * grp/grp.h: Likewise.
12137 * gshadow/gshadow.h: Likewise.
12138 * iconv/gconv.h: Likewise.
12139 * iconv/gconv_int.h: Likewise.
12140 * iconv/gconv_simple.c: Likewise.
12141 * iconv/iconv.h: Likewise.
12142 * iconv/loop.c: Likewise.
12143 * iconv/skeleton.c: Likewise.
12144 * include/aio.h: Likewise.
12145 * include/aliases.h: Likewise.
12146 * include/argz.h: Likewise.
12147 * include/arpa/inet.h: Likewise.
12148 * include/assert.h: Likewise.
12149 * include/dirent.h: Likewise.
12150 * include/dlfcn.h: Likewise.
12151 * include/execinfo.h: Likewise.
12152 * include/fcntl.h: Likewise.
12153 * include/fenv.h: Likewise.
12154 * include/glob.h: Likewise.
12155 * include/grp.h: Likewise.
12156 * include/libintl.h: Likewise.
12157 * include/mntent.h: Likewise.
12158 * include/netdb.h: Likewise.
12159 * include/pwd.h: Likewise.
12160 * include/rpc/netdb.h: Likewise.
12161 * include/sched.h: Likewise.
12162 * include/search.h: Likewise.
12163 * include/shadow.h: Likewise.
12164 * include/signal.h: Likewise.
12165 * include/stdio.h: Likewise.
12166 * include/stdlib.h: Likewise.
12167 * include/string.h: Likewise.
12168 * include/sys/socket.h: Likewise.
12169 * include/sys/stat.h: Likewise.
12170 * include/sys/statfs.h: Likewise.
12171 * include/sys/statvfs.h: Likewise.
12172 * include/sys/syslog.h: Likewise.
12173 * include/sys/time.h: Likewise.
12174 * include/sys/uio.h: Likewise.
12175 * include/time.h: Likewise.
12176 * include/unistd.h: Likewise.
12177 * include/utmp.h: Likewise.
12178 * include/wchar.h: Likewise.
12179 * include/wctype.h: Likewise.
12180 * inet/aliases.h: Likewise.
12181 * inet/arpa/inet.h: Likewise.
12182 * inet/netinet/ether.h: Likewise.
12183 * inet/netinet/in.h: Likewise.
12184 * intl/libintl.h: Likewise.
12185 * io/bits/fcntl2.h: Likewise.
12186 * io/fcntl.h: Likewise.
12187 * io/ftw.h: Likewise.
12188 * io/sys/poll.h: Likewise.
12189 * io/sys/stat.h: Likewise.
12190 * io/sys/statfs.h: Likewise.
12191 * io/sys/statvfs.h: Likewise.
12192 * io/utime.h: Likewise.
12193 * libio/bits/stdio.h: Likewise.
12194 * libio/bits/stdio2.h: Likewise.
12195 * libio/libio.h: Likewise.
12196 * libio/libioP.h: Likewise.
12197 * libio/stdio.h: Likewise.
12198 * locale/lc-ctype.c: Likewise.
12199 * locale/locale.h: Likewise.
12200 * login/utmp.h: Likewise.
12201 * malloc/arena.c: Likewise.
12202 * malloc/malloc.c: Likewise.
12203 * malloc/malloc.h: Likewise.
12204 * malloc/mcheck.c: Likewise.
12205 * malloc/mtrace.c: Likewise.
12206 * math/bits/mathcalls.h: Likewise.
12207 * math/fenv.h: Likewise.
12208 * math/math_private.h: Likewise.
12209 * misc/bits/error.h: Likewise.
12210 * misc/bits/syslog.h: Likewise.
12211 * misc/err.h: Likewise.
12212 * misc/error.h: Likewise.
12213 * misc/fstab.h: Likewise.
12214 * misc/mntent.h: Likewise.
12215 * misc/regexp.h: Likewise.
12216 * misc/search.h: Likewise.
12217 * misc/sgtty.h: Likewise.
12218 * misc/sys/mman.h: Likewise.
12219 * misc/sys/syslog.h: Likewise.
12220 * misc/sys/uio.h: Likewise.
12221 * misc/sys/xattr.h: Likewise.
12222 * misc/ttyent.h: Likewise.
12223 * nis/rpcsvc/ypclnt.h: Likewise.
12224 * nss/nss.h: Likewise.
12225 * posix/bits/unistd.h: Likewise.
12226 * posix/fnmatch.h: Likewise.
12227 * posix/glob.h: Likewise.
12228 * posix/sched.h: Likewise.
12229 * posix/spawn.h: Likewise.
12230 * posix/sys/wait.h: Likewise.
12231 * posix/unistd.h: Likewise.
12232 * posix/wordexp.h: Likewise.
12233 * pwd/pwd.h: Likewise.
12234 * resolv/netdb.h: Likewise.
12235 * resource/sys/resource.h: Likewise.
12236 * rt/aio.h: Likewise.
12237 * rt/bits/mqueue2.h: Likewise.
12238 * rt/mqueue.h: Likewise.
12239 * shadow/shadow.h: Likewise.
12240 * signal/signal.h: Likewise.
12241 * socket/send.c: Likewise.
12242 * socket/sendto.c: Likewise.
12243 * socket/sys/socket.h: Likewise.
12244 * stdio-common/printf.h: Likewise.
12245 * stdlib/bits/stdlib.h: Likewise.
12246 * stdlib/fmtmsg.h: Likewise.
12247 * stdlib/monetary.h: Likewise.
12248 * stdlib/stdlib.h: Likewise.
12249 * stdlib/ucontext.h: Likewise.
12250 * streams/stropts.h: Likewise.
12251 * string/argz.h: Likewise.
12252 * string/bits/string2.h: Likewise.
12253 * string/string.h: Likewise.
12254 * string/strings.h: Likewise.
12255 * sunrpc/rpc/auth.h: Likewise.
12256 * sunrpc/rpc/auth_des.h: Likewise.
12257 * sunrpc/rpc/clnt.h: Likewise.
12258 * sunrpc/rpc/netdb.h: Likewise.
12259 * sunrpc/rpc/pmap_clnt.h: Likewise.
12260 * sunrpc/rpc/xdr.h: Likewise.
12261 * sysdeps/generic/inttypes.h: Likewise.
12262 * sysdeps/generic/net/if.h: Likewise.
12263 * sysdeps/generic/sys/swap.h: Likewise.
12264 * sysdeps/gnu/net/if.h: Likewise.
12265 * sysdeps/gnu/utmpx.h: Likewise.
12266 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12267 * sysdeps/i386/i486/bits/string.h: Likewise.
12268 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12269 * sysdeps/s390/bits/string.h: Likewise.
12270 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12271 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12272 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12273 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12274 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12275 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12276 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12277 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12278 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12279 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12280 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12281 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12282 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12283 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12284 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12285 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12286 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12291 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12292 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12293 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12294 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12295 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12296 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12298 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12300 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12301 * sysvipc/sys/ipc.h: Likewise.
12302 * sysvipc/sys/msg.h: Likewise.
12303 * sysvipc/sys/sem.h: Likewise.
12304 * sysvipc/sys/shm.h: Likewise.
12305 * termios/termios.h: Likewise.
12306 * time/sys/time.h: Likewise.
12307 * time/time.h: Likewise.
12308 * wcsmbs/bits/wchar2.h: Likewise.
12309 * wcsmbs/uchar.h: Likewise.
12310 * wcsmbs/wchar.h: Likewise.
12311 * wctype/wctype.h: Likewise.
12312
0269750c
UD
12313 [BZ #13551]
12314 * Makeconfig: Remove all but ELF support including AIX support.
12315 * Makerules: Likewise.
12316 * config.h.in: Likewise.
12317 * config.make.in: Likewise.
12318 * configure: Likewise.
12319 * configure.in: Likewise.
12320 * csu/Makefile: Likewise.
12321 * csu/version.c: Likewise.
12322 * debug/Makefile: Likewise.
12323 * dlfcn/Makefile: Likewise.
12324 * elf/Makefile: Likewise.
12325 * extra-lib.mk: Likewise.
12326 * iconv/Makefile: Likewise.
12327 * include/libc-symbols.h: Likewise.
12328 * include/shlib-compat.h: Likewise.
12329 * resolv/Makefile: Likewise.
12330 * resolv/res_libc.c: Likewise.
12331 * rt/Makefile: Likewise.
12332 * sysdeps/i386/asm-syntax.h: Likewise.
12333 * sysdeps/i386/sysdep.h: Likewise.
12334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12335 * sysdeps/mach/sysdep.h: Likewise.
12336 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12337 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12338 * sysdeps/s390/asm-syntax.h: Likewise.
12339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12341 * sysdeps/sh/sysdep.h: Likewise.
12342 * sysdeps/unix/sparc/sysdep.h: Likewise.
12343 * sysdeps/wordsize-32/divdi3.c: Likewise.
12344 * sysdeps/x86_64/sysdep.h: Likewise.
12345
00bbd29b
UD
12346 * argp/Versions: Remove _argp_unlock_xxx.
12347
12348 [BZ #13559]
12349 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12350 * abilist/libBrokenLocale.abilist: Likewise.
12351 * abilist/libanl.abilist: Likewise.
12352 * abilist/libc.abilist: Likewise.
12353 * abilist/libcrypt.abilist: Likewise.
12354 * abilist/libdl.abilist: Likewise.
12355 * abilist/libm.abilist: Likewise.
12356 * abilist/libnsl.abilist: Likewise.
12357 * abilist/libpthread.abilist: Likewise.
12358 * abilist/libresolv.abilist: Likewise.
12359 * abilist/librt.abilist: Likewise.
12360 * abilist/libthread_db.abilist: Likewise.
12361 * abilist/libutil.abilist: Likewise.
12362 * abilist/libnss_db.abilist: New file.
12363
12364 * scripts/abilist.awk: Add support for indirect functions.
12365
a2693a0e
UD
12366 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12367
3f05895f
UD
12368 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12369
ecb6fb48
UD
12370 * shlib-versions: Remove entries for ports architectures.
12371
664f8cb9
UD
12372 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12373 files in ports.
12374 * elf/stackguard-macros.h: Remove support for IA-64.
12375 * elf/tst-auditmod1.c: Likewise.
12376 * sysdeps/generic/ldsodefs.h: Likewise.
12377
7ae81d88
UD
12378 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12379 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12380 configure files.
12381
bdeba135
UD
12382 [BZ #13552]
12383 * configure.in: Remove --enable-omitfp support.
12384 * FAQ.in: Adjust.
12385 * config.make.in: Likewise.
12386 * Makeconfig: Likewise.
12387 * manual/install.texi: Likewise.
12388
d75a0a62
UD
12389 In case anyone cares, the IA-64 architecture could move to ports.
12390 * sysdeps/ia64/*: Removed.
12391 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12392 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12393
dcc9756b
UD
12394 [BZ #13555]
12395 * configure.in: Remove entries for unsupported architectures.
12396
d3761ebc 12397 [BZ #13533]
9954432e
UD
12398 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12399 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12400 routines.
12401 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12402 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12403 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12404 fall back to using wcrtomb.
12405 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12406 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12407 renaming.
12408 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12409 * wcsmbs/tst-c16c32-1.c: New file.
12410
12411 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12412 local variable.
12413
c3a87236
UD
12414 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12415
28926a1b
UD
12416 * elf/tst-unique3.cc: Add explicit declaration of gets.
12417 * elf/tst-unique3lib.cc: Likewise.
12418 * elf/tst-unique3lib2.cc: Likewise.
12419 * elf/tst-unique4.cc: Likewise.
12420
df78418a
UD
12421 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12422
8ecd6b2a
JM
124232012-01-06 Joseph Myers <joseph@codesourcery.com>
12424
12425 [BZ #13566]
12426 * assert/assert.h (static_assert): Don't define for C++.
12427 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12428 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12429
9f115170
UD
124302012-01-03 Ulrich Drepper <drepper@gmail.com>
12431
5e0d0300
UD
12432 * iconv/loop.c (single loop): Fix assertion in storing of
12433 remaining bytes.
12434
9f115170
UD
12435 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12436
81fb02b0
UD
124372012-01-01 Ulrich Drepper <drepper@gmail.com>
12438
12439 * posix/getconf.c: Update copyright year.
12440 * nss/getent.c: Likewise.
a316c1f6 12441 * nss/makedb.c: Likewise.
81fb02b0
UD
12442 * iconv/iconvconfig.c: Likewise.
12443 * iconv/iconv_prog.c: Likewise.
12444 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12445 * elf/pldd.c: Likewise.
12446 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12447 * catgets/gencat.c: Likewise.
12448 * csu/version.c: Likewise.
12449 * elf/ldd.bash.in: Likewise.
12450 * elf/sprof.c (print_version): Likewise.
12451 * locale/programs/locale.c: Likewise.
12452 * locale/programs/localedef.c: Likewise.
a316c1f6 12453 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12454 * nscd/nscd.c (print_version): Likewise.
12455 * debug/xtrace.sh: Likewise.
12456 * malloc/memusage.sh: Likewise.
12457 * malloc/mtrace.pl: Likewise.
12458 * debug/catchsegv.sh: Likewise.
12459
2ba92745
JJ
124602011-12-30 Jakub Jelinek <jakub@redhat.com>
12461
12462 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12463 pure attribute.
12464
dadebdae
UD
124652011-12-24 Ulrich Drepper <drepper@gmail.com>
12466
d3761ebc 12467 [BZ #13533]
db6af3eb
UD
12468 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12469 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12470 transformations.
12471 * iconv/gconv_int.h: Likewise.
12472 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12473 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12474 from libc for GLIBC_2.16.
12475 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12476 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12477 * wcsmbs/uchar.h: Really define mbstate_t.
12478 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12479 * wcsmbs/c16rtomb.c: New file.
12480 * wcsmbs/mbrtoc16.c: New file.
12481 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12482 for C/POSIX locale.
12483 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12484 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12485
dadebdae
UD
12486 * wcsmbs/wchar.h: Add missing __restrict.
12487
67371b56
UD
124882011-12-23 Ulrich Drepper <drepper@gmail.com>
12489
74033a25
UD
12490 [BZ #13532]
12491 * time/Makefile (routines): Add timespec_get.
12492 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12493 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12494 timespec for ISO C11.
12495 * time/timespec_get.c: New file.
12496 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12497 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12498
380d7e87
UD
12499 [BZ #13531]
12500 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12501 * stdlib/stdlib.h: Declare aligned_alloc.
12502 * Versions.def: Add GLIBC_2.16 for libc.
12503 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12504
4e9e7a35
UD
12505 [BZ 13527]
12506 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12507 ISO C11.
12508
380d7e87 12509 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12510 code.
12511
03a71829
UD
12512 [BZ #13528]
12513 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12514
839e283e
UD
12515 [BZ #13529]
12516 * assert/assert.h (static_assert): Define.
12517
ce5294e2 12518 * version.h: Update for 2.16 development version.
90fa7312 12519
8d44e150 12520 [BZ #13526]
d7809905
UD
12521 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12522 _ISOC11_SOURCE.
12523
c0da14cd
UD
12524 * version.h (RELEASE): Bump for 2.15 release.
12525 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12526
530a3249
MP
12527 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12528 Patch by Marek Polacek <mpolacek@redhat.com>.
12529
67371b56
UD
12530 * bits/byteswap.h: Protect long long constants with __extension__.
12531 * sysdeps/i386/bits/byteswap.h: Likewise.
12532 * sysdeps/ia64/bits/byteswap.h: Likewise.
12533 * sysdeps/s390/bits/byteswap.h: Likewise.
12534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12535
15db4de1
LD
125362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12537
12538 [BZ #13540]
bbe315ea
LD
12539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12540 destination buffer.
15db4de1
LD
12541 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12542
2b2596b1
MP
125432011-12-23 Marek Polacek <polacek@redhat.com>
12544
12545 * elf/dl-addr.c (determine_info): Add inline keyword.
12546 * elf/tst-auditmod4b.c (check_avx): Likewise.
12547 * elf/tst-auditmod6b.c (check_avx): Likewise.
12548 * elf/tst-auditmod6c.c (check_avx): Likewise.
12549 * elf/tst-auditmod7b.c (check_avx): Likewise.
12550
70c6c246
UD
125512011-12-23 Ulrich Drepper <drepper@gmail.com>
12552
12553 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12554 !__SSE_MATH__.
12555
c044cf14
LD
125562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12557
15db4de1 12558 [BZ #13540]
c044cf14
LD
12559 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12560 processing for last bytes.
12561
6b13d9d9
BH
125622011-08-06 Bruno Haible <bruno@clisp.org>
12563
d455f537
BH
12564 [BZ #13061]
12565 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12566 U+0385, not to U+1FEE.
12567
6b13d9d9
BH
12568 [BZ #13062]
12569 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12570 entry for U+00A5 U+0301.
12571
db910efd
UD
125722011-12-22 Ulrich Drepper <drepper@gmail.com>
12573
27deeafc
UD
12574 [BZ #13166]
12575 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12576 buffer for the output is too small.
12577
aed9d171
UD
12578 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12579 optimization.
12580
db910efd
UD
12581 [BZ #13185]
12582 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12583 SSE flags if possible.
12584
2bd779ae
LD
125852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12586
e7f9dac3 12587 [BZ #13540]
2bd779ae
LD
12588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12589 processing for last bytes.
12590
154bfc16
JM
125912011-12-22 Joseph Myers <joseph@codesourcery.com>
12592
12593 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12594 (syscall-list-default-options, syscall-list-default-condition)
12595 (syscall-list-includes): Define.
12596 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12597 list of ABIs and options and #if conditions for each ABI. Do not
12598 handle common syscalls between ABIs specially.
12599 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12600 Remove.
12601 (syscall-list-variants, syscall-list-32bit-options)
12602 (syscall-list-32bit-condition, syscall-list-64bit-options)
12603 (syscall-list-64bit-condition): Define.
12604 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12605 (syscall-list-variants, syscall-list-32bit-options)
12606 (syscall-list-32bit-condition, syscall-list-64bit-options)
12607 (syscall-list-64bit-condition): Define.
12608 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12609 Remove.
12610 (syscall-list-variants, syscall-list-32bit-options)
12611 (syscall-list-32bit-condition, syscall-list-64bit-options)
12612 (syscall-list-64bit-condition): Define.
12613 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12614 Remove.
12615 (syscall-list-variants, syscall-list-32bit-options)
12616 (syscall-list-32bit-condition, syscall-list-64bit-options)
12617 (syscall-list-64bit-condition): Define.
12618
21eaf3a5
UD
126192011-12-22 Ulrich Drepper <drepper@gmail.com>
12620
16c6f992
UD
12621 * locale/iso-639.def: Add brx entry.
12622
41043168
UD
12623 [BZ #13328]
12624 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12625 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12626
21eaf3a5
UD
12627 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12628 __feraiseexcept_renamed.
12629
e3a851a2
UD
126302011-12-21 Ulrich Drepper <drepper@gmail.com>
12631
4920765e
UD
12632 [BZ #13538]
12633 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12634 EPOLLET with unsigned values.
12635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12637
e3a851a2
UD
12638 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12639 to large cancellation.
12640 * math/s_cacoshf.c: Likewise.
12641 * math/s_cacoshl.c: Likewise.
12642
b27e24b8
RK
126432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12644
12645 [BZ #13305]
aebefeee 12646 [BZ #12786]
b27e24b8
RK
12647 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12648 * math/s_cacoshf.c: Likewise.
12649 * math/s_cacoshl.c: Likewise.
12650
ee190f67
UD
126512011-12-21 Ulrich Drepper <drepper@gmail.com>
12652
12653 [BZ #13439]
12654 * iconv/gconv.h: Define __GCONV_SWAP.
12655 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12656 * iconvdata/utf-16.c: Likewise.
12657 * iconvdata/utf-32.c: Likewise.
12658
707f25df
AS
126592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12660
12661 [BZ #13524]
12662 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12663 numerator after shifting it by one limb.
12664
d2daaa1e
RÁE
126652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12666
12667 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12668 under [__USE_EXTERN_INLINES].
12669
a4647e72
UD
126702011-12-17 Ulrich Drepper <drepper@gmail.com>
12671
12672 [BZ #13446]
12673 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12674
f0b264f1
AZ
126752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12676
12677 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12678 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12679 optimized code.
12680 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12681 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12682 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12683 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12684 for strncasecmp/strncasecmp_l compilation.
12685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12686 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12687
8ef4f244
MP
126882011-12-08 Marek Polacek <mpolacek@redhat.com>
12689
12690 [BZ #13484]
12691 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12692 of __asm__.
12693
97ac2654
UD
126942011-12-17 Ulrich Drepper <drepper@gmail.com>
12695
12696 [BZ #13506]
12697 * time/tzfile.c (__tzfile_read): Check values from file header.
12698
91d2a845
WS
126992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12700
12701 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12702 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12703 * powerpc/powerpc32/dl-start.S: Likewise.
12704 * powerpc/powerpc32/elf/start.S: Likewise.
12705 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12706 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12707 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12708 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12709 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12710 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12711 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12712 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12713 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12714 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12715 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12716 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12717 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12718 * powerpc/powerpc32/memset.S: Likewise.
12719 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12720 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12721 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12722 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12723 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12724 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12725 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12726 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12727 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12728 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12729 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12730 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12731 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12732
a1267ba1
AZ
127332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734
12735 * math/libm-test.inc: Added more nearbyint tests.
12736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12740
ad8ac1bd
RL
127412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12742
12743 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12744 FD_CLOEXEC.
12745
1d3e4b61
UD
127462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12747
12748 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12749 Add wcscpy-ssse3 wcscpy-c.
12750 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12751 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12752 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12753 * sysdeps/x86_64/wcschr.S: New file.
12754 * sysdeps/x86_64/wcsrchr.S: New file.
12755 * string/test-strcmp.c: Remove checking of wcscmp function for
12756 wrong alignments.
12757 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12758 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12759 wcsrchr-sse2 wcsrchr-c.
12760 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12761 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12762 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12763 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12764 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12765 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12766 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12767 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12768 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12769 * wcsmbc/wcschr.c (WCSCHR): New macro.
12770
5b330a2d
UD
127712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12772
12773 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12774 * wcsmbs/test-wcsrchr.c: New file.
12775 * string/test-strrchr.c: Add wcsrchr support.
12776 (WIDE): New macro.
12777 * wcsmbs/test-wcscpy.c: New file.
12778 * string/test-strcpy.c: Add wcscpy support.
12779 (WIDE): New macro.
26428b7c 12780
f039c043
UD
127812011-12-10 Ulrich Drepper <drepper@gmail.com>
12782
12783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12784 the inner loop.
12785
850fb039
AS
127862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12787
12788 [BZ #13472]
12789 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12790
4efbd5cb
UD
127912011-12-04 Ulrich Drepper <drepper@gmail.com>
12792
52ff5dd0 12793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12794 Minor optimizations.
52ff5dd0 12795
4efbd5cb
UD
12796 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12797 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12798 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12799
8a426e12
UD
128002011-12-03 Ulrich Drepper <drepper@gmail.com>
12801
aff2453d
UD
12802 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12803 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12804 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12805 for gcc to avoid warnings.
12806 * inet/Makefile (tests): Add tst-checks.
12807 * inet/tst-checks.c: New file.
12808
12809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12810 warning.
12811
12812 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12813 __wmemcmp_sse2.
12814
12815 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12816 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12817
8a426e12
UD
12818 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12819
9bea3473
UD
128202011-12-02 Ulrich Drepper <drepper@gmail.com>
12821
3a965496
UD
12822 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12823 problem.
12824
9bea3473
UD
12825 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12826
f101631b
UD
128272011-11-29 Joseph Myers <joseph@codesourcery.com>
12828
12829 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12830 conditional on GCC version.
12831 (__arch_compare_and_exchange_val_8_acq)
12832 (__arch_compare_and_exchange_val_16_acq)
12833 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12834 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12835 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12836
a98275aa
UD
128372011-12-02 Joseph Myers <joseph@codesourcery.com>
12838
12839 * sysdeps/sh/backtrace.c: New file.
12840
d4cc29a2
AS
128412011-12-02 Andreas Schwab <schwab@redhat.com>
12842
12843 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12844 parenthesis.
12845
6257af2d
AS
128462011-12-01 Andreas Schwab <schwab@redhat.com>
12847
12848 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12849 falling back to utime.
12850
b5f44c1a
AS
128512011-11-30 Andreas Schwab <schwab@redhat.com>
12852
12853 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12854 expectations for float.
12855
f3a6cc0a
AS
128562011-11-29 Andreas Schwab <schwab@redhat.com>
12857
12858 * locale/weight.h (findidx): Add parameter len.
12859 * locale/weightwc.h (findidx): Likewise.
12860 * posix/fnmatch_loop.c (FCT): Adjust caller.
12861 * posix/regcomp.c (build_equiv_class): Likewise.
12862 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12863 * posix/regexec.c (check_node_accept_bytes): Likewise.
12864 * string/strcoll_l.c (STRCOLL): Likewise.
12865 * string/strxfrm_l.c (STRXFRM): Likewise.
12866
9d65ea3a
UD
128672011-11-17 Ulrich Drepper <drepper@gmail.com>
12868
12869 * Makefile.in: Remove CVSOPT handling.
12870 * configure.in: Remove use of AC_REVISION.
12871 * iconvdata/Makefile (distribute): No need to filter out CVS.
12872 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12873 handling.
12874
5583a086
AS
128752011-11-16 Andreas Schwab <schwab@redhat.com>
12876
12877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12878 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12879 [USE_AS_STRNCASECMP_L]: Likewise.
12880 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12881 NO_TLS_DIRECT_SEG_REFS.
12882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12883 Fix argument offsets for non-PIC.
12884 [USE_AS_STRNCASECMP_L]: Likewise.
12885 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12886 NO_TLS_DIRECT_SEG_REFS.
12887
d62a8200
UD
128882011-11-15 Ulrich Drepper <drepper@gmail.com>
12889
9d65ea3a 12890 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12891 O_CLOEXEC.
12892 * locale/loadlocale.c (_nl_load_locale): Likewise.
12893
09f93bd3
AS
128942011-11-15 Andreas Schwab <schwab@redhat.com>
12895
446514f9
AS
12896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12897 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12899 (SYSCALL_GETTIME): Set errno on error.
12900
09f93bd3
AS
12901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12902 count references to noai6ai_cached.
12903
312be3f9
UD
129042011-11-15 Ulrich Drepper <drepper@gmail.com>
12905
12906 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12907
12908 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12909 FD_CLOEXEC for /proc/self/maps.
12910
12911 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12912 FD_CLOEXEC for /proc/meminfo.
12913
12914 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12915 gai.conf.
12916
12917 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12918 FD_CLOEXEC for given file.
12919
12920 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12921
12922 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12923 FD_CLOEXEC for /etc/hosts.
12924 (_gethtent): Likewise.
12925
12926 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12927
12928 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12929 cancellation and set FD_CLOEXEC for /etc/netgroup.
12930
12931 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12932 reading /etc/publickey.
12933
12934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12935 allow cancellation when reading /etc/group.
12936
12937 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12938 cancellation.
12939 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12940
12941 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12942 when using data file.
12943
12944 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12945
12946 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12947 (write_nis_obj): Use "c" and "e" in fopen.
12948
12949 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12950
12951 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12952
12953 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12954
12955 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12956
12957 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12958 locale.alias.
12959
12960 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12961
12962 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12963
12964 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12965
12966 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12967 file parsing and set FD_CLOEXEC.
12968
82af0fa8
UD
129692011-11-14 Ulrich Drepper <drepper@gmail.com>
12970
12971 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12972
a5fb313c
AS
129732011-11-14 Andreas Schwab <schwab@redhat.com>
12974
12975 * malloc/arena.c (arena_get2): Don't call reused_arena when
12976 _int_new_arena failed.
12977
6abf3465
UD
129782011-11-14 Ulrich Drepper <drepper@gmail.com>
12979
12980 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12981 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12982 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12983 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12986 to compile strcasecmp and strncasecmp.
12987 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12988 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12989
12990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12991
76e3966e
UD
129922011-11-13 Ulrich Drepper <drepper@gmail.com>
12993
12994 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12995 locale-defines.sym to gen-as-const-headers.
12996 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12997 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12999 to compile strcasecmp and strncasecmp.
13000 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13001 strcasecmp_l and strncasecmp_l.
13002 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13003 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13004 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13006 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13007 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13008 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13009 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13010 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13011 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13012 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13013
ab26144e
UD
130142011-11-12 Ulrich Drepper <drepper@gmail.com>
13015
7edb22ef
UD
13016 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13017 result of SYSDEP_GETTIME_CPU to retval.
13018 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13019 parameter list to macro. Remove trailing semicolon. Adjust users.
13020
9694fc44
UD
13021 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13022 variable.
13023
8ad89ef8
UD
13024 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13025 mantissa words.
13026 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13027
0c822ef9
UD
13028 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13029 from unused variable.
13030
874e0564
UD
13031 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13032 DWARF definitions.
13033 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13034 for assembling.
13035
3a2edc79
UD
13036 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13037 over namespaces.
13038
f3c2577f
UD
13039 * sunrpc/rpc_prot.c (rejected): Fix case value.
13040
294ce126
UD
13041 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13042 unsigned long long int to avoid warnings in shift.
13043
5e2b63c6
UD
13044 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13045 of use of trans.
13046 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13047 variable tmp.
13048
e7f4b08e
UD
13049 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13050 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13051 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13052
ab26144e
UD
13053 * nis/nis_table.c (nis_list): Use variable of correct type for
13054 result of __follow_path call.
13055
8a6d5255
AZ
130562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
13058 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13059 of math functions ceil, trunc, floor, round, and sqrt, when
13060 avaliable on the platform.
13061 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13062 name clash.
13063 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13064 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13065 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13066
aaddc98c
MP
130672011-10-30 Marek Polacek <mpolacek@redhat.com>
13068
13069 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13070 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13071
95b7042b
RM
130722011-11-11 Roland McGrath <roland@hack.frob.com>
13073
13074 * include/unistd.h: Fix __readlink return type.
13075 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13076
57769839
UD
130772011-11-11 Ulrich Drepper <drepper@gmail.com>
13078
13079 * stdlib/ucontext.h: Undo last change for makecontext.
13080
edc5984d
AS
130812011-11-11 Andreas Schwab <schwab@redhat.com>
13082
98591e58
AS
13083 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13084
edc5984d
AS
13085 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13086 * setjmp/setjmp.h: Mark functions as non-leaf.
13087 * setjmp/bits/setjmp2.h: Likewise.
13088 * stdlib/ucontext.h: Likewise.
13089
77cdc054
AS
130902011-11-10 Andreas Schwab <schwab@redhat.com>
13091
13092 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13093 (reused_arena): Don't check arena limit.
13094 (arena_get2): Atomically check arena limit.
13095
fe72eebd
UD
130962011-11-08 Ulrich Drepper <drepper@gmail.com>
13097
5f078c32
UD
13098 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13099 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13100
fe72eebd
UD
13101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13102 instructions.
13103
ae1bc2fa
AS
131042011-11-07 Andreas Schwab <schwab@redhat.com>
13105
7583a88d
AS
13106 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13107 handler when locking.
13108
ae1bc2fa
AS
13109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13110 Fix size of allocated buffer.
13111
10fb0bfa
AS
131122011-11-04 Andreas Schwab <schwab@redhat.com>
13113
998832a4
AS
13114 [BZ #10103]
13115 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13116 declarations for long double functions.
13117 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13118
10fb0bfa
AS
13119 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13120
3d7ba52b
AS
131212011-11-03 Andreas Schwab <schwab@redhat.com>
13122
a9ae54a1
AS
13123 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13124 installed.
13125
3d7ba52b
AS
13126 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13127 is disabled.
13128
bc8db248
ST
131292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13130
13131 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13132
45b96dd6
AS
131332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13134
647776f6
AS
13135 * include/alloca.h (stackinfo_alloca_round): Define.
13136 (extend_alloca): Use it.
13137 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13138 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13139 here.
13140
d91a8b93
AS
13141 * scripts/check-local-headers.sh: Ignore libaudit.h.
13142
45b96dd6
AS
13143 * nscd/Makefile (extra-objs): Make recursively expanded.
13144
432d41ce
UD
131452011-11-01 Ulrich Drepper <drepper@gmail.com>
13146
34372fc6
UD
13147 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13149
fadb59f8
UD
13150 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13151 * posix/tst-rfc3484-2.c: Likewise.
13152 * posix/tst-rfc3484-3.c: Likewise.
13153
78239589
UD
13154 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13155 process_vm_writev.
13156 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13157 process_vm_writev.
13158 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13159 process_vm_writev from libc using GLIBC_2.15 version.
13160
432d41ce
UD
13161 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13162
02f9c6cf
PP
131632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13164
13165 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13166 stack usage.
13167
3a2c0242
UD
131682011-10-31 Ulrich Drepper <drepper@gmail.com>
13169
f4ec4833
UD
13170 [BZ #13367]
13171 * nss/getent.c (initgroups_keys): Show error message in case no group
13172 names are given.
13173
3a2c0242
UD
13174 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13175 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13176 __bump_nl_timestamp.
13177 * nscd/connections (nscd_init): When host database is served open
13178 netlink socket and request notification about configuration changes.
13179 (main_loop_poll): Track netlink file descriptor and bump timestamp
13180 in case data becomes available.
13181 (main_loop_epoll): Likewise.
13182 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13183 (database_pers_head): Add extra_data fileds.
13184 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13185 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13186 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13187 Adjust caller.
13188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13189 in6ai data, call __free_in6ai.
13190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13191 Add -DHAVE_NETLINK.
13192 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13193 interface information. Reuse previous data if netlink timestamp
13194 is not changed.
13195 (__bump_nl_timestamp): New function.
13196 (__free_in6ai): New function.
13197
636064eb
UD
131982011-10-30 Ulrich Drepper <drepper@gmail.com>
13199
13200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13201 close_not_cancel_no_status here.
13202 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13203
9beb2334
UD
132042011-10-29 Ulrich Drepper <drepper@gmail.com>
13205
6ef76f3b
UD
13206 [BZ #13276]
13207 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13208 return value.
13209
0ffc4f3e 13210 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13211 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13212 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13213
cb95113e
UD
132142011-07-03 Andreas Jaeger <aj@suse.de>
13215
13216 [BZ #10709]
13217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13218 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13219 * math/libm-test.inc (sin_test): Add test case.
13220
a1b560ff
UD
132212011-10-29 Ulrich Drepper <drepper@gmail.com>
13222
c9aaface
UD
13223 [BZ #13337]
13224 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13226
d272e7f1
UD
13227 * elf/chroot_canon.c (chroot_canon): Cleanups.
13228
1bc33071
UD
13229 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13230
1760874d
TJ
13231 [BZ #13335]
13232 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13234
51d91b18
UD
13235 * string/test-strchr.c: Make usable for strchrnul testing.
13236 * string/test-strchrnul.c: New file.
13237 * string/Makefile (strop-tests): Add strchrnul.
13238
a1b560ff 13239 * po/it.po: Update from translation team.
b611fb81 13240 * po/es.po: Likewise.
a1b560ff 13241
a5b81e1f
UD
132422011-10-28 Ulrich Drepper <drepper@gmail.com>
13243
fd52bc6d
UD
13244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13245 the three constants needed as parameters. Drop the others.
13246 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13247 __m128i_strloadu_tolower.
52e4b9eb
UD
13248 Create and initialize variable zero and use it in all the places
13249 where _mm_setzero_si128 was used.
fd52bc6d 13250
a5b81e1f
UD
13251 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13252 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13253 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13255 anymore.
13256 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13257 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13258 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13259 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13260 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13261 __mpranred, __mptan.
13262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13266 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13267 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13269 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13271
b4343346
AS
132722011-10-28 Andreas Schwab <schwab@redhat.com>
13273
0c92d8a8
AS
13274 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13275 redefine if SHARED.
13276 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13277
b4343346
AS
13278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13279 wide char related routines to wcsmbs subdir.
13280
3871f58f
AS
132812011-10-27 Andreas Schwab <schwab@redhat.com>
13282
13283 [BZ #13344]
13284 * misc/sys/cdefs.h (__THROWNL): Define.
13285 * posix/unistd.h: Use __THREADNL instead of __THREAD
13286 for memory synchronization functions.
13287
94d44d9f
RM
132882011-10-26 Roland McGrath <roland@hack.frob.com>
13289
21b64b15 13290 [BZ #13349]
94d44d9f
RM
13291 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13292 doesn't exist.
13293 * manual/stdio.texi (Obstack Streams): Node removed.
13294
f6ce9294
AS
132952011-10-26 Andreas Schwab <schwab@redhat.com>
13296
80479147
AS
13297 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13300
f6ce9294
AS
13301 * math/math_private.h (math_force_eval): Allow non-addressable
13302 arguments.
13303 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13304
618280a1
UD
133052011-10-25 Ulrich Drepper <drepper@gmail.com>
13306
e0016b11
UD
13307 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13308 file is not needed.
13309
13310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13312 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13313 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13316 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13317 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13318 Add AVX variants.
13319 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13320 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13321 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13322 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13324 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13325 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13326 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13327 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13328 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13330 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13333 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13334 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13335 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13336 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13337 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13338
13339 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13340 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13341
618280a1
UD
13342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13343 place. Use VEX encoding when compiling for AVX.
13344
37822576
AS
133452011-10-25 Andreas Schwab <schwab@redhat.com>
13346
1f1e1947
AS
13347 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13348 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13349
37822576
AS
13350 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13351
31ea014d
UD
133522011-10-25 Ulrich Drepper <drepper@gmail.com>
13353
d7826aa1 13354 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13355 useless if() expression.
d7826aa1
UD
13356 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13375
31ea014d
UD
13376 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13377
16437fec
AS
133782011-10-25 Andreas Schwab <schwab@redhat.com>
13379
13380 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13381 condition.
13382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13383
31d3cc00
UD
133842011-10-25 Ulrich Drepper <drepper@gmail.com>
13385
13386 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13387 .text section. Avoid duplicate constants.
13388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13398 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13411 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13412 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13413 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13414 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13416 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13417 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13419 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13421 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13422 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13423 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13424 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13426 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13427 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13428 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13430 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13433
58985aa9
UD
134342011-10-24 Ulrich Drepper <drepper@gmail.com>
13435
202c9deb
UD
13436 * sysdeps/x86_64/dla.h: Move to ...
13437 * sysdeps/x86_64/fpu/dla.h: ...here.
13438 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13439 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13440
af968f62
UD
13441 * config.make.in: Add have-mfma4 entry.
13442 * configure.in: Substitute libc_cv_cc_fma4.
13443 * math/Makefile (dbl-only-routines): Add sincostab.
13444 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13445 Use __sincostab not sincos.
13446 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13447 name is a macro.
13448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13452 using __copysign.
13453 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13454 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13455 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13456 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13457 and __inv.
13458 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13459 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13460 __copysign.
13461 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13462 define aliases when function name is a macro.
13463 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13464 sysdeps/ieee754/dbl-64/sincos.tbl.
13465 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13466 fma4-enabled routines.
13467 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13468 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13469 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13470 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13472 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13475 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13477 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13478 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13479 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13480 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13481 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13482 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13483 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13484 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13485 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13487 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13488 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13490 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13497
58985aa9
UD
13498 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13499 rename.
13500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13508
a201fbcf
AS
135092011-10-24 Andreas Schwab <schwab@redhat.com>
13510
13511 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13512
fc2ee42a
LD
135132011-10-23 Ulrich Drepper <drepper@gmail.com>
13514
bb3129bd
UD
13515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13516
0275fff8
UD
13517 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13518 prediction.
13519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13520
2fa2ae85
UD
13521 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13522 Remove unused variable magic_bits.
13523 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13524
fc2ee42a
LD
13525 * string/strnlen.c: Define and use STRNLEN macro.
13526 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13527 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13529 * wcsmbs/wcslen.c: Define and use WCSLEN.
13530 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13531 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13532 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13533 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13534 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13535 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13537
ce7dd29f
LD
135382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13539
13540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13541 strnlen-sse2-no-bsf.
13542 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13544 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13545 Add strnlen support.
13546 (USE_AS_STRNLEN): New macro.
13547 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13548 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13549 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13550 * sysdeps/x86_64/wcslen.S: New file.
13551
979c70a3
MZ
135522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13553
13554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13555 XMM-moves are used for copying on small sizes.
13556
2d09f82f
LD
135572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13558
13559 * wcsmbs/Makefile (strop-tests): Add wcschr.
13560 * wcsmbs/test-wcschr.c: New file.
13561 * string/test-strchr.c: Update.
13562 Add wcschr support.
13563 (WIDE): New macro.
13564
619fccca
LD
135652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13566
2d09f82f 13567 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13568 * wcsmbs/test-wcslen.c: New file.
13569 * string/test-strlen.c: Update.
13570 Add wcslen support.
13571 (WIDE): New macro.
13572
09f699ea
UD
135732011-10-23 Ulrich Drepper <drepper@gmail.com>
13574
13575 * po/it.po: Update from translation team.
13576
95584d3b
LD
135772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13578
13579 * sysdeps/x86_64/wcscmp.S: Update.
13580 Fix wrong comparison semantics.
13581 wcscmp shall use signed comparison not unsigned.
13582 Don't use substraction to avoid overflow bug.
13583 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13584 * wcsmbc/wcscmp.c: Likewise.
13585 * string/test-strcmp.c: Likewise.
13586 Add new tests to check cases with negative values.
13587
c8b3296b
UD
135882011-10-23 Ulrich Drepper <drepper@gmail.com>
13589
13590 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13591 * sysdeps/x86_64/dla.h: ...here. New file.
13592 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13601
246ad57a
AS
136022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13603
13604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13605 __ynl_finite aliases.
13606
a1a87169
UD
136072011-10-22 Ulrich Drepper <drepper@gmail.com>
13608
0d355eb7
UD
13609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13610
a1a87169
UD
13611 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13612 define DLA_FMA.
13613 [DLA_FMA] (EMULV): Use DLA_FMA.
13614 [DLA_FMA] (MUL12): Use EMULV.
13615 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13616 that are not needed.
13617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13624
ee2aafe0
AS
136252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13626
13627 * math/s_nan.c: Undef __nan.
13628 * math/s_nanf.c: Undef __nanf.
13629 * math/s_nanl.c: Undef __nanl.
13630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13631 "math_private.h".
13632
bc62c2fb
UD
136332011-10-22 Ulrich Drepper <drepper@gmail.com>
13634
77425c63
UD
13635 * math/s_catan.c: Add branch predictions.
13636 * math/s_catanf.c: Likewise.
13637 * math/s_catanh.c: Likewise.
13638 * math/s_catanhf.c: Likewise.
13639 * math/s_catanhl.c: Likewise.
13640 * math/s_catanl.c: Likewise.
13641 * math/s_cexp.c: Likewise.
13642 * math/s_cexpf.c: Likewise.
13643 * math/s_cexpl.c: Likewise.
13644 * math/s_clog.c: Likewise.
13645 * math/s_clog10.c: Likewise.
13646 * math/s_clog10f.c: Likewise.
13647 * math/s_clog10l.c: Likewise.
13648 * math/s_clogf.c: Likewise.
13649 * math/s_clogl.c: Likewise.
13650 * math/s_csqrt.c: Likewise.
13651 * math/s_csqrtf.c: Likewise.
13652 * math/s_csqrtl.c: Likewise.
13653 * math/s_ctanf.c: Likewise.
13654 * math/s_ctanh.c: Likewise.
13655 * math/s_ctanhf.c: Likewise.
13656 * math/s_ctanhl.c: Likewise.
13657 * math/s_ctanl.c: Likewise.
13658
bc62c2fb
UD
13659 * math/math_private.h: Define __nan, __nanf, __nanl.
13660 * math/s_cacosh.c: Include <math_private.h>.
13661 * math/s_cacoshl.c: Likewise.
13662 * math/s_casinh.c: Likewise.
13663 * math/s_casinhf.c: Likewise.
13664 * math/s_casinhl.c: Likewise.
13665 * math/s_ccos.c: Rely entire on ccosh.
13666 * math/s_ccosf.c: Rely entire on ccoshf.
13667 * math/s_ccosl.c: Rely entirely on ccoshl.
13668 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13669 Remove tests for FE_INVALID.
13670 * math/s_ccoshf.c: Likewise.
13671 * math/s_ccoshl.c: Likewise.
13672 * math/s_csin.c: Likewise.
13673 * math/s_csinf.c: Likewise.
13674 * math/s_csinh.c Likewise.
13675 * math/s_csinhf.c: Likewise.
13676 * math/s_csinhl.c: Likewise.
13677 * math/s_csinl.c: Likewise.
13678 * math/s_ctan.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13680 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13682
8ec250a4
UD
136832011-10-21 Ulrich Drepper <drepper@gmail.com>
13684
c196fed8
UD
13685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13686 compilation problems.
13687
8ec250a4
UD
13688 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13689 __builtin_expect.
13690
8d4f46c6
UD
136912011-10-20 Ulrich Drepper <drepper@gmail.com>
13692
ed72b654
UD
13693 * sysdeps/i386/configure.in: Test for -mfma4 option.
13694 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13695 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13696 COMMON_CPUID_INDEX_80000001.
13697 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13698 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13699 use it if FMA3 is not supported.
13700 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13701
8d4f46c6
UD
13702 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13704
d45c60c2
AS
137052011-10-20 Andreas Schwab <schwab@redhat.com>
13706
13707 [BZ #12892]
13708 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13709 it would create a cycle with a link time dependency.
13710
d9a4d2ab
UD
137112011-10-19 Ulrich Drepper <drepper@gmail.com>
13712
855d1560
UD
13713 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13714 instruction.
13715 * string/Makefile (strop-tests): Add rawmemchr.
13716 * string/test-rawmemchr.c: New file.
13717
d9a4d2ab
UD
13718 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13720 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13721 when compiling str{,n}casecmp and when AVX is available. Hook up
13722 new optimized code in initializers.
13723
8f3b1ffe
AS
137242011-10-19 Andreas Schwab <schwab@redhat.com>
13725
13726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13727 __feraiseexcept instead of feraiseexcept.
13728
d38f1dba
UD
137292011-10-18 Ulrich Drepper <drepper@gmail.com>
13730
d9a8d0ab
UD
13731 * math/math_private.h: Define defaults for libc_fetestexcept and
13732 libc_feupdateenv.
13733 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13734 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13738 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13739 libc_fetestexcept and libc_feupdateenv.
13740
4855e3dd
UD
13741 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13742 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13743 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13744 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13745 libc_feholdexcept_setround.
13746
581d30e3
UD
13747 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13748 Add s_nearbyint-c and s_nearbyintf-c.
13749 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13750 nearbyintf inlines.
13751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13752 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13754 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13755
d38f1dba
UD
13756 * math/math_private.h: Define defaults for libc_fegetround,
13757 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13758 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13759 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13760 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13761 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13762 standard functions.
13763 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13764 Remove comments and hacks for old compiler versions.
13765 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13766 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13767 libc_feholdexceptl.
13768
caa6c9d8
AS
137692011-10-18 Andreas Schwab <schwab@redhat.com>
13770
13771 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13772 (__feraiseexcept_renamed): Add __NTH.
13773 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13774 namespace violations.
13775
97c066e6
UD
137762011-10-17 Ulrich Drepper <drepper@gmail.com>
13777
99ce7b04
UD
13778 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13779
1004d182
UD
13780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13781
228a984d
UD
13782 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13783 recently added interfaces.
13784 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13785
c8553a6a
UD
13786 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13787 about macro parameter expansion.
13788
ed22dcf6
UD
13789 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13790 __NO_MATH_INLINES is defined. Cleanups.
13791
13792 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13793 and __floorf is target has SSE4.1.
13794 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13795 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13796 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13797 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13798
b171c137
UD
13799 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13800 name.
13801 (floorf): Likewise.
13802
97c066e6
UD
13803 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13804
629f62ef
AS
138052011-10-17 Andreas Schwab <schwab@redhat.com>
13806
49a43d80
AS
13807 * misc/sys/cdefs.h: Fix last change.
13808
629f62ef
AS
13809 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13810 database lookup.
13811
e453f6cd
UD
138122011-10-16 Ulrich Drepper <drepper@gmail.com>
13813
aa78043a
UD
13814 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13815
ad0f5cad
UD
13816 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13825 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13826 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13827 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13828 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13829 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13830 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13831 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13832 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13833 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13834 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13835 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13837 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13838
13839 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13840 ceil, ceilf, floor, floorf.
13841
13842 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13843 Perform IRELATIVE relocations last.
13844
e453f6cd
UD
13845 * elf/do-rel.h: Add another parameter nrelative, replacing the
13846 local variable with the same name. Change name of the function
13847 to end in Rel or Rela (uppercase).
13848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13849 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13850 elf_dynamic_do_##reloc function.
13851
fd5bdc09
UD
138522011-10-15 Ulrich Drepper <drepper@gmail.com>
13853
79b195b5
UD
13854 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13855 is sufficient, at least on modern CPUs.
13856
d4a28569
UD
13857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13858
b61099b5
UD
13859 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13861
bcf01e6d
UD
13862 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13863 __expl_finite.
13864 * math/bits/math-finite.h: Add entries for exp.
13865 * math/e_expl.c: Add __*_finite alias.
13866 * sysdeps/i386/fpu/e_exp.S: Likewise.
13867 * sysdeps/i386/fpu/e_expf.S: Likewise.
13868 * sysdeps/i386/fpu/e_expl.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13874 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13875 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13876
ba1a0d59
UD
13877 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13878 is sufficient, at least on modern CPUs.
13879
fd5bdc09
UD
13880 * ctype/ctype-info.c (__ctype_init): Define.
13881 * include/ctype.h (__ctype_init): Declare.
13882 (__ctype_b_loc): The variable is always initialized.
13883 (__ctype_toupper_loc): Likewise.
13884 (__ctype_tolower_loc): Likewise.
13885 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13886 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13887
7872cfb0
AS
138882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13889
b468825a
AS
13890 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13891
7872cfb0
AS
13892 * configure.in: Also look in $cxxmachine/include for C++ system
13893 headers.
13894
be13f7bf
LD
138952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13896
13897 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13898 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13899 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13900 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13902 (USE_AS_WMEMCMP): New macro.
13903 Fixing indents.
13904 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13905 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13906 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13907 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13909 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13910 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13911 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13912 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13913 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13915 (USE_AS_WMEMCMP): New macro.
13916 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13917 * sysdeps/string/test-memcmp.c: Update.
13918 Fix simple_wmemcmp.
13919 Add new tests.
13920 * wcsmbs/wmemcmp.c: Update.
13921 (WMEMCMP): New macro.
13922 Fix overflow bug.
13923
556a2007
AJ
139242011-10-12 Andreas Jaeger <aj@suse.de>
13925
13926 [BZ #13268]
13927 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13928
538faaa7
UD
139292011-10-15 Ulrich Drepper <drepper@gmail.com>
13930
ab6737ff
UD
13931 * libio/iofwide.c (do_length): Avoid warning.
13932
538faaa7
UD
13933 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13934
396a21b1
UD
139352011-10-14 Ulrich Drepper <drepper@gmail.com>
13936
cdf2901f
UD
13937 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13938
38ad40ce
UD
13939 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13940 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13941 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13942 * sysdeps/i386/i686/fpu/e_log.S: New file.
13943 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13944 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13945
396a21b1
UD
13946 * ctype/ctype.h: Add support for inlined isXXX functions when
13947 compiling C++ code.
13948
6b1f68c9
AS
139492011-10-14 Andreas Schwab <schwab@redhat.com>
13950
349290c0
AS
13951 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13952
6b1f68c9
AS
13953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13954
f2282d42
RM
139552011-10-13 Roland McGrath <roland@hack.frob.com>
13956
13957 [BZ #13291]
13958 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13959
5298ffa8
AS
139602011-10-13 Andreas Schwab <schwab@redhat.com>
13961
714fad23
AS
13962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13963 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13964 feraiseexcept.
13965
81dcc7fb
AS
13966 * sysdeps/x86_64/memrchr.S: Check for zero size.
13967
5298ffa8
AS
13968 * string/stratcliff.c: Add memrchr tests.
13969
951fbcec
LD
139702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13971
13972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13973 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13974 rawmemchr-sse2 rawmemchr-sse2-bsf.
13975 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13976 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13977 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13978 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13979 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13980 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13981 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13982 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13984 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13985 * string/memrchr.c (MEMRCHR): New macro.
13986
0ac5ae23
UD
139872011-10-12 Ulrich Drepper <drepper@gmail.com>
13988
13989 Add integration with gcc's -ffinite-math-only and optimize wrapper
13990 functions in libm.
13991 * Versions.def: Define GLIBC_2.15 version for libm.
13992 * math/Makefile (headers): Add bits/math-finite.h.
13993 * math/bits/math-finite.h: New file.
13994 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13995 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13996 * math/e_acoshl.c: Add __*_finite alias.
13997 * math/e_acosl.c: Likewise.
13998 * math/e_asinl.c: Likewise.
13999 * math/e_atan2l.c: Likewise.
14000 * math/e_atanhl.c: Likewise.
14001 * math/e_coshl.c: Likewise.
14002 * math/e_exp10.c: Likewise.
14003 * math/e_exp10f.c: Likewise.
14004 * math/e_exp10l.c: Likewise.
14005 * math/e_exp2l.c: Likewise.
14006 * math/e_fmodl.c: Likewise.
14007 * math/e_gammal_r.c: Likewise.
14008 * math/e_hypotl.c: Likewise.
14009 * math/e_j0l.c: Likewise.
14010 * math/e_j1l.c: Likewise.
14011 * math/e_jnl.c: Likewise.
14012 * math/e_lgammal_r.c: Likewise.
14013 * math/e_log10l.c: Likewise.
14014 * math/e_log2l.c: Likewise.
14015 * math/e_logl.c: Likewise.
14016 * math/e_powl.c: Likewise.
14017 * math/e_sinhl.c: Likewise.
14018 * math/e_sqrtl.c: Likewise.
14019 * math/e_scalb.c: Completely rewritten and optimized.
14020 * math/e_scalbf.c: Likewise.
14021 * math/e_scalbl.c: Likewise.
14022 * math/w_acos.c: Likewise.
14023 * math/w_acosf.c: Likewise.
14024 * math/w_acosl.c: Likewise.
14025 * math/w_acosh.c: Likewise.
14026 * math/w_acoshf.c: Likewise.
14027 * math/w_acoshl.c: Likewise.
14028 * math/w_asin.c: Likewise.
14029 * math/w_asinf.c: Likewise.
14030 * math/w_asinl.c: Likewise.
14031 * math/w_atan2.c: Likewise.
14032 * math/w_atan2f.c: Likewise.
14033 * math/w_atan2l.c: Likewise.
14034 * math/w_atanh.c: Likewise.
14035 * math/w_atanhf.c: Likewise.
14036 * math/w_atanhl.c: Likewise.
14037 * math/w_exp10.c: Likewise.
14038 * math/w_exp10f.c: Likewise.
14039 * math/w_exp10l.c: Likewise.
14040 * math/w_fmod.c: Likewise.
14041 * math/w_fmodf.c: Likewise.
14042 * math/w_fmodl.c: Likewise.
14043 * math/w_j0.c: Likewise.
14044 * math/w_j0f.c: Likewise.
14045 * math/w_j0l.c: Likewise.
14046 * math/w_j1.c: Likewise.
14047 * math/w_j1f.c: Likewise.
14048 * math/w_j1l.c: Likewise.
14049 * math/w_jn.c: Likewise.
14050 * math/w_jnf.c: Likewise.
14051 * math/w_log.c: Likewise.
14052 * math/w_logf.c: Likewise.
14053 * math/w_logl.c: Likewise.
14054 * math/w_log10.c: Likewise.
14055 * math/w_log10f.c: Likewise.
14056 * math/w_log10l.c: Likewise.
14057 * math/w_log2.c: Likewise.
14058 * math/w_log2f.c: Likewise.
14059 * math/w_log2l.c: Likewise.
14060 * math/w_pow.c: Likewise.
14061 * math/w_powf.c: Likewise.
14062 * math/w_powl.c: Likewise.
14063 * math/w_remainder.c: Likewise.
14064 * math/w_remainderf.c: Likewise.
14065 * math/w_remainderl.c: Likewise.
14066 * math/w_scalb.c: Likewise.
14067 * math/w_scalbf.c: Likewise.
14068 * math/w_scalbl.c: Likewise.
14069 * math/w_sqrt.c: Likewise.
14070 * math/w_sqrtf.c: Likewise.
14071 * math/w_sqrtl.c: Likewise.
14072 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14073 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14074 used.
14075 * math/math_private.h: Declare __kernel_standard_f.
14076 * math/w_cosh.c: Remove cruft and optimize a bit.
14077 * math/w_coshf.c: Likewise.
14078 * math/w_coshl.c: Likewise.
14079 * math/w_exp2.c: Likewise.
14080 * math/w_exp2f.c: Likewise.
14081 * math/w_exp2l.c: Likewise.
14082 * math/w_hypot.c: Likewise.
14083 * math/w_hypotf.c: Likewise.
14084 * math/w_hypotl.c: Likewise.
14085 * math/w_lgamma.c: Likewise.
14086 * math/w_lgamma_r.c: Likewise.
14087 * math/w_lgammaf.c: Likewise.
14088 * math/w_lgammaf_r.c: Likewise.
14089 * math/w_lgammal.c: Likewise.
14090 * math/w_lgammal_r.c: Likewise.
14091 * math/w_sinh.c: Likewise.
14092 * math/w_sinhf.c: Likewise.
14093 * math/w_sinhl.c: Likewise.
14094 * math/w_tgamma.c: Likewise.
14095 * math/w_tgammaf.c: Likewise.
14096 * math/w_tgammal.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14098 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14099 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14100 Minor optimizations. Pretty printing. Remove cruft.
14101 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14102 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14105 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14106 * sysdeps/i386/fpu/e_asin.S: Likewise.
14107 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14108 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14109 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14110 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14114 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14115 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14116 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14117 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14118 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14119 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14120 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14121 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14122 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14123 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14124 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14125 * sysdeps/i386/fpu/e_log.S: Likewise.
14126 * sysdeps/i386/fpu/e_log10.S: Likewise.
14127 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14128 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14129 * sysdeps/i386/fpu/e_log2.S: Likewise.
14130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14131 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14132 * sysdeps/i386/fpu/e_logf.S: Likewise.
14133 * sysdeps/i386/fpu/e_logl.S: Likewise.
14134 * sysdeps/i386/fpu/e_pow.S: Likewise.
14135 * sysdeps/i386/fpu/e_powf.S: Likewise.
14136 * sysdeps/i386/fpu/e_powl.S: Likewise.
14137 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14138 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14139 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14143 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14144 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14145 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14167 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14170 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14171 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14173 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14174 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14175 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14181 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14182 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14183 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14184 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14187 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14229 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14231 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14234 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14237 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14238 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14239 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14240 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14241 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14242 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14243 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14244 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14245 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14246 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14247 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14248 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14249 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14251 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14254 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14255 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14256 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14257 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14258 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14259 (__isnanf): Likewise.
14260 (__isinf_ns): Likewise.
14261 (__isinf_nsf): Likewise.
14262 (__finite): Likewise.
14263 (__finitef): Likewise.
14264 (__ieee754_sqrt): Define as macro.
14265 (__ieee754_sqrtf): Define as macro.
14266 (__ieee754_sqrtl): Define as macro.
14267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14268 inlined copy.
14269 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14270 __FINITE_MATH_ONLY__ consistent.
14271 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14272
12cc2fcd
AS
142732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14274
a843a204
AS
14275 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14276 of rawmemchr.
14277
12cc2fcd
AS
14278 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14279
c853acd5
UD
142802011-10-09 Ulrich Drepper <drepper@gmail.com>
14281
14282 * po/ja.po: Update from translation team.
14283
c658d255
RM
142842011-10-08 Roland McGrath <roland@hack.frob.com>
14285
110946e4
RM
14286 * locale/programs/locarchive.c (prepare_address_space): New function.
14287 (create_archive, enlarge_archive, open_archive): Use it.
14288
50604220
RM
14289 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14290 inside [SHARED], where it is used.
14291
c658d255
RM
14292 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14293
14294 * nss/getent.c (netgroup_keys): Remove unused variable.
14295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14296
6a621eb7
UD
142972011-10-08 Ulrich Drepper <drepper@gmail.com>
14298
7edb55ce
UD
14299 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14300 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14304 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14305 * math/Makefile (libm-calls): Add s_isinf_ns.
14306 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14307 * math/multc3.c: Likewise.
14308 * math/s_casin.c: Likewise.
14309 * math/s_casinf.c: Likewise.
14310 * math/s_casinl.c: Likewise.
14311 * math/s_ccos.c: Likewise.
14312 * math/s_ccosf.c: Likewise.
14313 * math/s_ccosl.c: Likewise.
14314 * math/s_ctan.c: Likewise.
14315 * math/s_ctanf.c: Likewise.
14316 * math/s_ctanh.c: Likewise.
14317 * math/s_ctanhf.c: Likewise.
14318 * math/s_ctanhl.c: Likewise.
14319 * math/s_ctanl.c: Likewise.
14320 * math/w_fmod.c: Likewise.
14321 * math/w_fmodf.c: Likewise.
14322 * math/w_fmodl.c: Likewise.
14323 * math/w_remainder.c: Likewise.
14324 * math/w_remainderf.c: Likewise.
14325 * math/w_remainderl.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14327 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14328 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14330 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14331 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14332 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14333 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14334
187da0ae
UD
14335 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14336 of the number.
14337 * stdio-common/printf_fphex.c: Likewise.
14338 * stdio-common/printf_size.c: Likewise.
14339
9277c064
UD
14340 * math/e_exp10.c: Include math_private.h using <...> not "...".
14341 * math/e_exp10f.c: Likewise.
14342 * math/e_exp10l.c: Likewise.
14343 * math/e_exp2l.c: Likewise.
14344 * math/e_j0l.c: Likewise.
14345 * math/e_j1l.c: Likewise.
14346 * math/e_jnl.c: Likewise.
14347 * math/e_lgammal_r.c: Likewise.
14348 * math/e_rem_pio2l.c: Likewise.
14349 * math/e_scalb.c: Likewise.
14350 * math/e_scalbf.c: Likewise.
14351 * math/e_scalbl.c: Likewise.
14352 * math/k_cosl.c: Likewise.
14353 * math/k_sinl.c: Likewise.
14354 * math/k_tanl.c: Likewise.
14355 * math/s_cacoshf.c: Likewise.
14356 * math/s_catan.c: Likewise.
14357 * math/s_catanf.c: Likewise.
14358 * math/s_catanh.c: Likewise.
14359 * math/s_catanhf.c: Likewise.
14360 * math/s_catanhl.c: Likewise.
14361 * math/s_catanl.c: Likewise.
14362 * math/s_ccosh.c: Likewise.
14363 * math/s_ccoshf.c: Likewise.
14364 * math/s_ccoshl.c: Likewise.
14365 * math/s_cexp.c: Likewise.
14366 * math/s_cexpf.c: Likewise.
14367 * math/s_cexpl.c: Likewise.
14368 * math/s_clog.c: Likewise.
14369 * math/s_clog10.c: Likewise.
14370 * math/s_clog10f.c: Likewise.
14371 * math/s_clog10l.c: Likewise.
14372 * math/s_clogf.c: Likewise.
14373 * math/s_clogl.c: Likewise.
14374 * math/s_csin.c: Likewise.
14375 * math/s_csinf.c: Likewise.
14376 * math/s_csinh.c: Likewise.
14377 * math/s_csinhf.c: Likewise.
14378 * math/s_csinhl.c: Likewise.
14379 * math/s_csinl.c: Likewise.
14380 * math/s_csqrt.c: Likewise.
14381 * math/s_csqrtf.c: Likewise.
14382 * math/s_csqrtl.c: Likewise.
14383 * math/s_ctan.c: Likewise.
14384 * math/s_ctanf.c: Likewise.
14385 * math/s_ctanh.c: Likewise.
14386 * math/s_ctanhf.c: Likewise.
14387 * math/s_ctanhl.c: Likewise.
14388 * math/s_ctanl.c: Likewise.
14389 * math/s_ldexp.c: Likewise.
14390 * math/s_ldexpf.c: Likewise.
14391 * math/s_ldexpl.c: Likewise.
14392 * math/s_significand.c: Likewise.
14393 * math/s_significandf.c: Likewise.
14394 * math/s_significandl.c: Likewise.
14395 * math/w_acos.c: Likewise.
14396 * math/w_acosf.c: Likewise.
14397 * math/w_acosh.c: Likewise.
14398 * math/w_acoshf.c: Likewise.
14399 * math/w_acoshl.c: Likewise.
14400 * math/w_acosl.c: Likewise.
14401 * math/w_asin.c: Likewise.
14402 * math/w_asinf.c: Likewise.
14403 * math/w_asinl.c: Likewise.
14404 * math/w_atan2.c: Likewise.
14405 * math/w_atan2f.c: Likewise.
14406 * math/w_atan2l.c: Likewise.
14407 * math/w_atanh.c: Likewise.
14408 * math/w_atanhf.c: Likewise.
14409 * math/w_atanhl.c: Likewise.
14410 * math/w_cosh.c: Likewise.
14411 * math/w_coshf.c: Likewise.
14412 * math/w_coshl.c: Likewise.
14413 * math/w_dremf.c: Likewise.
14414 * math/w_exp10.c: Likewise.
14415 * math/w_exp10f.c: Likewise.
14416 * math/w_exp10l.c: Likewise.
14417 * math/w_exp2.c: Likewise.
14418 * math/w_exp2f.c: Likewise.
14419 * math/w_fmod.c: Likewise.
14420 * math/w_fmodf.c: Likewise.
14421 * math/w_fmodl.c: Likewise.
14422 * math/w_hypot.c: Likewise.
14423 * math/w_hypotf.c: Likewise.
14424 * math/w_hypotl.c: Likewise.
14425 * math/w_j0.c: Likewise.
14426 * math/w_j0f.c: Likewise.
14427 * math/w_j0l.c: Likewise.
14428 * math/w_j1.c: Likewise.
14429 * math/w_j1f.c: Likewise.
14430 * math/w_j1l.c: Likewise.
14431 * math/w_jn.c: Likewise.
14432 * math/w_jnf.c: Likewise.
14433 * math/w_jnl.c: Likewise.
14434 * math/w_lgamma.c: Likewise.
14435 * math/w_lgamma_r.c: Likewise.
14436 * math/w_lgammaf.c: Likewise.
14437 * math/w_lgammaf_r.c: Likewise.
14438 * math/w_lgammal.c: Likewise.
14439 * math/w_lgammal_r.c: Likewise.
14440 * math/w_log.c: Likewise.
14441 * math/w_log10.c: Likewise.
14442 * math/w_log10f.c: Likewise.
14443 * math/w_log10l.c: Likewise.
14444 * math/w_log2.c: Likewise.
14445 * math/w_log2f.c: Likewise.
14446 * math/w_log2l.c: Likewise.
14447 * math/w_logf.c: Likewise.
14448 * math/w_logl.c: Likewise.
14449 * math/w_pow.c: Likewise.
14450 * math/w_powf.c: Likewise.
14451 * math/w_powl.c: Likewise.
14452 * math/w_remainder.c: Likewise.
14453 * math/w_remainderf.c: Likewise.
14454 * math/w_remainderl.c: Likewise.
14455 * math/w_scalb.c: Likewise.
14456 * math/w_scalbf.c: Likewise.
14457 * math/w_scalbl.c: Likewise.
14458 * math/w_sinh.c: Likewise.
14459 * math/w_sinhf.c: Likewise.
14460 * math/w_sinhl.c: Likewise.
14461 * math/w_sqrt.c: Likewise.
14462 * math/w_sqrtf.c: Likewise.
14463 * math/w_sqrtl.c: Likewise.
14464 * math/w_tgamma.c: Likewise.
14465 * math/w_tgammaf.c: Likewise.
14466 * math/w_tgammal.c: Likewise.
14467
6a621eb7
UD
14468 * po/ja.po: Update from translation team.
14469
bf582445
AJ
144702011-09-29 Andreas Jaeger <aj@suse.de>
14471
f9efbf3a
AJ
14472 [BZ #13179]
14473 * sunrpc/netname.c (netname2host): Fix logic.
14474
bf582445
AJ
14475 [BZ #6779]
14476 [BZ #6783]
14477 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14478 correctly.
14479 * math/w_remainder.c (__remainder): Likewise.
14480 * math/w_remainderf.c (__remainderf): Likewise.
14481 * math/libm-test.inc (remainder_test): Add test cases.
14482
48693bea
AK
144832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14484
14485 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14486 sdiv_qrnnd.
14487
42622229
LD
144882011-10-07 Ulrich Drepper <drepper@gmail.com>
14489
14490 * string/test-memcmp.c: Avoid unncessary #defines.
14491 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14492
093ecf92
LD
144932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14494
14495 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14496 Use new sse2 version for core i3 - i7 as it's faster
14497 than sse42 version.
14498 (bit_Prefer_PMINUB_for_stringop): New.
14499 * sysdeps/x86_64/rawmemchr.S: Update.
14500 Replace with faster SSE2 version.
14501 * sysdeps/x86_64/memrchr.S: New file.
14502 * sysdeps/x86_64/memchr.S: Update.
14503 Replace with faster SSE2 version.
14504
fde56e5c
MP
145052011-09-12 Marek Polacek <mpolacek@redhat.com>
14506
14507 * elf/dl-load.c (lose): Add cast to avoid warning.
14508
21fd49a9
UD
145092011-10-07 Ulrich Drepper <drepper@gmail.com>
14510
5a06e643
UD
14511 * po/ca.po: Update from translation team.
14512
684ae515
UD
14513 * inet/getnetgrent_r.c: Hook up nscd.
14514 * nscd/Makefile (routines): Add nscd_netgroup.
14515 (nscd-modules): Add netgroupcache.
14516 (CFLAGS-netgroupcache.c): Define.
14517 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14518 (cache_search): Add const to second parameter.
14519 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14520 INNETGR.
14521 (dbs): Add netgrdb entry.
14522 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14523 (verify_persistent_db): Handle netgrdb.
14524 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14525 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14526 GETFDNETGR.
14527 (netgroup_response_header): Define.
14528 (innetgroup_response_header): Define.
14529 (datahead): Add netgroup_response_header and innetgroup_response_header
14530 elements.
14531 * nscd/nscd.conf: Add entries for netgroup cache.
14532 * nscd/nscd.h (dbtype): Add netgrdb.
14533 (_PATH_NSCD_NETGROUP_DB): Define.
14534 (netgroup_iov_disabled): Declare.
14535 (xmalloc, xcalloc, xrealloc): Move declarations here.
14536 (cache_search): Adjust prototype.
14537 Add netgroup-related prototypes.
14538 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14539 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14540 (__nscd_innetgr): Declare.
14541 * nscd/selinux.c (perms): Use access_vector_t as element type and
14542 add netgroup-related initializers.
14543 * nscd/netgroupcache.c: New file.
14544 * nscd/nscd_netgroup.c: New file.
14545 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14546 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14547 For four parameters use innetgr.
14548 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14549 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14550 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14551 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14552
21fd49a9
UD
14553 * nscd/connections.c (register_traced_file): Don't register file
14554 for disabled databases.
14555
054c0457
UD
145562011-10-06 Ulrich Drepper <drepper@gmail.com>
14557
32b63198
UD
14558 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14559
054c0457
UD
14560 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14561 from tree and freeing node.
14562
64031225
JO
145632011-09-25 Jiri Olsa <jolsa@redhat.com>
14564
14565 * nss/nsswitch.c (__nss_database_lookup): Handle
14566 nss_parse_service_list out of memory case.
14567
0490345c
JO
145682011-09-15 Jiri Olsa <jolsa@redhat.com>
14569
14570 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14571 out of memory case.
14572
3a62d00d
AS
145732011-10-04 Andreas Schwab <schwab@redhat.com>
14574
14575 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14576 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14577 pass it down.
14578 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14579 elf_machine_rela, elf_machine_lazy_rel.
14580 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14581 (ELF_DYNAMIC_DO_REL): Likewise.
14582 (ELF_DYNAMIC_DO_RELA): Likewise.
14583 (ELF_DYNAMIC_RELOCATE): Likewise.
14584 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14585 to ELF_DYNAMIC_DO_REL.
14586 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14587 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14588 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14589 elf_machine_rela.
14590 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14591 skip_ifunc, don't call ifunc function if non-zero.
14592 (elf_machine_rela): Likewise.
14593 (elf_machine_lazy_rel): Likewise.
14594 (elf_machine_lazy_rela): Likewise.
14595 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14596 (elf_machine_lazy_rel): Likewise.
14597 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14598 Likewise.
14599 (elf_machine_lazy_rel): Likewise.
14600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14601 Likewise.
14602 (elf_machine_lazy_rel): Likewise.
14603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14604 (elf_machine_lazy_rel): Likewise.
14605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14606 (elf_machine_lazy_rel): Likewise.
14607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14608 (elf_machine_lazy_rel): Likewise.
14609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14610 (elf_machine_lazy_rel): Likewise.
14611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14612 (elf_machine_lazy_rel): Likewise.
14613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14614 (elf_machine_lazy_rel): Likewise.
14615
68577918
UD
146162011-09-28 Ulrich Drepper <drepper@gmail.com>
14617
14618 * nss/nss_files/files-init.c (_nss_files_init): Use static
14619 initialization for all the *_traced_file variables.
14620
68822d74
AS
146212011-09-28 Andreas Schwab <schwab@redhat.com>
14622
14623 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14624
2056100b
RM
146252011-09-27 Roland McGrath <roland@hack.frob.com>
14626
14627 [BZ #13226]
14628 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14629
32c76b63
AS
146302011-09-27 Andreas Schwab <schwab@redhat.com>
14631
14632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14633 Reread the line before reparsing it.
14634
bf972c9d
AS
146352011-09-26 Andreas Schwab <schwab@redhat.com>
14636
14637 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14638
e057a1b5
JM
146392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14640 Maxim Kuvyrkov <maxim@codesourcery.com>
14641 Joseph Myers <joseph@codesourcery.com>
14642
14643 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14644 if needed for __stack_chk_guard.
14645
bc7e1c36
RM
146462011-09-19 Roland McGrath <roland@hack.frob.com>
14647
ecb1482f
RM
14648 * sysdeps/posix/spawni.c (script_execute): Always define it.
14649 It will be optimized away if unused.
14650 (maybe_script_execute): New function.
14651 (__spawni): Call it.
14652
bc7e1c36
RM
14653 * Makerules: Don't include tls.make.
14654 (config-tls): Always set to thread.
14655 * tls.make.c: File removed.
14656
1c3b002b
MF
146572011-09-19 Mike Frysinger <vapier@gentoo.org>
14658
14659 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14660 * config.make.in (CPPFLAGS-config): New substituted variable.
14661
2840865d
UD
146622011-09-15 Ulrich Drepper <drepper@gmail.com>
14663
88738eb6
UD
14664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14665
cbf645a6 14666 [BZ #13192]
2840865d
UD
14667 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14668 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14669
b402e91a
RM
146702011-09-15 Roland McGrath <roland@hack.frob.com>
14671
14672 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14673 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14675 (CALL_FAIL): Likewise.
14676 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14677 (CALL_FAIL): Macro removed.
14678 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14679
4c1a1f71
UD
146802011-09-15 Ulrich Drepper <drepper@gmail.com>
14681
14682 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14683 for __FINITE_MATH_ONLY__ == 1.
14684
edc121be
AS
146852011-09-15 Andreas Schwab <schwab@redhat.com>
14686
14687 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14688 __ieee754_sqrt instead of sqrt.
14689 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14690 __ieee754_sqrtf instead of sqrtf.
14691 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14692 __floorf instead of floorf.
14693 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14694 __floorf, __truncf instead of floorf, truncf.
14695
cd205654
UD
146962011-09-14 Ulrich Drepper <drepper@gmail.com>
14697
ee4d0315
UD
14698 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14699
cd205654
UD
14700 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14701 __extern_always_inline.
14702 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14703 32-bit.
14704
48b67d71
AS
147052011-09-14 Andreas Schwab <schwab@redhat.com>
14706
14707 * elf/rtld.c (dl_main): Also relocate in dependency order when
14708 doing symbol dependency testing.
14709
1ae12c75
AS
147102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14711
14712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14713 Always define `refsym'.
14714
995a80df
AS
147152011-09-13 Andreas Schwab <schwab@redhat.com>
14716
e529793b
AS
14717 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14718 (__FD_ELT): Renamed from __FDELT.
14719 * misc/bits/select2.h (__FD_ELT): Likewise.
14720 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14721 __FD_MASK instead of __FDELT, __FDMASK.
14722 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14723 Likewise.
14724 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14725 Likewise.
14726
52d4fef8
AS
14727 * elf/Makefile (gen-ldd): Fix pattern.
14728
995a80df
AS
14729 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14730 (init_tls): Likewise.
14731
8682f8b0
UD
147322011-09-12 Ulrich Drepper <drepper@gmail.com>
14733
14734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14735
de82006d
AS
147362011-09-12 Andreas Schwab <schwab@redhat.com>
14737
a7c8e6a1
AS
14738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14739 `struct cmsghdr *' instead of `void *'.
14740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14741 Likewise.
14742
0f31fe77
AS
147432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14744
14745 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14746 if non-absolute.
14747 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14748 ldd_rewrite_script.
0f31fe77 14749
32b4c839
UD
147502011-09-11 Ulrich Drepper <drepper@gmail.com>
14751
83cd1420
UD
14752 * configure.in: Remove --with-tls option.
14753 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14754 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14755 out in case it is missing.
14756 * sysdeps/ia64/elf/configure.in: Likewise.
14757 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14758 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14759 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14760 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14761 * sysdeps/sh/elf/configure.in: Likewise.
14762 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14763 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14764 * sysdeps/x86_64/elf/configure.in: Likewise.
14765 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14766 * sysdeps/mach/hurd/tls.h: Likewise.
14767
633f745d
UD
14768 [BZ #13067]
14769 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14770
f318beb8
UD
14771 [BZ #13090]
14772 * configure.in: Fix use of AC_INIT.
14773
32b4c839
UD
14774 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14775
3ce1f295
UD
147762011-09-10 Ulrich Drepper <drepper@gmail.com>
14777
bb016596
UD
14778 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14779 __set_errno.
8e58439c
UD
14780 * malloc/hooks.c: Likewise.
14781
aebae053 14782 [BZ #11929]
02d46fc4
UD
14783 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14784 variables statically.
14785 (narenas): Initialize.
14786 (list_lock): Initialize.
bb016596
UD
14787 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14788 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14789 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14790 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14791 Add initializers to main_arena and mp_.
14792 (malloc_state): Remove pagesize member. Change all users to use
14793 GLRO(dl_pagesize).
14794
14795 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14796 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14797 is always initialized.
14798
22a89187
UD
14799 * malloc/malloc.c: Removed unused configurations and dead code.
14800 * malloc/arena.c: Likewise.
14801 * malloc/hooks.c: Likewise.
02d46fc4 14802 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14803
d063d164
UD
14804 * include/tls.h: Removed. USE___THREAD must always be defined.
14805 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14806 * elf/dl-libc.c: Likewise.
14807 * elf/dl-tsd.c: Likewise.
14808 * include/errno.h: Likewise.
14809 * include/netdb.h: Likewise.
14810 * include/resolv.h: Likewise.
14811 * inet/herrno-loc.c: Likewise.
14812 * inet/herrno.c: Likewise.
14813 * malloc/arena.c: Likewise.
14814 * malloc/hooks.c: Likewise.
14815 * malloc/malloc.c: Likewise.
14816 * resolv/res-state.c: Likewise.
14817 * resolv/res_libc.c: Likewise.
14818 * sysdeps/i386/dl-machine.h: Likewise.
14819 * sysdeps/ia64/dl-machine.h: Likewise.
14820 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14821 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14822 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14823 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14824 * sysdeps/sh/dl-machine.h: Likewise.
14825 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14826 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14827 * sysdeps/unix/i386/sysdep.S: Likewise.
14828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14829 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14838 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14839 * sysdeps/x86_64/dl-machine.h: Likewise.
14840 * tls.make.c: Likewise.
14841
3ce1f295
UD
14842 * configure.in: Remove --with-__thread option. Make tests for
14843 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14844 tls_model attribute fail if no support is available. Remove
14845 USE_IN_LIBIO.
14846 * Makeconfig: Adjust for dropped configure option. All features are
14847 now mandatory.
14848 * Makerules: Likewise.
14849 * Versions.def: Likewise.
14850 * argp/argp-fmtstream.c: Likewise.
14851 * argp/argp-fmtstream.h: Likewise.
14852 * argp/argp-help.c: Likewise.
14853 * assert/assert.c: Likewise.
14854 * config.h.in: Likewise.
14855 * config.make.in: Likewise.
14856 * configure: Likewise.
14857 * configure.in: Likewise.
14858 * csu/Versions: Likewise.
14859 * csu/init.c: Likewise.
14860 * elf/tst-audit2.c: Likewise.
14861 * elf/tst-tls10.c: Likewise.
14862 * elf/tst-tls10.h: Likewise.
14863 * elf/tst-tls11.c: Likewise.
14864 * elf/tst-tls12.c: Likewise.
14865 * elf/tst-tls14.c: Likewise.
14866 * elf/tst-tlsmod11.c: Likewise.
14867 * elf/tst-tlsmod12.c: Likewise.
14868 * elf/tst-tlsmod13.c: Likewise.
14869 * elf/tst-tlsmod13a.c: Likewise.
14870 * elf/tst-tlsmod14a.c: Likewise.
14871 * elf/tst-tlsmod15b.c: Likewise.
14872 * elf/tst-tlsmod16a.c: Likewise.
14873 * elf/tst-tlsmod16b.c: Likewise.
14874 * elf/tst-tlsmod7.c: Likewise.
14875 * elf/tst-tlsmod8.c: Likewise.
14876 * elf/tst-tlsmod9.c: Likewise.
14877 * gmon/gmon.c: Likewise.
14878 * grp/fgetgrent_r.c: Likewise.
14879 * grp/putgrent.c: Likewise.
14880 * hurd/fopenport.c: Likewise.
14881 * include/libc-symbols.h: Likewise.
14882 * include/tls.h: Likewise.
14883 * intl/gettextP.h: Likewise.
14884 * intl/loadinfo.h: Likewise.
14885 * locale/global-locale.c: Likewise.
14886 * locale/localeinfo.h: Likewise.
14887 * mach/devstream.c: Likewise.
14888 * malloc/arena.c: Likewise.
14889 * malloc/set-freeres.c: Likewise.
14890 * misc/err.c: Likewise.
14891 * misc/getttyent.c: Likewise.
14892 * misc/mntent_r.c: Likewise.
14893 * posix/getopt.c: Likewise.
14894 * posix/wordexp.c: Likewise.
14895 * pwd/fgetpwent_r.c: Likewise.
14896 * resolv/Versions: Likewise.
14897 * resolv/res_hconf.c: Likewise.
14898 * shadow/fgetspent_r.c: Likewise.
14899 * shadow/putspent.c: Likewise.
14900 * stdio-common/printf_fphex.c: Likewise.
14901 * stdio-common/tmpfile.c: Likewise.
14902 * stdlib/abort.c: Likewise.
14903 * stdlib/fmtmsg.c: Likewise.
14904 * sunrpc/auth_unix.c: Likewise.
14905 * sunrpc/clnt_perr.c: Likewise.
14906 * sunrpc/clnt_tcp.c: Likewise.
14907 * sunrpc/clnt_udp.c: Likewise.
14908 * sunrpc/clnt_unix.c: Likewise.
14909 * sunrpc/openchild.c: Likewise.
14910 * sunrpc/svc_simple.c: Likewise.
14911 * sunrpc/svc_tcp.c: Likewise.
14912 * sunrpc/svc_udp.c: Likewise.
14913 * sunrpc/svc_unix.c: Likewise.
14914 * sunrpc/xdr.c: Likewise.
14915 * sunrpc/xdr_array.c: Likewise.
14916 * sunrpc/xdr_rec.c: Likewise.
14917 * sunrpc/xdr_ref.c: Likewise.
14918 * sunrpc/xdr_stdio.c: Likewise.
14919
1248c1c4
PB
149202011-09-09 Ulrich Drepper <drepper@gmail.com>
14921
14922 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14923
149242011-07-03 Andreas Jaeger <aj@suse.de>
14925
14926 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14927 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14928 regenerate with gen-libm-tests.pl.
14929
149302010-05-12 Petr Baudis <pasky@suse.cz>
14931
14932 [BZ #11589]
14933 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14934 around j0() zero points by switching to j1().
14935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14939
f22e1074
UD
149402011-09-09 Ulrich Drepper <drepper@gmail.com>
14941
f19009c1
UD
14942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14943 instead of 0.
14944 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14945 instead of 0. .
14946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14947 Patch in part by Pavel Roskin <proski@gnu.org>.
14948
3f8cc204
UD
14949 [BZ #13138]
14950 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14951 realloc.
14952 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14953 Free memory block if necessary.
14954
f22e1074
UD
14955 [BZ #12847]
14956 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14957 be NULL. Don't lock in this case.
14958
0a2349f9
RM
149592011-09-09 Roland McGrath <roland@hack.frob.com>
14960
14961 * elf/elf.h (ELFOSABI_GNU): New macro.
14962 (ELFOSABI_LINUX): Define to that.
14963
f3cdd467
DZ
149642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14965
14966 * string/strncat.c (strncat): Undef the symbol in case it has been
14967 defined in bits/string.h.
14968
74718d13
UD
149692011-09-09 Ulrich Drepper <drepper@gmail.com>
14970
633e9e0f
UD
14971 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14972
0a2349f9 14973 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14974 link map.
14975
f9924780
AJ
149762011-08-17 Andreas Jaeger <aj@suse.de>
14977
14978 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14979
7f5517aa
PP
149802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14981 Ian Lance Taylor <iant@google.com>
14982
14983 * math/libm-test.inc (lround_test): New testcase.
14984 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14985
762011fe
UD
149862011-09-08 Ulrich Drepper <drepper@gmail.com>
14987
92963737
UD
14988 * Makefile: Remove support for automatic cvs check-ins.
14989 * Makerules: Likewise.
14990 * config.make.in: Likewise.
14991 * configure.in: Likewise.
14992 * intl/Makefile: Likewise.
14993 * locale/Makefile: Likewise.
14994 * po/Makefile: Likewise.
14995 * posix/Makefile: Likewise.
14996 * sysdeps/gnu/Makefile: Likewise.
14997 * sysdeps/mach/hurd/Makefile: Likewise.
14998 * sysdeps/sparc/sparc32/Makefile: Likewise.
14999
b0727fd8
JS
15000 [BZ #13118]
15001 * posix/Makefile (bug-regex32-ENV): Define.
15002 Patch by John Stanley <jpsinthemix@verizon.net>.
15003
a0f33f99
UD
15004 * misc/Makefile (headers): Add bits/select2.h.
15005 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15006 * misc/bits/select2.h: New file.
15007 * include/bits/select2.h: New file.
15008 * debug/Makefile (routines): Add fdelt_chk.
15009 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15010 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15011 FD_ISSET.
15012 * debug/fdelt_chk.c: New file.
15013
762011fe
UD
15014 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15015 * wcsmbs/test-wmemcmp.c: Likewise.
15016 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15017 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15018
150192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15020
15021 * string/Makefile (strop-tests): Add memcmp.
15022 * string/test-wmemcmp.c: New file.
15023 * string/test-memcmp.c: Add wmemcmp support.
15024
7f513ec8
RM
150252011-09-08 Roland McGrath <roland@hack.frob.com>
15026
0442afb4
RM
15027 [BZ #13153]
15028 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15029 2011-07-19 change.
15030
7f513ec8
RM
15031 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15032 garbage value in a __mach_port_mod_refs call in the cases of the
15033 task-self and thread-self ports.
15034
a12b2239
ST
150352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15036
15037 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15038
610f9ab4
AS
150392011-09-08 Andreas Schwab <schwab@redhat.com>
15040
7f513ec8 15041 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15042
48882a1a
LD
150432011-09-07 Ulrich Drepper <drepper@gmail.com>
15044
b49865be
UD
15045 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15046
fdc86bc9
UD
15047 * elf/dl-libc.c (dlerror_run): Pass back error code from
15048 dl_catch_error.
15049
c966526a
UD
15050 [BZ #13123]
15051 * elf/dl-load.c (lose): Free l_origin if it is valid.
15052
48882a1a
LD
15053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15054 names.
15055 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15058 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15059 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15060 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15061
77a2a8b4
AZ
150622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15063
15064 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15065 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15066 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15068 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15069 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15070 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15071 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15072 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15073 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15074
24f579d8
AM
150752011-08-15 Alan Modra <amodra@gmail.com>
15076
15077 [BZ #13092]
15078 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15079 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15080 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15081 ppc_mcount to static-only-routines.
15082 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15083 __mcount_internal.
15084 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15085 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15086
3d4837df
UD
150872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15088
15089 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15090 for finite and infinity parameters.
15091
22700377
WS
150922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15093
15094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15095 and add nop instructions for throughput optimization.
15096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15097
5025581e
WS
150982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15099
15100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15101 aligned copy for power7 with vector-scalar instructions.
15102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15103
08a300c9
L
151042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15105
15106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15107 AVX check.
15108
59178ef9
AS
151092011-09-07 Andreas Schwab <schwab@redhat.com>
15110
15111 [BZ #13144]
15112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15113 last change.
15114
e38ba7ab
UD
151152011-09-07 Ulrich Drepper <drepper@gmail.com>
15116
15117 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15118 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15119 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15120 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15121 clock_gettime.
15122
d53a73ac
UD
151232011-09-06 Ulrich Drepper <drepper@gmail.com>
15124
fc8bffcc
UD
15125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15126 Forgot to demangle the pointer.
15127
ceaa0c5d
UD
15128 * sysdeps/i386/sysdep.h: Define atom_text_section.
15129 * sysdeps/x86_64/sysdep.h: Likewise.
15130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15131 section with atom_text_section.
15132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15134 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15136 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15137
a77d3c17
UD
15138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15139 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15140 already be defined. Change to take two parameters and don't assign
15141 result to variable. Adjust all users.
15142 Define INTERNAL_GETTIME if not already defined.
15143 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15144 call.
15145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15146 HAVE_CLOCK_GETTIME_VSYSCALL.
15147 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15148
d53a73ac
UD
15149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15150 gettimeofday vsyscall, just use time.
15151
a8f84144
AS
151522011-09-06 Andreas Schwab <schwab@redhat.com>
15153
15154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15155 <errno.h>.
15156
ef606249
UD
151572011-09-06 Ulrich Drepper <drepper@gmail.com>
15158
15159 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15160 syscall on x86-64.
15161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15162 syscall.
15163 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15165 syscall if possible.
15166
6585cb60
UD
151672011-09-05 Ulrich Drepper <drepper@gmail.com>
15168
15169 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15170 e_ident. Don't pass to find_mapsXX.
15171 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15172
a5f524e4
LD
151732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15174
15175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15176 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15177 * sysdeps/x86_64/multiarch/strchr.S: Update.
15178 Check bit_slow_BSF bit.
15179 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15180 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15182
554881ef
UD
151832011-09-05 Ulrich Drepper <drepper@gmail.com>
15184
d96de963
UD
15185 [BZ #13134]
15186 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15187 before glibc 2.15.
15188 (tryshell): Define.
15189 (__spawni): Change last parameter to be flag. Test
15190 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15191 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15192 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15193 * posix/spawni.c: Likewise.
15194 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15195 * posix/spawnp.c: Likewise. Change normal version to use
15196 SPAWN_XFLAGS_USE_PATH.
15197 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15198 SPAWN_XFLAGS_TRY_SHELL.
15199
d48e5868
UD
15200 [BZ #13150]
15201 * posix/glob.h: Remove gcc 1.x support.
15202
554881ef
UD
15203 [BZ #13068]
15204 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15205
693fb948
LD
152062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15207
15208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15209 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15210 strrchr-sse2-bsf
15211 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15212 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15213 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15214 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15216 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15217
1b48c537
UD
152182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15219
49d42c37
UD
15220 * sysdeps/x86_64/wcscmp.S: New file.
15221
1b48c537
UD
15222 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15223 wcscmp-c wcscmp-sse2
15224 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15225 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15226 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15227 * wcsmbs/wcscmp.c: Allow renaming.
15228
15c95c5d
DM
152292011-09-05 David S. Miller <davem@davemloft.net>
15230
15231 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15232 stack slot, rather than the struct return pointer slot.
15233 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15234 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15237
2f0ad8f3
UD
152382011-09-05 Ulrich Drepper <drepper@gmail.com>
15239
d88ae418
UD
15240 * po/ja.po: Update from translation team.
15241
2f0ad8f3
UD
15242 [BZ #13144]
15243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15244 kernel in 64-bit binaries.
15245
5f4318d1
DM
152462011-09-01 David S. Miller <davem@davemloft.net>
15247
15248 * elf/elf.h (HWCAP_SPARC_*): Move to..
15249 * sysdeps/sparc/sysdep.h: this new file and add new values.
15250 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15251 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15252 _DL_HWCAP_COUNT to 24.
15253 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15254 entries.
15255 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15256 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15257 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15259 instead of magic constants.
15260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15261
3ba57516
DM
152622011-08-31 David S. Miller <davem@davemloft.net>
15263
15264 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15266 Reimplement to do errno handling inline.
15267 (SYSCALL_ERROR_HANDLER): New macro.
15268 (__SYSCALL_STRING): Do not do errno handling in asm.
15269 (__CLONE_SYSCALL_STRING): Delete.
15270 (__INTERNAL_SYSCALL_STRING): Delete.
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15272 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15273 (PSEUDO): Reimplement to do errno handling inline.
15274 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15275 (SYSCALL_ERROR_HANDLER): New macro.
15276 (__SYSCALL_STRING): Do not do errno handling in asm.
15277 (__CLONE_SYSCALL_STRING): Delete.
15278 (__INTERNAL_SYSCALL_STRING): Delete.
15279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15280 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15281 i386.
15282 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15283 (inline_syscall*): Add 'err' argument.
15284 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15285 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15286 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15287 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15288
15289 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15290 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15291
2bc17433
AS
152922011-08-30 Andreas Schwab <schwab@redhat.com>
15293
15294 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15295
fbeb5f4d
JO
152962011-08-29 Jiri Olsa <jolsa@redhat.com>
15297
15298 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15299 directive.
15300
ad69cc26
DM
153012011-08-24 David S. Miller <davem@davemloft.net>
15302
15303 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15304
39dd69df
AS
153052011-08-24 Andreas Schwab <schwab@redhat.com>
15306
15307 * elf/Makefile: Add rules to build and run unload8 test.
15308 * elf/unload8.c: New file.
15309 * elf/unload8mod1.c: New file.
15310 * elf/unload8mod1x.c: New file.
15311 * elf/unload8mod2.c: New file.
15312 * elf/unload8mod3.c: New file.
15313
15314 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15315 it wasn't used.
15316
2c0b250a
DM
153172011-08-23 David S. Miller <davem@davemloft.net>
15318
15319 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15320 subtract stack bias.
15321 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15322 %sp not %fp in calculations.
15323 (_JMPBUF_UNWINDS_ADJ): Likewise.
15324
22044b48
DM
15325 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15326 (aio_suspend): Call it to force an exception region around the
15327 AIO_MISC_WAIT() invocation.
15328
2cae4995
AS
153292011-08-23 Andreas Schwab <schwab@redhat.com>
15330
15331 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15332 backslash.
15333
873a772e
AJ
153342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15335
15336 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15337 protection macro.
15338 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15339 and <dl-machine.h>.
15340 (Elf64_FuncDesc): Remove.
15341
25ad0df1
DM
153422011-08-22 David S. Miller <davem@davemloft.net>
15343
15344 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15345 sigaltstack check, add missing cfi directives.
15346 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15347 missing cfi directives, and sigaltstack handling.
15348
e888bcbe
AS
153492011-08-16 Andreas Schwab <schwab@redhat.com>
15350
15351 [BZ #11724]
15352 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15353 object is seen twice.
15354 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15355
15356 * elf/Makefile (distribute): Add tst-initorder2.c.
15357 (tests): Add tst-initorder2.
15358 (modules-names): Add tst-initorder2a tst-initorder2b
15359 tst-initorder2c tst-initorder2d. Add rules to build them.
15360 ($(objpfx)tst-initorder2.out): New rule.
15361 * elf/tst-initorder2.c: New file.
15362 * elf/tst-initorder2.exp: New file.
15363
87162f46
AS
153642011-08-22 Andreas Schwab <schwab@redhat.com>
15365
70538b7f
AS
15366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15367
f55ffe58
AS
15368 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15369 dependencies back to end of function.
15370
87162f46
AS
15371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15372 $(elfobjdir)/ld.so.
15373
91b392a4
UD
153742011-08-21 Ulrich Drepper <drepper@gmail.com>
15375
15376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15377 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15379 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15380 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15381 of __vdso_gettimeofday.
15382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15383 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15384 attribute_hidden.
15385 (_libc_vdso_platform_setup): Remove initialization of
15386 __vdso_gettimeofday and __vdso_time.
15387
5c43483f
UD
153882011-08-20 Ulrich Drepper <drepper@gmail.com>
15389
775a77e7
UD
15390 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15391 and fgetc_unlocked.
15392 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15393 getc_unlocked.
89f447ed 15394
49c74ba9
UD
15395 * elf/dl-open.c (add_to_global): Report additions to the global scope
15396 for LD_DEBUG=scopes.
15397 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15398 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15399
5c43483f
UD
15400 [BZ #13114]
15401 * stdio-common/Makefile (tests): Add bug24.
15402 * stdio-common/bug24.c: New file.
15403
a101b025
AJ
154042011-08-19 Andreas Jaeger <aj@suse.de>
15405
15406 [BZ #13114]
15407 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15408 non-existant file when using close-on-exec mode.
15409
c88f1766
UD
154102011-08-20 Ulrich Drepper <drepper@gmail.com>
15411
0276a718
UD
15412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15413 the very first instruction.
15414
c88f1766
UD
15415 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15416 the CFI state in the end.
15417 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15418 inclusion of dl-trampoline.h.
15419 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15420
51ccffa0
AS
154212011-08-19 Andreas Schwab <schwab@redhat.com>
15422
94d7165f
AS
15423 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15424 expectations for long double.
15425
51ccffa0
AS
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15427 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15428
fd708658 154292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15430
15431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15432 artificual limit depends upon the system page size.
15433
44f0a71e
UD
154342011-08-17 Ulrich Drepper <drepper@gmail.com>
15435
15436 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15437 * resolv/Makefile: Define CFLAGS-libresolv.
15438
8de79a24
AS
154392011-08-17 Andreas Schwab <schwab@redhat.com>
15440
15441 * nss/makedb.c (compute_tables): Make variables used in nested
15442 function static.
15443
27724598
UD
154442011-08-17 Ulrich Drepper <drepper@gmail.com>
15445
c5305d88
UD
15446 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15447 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15448 if buffer was too small.
15449
27724598
UD
15450 * elf/pldd.c (main): Attach to all threads in the process.
15451 Rewrite /proc handling to use *at functions.
15452
076fe015
UD
154532011-08-16 Ulrich Drepper <drepper@gmail.com>
15454
174baab3
UD
15455 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15456 specifies first scope to show.
15457 (dl_open_worker): Update callers. Move printing scope of new
15458 object to before the relocation.
44f0a71e 15459 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15460 * sysdeps/generic/ldsodefs.h: Update declaration.
15461
076fe015
UD
15462 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15463 string for the scope number.
15464
a60df2c3
UD
154652011-08-14 Ulrich Drepper <drepper@gmail.com>
15466
15467 * nscd/servicescache.c (cache_addserv): Make sure written is always
15468 initialized.
15469
5e4287d1
RM
154702011-08-14 Roland McGrath <roland@hack.frob.com>
15471
85ae0589
RM
15472 * sysdeps/i386/i486/bits/atomic.h
15473 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15474 statement expression, so as to suppress "set but not used" warning.
15475 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15476
69f63097
RM
15477 * string/strncat.c (STRNCAT): Use prototype definition.
15478
675456ef
RM
15479 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15480 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15481 -Iprograms here.
15482 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15483 (localedef-modules): Add localedef.
15484 (locale-modules): Add locale.
15485
5e4287d1
RM
15486 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15487 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15488 to avoid a warning.
15489
9c96ff23
DM
154902011-08-14 David S. Miller <davem@davemloft.net>
15491
15492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15493 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15494
f9ddf089
UD
154952011-08-13 Ulrich Drepper <drepper@gmail.com>
15496
44f0a71e 15497 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15498 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15499 * elf/rtld.c (dl_main): Set l_name of vDSO.
15500 Call _dl_show_scope when DL_DEBUG_SCOPES.
15501 (process_dl_debug): Recognize scopes flag and also set it for all.
15502 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15503 Declare _dl_show_scope.
15504
1dc27704
UD
15505 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15506 (do_dlopen): Pass caller_dlopen to dl_open.
15507 (__libc_dlopen_mode): Initialize caller_dlopen.
15508
f9ddf089
UD
15509 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15510 of libc. Make tolower call locale-independent. Optimize a bit by
15511 using isdigit instead of isalnum.
15512 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15513
9ac533d3
UD
155142011-08-12 Ulrich Drepper <drepper@gmail.com>
15515
15516 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15517 was a dependency or dynamically loaded.
15518
89edf2e9
UD
155192011-08-11 Ulrich Drepper <drepper@gmail.com>
15520
8e999d29
UD
15521 * intl/l10nflist.c: Allow architecture-specific pop function.
15522 * sysdeps/x86_64/l10nflist.c: New file.
15523
89edf2e9
UD
15524 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15525 classification.
15526
14d96785
AS
155272011-08-10 Andreas Schwab <schwab@redhat.com>
15528
15529 * include/dirent.h: Add libc_hidden_proto for scandirat and
15530 scandirat64. Don't declare __scandirat64.
15531 * dirent/scandirat.c: Add libc_hidden_def.
15532 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15533 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15534
6761ac04
DM
155352011-08-10 David S. Miller <davem@davemloft.net>
15536
15537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15538 enum.
15539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15542
c55fbd1e
UD
155432011-08-09 Ulrich Drepper <drepper@gmail.com>
15544
15545 * Versions.def [libc]: Add GLIBC_2.15.
15546 * dirent/Makefile (routines): Add scandirat and scandirat64.
15547 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15548 GLIBC_2.15.
15549 * dirent/dirent.h: Declare scandirat and scandirat64.
15550 * dirent/scandirat.c: New file.
15551 * dirent/scandirat64.c: New file.
15552 * sysdeps/wordsize-64/scandirat.c: New file.
15553 * sysdeps/wordsize-64/scandirat64.c: New file.
15554 * dirent/opendir.c: Define opendirat.
15555 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15556 using scandirat.
15557 * dirent/scandir64.c: Adjust for scandir.c change.
15558 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15559 __scandirat64, and __scandir_cancel_handler.
15560 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15561 additional parameter and use openat instead of open (outside of ld.so).
15562 Add new __opendir as wrapper around __opendirat.
15563 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15564 here without requiring old scandirat implementation.
15565
879165f2
UD
155662011-08-08 Ulrich Drepper <drepper@gmail.com>
15567
15568 * dirent/scandir.c (cancel_handler): Renamed to
15569 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15570 defined. Adjust users.
15571 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15573
cb7e923b
UD
155742011-08-04 Ulrich Drepper <drepper@gmail.com>
15575
16292edd
UD
15576 * string/test-string.h (IMPL): Use __STRING to expand name and then
15577 stringify it.
15578
cb7e923b
UD
15579 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15580 of cleanups.
15581
cff82933
LD
155822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15583
15584 * string/Makefile: Update.
15585 (strop-tests): Append strncat.
15586 * string/test-wcscmp.c: New file.
15587 New comprehensive test for wcscmp.
15588 * string/test-strcmp.c: Update.
15589 (WIDE): New define.
15590
9be9bfcc
AS
155912011-07-22 Andreas Schwab <schwab@redhat.com>
15592
15593 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15594 line.
15595
2e96f1c7
AS
155962011-07-26 Andreas Schwab <schwab@redhat.com>
15597
15598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15599 encoding to ACE if AI_IDN.
15600
85188888
JJ
156012011-08-01 Jakub Jelinek <jakub@redhat.com>
15602
15603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15604 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15605
5fa16e9b
LD
156062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15607
15608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15609 Fix overflow bug in strncat.
15610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15611
15612 * string/test-strncat.c: Update.
15613 Add new tests for checking overflow bugs.
15614
156152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15616
15617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15618 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15619 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15620 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15622 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15623 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15624 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15625 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15626
15627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15628 (USE_AS_STRCAT): Define.
15629 Add strcat and strncat support.
15630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15631
8c1a459f
AS
156322011-07-25 Andreas Schwab <schwab@redhat.com>
15633
15634 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15635 __n bigger than INT_MAX+1.
15636 (__strncmp_g): Likewise.
15637
bba33c28
UD
156382011-07-23 Ulrich Drepper <drepper@gmail.com>
15639
798be72d
UD
15640 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15641 * libio/stido.h: Likewise.
15642
8accd4dc
UD
15643 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15644 (AF_NFC): Define.
15645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15646 (AF_NFC): Define.
15647
cbff0d96
UD
15648 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15653
9191c04a
UD
15654 [BZ #13021]
15655 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15656 installed.
15657
bba33c28
UD
15658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15659 typo.
15660 (_dl_x86_64_save_sse): Likewise.
15661
90f139dd
UD
156622011-07-22 Ulrich Drepper <drepper@gmail.com>
15663
1aae088a
UD
15664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15665 OSXSAVE.
15666 (_dl_x86_64_save_sse): Likewise.
15667
8e2045f5
UD
15668 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15669
90f139dd
UD
15670 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15671
1d002f25
AS
156722011-07-21 Andreas Schwab <schwab@redhat.com>
15673
15674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15675 change.
15676 (_dl_x86_64_save_sse): Use correct AVX check.
15677
21137f89
UD
156782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15679
15680 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15681 bug in strncpy/strncat.
15682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15683
a65c0b7a
UD
156842011-07-21 Ulrich Drepper <drepper@gmail.com>
15685
15686 * string/tester.c (test_strcat): Add tests for different alignments
15687 of source and destination.
15688 (test_strncat): Likewise.
15689
6986b98a
UD
156902011-07-20 Ulrich Drepper <drepper@gmail.com>
15691
90bb2039
UD
15692 [BZ #12852]
15693 * posix/glob.c (glob): Check passed in values before using them in
15694 expressions to avoid some overflows.
15695 (glob_in_dir): Likewise.
15696
5644ef54
UD
15697 [BZ #13007]
15698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15699 check for AVX enablement so that we don't crash with old kernels and
15700 new hardware.
15701 * elf/tst-audit4.c: Add same checks here.
15702 * elf/tst-audit6.c: Likewise.
15703
15704 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15705
bfc9dc9b
AS
157062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15707
15708 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15709
702e64bb
UD
157102011-07-20 Ulrich Drepper <drepper@gmail.com>
15711
15712 * po/cs.po: Update from translation team.
15713 * po/bg.po: Likewise.
15714
295e904f
MP
157152011-07-12 Marek Polacek <mpolacek@redhat.com>
15716
15717 * misc/sys/cdefs.h: Add support for const attribute.
15718 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15719 to gnu_dev_{major,minor,makedev} functions.
15720
3ff94596
MP
157212011-07-20 Marek Polacek <mpolacek@redhat.com>
15722
15723 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15724
28b59fca
AS
157252011-07-20 Andreas Schwab <schwab@redhat.com>
15726
15727 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15728 strlen results.
15729
19df733e
AK
157302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15731
15732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15733 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15734 register in order to avoid conflicts with the soft frame pointer
15735 being held in r11 when necessary.
15736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15737 (INTERNAL_VSYSCALL_NCS): Likewise.
15738
c8835729
MP
157392011-07-14 Marek Polacek <mpolacek@redhat.com>
15740
15741 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15742 * elf/dl-fini.c (_dl_fini): Adjust caller.
15743 * elf/dl-close.c (_dl_close_worker): Likewise.
15744 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15745
b902330c
MP
157462011-07-15 Marek Polacek <mpolacek@redhat.com>
15747
8991e135
MP
15748 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15749 "aux_cache->nlibs < 0".
15750
b902330c
MP
15751 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15752 in the reload-count case.
15753
99710781
LD
157542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15755
15756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15757 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15758 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15759 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15760 * sysdeps/x86_64/multiarch/strcat.S: New file.
15761 * sysdeps/x86_64/multiarch/strncat.S: New file.
15762 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15764 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15765 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15767 (USE_AS_STRCAT): Define.
15768 Add strcat and strncat support.
15769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15771 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15772 * string/strncat.c: Update.
15773 (USE_AS_STRNCAT): Define.
15774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15775 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15776 and i7.
15777 * sysdeps/x86_64/multiarch/init-arch.h
15778 (bit_Prefer_PMINUB_for_stringop): New.
15779 (index_Prefer_PMINUB_for_stringop): Likewise.
15780 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15781 bit_Prefer_PMINUB_for_stringop.
15782
7dc6bd90
UD
157832011-07-19 Ulrich Drepper <drepper@gmail.com>
15784
15785 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15786 buffer64.
15787 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15788 of casting of buffer.
15789 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15790 buffer32 and buffer64.
15791 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15792 writes instead of casting of buffer.
15793 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15794 buffer32.
15795 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15796 casting of buffer.
15797
e0e72284
AS
157982011-07-19 Andreas Schwab <schwab@redhat.com>
15799
15800 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15801
feb1eb0b
UD
158022011-07-19 Ulrich Drepper <drepper@gmail.com>
15803
15804 * nscd/nscd.c (termination_handler): Don't do anything for a database
15805 if it has not yet been initialized.
15806
298711ff
UD
158072011-07-18 Ulrich Drepper <drepper@gmail.com>
15808
15809 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15810
158112011-07-15 Marek Polacek <mpolacek@redhat.com>
15812
15813 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15814
f9d68389
UD
158152011-07-18 Ulrich Drepper <drepper@gmail.com>
15816
15817 * po/nl.po: Update from translation team.
15818 * po/sv.po: Likewise.
15819
db290cf5
RM
158202011-07-16 Roland McGrath <roland@hack.frob.com>
15821
15822 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15823 now disallowed by GCC.
5c550700 15824
fd5e21c7
RM
15825 * configure.in (use-default-link): Default to yes if a test -shared
15826 link meets our qualifications.
15827 * configure: Regenerated.
15828
5c550700
RM
15829 * config.make.in (output-format): New variable.
15830 * configure.in: Check for ld --print-output-format support.
15831 * configure: Regenerated.
15832 * Makerules ($(common-objpfx)format.lds)
15833 [$(output-format) != unknown]: Just use $(output-format),
15834 instead of the linker-script munging.
15835
9fa2c032
RM
158362011-07-14 Roland McGrath <roland@hack.frob.com>
15837
a6928d51
RM
15838 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15839 of $(common-objpfx)shlib.lds.
15840 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15841
661607b3
RM
15842 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15843 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15844
9fa2c032
RM
15845 * configure.in (-z relro check): Adjust test code to add a large
15846 writable data section after it.
15847 * configure: Regenerated.
15848
defe9061
RM
158492011-07-11 Roland McGrath <roland@hack.frob.com>
15850
15851 * configure.in (-z relro check): Fix test code to make the variable
15852 truly const.
15853 * configure: Regenerated.
15854
319b9ad4
UD
158552011-07-11 Ulrich Drepper <drepper@gmail.com>
15856
15857 * nscd/nscd.h (struct traced_file): Define.
15858 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15859 elements. Add traced_files.
15860 (inotify_fd): Declare.
15861 (register_traced_file): Declare.
15862 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15863 (inotify_fd): Export.
15864 (resolv_conf_descr): Remove.
15865 (nscd_init): Move inotify descriptor creation to main.
15866 Don't register files for notification here.
15867 (register_traced_file): New function.
15868 (invalidate_cache): Don't use reset_res to determine whether to call
15869 res_init, go through the list of registered files.
15870 (main_loop_poll): The inotify descriptors are now stored in the
15871 structures for the traced files.
15872 (main_loop_epoll): Likewise
15873 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15874 to __nss_disable_nscd.
15875 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15876 for a database anymore. Check the records for all the registered
15877 files instead.
15878 * nss/Makefile (libnss_files-routines): Add files-init.
15879 (libnss_db-routines): Add db-init.
15880 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15881 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15882 * nss/nss_db/db-init.c: New file.
15883 * nss/nss_files/files-init.c: New file.
15884 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15885 __nss_lookup_function.
15886 (__nss_lookup_function): Call nss_load_library.
15887 (nss_load_all_libraries): New function.
15888 (__nss_disable_nscd): Take parameter with callback function for files
15889 to register. Set is_nscd. Load all the DSOs for the NSS modules
15890 used for the cached services.
15891 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15892 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15893 options for features to all the files in nscd.
15894
15895 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15896
23bee3e8
RM
158972011-07-10 Roland McGrath <roland@hack.frob.com>
15898
15899 * csu/elf-init.c (__libc_csu_init): Comment typo.
15900
46a5b7f0
UD
159012011-07-09 Ulrich Drepper <drepper@gmail.com>
15902
15903 * po/pl.po: Update from translation team.
15904 * po/ja.po: Likewise.
15905 * po/ru.po: Likewise.
15906 * po/ko.po: Likewise.
15907 * po/fr.po: Likewise.
15908
d30cf5bb
RM
159092011-07-09 Roland McGrath <roland@hack.frob.com>
15910
113ddea4
RM
15911 * configure.in (.ctors/.dtors header and trailer check):
15912 Use an empirical test on a built program.
15913 * configure: Regenerated.
15914
574920b4
RM
15915 * configure.in (-z relro check): Use an empirical test on a built DSO.
15916 Detect, but do not require, on ia64.
15917 * configure: Regenerated.
15918
d30cf5bb
RM
15919 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15920 Update tests that use readelf to use $READELF instead.
15921 * configure: Regenerated.
15922
8538fdb3
UD
159232011-07-08 Ulrich Drepper <drepper@gmail.com>
15924
15925 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15926 if the result is not used.
15927
04d08991
AJ
159282011-07-05 Andreas Jaeger <aj@suse.de>
15929
15930 [BZ#9696]
15931 * stdlib/tst-strtod.c: Add testcase.
15932
de283087
AD
159332011-07-07 Ulrich Drepper <drepper@gmail.com>
15934
4e5f31c8 15935 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15936 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15937 The latter has a higher limit. Take additional parameter to pass to
15938 the new function.
15939 (__pathconf): Pass file to __statfs_link_max.
15940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15941 __statfs_link_max.
15942 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15943 __statfs_link_max.
15944
de283087
AD
15945 [BZ #12868]
15946 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15948 Handle Lustre.
15949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15950 (__statfs_filesize_max): Likewise.
15951 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15952
c75fa153
AJ
159532011-07-05 Andreas Jaeger <aj@suse.de>
15954
15955 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15956
1a544854
UD
159572011-07-06 Marek Polacek <mpolacek@redhat.com>
15958
15959 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15960 `status' variable.
15961 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15962 Likewise.
15963
6f0eec67
UD
159642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15965
15966 * Makefile (strop-tests): Add strncat.
15967 * string/test-strncat.c: New file.
15968
aae30307
UD
159692011-06-30 Marek Polacek <mpolacek@redhat.com>
15970
15971 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15972
c0cfb5eb
UD
159732011-06-21 Andreas Jaeger <aj@suse.de>
15974
15975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15976 Copy rule from iconvdata/Makefile.
15977
01636b21
UD
159782011-07-06 Ulrich Drepper <drepper@gmail.com>
15979
15980 [BZ #12922]
15981 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15982 but no long options are defined, just return 'W'.
15983
9895c8bc
UD
159842011-06-22 Marek Polacek <mpolacek@redhat.com>
15985
15986 [BZ #9696]
15987 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15988
5d4cf042
UD
159892011-07-06 Ulrich Drepper <drepper@gmail.com>
15990
15991 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15992 netgroups to read.
960e5535 15993 (innetgr): Likewise.
5d4cf042 15994
751eb97e
RM
159952011-07-05 Roland McGrath <roland@hack.frob.com>
15996
15997 * config.make.in (install_root): Default to $(DESTDIR).
15998
f15f1e45
UD
159992011-07-05 Ulrich Drepper <drepper@gmail.com>
16000
16001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16002
4e34ac6a
RM
160032011-07-02 Roland McGrath <roland@hack.frob.com>
16004
5e9b6af4
RM
16005 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16006
84f9ea0f
RM
16007 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16008 containing directory rather than embedding absolute directory names.
16009
ea5ee9f7
RM
16010 * scripts/check-local-headers.sh: Rewritten using awk.
16011 Match by word, not by line. Print error messages for matches.
16012 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16013
1b74661a
RM
16014 * Makerules [shlib-lds-flags empty]:
16015 ($(common-objpfx)libc_pic.opts): New target.
16016 ($(common-objpfx)libc_pic.os.clean): New target.
16017 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16018
16019 * config.make.in (OBJCOPY): New variable.
16020 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16021 * configure: Regenerated.
16022
f781ef40
RM
16023 * config.make.in (use-default-link): New variable.
16024 * configure.in (use_default_link): Grok --with-default-link to set it.
16025 * configure: Regenerated.
16026 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16027 (shlib-lds, shlib-lds-flags): Define to empty.
16028
2d4fa81e
RM
16029 * Makerules (shlib-lds): New variable.
16030 (shlib-lds-flags): New variable.
16031 (build-shlib, build-moduile, build-module-asneeded): Use it.
16032 ($(common-objpfx)libc.so): Use $(shlib-lds).
16033 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16034 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16035
31fffa6b
RM
16036 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16037 DT_FLAGS/DT_FLAGS_1 with zero flags.
16038
4e34ac6a
RM
16039 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16040 linker script munging.
16041
fcfc776b
UD
160422011-07-02 Ulrich Drepper <drepper@gmail.com>
16043
16044 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16045 as 128-bit value.
16046 * crypt/sha512.c (sha512_process_block): Perform total addition using
16047 128-bit if possible.
16048 (__sha512_finish_ctx): Likewise.
16049 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16050 as 64-bit value.
16051 * crypt/sha256.c (SWAP64): Define.
16052 (sha256_process_block): Perform total addition using 64-bit if
16053 possible.
16054 (__sha256_finish_ctx): Likewise.
16055
99231d9a
UD
160562011-07-01 Ulrich Drepper <drepper@gmail.com>
16057
16058 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16060 * nscd/hstcache.c (cache_addhst): Likewise.
16061 * nscd/grpcache.c (cache_addgr): Likewise.
16062 * nscd/aicache.c (addhstaiX): Likewise
16063 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16064
445b4a53
TK
160652011-07-01 Thorsten Kukuk <kukuk@suse.de>
16066
16067 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16069 * nscd/hstcache.c (cache_addhst): Likewise.
16070 * nscd/grpcache.c (cache_addgr): Likewise.
16071 * nscd/aicache.c (addhstaiX): Likewise
16072
6d4d8e8e
AS
160732011-07-01 Andreas Schwab <schwab@redhat.com>
16074
16075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16076 domain only when needed.
16077
89f654c5
AS
160782011-06-30 Andreas Schwab <schwab@redhat.com>
16079
16080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16081 is always restored.
16082
cf3b23ff
UD
160832011-06-29 Ulrich Drepper <drepper@gmail.com>
16084
16085 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16086 are re-adding the entry.
16087 * nscd/servicescache.c (cache_addserv): Likewise.
16088
751626f9
AJ
160892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16090
16091 * sysdeps/generic/dl-irel.h: fix protection against multiple
16092 inclusions.
16093 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16094
9113ea1f
UD
160952011-06-28 Ulrich Drepper <drepper@gmail.com>
16096
5c0b8d90
UD
16097 [BZ #12935]
16098 * malloc/memusage.sh: Fix quoting in message.
16099 * debug/xtrace.sh: Likewise.
16100
9113ea1f
UD
16101 * configure.in: Remove support for --experimental-malloc option, make
16102 it the default.
16103 * config.make.in: Likewise.
16104 * malloc/Makefile: Likewise.
16105
a4172181
AS
161062011-06-27 Andreas Schwab <schwab@redhat.com>
16107
16108 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16109 two-byte characters.
16110
78a7eee7
RM
161112011-06-27 Roland McGrath <roland@hack.frob.com>
16112
62bede13
RM
16113 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16114 AC_CACHE_CHECK invocation.
16115 * configure: Regenerated.
16116
78a7eee7
RM
16117 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16118
5ce33a62
UD
161192011-06-27 Ulrich Drepper <drepper@gmail.com>
16120
034807a9
UD
16121 [BZ #12350]
16122 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16123 bit from old_res_options.
16124
4902da17
UD
16125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16126
5ce33a62
UD
16127 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16128 value type for setfct.
16129
c2344f56
L
161302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16131
16132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16133 __gettimeofday instead of gettimeofday.
16134
68468076
UD
161352011-06-26 Ulrich Drepper <drepper@gmail.com>
16136
16137 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16138
acb0d739
L
161392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16140
16141 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16142
16143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16144 info.
16145
8912479f
L
161462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16147
16148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16149 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16150 strcpy-sse2-unaligned strncpy-sse2-unaligned
16151 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16152 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16153 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16154 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16155 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16157 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16158 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16159 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16160 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16161 (STRCPY): Support SSE2 and SSSE3 versions.
16162
d5495a11
UD
161632011-06-24 Ulrich Drepper <drepper@gmail.com>
16164
16165 [BZ #12874]
16166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16167 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16168 kernels which artificially limit size of requests.
16169
0b1cbaae
L
161702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16171
16172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16173 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16174 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16175 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16176 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16177 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16178 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16179 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16182 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16183 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16184 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16185 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16186 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16188 Enable unaligned load optimization for Intel Core i3, i5 and i7
16189 processors.
16190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16191 Define.
16192 (index_Fast_Unaligned_Load): Define.
16193 (HAS_FAST_UNALIGNED_LOAD): Define.
16194
07f494a0
MP
161952011-06-23 Marek Polacek <mpolacek@redhat.com>
16196
16197 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16198
fa3fc0fe
UD
161992011-06-22 Ulrich Drepper <drepper@gmail.com>
16200
16201 [BZ #12907]
16202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16203 until it is clear that the information is realy needed.
16204 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16205
e12df166
AS
162062011-06-22 Andreas Schwab <schwab@redhat.com>
16207
16208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16209
852eb34d
UD
162102011-06-22 Ulrich Drepper <drepper@gmail.com>
16211
84e2a551
UD
16212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16213 /sys/devices/system/cpu/online if it is usable.
16214
852eb34d
UD
16215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16216 reading the information from the /proc filesystem to once a second.
16217
6e502e19
UD
162182011-06-21 Andreas Jaeger <aj@suse.de>
16219
16220 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16221 NULL after inclusion of kernel headers.
16222
75d39ff2
UD
162232011-06-21 Ulrich Drepper <drepper@gmail.com>
16224
51f9aa6a
UD
16225 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16226 calls to internal_setent.
16227
c0244a9d
UD
16228 [BZ #12885]
16229 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16230 addresses using gethostbyname4_r ignore IPv4 addresses.
16231
c5e3c2ae
UD
16232 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16233 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16234
75d39ff2
UD
16235 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16236
42675c6f
DM
162372011-06-20 David S. Miller <davem@davemloft.net>
16238
16239 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16240 inclusions.
16241 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16242
16243 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16244 (elf_irel): Use it.
16245 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16246 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16247 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16248 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16249 * sysdeps/x86_64/dl-irel.h: Likewise.
16250
16251 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16252 * elf/dl-sym.c: Likewise.
16253
57912a71
UD
162542011-06-15 Ulrich Drepper <drepper@gmail.com>
16255
16256 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16257 need to dereference resplen2.
16258
ee22793d
AS
162592011-06-14 Andreas Schwab <schwab@redhat.com>
16260
16261 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16262
a9e836b0
UD
162632011-06-15 Ulrich Drepper <drepper@gmail.com>
16264
77fb9117
UD
16265 * Makeconfig: Define vardbdir and inst_vardbdir.
16266 * nss/Makefile: Add rules to install db-Makefile.
16267
40c1b22c
UD
16268 * nss/nss_db/db-XXX.c: Cleanup.
16269
9f2da732
UD
16270 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16271 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16272 GLIBC_PRIVATE.
16273 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16274 * nss/makedb.c: Implement -g option to specify that value strings
16275 are generated and should not be added to table iterated over for
16276 get*ent calls.
16277 * nss/nss_db/db-initgroups.c: New file.
16278
82e9a1f7
UD
16279 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16280 interface.
16281
c41af17e
UD
16282 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16283 (internal_getgrouplist): Adjust to name change.
16284 Update use_initgroups_entry if this is not the first call.
16285 * nss/databases.def: Add initgroups entry.
16286
a9e836b0
UD
16287 * nss/makedb.c (compute_tables): Check result of multiple hash table
16288 sizes to minimize maximum chain length.
16289
2666d441
UD
162902011-06-14 Ulrich Drepper <drepper@gmail.com>
16291
16292 * Versions.def: Add entry for libnss_db.
16293 * shlib-versions: Likewise.
16294 * nss/Makefile: Add rules to build libnss_db.
16295 * nss/Versions: Add libnss_db information. Organize libnss_files
16296 entries better.
16297 * nss/db-Makefile: Add gshadow support. Change rules for the new
16298 makedb progra. Some minor improvements to generate smaller files.
16299 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16300 here from...
16301 * nss/makedb.c: ...here.
16302 Improve database format to be smaller and require less memory at
16303 runtime.
16304 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16305 db anymore.
16306 * nss/nss_db/db-netgrp.c: Likewise.
16307 * nss/nss_db/db-open.c: Likewise.
16308 * nss/nss_files/flies-XXX.x: Adjust comments.
16309 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16310 * nss/nss_files/files-grp.c: Likewise.
16311 * nss/nss_files/files-hosts.c: Likewise.
16312 * nss/nss_files/files-network.c: Likewise.
16313 * nss/nss_files/files-proto.c: Likewise.
16314 * nss/nss_files/files-pwd.c: Likewise.
16315 * nss/nss_files/files-rpc.c: Likewise.
16316 * nss/nss_files/files-service.c: Likewise.
16317 * nss/nss_files/files-sgrp.c: Likewise.
16318 * nss/nss_files/files-spwd.c: Likewise.
16319 * nss/nss_db/db-alias.c: Removed.
16320 * nss/nss_db/dummy-db.h: Removed.
16321
9ee76b5a
UD
163222011-06-02 Ulrich Drepper <drepper@gmail.com>
16323
16324 * nss/makedb.c: Rewritten to not use database library.
16325 * nss/Makefile: Update to build new makedb program.
16326
c71ca1f8
AJ
163272011-06-14 Andreas Jaeger <aj@suse.de>
16328
16329 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16330 memset declaration.
16331
3154bfb8
UD
163322011-06-10 Andreas Schwab <schwab@redhat.com>
16333
16334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16335 tmpbuf.
16336
b350afab
RM
163372011-06-10 Roland McGrath <roland@hack.frob.com>
16338
decd4e50
RM
16339 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16340 * elf/Makefile ($(objpfx)ld.so): Likewise.
16341
5615eaf2
RM
16342 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16343 Don't list ld.so twice in dependencies.
16344
16345 * posix/bug-regex31.c: Include <stdlib.h>.
16346
16347 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16348
16349 * nis/nss_compat/compat-spwd.c
16350 (getspent_next_nss_netgr): Remove unused variable.
16351 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16352
16353 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16354 nonmembers" output to use the right array.
16355
16356 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16357
16358 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16359
16360 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16361 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16362 * catgets/gencat.c (read_input_file): Likewise.
16363 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16364
16365 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16366 variable definition inside #if's controlling its use.
16367
16368 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16369
16370 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16371
16372 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16373
16374 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16375 unreachable code.
16376
16377 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16378
b68e08db
RM
16379 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16380 * configure: Regenerated.
16381
b350afab
RM
16382 * Makerules: Revert last change.
16383 * elf/Makefile: Likewise.
16384
28368601
RM
163852011-06-09 Roland McGrath <roland@hack.frob.com>
16386
16387 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16388 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16389 (reloc-link): Likewise.
16390
11988f8f
UD
163912011-06-09 Ulrich Drepper <drepper@gmail.com>
16392
16393 * elf/Makefile: Add rules to build pldd.
16394 * elf/pldd.c: New file.
16395 * elf/pldd-xx.c: New file.
16396
e80fab37
UD
163972011-06-07 Ulrich Drepper <drepper@gmail.com>
16398
16399 * version.h: Update for 2.15 development version.
16400
9b849836
DM
164012011-06-07 David S. Miller <davem@davemloft.net>
16402
16403 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16404 ifuncs.
16405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16406 elf_machine_lazy_rel): Likewise.
16407 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16409 elf_machine_lazy_rel): Likewise.
16410 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16411 dl_hwcap via passed in argument.
16412 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16413 Likewise.
16414
5a31b283
AK
164152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16416
16417 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16418
069e52f8
RM
164192011-06-06 Roland McGrath <roland@hack.frob.com>
16420
16421 [BZ #12849]
16422 * manual/fdl-1.1.texi: New file, verbatim from:
16423 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16424 * manual/lgpl-2.1.texi: New file, verbatim from:
16425 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16426 * manual/Makefile (licenses): New variable, list those new file names.
16427 (texis): Use it.
16428 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16429
16430 * manual/fdl.texi: File removed.
16431 * manual/lesser.texi: File removed.
16432 * manual/libc.texinfo (Copying, Documentation License):
16433 Use new @include file names, put @appendix directive before @include.
16434
f16846a5
JJ
164352011-06-04 Jakub Jelinek <jakub@redhat.com>
16436
16437 [BZ #12841]
16438 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16439 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16440 (mq_open): Add __NTH.
16441
3d29045b
L
164422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16445 Assume Intel Core i3/i5/i7 processor if AVX is available.
16446
8c297311
UD
164472011-05-31 Ulrich Drepper <drepper@gmail.com>
16448
16449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16450 typo.
16451
c8fc0c91
UD
164522011-05-31 Andreas Schwab <schwab@redhat.com>
16453
16454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16455 memory. Use alloca_account. Fix memory leak when retrying.
16456
5b27a807
UD
164572011-05-31 Ulrich Drepper <drepper@gmail.com>
16458
356f8bc6
UD
16459 * version.h (RELEASE): Bump for 2.14 release.
16460 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16461
5b27a807
UD
16462 * config.make.in (RANLIB): Remove entry.
16463
01f16ab0
UD
164642011-05-30 Ulrich Drepper <drepper@gmail.com>
16465
41fce8bd
UD
16466 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16467 (libc.pot): Work around missing support for .ksh extension in xgettext.
16468
4769ae77
UD
16469 [BZ #12684]
16470 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16471 if both request failed.
16472 (send_dg): In case of server errors clear resplen or *resplen2.
16473
6b1e7d19
UD
16474 [BZ #12454]
16475 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16476 when there are multiple maps.
16477 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16478 (_dl_fini): Remove test here.
16479
01f16ab0
UD
16480 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16481
b1ebd700
UD
164822011-05-29 Ulrich Drepper <drepper@gmail.com>
16483
7ae22829
UD
16484 [BZ #12350]
16485 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16486 bit from old_res_options.
16487 (gaih_inet): Likewise.
16488
553149f6 16489 [BZ #11099]
18a84741 16490 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16491 as signed.
16492
652ffab1
UD
16493 * resolv/res_init.c (res_setoptions): Make the code more compact.
16494
16985fd0
UD
16495 [BZ #11558]
16496 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16497 set RES_USEVC.
16498
0464f746
UD
16499 [BZ #11634]
16500 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16501
7d17596c
UD
16502 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16503
cf6bbbd7
UD
16504 [BZ #11781]
16505 * malloc/malloc.h: Declare malloc hook variables as volatile.
16506
13f1ab36
UD
16507 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16508 in last patch.
16509
b1ebd700
UD
16510 [BZ #11799]
16511 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16512 raise in the comment.
80e2212d
UD
16513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16515 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16516
ce67228d
UD
165172011-05-28 Ulrich Drepper <drepper@gmail.com>
16518
8887a920
UD
16519 [BZ #12811]
16520 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16521 grow the buffers more if it already has to be sufficient.
16522 (build_wcs_upper_buffer): Likewise.
16523 * posix/regexec.c (check_matching): Likewise.
16524 (clean_state_log_if_needed): Likewise.
16525 (extend_buffers): Don't enlarge buffers beyond size of the input
16526 buffer.
16527 Patches mostly by Emil Wojak <emil@wojak.eu>.
16528 * posix/bug-regex32.c: New file.
16529 * posix/Makefile (tests): Add bug-regex32.
16530
4f031072
UD
16531 * locale/findlocale.c (_nl_find_locale): Return right away if
16532 _nl_explode_name failed.
16533 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16534
d0478f0c
UD
16535 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16536
de81b246
UD
16537 * debug/xtrace.sh: Unify messages.
16538 * malloc/memusage.sh: Likewise.
16539
c738465a
UD
16540 [BZ #12813]
16541 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16542 time symbol from vDSO. Substitute with vsyscall if not available.
16543 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16544 __vdso_time.
16545
f1f929d7
UD
16546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16547 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16548 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16549 Add sendmmsg and internal_sendmmsg.
16550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16551 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16552 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16553
ce67228d
UD
16554 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16555 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16556 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16557
e57420c6
UD
165582011-05-27 Ulrich Drepper <drepper@gmail.com>
16559
a8509ca5
UD
16560 [BZ #12813]
16561 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16562 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16563 available.
16564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16565 __vdso_getcpu.
16566
e57420c6
UD
16567 [BZ #12814]
16568 * iconvdata/Makefile (tests): Add bug-iconv9.
16569 * iconvdata/bug-iconv9.c: New file.
16570
4d07db15
AS
165712011-05-27 Andreas Schwab <schwab@redhat.com>
16572
16573 [BZ #12814]
16574 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16575
ea486f69
JJ
165762011-05-25 Jakub Jelinek <jakub@redhat.com>
16577
16578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16579 (struct user_regs_struct): Change intcs field back to cs.
16580
6f038433
UD
165812011-05-25 Ulrich Drepper <drepper@gmail.com>
16582
16583 * po/ja.po: Update from translation team.
16584
67f86a25
UD
165852011-05-23 Ulrich Drepper <drepper@gmail.com>
16586
16587 [BZ #12795]
16588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16590
def7fbd6
AS
165912011-05-20 Andreas Schwab <schwab@redhat.com>
16592
16593 * stdlib/longlong.h: Update from GCC.
16594
f50ef8f1
AS
165952011-05-23 Andreas Schwab <schwab@redhat.com>
16596
16597 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16598 parameter name.
16599 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16600 Add parameter name.
16601 (__sysconf): Pass it down.
16602
de7ce8f1
UD
166032011-05-22 Ulrich Drepper <drepper@gmail.com>
16604
f2962a71
UD
16605 [BZ #12671]
16606 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16607 some situations.
16608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16609 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16610 add in in __libc_use_alloca calls. Adjust callers.
16611 (glob): Use malloc in some situations.
16612
de7ce8f1
UD
16613 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16614 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16615 pltexit.
16616
aec84f53
UD
166172011-05-21 Ulrich Drepper <drepper@gmail.com>
16618
05bb4a68
UD
16619 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16620 and CLOCK_BOOTTIME_ALARM.
16621
7ea72f99
UD
16622 [BZ #12782]
16623 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16624 is returned.
16625
7e4afad5
UD
16626 * string/_strerror.c (__strerror_r): Print negative errors as signed
16627 numbers.
16628
8e211fec
UD
16629 [BZ #12777]
16630 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16631 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16632 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16633
f7d82dc9
UD
16634 * configure.in: Fix typo in redirection and correct removal of test
16635 files in two cases.
16636
cc9e536d
UD
16637 [BZ #12788]
16638 * locale/setlocale.c (new_composite_name): Fix test to check for
16639 identical name of all categories.
16640
aec84f53
UD
16641 [BZ #12792]
16642 * libio/filedoalloc.c (local_isatty): New function.
16643 (_IO_file_doallocate): Use local_isatty.
16644 * stdio-common/perror.c (perror): In case a new stream is used
16645 forward the stream error.
16646 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16647 error flag.
16648
78e64fdc
RT
166492011-05-20 Ulrich Drepper <drepper@gmail.com>
16650
34a9094f
UD
16651 [BZ #11869]
16652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16653 alloca.
16654 * include/alloca.h (extend_alloca_account): Define.
16655
78e64fdc
RT
16656 [BZ #11857]
16657 * posix/regex.h: Fix comments with documentation of user-accessible
16658 fields after compilation and describe correct free'ing of pattern
16659 after re_compile_pattern.
16660 Patch by Reuben Thomas <rrt@sc3d.org>.
16661
457bddfc
RA
166622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16663
16664 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16665 and -mno-altivec to prevent the compiler from using Altivec and/or
16666 VSX instructions when the corresponding registers are not available.
16667
a4527b51
AS
166682011-05-19 Andreas Schwab <schwab@redhat.com>
16669
16670 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16671
ed690b2f
UD
166722011-05-19 Ulrich Drepper <drepper@gmail.com>
16673
16674 * libio/freopen.c (freopen): Use __dup2, not dup2.
16675 * libio/freopen64.c (freopen64): Likewise.
16676
8db73634
L
166772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16678
16679 [BZ #12775]
16680 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16681 * math/Makefile (tests): Add test-powl.
16682 (CFLAGS-test-powl.c): Define.
16683 * math/test-powl.c: New file.
16684
0a197a9d
L
166852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16686
16687 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16688
ee30c380
UD
166892011-05-17 Ulrich Drepper <drepper@gmail.com>
16690
16691 [BZ #11837]
16692 * iconvdata/gb18030.c: Update to GB18020-2005.
16693
6ce75379
UD
166942011-05-16 Ulrich Drepper <drepper@gmail.com>
16695
a4b89fd8
AR
16696 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16697 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16698 Patch by Aharon Robbins <arnold@skeeve.com>.
16699
ea389b12
UD
16700 [BZ #11892]
16701 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16702 on the stack.
16703
68a3f91f
UD
16704 [BZ #11895]
16705 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16706 through underflows.
16707
15cc7dd1
UD
16708 [BZ #12766]
16709 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16710 point to strings before performing equality test for error_one_per_line
16711 mode.
16712
f3799213
UD
16713 [BZ #11697]
16714 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16715
d79a9c94
UD
16716 [BZ #11820]
16717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16718 (struct user_fpregs_struct): Avoid __uint*_t types.
16719
56e5eb46
UD
16720 [BZ #6420]
16721 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16722 symbol info. Use it instead of calling _dl_addr locally.
16723 (lock_and_info): New function.
16724 (tr_freehook): Call lock_and_info and pass symbol info as additional
16725 parameter to tr_where.
16726 (tr_mallochook): Likewise.
16727 (tr_reallochook): Likewise.
16728 (tr_memalignhook): Likewise.
16729
6ce75379
UD
16730 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16731 used and couldn't be at all thread-safe.
16732
f8a3b5bf
UD
167332011-05-15 Ulrich Drepper <drepper@gmail.com>
16734
94b7cc37
UD
16735 * libio/freopen.c (freopen): Don't close old file descriptor
16736 before the new one is opened. Instead dup the new file descriptor
16737 to the old one after the new stream is created.
16738 * libio/freopen64.c (freopen64): Likewise.
16739 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16740 * libio/fileops.c (_IO_new_file_close_it): Handle new
16741 _IO_FLAGS2_NOCLOSE flag.
16742 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16743 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16744 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16745 _IO_FLAGS2_NOCLOSE flag.
16746 * include/unistd.h: Add hidden_proto for dup3.
16747 Define __have_dup3.
16748 * io/dup3.c: Define hidden symbol.
16749 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16750
bd25564e
UD
16751 [BZ #7101]
16752 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16753 when an incomplete long option is used.
16754 * posix/tst-getopt_long1.c: New file.
16755 * posix/Makefile (tests): Add tst-getopt_long1.
16756
c84cfef4
UD
16757 [BZ #10138]
16758 * scripts/config.guess: Update from autoconf-2.68.
16759 * scripts/config.sub: Likewise.
16760
3b85df27
UD
16761 [BZ #10157]
16762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16763 tests into ...
16764 (has_cpuclock): ...this. New function.
16765 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16766 macro here based on has_cpuclock code.
16767
15a856b1
UD
16768 [BZ #10149]
16769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16770 First byte (not low byte) is now always NUL.
16771 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16772
05f399e6
UD
16773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16774 Use non-cancelable interfaces.
16775
10a52685 16776 [BZ #9809]
94ecc67d
UD
16777 * locale/iso-639.def: Add entry for Sorani.
16778
f8a3b5bf
UD
16779 [BZ #11901]
16780 * include/stdlib.h: Move include protection to the right place.
16781 Define abort_msg_s. Declare __abort_msg with it.
16782 * stdlib/abort.c (__abort_msg): Adjust type.
16783 * assert/assert.c (__assert_fail_base): New function. Majority
16784 of code from __assert_fail. Allocate memory for __abort_msg with
16785 mmap.
16786 (__assert_fail): Now call __assert_fail_base.
16787 * assert/assert-perr.c: Remove bulk of implementation. Use
16788 __assert_fail_base.
16789 * include/assert.hL Declare __assert_fail_base.
16790 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16791 mmap.
16792 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16793
1af4e298
UD
167942011-05-14 Ulrich Drepper <drepper@gmail.com>
16795
f8a3b5bf 16796 [BZ #11952]
d26dfc60
MG
16797 [BZ #12453]
16798 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16799 until all modules are registered in the DTV.
16800 * elf/Makefile: Add rules to build and run tst-tls19.
16801 * elf/tst-tls19.c: New file.
16802 * elf/tst-tls19mod1.c: New file.
16803 * elf/tst-tls19mod2.c: New file.
16804 * elf/tst-tls19mod3.c: New file.
16805 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16806
2fc54d6f
UD
16807 [BZ #12083]
16808 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16809 correctly.
16810
98d76b46
UD
16811 [BZ #12601]
16812 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16813 two-byte sequence errors.
16814 * iconvdata/Makefile (tests): Add bug-iconv8.
16815 * iconvdata/bug-iconv8.c: New file.
16816
da3c19ef
UD
16817 [BZ #12626]
16818 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16819 buf2 definition.
16820
ca408c15
UD
16821 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16822
d6f67f7d
UD
16823 [BZ #12432]
16824 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16825 (dummy_getcfa): New function.
16826 (init): Get _Unwind_GetCFA address, use dummy if not found.
16827 (backtrace_helper): In recursion check, also check whether CFA changes.
16828 (__backtrace): Completely initialize arg.
16829
1af4e298 16830 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16831 storing incomplete byte sequence in state object. Avoid testing for
16832 guaranteed too small input if we know there is enough data available.
1af4e298 16833
da62f81b
AS
168342011-05-11 Andreas Schwab <schwab@redhat.com>
16835
16836 * Makeconfig (+link-pie): Indent.
16837 * Rules (binaries-pie): Define if $(have-fpie) and
16838 $(build-shared).
16839 (binaries-shared): Also filter out $(binaries-pie).
16840 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16841 * nscd/Makefile (others-pie): Add nscd.
16842 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16843 ($(objpfx)nscd): Remove command override.
16844 * login/Makefile (others-pie): Add pt_chown.
16845 ($(objpfx)pt_chown): Remove command override.
16846 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16847 remove command overrides.
16848
fcabc0f8
UD
168492011-05-13 Ulrich Drepper <drepper@gmail.com>
16850
20030ae6
UD
16851 * libio/tst_putwc.c: Fix error messages.
16852
fcabc0f8
UD
16853 [BZ #12724]
16854 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16855 currently writing and seek to current position when not.
16856 * libio/Makefile (tests): Add bug-fclose1.
16857 * libio/bug-fclose1.c: New file.
16858
320a5dc0
PB
168592011-05-12 Ulrich Drepper <drepper@gmail.com>
16860
16861 [BZ #12511]
16862 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16863 don't set DF_1_NODELETE here.
16864 (do_lookup_x): When entering new entry test for copy relocation
16865 and if necessary set DF_1_NODELETE flag.
16866 * elf/tst-unique4.cc: New file.
16867 * elf/tst-unique4.h: New file.
16868 * elf/tst-unique4lib.cc: New file.
16869 * elf/Makefile: Add rules to build and run tst-unique4.
16870 Patch by Piotr Bury <pbury@goahead.com>.
16871
22836f52
UD
168722011-05-11 Ulrich Drepper <drepper@gmail.com>
16873
f574184a
UD
16874 [BZ #12052]
16875 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16876
e1fb097f
UD
16877 [BZ #12625]
16878 * misc/mntent_r.c (addmntent): Flush the stream after the output
16879
22836f52
UD
16880 [BZ #12393]
16881 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16882 (is_trusted_path_normalize): Skip initial colon. Append slash
16883 to empty buffer. Duplicate is_trusted_path code but allow
16884 constructed patch to be prefix.
16885 (is_dst): Allow $ORIGIN followed by /.
16886 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16887 Correct testing of result of is_trusted_path_normalize
16888 (decompose_rpath): Fix warning.
16889
7b3b0b2a
UD
168902011-05-10 Ulrich Drepper <drepper@gmail.com>
16891
16892 [BZ #11257]
16893 * grp/initgroups.c (internal_getgrouplist): When we found the service
16894 list through the initgroups entry in nsswitch.conf do not always
16895 continue on a successful lookup. Don't always use the
eac80ce2 16896 __nss_group_database value if it is set.
7b3b0b2a
UD
16897 * nss/nsswitch.conf (initgroups): Change action for successful db
16898 lookup to continue for compatibility.
16899
2a81eaa5
UD
169002011-05-09 Ulrich Drepper <drepper@gmail.com>
16901
be97a69e
UD
16902 [BZ #11532]
16903 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16904 and CP774 modules.
16905 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16906 and CP774 modules.
16907 * iconvdata/tst-tables.sh: Likewise.
16908 * iconvdata/cp770.c: New file.
16909 * iconvdata/cp771.c: New file.
16910 * iconvdata/cp772.c: New file.
16911 * iconvdata/cp773.c: New file.
16912 * iconvdata/cp774.c: New file.
16913 * iconvdata/testdata/CP770: New file.
16914 * iconvdata/testdata/CP770..UTF8: New file.
16915 * iconvdata/testdata/CP771: New file.
16916 * iconvdata/testdata/CP771..UTF8: New file.
16917 * iconvdata/testdata/CP772: New file.
16918 * iconvdata/testdata/CP772..UTF8: New file.
16919 * iconvdata/testdata/CP773: New file.
16920 * iconvdata/testdata/CP773..UTF8: New file.
16921 * iconvdata/testdata/CP774: New file.
16922 * iconvdata/testdata/CP774..UTF8: New file.
16923
16924 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16925 END CHARMAP line.
16926 * iconvdata/gen-8bit-gap.sh: Likewise.
16927 * iconvdata/gen-8bit.sh: Likewise.
16928
c1e9e399
UD
16929 * locale/iso-639.def: Add ary entry.
16930
24c55fb3 16931 [BZ #11258]
96b4b1b0
UD
16932 * locale/C-translit.h.in: Add U20A1 transliteration.
16933
bdc2f971
KB
16934 [BZ #12178]
16935 * locale/iso-639.def: Add wae entry.
16936 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16937
2952b117
UD
16938 [BZ #12545]
16939 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16940 for n.
16941
2a81eaa5
UD
16942 [BZ #12711]
16943 * locale/C-translit.h.in: Add entry for U20B9.
16944 Patch by pravin.d.s@gmail.com.
16945
28377d1b
UD
169462011-05-08 Ulrich Drepper <drepper@gmail.com>
16947
7fb90fb8
UD
16948 [BZ #12713]
16949 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16950 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16951 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16952 in rtld. Use *stat64.
7fb90fb8 16953 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16954 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16955 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16956 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16957 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16958 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16959 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16960 __fstatat64 macros.
7fb90fb8
UD
16961 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16962 * dirent/rewinddir.c: Add libc_hidden_def.
16963 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16964 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16965
28377d1b
UD
16966 * include/dirent.h (__alloc_dir): Add flags parameter.
16967 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16968 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16969 __alloc_dir.
16970 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16971 from fdopendir if O_CLOEXEC is already set.
16972
66bdbaa4
AM
169732011-03-15 Alan Modra <amodra@gmail.com>
16974
16975 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16976 l_tls_firstbyte_offset non-zero. Save padding offset in
16977 l_tls_firstbyte_offset for later use.
16978 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16979 freeing static tls block.
16980
95721191
JN
169812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16982
16983 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16984 where #ifdef was intended. The intent is to prevent ARG_MAX from
16985 being defined by the kernel headers.
16986
f87dfb1f
UD
169872011-05-07 Ulrich Drepper <drepper@gmail.com>
16988
16989 [BZ #12734]
16990 * resolv/resolv.h: Define RES_NOTLDQUERY.
16991 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16992 no-tld-query and set RES_NOTLDQUERY.
16993 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16994 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16995 modern BIND to search name as TLD unless forbidden.
16996
47c3cd7a
UD
169972011-05-07 Petr Baudis <pasky@suse.cz>
16998 Ulrich Drepper <drepper@gmail.com>
16999
17000 [BZ #12393]
17001 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17002 (is_trusted_path): ...to here.
c1e9ea35 17003 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17004 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17005 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17006
8a35c912
PP
170072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17008
17009 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17010 __BEGIN/__END_DECLS.
17011
acd41f47
UD
170122011-05-06 Ulrich Drepper <drepper@gmail.com>
17013
17014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17015 NSS_STATUS_NOTFOUND if no record was found.
17016
597df647
AS
170172011-05-05 Andreas Schwab <schwab@redhat.com>
17018
17019 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17020 (headers-not-in-tirpc): Remove rpc/netdb.h
17021 * resolv/netdb.h: Revert last change.
17022
b9af1301
PP
170232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17024
17025 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17026 circular dependency between libgcc.a and libc.a.
17027
4e34d5f5
AS
170282011-05-05 Andreas Schwab <schwab@redhat.com>
17029
17030 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17031 * nis/Makefile: Don't install rpcsvc/*.
17032 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17033 instead of <rpc/types.h>.
17034 (MAXHOSTNAMELEN): Define.
17035
00ee369c
AS
170362011-05-03 Andreas Schwab <schwab@redhat.com>
17037
17038 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17039
0b592a30
MB
170402011-04-28 Maciej Babinski <mbabinski@google.com>
17041
17042 [BZ #12714]
17043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17044 gethostbyname4_r when IPv6 results are possible.
17045
6e04cbbe
UD
170462011-05-02 Ulrich Drepper <drepper@gmail.com>
17047
17048 [BZ #12723]
17049 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17050 _PC_PIPE_BUF handling.
17051
e4ecafe0
BH
170522011-04-30 Bruno Haible <bruno@clisp.org>
17053
17054 [BZ #12717]
17055 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17056 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17057 to 'int'.
17058 * inet/getnameinfo.c (getnameinfo): Likewise.
17059
125ee683
UD
170602011-04-29 Ulrich Drepper <drepper@gmail.com>
17061
17062 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17063 to groups setting in database lookup.
17064 * nss/nsswitch.conf: Add initgroups entry.
17065
b722481a
EB
170662011-04-22 Ulrich Drepper <drepper@gmail.com>
17067
17068 [BZ #12685]
17069 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17070 mode string.
17071 Patch by Eric Blake <eblake@redhat.com>.
17072
4df46dbd
L
170732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17074
17075 * sunrpc/Makefile (need-export-routines): Add svc_run.
17076 (routines): Remove svc_run.
17077 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17078 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17079 * sunrpc/svc_run.c (svc_run): Likewise.
17080 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17081
e84142d2
UD
170822011-04-21 Ulrich Drepper <drepper@gmail.com>
17083
17084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17085 problem in reallocation in last patch.
17086
877175d8
UD
170872011-04-20 Ulrich Drepper <drepper@gmail.com>
17088
17089 * sunrpc/Makefile: Move inclusion of Rules.
17090
ab8eed78
UD
170912011-04-19 Ulrich Drepper <drepper@gmail.com>
17092
17093 * nss/nss_files/files-initgroups.c: New file.
17094 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17095 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17096 _nss_files_initgroups_dyn.
17097
e3d8f584
RS
170982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17099
17100 * elf/elf.h (R_ARM_IRELATIVE): Define.
17101
af190f45
UD
171022011-04-19 Ulrich Drepper <drepper@gmail.com>
17103
17104 * po/ru.po: Update from translation team.
17105
53cf59ef
UD
171062011-04-17 Ulrich Drepper <drepper@gmail.com>
17107
17108 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17109 dependencies.
17110
4c559bcd
MF
171112011-02-06 Mike Frysinger <vapier@gentoo.org>
17112
17113 [BZ #12653]
17114 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17115 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17119
4420675c
AS
171202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17121
17122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17123 differing bytes.
17124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17127
75ea32ab
UD
171282011-04-17 Ulrich Drepper <drepper@gmail.com>
17129
17130 [BZ #12420]
17131 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17132 storing it.
17133 * stdlib/bug-getcontext.c: New file.
17134 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17135
27390476
AK
171362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17137
17138 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17139 instructions into .machine "z9-109".
17140 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17141 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17142
10442705
AK
171432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17144
17145 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17146 between environment variables and auxiliary vector.
17147
7b57bfe5
UD
171482011-04-16 Ulrich Drepper <drepper@gmail.com>
17149
17150 * Makefile: Add rules to build linkobj/libc.so.
17151 * include/libc-symbols.h: Define libc_hidden_nolink.
17152 * include/rpc/auth.h: Mark functions which are to be hidden.
17153 * include/rpc/auth_des.h: Likewise.
17154 * include/rpc/auth_unix.h: Likewise.
17155 * include/rpc/clnt.h: Likewise.
17156 * include/rpc/des_crypt.h: Likewise.
17157 * include/rpc/key_prot.h: Likewise.
17158 * include/rpc/pmap_clnt.h: Likewise.
17159 * include/rpc/pmap_prot.h: Likewise.
17160 * include/rpc/pmap_rmt.h: Likewise.
17161 * include/rpc/rpc_msg.h: Likewise.
17162 * include/rpc/svc.h: Likewise.
17163 * include/rpc/svc_auth.h: Likewise.
17164 * include/rpc/xdr.h: Likewise.
17165 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17166 * nss/Makefile: Likewise.
17167 * sunrpc/Makefile: Don't install headers. Build library with normal
17168 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17169 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17170 for the compat linking library. Remove use of INTDEF/INTUSE.
17171 * sunrpc/auth_none.c: Likewise.
17172 * sunrpc/auth_unix.c: Likewise.
17173 * sunrpc/authdes_prot.c: Likewise.
17174 * sunrpc/authuxprot.c: Likewise.
17175 * sunrpc/clnt_gen.c: Likewise.
17176 * sunrpc/clnt_perr.c: Likewise.
17177 * sunrpc/clnt_raw.c: Likewise.
17178 * sunrpc/clnt_simp.c: Likewise.
17179 * sunrpc/clnt_tcp.c: Likewise.
17180 * sunrpc/clnt_udp.c: Likewise.
17181 * sunrpc/clnt_unix.c: Likewise.
17182 * sunrpc/des_crypt.c: Likewise.
17183 * sunrpc/des_soft.c: Likewise.
17184 * sunrpc/get_myaddr.c: Likewise.
17185 * sunrpc/key_call.c: Likewise.
17186 * sunrpc/key_prot.c: Likewise.
17187 * sunrpc/netname.c: Likewise.
17188 * sunrpc/pm_getmaps.c: Likewise.
17189 * sunrpc/pm_getport.c: Likewise.
17190 * sunrpc/pmap_clnt.c: Likewise.
17191 * sunrpc/pmap_prot.c: Likewise.
17192 * sunrpc/pmap_prot2.c: Likewise.
17193 * sunrpc/pmap_rmt.c: Likewise.
17194 * sunrpc/publickey.c: Likewise.
17195 * sunrpc/rpc_cmsg.c: Likewise.
17196 * sunrpc/rpc_common.c: Likewise.
17197 * sunrpc/rpc_dtable.c: Likewise.
17198 * sunrpc/rpc_prot.c: Likewise.
17199 * sunrpc/rpc_thread.c: Likewise.
17200 * sunrpc/rtime.c: Likewise.
17201 * sunrpc/svc.c: Likewise.
17202 * sunrpc/svc_auth.c: Likewise.
17203 * sunrpc/svc_authux.c: Likewise.
17204 * sunrpc/svc_raw.c: Likewise.
17205 * sunrpc/svc_run.c: Likewise.
17206 * sunrpc/svc_simple.c: Likewise.
17207 * sunrpc/svc_tcp.c: Likewise.
17208 * sunrpc/svc_udp.c: Likewise.
17209 * sunrpc/svc_unix.c: Likewise.
17210 * sunrpc/svcauth_des.c: Likewise.
17211 * sunrpc/xcrypt.c: Likewise.
17212 * sunrpc/xdr.c: Likewise.
17213 * sunrpc/xdr_array.c: Likewise.
17214 * sunrpc/xdr_float.c: Likewise.
17215 * sunrpc/xdr_intXX_t.c: Likewise.
17216 * sunrpc/xdr_mem.c: Likewise.
17217 * sunrpc/xdr_rec.c: Likewise.
17218 * sunrpc/xdr_ref.c: Likewise.
17219 * sunrpc/xdr_sizeof.c: Likewise.
17220 * sunrpc/xdr_stdio.c: Likewise.
17221
e6c61494
UD
172222011-04-10 Ulrich Drepper <drepper@gmail.com>
17223
17224 [BZ #12650]
17225 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17226 * sysdeps/ia64/dl-tls.h: Likewise.
17227 * sysdeps/powerpc/dl-tls.h: Likewise.
17228 * sysdeps/s390/dl-tls.h: Likewise.
17229 * sysdeps/sh/dl-tls.h: Likewise.
17230 * sysdeps/sparc/dl-tls.h: Likewise.
17231 * sysdeps/x86_64/dl-tls.h: Likewise.
17232 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17233
34fe483e
AS
172342011-03-14 Andreas Schwab <schwab@redhat.com>
17235
17236 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17237 rpath element also skip the following colon.
17238 (expand_dynamic_string_token): Add is_path parameter and pass
17239 down to DL_DST_REQUIRED and _dl_dst_substitute.
17240 (decompose_rpath): Call expand_dynamic_string_token with
17241 non-zero is_path. Ignore empty rpaths.
17242 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17243 with zero is_path.
17244
f12a32e6
AS
172452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17246
17247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17248 Make cancelable.
17249
38a7d692
UD
172502011-04-09 Ulrich Drepper <drepper@gmail.com>
17251
17252 [BZ #12655]
17253 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17254 Patch by Filipe David Manana <fdmanana@apache.org>.
17255
e451d22b
AS
172562011-04-07 Andreas Schwab <schwab@redhat.com>
17257
17258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17259 Maintain aligned stack.
17260 (CHECK_RSP): Remove unused macro.
17261
dedc7c7b
UD
172622011-04-03 Ulrich Drepper <drepper@gmail.com>
17263
17264 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17266
94521213
UD
172672011-04-02 Ulrich Drepper <drepper@gmail.com>
17268
17269 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17270
8cb700c0 17271 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17272
0354e355
L
172732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17274
17275 [BZ #12518]
17276 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17277 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17278 * sysdeps/x86_64/memmove.c: New file.
17279 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17280 (memcpy): Renamed to ...
17281 (__new_memcpy): This.
17282 (memcpy): Provide GLIBC_2_14 memcpy.
17283 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17284 (memcpy): Provide GLIBC_2_2_5 memcpy.
17285
8593482f
UD
172862011-04-01 Ulrich Drepper <drepper@gmail.com>
17287
17288 [BZ #12631]
17289 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17290
81a5726b
AS
172912011-03-30 Andreas Schwab <schwab@redhat.com>
17292
17293 * misc/syncfs.c: New file.
17294 * misc/Makefile (routines): Add syncfs.
17295 * posix/unistd.h: Declare syncfs.
17296 * sysdeps/unix/syscalls.list: Add syncfs.
17297
00e5419f
AS
172982011-04-01 Andreas Schwab <schwab@redhat.com>
17299
17300 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17301 open_by_handle_at.
17302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17307 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17309
748876bf
UD
173102011-04-01 Ulrich Drepper <drepper@gmail.com>
17311
658e451d
UD
17312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17319
748876bf
UD
17320 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17321 sync_file_range.c with -fexceptions.
17322 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17323 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17324 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17325 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17326 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17327 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17329 sync_file_range as cancellation point
17330 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17331 now a wrapper around __call_sync_file_range with cancellation handling.
17332 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17333 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17334 function name to __call_sync_file_range.
17335 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17336 Add call_sync_file_range.
748876bf 17337
6e63d5e1
AS
173382011-04-01 Andreas Schwab <schwab@redhat.com>
17339
17340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17341 bits/timex.h.
6e63d5e1 17342
46998f74
UD
173432011-04-01 Ulrich Drepper <drepper@gmail.com>
17344
4c1423ed
UD
17345 * iconv/iconv.h: Fix typo in comment.
17346 * io/fcntl.h: Likewise.
17347 * libio/stdio.h: Likewise.
17348 * posix/spawn.h: Likewise.
17349 * posix/unistd.h: Likewise.
17350 * stdlib/stdlib.h: Likewise.
17351 * time/time.h: Likewise.
17352 * wcsmbs/wchar.h: Likewise.
17353
158648c0
UD
17354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17355 open_by_handle): Add.
17356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17357 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17358 Augment a few comments.
17359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17364 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17365 open_by_handle.
17366
46998f74
UD
17367 * io/fcntl.h (AT_EMPTY_PATH): Define.
17368
83fe108b
UD
173692011-03-30 Ulrich Drepper <drepper@gmail.com>
17370
17371 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17372 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17373 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17374 to...
17375 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17376 * Versions.def: Add GLIBC_2.14.
17377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17378 Export.
83fe108b 17379
bb242059
UD
173802011-03-22 Ulrich Drepper <drepper@gmail.com>
17381
17382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17383 round counter.
17384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17385
c97a1282
L
173862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17387
17388 [BZ #12597]
17389 * string/test-strncmp.c (do_page_test): New function.
17390 (check2): Likewise.
17391 (test_main): Call check2.
17392 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17393
2a115601
UD
173942011-03-20 Ulrich Drepper <drepper@gmail.com>
17395
17396 [BZ #12587]
17397 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17398 Handle cache information in CPU leaf 4.
17399 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17400
8126d904
UD
174012011-03-18 Ulrich Drepper <drepper@gmail.com>
17402
042c49c6 17403 [BZ #12583]
8126d904
UD
17404 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17405 character representation.
17406 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17407
ccfe366e
RA
174082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17409
17410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17411 END(__isnan) to END(__isnanf) to match function entry point/label
17412 EALIGN(__isnanf,...).
17413
c6e13027
JJ
174142011-03-10 Jakub Jelinek <jakub@redhat.com>
17415
17416 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17417
33f85a3f
UD
174182011-03-10 Ulrich Drepper <drepper@gmail.com>
17419
028478fa
UD
17420 [BZ #12510]
17421 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17422 copy from the symbol referenced in the relocation to initialize the
17423 used variable.
17424 Patch by Piotr Bury <pbury@goahead.com>.
17425 * elf/Makefile: Add rules to build and tst-unique3.
17426 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17427 * elf/tst-unique3.cc: New file.
17428 * elf/tst-unique3.h: New file.
17429 * elf/tst-unique3lib.cc: New file.
17430 * elf/tst-unique3lib2.cc: New file.
17431
33f85a3f
UD
17432 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17433
03592fc7
MF
174342011-03-10 Mike Frysinger <vapier@gentoo.org>
17435
17436 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17437 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17438 to _start.
03592fc7 17439
6a5ee102
UD
174402011-03-06 Ulrich Drepper <drepper@gmail.com>
17441
17442 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17443 to-be-loaded object along a path to loader is ld.so.
17444
7e4ba49c
HJ
174452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17446 Ulrich Drepper <drepper@gmail.com>
17447
17448 * sysdeps/x86_64/memset.S: After aligning destination, code
17449 branches to different locations depending on the value of
17450 misalignment, when multiarch is enabled. Fix this.
17451
174522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17453
17454 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17455 Set _x86_64_preferred_memory_instruction for AMD processsors.
17456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17457 Set bit_Prefer_SSE_for_memop for AMD processors.
17458
13a804de
UD
174592011-03-04 Ulrich Drepper <drepper@gmail.com>
17460
17461 * libio/fmemopen.c (fmemopen): Optimize a bit.
17462
9d25c392
AS
174632011-03-03 Andreas Schwab <schwab@redhat.com>
17464
17465 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17466
a5543c6a
RM
174672011-03-03 Roland McGrath <roland@redhat.com>
17468
17469 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17470
012d35f7
DM
174712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17472
7e4ba49c 17473 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17474 __bzero_ultra1 instead of __memset_ultra1.
17475
4bff6e01
AS
174762011-02-23 Andreas Schwab <schwab@redhat.com>
17477 Ulrich Drepper <drepper@gmail.com>
17478
17479 [BZ #12509]
17480 * include/link.h (struct link_map): Add l_orig_initfini.
17481 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17482 returning unsuccessfully.
17483 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17484 close of a file loaded at startup, restore the original l_initfini
17485 list.
17486 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17487 list, store the pointer.
17488 * elf/Makefile ($(objpfx)noload-mem): New rule.
17489 (noload-ENV): Define.
17490 (tests): Add $(objpfx)noload-mem.
17491 * elf/noload.c: Include <memcheck.h>.
17492 (main): Call mtrace. Close all opened handles.
17493
f2092faf
AS
174942011-02-17 Andreas Schwab <schwab@redhat.com>
17495
17496 [BZ #12454]
17497 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17498 dependencies are missing.
17499
6c8a2e88
ST
175002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17501
f2092faf 17502 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17503 Hurd needs munmap.
17504 * sysdeps/mach/hurd/ifreq.h: New file.
17505
84a42118
PB
175062011-01-27 Petr Baudis <pasky@suse.cz>
17507 Ulrich Drepper <drepper@gmail.com>
17508
071f805e 17509 [BZ 12445]#
84a42118
PB
17510 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17511 to extend_alloca().
17512 * stdio-common/bug23.c: New file.
17513 * stdio-common/Makefile (tests): Add bug23.
17514
e23fe25b
AS
175152010-09-28 Andreas Schwab <schwab@redhat.com>
17516 Ulrich Drepper <drepper@gmail.com>
17517
17518 [BZ #12489]
17519 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17520 before performing relro protection. At old place add assertion
17521 to make sure nothing changed.
17522
d3f02e10
NS
175232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17524 Glauber de Oliveira Costa <glommer@gmail.com>
17525
17526 * elf/elf.h: Add new ARM TLS relocs.
17527
d55fd7a5
RA
175282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17529
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17531 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17532 cast from r3.
17533 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17534 'tests' variable.
17535 * sysdeps/wordsize-64/tst-writev.c: New file.
17536
2206397e
RA
175372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17538
17539 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17540 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17541 insns in _dl_start to prevent a TOC reference before relocs are
17542 resolved.
17543
e9433893
UD
175442011-02-15 Ulrich Drepper <drepper@gmail.com>
17545
17546 [BZ #12469]
17547 * Makeconfig: Remove RANLIB definition.
17548 * Makerules: Don't use RANLIB.
17549 * aclocal.m4: Remove ranlib test.
17550 * configure.in: No need to check for ranlib.
17551 * elf/rtld-Rules: Don't use RANLIB.
17552
f75286c6
ST
175532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17554
8e31c82d
ST
17555 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17556 protection macro.
17557 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17558 inclusion protection macro.
17559
f75286c6
ST
17560 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17561 SIGRTMIN and SIGRTMAX and print information in that case only when
17562 SIGRTMIN is defined.
17563
c1d0e639
JJ
175642011-02-11 Jakub Jelinek <jakub@redhat.com>
17565
17566 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17567 arginfo fn returning -1.
17568
17569 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17570 and thousands string is zero terminated.
17571
edf9294e
AS
175722011-02-03 Andreas Schwab <schwab@redhat.com>
17573
17574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17575 sysdeps/unix/sysv/linux/bits/socket.h.
17576
2b7e92df
ST
175772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17578
edf9294e
AS
17579 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17580 (__CPU_COUNT): Remove old macros.
17581 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17582 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17583 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17584 (__sched_cpualloc, __sched_cpufree): Add declarations.
17585
a4c7ea7b
UD
175862011-02-05 Ulrich Drepper <drepper@gmail.com>
17587
17588 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17589 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17590 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17591 (readdhstai): Return value of addhstaiX call.
17592 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17593 (addgrbyX): Return value returned by cache_addgr.
17594 (readdgrbyname): Return value returned by addgrbyX.
17595 (readdgrbygid): Likewise.
17596 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17597 (addpwbyX): Return value returned by cache_addpw.
17598 (readdpwbyname): Return value returned by addhstbyX.
17599 (readdpwbyuid): Likewise.
17600 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17601 (addservbyX): Return value returned by cache_addserv.
17602 (readdservbyname): Return value returned by addservbyX:
17603 (readdservbyport): Likewise.
17604 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17605 (addhstbyX): Return value returned by cache_addhst.
17606 (readdhstbyname): Return value returned by addhstbyX.
17607 (readdhstbyaddr): Likewise.
17608 (readdhstbynamev6): Likewise.
17609 (readdhstbyaddrv6): Likewise.
17610 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17611 (readdinitgroups): Return value returned by addinitgroupsX.
17612 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17613 (prune_cache): Keep track of timeout value of re-added entries.
17614 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17615 * nscd/nscd.h: Adjust prototypes of readd* functions.
17616
a0bf67cc
RM
176172011-02-04 Roland McGrath <roland@redhat.com>
17618
17619 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17620 (nis_stats): Likewise.
17621 * nis/nis_modify.c (nis_modify): Likewise.
17622 * nis/nis_remove.c (nis_remove): Likewise.
17623 * nis/nis_add.c (nis_add): Likewise.
17624
17625 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17626
17627 * posix/fnmatch_loop.c: Add some consts.
17628
17629 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17630
435b95eb
L
176312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 [BZ #12460]
17634 * config.make.in (config-cflags-novzeroupper): Define.
17635 * configure.in: Substitute libc_cv_cc_novzeroupper.
17636 * elf/Makefile (AVX-CFLAGS): Define.
17637 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17638 (CFLAGS-tst-auditmod4a.c): Likewise.
17639 (CFLAGS-tst-auditmod4b.c): Likewise.
17640 (CFLAGS-tst-auditmod6b.c): Likewise.
17641 (CFLAGS-tst-auditmod6c.c): Likewise.
17642 (CFLAGS-tst-auditmod7b.c): Likewise.
17643 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17644
8517b15e
UD
176452011-02-02 Ulrich Drepper <drepper@gmail.com>
17646
17647 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17648 function to the callback.
17649 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17650
10a656fe
AS
176512011-02-02 Andreas Schwab <schwab@redhat.com>
17652
17653 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17654 of errno.
17655
968dad0a
UD
176562011-01-19 Ulrich Drepper <drepper@gmail.com>
17657
9f94d2ea 17658 [BZ #11724]
968dad0a
UD
17659 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17660 of constructors.
17661 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17662 of destructors.
17663 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17664
17665 [BZ #11724]
17666 * elf/Makefile: Add rules to build and run new test.
17667 * elf/tst-initorder.c: New file.
17668 * elf/tst-initorder.exp: New file.
17669 * elf/tst-initordera1.c: New file.
17670 * elf/tst-initordera2.c: New file.
17671 * elf/tst-initordera3.c: New file.
17672 * elf/tst-initordera4.c: New file.
17673 * elf/tst-initorderb1.c: New file.
17674 * elf/tst-initorderb2.c: New file.
17675 * elf/tst-order-a1.c: New file.
17676 * elf/tst-order-a2.c: New file.
17677 * elf/tst-order-a3.c: New file.
17678 * elf/tst-order-a4.c: New file.
17679 * elf/tst-order-b1.c: New file.
17680 * elf/tst-order-b2.c: New file.
17681 * elf/tst-order-main.c: New file.
17682 New test case by George Gensure <werkt0@gmail.com>.
17683
86e92359
UD
176842010-10-01 Andreas Schwab <schwab@redhat.com>
17685
17686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17687 decoding ACE if AI_CANONIDN.
17688
5d5732b0
UD
176892011-01-18 Ulrich Drepper <drepper@gmail.com>
17690
17691 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17692
a77e8cbc
UD
176932011-01-17 Ulrich Drepper <drepper@gmail.com>
17694
6392473f
UD
17695 * version.h (RELEASE): Bump for 2.13 release.
17696 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17697
620a0529
UD
17698 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17699
18ba70a5
UD
17700 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17701 MADV_NOHUGEPAGE.
32465c3e
UD
17702 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17705 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17708
c0dafcf1
UD
17709 * posix/getconf.c: Update copyright year.
17710 * catgets/gencat.c: Likewise.
17711 * csu/version.c: Likewise.
17712 * debug/catchsegv.sh: Likewise.
17713 * debug/xtrace.sh: Likewise.
17714 * elf/ldconfig.c: Likewise.
17715 * elf/ldd.bash.in: Likewise.
17716 * elf/sprof.c (print_version): Likewise.
17717 * iconv/iconv_prog.c: Likewise.
17718 * iconv/iconvconfig.c: Likewise.
17719 * locale/programs/locale.c: Likewise.
17720 * locale/programs/localedef.c: Likewise.
17721 * malloc/memusage.sh: Likewise.
17722 * malloc/mtrace.pl: Likewise.
17723 * nscd/nscd.c (print_version): Likewise.
17724 * nss/getent.c: Likewise.
17725
a77e8cbc
UD
17726 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17727 PF_CAIF, and PF_ALG.
17728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17729
77e8bddf
AS
177302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17731
1f20b93a
AS
17732 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17733 (modules-names): Use them.
17734 (ifunc-test-modules, ifunc-pie-tests): Define.
17735 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17736 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17737 (test-extras): Likewise.
17738 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17739 $(compile-command.c).
17740 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17741 (all-built-dso): Define.
17742 (check-textrel.out, check-execstack.out): Depend on it.
17743
77e8bddf
AS
17744 * configure.in: Don't override --enable-multi-arch.
17745
bc425b33
UD
177462011-01-15 Ulrich Drepper <drepper@gmail.com>
17747
17748 [BZ #6812]
17749 * nscd/hstcache.c (tryagain): Define.
17750 (cache_addhst): Return tryagain not notfound for temporary errors.
17751 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17752 failed.
17753
794c3ad3
UD
177542011-01-14 Ulrich Drepper <drepper@gmail.com>
17755
70181fdd
UD
17756 [BZ #10563]
17757 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17758 to make the syscall.
17759 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17760
794c3ad3
UD
17761 [BZ #12378]
17762 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17763 and fall back to matching as normal character if the string ends before
17764 the matching ']' is found. This is what POSIX requires.
17765 * posix/testfnm.c: Adjust test result.
17766 * posix/globtest.sh: Adjust test result. Add new test.
17767 * posix/tst-fnmatch.input: Likewise.
17768 * posix/tst-fnmatch2.c: Add new test.
17769
68dc9497
AS
177702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17771
17772 * elf/Makefile (check-execstack): Revert last change. Depend on
17773 check-execstack.h.
17774 (check-execstack.h): New target.
17775 (generated): Add check-execstack.h.
17776 * elf/check-execstack.c: Include "check-execstack.h".
17777 (main): Revert last change.
17778 (handle_file): Return zero if GNU_STACK is absent and
17779 DEFAULT_STACK_PERMS doesn't include PF_X.
17780
451f001b
UD
177812011-01-13 Ulrich Drepper <drepper@gmail.com>
17782
cfa28e56
UD
17783 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17784 in child fails because the descriptor is already closed.
8cf8ce17
UD
17785 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17786 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17788
1086d70d
UD
17789 [BZ #12397]
17790 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17791 syscall.
17792
451f001b
UD
17793 [BZ #10484]
17794 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17795 temporary buffer used to handle multi lookups locally.
a85b5cb4 17796 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17797
08769175
UD
177982011-01-12 Ulrich Drepper <drepper@gmail.com>
17799
17800 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17801 loader is ld.so.
17802
5e49c52e
UD
178032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17804
17805 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17806 alignment for SSE2.
17807
60522a5f
UD
178082011-01-12 Ulrich Drepper <drepper@gmail.com>
17809
17810 [BZ #12394]
17811 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17812 characters. When rounding increased number of integer digits recompute
17813 number of groups.
17814 * stdio-common/tst-grouping.c: New file.
17815 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17816
f257bbd7
UD
178172011-01-09 Ulrich Drepper <drepper@gmail.com>
17818
17819 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17820 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17821
17822 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17823 void.
17824 * bits/select.h: Likewise.
17825
fa9c15cb
UD
178262011-01-08 Ulrich Drepper <drepper@gmail.com>
17827
17828 * po/ja.po: Update from translation team.
17829
16c2895f
DM
178302011-01-04 David S. Miller <davem@sunset.davemloft.net>
17831
17832 [BZ #11155]
17833 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17834 implementation just like for lxstat, fxstatat, et al.
17835
2543fef2
JM
178362010-12-27 Jim Meyering <meyering@redhat.com>
17837
17838 [BZ #12348]
17839 * posix/regexec.c (build_trtable): Return failure indication upon
17840 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17841
98727dbe
UD
178422010-12-25 Ulrich Drepper <drepper@gmail.com>
17843
5bd6dc5c
UD
17844 [BZ #12201]
17845 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17846 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17847 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17848 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17849
97983464
UD
17850 [BZ #12207]
17851 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17852
98727dbe
UD
17853 [BZ #12204]
17854 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17855 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17856
4a531bb0
L
178572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17858
17859 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17860 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17861 script has SORT_BY_INIT_PRIORITY.
17862 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17863 NO_CTORS_DTORS_SECTIONS is defined.
17864 * elf/soinit.c: Likewise.
17865 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17866 NO_CTORS_DTORS_SECTIONS is defined.
17867 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17868 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17869 * sysdeps/sh/init-first.c: Likewise.
17870 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17871
07eb4b71
UD
178722010-12-24 Ulrich Drepper <drepper@gmail.com>
17873
17874 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17875 always use the slow path.
17876
30950a5f
RA
178772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17878
17879 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17880 similar rule which adds the sysdep directories to the header search in
17881 order to pick up the correct platform stackinfo.h.
17882 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17883 perform test if it is, otherwise return successfully without testing.
17884 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17885 DEFAULT_STACK_PERMS define in stackinfo.h.
17886 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17887 defined in stackinfo.h.
17888 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17889 DEFAULT_STACK_PERMS defined in stackinfo.h.
17890 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17891 * sysdeps/ia64/stackinfo.h: Likewise.
17892 * sysdeps/s390/stackinfo.h: Likewise.
17893 * sysdeps/sh/stackinfo.h: Likewise.
17894 * sysdeps/sparc/stackinfo.h: Likewise.
17895 * sysdeps/x86_64/stackinfo.h: Likewise.
17896 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17897 PF_X for powerpc64. Retain PF_X for powerpc32.
17898
db753e2c
UD
178992010-12-19 Ulrich Drepper <drepper@gmail.com>
17900
14b697f7
UD
17901 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17902 accurately.
db753e2c
UD
17903 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17904 GETDENTS_64BIT_ALIGNED.
17905
28300719
UD
179062010-12-14 Ulrich Drepper <dreper@gmail.com>
17907
14b697f7 17908 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17909
4f197237
AS
179102010-12-10 Andreas Schwab <schwab@redhat.com>
17911
dbb0472f
AS
17912 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17913 _GNU_SOURCE.
17914
4f197237
AS
17915 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17916 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17917 Remove __restrict.
17918 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17919 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17920
fb88ac72
UD
179212010-12-09 Ulrich Drepper <drepper@gmail.com>
17922
17923 [BZ #11655]
17924 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17925 are initialized.
17926
42acbb92
JJ
179272010-12-09 Jakub Jelinek <jakub@redhat.com>
17928
17929 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17930
c038d98d
UD
179312010-12-03 Ulrich Drepper <drepper@gmail.com>
17932
17933 * po/it.po: Update from translation team.
17934
3a4a2499
L
179352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17938 unused codes.
17939
1e24cf6e
UD
179402010-11-30 Ulrich Drepper <drepper@gmail.com>
17941
17942 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17943
a7690819
AS
179442010-11-24 Andreas Schwab <schwab@redhat.com>
17945
17946 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17947 specially.
17948 (gaih_getanswer_slice): Likewise.
17949
3bf8d1b1
JJ
179502010-10-20 Jakub Jelinek <jakub@redhat.com>
17951
17952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17953
6db52fbb
PB
179542010-05-31 Petr Baudis <pasky@suse.cz>
17955
17956 [BZ #11149]
17957 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17958 silently even in the chroot mode.
17959
eaca7569
UD
179602010-11-22 Ulrich Drepper <drepper@gmail.com>
17961
17962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17963 last patch a bit. Pretty printing
17964
3056dcdb
UD
179652010-05-31 Petr Baudis <pasky@suse.cz>
17966
17967 [BZ #10085]
17968 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17969 initialization of skip_initgroups_dyn.
17970
cf7c9078
UD
179712010-11-19 Ulrich Drepper <drepper@gmail.com>
17972
17973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17975
a1fb5e3e
UD
179762010-11-16 Ulrich Drepper <drepper@gmail.com>
17977
17978 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17979
3540d66b
AS
179802010-11-11 Andreas Schwab <schwab@redhat.com>
17981
17982 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17983 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17984 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17985 ($(objpfx)tst-fnmatch-mem): New rule.
17986 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17987 * posix/tst-fnmatch.c (main): Call mtrace.
17988
13b69574
L
179892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17990
17991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17992 Support Intel processor model 6 and model 0x2c.
17993
da93d214
LM
179942010-11-10 Luis Machado <luisgpm@br.ibm.com>
17995
17996 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17997 signed comparison.
17998
8ca52c6e
L
179992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18000
18001 [BZ #12205]
18002 * string/test-strncasecmp.c (check_result): New function.
18003 (do_one_test): Use it.
18004 (check1): New function.
18005 (test_main): Use it.
18006 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18007 Support strcasecmp and strncasecmp.
18008
69da074d
UD
180092010-11-08 Ulrich Drepper <drepper@gmail.com>
18010
18011 [BZ #12194]
18012 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18014
ff02d528
L
180152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18016
18017 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18018 IFUNC support.
18019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18020 memset-x86-64.
18021 * sysdeps/x86_64/multiarch/bzero.S: New file.
18022 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18023 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18024 * sysdeps/x86_64/multiarch/memset.S: New file.
18025 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18027 Set bit_Prefer_SSE_for_memop for Intel processors.
18028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18029 Define.
18030 (index_Prefer_SSE_for_memop): Define.
18031 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18032
344d0b54
LM
180332010-11-04 Luis Machado <luisgpm@br.ibm.com>
18034
18035 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18037
c0dde15b
UD
180382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18039
18040 [BZ #12191]
18041 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18042 (__x86_64_raw_data_cache_size_half): Likewise.
18043 (__x86_64_raw_shared_cache_size): Likewise.
18044 (__x86_64_raw_shared_cache_size_half): Likewise.
18045
18046 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18047 (__x86_64_raw_data_cache_size_half): Likewise.
18048 (__x86_64_raw_shared_cache_size): Likewise.
18049 (__x86_64_raw_shared_cache_size_half): Likewise.
18050 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18051 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18052 and __x86_64_raw_shared_cache_size_half. Round
18053 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18054 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18055 to multiple of 256 bytes.
18056
0e516e0e
MS
180572010-11-03 Ulrich Drepper <drepper@gmail.com>
18058
18059 [BZ #12167]
18060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18061 of inacessible symlinks. Verify result of symlink before returning it.
18062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18063 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18064
0e012e87
ER
180652010-10-28 Erich Ritz <erichritz@gmail.com>
18066
18067 * math/math.h (isinf): Fix typo in comment.
18068
de0ff7bc
UD
180692010-11-01 Ulrich Drepper <drepper@gmail.com>
18070
18071 * po/da.po: Update from translation team.
18072
fa41c84d
UD
180732010-10-26 Ulrich Drepper <drepper@gmail.com>
18074
18075 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18076 is added to the list.
18077
f0967738
AK
180782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18079 Ulrich Drepper <drepper@gmail.com>
18080
18081 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18082 the global list here. Move code to...
18083 (_dl_add_to_namespace_list): ...here. New function.
18084 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18085 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18086 * elf/dl-load.c (lose): Don't remove the element from the list.
18087 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18088 (_dl_map_object): Likewise.
18089
180902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18091
18092 [BZ #12159]
18093 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18094 into all bytes of SSE register.
18095 Patch by Richard Li <richardpku@gmail.com>.
18096
f0967738 180972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18098
18099 [BZ #12140]
18100 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18101 perturbing.
18102
d0b9e94f
MB
181032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18104
18105 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18106 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18110 submachine.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18112
8e9f92e9
AS
181132010-10-22 Andreas Schwab <schwab@redhat.com>
18114
18115 * include/dlfcn.h (__RTLD_SECURE): Define.
18116 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18117 mode & __RTLD_SECURE instead.
18118 (open_path): Rename preloaded parameter to secure.
18119 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18120 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18121 * elf/dl-deps.c (openaux): Likewise.
18122 * elf/rtld.c (struct map_args): Remove is_preloaded.
18123 (map_doit): Don't use it.
18124 (dl_main): Likewise.
18125 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18126 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18127
bc96fbda
AS
181282010-09-09 Andreas Schwab <schwab@redhat.com>
18129
18130 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18131 (sysd-rules-targets): Remove duplicates.
18132 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18133 rtld-%.$o dependency.
18134
22cd1c9b
AS
181352010-10-18 Andreas Schwab <schwab@redhat.com>
18136
18137 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18138 _dl_map_object do it.
18139
18edac48
UD
181402010-10-19 Ulrich Drepper <drepper@gmail.com>
18141
18142 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18143 fast fma builtins, define the macros in the C99 standard.
18144 (FP_FAST_FMAF): Likewise.
18145 (FP_FAST_FMAL): Likewise.
18146 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18147
18148 * bits/mathdef.h: Update copyright year.
18149 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18150
d2050124
MM
181512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18152
18153 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18154 builtins, define the macros in the C99 standard.
18155 (FP_FAST_FMAF): Likewise.
18156 (FP_FAST_FMAL): Likewise.
18157 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18158 multiply/add.
18159 (FP_FAST_FMAF): Likewise.
18160
475facd1
JJ
181612010-10-15 Jakub Jelinek <jakub@redhat.com>
18162
18163 [BZ #3268]
18164 * math/libm-test.inc (fma_test): Some new testcases.
18165 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18167 y and infinite z. Do multiplication by C already in long double.
18168 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18170 y and infinite z. Do bitwise or of inexact bit into u.d.
18171 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18172 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18173 * sysdeps/i386/fpu/s_fma.S: Removed.
18174 * sysdeps/i386/fpu/s_fmal.S: Removed.
18175
7c08a05c
JJ
181762010-10-16 Jakub Jelinek <jakub@redhat.com>
18177
18178 [BZ #3268]
18179 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18181 computation is not scheduled after fetestexcept. Fix value
18182 of minimum denormal long double.
18183
f3f7372d
JJ
181842010-10-14 Jakub Jelinek <jakub@redhat.com>
18185
18186 [BZ #3268]
18187 * math/libm-test.inc (fma_test): Add some more tests.
18188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18189 correctly.
18190
14d43591
AS
181912010-10-15 Andreas Schwab <schwab@redhat.com>
18192
18193 * scripts/data/localplt-s390-linux-gnu.data: New file.
18194 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18195
5e908464
JJ
181962010-10-13 Jakub Jelinek <jakub@redhat.com>
18197
18198 [BZ #3268]
18199 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18200 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18201 instead of dbl-64.
18202 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18203 inlines.
18204 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18206 if one of x and y is very large and the other is subnormal.
18207 * sysdeps/s390/fpu/s_fmaf.c: New file.
18208 * sysdeps/s390/fpu/s_fma.c: New file.
18209 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18210 * sysdeps/powerpc/fpu/s_fma.S: New file.
18211 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18212 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18213 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18214
182152010-10-12 Jakub Jelinek <jakub@redhat.com>
18216
18217 [BZ #3268]
18218 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18219 fma tests.
18220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18221 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18222 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18223 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18224 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18225 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18227
b833d51f
UD
182282010-10-12 Ulrich Drepper <drepper@redhat.com>
18229
18230 [BZ #12078]
18231 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18232 * posix/bug-regex31.input: Add test case.
18233
1751705d
UD
182342010-10-11 Ulrich Drepper <drepper@gmail.com>
18235
e9b9cbf5
UD
18236 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18237 * posix/bug-regex31.input: New file.
18238
18239 [BZ #12078]
18240 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18241 (parse_sub_exp): Fix last change, use postorder.
18242
ef06edbe
UD
18243 * posix/bug-regex31.c: New file.
18244 * posix/Makefile: Add rules to build and run bug-regex31.
18245
a129c80d
UD
18246 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18247
18248 [BZ #12078]
18249 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18250
b76b818e
UD
18251 [BZ #12108]
18252 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18253 to have entries in sys_siglist.
18254
1751705d
UD
18255 [BZ #12093]
18256 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18257 be NULL.
18258
9ff8d36f
JJ
182592010-10-07 Jakub Jelinek <jakub@redhat.com>
18260
18261 [BZ #3268]
18262 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18263 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18264 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18265 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18266 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18267 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18268 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18269 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18270 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18271 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18272 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18274 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18275 * math/ftestexcept.c (fetestexcept): Likewise.
18276 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18277 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18278 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18279 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18280 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18281 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18283
af325969
UD
182842010-10-11 Ulrich Drepper <drepper@gmail.com>
18285
c579b202 18286 [BZ #12107]
af325969
UD
18287 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18288 newline.
18289
67a67b95
UD
182902010-10-06 Ulrich Drepper <drepper@gmail.com>
18291
18292 * string/bug-strstr1.c: New file.
18293 * string/Makefile: Add rules to build and run bug-strstr1.
18294
5fb308bc
EB
182952010-10-05 Eric Blake <eblake@redhat.com>
18296
18297 [BZ #12092]
18298 * string/str-two-way.h (two_way_long_needle): Always clear memory
18299 when skipping input due to the shift table.
18300
45db99c7
UD
183012010-10-03 Ulrich Drepper <drepper@gmail.com>
18302
3b111893
UD
18303 [BZ #12005]
18304 * malloc/mcheck.c: Handle large requests.
18305
45db99c7
UD
18306 [BZ #12077]
18307 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18308 for strncmp and strncasecmp.
18309 * string/stratcliff.c: Add tests for strcmp and strncmp.
18310 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18311
cf7a1eb8
NI
183122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18313
18314 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18315 __set_fpscr.
18316
6484ba5e
AJ
183172010-09-30 Andreas Jaeger <aj@suse.de>
18318
18319 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18320 (CGROUP_SUPER_MAGIC): Define.
18321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18322 Handle btrfs and cgroup file systems.
18323 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18324 Likewise.
18325
91c42559
LM
183262010-09-27 Luis Machado <luisgpm@br.ibm.com>
18327
18328 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18329 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18330
87a97932
AK
183312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18332
18333 [BZ #12067]
18334 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18335 trying to locate the ELF header.
18336
c21cc9bc
AS
183372010-09-27 Andreas Schwab <schwab@redhat.com>
18338
18339 [BZ #11611]
18340 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18341 Mask out sign-bit copies when constructing f_fsid.
18342
315970f6
PB
183432010-09-24 Petr Baudis <pasky@suse.cz>
18344
18345 * debug/stack_chk_fail_local.c: Add missing licence exception.
18346 * debug/warning-nop.c: Likewise.
18347
1ac7a2c7
JM
183482010-09-15 Joseph Myers <joseph@codesourcery.com>
18349
18350 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18351 implementing getdents64 using getdents syscall, set d_type if
18352 __ASSUME_GETDENTS32_D_TYPE.
18353
56801c50
AS
183542010-09-16 Andreas Schwab <schwab@redhat.com>
18355
18356 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18357 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18358
dda51327
UD
183592010-09-21 Ulrich Drepper <drepper@redhat.com>
18360
18361 [BZ #12037]
18362 * posix/unistd.h: Undo change of feature selection for ftruncate from
18363 2010-01-11.
18364
8ffcee4a
UD
183652010-09-20 Ulrich Drepper <drepper@redhat.com>
18366
a545ecd9 18367 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18368 detection.
18369
e24f0a8b
AS
183702010-09-20 Andreas Schwab <schwab@redhat.com>
18371
18372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18373 fanotify_mark.
18374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18375
7291c56f
AS
183762010-09-14 Andreas Schwab <schwab@redhat.com>
18377
18378 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18379 variables after CHECK_SP call.
18380 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18381
bc5fb037
AS
183822010-09-13 Andreas Schwab <schwab@redhat.com>
18383 Ulrich Drepper <drepper@redhat.com>
18384
18385 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18386 re-relocationg ld.so.
18387 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18388 _dl_init_paths call.
18389 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18390 here anymore.
18391
e66e7419
UD
183922010-09-14 Ulrich Drepper <drepper@redhat.com>
18393
18394 * resolv/res_init.c (__res_vinit): Count the default server we added.
18395
c044aa75
CLT
183962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18397 Ulrich Drepper <drepper@redhat.com>
18398
18399 [BZ #11968]
18400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18401 (____longjmp_chk): Use %ebx for saving value across system call.
18402 Add unwind info.
18403
32cf4069
AS
184042010-09-06 Andreas Schwab <schwab@redhat.com>
18405
18406 * manual/Makefile: Don't mix pattern rules with normal rules.
18407
817328ee
AS
184082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18409
18410 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18411 operation.
18412 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18413 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18414 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18415 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18417 Likewise.
18418
29fddf61
UD
184192010-09-04 Ulrich Drepper <drepper@redhat.com>
18420
18421 [BZ #11979]
18422 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18423 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18424
0959ffc9
UD
184252010-09-02 Ulrich Drepper <drepper@redhat.com>
18426
18427 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18428 * sysdeps/x86_64/addmul_1.S: Likewise.
18429 * sysdeps/x86_64/lshift.S: Likewise.
18430 * sysdeps/x86_64/mul_1.S: Likewise.
18431 * sysdeps/x86_64/rshift.S: Likewise.
18432 * sysdeps/x86_64/sub_n.S: Likewise.
18433 * sysdeps/x86_64/submul_1.S: Likewise.
18434
ece29840
ST
184352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18436
0959ffc9
UD
18437 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18438 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18439 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18440 * bits/sched.h [__need_schedparam]
ece29840 18441 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18442 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18443 (__defined_schedparam): Define to 1.
ece29840
ST
18444 (__sched_param): New structure, identical to sched_param.
18445 (__need_schedparam): Undefine.
18446
e53a31fe
MF
184472010-08-31 Mike Frysinger <vapier@gentoo.org>
18448
fdc0c10d
MF
18449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18450 (epoll_create1): Declare.
18451
e53a31fe
MF
18452 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18453
a726d796
AS
184542010-08-31 Andreas Schwab <schwab@redhat.com>
18455
18456 [BZ #7066]
18457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18458 shifting retval into place.
18459
2f3e3dc7
UD
184602010-09-01 Ulrich Drepper <drepper@redhat.com>
18461
f2933da9
UD
18462 * nis/rpcsvc/nis.h: Update copyright notice.
18463 * nis/rpcsvc/nis.x: Likewise.
18464 * nis/rpcsvc/nis_callback.h: Likewise.
18465 * nis/rpcsvc/nis_callback.x: Likewise.
18466 * nis/rpcsvc/nis_object.x: Likewise.
18467 * nis/rpcsvc/nis_tags.h: Likewise.
18468 * nis/rpcsvc/yp.h: Likewise.
18469 * nis/rpcsvc/yp.x: Likewise.
18470 * nis/rpcsvc/ypupd.h: Likewise.
18471 * nis/yp_xdr.c: Likewise.
18472 * nis/ypupdate_xdr.c: Likewise.
18473
2f3e3dc7
UD
18474 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18475 mainly the body of pmap_getport. Add parameters to specify timeouts.
18476 (pmap_getport): Use __libc_rpc_getport.
18477 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18478 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18479 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18480
f3dcc2f9
AS
184812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18482
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18484 fanotify_mark.
18485
6d34eb5b
RM
184862010-08-27 Roland McGrath <roland@redhat.com>
18487
18488 * sysdeps/i386/i686/multiarch/Makefile
18489 (CFLAGS-varshift.c): New variable.
18490
9ea3de11
UD
184912010-08-27 Ulrich Drepper <drepper@redhat.com>
18492
c96d23fc
UD
18493 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18494 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18495
9ea3de11
UD
18496 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18497
18498 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18499
623aac7f
L
185002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18501
18502 * sysdeps/x86_64/strlen.S: Unroll the loop.
18503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18504 strlen-sse2 strlen-sse2-bsf.
18505 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18506 __strlen_no_bsf if bit_Slow_BSF is set.
18507 (__strlen_sse42): Removed.
18508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18509 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18510
8b2b7715
RM
185112010-08-25 Roland McGrath <roland@redhat.com>
18512
18513 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18514 * sysdeps/x86_64/multiarch/varshift.c: New file.
18515 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18516 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18517 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18518 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18519
e73015f2
L
185202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18521
18522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18523 strlen-sse2 strlen-sse2-bsf.
18524 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18525 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18526 (__strlen_sse2): Removed.
18527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18530 bit_Slow_BSF for Atom.
18531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18532 (index_Slow_BSF): Define.
18533 (HAS_SLOW_BSF): Define.
18534
df24a73e
UD
185352010-08-25 Ulrich Drepper <drepper@redhat.com>
18536
18537 [BZ #10851]
18538 * resolv/res_init.c (__res_vinit): When no server address at all
18539 is given default to loopback.
18540
f2ac4868
RM
185412010-08-24 Roland McGrath <roland@redhat.com>
18542
09055553
RM
18543 * configure.in: Remove config-name.h generation.
18544 * configure: Regenerated.
18545 * config-name.in: File removed.
18546 * scripts/config-uname.sh: New file.
18547 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18548 ($(objdir)config-name.h): New target.
18549
f2ac4868
RM
18550 * sunrpc/rpc_parse.h: Avoid nested comment.
18551
73f27d5e
RH
185522010-08-24 Richard Henderson <rth@redhat.com>
18553 Ulrich Drepper <drepper@redhat.com>
18554 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18558 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18559 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18560 _mm_alignr_epi8 with _mm_loadu_si128.
18561 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18562 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18563 (__m128i_shift_right): Removed.
18564 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18565 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18566 * sysdeps/x86_64/multiarch/varshift.h: New file.
18567 * sysdeps/x86_64/multiarch/varshift.S: New file.
18568
84b9230c
MF
185692010-08-21 Mike Frysinger <vapier@gentoo.org>
18570
18571 * configure.in: Move assembler checks to before sysdep dir checking.
18572
9bbd0ddc
PB
185732010-08-20 Petr Baudis <pasky@suse.cz>
18574
18575 * LICENSES: Sync the sunrpc license.
18576
9da4bb31
UD
185772010-08-19 Ulrich Drepper <drepper@redhat.com>
18578
a7ab6ec8
UD
18579 * sunrpc/auth_des.c: Update copyright notice once again.
18580 * sunrpc/auth_none.c: Likewise.
18581 * sunrpc/auth_unix.c: Likewise.
18582 * sunrpc/authdes_prot.c: Likewise.
18583 * sunrpc/authuxprot.c: Likewise.
18584 * sunrpc/bindrsvprt.c: Likewise.
18585 * sunrpc/clnt_gen.c: Likewise.
18586 * sunrpc/clnt_perr.c: Likewise.
18587 * sunrpc/clnt_raw.c: Likewise.
18588 * sunrpc/clnt_simp.c: Likewise.
18589 * sunrpc/clnt_tcp.c: Likewise.
18590 * sunrpc/clnt_udp.c: Likewise.
18591 * sunrpc/clnt_unix.c: Likewise.
18592 * sunrpc/des_crypt.c: Likewise.
18593 * sunrpc/des_soft.c: Likewise.
18594 * sunrpc/get_myaddr.c: Likewise.
18595 * sunrpc/getrpcport.c: Likewise.
18596 * sunrpc/key_call.c: Likewise.
18597 * sunrpc/key_prot.c: Likewise.
18598 * sunrpc/openchild.c: Likewise.
18599 * sunrpc/pm_getmaps.c: Likewise.
18600 * sunrpc/pm_getport.c: Likewise.
18601 * sunrpc/pmap_clnt.c: Likewise.
18602 * sunrpc/pmap_prot.c: Likewise.
18603 * sunrpc/pmap_prot2.c: Likewise.
18604 * sunrpc/pmap_rmt.c: Likewise.
18605 * sunrpc/rpc/auth.h: Likewise.
18606 * sunrpc/rpc/auth_unix.h: Likewise.
18607 * sunrpc/rpc/clnt.h: Likewise.
18608 * sunrpc/rpc/des_crypt.h: Likewise.
18609 * sunrpc/rpc/key_prot.h: Likewise.
18610 * sunrpc/rpc/netdb.h: Likewise.
18611 * sunrpc/rpc/pmap_clnt.h: Likewise.
18612 * sunrpc/rpc/pmap_prot.h: Likewise.
18613 * sunrpc/rpc/pmap_rmt.h: Likewise.
18614 * sunrpc/rpc/rpc.h: Likewise.
18615 * sunrpc/rpc/rpc_des.h: Likewise.
18616 * sunrpc/rpc/rpc_msg.h: Likewise.
18617 * sunrpc/rpc/svc.h: Likewise.
18618 * sunrpc/rpc/svc_auth.h: Likewise.
18619 * sunrpc/rpc/types.h: Likewise.
18620 * sunrpc/rpc/xdr.h: Likewise.
18621 * sunrpc/rpc_clntout.c: Likewise.
18622 * sunrpc/rpc_cmsg.c: Likewise.
18623 * sunrpc/rpc_common.c: Likewise.
18624 * sunrpc/rpc_cout.c: Likewise.
18625 * sunrpc/rpc_dtable.c: Likewise.
18626 * sunrpc/rpc_hout.c: Likewise.
18627 * sunrpc/rpc_main.c: Likewise.
18628 * sunrpc/rpc_parse.c: Likewise.
18629 * sunrpc/rpc_parse.h: Likewise.
18630 * sunrpc/rpc_prot.c: Likewise.
18631 * sunrpc/rpc_sample.c: Likewise.
18632 * sunrpc/rpc_scan.c: Likewise.
18633 * sunrpc/rpc_scan.h: Likewise.
18634 * sunrpc/rpc_svcout.c: Likewise.
18635 * sunrpc/rpc_tblout.c: Likewise.
18636 * sunrpc/rpc_util.c: Likewise.
18637 * sunrpc/rpc_util.h: Likewise.
18638 * sunrpc/rpcinfo.c: Likewise.
18639 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18640 * sunrpc/rpcsvc/key_prot.x: Likewise.
18641 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18642 * sunrpc/rpcsvc/mount.x: Likewise.
18643 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18644 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18645 * sunrpc/rpcsvc/rex.x: Likewise.
18646 * sunrpc/rpcsvc/rstat.x: Likewise.
18647 * sunrpc/rpcsvc/rusers.x: Likewise.
18648 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18649 * sunrpc/rpcsvc/spray.x: Likewise.
18650 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18651 * sunrpc/rtime.c: Likewise.
18652 * sunrpc/svc.c: Likewise.
18653 * sunrpc/svc_auth.c: Likewise.
18654 * sunrpc/svc_authux.c: Likewise.
18655 * sunrpc/svc_raw.c: Likewise.
18656 * sunrpc/svc_run.c: Likewise.
18657 * sunrpc/svc_simple.c: Likewise.
18658 * sunrpc/svc_tcp.c: Likewise.
18659 * sunrpc/svc_udp.c: Likewise.
18660 * sunrpc/svc_unix.c: Likewise.
18661 * sunrpc/svcauth_des.c: Likewise.
18662 * sunrpc/xcrypt.c: Likewise.
18663 * sunrpc/xdr.c: Likewise.
18664 * sunrpc/xdr_array.c: Likewise.
18665 * sunrpc/xdr_float.c: Likewise.
18666 * sunrpc/xdr_mem.c: Likewise.
18667 * sunrpc/xdr_rec.c: Likewise.
18668 * sunrpc/xdr_ref.c: Likewise.
18669 * sunrpc/xdr_sizeof.c: Likewise.
18670 * sunrpc/xdr_stdio.c: Likewise.
18671
9da4bb31
UD
18672 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18673 handling.
18674
bdaa77bc
AS
186752010-08-19 Andreas Schwab <schwab@redhat.com>
18676
18677 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18678
fe2f79db
LM
186792010-08-19 Luis Machado <luisgpm@br.ibm.com>
18680
18681 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18682 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18683 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18684 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18685 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18686 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18688 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18690 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18691 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18693 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18694 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18695
b9b42ee0
AB
186962010-07-26 Anton Blanchard <anton@samba.org>
18697
18698 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18699 * malloc/arena.c (heap_trim): Likewise.
18700
1c06ba31
UD
187012010-08-16 Ulrich Drepper <drepper@redhat.com>
18702
18703 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18704 here. Not...
18705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18706 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18707
f8392f40
L
187082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * sysdeps/i386/elf/Makefile: New file.
18711
3162f12e
AS
187122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18713
18714 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18715 from fanotify_init.
18716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18718
28c90b2c
UD
187192010-08-15 Ulrich Drepper <drepper@redhat.com>
18720
18721 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18722 of strncasecmp_l.
1feccb6c 18723 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18724
ca6bb004
UD
187252010-08-14 Ulrich Drepper <drepper@redhat.com>
18726
e9f82e0d
UD
18727 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18728 strncase_l-nonascii.
18729 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18730 Add strncase_l-ssse3.
18731 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18732 * sysdeps/x86_64/strcmp.S: Likewise.
18733 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18734 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18735 * sysdeps/x86_64/strncase.S: New file.
18736 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18737 * sysdeps/x86_64/strncase_l.S: New file.
18738 * string/Makefile (strop-tests): Add strncasecmp.
18739 * string/test-strncasecmp.c: New file.
18740
18741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18742 warning.
18743
ca6bb004
UD
18744 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18745 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18746
052fa7b3
AS
187472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18748
18749 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18750
962dba78
UD
187512010-08-12 Ulrich Drepper <drepper@redhat.com>
18752
18753 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18754 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18756
bebff237
AM
187572010-05-01 Alan Modra <amodra@gmail.com>
18758
18759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18760 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18761 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18762 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18763 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18764 tidying. Don't tail-call __sigjmp_save for static lib.
18765 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18766 save location.
18767 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18768 (CALL_MCOUNT): Add eh info, and nop after bl.
18769 (TAIL_CALL_SYSCALL_ERROR): New macro.
18770 (PSEUDO_RET): Use it.
18771 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18772 Correct save location of integer regs and cr.
18773 (_dl_profile_resolve): Correct cr save location. Delete nops
18774 after bl when SHARED. Reduce cfi size a little by better
18775 placement of cfi directives.
18776 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18777 make a stack frame. Instead use parm save area as a temp.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18779 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18781 Don't make a stack frame for parent, use parm save area.
18782 Increase child stack frame to 112 bytes. Don't save unused reg,
18783 and adjust reg usage. Set up cfi on error recovery and
18784 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18786 (__makecontext): Add dummy nop after jump to exit.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18788 Use correct parm save area and cr save, reduce stack frame.
18789 Correct cfi for possible PSEUDO_RET frame setup.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18791 Branch to local label emitted by PSEUDO_RET rather than
18792 __syscall_error.
18793
02637374
AS
187942010-08-12 Andreas Schwab <schwab@redhat.com>
18795
18796 [BZ #11904]
18797 * locale/programs/locale.c (print_assignment): New function.
18798 (show_locale_vars): Use it.
18799
c3e2f19b
UD
188002010-08-11 Ulrich Drepper <drepper@redhat.com>
18801
3cdaa6ad
UD
18802 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18803 field.
18804 (struct statfs64): Likewise.
18805 (_STATFS_F_FLAGS): Define.
18806 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18808 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18809 (ST_VALID): Define locally.
18810 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18811 __statvfs_getflags, use the provided value.
18812 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18813 __ASSUME_STATFS_F_FLAGS.
18814
754f7da3
UD
18815 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18816
10b3bedc
UD
18817 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18818 Add sys/fanotify.h.
18819 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18820 fanotify_mask for GLIBC_2.13.
18821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18822 fanotify_init and fanotify_mark.
18823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18824 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18825
c08fb0d7
UD
18826 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18827 Add prlimit.
18828 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18829 prlimit64 for GLIBC_2.13.
18830 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18831 prlimit64.
18832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18833 syscall.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18836 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18838 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18839 add prlimit alias.
18840 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18841
15bac72b
UD
18842 [BZ #11903]
18843 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18844 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18845
c3e2f19b
UD
18846 * nss/Makefile: Add rules to build and run tst-nss-test1.
18847 * shlib-versions: Add entry for libnss_test1.
18848 * nss/nss_test1.c: New file.
18849 * nss/tst-nss-test1.c: New file.
18850
18851 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18852 (__nss_configure_lookup): Set appropriate entry in
18853 __nss_configure_lookup to true.
18854 * nss/nsswitch.h: Define enum with indeces of databases in
18855 databases and __nss_database_custom arrays. Declare
18856 __nss_database_custom.
18857 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18858 to avoid using nscd when custom rules are installed.
18859 * nss/getXXbyYY_r.c: Likewise.
18860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18861
18862 * nss/nss_files/files-parse.c: Whitespace fixes.
18863
f15ce4d8
UD
188642010-08-09 Ulrich Drepper <drepper@redhat.com>
18865
18866 [BZ #11883]
18867 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18868 * posix/fnmatch_loop.c: Likewise.
18869
d22e4cc9
AK
188702010-07-17 Andi Kleen <ak@linux.intel.com>
18871
18872 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18873 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18874 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18875 * Versions.def [GLIBC_2.13]: Add.
18876
805bc17d
UD
188772010-08-06 Ulrich Drepper <drepper@redhat.com>
18878
18879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18880 Also fail if tpwd after pwuid call is NULL.
18881
5a42321d
ST
188822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18883
18884 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18885 when converting to ms.
18886
fd3ebeda
ST
188872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18888
18889 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18890 EOPNOTSUPP errors with ENOTTY.
18891 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18892 EOPNOTSUPP errors with ENOTTY.
18893
73507d3a
UD
188942010-07-31 Ulrich Drepper <drepper@redhat.com>
18895
18896 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18897 Add strcasecmp_l-ssse3.
18898 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18899 strcasecmp.
18900 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18901 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18902 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18903
fe36dd02
UD
189042010-07-30 Ulrich Drepper <drepper@redhat.com>
18905
66f6765a
UD
18906 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18907
42e08a54
UD
18908 * string/Makefile (strop-tests): Add strcasecmp.
18909 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18910 strcasecmp_l-nonascii.
18911 (gen-as-const-headers): Add locale-defines.sym.
18912 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18913 * sysdeps/x86_64/strcasecmp.S: New file.
18914 * sysdeps/x86_64/strcasecmp_l.S: New file.
18915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18916 * sysdeps/x86_64/locale-defines.sym: New file.
18917 * string/test-strcasecmp.c: New file.
18918
fe36dd02
UD
18919 * string/test-strcasestr.c: Test both ends of the range of characters.
18920 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18921
48cbc0d6
RM
189222010-07-29 Roland McGrath <roland@redhat.com>
18923
76e6d6bc 18924 [BZ #11856]
48cbc0d6
RM
18925 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18926
880113d9
UD
189272010-07-27 Ulrich Drepper <drepper@redhat.com>
18928
18929 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18930 for ld.so.
18931
deb9cabb
AS
189322010-07-27 Andreas Schwab <schwab@redhat.com>
18933
18934 * manual/memory.texi (Malloc Tunable Parameters): Document
18935 M_PERTURB.
18936
1c7570ff
RM
189372010-07-26 Roland McGrath <roland@redhat.com>
18938
18939 [BZ #11840]
18940 * configure.in (-fgnu89-inline check): Set and substitute
18941 gnu89_inline, not libc_cv_gnu89_inline.
18942 * configure: Regenerated.
18943 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18944
24fb0f88
UD
189452010-07-26 Ulrich Drepper <drepper@redhat.com>
18946
18947 * string/test-strnlen.c: New file.
18948 * string/Makefile (strop-tests): Add strnlen.
18949 * string/tester.c (test_strnlen): Add a few more test cases.
18950 * string/tst-strlen.c: Better error reporting.
18951
18952 * sysdeps/x86_64/strnlen.S: New file.
18953
8e96b93a
UD
189542010-07-24 Ulrich Drepper <drepper@redhat.com>
18955
18956 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18957 lower-latency instructions.
18958
dbc676d4
UD
189592010-07-23 Ulrich Drepper <drepper@redhat.com>
18960
18961 * string/test-strcasestr.c: New file.
18962 * string/test-strstr.c: New file.
18963 * string/Makefile (strop-tests): Add strstr and strcasestr.
18964 * string/str-two-way.h: Don't undefine MAX.
18965 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18966
f6a31e0e
AS
189672010-07-21 Andreas Schwab <schwab@redhat.com>
18968
18969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18970 strcasestr-nonascii.
18971 (CFLAGS-strcasestr-nonascii.c): Define.
18972 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18974 Remove unused attribute.
18975
5dbc3b6c
RM
189762010-07-20 Roland McGrath <roland@redhat.com>
18977
18978 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18979 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18980 ld.so.cache was broken. With it, there is no way to disable dsocaps
18981 like LD_HWCAP_MASK can disable hwcaps.
18982
23d101d8
EPM
189832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18984
18985 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18986
cc9f2e47
UD
189872010-07-16 Ulrich Drepper <drepper@redhat.com>
18988
18989 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18990 call in strcasestr.
18991 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18992 __strcasestr_sse42_nonascii.
18993 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18994 strcasestr-nonascii.c.
18995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18996
77c1b069
LM
189972010-06-15 Luis Machado <luisgpm@br.ibm.com>
18998
18999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19002 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19003
440566c3
UD
190042010-07-09 Ulrich Drepper <drepper@redhat.com>
19005
19006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19007 fcntl.
19008
5be9d05d
AS
190092010-07-06 Andreas Schwab <schwab@redhat.com>
19010
c30b7ee2 19011 [BZ #11577]
5be9d05d
AS
19012 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19013 dl_signal_cerror.
19014
8a492a67
UD
190152010-07-06 Ulrich Drepper <drepper@redhat.com>
19016
19017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19018 _PC_PIPE_BUF using F_GETPIPE_SZ.
19019
713df3d5
RM
190202010-07-05 Roland McGrath <roland@redhat.com>
19021
19022 * manual/arith.texi (Rounding Functions): Fix rint description
19023 implicit in round description.
19024
702e8f14
UD
190252010-07-02 Ulrich Drepper <drepper@redhat.com>
19026
19027 * elf/Makefile: Fix linking for a few tests to make recent linker
19028 happy.
19029
52ed8be9
AS
190302010-06-30 Andreas Schwab <schwab@redhat.com>
19031
19032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19033 $(common-objpfx)libc_nonshared.a.
19034
f47c9a11
LM
190352010-06-21 Luis Machado <luisgpm@br.ibm.com>
19036
19037 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19038 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19039 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19040 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19041 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19042 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19043 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19044 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19059 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19060 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19061 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19062 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19063 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19064 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19065 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19066 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19067 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19068 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19069 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19070 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19085
6fb8cbcb
L
190862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19089 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19090 * string/memmove.c (memmove): Renamed to ...
19091 (MEMMOVE): ...this. Default to memmove.
19092 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19093 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19094 (END_CHK): Define.
19095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19096 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19097 mempcpy-ssse3-back memmove-ssse3-back.
19098 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19101 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19102 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19103 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19104 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19105 * sysdeps/x86_64/multiarch/memmove.c: New file.
19106 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19107 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19108 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19109 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19110 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19112 Define.
19113 (index_Fast_Copy_Backward): Define.
19114 (HAS_ARCH_FEATURE): Define.
19115 (HAS_FAST_REP_STRING): Define.
19116 (HAS_FAST_COPY_BACKWARD): Define.
19117
4e733bac 191182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19119
19120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19121 Restore proper fallback handling.
19122
63c4ed22
UD
191232010-06-19 Ulrich Drepper <drepper@redhat.com>
19124
ac2b484c
UD
19125 [BZ #11701]
19126 * posix/group_member.c (__group_member): Correct checking loop.
19127
63c4ed22
UD
19128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19129 OOM in getpwuid_r correctly. Return error number when the caller
19130 should return, otherwise -1.
19131 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19132 call returning > 0 value.
19133 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19134
765ade4b
AS
191352010-06-07 Andreas Schwab <schwab@redhat.com>
19136
19137 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19138 libc_nonshared.a from targets in modules-names.
19139
80da2e09
KS
191402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19141
19142 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19143 requires it.
19144
158db122
LM
191452010-06-10 Luis Machado <luisgpm@br.ibm.com>
19146
19147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19151
caa78cf8
AS
191522010-06-02 Andreas Schwab <schwab@redhat.com>
19153
19154 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19155
b2ef2c01
UD
191562010-06-14 Ulrich Drepper <drepper@redhat.com>
19157
19158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19159 and F_GETPIPE_SZ.
19160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19166
fbd643b6
RM
191672010-06-14 Roland McGrath <roland@redhat.com>
19168
19169 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19170
f32f2869
JJ
191712010-06-07 Jakub Jelinek <jakub@redhat.com>
19172
19173 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19174 __REDIRECT followed by __THROW.
19175 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19176 * posix/getopt.h (getopt): Likewise.
19177
2a50c078
EPM
191782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19179
19180 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19181 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19182 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19183 in AT_FLAGS.
19184 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19185 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19186
eb5ad2eb
LM
191872010-05-28 Luis Machado <luisgpm@br.ibm.com>
19188
19189 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19190
3c88fe1e
L
191912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 [BZ #11640]
19194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19195 Properly check family and model.
19196
d2f73151
TY
191972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19198
19199 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19200
ebd2e13d
LM
192012010-05-24 Luis Machado <luisgpm@br.ibm.com>
19202
19203 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19204
b32b8b45
UD
192052010-05-21 Ulrich Drepper <drepper@redhat.com>
19206
19207 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19208 symbol reference.
19209
9acbe24d
AS
192102010-05-19 Andreas Schwab <schwab@redhat.com>
19211
19212 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19213 symbol reference.
19214
f0ccf6ea
AS
192152010-05-21 Andreas Schwab <schwab@redhat.com>
19216
3d04ff3a
AS
19217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19218 and internal_recvmmsg.
19219 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19220 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19221 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19222 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19223
f0ccf6ea
AS
19224 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19225 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19226 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19227
5b08ac57
AS
192282010-05-20 Andreas Schwab <schwab@redhat.com>
19229
19230 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19231
4828935d
LM
192322010-05-17 Luis Machado <luisgpm@br.ibm.com>
19233
19234 POWER7 optimizations.
19235 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19236 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19237
373d545e
UD
192382010-05-19 Ulrich Drepper <drepper@redhat.com>
19239
19240 * version.h: Update for 2.13 development version.
19241
21a2b1ae
AS
192422010-05-12 Andrew Stubbs <ams@codesourcery.com>
19243
19244 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19245 exceptions. Return 0.
19246
3f7dcb2b
RM
192472010-05-07 Roland McGrath <roland@redhat.com>
19248
19249 * elf/ldconfig.c (main): Add a const.
19250
5f24d53a 192512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19252
a160f8d8
UD
19253 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19254 (args_options): Add no-idn option.
19255 (ahosts_keys_int): Add idn_flags to ai_flags.
19256 (parse_option): Handle 'i' option to clear idn_flags.
19257
5f24d53a
UD
19258 * malloc/malloc.c (_int_free): Possible race in the most recently
19259 added check. Only act on the data if no current modification
19260 happened.
265bb1ce
UD
19261
19262See ChangeLog.17 for earlier changes.