]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
configure.in <sysdeps resolving>: Correct printing Implies_before.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
57633811
TS
12012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2
3 * configure.in <sysdeps resolving>: Correct printing
4 Implies_before.
5 * configure: Regenerate.
6
c23c33b0
TS
72012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8
9 * math/w_ilogb.c: Include <limits.h>.
10 * math/w_ilogbl.c: Likewise.
11
b5982523
JM
122012-07-20 Joseph Myers <joseph@codesourcery.com>
13
14 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15 va_copy. Document allowing for unavailable va_copy only as
16 pre-C99 compatibility.
17 * manual/string.texi (Copying and Concatenation): Use va_copy
18 instead of __va_copy in concat example.
19
ac4ea442
PT
202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21
22 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23 (__sendto): Use create_address_port. Initialize APORT and deallocate
24 it if not null.
25
f98eafbd
PT
26 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27 with O_NOLINK passed to __file_name_lookup.
28
898c7aab
PT
29 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30 with O_NOLINK passed to __file_name_lookup.
31
0ced335a
PT
32 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33 negative N or less than NGIDS.
34
b3404dbd
PT
35 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36 type to string_t. Set ERANGE as errno and return it if NAME is not big
37 enough. Use memcpy instead of strncpy.
38
0f48659e
JM
392012-07-20 Joseph Myers <joseph@codesourcery.com>
40
41 * elf/Makefile (check-data): Remove.
42 (localplt.data): New vpath directive.
43 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44 instead of $(check-data).
45 * scripts/data/localplt-generic.data: Move to ...
46 * sysdeps/generic/localplt.data: ... here.
47 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
50 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51 ... here.
52 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54 ... here.
55 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57 ... here.
58 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60 ... here.
61 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63 ... here.
64 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66 ... here.
67
d37cbdaa
AZ
682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69
70 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71 PPC32 and PPC64 files.
72 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
74
46f85fc2
AK
752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76
77 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78 __makecontext_ret to ...
79 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
80 ... here and call exit if uc_link is NULL. New file.
81 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
82 __makecontext_ret.S.
83 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
84 __makecontext_ret to ...
85 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
86 ... here and call exit if uc_link is NULL. New file.
87 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
88 __makecontext_ret.S.
89
08f43f9b
AK
902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91
92 * elf/elf.h (R_390_IRELATIVE): New definition.
93 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
94 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
95 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
96 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
97 (elf_machine_lazy_rel): Likewise.
98 * sysdeps/s390/dl-irel.h: New file.
99 * sysdeps/s390/s390-64/memcpy.S: New asm code.
100 * sysdeps/s390/s390-64/memset.S: New asm code.
101 * sysdeps/s390/s390-64/memcmp.S: New asm code.
102 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
103 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
104 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
105 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
106 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
107 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
108 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
109 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
110 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
111 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
112 * sysdeps/s390/s390-32/memcpy.S: New asm code.
113 * sysdeps/s390/s390-32/memset.S: New asm code.
114 * sysdeps/s390/s390-32/memcmp.S: New asm code.
115
3b05db33
MP
1162012-07-17 Marek Polacek <polacek@redhat.com>
117
118 [BZ #14349]
119 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
120 * sysdeps/s390/s390-64/configure.in: Likewise.
121 * sysdeps/sparc/configure.in: Likewise.
122 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
123 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
124 * sysdeps/i386/configure.in: Likewise.
125 * sysdeps/x86_64/configure.in: Likewise.
126 * sysdeps/sh/configure.in: Likewise.
127 * sysdeps/s390/s390-32/configure: Regenerated.
128 * sysdeps/s390/s390-64/configure: Likewise.
129 * sysdeps/x86_64/configure: Likewise.
130 * sysdeps/sh/configure: Likewise.
131 * sysdeps/powerpc/powerpc64/configure: Likewise.
132 * sysdeps/powerpc/powerpc32/configure: Likewise.
133 * sysdeps/sparc/configure: Likwise.
134 * sysdeps/i386/configure: Likewise.
135
a66877c6
MP
136 * elf/dl-open.c: Comment fixes.
137
cfc82fd8
JM
1382012-07-17 Joseph Myers <joseph@codesourcery.com>
139
bd29910a
JM
140 * Makefile [CXX] (check-data): Remove.
141 [CXX] (c++-types.data): New vpath directive.
142 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
143 vpath. Do not allow for C++ type data being missing.
144 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
145 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
146 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
147 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
148 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
149 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
150 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
152 ... here.
153 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
155 ... here.
156 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
158 ... here.
159 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
161 ... here.
162 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
164 ... here.
165 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
167 ... here.
168 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
170 ... here.
171 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
173
cfc82fd8
JM
174 * elf/tls-macros.h (TLS_LE): Move architecture-specific
175 definitions to architecture-specific files.
176 (TLS_IE): Likewise.
177 (TLS_LD): Likewise.
178 (TLS_GD): Likewise.
179 * sysdeps/i386/tls-macros.h: New file.
180 * sysdeps/powerpc/tls-macros.h: Likewise.
181 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
182 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
183 * sysdeps/sh/tls-macros.h: Likewise.
184 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
185 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
186 * sysdeps/x86_64/tls-macros.h: Likewise.
187
f7db3170
TS
1882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
189
07cbfc23
TS
190 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
191 zero value for regular exit case.
192
f7db3170
TS
193 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
194 (__start_context): Preserve zero value for regular exit case.
195
dc97c227
TS
1962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
197 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
198
199 * manual/setjmp.texi (setcontext): Clarify normal process
200 termination when uc_link is the null pointer.
201 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
202 exit call.
203
d0cd7d02
AS
2042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
205
206 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
207 preprocessor. Test for each exception mask separately.
208
dd318934
AJ
2092012-07-16 Andreas Jaeger <aj@suse.de>
210
211 * po/ru.po: Update from translation team.
212
8048311a
JM
2132012-07-15 Joseph Myers <joseph@codesourcery.com>
214
215 * conform/data/string.h-data (NULL): Use macro-constant. Require
216 equal to 0.
217 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
218 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
219 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
220 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
222
b637d46e
AJ
2232012-07-13 Andreas Jaeger <aj@suse.de>
224
225 * po/fr.po: Update from translation team.
226
541428fe
MP
2272012-07-12 Marek Polacek <polacek@redhat.com>
228
229 [BZ #14173]
230 * math/libm-test.inc (yn_test): Add test for BZ #14173.
231 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
232 loop condition.
233
ec332e94
JM
2342012-07-12 Joseph Myers <joseph@codesourcery.com>
235
236 [BZ #13717]
237 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
238 Change to 2.4.1 where previously 2.4.0.
239 * sysdeps/unix/sysv/linux/configure: Regenerated.
240 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
241 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
242 version.
243 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
244 (__ASSUME_AT_CLKTCK): Remove.
245 (__ASSUME_AT_PAGESIZE): Likewise.
246 (__ASSUME_AT_XID): Likewise.
247 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
248 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
249 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
250 unconditionally.
251 (HAVE_AUX_PAGESIZE): Likewise.
252 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
253 [__ASSUME_AT_CLKTCK]: Make code unconditional.
254 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
255
7b6e99be
JB
2562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
257
258 [BZ #14307]
259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
260 the temporary buffer used to invoke __gethostbyname2_r,
261 __gethostbyaddr_r and gethostbyname4_r to make room for struct
262 host_data / struct gaih_addrtuple.
263 * resolv/nss_dns/dns-host.c (global scope): Move definition of
264 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
265 header file nss/nsswitch.h.
266 * nss/nsswitch.h (global scope): Add definition of implementation
267 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
268 resolv/nss_dns/dns-host.c).
269
608404eb
AJ
2702012-07-11 Andreas Jaeger <aj@suse.de>
271
272 * po/fr.po: Update from translation team.
273
71220aca
AJ
274 * po/sv.po: Update from translation team
275 * po/fr.po: Another update from translation team.
276
28cfe843
AZ
2772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
278
279 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
280 for subnormals or multiply small sinh result by itself.
281 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
283
6b90f981
DM
2842012-07-11 David S. Miller <davem@davemloft.net>
285
286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
287
c6825772
AS
2882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
289
290 [BZ #14347]
291 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
292 (INTERNAL_MARK): Shift it here.
293
7b8e0d49
MP
2942012-07-10 Marek Polacek <polacek@redhat.com>
295
296 [BZ #14151]
297 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
298 libc_cv_asm_global_directive with .globl.
299 * configure: Regenerated.
300 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
301 with .globl.
302 * sysdeps/i386/configure: Regenerated.
303 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
304 with .globl.
305 * sysdeps/x86_64/configure: Regenerated.
306 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
307 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
308 * elf/tst-unique2mod2.c: Likewise.
309 * elf/tst-unique2mod1.c: Likewise.
310 * elf/tst-unique1mod2.c: Likewise.
311 * elf/tst-unique1mod1.c: Likewise.
312 * sysdeps/s390/s390-32/sysdep.h: Likewise.
313 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
315 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
316 * sysdeps/mach/sysdep.h: Likewise.
317 * sysdeps/i386/sysdep.h: Likewise.
318 * sysdeps/i386/i386-mcount.S: Likewise.
319 * sysdeps/x86_64/_mcount.S: Likewise.
320 * sysdeps/x86_64/sysdep.h: Likewise.
321 * sysdeps/sh/_mcount.S: Likewise.
322 * sysdeps/sh/sysdep.h: Likewise.
323 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
324 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
325 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
326 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
327 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
328 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
329 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
330 * locale/localeinfo.h: Likewise.
331 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
332 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
333
6c55cda3
RM
3342012-07-09 Roland McGrath <roland@hack.frob.com>
335
336 [BZ #14336]
337 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
338 system".
339 * manual/message.texi (The Uniforum approach): Likewise.
340 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
341 (glibc iconv Implementation): Likewise.
342
638a572e
JM
3432012-07-09 Joseph Myers <joseph@codesourcery.com>
344
345 [BZ #14337]
346 * math/s_clog.c (__clog): Avoid scaling a value down where that
347 could result in underflow.
348 * math/s_clog10.c (__clog10): Likewise.
349 * math/s_clog10f.c (__clog10f): Likewise.
350 * math/s_clog10l.c (__clog10l): Likewise.
351 * math/s_clogf.c (__clogf): Likewise.
352 * math/s_clogl.c (__clogl): Likewise.
353 * math/libm-test.inc (clog_test): Add more tests.
354 (clog10_test): Likewise.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
261f4859
AS
3582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
359
0abaf3e4
AS
360 [BZ #14283]
361 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
362 by 7 not 8 to examine high bit of fractional part.
363
261f4859
AS
364 [BZ #14042]
365 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
366 for call to __mcount_internal.
367 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
368 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
369 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
370
f17ac40d
JM
3712012-07-06 Joseph Myers <joseph@codesourcery.com>
372
9ad63c23
JM
373 [BZ #14154]
374 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
375 approximation for values within 0x1p-13f of an odd multiple of
376 pi/4.
377 * math/libm-test.inc (tan_test): Do not allow spurious underflow
378 exception. Add more tests.
379 * sysdeps/i386/fpu/libm-test-ulps: Update.
380
f17ac40d
JM
381 [BZ #6778]
382 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
383 inputs and return -1 for them. Do not check for +Inf in case not
384 reachable for +Inf.
385 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
386 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
388 and return -1 for them. Do not check for +Inf in case not
389 reachable for +Inf.
390 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
391 define.
392 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
393 and return -1 for them. Do not check for +Inf in case not
394 reachable for +Inf.
395 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
396 spurious underflow.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399
fb21f89b
MF
4002012-07-06 Mike Frysinger <vapier@gentoo.org>
401
402 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
403
cdfe2c5e
JM
4042012-07-05 Joseph Myers <joseph@codesourcery.com>
405
406 [BZ #14157]
407 [BZ #14331]
408 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
409 could result in spurious underflow. Scale down values above
410 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
411 * math/s_csqrtf.c (__csqrtf): Likewise.
412 * math/s_csqrtl.c (__csqrtl): Likewise.
413 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
414 spurious underflow.
415 * sysdeps/i386/fpu/libm-test-ulps: Update.
416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
417
70d35b67
AS
4182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
419
704bc459
AS
420 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
421 xopen-msg.sed.
422 * catgets/xopen-msg.awk: New file.
423 * catgets/xopen-msg.sed: Removed.
424
70d35b67
AS
425 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
426 po2text.sed.
427 * intl/po2test.awk: New file.
428 * intl/po2test.sed: Removed.
429
ca61cf32
JM
4302012-07-04 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #14328]
433 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
434 or multiply small sinh result by itself.
435 * math/s_ctanf.c (__ctanf): Likewise.
436 * math/s_ctanh.c (__ctanh): Likewise.
437 * math/s_ctanhf.c (__ctanhf): Likewise.
438 * math/s_ctanhl.c (__ctanhl): Likewise.
439 * math/s_ctanl.c (__ctanl): Likewise.
440 * math/libm-test.inc (ctan_test_tonearest): New function.
441 (ctan_test_towardzero): Likewise.
442 (ctan_test_downward): Likewise.
443 (ctan_test_upward): Likewise.
444 (ctanh_test_tonearest): Likewise.
445 (ctanh_test_towardzero): Likewise.
446 (ctanh_test_downward): Likewise.
447 (ctanh_test_upward): Likewise.
448 (main): Call these new functions.
449 * sysdeps/i386/fpu/libm-test-ulps: Update.
450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
451
ca48a46a
MF
4522012-07-03 Mike Frysinger <vapier@gentoo.org>
453
454 * .gitignore: Delete /ports entry.
455
9d63d37d
AJ
4562012-07-03 Andreas Jaeger <aj@suse.de>
457
458 * po/bg.po: Update from translation team.
459 * po/cs.po: Likewise.
460 * po/de.po: Likewise.
461 * po/hr.po: Likewise.
462 * po/nl.pl: Likewise.
463 * po/pl.po: Likewise.
464 * po/vi.po: Likewise.
465
370ca3d2
JM
4662012-07-03 Joseph Myers <joseph@codesourcery.com>
467
95f5a9a8
JM
468 * Makeconfig [!+link] (+link-before-libc): New variable.
469 [!+link] (+link-after-libc): Likewise.
470 [!+link] (+link-tests): Likewise.
471 [!+link] (+link): Define in terms of $(+link-before-libc) and
472 $(+link-after-libc).
473 [!+link-static] (+link-static-before-libc): New variable.
474 [!+link-static] (+link-static-after-libc): Likewise.
475 [!+link-static] (+link-static-tests): Likewise.
476 [!+link-static] (+link-static): Define in terms of
477 $(+link-static-before-libc) and $(+link-static-after-libc).
478 [build-shared] (link-libc-before-gnulib): New variable.
479 [build-shared] (link-libc-tests): Likewise.
480 [build-shared] (link-libc): Define in terms of
481 $(link-libc-before-gnulib).
482 [!build-shared] (link-libc-tests): New variable.
483 (link-libc-static-tests): New variable.
484 [!gnulib] (gnulib-arch): New variable.
485 [!gnulib] (gnulib-tests): Likewise.
486 [!gnulib] (static-gnulib-arch): Likewise.
487 [!gnulib] (static-gnulib-tests): Likewise.
488 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
489 Define with "=" instead of ":=".
490 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
491 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
492 * Rules (binaries-all-notests): New variable.
493 (binaries-all-tests): Likewise.
494 (binaries-static-notests): Likewise.
495 (binaries-static-tests): Likewise.
496 (binaries-all): Define using $(binaries-all-notests) and
497 $(binaries-all-tests).
498 (binaries-static): Define using $(binaries-static-notests) and
499 $(binaries-static-tests).
500 (binaries-shared-tests): New variable.
501 (binaries-shared-notests): Likewise.
502 (binaries-shared): Remove variable.
503 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
504 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
505 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
506 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
507 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
508 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
509 * elf/Makefile (sln-modules): New variable.
510 (extra-objs): Add $(sln-modules:=.o).
511 (ldconfig-modules): Add static-stubs.
512 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
513 * elf/static-stubs.c: New file.
514
7a845b2c
JM
515 [BZ #14283]
516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
517 by 7 not 8 to examine high bit of fractional part. Use volatile
518 variables when splitting into final array of floats if
519 __FLT_EVAL_METHOD__ != 0.
520 * math/libm-test.inc (cos_test): Add another test.
521 (sin_test): Likewise.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523
e2283f38
JM
524 [BZ #14273]
525 * math/libm-test.inc (cosh_test): Add more tests.
526
370ca3d2
JM
527 * version.h (RELEASE): Set to "development".
528 (VERSION): Set to "2.16.90".
529
ee9247c3
CD
5302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
531
532 * NEWS: Update copyright. Remove last-updated date.
533 Mention math library bug fixes and timezone data changes.
534 * README: Mention GNU/Hurd, x32, and HPPA support status.
535
4648c381
TS
5362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
537
538 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
539
aac78a43
AJ
5402012-06-27 Andreas Jaeger <aj@suse.de>
541
542 * manual/contrib.texi (Contributors): Add Samuel Thibault.
543
ed3dbfad
AJ
5442012-06-25 Andreas Jaeger <aj@suse.de>
545
546 * sysdeps/s390/fpu/libm-test-ulps: Update.
547
4d0ee855
AS
5482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
549 Thomas Schwinge <thomas@codesourcery.com>
550
551 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
552 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
554 fanotify_mark.
555
af1bce34
TS
5562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
557
a9fa33ba
TS
558 * sysdeps/mach/start.c: Remove file.
559 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
560 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
561 * sysdeps/sh/init-first.c: Likewise.
562
58f902b8
TS
563 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
564 registers for frame unwinding purposes, add CFI directives.
565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
567 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
568 Likewise.
569
1518f58b
TS
570 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
571 __fortify_fail returning.
572 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
573
db9b5059
TS
574 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
575 sysdeps/sh/____longjmp_chk.S.
576 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
577 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
578 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
579 (gen-as-const-headers): Append sigaltstack-offsets.sym.
580
967705fe
TS
581 * sysdeps/sh/abort-instr.h: New file.
582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
583 process in case exit returns.
584
a9def8c4
TS
585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
586 initialize the GOT register before use.
587
2a649725
TS
588 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
589 calculation of ARGC > 4.
590
af1bce34
TS
591 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
592 meaningful names to some local labels.
593
d230f50a
KK
5942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
595 Kaz Kojima <kkojima@rr.iij4u.or.jp>
596
597 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
598 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
599 (__arch_compare_and_exchange_val_16_acq): Likewise.
600 (__arch_compare_and_exchange_val_32_acq): Likewise.
601 (atomic_exchange_and_add): Fix gUSA sequence.
602 (atomic_add): Likewise.
603 (atomic_add_negative): Likewise.
604 (atomic_add_zero): Likewise.
605 (atomic_bit_test_set): Likewise.
606
0479b305
AS
6072012-06-22 Andreas Schwab <schwab@redhat.com>
608
609 [BZ #13579]
610 * include/link.h (struct link_map): Add l_free_initfini.
611 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
612 l_initfini.
613 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
614 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
615 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
616 set.
617
0e3933b9
CD
6182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
619
620 * configure.in: Use AC_LANG_SOURCE.
621 * configure: Regenerate.
622
4248b1b1
RM
6232012-06-22 Roland McGrath <roland@hack.frob.com>
624
625 * configure.in (libc_cv_localstatedir): New substituted variable.
626 * configure: Regenerated.
627 * config.make.in (localstatedir): New variable, substituted from
628 libc_cv_localstatedir.
629 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
630 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
631 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
632 * sysdeps/gnu/configure: Regenerated.
633
006dd861
JL
6342012-06-21 Jeff Law <law@redhat.com>
635
636 [BZ #14277]
637 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
638 free. Simplify list management for _LIBC case.
639
79662d42
JM
6402012-06-21 Joseph Myers <joseph@codesourcery.com>
641
b7abb4bf
JM
642 [BZ #14273]
643 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
644 Clear sign bit of 64-bit integer value before comparing against
645 overflow value.
646
79662d42
JM
647 * sysdeps/mach/configure: Regenerated.
648
1f150908
L
6492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
650
651 [BZ #14278]
652 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
653
28363bbf
JL
6542012-06-21 Jeff Law <law@redhat.com>
655
656 [BZ #13882]
657 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
658 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
660 * elf/dl-open.c (dl_open_worker): Likewise.
661
09615db4
CD
6622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
663
664 * scripts/list-sources.sh: Scan PORTS for translations.
665 * po/libc.pot: Regenerated.
666
2174c6dd
AJ
6672012-06-21 Andreas Jaeger <aj@suse.de>
668
669 [BZ #12194]
670 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
671 warning.
672 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
673 * bits/byteswap-16.h (__bswap_16): Likewise.
674 * bits/byteswap.h (__bswap_constant_16): Likewise.
675
3ee947b1
L
6762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
677
678 [BZ #14117]
a2f34833
L
679 * sysdeps/i386/fpu_control.h: Removed.
680 * sysdeps/x86_64/fpu_control.h: Moved to ...
681 * sysdeps/x86/fpu_control.h: Here.
682
3ee947b1
L
683 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
684 (_FPU_SETCW): Likewise.
685
ed1825f8
L
6862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
687
25f1282a
L
688 [BZ #14117]
689 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
690 * sysdeps/x86/fpu/bits/mathinline.h: This.
691 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
692
ed1825f8
L
693 [BZ #14050]
694 [BZ #14117]
695 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
696 functions if __x86_64__ is defined.
697
36d54b74
CLT
6982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
699
700 * string/endian.h: Add !__ASSEMBLER__ condition for including
701 conversion interfaces.
702
10285c21
JM
7032012-06-15 Joseph Myers <joseph@codesourcery.com>
704
705 [BZ #14241]
706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
707 of ABS(x) in calculating zero to negative powers other than odd
708 integers.
709 * math/libm-test.inc (pow_test): Add more tests.
710
06c5abbd
AJ
7112012-06-15 Andreas Jaeger <aj@suse.de>
712
713 * manual/contrib.texi (Contributors): Update entry of Liubov
714 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
715 Machado Filho.
716
a3aeac40
CH
7172012-06-15 Cyril Hrubis <metan@ucw.cz>
718
719 * string/string.h: Add __wur to GNU version of strerror_r.
720
49bdf4c1
L
7212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
722
723 [BZ #14229]
724 * string/Makefile (tests): Add tst-strtok_r.
725 * string/tst-strtok_r.c: New file.
726 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
727 RAX_LP/RDX_LP on SAVE_PTR.
728
834f9b8d
RM
7292012-06-14 Roland McGrath <roland@hack.frob.com>
730
731 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
732
75fa1921
JM
7332012-06-14 Joseph Myers <joseph@codesourcery.com>
734
735 * libm_test.inc (csqrt_test): Allow more spurious underflow
736 exceptions.
737 (j0_test): Likewise.
738 (j1_test): Likewise.
739 (y0_test): Likewise.
740 (y1_test): Likewise.
741
771766df
CD
7422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
743
744 * po/Makefile (libc.pot): Use UTF-8 charset.
745
ceb9e56b
PP
7462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
747
748 [BZ #14210]
749 Suppress sign-conversion warning from FD_SET.
750 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
751 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
752 not unsigned long int.
753 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
754
ddb28975
L
7552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
756
757 [BZ #14050]
758 [BZ #14117]
759 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
760 __extern_always_inline instead of __extern_inline.
761 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
762 (__signbit): Likewise.
763 (__signbitl): Support C++ namespace.
764 (lrintf): New inline function.
765 (lrint): Likewise.
766 (llrintf): Likewise.
767 (llrint): Likewise.
768 (fmaxf): Likewise.
769 (fmax): Likewise.
770 (fminf): Likewise.
771 (fmin): Likewise.
772 (rint): Likewise.
773 (rintf): Likewise.
774 (ceil): Likewise.
775 (ceilf): Likewise.
776 (floor): Likewise.
777 (floorf): Likewise.
778 (nearbyint): Likewise.
779 (nearbyintf): Likewise.
780
d7b4fb26
TS
7812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
782
783 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
784 non-default versions.
785
eb55f5c2
RM
7862012-06-11 Roland McGrath <roland@hack.frob.com>
787
788 [BZ #14218]
789 * manual/argp.texi (Argp): Reword argp_parse description slightly.
790
366af02c
TS
7912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
792
99ff6e5c
TS
793 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
794 (FE_UPWARD, FE_DOWNWARD): Don't define.
795 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
796 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
797
366af02c
TS
798 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
799 reading it.
800 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
801 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
802
793ea851
KK
8032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
804
805 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
806 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
807 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
808 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
809
a728a38f
L
8102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
811
812 [BZ #14117]
c08010c7
L
813 * sysdeps/i386/fpu/bits/fenv.h: Removed.
814 * sysdeps/i386/fpu/Implies: New file.
815 * sysdeps/x86_64/fpu/Implies: Likewise.
816 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
817 * sysdeps/x86/fpu/bits/fenv.h: This.
818
a728a38f
L
819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
820 __SSE_MATH__.
821
6e230d11
SP
8222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
823
824 [BZ #14134]
825 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
826 character 0xffff that matches the last element of the
827 conversion table.
828
1b671feb
AZ
8292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830
831 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
832 fmodl commit.
833
6043738b
AZ
8342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835
836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
837 values higher than 25.6283.
838
34ae0b32
AZ
8392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
842 subnormal exponent extraction and add some __builtin_expect.
843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
844 Fix for subnormal mantissa calculation.
845
1214ec8f
MF
8462012-06-04 Mike Frysinger <vapier@gentoo.org>
847
848 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
849 cpu2 is -1 and errno is not ENOSYS.
850
f3d1f93c
L
8512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
852
853 [BZ #14117]
0e4a3cd7
L
854 * sysdeps/i386/i486/bits/string.h: Renamed to ...
855 * sysdeps/x86/bits/string.h: This.
856 * sysdeps/x86_64/bits/string.h: Removed.
857
6704c645
L
858 * sysdeps/i386/i486/bits/string.h: Define inline functions only
859 if not compiling for x86-64, but compiling for >= i486.
860
48495318
L
861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
862 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
863
14adcbfc
L
864 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
865 New macro from Linux kernel 3.4.0.
866 (FP_XSTATE_MAGIC2): Likewise.
867 (FP_XSTATE_MAGIC2_SIZE): Likewise.
868 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
869 (struct _fpx_sw_bytes): New struct.
870 (struct _xsave_hdr): Likewise.
871 (struct _ymmh_state): Likewise.
872 (struct _xstate): Likewise.
873
68e408ab
L
874 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
875 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
877 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
878 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
879 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
880
f3d1f93c
L
881 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
882 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
883 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
884 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
885 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
886 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
887
d9dc34cd
TMQMF
8882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
889
890 [BZ #13743]
891 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
892 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
893 (sysdep_headers): Include sys/platform/ppc.h.
894 * sysdeps/powerpc/test-gettimebase.c: Test for
895 __ppc_get_timebase() to catch future ISA opcode/insn changes.
896 * manual/Makefile (appendices): Include platform.texi.
897 * manual/contrib.texi (Contributors): Update @node pointers.
898 * manual/maint.texi (Maintenance): Likewise.
899 (Platform): New node.
900 * manual/platform.texi: New file. Document the new features.
901
4af3879c
SP
9022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
903 Jakub Jelinek <jakub@redhat.com>
904
905 [BZ #14188]
906 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
907 where __builtin_expect is unavailable.
908
2fd6ff13
DM
9092012-06-03 David S. Miller <davem@davemloft.net>
910
911 * stdlib/longlong.h: Updated from GCC.
912
173f7220
AS
9132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
914
915 [BZ #14042]
916 * sysdeps/powerpc/powerpc32/mcount.c: New file.
917 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
918 __mcount_internal.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
920 (GLIBC_2.16): Likewise.
921
f34a1c6f
L
9222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
923
924 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
925
88a4576f
JM
9262012-06-01 Joseph Myers <joseph@codesourcery.com>
927
ea32bcdd
JM
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
929 (default-abi): New variable.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
931 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
932 variable.
933 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
934 Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
936 Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
938 Likewise.
939
88a4576f
JM
940 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
941 definition. Document in comment.
942
402fe938
DM
9432012-06-01 David S. Miller <davem@davemloft.net>
944
945 * stdlib/longlong.h: Updated from GCC.
946
3553723f
L
9472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
948
949 [BZ #14117]
3bd872c4
L
950 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
951 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
952 sys/debugreg.h sys/io.h here.
953 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
954 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
955 sys/io.h.
956 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
957 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
958 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
959 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
960 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
961 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
962
3553723f
L
963 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
964 Define only if __x86_64__ is defined.
965
4842e4fe
JM
9662012-06-01 Joseph Myers <joseph@codesourcery.com>
967
c5bfe3d5
JM
968 [BZ #14048]
969 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
970 Use int64_t for variable i.
971 * math/libm-test.inc (fmod_test): Add more tests.
972
4842e4fe
JM
973 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
974 z computation is not scheduled after fetestexcept.
975 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
976 Use math_force_eval instead of asm to ensure calculation scheduled
977 before exception test.
978 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
979 Ensure a1 + u.d computation is not scheduled after fetestexcept.
980
efb73488
AJ
9812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
982
983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
984 computation is not scheduled after fetestexcept.
985
29bcce7c
L
9862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
987
988 [BZ #14117]
989 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
990 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
991
73a68f94
AZ
9922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993
994 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
995 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
996
67b6df78
L
9972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
998
edf2933a 999 [BZ #14117]
ebc64a18
L
1000 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1001 <bits/wordsize.h>.
1002 (__WCHAR_MIN): Support __WORDSIZE == 64.
1003 (__WCHAR_MAX): Likewise.
1004
edf2933a
L
1005 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1006 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1007
57c6cf40
L
1008 [BZ #14183]
1009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1010 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1011
67b6df78 1012 [BZ #14117]
8eb6281e
L
1013 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1014 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1015
aac639f4
L
1016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1017 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1018
67b6df78
L
1019 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1020 Defined to 1 if __x86_64__ isn't defined.
1021 (_STAT_VER_LINUX_OLD): New.
1022 (st_atime): Remove duplicate.
1023 (st_mtime): Likewise.
1024 (st_ctime): Likewise.
1025
1c2cfe81
DM
10262012-05-31 David S. Miller <davem@davemloft.net>
1027
1028 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1029 entries.
1030
5be8418c
AS
10312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1032
e7725326
AS
1033 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1034 gen-libm-test.pl.
1035
5be8418c
AS
1036 [BZ #14132]
1037 * elf/dl-reloc.c: Include <_itoa.h>.
1038 (_dl_reloc_bad_type): Remove use of INTUSE.
1039 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1040 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1041 * stdio-common/psiginfo.c (psiginfo): Likewise.
1042 * stdio-common/psignal.c (psignal): Likewise.
1043 * string/strsignal.c (strsignal): Likewise.
1044 * include/signal.h (_sys_siglist): Declare hidden proto.
1045 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1046 INTVARDEF with libc_hidden_data_def.
1047 * stdio-common/itoa-udigits.c: Likewise.
1048 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1049 (_itoa_lower_digits_internal): Remove declaration.
1050 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1051 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1052 (_sys_sigabbrev_internal): Remove aliases.
1053 (_sys_siglist): Define hidden alias.
1054
507352f1
MT
10552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1056
1057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1058 bits/sysctl.h.
1059
42bbb1c3
L
10602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 [BZ #14117]
6bd784b6
L
1063 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1064 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1065
8bca20f0
L
1066 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1067 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1068 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1069 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1071 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1072
f9e890a9
L
1073 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1074 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1075 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1076
471101a1
L
1077 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1078 with __addr.
1079 (insw): Likewise.
1080 (insl): Likewise.
1081 (outsb): Likewise.
1082 (outsw): Likewise.
1083 (outsl): Likewise.
1084
6451c862
L
1085 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1086 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1087 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1088
a254b8c9
L
1089 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1090 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1092 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1093 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1094 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1095
b8dfdd92
L
1096 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1097 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1098
578cd270
L
1099 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1100 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1101
de662f5f
L
1102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1105
25653439
L
1106 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1107 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1108 to ...
1109 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1110
6bad24a0
L
1111 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1112 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1113 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1114
42bbb1c3
L
1115 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1116 for x86-64.
1117 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1118
2d10d547
JM
11192012-05-31 Joseph Myers <joseph@codesourcery.com>
1120
1121 * math/math.h (M_El): Use two more decimal places.
1122 (M_LOG2El): Likewise.
1123 (M_LOG10El): Likewise.
1124 (M_LN2l): Likewise.
1125 (M_LN10l): Likewise.
1126 (M_PIl): Likewise.
1127 (M_PI_2l): Likewise.
1128 (M_PI_4l): Likewise.
1129 (M_1_PIl): Likewise.
1130 (M_2_PIl): Likewise.
1131 (M_2_SQRTPIl): Likewise.
1132 (M_SQRT2l): Likewise.
1133 (M_SQRT1_2l): Likewise.
1134
f230c29b
DM
11352012-05-31 David S. Miller <davem@davemloft.net>
1136
1137 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1138 values between float registers.
1139 * sysdeps/sparc/sparc64/memset.S: Likewise.
1140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1141
fed806c3
MF
11422012-05-31 Mike Frysinger <vapier@gentoo.org>
1143
1144 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1145 -D_FORTIFY_SOURCE=1.
1146 (CPPFLAGS-tst-longjmp_chk.c): Define.
1147 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1148 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1149 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1150 CFLAGS-tst-wchar-h.c.
1151
30917259
MP
11522012-05-31 Marek Polacek <polacek@redhat.com>
1153
1154 [BZ #14132]
1155 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1156 __endmntent_internal): Remove declaration.
1157 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1158 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1159 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1160
1c58d5dc
DM
11612012-05-30 David S. Miller <davem@davemloft.net>
1162
1163 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1164 (___Q_simulate_exceptions): Use real FP ops rather than writing
1165 into the %fsr.
1166 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1167 Likewise.
1168
7dc00e0d
L
11692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 [BZ #14117]
0bd53985
L
1172 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1173 * sysdeps/x86/bits/xtitypes.h: This.
1174
3a257e66
L
1175 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1176 * sysdeps/x86/bits/wordsize.h: This.
1177
62f62904
L
1178 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1179 * sysdeps/x86/bits/huge_vall.h: This.
1180
404fe9d9
L
1181 * sysdeps/i386/bits/select.h: Removed.
1182 * sysdeps/x86_64/bits/select.h: Renamed to ...
1183 * sysdeps/x86/bits/select.h: This.
1184
d48d0446
L
1185 * sysdeps/i386/bits/setjmp.h: Removed.
1186 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1187 * sysdeps/x86/bits/setjmp.h: This.
1188
7dc00e0d
L
1189 * sysdeps/i386/bits/mathdef.h: Removed.
1190 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1191 * sysdeps/x86/bits/mathdef.h: This.
1192
03277f8f
AS
11932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1194
1195 [BZ #14132]
1196 * include/sys/socket.h (__connect_internal)
1197 (__libc_sa_len_internal): Remove declaration.
1198 (__connect, __libc_sa_len): Declare hidden_proto.
1199 (SA_LEN): Remove use of INTUSE.
1200 * socket/connect.c: Add libc_hidden_def.
1201 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1202 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1203 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1204 alias.
1205 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1206 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1207 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1208 of adding _internal alias.
1209
13764867
L
12102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 [BZ #14117]
6bd97696
L
1213 * sysdeps/i386/bits/link.h: Removed.
1214 * sysdeps/i386/bits/linkmap.h: Likewise.
1215 * sysdeps/x86_64/bits/link.h: Renamed to ...
1216 * sysdeps/x86/bits/link.h: This.
1217 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1218 * sysdeps/x86/bits/linkmap.h: This.
1219
f726f0bb
L
1220 * sysdeps/i386/bits/endian.h: Removed.
1221 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1222 * sysdeps/x86/bits/endian.h: This.
1223
13764867
L
1224 * sysdeps/i386/bits/byteswap.h: Removed.
1225 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1226 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1227 * sysdeps/x86/bits/byteswap.h: This.
1228 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1229 * sysdeps/x86/bits/byteswap-16.h: This.
1230 * sysdeps/i386/Implies: Add x86.
1231 * sysdeps/x86_64/Implies: Likewise.
1232
ae251b0b
DM
12332012-05-30 David S. Miller <davem@davemloft.net>
1234
1235 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1236 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1237 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1238 (FP_TRAPPING_EXCEPTIONS): Define.
1239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1240 (FP_TRAPPING_EXCEPTIONS): Define.
1241 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1242 subnormals only when inexact has been signalled or underflow
1243 exceptions are enabled.
1244 (_FP_PACK_CANONICAL): Likewise.
1245
d5c90867
L
12462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 [BZ #14183]
1249 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1250 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1251
63f1549e
RH
12522012-05-30 Richard Henderson <rth@twiddle.net>
1253
8d8f2279
RH
1254 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1255 with #ifndef NOT_IN_libc.
1256
63f1549e
RH
1257 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1258 marked to avoid plt entry.
1259
0ab0291b
L
12602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 [BZ #14112]
1263 * Makeconfig (default-abi): New macro.
1264 (abi-includes): Likewise.
1265 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1266 $(abi-$(default-abi)-lib-soname) for soname if defined.
1267 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1268 abi-variants.
1269 * Makefile (installed-stubs): Likewise.
1270 * include/stubs-biarch.h: Removed.
1271 * scripts/lib-names.awk: Only handle one library at a time.
1272 * scripts/soversions.awk: Remove WORDSIZE support.
1273 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1274 entries.
1275 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1276 Removed.
1277 (syscall-list-default-condition): Likewise.
1278 (syscall-list-default-condition): Likewise.
1279 (syscall-list-includes): Likewise.
1280 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1281 syscall-list-* with abi-*. Handle undefined abi-variants.
1282 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1283 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1284 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1287 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1288 Removed.
1289 (syscall-list-32-options): Likewise.
1290 (syscall-list-32-condition): Likewise.
1291 (syscall-list-64-options): Likewise.
1292 (syscall-list-64-condition): Likewise.
1293 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1294 macro.
1295 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1296 Renamed to ...
1297 (abi-*): This.
1298 (abi-64-ld-soname): New macro.
1299 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1301 Renamed to ...
1302 (abi-*): This.
1303 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1304 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1305
4da0431d
JM
13062012-05-30 Joseph Myers <joseph@codesourcery.com>
1307
3a85279c
JM
1308 * sysdeps/unix/sysv/linux/kernel-features.h
1309 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1310 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1311 include <kernel-features.h>.
1312 [!__NR_ftruncate64]: Remove conditional code.
1313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1314 [__NR_ftruncate64]: Make code unconditional.
1315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1316 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1317 include <kernel-features.h>.
1318 [!__NR_ftruncate64]: Remove conditional code.
1319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1320 [__NR_ftruncate64]: Make code unconditional.
1321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1323 include <kernel-features.h>.
1324 [!__NR_ftruncate64]: Remove conditional code.
1325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1326 [__NR_ftruncate64]: Make code unconditional.
1327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1329 include <kernel-features.h>.
1330 [!__NR_ftruncate64]: Remove conditional code.
1331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1332 [__NR_ftruncate64]: Make code unconditional.
1333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1334
4da0431d
JM
1335 * configure.in (libc_cv_fpie): Weaken to a compile test using
1336 LIBC_TRY_CC_OPTION.
1337 * configure: Regenerated.
1338
11ef492c
AK
13392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1340
1341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1345 Refreshed.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1352 Refreshed.
1353
d66ef399
DM
13542012-05-27 David S. Miller <davem@davemloft.net>
1355
1356 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1357 (___Q_zero): New.
1358 (__Q_simulate_exceptions): Return void. Change to simulate
1359 exceptions by writing into the %fsr.
1360 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1361 (__Qp_handle_exceptions): Likewise.
1362 (numbers): Delete.
1363 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1364 __Qp_handle_exceptions.
1365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1366 __Qp_handle_exceptions.
1367 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1368 as unused and give dummy FP_RND_NEAREST initializer.
1369 (FP_INHIBIT_RESULTS): Define.
1370 (___Q_simulate_exceptions): Update declaration.
1371 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1372 formatting.
1373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1374 as unused and give dummy FP_RND_NEAREST initializer.
1375 (__Qp_handle_exceptions): Update declaration.
1376 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1377 formatting.
1378
04fb54b5
TS
13792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1380
1381 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1382 the temporary FPU control word.
1383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1384 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1386 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1387 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1388 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1389 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1390 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1391 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1392 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1393 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1394
3f99608f
KK
13952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1396
1397 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1398 fields.
1399
65a4de4e
CLT
14002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1401
1402 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1403 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1404 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1405 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1406 Likewise.
1407 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1408 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1409 Likewise.
1410
15749d40
UD
14112012-05-27 Ulrich Drepper <drepper@gmail.com>
1412
1413 * po/h.po: Update from translation team.
1414
25dbcb27
AS
14152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1416
3d3f8e55
AS
1417 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1418
25dbcb27
AS
1419 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1420 handling of denormals.
1421 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1422 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1423 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1424 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1428 Likewise.
1429
7ad47a80 14302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1431
1432 [BZ #14152]
1433 * math/libm-test.inc (fma_test): Don't always expect underflow
1434 exception.
1435
9c6ea9fa
SP
14362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1437
1438 [BZ #12416]
1439 * elf/tst-execstack.c: Include stackinfo.h.
1440 (do_test): Adjust test case to ensure that pthread_getattr_np
1441 behaviour remains the same after marking stack executable.
1442
a8239222
JM
14432012-05-25 Joseph Myers <joseph@codesourcery.com>
1444
1445 * sysdeps/unix/sysv/linux/kernel-features.h
1446 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1447 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1448 kernel-features.h.
1449 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1450 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1451 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1452 kernel-features.h.
1453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1455
918b5606
L
14562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 * configure.in: Define the default includes to being none.
1459 * configure: Regenerated.
1460
3a097cc7
RM
14612012-05-25 Roland McGrath <roland@hack.frob.com>
1462
8422c9a5
RM
1463 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1464 * sysdeps/x86_64/setjmp.S: Likewise.
1465 * sysdeps/i386/bsd-setjmp.S: Likewise.
1466 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1467 * sysdeps/i386/setjmp.S: Likewise.
1468 * sysdeps/i386/__longjmp.S: Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1471
3a097cc7
RM
1472 * include/stap-probe.h: New file.
1473 * configure.in: Handle --enable-systemtap.
1474 * configure: Regenerated.
1475 * config.h.in (USE_STAP_PROBE): New #undef.
1476 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1477 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1478 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1479
21708942
JM
14802012-05-25 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #13717]
1483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1484 to 2.4.0 where earlier.
1485 * sysdeps/unix/sysv/linux/configure: Regenerated.
1486 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1487 <kernel-features.h>.
1488 [__ASSUME_32BITUIDS]: Make code unconditional.
1489 [!__ASSUME_32BITUIDS]: Remove conditional code.
1490 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1491 <kernel-features.h>.
1492 [__ASSUME_32BITUIDS]: Make code unconditional.
1493 [!__ASSUME_32BITUIDS]: Remove conditional code.
1494 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1495 [__ASSUME_32BITUIDS]: Make code unconditional.
1496 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1497 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1498 <kernel-features.h>.
1499 [__ASSUME_32BITUIDS]: Make code unconditional.
1500 [!__ASSUME_32BITUIDS]: Remove conditional code.
1501 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1502 <kernel-features.h>.
1503 [__ASSUME_32BITUIDS]: Make code unconditional.
1504 [!__ASSUME_32BITUIDS]: Remove conditional code.
1505 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1506 <kernel-features.h>.
1507 [__ASSUME_32BITUIDS]: Make code unconditional.
1508 [!__ASSUME_32BITUIDS]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1510 <kernel-features.h>.
1511 [__ASSUME_32BITUIDS]: Make code unconditional.
1512 [!__ASSUME_32BITUIDS]: Remove conditional code.
1513 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1514 <kernel-features.h>.
1515 [__ASSUME_32BITUIDS]: Make code unconditional.
1516 [!__ASSUME_32BITUIDS]: Remove conditional code.
1517 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1518 <kernel-features.h>.
1519 [__ASSUME_32BITUIDS]: Make code unconditional.
1520 [!__ASSUME_32BITUIDS]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1522 <kernel-features.h>.
1523 [__ASSUME_32BITUIDS]: Make code unconditional.
1524 [!__ASSUME_32BITUIDS]: Remove conditional code.
1525 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1526 <kernel-features.h>.
1527 [__ASSUME_32BITUIDS]: Make code unconditional.
1528 [!__ASSUME_32BITUIDS]: Remove conditional code.
1529 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1530 <kernel-features.h>.
1531 [__ASSUME_32BITUIDS]: Make code unconditional.
1532 [!__ASSUME_32BITUIDS]: Remove conditional code.
1533 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1534 <kernel-features.h>.
1535 [__ASSUME_32BITUIDS]: Make code unconditional.
1536 [!__ASSUME_32BITUIDS]: Remove conditional code.
1537 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1538 <kernel-features.h>.
1539 [__NR_setresgid] (__setresgid): Do not declare.
1540 [__ASSUME_32BITUIDS]: Make code unconditional.
1541 [!__ASSUME_32BITUIDS]: Remove conditional code.
1542 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1543 <kernel-features.h>.
1544 [__NR_setresuid] (__setresuid): Do not declare.
1545 [__ASSUME_32BITUIDS]: Make code unconditional.
1546 [!__ASSUME_32BITUIDS]: Remove conditional code.
1547 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1548 <kernel-features.h>.
1549 [__ASSUME_32BITUIDS]: Make code unconditional.
1550 [!__ASSUME_32BITUIDS]: Remove conditional code.
1551 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1552 <kernel-features.h>.
1553 [__ASSUME_32BITUIDS]: Make code unconditional.
1554 [!__ASSUME_32BITUIDS]: Remove conditional code.
1555 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1556 <kernel-features.h>.
1557 [__ASSUME_32BITUIDS]: Make code unconditional.
1558 [!__ASSUME_32BITUIDS]: Remove conditional code.
1559 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1560 <kernel-features.h>.
1561 [__ASSUME_32BITUIDS]: Make code unconditional.
1562 [!__ASSUME_32BITUIDS]: Remove conditional code.
1563 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1564 <kernel-features.h>.
1565 [__ASSUME_32BITUIDS]: Make code unconditional.
1566 [!__ASSUME_32BITUIDS]: Remove conditional code.
1567 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1568 <kernel-features.h>.
1569 [__ASSUME_32BITUIDS]: Make code unconditional.
1570 [!__ASSUME_32BITUIDS]: Remove conditional code.
1571 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1572 <kernel-features.h>.
1573 [__ASSUME_32BITUIDS]: Make code unconditional.
1574 [!__ASSUME_32BITUIDS]: Remove conditional code.
1575 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1576 <kernel-features.h>.
1577 [__ASSUME_32BITUIDS]: Make code unconditional.
1578 [!__ASSUME_32BITUIDS]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1580 <kernel-features.h>.
1581 [__ASSUME_32BITUIDS]: Make code unconditional.
1582 [!__ASSUME_32BITUIDS]: Remove conditional code.
1583 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1584 <kernel-features.h>.
1585 [__ASSUME_32BITUIDS]: Make code unconditional.
1586 [!__ASSUME_32BITUIDS]: Remove conditional code.
1587 * sysdeps/unix/sysv/linux/kernel-features.h
1588 (__ASSUME_SETRESUID_SYSCALL): Remove.
1589 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1590 (__ASSUME_32BITUIDS): Likewise.
1591 (__ASSUME_LDT_WORKS): Likewise.
1592 (__ASSUME_O_DIRECTORY): Likewise.
1593 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1594 architecture but not kernel version.
1595 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1596 (__ASSUME_MMAP2_SYSCALL): Likewise.
1597 (__ASSUME_STAT64_SYSCALL): Likewise.
1598 (__ASSUME_IPC64): Likewise.
1599 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1600 <kernel-features.h>.
1601 [__ASSUME_32BITUIDS]: Make code unconditional.
1602 [!__ASSUME_32BITUIDS]: Remove conditional code.
1603 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1604 <kernel-features.h>.
1605 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1606 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1607 132096]: Remove conditional code.
1608 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1609 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1610 <kernel-features.h>.
1611 [__ASSUME_32BITUIDS]: Make code unconditional.
1612 [!__ASSUME_32BITUIDS]: Remove conditional code.
1613 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1614 <kernel-features.h>.
1615 [__ASSUME_32BITUIDS]: Make code unconditional.
1616 [!__ASSUME_32BITUIDS]: Remove conditional code.
1617 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1618 <kernel-features.h>.
1619 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1620 unconditional.
1621 (__setresgid): Do not declare.
1622 [__ASSUME_32BITUIDS]: Make code unconditional.
1623 [!__ASSUME_32BITUIDS]: Remove conditional code.
1624 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1625 <kernel-features.h>.
1626 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1627 unconditional.
1628 (__setresuid): Do not declare.
1629 [__ASSUME_32BITUIDS]: Make code unconditional.
1630 [!__ASSUME_32BITUIDS]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1632 <kernel-features.h>.
1633 [__ASSUME_32BITUIDS]: Make code unconditional.
1634 [!__ASSUME_32BITUIDS]: Remove conditional code.
1635 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1636 <kernel-features.h>.
1637 [__ASSUME_32BITUIDS]: Make code unconditional.
1638 [!__ASSUME_32BITUIDS]: Remove conditional code.
1639
a386f1cc
RH
16402012-05-25 Richard Henderson <rth@twiddle.net>
1641
1642 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1643 dl_hwcap to ifunc resolver.
1644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1645 elf_ifunc_invoke.
1646 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1647 dl_hwcap to ifunc resolver.
1648 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1649
b6550497
JM
16502012-05-24 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #14153]
1653 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1654 for |x| <= 2**-26, not 2**-57.
1655 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1656 exception.
1657
b0bc23a1
JL
16582012-05-24 Jeff Law <law@redhat.com>
1659
1660 * stdio-common/Makefile (tests): Add bug25.
1661 * stdio-common/bug25.c: New test.
1662
347c92e9
L
16632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 [BZ #13576]
1666 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1667 multiple of MALLOC_ALIGNMENT in size.
1668 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1669
6bcc8b3f
JM
16702012-05-24 Joseph Myers <joseph@codesourcery.com>
1671
1672 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1673 Require >= 256.
1674 (FILENAME_MAX): Use macro-int-constant.
1675 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1676 (_IOFBF): Use macro-int-constant.
1677 (_IOLBF): Likewise.
1678 (_IONBF): Likewise.
1679 (SEEK_CUR): Likewise.
1680 (SEEK_END): Likewise.
1681 (SEEK_SET): Likewise.
1682 (TMP_MAX): Likewise.
1683 (EOF): Use macro-int-constant. Require < 0.
1684 (NULL): Use macro-constant. Require == 0.
1685 (stdin): Require type to be FILE *.
1686 (stdout): Likewise.
1687 (stderr): Likewise.
1688 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1689 macro-int-constant.
1690 (EXIT_SUCCESS): Likewise.
1691 (NULL): Use macro-constant. Require == 0.
1692 (RAND_MAX): Use macro-int-constant.
1693 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1694 [C99-based standards] (strtof): Require function.
1695 [C99-based standards] (strtold): Likewise.
1696 [C99-based standards] (strtoll): Likewise.
1697 [C99-based standards] (strtoull): Likewise.
1698 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1699 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1700 [ISO || ISO99 || ISO11] (math.h): Likewise.
1701 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1702 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1704
d18ea0c5
AS
17052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1706
1707 [BZ #14132]
56d25bb8
AS
1708 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1709 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1710 * intl/dgettext.c (DCGETTEXT): Likewise.
1711 * intl/gettext.c (DCGETTEXT): Likewise.
1712 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1713 * posix/regex_internal.h (gettext): Likewise.
1714 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1715 Remove declaration.
1716 * include/argz.h (__argz_count_internal)
1717 (__argz_stringify_internal): Remove declaration.
1718 (__argz_count, __argz_stringify): Declare hidden proto.
1719 * intl/dcgettext.c: Remove use of INTDEF.
1720 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1721 * string/argz-stringify.c: Likewise.
1722 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1723 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1724 Declare hidden proto.
d18ea0c5
AS
1725 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1726 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1727 Declare hidden proto.
1728 * include/stdio.h (__asprintf_internal): Don't declare.
1729 (__asprintf): Don't define as macro. Declare hidden proto.
1730 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1731 (__fsetlocking): Declare hidden proto.
1732 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1733 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1734 hidden proto.
1735 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1736 (_IO_setlinebuf): Remove use of INTUSE.
1737 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1738 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1739 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1740 Remove declaration.
1741 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1742 (_IO_do_flush): Remove use of INTUSE.
1743 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1744 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1745 (_IO_adjust_column, _IO_least_wmarker)
1746 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1747 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1748 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1749 (_IO_default_doallocate, _IO_wdefault_doallocate)
1750 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1751 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1752 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1753 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1754 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1755 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1756 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1757 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1758 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1759 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1760 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1761 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1762 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1763 proto.
1764 (_IO_flush_all_internal, _IO_adjust_column_internal)
1765 (_IO_default_uflow_internal, _IO_default_finish_internal)
1766 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1767 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1768 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1769 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1770 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1771 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1772 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1773 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1774 (_IO_file_close_internal, _IO_file_close_it_internal)
1775 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1776 (_IO_file_init_internal, _IO_file_attach_internal)
1777 (_IO_file_fopen_internal, _IO_file_read_internal)
1778 (_IO_file_sync_internal, _IO_file_seek_internal)
1779 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1780 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1781 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1782 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1783 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1784 (_IO_list_all_internal, _IO_link_in_internal)
1785 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1786 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1787 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1788 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1789 (_IO_do_write_internal, _IO_padn_internal)
1790 (_IO_getline_info_internal, _IO_getline_internal)
1791 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1792 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1793 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1794 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1795 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1796 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1797 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1798 with libc_hidden_ver, remove use of INTUSE.
1799 * libio/genops.c: Likewise.
1800 * libio/freopen.c: Likewise.
1801 * libio/freopen64.c: Likewise.
1802 * libio/iofclose.c: Likewise.
1803 * libio/iofdopen.c: Likewise.
1804 * libio/iofflush.c: Likewise.
1805 * libio/iofflush_u.c: Likewise.
1806 * libio/iofgets.c: Likewise.
1807 * libio/iofgets_u.c: Likewise.
1808 * libio/iofopen.c: Likewise.
1809 * libio/iofopncook.c: Likewise.
1810 * libio/iofread.c: Likewise.
1811 * libio/iofread_u.c: Likewise.
1812 * libio/ioftell.c: Likewise.
1813 * libio/iofwrite.c: Likewise.
1814 * libio/iogetline.c: Likewise.
1815 * libio/iogets.c: Likewise.
1816 * libio/iogetwline.c: Likewise.
1817 * libio/iopadn.c: Likewise.
1818 * libio/iopopen.c: Likewise.
1819 * libio/ioseekoff.c: Likewise.
1820 * libio/ioseekpos.c: Likewise.
1821 * libio/iosetbuffer.c: Likewise.
1822 * libio/iosetvbuf.c: Likewise.
1823 * libio/ioungetc.c: Likewise.
1824 * libio/ioungetwc.c: Likewise.
1825 * libio/iovdprintf.c: Likewise.
1826 * libio/iovsprintf.c: Likewise.
1827 * libio/iovsscanf.c: Likewise.
1828 * libio/memstream.c: Likewise.
1829 * libio/obprintf.c: Likewise.
1830 * libio/oldfileops.c: Likewise.
1831 * libio/oldiofclose.c: Likewise.
1832 * libio/oldiofdopen.c: Likewise.
1833 * libio/oldiofopen.c: Likewise.
1834 * libio/oldiopopen.c: Likewise.
1835 * libio/oldstdfiles.c: Likewise.
1836 * libio/putc.c: Likewise.
1837 * libio/setbuf.c: Likewise.
1838 * libio/setlinebuf.c: Likewise.
1839 * libio/stdfiles.c: Likewise.
1840 * libio/strops.c: Likewise.
1841 * libio/vasprintf.c: Likewise.
1842 * libio/vscanf.c: Likewise.
1843 * libio/vsnprintf.c: Likewise.
1844 * libio/vswprintf.c: Likewise.
1845 * libio/wfiledoalloc.c: Likewise.
1846 * libio/wfileops.c: Likewise.
1847 * libio/wgenops.c: Likewise.
1848 * libio/wmemstream.c: Likewise.
1849 * libio/wstrops.c: Likewise.
1850 * libio/__fpurge.c: Likewise.
1851 * libio/__fsetlocking.c: Likewise.
1852 * assert/assert.c: Likewise.
1853 * debug/fgets_chk.c: Likewise.
1854 * debug/fgets_u_chk.c: Likewise.
1855 * debug/fread_chk.c: Likewise.
1856 * debug/fread_u_chk.c: Likewise.
1857 * debug/gets_chk.c: Likewise.
1858 * debug/obprintf_chk.c: Likewise.
1859 * debug/vasprintf_chk.c: Likewise.
1860 * debug/vdprintf_chk.c: Likewise.
1861 * debug/vsnprintf_chk.c: Likewise.
1862 * debug/vsprintf_chk.c: Likewise.
1863 * malloc/mtrace.c: Likewise.
1864 * misc/error.c: Likewise.
1865 * misc/syslog.c: Likewise.
1866 * stdio-common/asprintf.c: Likewise.
1867 * stdio-common/fxprintf.c: Likewise.
1868 * stdio-common/getw.c: Likewise.
1869 * stdio-common/isoc99_fscanf.c: Likewise.
1870 * stdio-common/isoc99_scanf.c: Likewise.
1871 * stdio-common/isoc99_vfscanf.c: Likewise.
1872 * stdio-common/isoc99_vscanf.c: Likewise.
1873 * stdio-common/isoc99_vsscanf.c: Likewise.
1874 * stdio-common/printf-prs.c: Likewise.
1875 * stdio-common/printf_fp.c: Likewise.
1876 * stdio-common/printf_fphex.c: Likewise.
1877 * stdio-common/printf_size.c: Likewise.
1878 * stdio-common/putw.c: Likewise.
1879 * stdio-common/scanf.c: Likewise.
1880 * stdio-common/sprintf.c: Likewise.
1881 * stdio-common/tmpfile.c: Likewise.
1882 * stdio-common/vfprintf.c: Likewise.
1883 * stdio-common/vfscanf.c: Likewise.
1884 * stdlib/strfmon_l.c: Likewise.
1885 * sunrpc/openchild.c: Likewise.
1886 * sunrpc/xdr_stdio.c: Likewise.
1887 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1888 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1889
d6c33fda
RM
18902012-05-24 Roland McGrath <roland@hack.frob.com>
1891
c1487492
RM
1892 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1893
1894 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1895 in the third column, to generate for the shared library an IFUNC
1896 that uses _dl_vdso_vsym.
1897 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1898 * Makeconfig (object-suffixes-noshared): New variable.
1899
1900 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1901 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1902 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1903 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1904
d6c33fda
RM
1905 [BZ #14132]
1906 * include/sys/time.h (__gettimeofday): Remove macro.
1907 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1908 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1909 Remove INTDEF.
1910 (__gettimeofday): Add libc_hidden_def.
1911 (gettimeofday): Add libc_hidden_weak.
1912 * sysdeps/mach/gettimeofday.c: Likewise.
1913 * sysdeps/posix/gettimeofday.c: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1917 (__gettimeofday_internal): Remove strong_alias.
1918 (__gettimeofday): Add libc_hidden_def.
1919 (gettimeofday): Add libc_hidden_weak.
1920 * sysdeps/unix/syscalls.list (gettimeofday):
1921 Remove __gettimeofday_internal alias.
1922
b5a2bbe6
L
19232012-05-24 Daniel Jacobowitz <drow@false.org>
1924 H.J. Lu <hongjiu.lu@intel.com>
1925
1926 [BZ #12495]
1927 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1928 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1929 (largebin_index_32_big): New.
1930 (largebin_index): Use it for 16-byte alignment.
1931 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1932 correction with front_misalign.
1933
cfba4fda
L
19342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1935
7f907421
L
1936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1938 Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1940 Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1942 Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1944 Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1946 Likewise.
1947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1948 Likewise.
1949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1952 Likewise.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1960 Likewise.
1961
cfba4fda
L
1962 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1963 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1964
80bad0cc
JM
19652012-05-24 Joseph Myers <joseph@codesourcery.com>
1966
7a25eb06
JM
1967 [BZ #10846]
1968 [BZ #14036]
1969 * math/libm-test.inc (exp_test): Add test from bug 14036.
1970 (pow_test): Add test from bug 10846.
1971
795405f9
JM
1972 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1973 and other flags.
1974 (special_function): Do not include flags in test name.
1975 (parse_args): Likewise.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1978 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1979 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1981
80bad0cc
JM
1982 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1983 exceptions.
1984 * math/libm-test.inc ("Philosophy"): Update comment about
1985 exception testing.
1986 (UNDERFLOW_EXCEPTION): New macro.
1987 (UNDERFLOW_EXCEPTION_OK): Likewise.
1988 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1989 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1990 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1991 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1992 (INVALID_EXCEPTION_OK): Update value.
1993 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1994 (OVERFLOW_EXCEPTION_OK): Likewise.
1995 (IGNORE_ZERO_INF_SIGN): Likewise.
1996 (test_exceptions): Handle underflow exceptions.
1997 (acos_test): Update for underflow exception expectations.
1998 (cexp_test): Likewise.
1999 (clog_test): Likewise.
2000 (clog10_test): Likewise.
2001 (csqrt_test): Likewise.
2002 (ctan_test): Likewise.
2003 (ctanh_test): Likewise.
2004 (exp_test): Likewise.
2005 (exp10_test): Likewise.
2006 (exp2_test): Likewise.
2007 (expm1_test): Likewise.
2008 (fma_test): Likewise.
2009 (j0_test): Likewise.
2010 (jn_test): Likewise.
2011 (nexttoward_test): Likewise.
2012 (pow_test): Likewise.
2013 (scalbn_test): Likewise.
2014 (scalbln_test): Likewise.
2015 (tan_test): Likewise.
2016 (y1_test): Likewise.
2017 * sysdeps/i386/fpu/libm-test-ulps: Update.
2018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2019
9e0e3d0b
DM
20202012-05-23 David S. Miller <davem@davemloft.net>
2021
2022 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2023 (__libc_sigaction): Remove unused local variables.
2024
ccd0a08f
L
20252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2028
62bdf9a6
PE
20292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2030
f8591f80
PE
2031 mktime: avoid signed integer overflow
2032 * time/mktime.c (__mktime_internal): Do not mishandle the case
2033 where diff == INT_MIN.
2034
94c7d826
PE
2035 mktime: simplify computation of average
2036 * time/mktime.c (ranged_convert): Use new time_t_avg function
2037 instead of rolling our own (probably-slower) code.
2038
ce73d683
PE
2039 mktime: do not assume signed right shift propagates sign bit
2040 * time/mktime.c (isdst_differ): New static function.
2041 (__mktime_internal): No need to normalize tm_isdst now.
2042 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2043 tm_isdst values.
2044
72a22e59
PE
2045 mktime: merge another wrapv change from gnulib
2046 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2047 from some compilers.
2048
68605433
PE
2049 mktime: remove incorrect attempt at unusual arithmetics
2050 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2051 The code didn't really work on such machines anyway.
2052 (TYPE_MINIMUM): Assume two's complement.
2053 (twos_complement_arithmetic): Verify that long_int and time_t
2054 are two's complement (or unsigned, in the latter case).
2055
03cf7fe3
PE
2056 mktime: check signed shifts on long_int and time_t, too
2057 * time/mktime.c (SHR): Check that shifts work as desired
2058 on the types long_int and time_t too, as SHR is used on
2059 such types.
2060
f04dfbc2
PE
2061 mktime: do not assume 'long' is wide enough
2062 * time/mktime.c (verify): Move decl up.
2063 (long_int): New type.
2064 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2065 to remove assumption in the code that 'long' is wide enough to
2066 store year values. This assumption is not true on x32 and on
2067 some non-glibc platforms.
2068
62bdf9a6
PE
2069 mktime: merge wrapv change from gnulib
2070 * time/mktime.c (WRAPV): New macro.
2071 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2072 (guess_time_tm, __mktime_internal): Do not assume that signed
2073 integer overflow wraps around; modern compilers generate code
2074 where this assumption is no longer valid.
2075
5e292e4f
L
20762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2079 Replace "jmp L(pseudo_end)" with "ret".
2080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2081 Likewise.
2082
8caf8c87
AJ
20832012-05-23 Andreas Jaeger <aj@suse.de>
2084
2085 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2086 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2087
1a09dc56
AJ
20882012-05-23 Andreas Jaeger <aj@suse.de>
2089 Maximilian Attems <max@stro.at>
2090
2091 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2092 New macros.
2093
1c87aba0
L
20942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2097 code so that pseudo_end is just ret and the stack pointer is
2098 correct also for static library in error case.
2099
40e45bd5
JM
21002012-05-23 Joseph Myers <joseph@codesourcery.com>
2101
c2670533
JM
2102 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2103 move to syscalls.list.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2108
40e45bd5
JM
2109 * manual/install.texi (Running make install): Do not mention Linux
2110 kernel version for which pt_chown is not needed.
2111 (Linux): Do not mention problems with nscd with 2.0 kernels.
2112 * INSTALL: Regenerated.
2113
be08eda5
AJ
21142012-05-23 Andreas Jaeger <aj@suse.de>
2115
2116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2117 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2118 macro.
2119 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2120 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2121 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2122 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2123 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2129 * sysdeps/unix/sysv/linux/bits/in.h
2130 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2131
a6a056bb
RM
21322012-05-22 Roland McGrath <roland@hack.frob.com>
2133
2134 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2135 (PREPARE_VERSION): Just use assert instead, it will be elided
2136 under [NDEBUG] anyway.
2137
c9009328
L
21382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/unix/sysv/linux/Makefile: Include
2141 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2142 (sysdep_routines): Remove sysctl.
c9009328
L
2143 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2144 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2145 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2147 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2148
73338355
AJ
21492012-05-22 Andreas Jaeger <aj@suse.de>
2150
2151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2152 that pseudo_end is just ret and the stack pointer is correct also
2153 for static library in error case.
2154
d44638b0
PP
21552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2156
2157 [BZ #14122]
2158 * nss/nsswitch.c (defconfig_entries): New variable.
2159 (__nss_database_lookup): Don't leak defconfig entries.
2160 (nss_parse_service_list): Don't leak on error paths.
2161 (free_database_entries): New function.
2162 (free_defconfig): New function.
2163 (free_mem): Move common code to free_database_entries.
2164
31a39bd8
L
21652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2166
da0331a8
L
2167 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2168 Add arch_prctl.
2169 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2170
31a39bd8
L
2171 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2172 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2174 New macro.
2175 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2176 (INTERNAL_SYSCALL_TYPES): Likewise.
2177 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2178 (LOAD_REGS_TYPES_[1-6]): Likewise.
2179 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2180 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2181
45470df3
AZ
21822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2183
2184 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2185 copysignl for GLIBC_2_0.
2186 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2187 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2189 logbl for GLIBC_2_0.
2190 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2191 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2192
98a61bcb
L
21932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2194
a4f6e481
L
2195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2196 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2197
f63d5db6
L
2198 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2199 Use "neg %eax".
2200
98a61bcb
L
2201 * time/mktime.c: Update copyright years.
2202
95770f14
PE
22032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2204
6226efbd
PE
2205 mktime: merge comment-quoting-style change from gnulib
2206 * time/mktime.c: Quote 'like this' in comments.
2207 The GNU coding standards suggest that we no longer quote `like this',
2208 as "`" and "'" are typically rendered asymmetrically nowadays.
2209 The typical gnulib style is to quote 'like this' when quoting
2210 code, and "like this" when quoting English.
2211
b99e4f78
PE
2212 * time/mktime.c (compile-command): Add "-I.".
2213
643e01e6
PE
2214 mktime: merge mktime-internal.h change from gnulib
2215 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2216
2554247d
PE
2217 mktime: merge time_r change from gnulib
2218 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2219
826dd0ab
PE
2220 mktime: merge DEBUG change from gnulib
2221 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2222 case system <time.h> has a #define.
2223
bd83aabe
PE
2224 mktime: merge <sys/types.h> change from gnulib
2225 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2226 since <time.t> is now guaranteed to define time_t.
2227
95770f14
PE
2228 mktime: merge HAVE_CONFIG_H change from gnulib
2229 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2230
5e1a27a9
L
22312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2232
0e44a77e
L
2233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2234 Use "neg %eax".
2235
5e1a27a9
L
2236 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2237 __rlim_t cast.
2238 (struct rusage): Use anonymous union to pad each field to
2239 __syscall_slong_t.
2240
46259bec
DM
22412012-05-21 David S. Miller <davem@davemloft.net>
2242
2243 * Makefules (o-iterator): Remove .s cases.
2244 (compile-command.s): Delete.
2245 (COMPILE.s): Delete.
2246 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2247
59f0c22e
JM
22482012-05-21 Joseph Myers <joseph@codesourcery.com>
2249
2250 * configure.in (libc_cv_predef_stack_protector): Only consider
2251 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2252 * configure: Regenerated.
2253
20c07380
L
22542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2255
bbb3154b
L
2256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2257 New macro. Use R*LP on int and pointer.
2258 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2259 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2261 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2262
20c07380
L
2263 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2264 [__WORDSIZE_TIME64_COMPAT32] instead of
2265 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2266 (struct utmp): Likewise.
2267 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2268 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2269 Renamed to ...
2270 (__WORDSIZE_TIME64_COMPAT32): This.
2271 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2272 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2273 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2275 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2276 (__WORDSIZE_TIME64_COMPAT32): New macro.
2277
d8d1017e
AJ
22782012-05-21 Andreas Jaeger <aj@suse.de>
2279
2280 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2281 only if [SHARED]. Add prototype for __wcschr_ia32.
2282
6c7fb145
RM
22832012-05-21 Roland McGrath <roland@hack.frob.com>
2284
2285 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2286 of %rbp unmolested in the jmp_buf while mangling the low bits.
2287 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2288 unmolested high bits of %rbp while demangling the low bits.
2289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2290
66274218
AJ
22912012-05-21 Andreas Jaeger <aj@suse.de>
2292
07c58f8f
AJ
2293 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2294 * sunrpc/svc_simple.c: Use it for registerrpc.
2295 * sunrpc/xcrypt.c: Use it for passwd2des.
2296
66274218
AJ
2297 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2298
61f65140
L
22992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2302 Don't define if [__SYSCALL_WORDSIZE != 32].
2303 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2304 New macro.
2305
5fefb436
AJ
23062012-05-21 Bruno Haible <bruno@clisp.org>
2307 Andreas Jaeger <aj@suse.de>
2308
2309 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2310 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2311 inptr and inend for must_buffer_ch.
2312 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2313 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2314 * stdio-common/Makefile (tests): Remove bug15.
2315 (bug15-ENV): Remove macro.
2316 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2317 anymore.
2318
d8e272ab
AJ
23192012-05-19 Andreas Jaeger <aj@suse.de>
2320 Roland McGrath <roland@hack.frob.com>
2321
2322 * manual/contrib.texi: Completely rewritten. It contains now an
2323 alphabetical list of contributors and their contributions.
2324
4a56a162
RH
23252012-05-21 Richard Henderson <rth@twiddle.net>
2326
2327 * misc/getauxval.c (__getauxval): Use unsigned long int.
2328 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2329 (getauxval): Use unsigned long int.
2330
d024d23c
L
23312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2334
cbc00a03
RM
23352012-05-21 Roland McGrath <roland@hack.frob.com>
2336
2337 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2338 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2339 __alignof__ (long double).
2340
478143fa
AZ
23412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342
2343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2344
c7683a6d
RH
23452012-05-20 Richard Henderson <rth@twiddle.net>
2346
2347 * misc/getauxval.c: New file.
2348 * misc/sys/auxv.h: New file.
2349 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2350 (routines): Add getauxval.
2351 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2352 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2353 * elf/dl-sysdep.c (_dl_auxv): Remove.
2354 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2355 * elf/dl-support.c (_dl_auxv): New variable.
2356 (_dl_aux_init): Initialize it.
2357 * manual/startup.texi (Auxiliary Vector): New node.
2358 * sysdeps/generic/bits/hwcap.h: New file.
2359 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2360 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2361 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2362 * sysdeps/sparc/sysdep.h: ... here. Include it.
2363 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2366 Update.
c7683a6d
RH
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2375
a6f1845d
AZ
23762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377
2378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2379
cbcbe830
DM
23802012-05-19 David S. Miller <davem@davemloft.net>
2381
2382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2383
e0b16cc2
JM
23842012-05-19 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #14123]
2387 * math/s_ccosh.c: Include <float.h>
2388 (__ccosh): Avoid internal overflow calculating sinh and cosh
2389 values before multiplying by sin and cos values.
2390 * math/s_ccoshf.c: Likewise.
2391 * math/s_ccoshl.c: Likewise.
2392 * math/s_csin.c: Likewise.
2393 * math/s_csinf.c: Likewise.
2394 * math/s_csinl.c: Likewise.
2395 * math/s_csinh.c: Likewise.
2396 * math/s_csinhf.c: Likewise.
2397 * math/s_csinhl.c: Likewise.
2398 * math/libm-test.inc (ccos_test): Add more tests.
2399 (ccosh_test): Likewise.
2400 (csin_test): Likewise.
2401 (csinh_test): Likewise.
2402 * sysdeps/i386/fpu/libm-test-ulps: Update.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2404
6ad13e08
L
24052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2406
f66f0ce8
L
2407 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2408 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2409
6ad13e08
L
2410 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2411
b1d072a7
JM
24122012-05-19 Joseph Myers <joseph@codesourcery.com>
2413
2414 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2415 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2416 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2417 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2418 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2419 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2420 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2421 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2422 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2423 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2424 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2425 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2426 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2427 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2428 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2429 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2430 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2431 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2432 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2433 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2434 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2435 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2436 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2437 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2438 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2439 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2440 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2441 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2442 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2443 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2444 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2445
9eae47cb
AJ
24462012-05-18 Andreas Jaeger <aj@suse.de>
2447
2448 * csu/.gitignore: Delete.
2449
bb07f69f
L
24502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2453 (timex): Use __syscall_slong_t.
2454
e6bdb741
AJ
24552012-05-18 Andreas Jaeger <aj@suse.de>
2456 Carlos O'Donell <carlos_odonell@mentor.com>
2457
2458 * manual/install.texi (Configuring and compiling): Update
2459 description about files modified in the source directory.
d6c33fda 2460 * INSTALL: Regenerated.
e6bdb741 2461
1b74487e
L
24622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2465 value. Use "or" to set return value to -1.
2466 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2467 negate return value.
2468
a88b64b9
TMQMF
24692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2470
2471 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2472 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2473 failure if the compiler has Graphite support disabled.
2474 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2475 Likewise.
2476 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2477 CFLAGS-memmove.c): Likewise.
2478 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2479 Likewise.
2480
3707636e
L
24812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2482
610b8622
L
2483 * sysdeps/x86_64/x32/_itoa.h: New file.
2484
7cd195df
L
2485 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2486 getdents system call only if kernel and user dirents have the
2487 same d_ino and d_off.
2488
94b07d20
L
2489 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2490 LLONG_MAX != LONG_MAX.
2491 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2492 (_fitoa_word): Likewise.
2493
18298070
L
2494 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2495 years.
2496 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2498 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2499
553c7ea4
L
2500 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2501 include <bits/wordsize.h>. Check __x86_64__ instead of
2502 __WORDSIZE.
2503 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2504 if __x86_64__ is defined. Use anonymous union on fpstate.
2505
3707636e
L
2506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2507 anonymous union.
2508
b53ef01a
AS
25092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2510
37fb1dc0
AS
2511 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2512 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2513 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2514 Refer to _rtld_local_ro instead of _rtld_global_ro.
2515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2516 Likewise.
2517 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2518 Likewise.
2519 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2520 Likewise.
2521 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2522 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2523 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2524
b53ef01a
AS
2525 * sysdeps/powerpc/powerpc32/dl-machine.c
2526 (__elf_machine_runtime_setup) [PROF]: Don't reference
2527 _dl_prof_resolve.
2528
7a185db2
AJ
25292012-05-18 Andreas Jaeger <aj@suse.de>
2530
2531 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2532 function only available for GCCs before 3.4 since GCC 3.4
2533 introduced a builtin.
2534 (lrint): Likewise.
2535 (llrintf): Likewise.
2536 (llrint): Likewise.
2537 (fmaxf): Likewise.
2538 (fmax): Likewise.
2539 (fminf): Likewise.
2540 (fmin): Likewise.
2541 (rint): Likewise.
2542 (rintf): Likewise.
2543 (nearbyint): Likewise.
2544 (nearbyintf): Likewise.
2545 (ceil): Likewise.
2546 (ceilf): Likewise.
2547 (floor): Likewise.
2548 (floorf): Likewise.
2549
3e5aef87
L
25502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2551
428bd707
L
2552 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2553 on both fields and cast pointer to __syscall_ulong_t.
2554
3e5aef87
L
2555 * bits/types.h (__fsword_t): New type.
2556 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2557 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2558 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2559 (__FSWORD_T_TYPE): Likewise.
2560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2561 (__FSWORD_T_TYPE): Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2563 (__FSWORD_T_TYPE): Likewise.
2564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2565 (__FSWORD_T_TYPE): Likewise.
2566 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2567 __SWORD_TYPE with __fsword_t.
2568 (statfs64): Likewise.
2569
1ba7c3dc
DM
25702012-05-17 David S. Miller <davem@davemloft.net>
2571
2572 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2573
59910343
AJ
25742012-05-17 Andreas Jaeger <aj@suse.de>
2575
2576 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2577 warning.
2578
2e4c1e9e
L
25792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2580
2581 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2582
de7f5ce7
AJ
25832012-05-17 Andreas Jaeger <aj@suse.de>
2584
2585 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2586 when it is used.
2587
286abc3d
CM
25882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2589
2590 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2591
477cc68e
L
25922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2593
2594 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2595 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2596
1a0994f5
CD
25972012-05-17 Andreas Jaeger <aj@suse.de>
2598 Carlos O'Donell <carlos_odonell@mentor.com>
2599
2600 [BZ #14059]
2601 * sysdeps/x86_64/multiarch/init-arch.h
2602 (bit_YMM_Usable): Rename to...
2603 (bit_AVX_Usable): ... this.
2604 (bit_FMA4_Usable): New macro.
2605 (bit_XMM_state): New macro.
2606 (bit_YMM_state): New macro.
2607 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2608 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2609 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2610 (CPUID_OSXSAVE): New macro.
2611 (CPUID_AVX): New macro.
2612 (CPUID_FMA4): New macro.
2613 (index_YMM_Usable): Rename to...
2614 (index_AVX_Usable): ... this.
2615 (HAS_AVX): Use HAS_ARCH_FEATURE.
2616 (HAS_FMA4): Likewise.
2617 (HAS_YMM_USABLE): Remove.
2618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2619 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2620 are present.
2621 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2622 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2623 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2624 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2625 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2626
0af797de
CM
26272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2628
2629 * math/libm-test.c: Support platforms without multiple rounding modes.
2630 * math/bug-nextafter.c: Support platforms without FP exceptions.
2631 * math/bug-nexttoward.c: Likewise.
2632 * math/test-fenv.c: Likewise.
2633 * math/test-misc.c: Likewise.
2634 * stdlib/bug-getcontext.c: Likewise.
2635
e39745ff
AJ
26362012-05-17 Andreas Jaeger <aj@suse.de>
2637
2638 * manual/examples/search.c (critter_cmp): Change signature to
2639 avoid warnings.
2640 * manual/string.texi (Collation Functions): Likewise.
2641
48970aba
L
26422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * bits/types.h: Fold copyright years.
2645 * bits/typesizes.h: Likewise.
2646 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2650 * time/time.h: Likewise.
2651
bedee953
PP
26522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2653
2654 [BZ #208]
2655 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2656 in instead of returning them. Return void.
2657 (__libc_mallinfo): Accumulate over all arenas.
2658 (__malloc_stats): Adjust for change in int_mallinfo interface.
2659
61653dfb
RM
26602012-05-16 Roland McGrath <roland@hack.frob.com>
2661
30b99d79
RM
2662 [BZ #10375]
2663 * configure.in (NM): Add AC_CHECK_TOOL for it.
2664 (libc_extra_cflags): New substituted variable.
2665 Check for -fstack-protector being used implicitly.
2666 * configure: Regenerated.
2667 * config.make.in (config-extra-cflags): New variable,
2668 gets @libc_extra_cflags@.
2669 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2670
61653dfb
RM
2671 [BZ #10375]
2672 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2673 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2674 * configure: Regenerated.
2675 * config.make.in (CPPUNDEFS): New substituted variable.
2676 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2677 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2678 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2679
661768bb
L
26802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2683 (mq_attr): Use __syscall_slong_t.
2684
d4261567
L
26852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2688 Check __x86_64__ instead of __WORDSIZE.
2689 (_STAT_VER_LINUX): Likewise.
2690 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2691 __syscall_ulong_t and __syscall_slong_t.
2692 (stat64): Likewise.
2693
cf3ff365
L
26942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2697
76cf3e4d
L
26982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2699
2700 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2701
a637753a
L
27022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2705 __syscall_ulong_t.
2706
d5e05119
L
2707 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2708 include <bits/wordsize.h>. Check __x86_64__ instead of
2709 __WORDSIZE.
2710 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2711 defined.
2712 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2713
f62ee380
L
2714 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2715 include <bits/wordsize.h>. Check __x86_64__ instead of
2716 __WORDSIZE.
2717 (user_regs_struct): Use "__extension__ unsigned long long"
2718 instead of "unsigned long" if __x86_64__ is defined.
2719 (user): Likewise. Pad after pointer field if __ILP32__ is
2720 defined.
2721
4e124ced
JM
27222012-05-16 Joseph Myers <joseph@codesourcery.com>
2723
6a3951a0
JM
2724 * configure.in (makeinfo): Require version 4.5 or later. Allow
2725 versions 5 to 9.
2726 * configure: Regenerated.
2727 * manual/install.texi (texinfo): Increase version requirement to
2728 4.5 or later.
2729 * INSTALL: Regenerated.
2730
4e124ced
JM
2731 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2732
953ca31a
L
27332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2736
617aca05
L
2737 * sysdeps/x86_64/x32/ffs.c: New file.
2738
5762f7ae
L
2739 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2740 __syscall_ulong_t.
2741 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2742 defined. Use __syscall_ulong_t.
2743 (shminfo): Use __syscall_ulong_t.
2744 (shm_info): Likewise.
2745
a26b6856
L
2746 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2747 __syscall_ulong_t.
2748
cb2b9ef7
L
2749 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2750 <bits/wordsize.h>.
2751 (msgqnum_t): Use __syscall_ulong_t.
2752 (msglen_t): Likewise.
2753 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2754 __syscall_ulong_t.
2755
34683bb0
L
2756 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2757 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2758
84a68786
L
2759 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2760
48baa5f1
L
2761 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2762 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2763
180be88b
L
2764 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2765 __syscall_slong_t.
2766
5e90c8ad
L
2767 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2768 include <bits/wordsize.h>. Check __x86_64__ instead of
2769 __WORDSIZE.
2770
23dfb58b
L
2771 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2772 "unsigned long long int" if __x86_64__ is defined.
2773 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2774
ce5d54b0
L
2775 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2776 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2777 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2778
13dc9eac
L
2779 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2780 <stdint.h>.
2781 (GET_PC): Cast to uintptr_t first.
2782 (GET_FRAME): Likewise.
2783 (GET_STACK): Likewise.
2784
a7895d15
L
2785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2796 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2798 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2804 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2812 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2814
656416c9
AS
28152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2816
5bd66283
AS
2817 * Makerules (+depfiles): Also collect depfiles from .oS in
2818 $(extra-objs).
2819 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2820 .oS, $(libnldbl-routines)).
2821
656416c9
AS
2822 * Makerules (native-compile-mkdep-flags): Define.
2823 * sunrpc/Makefile (extra-objs): Add $(addprefix
2824 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2825 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2826 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2827 calling $(make-target-directory).
2828
a46f2169
L
28292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * bits/types.h (__snseconds_t): Removed.
2832 * time/time.h (struct timespec): Replace __snseconds_t with
2833 __syscall_slong_t.
2834 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2835 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2836 Likewise.
2837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2838 (__SNSECONDS_T_TYPE): Likewise.
2839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2840 (__SNSECONDS_T_TYPE): Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2842 (__SNSECONDS_T_TYPE): Likewise.
2843
6af6528b
L
28442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * sysdeps/mach/hurd/bits/typesizes.h
2847 (__SYSCALL_SLONG_TYPE): New macro.
2848 (__SYSCALL_ULONG_TYPE): Likewise.
2849
de986b56
L
28502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 * bits/types.h (__syscall_slong_t): New type.
2853 (__syscall_ulong_t): Likewise.
2854
2855 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2856 (__SYSCALL_ULONG_TYPE): Likewise.
2857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2858 (__SYSCALL_SLONG_TYPE): Likewise.
2859 (__SYSCALL_ULONG_TYPE): Likewise.
2860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2861 (__SYSCALL_SLONG_TYPE): Likewise.
2862 (__SYSCALL_ULONG_TYPE): Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2864 (__SYSCALL_SLONG_TYPE): Likewise.
2865 (__SYSCALL_ULONG_TYPE): Likewise.
2866
85736dc7
L
28672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2868
2869 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2870 Add sigaltstack-offsets.sym.
2871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2872 <sigaltstack-offsets.h>.
2873 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2874 longjmp_msg pointer.
2875 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2876 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2877 signal stack.
2878 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2879
cc03b296
JM
28802012-05-15 Joseph Myers <joseph@codesourcery.com>
2881
a9538892
JM
2882 * elf/stackguard-macros.h: Remove file.
2883 * sysdeps/generic/stackguard-macros.h: New file.
2884 * sysdeps/i386/stackguard-macros.h: Likewise.
2885 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2886 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2887 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2888 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2889 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2890 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2891 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2892 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2893 <elf/stackguard-macros.h>.
2894
cc03b296
JM
2895 [BZ #14109]
2896 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2897 __aligned__ in attribute.
2898 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2899 (gregset_t): Likewise.
2900
93171016
L
29012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2904 * sysdeps/x86_64/64/Implies-after: Here. New file.
2905 * sysdeps/x86_64/x32/Implies-after: New file.
2906
d86813a0
L
29072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2910 and access return value for _dl_profile_fixup. Use R10_LP to
2911 load frame size.
2912
2953ec75
L
29132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2914
2915 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2916
3b550e9e
L
29172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2920 * sysdeps/x86_64/x32/sysdep.h: New file.
2921
eda41706
L
29222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2925 * sysdeps/x86_64/setjmp.S: Likewise.
2926
9ea01d93
AZ
29272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928
2929 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2930 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2931 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2933 remove unused global constant.
2934
02a91938
CM
29352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2936
2937 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2938 include of <not-cancel.h>.
2939
6540185f
RM
29402012-05-15 Roland McGrath <roland@hack.frob.com>
2941
2942 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2943
509072a0
AJ
29442012-05-15 Jeff Law <law@redhat.com>
2945 Andreas Jaeger <aj@suse.de>
2946
2947 [BZ #13594]
2948 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2949 out from...
2950 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2951 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2952 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2953 code changing __hst_map_handle.map.
2954
ba75122d
RM
29552012-05-15 Roland McGrath <roland@hack.frob.com>
2956
2957 * configure.in (sysnames): Look for Implies-before and Implies-after
2958 files.
2959 * configure: Regenerated.
2960
890d8bd8
L
29612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2962
2963 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2964 8-byte data alignment with LP_SIZE alignment.
2965
f6ee6623
L
29662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2967
2968 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2969 into R10_LP.
2970
ea2626f6
L
29712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2974
085f715e
L
29752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2978 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2979 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2980 Likewise.
2981 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2982
be8498fc
L
29832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2986 (stackinfo_sub_sp): Likewise.
2987
70bc83b9
L
29882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2989
2990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2991 RAX_LP.
2992
9bc0b730
L
29932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2994
2995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2996 into R*_LP.
2997
6d2850e7
L
29982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3001 sizes into R*_LP.
3002
3cb84561
L
30032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3006
54e2ed81
L
30072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3008
3009 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3010 into R11_LP and load __x86_64_shared_cache_size_half into
3011 R8_LP.
3012
8a17f349
L
30132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3016 R8_LP.
3017
777b1eea
AZ
30182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
3020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3021 logb for POWER7.
3022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3023 logbf for POWER7.
3024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3025 logbl for POWER7.
3026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3027 powerpc32/power7/fpu/s_logb.c via #include.
3028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3029 powerpc32/power7/fpu/s_logbf.c via #include.
3030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3031 powerpc32/power7/fpu/s_logbl.c via #include.
3032
d20d4ac2
JM
30332012-05-15 Joseph Myers <joseph@codesourcery.com>
3034
3035 * README.libm: Remove file.
3036
6cdef1ab
L
30372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3040 count for x32. Use R*_LP and omit operand-size suffix.
3041
0b254d8f
L
30422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3045 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3046 * sysdeps/x86_64/x32/shlib-versions: New file.
3047
ceb809dc
RM
30482012-05-14 Roland McGrath <roland@hack.frob.com>
3049
3050 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3051 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3052 Use _dl_fatal_printf instead.
3053
37f1abd4
JM
30542012-05-14 Joseph Myers <joseph@codesourcery.com>
3055
3056 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3057 set if not set by the user. Do not allow for being unset.
3058 * sysdeps/unix/sysv/linux/configure: Regenerated.
3059
11de3a33
L
30602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3063 the `q' suffix from lea and replace .quad with ASM_ADDR.
3064
e02f153a
L
30652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3066
3067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3068 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3069 instead of $17.
3070 (PTR_DEMANGLE): Likewise.
3071
520ae0fd
L
30722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3075 (LP_OP): Likewise.
3076 (ASM_ADDR): Likewise.
3077 (RAX_LP): Likewise.
3078 (RBP_LP): Likewise.
3079 (RBX_LP): Likewise.
3080 (RCX_LP): Likewise.
3081 (RDI_LP): Likewise.
3082 (RSI_LP): Likewise.
3083 (RSP_LP): Likewise.
3084 (R8_LP): Likewise.
3085 (R9_LP): Likewise.
3086 (R10_LP): Likewise.
3087 (R10_LP): Likewise.
3088 (R11_LP): Likewise.
3089 (R12_LP): Likewise.
3090 (R13_LP): Likewise.
3091 (R14_LP): Likewise.
3092 (R15_LP): Likewise.
3093
b985be81
L
30942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 * sysdeps/x86_64/x32/dl-machine.h: New file.
3097
6a4888ff
AJ
30982012-05-14 Andreas Jaeger <aj@suse.de>
3099
3100 * manual/Makefile (subdir): Remove export of subdir.
3101 (all): Remove target.
3102 (.PHONY): Remove all from list.
3103 (mkinstalldirs): Remove.
3104 (.PHONY): Remove installdirs from list.
3105 ($(inst_infodir)/libc.info): Use make-target-directory.
3106 (installdirs): Remove.
3107 (subdir_%): Remove.
3108 (glibc-targets): Remove.
3109 (lib): Remove.
3110 (stubs): Remove.
3111 ($(objpfx)stubs ../po/manual.pot): Remove.
3112 ($(objpfx)stamp%): Remove.
3113 (make-target-directory): Remove.
3114 (subdir_install): Remove.
3115 (routines): Remove.
3116 (aux): Remove.
3117 (sources): Remove.
3118 (objects): Remove.
3119 (headers): Remove.
3120
3121 [BZ #13750]
3122 * manual/.gitignore: Remove, it's not needed anymore.
3123 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3124 all files in it.
3125 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3126 directory.
3127 (texis): Renamed to $(objpfx)texis.
3128 (texis-path): New, contains path to generated files.
3129 (chapters.%): Use texis-path for complete path, add extra argument
3130 libc-texinfo.sh.
3131 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3132 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3133 (summary,texi, stamp-summary): Use complete path of
3134 files. Generate files in build dir.
3135 (dir-add.texi): Build in build dir.
3136 (libm-err.texi,stamp-libm-err): Likewise.
3137 (version.texi, stamp-version): Likewise.
3138 (.%c.texi): Likewise.
3139 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3140 (mostlyclean): Remove target.
3141 (realclean): Remove target.
3142 (generated): Add new variable with contents from mostlyclean and
3143 realclean, remove entries duplicated in common-mostlyclean, add
3144 stamp-libm-err and stamp-version.
3145 (generated-dirs): Add libc directory.
3146 ($(inst_infodir)/libc.info): Install files from build dir.
3147
3148 * manual/install.texi (Configuring and compiling): Adjust since
3149 the info files are not part of the tar ball anymore.
3150
7ac77294
AJ
31512012-05-14 Andreas Jaeger <aj@suse.de>
3152
3153 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3154 variable.
3155
ffb7875d
JM
31562012-05-14 Joseph Myers <joseph@codesourcery.com>
3157
3158 [BZ #13717]
3159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3160 to 2.2.0 where earlier.
3161 * sysdeps/unix/sysv/linux/configure: Regenerated.
3162 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3163 Remove conditional code.
3164 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3165 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3166 Remove conditional code.
3167 [!__NR_lchown]: Likewise.
3168 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3169 [__NR_lchown]: Likewise.
3170 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3171 comment referencing __ASSUME_LCHOWN_SYSCALL.
3172 * sysdeps/unix/sysv/linux/i386/sigaction.c
3173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3175 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3176 Remove conditional code.
3177 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3178 (__protocol_available): Remove #if 0 code.
3179 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3180 conditional code.
3181 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3182 * sysdeps/unix/sysv/linux/kernel-features.h
3183 (__ASSUME_GETCWD_SYSCALL): Don't define.
3184 (__ASSUME_REALTIME_SIGNALS): Likewise.
3185 (__ASSUME_PREAD_SYSCALL): Likewise.
3186 (__ASSUME_PWRITE_SYSCALL): Likewise.
3187 (__ASSUME_POLL_SYSCALL): Likewise.
3188 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3189 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3190 non-SPARC.
3191 (__ASSUME_SIOCGIFNAME): Don't define.
3192 (__ASSUME_MSG_NOSIGNAL): Likewise.
3193 (__ASSUME_SENDFILE): Define unconditionally.
3194 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3195 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3196 conditional code.
3197 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3198 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3199 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3200 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3201 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3202 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3203 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3228 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3229 Remove conditional code.
3230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3231 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3232 Remove conditional code.
3233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3234 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3235 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3236 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3237 Remove conditional code.
3238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3239 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3240 Remove conditional code.
3241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3242 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3243 Remove conditional code.
3244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3245 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3246 Remove conditional code.
3247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3248 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3249 Remove conditional code.
3250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3251 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3254 * sysdeps/unix/sysv/linux/sigaction.c
3255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3257 * sysdeps/unix/sysv/linux/sigpending.c
3258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3260 * sysdeps/unix/sysv/linux/sigprocmask.c
3261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3263 * sysdeps/unix/sysv/linux/sigsuspend.c
3264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3267 (__libc_missing_rt_sigs): Remove.
3268 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3269 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3270 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3271 Remove conditional code.
3272 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3273 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3274 return 1.
3275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3276 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3277 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3278 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3279
1bfb7291
AJ
32802012-05-14 Andreas Jaeger <aj@suse.de>
3281
caae5a81
AJ
3282 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3283 it's not used in glibc.
3284 (__coshm1): Likewise.
3285 (__acosh1p): Likewise.
3286 (__sgn): Likewise.
3287
1bfb7291
AJ
3288 * manual/string.texi (Copying and Concatenation): Add missing
3289 variable in concat example.
3290 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3291
c044d724
L
32922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3293
144c5467 3294 [BZ #14103]
c044d724
L
3295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3296 __builtin_clzl with __builtin_clzll.
3297
2523c62b
L
32982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 [BZ #14104]
3301 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3302 libc_freeres_ptr.
3303
d7bb4c42
LD
33042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3305
3306 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3307 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3308 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3309 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3310
9dc4e1fb
MF
33112012-05-14 Mike Frysinger <vapier@gentoo.org>
3312
3313 * NEWS: Update ia64 info.
3314
c7df0112
AS
33152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3318 used as bcopy.
3319
dc70356c
TS
33202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3321
3322 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3323 * sysdeps/unix/syscalls.list (dup3): Likewise.
3324 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3325 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3326
9fb1a21f
L
33272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3330 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3331
4822a2a5
L
33322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3335 thread pointer.
3336 (TLS_IE): Use mov/add instead of movq/addq to load thread
3337 pointer.
3338 (TLS_GD_PREFIX): New.
3339 (TLS_GD): Use it.
3340
842b81d6
DM
33412012-05-11 David S. Miller <davem@davemloft.net>
3342
3343 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3344 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3345 (_FPU_SETCW): Likewise.
3346
1cf463cd
L
33472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3350 is 32-byte aligned.
3351
60cc4a18
AS
33522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3353
3354 [BZ #11837]
3355 * iconvdata/gb18030.c: Update tables.
3356 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3357 characters specially.
3358 (BODY for TO_LOOP): Add encoding of missing ranges.
3359
febb44a4
TS
33602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3361
3362 [BZ #13673]
3363 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3364 * sysdeps/mach/hurd/dup3.c: Likewise.
3365 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3366 * sysdeps/powerpc/memmove.c:: Likewise.
3367
0a10fb9e
L
33682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3369
3370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3371 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3372
df8a552f
L
33732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3374
3375 * elf/elf.h (R_X86_64_RELATIVE64): New.
3376 (R_X86_64_NUM): Updated.
3377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3378 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3379 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3380 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3381 tst-quad1pie tst-quad2pie
3382 (modules-names): Add tst-quadmod1 tst-quadmod2.
3383 ($(objpfx)tst-quad1): New dependency.
3384 ($(objpfx)tst-quad2): Likewise.
3385 ($(objpfx)tst-quad1pie): Likewise.
3386 ($(objpfx)tst-quad2pie): Likewise.
3387 * sysdeps/x86_64/tst-quad1.c: New file.
3388 * sysdeps/x86_64/tst-quad1pie.c: New file.
3389 * sysdeps/x86_64/tst-quad2.c: Likewise.
3390 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3391 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3392 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3393 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3394 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3395
f34d6f84
ST
33962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3397
f42d41d1
ST
3398 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3399 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3400 * streams/stropts.h (t_scalar_t): Define type.
3401
3c3571fc
ST
3402 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3403 (_PATH_PRESERVE): Set to "/var/lib".
3404 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3405
61f06bd3
ST
3406 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3407 instead of int.
3408
918d4d71
ST
3409 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3410 if __dir_mkfile succeeded.
3411
f34d6f84
ST
3412 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3413 checking for _hurd_dtablesize. Unlock it right after having
3414 finished _hurd_dtable allocation.
3415
10589b4a
TS
34162012-05-10 Thomas Schwinge <thomas@schwinge.name>
3417
674cdbc7
TS
3418 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3419 * sysdeps/mach/hurd/configure: Regenerated.
3420 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3421 special-casing to...
3422 * sysdeps/gnu/configure.in: ... this new file.
3423 * sysdeps/unix/sysv/linux/configure: Regenerated.
3424 * sysdeps/gnu/configure: New generated file.
3425
8e41b99f
TS
3426 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3427 for Linux: use nsec instead of usec, as well as:
3428 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3429 members of type struct timespec.
3430 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3431 New macros.
3432 (struct stat64): Likewise.
3433 (_STATBUF_ST_NSEC): New macro.
3434 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3435
10589b4a
TS
3436 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3437 __strtoul_internal rather than strtoul.
3438
63643c85
PT
34392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3440
3441 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3442 and reject them.
3443
3faebe6a
ST
34442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3445
3446 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3447 which preserves existing values.
3448 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3449
c6474b07
PT
34502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3451
3452 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3453 TIMEOUT values. Return EINVAL for NFDS values either negative or
3454 greater than FD_SETSIZE.
3455
1043890b
ST
34562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3457
3458 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3459 allocated, call __vm_protect to finish enabling the existing space, and
3460 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3461 allocate the remainder.
3462
37ed8b9b
PT
34632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3464
3465 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3466 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3467
db653660
ST
34682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3469
37ed8b9b
PT
3470 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3471 sysdeps/mach/hurd/readlink.c.
b29d4053 3472
db653660
ST
3473 * posix/tst-sysconf.c (posix_options): Only use
3474 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3475 _POSIX_SYNCHRONIZED_IO when they are defined
3476 * sysdeps/mach/hurd/bits/posix_opt.h:
3477 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3478 (_XOPEN_REALTIME): Undefine macro.
3479 (_XOPEN_REALTIME_THREADS): Undefine macro.
3480 (_XOPEN_SHM): Undefine macro.
3481 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3482 macro to -1.
3483 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3484 macro to -1.
3485 (_POSIX_ASYNC_IO): Undefine macro.
3486 (_POSIX_PRIORITIZED_IO): Undefine macro.
3487 (_POSIX_SPIN_LOCKS): Define macro to -1.
3488
ee16e894
ST
3489 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3490 SA_NODEFER, SA_RESETHAND.
3491 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3492 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3493 F_DUPFD_CLOEXEC.
3494
6103ae3b
TS
34952012-05-10 Thomas Schwinge <thomas@schwinge.name>
3496
3497 * elf/Makefile (pldd-modules): Define unconditionally.
3498
80b4e5f3
TS
34992012-05-10 Thomas Schwinge <thomas@schwinge.name>
3500
3501 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3502
edadcbd6
ST
35032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3504
3505 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3506 Return ENOENT when name is empty.
3507 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3508
80694780
TS
35092012-05-10 Thomas Schwinge <thomas@schwinge.name>
3510
1792c087
TS
3511 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3512
80694780
TS
3513 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3514
6b645f0d
ST
35152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3516
80694780
TS
3517 Fix mlock in all cases except non-readable pages.
3518 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3519 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3520
6b645f0d
ST
3521 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3522 (__mkdir): When path is `/', just fail with EEXIST.
3523 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3524
e468f8a3
TS
35252012-05-10 Thomas Schwinge <thomas@schwinge.name>
3526
3527 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3528 <sys/uio.h> (for writev).
3529 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3530 and <sys/param.h> (for MIN).
3531
a4186cff
PT
35322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3533
3534 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3535 REQUESTED_TIME. Properly set the remaining time and return EINTR
3536 if interrupted.
3537
510bbf14
TS
35382012-05-10 Thomas Schwinge <thomas@schwinge.name>
3539
3540 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3541 Depend on against $(link-rpcuserlibs).
3542
5d5722e8
ST
35432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3544
a4186cff
PT
3545 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3546 (__libc_stack_end): Do not use attribute_relro.
3547 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3548 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3549 to libthread-provided value.
a4186cff
PT
3550 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3551 attribute_relro.
5d5722e8 3552
37233df9
TS
35532012-05-10 Thomas Schwinge <thomas@schwinge.name>
3554
be971a2b
TS
3555 [BZ #3748]
3556 * bits/libc-lock.h (__libc_once_get): New macro.
3557 * sysdeps/mach/bits/libc-lock.h: Likewise.
3558 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3560 instead of using implementation details.
3561
37233df9
TS
3562 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3563 * libio/freopen.c: Likewise.
3564 * libio/freopen64.c: Likewise.
3565 * misc/syslog.c: Likewise.
3566 * nscd/connections.c: Likewise.
3567 * nscd/netgroupcache.c: Likewise.
3568 * sysdeps/posix/getcwd.c: Likewise.
3569
38de94a5
RM
35702012-05-10 Roland McGrath <roland@hack.frob.com>
3571
3572 * math/w_ilogbf.c: Add #include <limits.h>.
3573
67530489
ST
35742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3575
a4186cff 3576 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3577 path instead of returning without unlocking.
3578
67530489
ST
3579 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3580 immediate-write ioctls.
3581 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3582
5aa3a74a
TS
35832012-05-10 Thomas Schwinge <thomas@schwinge.name>
3584
18bad2ae
TS
3585 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3586 __builtin_frame_address instead of making assumptions about the
3587 location of the return address relative to DATA. Force early load of
3588 the return address.
3589 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3590 __builtin_frame_address.
3591
5aa3a74a
TS
3592 dup3 for GNU Hurd.
3593 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3594 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3595 implement dup3 and do some further code clean-ups.
3596 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3597 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3598
ecd0de9a
ST
35992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3600
cd9fa985
ST
3601 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3602
a4186cff
PT
3603 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3604 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3605 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3606 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3607 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3608 d->port.lock.
802ca5a5 3609
a4186cff
PT
3610 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3611 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3612 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3613
bcf55240
TS
36142012-05-10 Thomas Schwinge <thomas@schwinge.name>
3615
6960eb42
TS
3616 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3617 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3618 definitions.
3619
eb43375f
TS
3620 accept4 for GNU Hurd.
3621 * include/sys/socket.h (__libc_accept4): New prototype.
3622 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3623 to implement __libc_accept4.
3624 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3625 __libc_accept4.
3626 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3627
bcf55240
TS
3628 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3629 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3630 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3631 signal-defines.sym.
3632
6178c55b
ST
36332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3634
a4186cff 3635 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3636
6f080c2f
TS
36372012-05-10 Thomas Schwinge <thomas@schwinge.name>
3638
3639 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3640 assertion on O_CLOEXEC flag.
3641 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3642 * hurd/intern-fd.c: Likewise.
3643 * hurd/port2fd.c: Likewise.
3644
bcfe3a54
ST
36452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3646
3647 [BZ #3906]
3648 * bits/in.h (IPV6_PKTINFO): Define new macro.
3649 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3650
89c9aa49
AZ
36512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
3653 [BZ #13954]
3654 [BZ #13955]
3655 [BZ #13956]
3656 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3657 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3658 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3659 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3662 * math/libm-test.inc (logb_test) : Additional logb tests.
3663
021db4be
AJ
36642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3665 Andreas Jaeger <aj@suse.de>
3666
3667 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3668 * configure: Regenerated.
3669 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3670 * config.make.in (link-obsolete-rpc): New substituted variable.
3671 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3672 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3673 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3674 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3675 so that libc.a contains the symbols.
3676 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3677 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3678 * sunrpc/auth_none.c: Likewise.
3679 * sunrpc/auth_unix.c: Likewise.
3680 * sunrpc/authdes_prot.c: Likewise.
3681 * sunrpc/authuxprot.c: Likewise.
3682 * sunrpc/clnt_gen.c: Likewise.
3683 * sunrpc/clnt_perr.c: Likewise.
3684 * sunrpc/clnt_raw.c: Likewise.
3685 * sunrpc/clnt_simp.c: Likewise.
3686 * sunrpc/clnt_tcp.c: Likewise.
3687 * sunrpc/clnt_udp.c: Likewise.
3688 * sunrpc/clnt_unix.c: Likewise.
3689 * sunrpc/des_crypt.c: Likewise.
3690 * sunrpc/des_soft.c: Likewise.
3691 * sunrpc/get_myaddr.c: Likewise.
3692 * sunrpc/key_call.c: Likewise.
3693 * sunrpc/key_prot.c: Likewise.
3694 * sunrpc/netname.c: Likewise.
3695 * sunrpc/pm_getmaps.c: Likewise.
3696 * sunrpc/pm_getport.c: Likewise.
3697 * sunrpc/pmap_clnt.c: Likewise.
3698 * sunrpc/pmap_prot.c: Likewise.
3699 * sunrpc/pmap_prot2.c: Likewise.
3700 * sunrpc/pmap_rmt.c: Likewise.
3701 * sunrpc/publickey.c: Likewise.
3702 * sunrpc/rpc_cmsg.c: Likewise.
3703 * sunrpc/rpc_common.c: Likewise.
3704 * sunrpc/rpc_dtable.c: Likewise.
3705 * sunrpc/rpc_prot.c: Likewise.
3706 * sunrpc/rpc_thread.c: Likewise.
3707 * sunrpc/rtime.c: Likewise.
3708 * sunrpc/svc.c: Likewise.
3709 * sunrpc/svc_auth.c: Likewise.
3710 * sunrpc/svc_raw.c: Likewise.
3711 * sunrpc/svc_run.c: Likewise.
3712 * sunrpc/svc_tcp.c: Likewise.
3713 * sunrpc/svc_udp.c: Likewise.
3714 * sunrpc/svc_unix.c: Likewise.
3715 * sunrpc/svcauth_des.c: Likewise.
3716 * sunrpc/xcrypt.c: Likewise.
3717 * sunrpc/xdr.c: Likewise.
3718 * sunrpc/xdr_array.c: Likewise.
3719 * sunrpc/xdr_float.c: Likewise.
3720 * sunrpc/xdr_intXX_t.c: Likewise.
3721 * sunrpc/xdr_mem.c: Likewise.
3722 * sunrpc/xdr_rec.c: Likewise.
3723 * sunrpc/xdr_ref.c: Likewise.
3724 * sunrpc/xdr_sizeof.c: Likewise.
3725 * sunrpc/xdr_stdio.c: Likewise.
3726
b5c086a2
RM
37272012-05-10 Roland McGrath <roland@hack.frob.com>
3728
3729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3730 change. Update copyright years.
3731
6d74dd09
JM
37322012-05-10 Joseph Myers <joseph@codesourcery.com>
3733
3734 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3735
28e72501
MK
37362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3737 Joseph Myers <joseph@codesourcery.com>
3738 Paul Pluzhnikov <ppluzhnikov@google.com>
3739
3740 [BZ #14012]
3741 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3742 requiring rpcgen.
3743 [cross-compiling] (extra-libs): Likewise.
3744 [cross-compiling] (extra-libs-others): Likewise.
3745 [cross-compiling] (librpcsvc-routines): Likewise.
3746 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3747 [cross-compiling] (omit-deps): Likewise.
3748 (sunrpc-CPPFLAGS): New variable.
3749 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3750 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3751 (cross-rpcgen-objs): New variable.
3752 (extra-objs): Append $(cross-rpcgen-objs).
3753 ($(cross-rpcgen-objs)): New rule.
3754 ($(objpfx)cross-rpcgen): Likewise.
3755 (rpcgen-cmd): Define to use $(built-program-file). Expand
3756 comment.
3757 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3758 ($(objpfx)x%.stmp): Likewise.
3759 * sunrpc/proto.h [IS_IN_build] (_): Define.
3760 [IS_IN_build] (_libc_intl_domainname): Likewise.
3761
c8c59454
L
37622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3765 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3766 and R_X86_64_TPOFF64.
3767
6f27cd16
JM
37682012-05-10 Joseph Myers <joseph@codesourcery.com>
3769
3770 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3771 sysdeps/unix/sysv/syscalls.list.
3772 (stime): Likewise.
3773 (utime): Likewise.
3774 * sysdeps/unix/sysv/syscalls.list: Remove file.
3775
02467e1c
PE
37762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3777
3778 [BZ #3440]
3779 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3780 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3781 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3782 (__LC_IDENTIFICATION): Make these macros useful in #if
3783 expressions, as required by C99.
3784
da392631
AS
37852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3786
3787 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3788 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3789 after this.
3790
8115f29b
L
37912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3792
3793 * stdlib/longlong.h: Updated from GCC.
3794
bdd74070
AJ
37952012-05-09 Andreas Jaeger <aj@suse.de>
3796
edfe0dbe
AJ
3797 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3798 default is first entry.
3799 (run_mode): Set type.
3800 (main): Remove informal message about syslog.
3801 (options): Fix typo.
3802
bcfe3a54
ST
3803 [BZ #14053]
3804 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3805 to asm.
bcfe3a54
ST
3806 (lrint): Likewise.
3807 (llrintf): Likewise.
3808 (llrint): Likewise.
3809 (rint): Likewise.
3810 (rintf): Likewise.
3811 (nearbyint): Likewise.
3812 (nearbyintf): Likewise.
bdd74070 3813
91d8d69e
AJ
38142012-05-09 Andreas Jaeger <aj@suse.de>
3815 Pedro Alves <palves@redhat.com>
3816
3817 * nscd/nscd.c (run_mode): Use enum.
3818 (main): Cleanup coding style issue.
3819
bb90b80b
AJ
38202012-05-09 Alexandre Oliva <aoliva@redhat.com>
3821 Andreas Jaeger <aj@suse.de>
3822
bcfe3a54
ST
3823 * nscd/nscd.c (go_background): Replaced with...
3824 (run_mode): ... this.
bb90b80b 3825 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3826 (options): Add -F --foreground.
3827 (main): Implement it.
3828 (parse_opt): Parse it.
bb90b80b 3829
1a4b75a1
AJ
38302012-05-09 Andreas Jaeger <aj@suse.de>
3831
3832 [BZ #14083]
3833 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3834 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3835 -Wconversion warning.
3836 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3837 Likewise.
3838
b1cc2472
JM
38392012-05-09 Joseph Myers <joseph@codesourcery.com>
3840
3841 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3842 == 0.
3843 (LC_ALL): Use macro-int-constant.
3844 (LC_COLLATE): Likewise.
3845 (LC_CTYPE): Likewise.
3846 (LC_MESSAGES): Likewise.
3847 (LC_MONETARY): Likewise.
3848 (LC_NUMERIC): Likewise.
3849 (LC_TIME): Likewise.
3850 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3851 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3853 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3854 Specify type.
3855 [C99-based standards] (float_t): Expect type.
3856 [C99-based standards] (double_t): Expect type.
3857 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3858 type.
3859 [C99-based standards] (HUGE_VALL): Likewise.
3860 [C99-based standards] (INFINITY): Likewise.
3861 [C99-based standards] (NAN): Likewise.
3862 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3863 [C99-based standards] (FP_NAN): Likewise.
3864 [C99-based standards] (FP_NORMAL): Likewise.
3865 [C99-based standards] (FP_SUBNORMAL): Likewise.
3866 [C99-based standards] (FP_ZERO): Likewise.
3867 [C99-based standards] (FP_FAST_FMA): Use
3868 optional-macro-int-constant. Specify type. Require == 1.
3869 [C99-based standards] (FP_FAST_FMAF): Likewise.
3870 [C99-based standards] (FP_FAST_FMAL): Likewise.
3871 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3872 [C99-based standards] (FP_ILOGBNAN): Likewise.
3873 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3874 Specify type.
3875 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3876 [C99-based standards] (math_errhandling): Specify type.
3877 [ISO99 || ISO11] (signgam): Do not allow.
3878 [non-C99-based standards] (copysignf): Do not allow.
3879 [non-C99-based standards] (exp2f): Likewise.
3880 [non-C99-based standards] (log2f): Likewise.
3881 [non-C99-based standards] (modff): Allow.
3882 [non-C99-based standards] (erff): Do not allow.
3883 [non-C99-based standards] (erfcf): Likewise.
3884 [non-C99-based standards] (gammaf): Likewise.
3885 [non-C99-based standards] (hypotf): Likewise.
3886 [non-C99-based standards] (j0f): Likewise.
3887 [non-C99-based standards] (j1f): Likewise.
3888 [non-C99-based standards] (jnf): Likewise.
3889 [non-C99-based standards] (lgammaf): Likewise.
3890 [non-C99-based standards] (tgammaf): Likewise.
3891 [non-C99-based standards] (y0f): Likewise.
3892 [non-C99-based standards] (y1f): Likewise.
3893 [non-C99-based standards] (ynf): Likewise.
3894 [non-C99-based standards] (isnanf): Likewise.
3895 [non-C99-based standards] (acoshf): Likewise.
3896 [non-C99-based standards] (asinhf): Likewise.
3897 [non-C99-based standards] (atanhf): Likewise.
3898 [non-C99-based standards] (cbrtf): Likewise.
3899 [non-C99-based standards] (expm1f): Likewise.
3900 [non-C99-based standards] (ilogbf): Likewise.
3901 [non-C99-based standards] (log1pf): Likewise.
3902 [non-C99-based standards] (logbf): Likewise.
3903 [non-C99-based standards] (nextafterf): Likewise.
3904 [non-C99-based standards] (remainderf): Likewise.
3905 [non-C99-based standards] (rintf): Likewise.
3906 [non-C99-based standards] (scalbf): Likewise.
3907 [non-C99-based standards] (copysignl): Likewise.
3908 [non-C99-based standards] (exp2l): Likewise.
3909 [non-C99-based standards] (log2l): Likewise.
3910 [non-C99-based standards] (modfl): Allow.
3911 [non-C99-based standards] (erfl): Do not allow.
3912 [non-C99-based standards] (erfcl): Likewise.
3913 [non-C99-based standards] (gammal): Likewise.
3914 [non-C99-based standards] (hypotl): Likewise.
3915 [non-C99-based standards] (j0l): Likewise.
3916 [non-C99-based standards] (j1l): Likewise.
3917 [non-C99-based standards] (jnl): Likewise.
3918 [non-C99-based standards] (lgammal): Likewise.
3919 [non-C99-based standards] (tgammal): Likewise.
3920 [non-C99-based standards] (y0l): Likewise.
3921 [non-C99-based standards] (y1l): Likewise.
3922 [non-C99-based standards] (ynl): Likewise.
3923 [non-C99-based standards] (isnanl): Likewise.
3924 [non-C99-based standards] (acoshl): Likewise.
3925 [non-C99-based standards] (asinhl): Likewise.
3926 [non-C99-based standards] (atanhl): Likewise.
3927 [non-C99-based standards] (cbrtl): Likewise.
3928 [non-C99-based standards] (expm1l): Likewise.
3929 [non-C99-based standards] (ilogbl): Likewise.
3930 [non-C99-based standards] (log1pl): Likewise.
3931 [non-C99-based standards] (logbl): Likewise.
3932 [non-C99-based standards] (nextafterl): Likewise.
3933 [non-C99-based standards] (remainderl): Likewise.
3934 [non-C99-based standards] (rintl): Likewise.
3935 [non-C99-based standards] (scalbl): Likewise.
3936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3937 [non-C99-based standards] (FP_*): Do not allow.
3938 [C99-based standards] (FP_*): Change to
3939 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3940 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3941 allow.
3942 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3943 (SIG_ERR): Likewise.
3944 [X/Open-based standards] (SIG_HOLD): Likewise.
3945 (SIG_IGN): Likewise.
3946 (SIGABRT): Use macro-int-constant. Specify type. Require
3947 positive value.
3948 (SIGFPE): Likewise.
3949 (SIGILL): Likewise.
3950 (SIGINT): Likewise.
3951 (SIGSEGV): Likewise.
3952 (SIGTER): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3954 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3955 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3956 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3957 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3958 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3960 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3961 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3962 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3963 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3965 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3966 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3967 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3968 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3969 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3970 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3971 [X/Open-based standards] (SIGTRAP): Likewise.
3972 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3973 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3974 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3975 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3976 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3977 allow.
3978
b9f1922d
IW
39792012-05-08 Ian Wienand <ianw@vmware.com>
3980
3981 [BZ #14080]
3982 * time/tzset.c (__tzset_parse_tz): Update default rules for
3983 daylight time changes in the Energy Policy Act of 2005.
3984
1db86e88
AJ
39852012-05-09 Andreas Jaeger <aj@suse.de>
3986
3987 [BZ #13983]
3988 * elf/ldconfig.c (parse_conf): Change string to make clear that
3989 ldconfig only issued a warning if ld.so.conf does not exist.
3990
dee4a4e3
DM
39912012-05-08 David S. Miller <davem@davemloft.net>
3992
ee0db190
DM
3993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3994 movxtod instead of popping the value on the stack.
3995
dee4a4e3
DM
3996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3997
6a43ec98
CD
39982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3999
4000 * config.h.in: Add HAVE_ARM_PCS_VFP.
4001
05c2c961
RMG
40022012-05-08 Roland Mc Grath <roland@hack.frob.com>
4003
bcfe3a54
ST
4004 [BZ #13979]
4005 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4006 checking but the checks are disabled for any reason.
05c2c961 4007
4b30f61a
L
40082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4009
4010 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4011 and ELF64_R_TYPE with ELFW(R_TYPE).
4012
eee2bc67
JM
40132012-05-08 Joseph Myers <joseph@codesourcery.com>
4014
7ea5391a
JM
4015 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4016 (ulimit): Likewise.
4017
eee2bc67
JM
4018 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4019 (settimeofday): Likewise.
4020
abb66a67
MF
40212012-05-08 Mike Frysinger <vapier@gentoo.org>
4022
4023 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4024 a struct th_u2 inside the union, and move tu_block/tu_code into
4025 a new th_u3 union of tu_block/tu_code inside of that. Move
4026 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4027 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4028 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4029 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4030 (th_stuff): Change to th_u1.tu_stuff.
4031 (th_data): Define.
4032 (th_msg): Change to th_u1.th_u2.tu_data.
4033
7f18b530
DM
40342012-05-07 David S. Miller <davem@davemloft.net>
4035
05760585
DM
4036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4037
7f18b530
DM
4038 [BZ #14074]
4039 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4040 (SETUP_PIC_REG): Use it.
4041 (SETUP_PIC_REG_LEAF): Use it.
4042
495fd99f
JM
40432012-05-07 Joseph Myers <joseph@codesourcery.com>
4044
4045 [BZ #13885]
4046 [BZ #13923]
4047 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4048 USE_AS_EXPM1L.
4049 (EXPL_FINITE): Likewise.
4050 (FLDLOG): Likewise.
4051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4052 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4053 e_expl.S.
4054 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4055 USE_AS_EXPM1L.
4056 (EXPL_FINITE): Likewise.
4057 (FLDLOG): Likewise.
4058 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4059 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4060 e_expl.S.
4061 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4062 test of -max_value argument for long double.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065
6693d694
DM
40662012-05-06 David S. Miller <davem@davemloft.net>
4067
4068 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4069 quad soft-float symbols whose references which are compiler
4070 generated.
4071 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4072
6c23e11c
JM
40732012-05-06 Joseph Myers <joseph@codesourcery.com>
4074
d8b82cad
JM
4075 [BZ #13884]
4076 [BZ #13914]
4077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4078 USE_AS_EXP10L.
4079 (EXPL_FINITE): Likewise.
4080 (FLDLOG): Likewise.
4081 (c0): Likewise.
4082 (c1): Likewise.
4083 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4084 Adjust comments for base varying.
4085 (__expl_finite): Change alias to EXPL_FINITE.
4086 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4087 e_expl.S.
4088 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4089 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4091 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4092 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4093 USE_AS_EXP10L.
4094 (EXPL_FINITE): Likewise.
4095 (FLDLOG): Likewise.
4096 (c0): Likewise.
4097 (c1): Likewise.
4098 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4099 Adjust comments for base varying.
4100 (__expl_finite): Change alias to EXPL_FINITE.
4101 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4102 tests for bugs.
4103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4104
6c23e11c
JM
4105 [BZ #14064]
4106 * math/libm-test.inc (check_float_internal): Correct ulp
4107 calculation for subnormal expected results.
4108
29ba805c
AJ
41092012-05-06 Andreas Jaeger <aj@suse.de>
4110
4111 * Makeconfig (+math-flags): New, set to -frounding-math.
4112 (+cflags): Add +math-flags so that all of glibc gets compiled with
4113 it.
4114
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4116
7b17aeda
JM
41172012-05-05 Joseph Myers <joseph@codesourcery.com>
4118
5779f134
JM
4119 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4120 Disable one test.
4121
41498f4d
JM
4122 [BZ #13787]
4123 [BZ #13922]
4124 [BZ #14036]
4125 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4126 (__ieee754_expl): Allow for and saturate large arguments.
4127 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4128 (u_threshold): Likewise.
4129 (__exp): Call __ieee754_exp before checking for overflow and
4130 underflow.
4131 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4132 (u_threshold): Likewise.
4133 (__expf): Call __ieee754_expf before checking for overflow and
4134 underflow.
4135 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4136 (u_threshold): Likewise.
4137 (__expl): Call __ieee754_expl before checking for overflow and
4138 underflow.
4139 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4140 (__ieee754_expl): Allow for and saturate large arguments.
4141 * math/libm-test.inc (exp_test): Add another test. Do not allow
4142 missing overflow exception on overflow.
4143 (expm1_test): Do not allow missing overflow exception on overflow.
4144
6698b8bf
JM
4145 * sysdeps/i386/fpu/e_expl.c: Move to ...
4146 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4147 rather than using inline asm.
4148 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4149 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4150 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4151
7b17aeda
JM
4152 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4153 (nice): Likewise.
4154 (poll): Likewise.
4155 (signal): Likewise.
4156 (time): Likewise.
4157 (times): Likewise.
4158
f7c85819
JM
41592012-05-04 Joseph Myers <joseph@codesourcery.com>
4160
4161 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4162 sysdeps/unix/common/syscalls.list.
4163 (fchmod): Likewise.
4164 (fchown): Likewise.
4165 (ftruncate): Likewise.
4166 (getrusage): Likewise.
4167 (gettimeofday): Likewise.
4168 (setpgid): Likewise.
4169 (setregid): Likewise.
4170 (setreuid): Likewise.
4171 (sigaction): Likewise.
4172 (truncate): Likewise.
4173 (vhangup): Likewise.
4174 * sysdeps/unix/common/syscalls.list: Remove file.
4175 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4176 * sysdeps/unix/sysv/linux/Implies: Likewise.
4177
336270d0
L
41782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4182 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4183 Moved to ...
4184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4185 Here.
4186 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4187 to ...
4188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4189 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4190 to ...
4191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4192 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4193 to ...
4194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4195 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4196 to ...
4197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4198 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4199 to ...
4200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4201 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4202 to ...
4203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4204 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4205 to ...
4206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4207 Here.
4208 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4209 to ...
4210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4211 Here.
4212 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4213 to ...
4214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4215 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4216 Moved to ...
4217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4218 Here.
4219 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4220 to ...
4221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4222
d128e450
JM
42232012-05-04 Joseph Myers <joseph@codesourcery.com>
4224
fa8ee516
JM
4225 * sysdeps/unix/common/bits/dirent.h: Remove file.
4226 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4227
d128e450
JM
4228 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4229 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4230 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4231 * sysdeps/unix/bsd/isatty.c: Likewise.
4232 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4233 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4234 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4235
ff8faaf0 42362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4237
62881be4 4238 [BZ #13563]
31dc8730
AZ
4239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4240 long double comparison inaccuracies.
4241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4243
6fef930c
AS
42442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4245
4246 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4248
8f203e6c
JM
42492012-05-04 Joseph Myers <joseph@codesourcery.com>
4250
4251 [BZ #14049]
4252 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4253 nonzero digits before rounding a hex value.
4254 * stdlib/tst-strtod.c (tests): Add another test.
4255
5197d9c2
AK
42562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4257
4258 * sysdeps/s390/fpu/libm-test-ulps: Update.
4259
f0c1dedf
AJ
42602012-05-03 Andreas Jaeger <aj@suse.de>
4261
4262 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4263 does not get optimized out.
4264 (malloc_opt_barrier): New.
4265
a65ef2ae 42662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4267 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4268
2b942cb7 4269 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4270 intermediate file deletion.
2b942cb7 4271 (generated): Add .symlist files.
a65ef2ae 4272
54b71e02
JM
42732012-05-03 Joseph Myers <joseph@codesourcery.com>
4274
4275 [BZ #13775]
4276 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4277 Redirect under this condition.
4278 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4279 [__USE_GNU] (__dprintf_chk): Not under this condition.
4280 [__USE_GNU] (__vdprintf_chk): Likewise.
4281 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4282 under this condition.
4283 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4284 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4285 [__USE_XOPEN2K8] (vdprintf): Likewise.
4286 [__USE_GNU] (__dprintf_chk): Not under this condition.
4287 [__USE_GNU] (__vdprintf_chk): Likewise.
4288 [__USE_GNU] (dprintf): Likewise.
4289 [__USE_GNU] (vdprintf): Likewise.
4290
d3dfcc41
RM
42912012-05-03 Roland McGrath <roland@hack.frob.com>
4292
4293 * elf/Makefile (common-generated): Set this instead of generated for
4294 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4295 $(all-built-dso)-derived lists.
4296
7ac30cc5
AJ
42972012-05-03 Andreas Jaeger <aj@suse.de>
4298
0c51e550
AJ
4299 * sysdeps/i386/fpu/libm-test-ulps: Update.
4300
7ac30cc5
AJ
4301 * FAQ: Removed.
4302 * FAQ.in: Likewise.
4303 * scripts/gen-FAQ.pl: Likewise.
4304 * manual/install.texi (Installation): Point to online location of
4305 FAQ.
4306 * Makefile (files-for-dist): Remove FAQ.
4307 (FAQ): Remove.
4308
d4c2917f
AM
43092012-05-02 Allan McRae <allan@archlinux.org>
4310
4311 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4312 (LDFLAGS-reldepmod5.so): Likewise.
4313 (LDFLAGS-reldep6mod1.so): Likewise.
4314 (LDFLAGS-reldep6mod4.so): Likewise.
4315 (LDFLAGS-reldep8mod3.so): Likewise.
4316 (LDFLAGS-unload4mod1.so): Likewise.
4317 (LDFLAGS-unload4mod2.so): Likewise.
4318 (LDFLAGS-tst-initorder): Likewise.
4319 (LDFLAGS-tst-initordera2.so): Likewise.
4320 (LDFLAGS-tst-initordera3.so): Likewise.
4321 (LDFLAGS-tst-initordera4.so): Likewise.
4322 (LDFLAGS-tst-initorderb2.so): Likewise.
4323 (LDFLAGS-noload): Likewise.
4324 (LDFLAGS-next): Likewise.
4325 (LDFLAGS-order2mod1.so): Likewise.
4326 (LDFLAGS-order2mod2.so): Likewise.
4327 (LDFLAGS-tst-initorder2): Likewise.
4328 (LDFLAGS-tst-initorder2a.so): Likewise.
4329 (LDFLAGS-tst-initorder2b.so): Likewise.
4330 (LDFLAGS-tst-initorder2c.so): Likewise.
4331 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4332
d77f993f
DM
43332012-05-02 David S. Miller <davem@davemloft.net>
4334
4335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4336
171a70b4
PP
43372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4338
4339 [BZ #14055]
4340 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4341
0be196ad
AJ
43422012-05-02 Andreas Jaeger <aj@suse.de>
4343
4344 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4345 since we manipulate rounding mode.
4346 (CPPFLAGS-test-idouble.c): Likewise.
4347 (CPPFLAGS-test-ifloat.c): Likewise.
4348 (CFLAGS-test-ldouble.c): Likewise.
4349 (CFLAGS-test-double.c): Likewise.
4350 (CFLAGS-test-float.c): Likewise.
4351 (CFLAGS-test-misc.c): Likewise.
4352 (CFLAGS-test-test-fenv.c): Likewise.
4353
4f9d04aa
AZ
43542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355
2b942cb7
RM
4356 [BZ #2550]
4357 [BZ #2570]
4358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4359 comparisons to determine direction to adjust input.
4f9d04aa 4360
82a79e7d
RM
43612012-05-01 Roland McGrath <roland@hack.frob.com>
4362
f5a01ca9
RM
4363 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4364 output to the target.
4365
90fe4186
RM
4366 * scripts/localplt.awk: New file.
4367 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4368 (check-localplt-CFLAGS): Variable removed.
4369 ($(all-built-dso:=.jmprel)): New static pattern rule.
4370 (generated): Add those targets.
4371 (localplt-built-dso): New variable.
4372 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4373
4374 * elf/check-localplt.c: File removed.
4375
82397ed6
RM
4376 * scripts/check-execstack.awk: New file.
4377 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4378 (check-execstack-CFLAGS): Variable removed.
4379 ($(objpfx)check-execstack.h): Target removed.
4380 ($(objpfx)execstack-default): New target.
4381 (generated): Add that instead of check-execstack.h.
4382 ($(all-built-dso:=.phdr)): New static pattern rule.
4383 (generated): Add those targets.
4384 * elf/check-execstack.c: File removed.
4385
82a79e7d
RM
4386 * scripts/check-textrel.awk: New file.
4387 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4388 (check-textrel-CFLAGS): Variable removed.
4389 (all-built-dso): Use := to define.o
4390 ($(all-built-dso:=.dyn)): New static pattern rule.
4391 (generated): Add those targets.
4392 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4393 * config.make.in (READELF): New substituted variable.
4394 * elf/check-textrel.c: File removed.
4395
62fde54f 43962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4397
615605c9
JM
4398 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4399 allow.
4400 * conform/data/ctype.h-data [C99-based standards] (isblank):
4401 Expect function.
4402 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4403 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4405 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4406 Specify type. Require positive value.
4407 (EILSEQ): Likewise.
4408 (ERANGE): Likewise.
4409 [ISO || POSIX] (EILSEQ): Do not expect.
4410 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4411 Specify type. Require positive value.
4412 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4459 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4467 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4468 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4469 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4470 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4471 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4472 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4473 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4474 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4475 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4476 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4477 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4478 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4479 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4480 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4481 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4482 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4483 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4484 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4485 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4486 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4487 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4488 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4489 Require >= 2.
4490 (FLT_ROUNDS): Expect as macro, not constant.
4491 (FLT_MANT_DIG): Use macro-int-constant.
4492 (DBL_MANT_DIG): Likewise.
4493 (LDBL_MANT_DIG): Likewise.
4494 (FLT_DIG): Likewise.
4495 (DBL_DIG): Likewise.
4496 (LDBL_DIG): Likewise.
4497 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4498 (DBL_MIN_EXP): Likewise.
4499 (LDBL_MIN_EXP): Likewise.
4500 (FLT_MAX_EXP): Use macro-int-constant.
4501 (DBL_MAX_EXP): Likewise.
4502 (LDBL_MAX_EXP): Likewise.
4503 (FLT_MAX_10_EXP): Likewise.
4504 (DBL_MAX_10_EXP): Likewise.
4505 (LDBL_MAX_10_EXP): Likewise.
4506 (FLT_MAX): Use macro-constant.
4507 (DBL_MAX): Likewise.
4508 (LDBL_MAX): Likewise.
4509 (FLT_EPSILON): Use macro-constant. Give upper bound.
4510 (DBL_EPSILON): Likewise.
4511 (LDBL_EPSILON): Likewise.
4512 (FLT_MIN): Likewise.
4513 (DBL_MIN): Likewise.
4514 (LDBL_MIN): Likewise.
4515 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4516 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4517 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4518 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4519 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4520 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4521 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4522 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4523 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4524 [ISO11] (FLT_TRUE_MIN): Likewise.
4525 [ISO11] (LDBL_TRUE_MIN): Likewise.
4526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4527 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4528 (SCHAR_MIN): Use macro-int-constant. Specify type.
4529 (SCHAR_MAX): Likewise.
4530 (UCHAR_MAX): Likewise.
4531 (CHAR_MIN): Likewise.
4532 (CHAR_MAX): Likewise.
4533 (MB_LEN_MAX): Use macro-int-constant.
4534 (SHRT_MIN): Use macro-int-constant. Specify type.
4535 (SHRT_MAX): Likewise.
4536 (USHRT_MAX): Likewise.
4537 (INT_MAX): Likewise.
4538 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4539 bound negative.
4540 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4541 bound with "U".
4542 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4543 bound with "L".
4544 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4545 bound negative. Suffix upper bound with "L".
4546 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4547 bound with "UL".
4548 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4549 Specify type.
4550 [C99-based standards] (LLONG_MAX): Likewise.
4551 [C99-based standards] (ULLONG_MAX): Likewise.
4552 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4553 == 0.
4554 [ISO11] (max_align_t): Require type.
4555 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4556
c9140a62
JM
4557 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4558 from $CFLAGS, without defining away __attribute__ calls.
4559 (checknamespace): Use $CFLAGS_namespace.
4560
9af0bf29
JM
4561 * conform/conformtest.pl (@keywords): Only include C99 keywords
4562 for standards based on C99 or C11.
4563
343222a2
JM
4564 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4565 Disable tests.
4566 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4567 UNIX98]: Likewise.
4568
661f8cf0
JM
4569 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4570 usability of symbols in #if.
4571
ee74b9cb
JM
4572 * conform/conformtest.pl: If macro or constant types start
4573 "promoted:", expect the symbol to be of the following type
4574 promoted by the integer promotions.
62fde54f 4575
aafc49b3
JM
4576 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4577 in one place. Also handle "macro-constant".
4578
fefdf574
JM
4579 * conform/conformtest.pl: Only accept expected macro values with
4580 "==". Parse all "macro" lines in one place.
4581 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4582
f2d922fe
JM
4583 * conform/conformtest.pl: Handle braced types on "constant" lines
4584 instead of handling "typed-constant".
4585 * conform/data/signal.h-data: Use "constant" instead of
4586 "typed-constant".
4587
d22956c9
JM
4588 * conform/conformtest.pl: Handle "optional-" at start of lines in
4589 one place rather than duplicating several cases. Handle each
4590 format of "macro" line with initial "optional-".
4591
028e2e38
JM
4592 * conform/conformtest.pl: Only accept expected constant or
4593 optional-constant values with "==". Parse all "constant" lines in
4594 one place. Parse all "optional-constant" lines in one place.
4595 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4596 * conform/data/fmtmsg.h-data: Likewise.
4597 * conform/data/netinet/in.h-data: Likewise.
4598 * conform/data/tar.h-data: Likewise.
4599 * conform/data/limits.h-data: Use "==" form on "constant" and
4600 "optional-constant" lines.
4601
1b8f2850
JM
4602 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4603 Use -std=c99 for XOPEN2K.
4604 (@knownproblems): Remove.
4605 (newtoken): Don't check %isknown.
4606
a05a144b
JM
4607 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4608 Do not expect macro.
4609 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4621 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4622 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4628 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4639 [XPG3] (acosh): Likewise.
4640 [XPG3] (asinh): Likewise.
4641 [XPG3] (atanh): Likewise.
4642 [XPG3] (cbrt): Likewise.
4643 [XPG3] (expm1): Likewise.
4644 [XPG3] (ilogb): Likewise.
4645 [XPG3] (log1p): Likewise.
4646 [XPG3] (logb): Likewise.
4647 [XPG3] (nextafter): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4650 [XPG3] (remainder): Likewise.
4651 [XPG3] (rint): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4659 [UNIX98 || XOPEN2K] (scalb): Expect.
4660 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4661 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4680 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4682 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4683 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4684 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4685 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4686 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4687 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4688 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4689 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4690 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4691 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4692 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4693 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4694 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4695 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4697 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4698 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4710 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4736 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4755 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4756 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4757 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4758 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4759 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4760 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4797
73c5ebe3
JM
4798 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4799 _XOPEN_SOURCE_EXTENDED for XPG4.
4800
39c33b6c
JM
4801 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4802
62fde54f
JM
4803 * Makeconfig (localtime): Remove variable.
4804 (inst_localtime-file): Likewise.
4805
0741d64c
AS
48062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4807
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4809 Update.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4811 Update.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4813 Update.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4815 Update.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4817 Update.
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4819 Update.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4821 Update.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4823 Update.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4825 Update.
4826
7cb029ee
JM
48272012-05-01 Joseph Myers <joseph@codesourcery.com>
4828
4829 [BZ #2550]
4830 [BZ #2570]
4831 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4832 comparisons to determine direction to adjust input.
4833 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4834 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4835 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4836 Likewise.
4837 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4838 Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4840 Likewise.
4841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4842 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4843 Likewise.
4844 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4845 Likewise.
4846 * math/libm-test.inc (nexttoward_test): Add more tests.
4847
412bd966
AS
48482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4849
4850 [BZ #14040]
4851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4852 in version GLIBC_2.1, not GLIBC_2.0.
4853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4854 Likewise.
4855
9568c0c2
JM
48562012-04-30 Joseph Myers <joseph@codesourcery.com>
4857
adfbc8ac
JM
4858 [BZ #13942]
4859 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4860 (1 - x) * (1 + x).
4861 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4862 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4863 * math/libm-test.inc (acos_test): Add more tests.
4864 (asin_test): Likewise.
4865 * sysdeps/i386/fpu/libm-test-ulps: Update.
4866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867
5ba3cc69
JM
4868 [BZ #14034]
4869 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4870 of square root.
4871 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4872 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4873 * math/libm-test.inc (acos_test_tonearest): New function.
4874 (acos_test_towardzero): Likewise.
4875 (acos_test_downward): Likewise.
4876 (acos_test_upward): Likewise.
4877 (asin_test_tonearest): Likewise.
4878 (asin_test_towardzero): Likewise.
4879 (asin_test_downward): Likewise.
4880 (asin_test_upward): Likewise.
4881 (main): Call the new functions.
4882 * sysdeps/i386/fpu/libm-test-ulps: Update.
4883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4884
9568c0c2
JM
4885 [BZ #13884]
4886 [BZ #13924]
4887 * math/e_exp10.c: Include <float.h>.
4888 (__ieee754_exp10): Handle underflow here rather than multiplying
4889 large negative argument by M_LN10.
4890 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4891 of __ieee754_expf.
4892 * math/e_exp10l.c: Include <float.h>.
4893 (__ieee754_exp10l): Handle underflow here rather than multiplying
4894 large negative argument by M_LN10l.
4895 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4896 spurious overflow exception on underflow.
4897
5ac3ea17
MP
48982012-04-29 Marek Polacek <polacek@redhat.com>
4899
4900 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4901 (__fortify_function): New macro.
4902 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4903 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4904 __extern_always_inline.
4905 * libio/bits/stdio2.h: Likewise.
4906 * libio/bits/stdio.h: Likewise.
4907 * string/string.h: Likewise.
4908 * string/bits/string3.h: Likewise.
4909 * include/stdio.h: Likewise.
4910 * stdlib/bits/stdlib.h: Likewise.
4911 * stdlib/stdlib.h: Likewise.
4912 * rt/bits/mqueue2.h: Likewise.
4913 * rt/mqueue.h: Likewise.
4914 * posix/bits/unistd.h: Likewise.
4915 * posix/unistd.h: Likewise.
4916 * io/bits/poll2.h: Likewise.
4917 * io/bits/fcntl2.h: Likewise.
4918 * io/fcntl.h: Likewise.
4919 * io/sys/poll.h: Likewise.
4920 * misc/bits/syslog.h: Likewise.
4921 * misc/bits/syslog-ldbl.h: Likewise.
4922 * misc/sys/syslog.h: Likewise.
4923 * socket/bits/socket2.h: Likewise.
4924 * socket/sys/socket.h: Likewise.
4925 * debug/tst-chk1.c: Likewise.
4926 * wcsmbs/bits/wchar2.h: Likewise.
4927 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4928 * wcsmbs/wchar.h: Likewise.
4929
ecf0ebfb
AJ
49302012-04-29 Andreas Jaeger <aj@suse.de>
4931
4932 * Makerules (tests): Remove enable-check-abi protection.
4933 (check-abi-warn): Remove.
4934 (check-abi-%): Remove check-abi-warn usage.
4935
4936 * configure.in: Remove check-abi configure option.
4937 * configure: Regenerated.
4938 * config.make.in (enable-check-abi): Remove.
4939
6d5c57fa
AS
49402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4941
24c5d07e 4942 [BZ #14033]
ded5180a
AS
4943 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4944 double functions to double *_finite functions.
4945
7e0d315d
AS
4946 [BZ #13941]
4947 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4948 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4949 LDBL_MIN_EXP.
4950 * stdio-common/Makefile (tests): Add tst-sprintf3.
4951 * stdio-common/tst-sprintf3.c: New file.
4952
6d5c57fa
AS
4953 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4954 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4955
0749ff8b
JM
49562012-04-28 Joseph Myers <joseph@codesourcery.com>
4957
4958 * conform/conformtest.pl: Remove duplicate typed-constant
4959 handling.
4960
8dbd5d7b
DM
49612012-04-28 David S. Miller <davem@davemloft.net>
4962
4963 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4964 (check-abi-%): Remove AWK script prerequisite and explicit
4965 abilist directory.
4966 (check-abi): Rewrite to just diff the symlist with the abilist.
4967 (config-tls, config-abi-config): Delete, no longer used.
4968 (update-abi-%): Remove AWK script and explicit abilist directory.
4969 (update-abi): Rewrite to simply compare and conditionally copy the
4970 symlist and the sysdep abilist file. Remove update-abi-config
4971 checks.
4972 * abilist/ld.abilist: Remove.
4973 * abilist/libBrokenLocale.abilist: Remove.
4974 * abilist/libanl.abilist: Remove.
4975 * abilist/libcrypt.abilist: Remove.
4976 * abilist/libdl.abilist: Remove.
4977 * abilist/librt.abilist: Remove.
4978 * abilist/libthread_db.abilist: Remove.
4979 * abilist/libutil.abilist: Remove.
4980 * scripts/extract-abilist.awk: Remove.
4981 * scripts/merge-abilist.awk: Remove.
4982 * sysdeps/generic/libcidn.abilist: New file.
4983 * sysdeps/generic/libnss_compat.abilist: New file.
4984 * sysdeps/generic/libnss_db.abilist: New file.
4985 * sysdeps/generic/libnss_dns.abilist: New file.
4986 * sysdeps/generic/libnss_files.abilist: New file.
4987 * sysdeps/generic/libnss_hesiod.abilist: New file.
4988 * sysdeps/generic/libnss_nis.abilist: New file.
4989 * sysdeps/generic/libnss_nisplus.abilist: New file.
4990 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4991 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4992 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4993 file.
4994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4995 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4996 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4997 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4998 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4999 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5000 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5001 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5002 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5003 file.
5004 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5005 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5006 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5007 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5008 file.
5009 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5010 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5011 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5012 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5013 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5014 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5015 file.
5016 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5017 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5018 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5019 file.
5020 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5022 New file.
5023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5024 New file.
5025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5026 New file.
5027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5028 New file.
5029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5030 New file.
5031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5032 New file.
5033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5034 New file.
5035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5036 New file.
5037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5038 New file.
5039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5040 New file.
5041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5042 New file.
5043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5044 New file.
5045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5046 New file.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5048 file.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5050 New file.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5052 New file.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5054 file.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5056 New file.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5058 New file.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5060 file.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5062 New file.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5064 New file.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5066 New file.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5068 New file.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5070 New file.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5072 New file.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5075 file.
5076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5077 New file.
5078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5079 file.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5081 file.
5082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5083 file.
5084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5085 file.
5086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5087 file.
5088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5089 New file.
5090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5091 file.
5092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5093 file.
5094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5095 New file.
5096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5097 file.
5098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5100 file.
5101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5102 New file.
5103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5104 file.
5105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5106 file.
5107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5108 file.
5109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5110 file.
5111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5112 file.
5113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5114 New file.
5115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5116 file.
5117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5118 file.
5119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5120 New file.
5121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5122 file.
5123 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5124 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5125 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5126 file.
5127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5128 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5129 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5130 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5131 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5132 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5133 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5134 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5135 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5136 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5139 file.
5140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5141 New file.
5142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5143 file.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5145 file.
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5147 file.
5148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5149 file.
5150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5151 file.
5152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5153 New file.
5154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5157 file.
5158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5161 file.
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5164 file.
5165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5166 New file.
5167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5168 file.
5169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5170 file.
5171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5172 file.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5174 file.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5176 file.
5177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5178 New file.
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5180 New file.
5181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5182 file.
5183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5184 New file.
5185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5186 file.
5187
41d73a1b
JM
51882012-04-28 Joseph Myers <joseph@codesourcery.com>
5189
5190 * conform/conformtest.pl: Fix typo in handling typed-constant from
5191 allow-header.
5192
28aeeda4
JM
51932012-04-27 Joseph Myers <joseph@codesourcery.com>
5194
adae8f5e
JM
5195 * README: Cut down references to pre-2.6 Linux kernels and
5196 Linuxthreads. Update lists of configurations in libc and ports
5197 and sort alphabetically. Say "or newer" with Linux kernel version
5198 requirements.
5199
28aeeda4
JM
5200 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5201
a462cb63
RA
52022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5203
5204 [BZ #887]
5205 * math/libm-test.inc (logb_test_downward): New test to expose
5206 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5207 rounding mode.
5208
6ad3493e
JM
52092012-04-27 Joseph Myers <joseph@codesourcery.com>
5210
5211 [BZ #14027]
5212 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5213 to be done.
5214 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5215 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5216
2ce4f015
JM
52172012-04-26 Joseph Myers <joseph@codesourcery.com>
5218
5aeb141a
JM
5219 * sysdeps/unix/i386/brk.S: Remove file.
5220 * sysdeps/unix/i386/dl-brk.S: Likewise.
5221 * sysdeps/unix/i386/pipe.S: Likewise.
5222 * sysdeps/unix/i386/sigreturn.S: Likewise.
5223 * sysdeps/unix/i386/syscall.S: Likewise.
5224 * sysdeps/unix/i386/vfork.S: Likewise.
5225 * sysdeps/unix/i386/wait.S: Likewise.
5226
7143acae
JM
5227 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5228 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5229
2ce4f015
JM
5230 * configure.in (arm*-none*): Do not allow without
5231 --enable-hacker-mode.
5232 (netbsd*): Remove case setting base_os.
5233 (386bsd*): Likewise.
5234 (freebsd*): Likewise.
5235 (bsdi*): Likewise.
5236 (osf*): Likewise.
5237 (sunos*): Likewise.
5238 (ultrix*): Likewise.
5239 (newsos*): Likewise.
5240 (dynix*): Likewise.
5241 (*bsd*): Likewise.
5242 (sysv*): Likewise.
5243 (isc*): Likewise.
5244 (esix*): Likewise.
5245 (sco*): Likewise.
5246 (minix*): Likewise.
5247 (irix4*): Likewise.
5248 (irix6*): Likewise.
5249 (solaris[2-9]*): Likewise.
5250 (none): Likewise.
5251 * configure: Regenerated.
5252
0ac229c8
AZ
52532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5254
5255 [BZ #11521]
5256 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5257 overflow or cancellation in calculating denominator.
5258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5260 down expression to avoid unexpected rounding in newer GCCs.
5261 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5262
33f244f4
DM
52632012-04-26 David S. Miller <davem@davemloft.net>
5264
5265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5266 long-double compat symbols.
5267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5280
cfa1f3e8
DM
52812012-04-25 David S. Miller <davem@davemloft.net>
5282
5283 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5284 HWCAP_* values only after the memory barriers have been defined.
5285 (atomic_full_barrier): Define.
5286 (atomic_read_barrier): Define.
5287 (atomic_write_barrier): Define.
5288
6e236b92
SP
52892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5290
5291 * shlib-versions: Add libgcc_s version information.
5292 * sysdeps/generic/libgcc_s.h: Remove.
5293 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5294 libgcc_s.h.
5295 * sysdeps/gnu/unwind-resume.c: Likewise.
5296 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5297
aab39a09
DM
52982012-04-25 David S. Miller <davem@davemloft.net>
5299
5300 * sysdeps/unix/sparc/brk.S: Delete.
5301 * sysdeps/unix/sparc/dl-brk.S: Delete.
5302 * sysdeps/unix/sparc/pipe.S: Delete.
5303 * sysdeps/unix/sparc/sysdep.S: Delete.
5304 * sysdeps/unix/sparc/sysdep.h: Delete.
5305 * sysdeps/unix/sparc/vfork.S: Delete.
5306 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5307 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5308 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5309 ret_ERRVAL, r0, r1, MOVE): Define.
5310 (JUMPTARGET): Remove.
5311 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5312 sysdeps/unix/sparc/sysdep.h
5313 (ENTRY, END): Remove.
5314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5315
a3cc4f48
JM
53162012-04-25 Joseph Myers <joseph@codesourcery.com>
5317
2ed8cda2
JM
5318 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5319 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5320 -DIS_IN_build.
5321
35d76d59
JM
5322 * timezone/README: Update upstream location and email address for
5323 tzcode and tzdata.
5324 * timezone/zdump.c: Update from tzcode 2012b.
5325 * timezone/zic.c: Likewise.
5326
a3cc4f48
JM
5327 * configure.in (libc_cv_as_needed): Remove test.
5328 * configure: Regenerated.
5329 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5330 conditional definition.
5331 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5332 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5333 * config.make.in (have-as-needed): Remove variable.
5334
ceab42c3
SP
53352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5336 Paul Pluzhnikov <ppluzhnikov@google.com>
5337
5338 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5339 strings correctly.
5340
3ce2865f
CLT
53412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5342
5343 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5344 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5345 * sysdeps/sh/strlen.S: Likewise.
5346
f37e0d68
JM
53472012-04-24 Joseph Myers <joseph@codesourcery.com>
5348
ae186e9a
JM
5349 * sysdeps/unix/fork.S: Remove file.
5350 * sysdeps/unix/i386/fork.S: Likewise.
5351 * sysdeps/unix/sparc/fork.S: Likewise.
5352
b96914af
JM
5353 * sysdeps/unix/system.c: Remove file.
5354 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5355
f37e0d68
JM
5356 * sysdeps/unix/getegid.S: Remove file.
5357 * sysdeps/unix/geteuid.S: Likewise.
5358
87ef29ca
RM
53592012-04-24 Roland McGrath <roland@hack.frob.com>
5360
83bcd236
RM
5361 * scripts/check-localplt.awk: New file.
5362 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5363 of diff.
5364 * scripts/data/localplt-generic.data: Add a comment.
5365
87ef29ca
RM
5366 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5367 NODE when __dir_mkfile failed.
5368 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5369 Reported by Ludovic Courtès <ludo@gnu.org>.
5370
e5a6e567
AJ
53712012-04-24 Andreas Jaeger <aj@suse.de>
5372
5373 * Makerules (common-clean): Also remove gen-as-const-headers
5374 files.
5375
c1820385
JM
53762012-04-24 Joseph Myers <joseph@codesourcery.com>
5377
5378 * Makerules (native-compile): Do not change working directory for
5379 build. Use $(OUTPUT_OPTION) in command.
5380 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5381
94e02fc4
AZ
53822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383
5384 [BZ #13886]
5385 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5386 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5387 * math/libm-test.inc (floor_test): Add more tests.
5388 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5389
3a533ca3
JM
53902012-04-24 Joseph Myers <joseph@codesourcery.com>
5391
940ab4b3
JM
5392 * sysdeps/unix/getdents.c: Remove file.
5393 * sysdeps/unix/sysv/getdents.c: Likewise.
5394 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5395
90e037bd
JM
5396 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5397 sysdeps/unix/mman/syscalls.list.
5398 (mmap): Likewise.
5399 (mprotect): Likewise.
5400 (msync): Likewise.
5401 (munmap): Likewise.
5402 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5403 * sysdeps/unix/mman/syscalls.list: Remove.
5404 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5405
3a533ca3
JM
5406 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5407 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5408 * configure: Regenerated.
5409 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5410 $(libgcc_s_suffix).
5411 * config.make.in (libgcc_s_suffix): Remove variable.
5412
1ad743de
JM
54132012-04-23 Joseph Myers <joseph@codesourcery.com>
5414
4ad451e2
JM
5415 * sysdeps/unix/sysv/gethostname.c: Move to ...
5416 * sysdeps/posix/gethostname.c: ... here.
5417
5e37ce39
JM
5418 * sysdeps/unix/execve.S: Remove file.
5419
1ad743de
JM
5420 * sysdeps/unix/_exit.S: Remove file.
5421
4e681b5b
AJ
54222012-04-23 Andreas Jaeger <aj@suse.de>
5423
5424 [BZ #13739]
5425 * manual/Makefile: Remove make dist support, there's no
5426 need for a stand-alone documentation tar ball.
5427 (TEXI2DVI): Define always, it's not in Makeconfig.
5428 (dist): Removed.
5429 (tar-it): Removed.
5430 (edition): Removed.
5431 (glibc-doc-$(edition).tar): Removed
5432 (%.Z): Removed.
5433 (%.gz): Removed.
5434 (%.uu): Removed.
5435 (ETAGS): Remove, it's in Makeconfig.
5436 (move-if-change): Remove, it's in Makeconfig.
5437
c0baea34
PE
54382013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5439
5440 [BZ #13970]
5441 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5442 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5443 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5444 (strtod_l, strtof_l, strtold_l): Remove __wur.
5445 It is not necessarily an error to ignore strtol's return value.
5446 One can reliably look at the stored endptr to decide whether
5447 the number had valid syntax.
5448
7c0616fa
AJ
54492012-04-21 Andreas Jaeger <aj@suse.de>
5450
803cb6b7 5451 [BZ #13739]
7c0616fa
AJ
5452 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5453
b0fe253f
JM
54542012-04-21 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5457 * sysdeps/unix/sysv/Versions: Remove file.
5458
8280f22d
MT
54592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5460
5461 [BZ #13927]
5462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5463
75ce411f 54642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5465
5466 [BZ #7064]
5467 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5468 version from __vm86.
5469
097d59fa
JM
54702012-04-20 Joseph Myers <joseph@codesourcery.com>
5471
a90f3bcb
JM
5472 * sysdeps/unix/common/lxstat.c: Remove file.
5473 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5474
edc7ea78
JM
5475 * sysdeps/unix/sysv/Makefile: Remove file.
5476
cb78c221
JM
5477 * sysdeps/unix/sysv/direct.h: Remove file.
5478
efa6a45f
JM
5479 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5480 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5481 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5482 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5483 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5484 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5485 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5486
9c9f2d0c
JM
5487 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5488
4541c83b
JM
5489 * sysdeps/unix/xmknod.c: Remove file.
5490 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5491
f5d153a0
JM
5492 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5493
aa746595
JM
5494 * sysdeps/unix/sysv/i386/time.S: Remove file.
5495
cce5905e
JM
5496 * sysdeps/unix/fxstat.c: Remove file.
5497 * sysdeps/unix/xstat.c: Likewise.
5498 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5499
37fa3841
JM
5500 * sysdeps/unix/sysv/sigaction.c: Remove file.
5501
ff1962a3
JM
5502 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5503 (sysdep_headers): Remove variable.
5504 [termio.h not in sysdep_headers] (generated): Likewise.
5505 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5506 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5507 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5508 * sysdeps/unix/sysv/tcflow.c: Likewise.
5509 * sysdeps/unix/sysv/tcflush.c: Likewise.
5510 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5511 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5512 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5513 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5514 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5515
e7740d31
JM
5516 * sysdeps/unix/siglist.c: Remove file.
5517
ee06f18b
JM
5518 * sysdeps/unix/getppid.S: Remove file.
5519
097d59fa
JM
5520 * sysdeps/unix/mkdir.c: Remove file.
5521 * sysdeps/unix/rmdir.c: Likewise.
5522
ff3d51ec
AS
55232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5524
5525 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5526 ERR_MAX value.
5527 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5528 errlist-compat value.
5529
50f81fd7
DM
55302012-04-18 David S. Miller <davem@davemloft.net>
5531
5532 * sysdeps/generic/memcopy.h (reg_char): Delete.
5533 * debug/strcat_chk.c: Use char, not reg_char.
5534 * debug/strcpy_chk.c: Likewise.
5535 * debug/strncat_chk.c: Likewise.
5536 * debug/strncpy_chk.c: Likewise.
5537 * string/memchr.c: Likewise.
5538 * string/memrchr.c: Likewise.
5539 * string/rawmemchr.c: Likewise.
5540 * string/strcat.c: Likewise.
5541 * string/strchr.c: Likewise.
5542 * string/strchrnul.c: Likewise.
5543 * string/strcmp.c: Likewise.
5544 * string/strcpy.c: Likewise.
5545 * string/strncat.c: Likewise.
5546 * string/strncmp.c: Likewise.
5547 * string/strncpy.c: Likewise.
5548
8ff41c46
WS
55492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5550
5551 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5552 __builtin_memcopy is called when src and dest ranges are known to not
5553 overlap.
5554
6b652f46
WS
55552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5556
5557 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5558 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5559 fwd_align_merge macro call.
5560 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5561 bwd_align_merge macro call.
5562 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5563
b282631e
WS
55642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5565
5566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5567 bwd_align_merge macros.
5568 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5569 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5571
95aa737c
DM
55722012-04-18 David S. Miller <davem@davemloft.net>
5573
5574 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5575
7a99a614
AJ
55762012-04-18 Andreas Jaeger <aj@suse.de>
5577
5578 [BZ# 6794]
5579 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5580 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5581 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5582
5583 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5584 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5586
5587 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5588 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5589 Adjust for changed ldbl-128 files.
5590
5591 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5592 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5594
e5270c23
DM
55952012-04-17 David S. Miller <davem@davemloft.net>
5596
5597 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5598
fb5e92c9
AS
55992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5600
5601 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5602 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5603 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5604 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5605 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5606 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5607
76da7265
AZ
56082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 [BZ #6794]
5611 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5612 * math/libm-test.inc: Add ilogb errno and exception tests.
5613 * math/w_ilogb.c: New file: ilogb wrapper.
5614 * math/w_ilogbf.c: New file: ilogbf wrapper.
5615 * math/w_ilogbl.c: New file: ilogbl wrapper.
5616 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5617 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5618 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5619 exception being thrown with 0.0 as argument.
5620 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5621 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5622 exception being thrown with 0.0 as argument.
5623 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5624 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5625 exception being thrown with 0.0 as argument.
5626 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5627 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5628 exception being thrown with 0.0 as argument.
5629 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5630 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5631 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5632 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5633 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5634 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5635 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5636 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5637 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5638
0396e69d
PB
56392012-04-17 Petr Baudis <pasky@ucw.cz>
5640
5641 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5642 with altivec.
5643
750b5926
MP
56442012-04-16 Marek Polacek <polacek@redhat.com>
5645
5646 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5647
751728a1
MP
56482012-04-16 Marek Polacek <polacek@redhat.com>
5649
5650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5651 operands of fdivp instruction.
5652
34a27407
L
56532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5656 * elf/tst-auditmod3b.c: Likewise.
5657 * elf/tst-auditmod4b.c: Likewise.
5658 * elf/tst-auditmod5b.c: Likewise.
5659 * elf/tst-auditmod6b.c: Likewise.
5660 * elf/tst-auditmod6c.c: Likewise.
5661 * elf/tst-auditmod7b.c: Likewise.
5662 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5663 * sysdeps/x86_64/preconfigure.in: Likewise.
5664 * sysdeps/x86_64/preconfigure: Regenerated.
5665
7e73e17d
L
56662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5667
5668 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5669 __ILP32__.
5670
c7a6ab72
AB
56712012-04-13 Antoine Balestrat <merkil33@gmail.com>
5672
5673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5674 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5675
a9e8e0e0
CL
56762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5677
5678 [BZ #13973]
5679 * locale/iso-639.def: Fix gl language name. Spotted by
5680 Yaron Shahrabani.
5681
ec98af7d
RM
56822012-04-12 Roland McGrath <roland@hack.frob.com>
5683
5684 [BZ #2074]
5685 * libio/libio.h (__io_write_fn): Update comment.
5686
247c3ede
PB
56872012-04-12 Petr Baudis <pasky@ucw.cz>
5688
5689 [BZ #2074]
5690 * stdio.texi (Hook Functions): The user provided writer function
5691 is not allowed to return -1.
5692
55939d6d
DM
56932012-04-11 David S. Miller <davem@davemloft.net>
5694
5695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5696
90020f5a
MF
56972012-04-11 Mike Frysinger <vapier@gentoo.org>
5698
5699 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5700 Add a leading slash to rtkaio.
5701
288f9098
JM
57022012-04-11 Jim Meyering <meyering@redhat.com>
5703
90020f5a
MF
5704 [BZ #11959]
5705 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5706 It is not necessarily an error to ignore fwrite's return
5707 value. One can reliably use ferror to test for errors after
5708 the fact.
288f9098 5709
4be2b570
L
57102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5711
5712 * bits/types.h (__snseconds_t): New type.
5713 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5714
5715 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5717 (__SNSECONDS_T_TYPE): Likewise.
5718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5719 (__SNSECONDS_T_TYPE): Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5721 (__SNSECONDS_T_TYPE): Likewise.
5722
288f9098 57232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5724
5725 [BZ #2636]
5726 * manual/time.texi (Processor Time): Return type of times is
5727 elapsed real time since an arbitrary point in the past.
5728 (CPU Time): Move CLK_TCK from here...
5729 (Processor Time): ...to here. Correct description.
5730 * manual/conf.texi (Constants for Sysconf): Correct description of
5731 _SC_CLK_TCK.
5732
d7dd4413
DM
57332012-04-10 David S. Miller <davem@davemloft.net>
5734
5735 [BZ #13967]
5736 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5737 where the is a gap between DT_REL(A) and DT_JMPREL.
5738
b46068fc
L
57392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5742 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5743 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5744
73d65cc3
SP
57452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5746
5747 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5748 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5749 (dl_main): Handle --inhibit-cache.
5750 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5751 _dl_inhibit_cache.
5752 * elf/dl-load.c (_dl_map_object): Use it.
5753 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5754
bcc8d661
JM
57552012-04-09 Joseph Myers <joseph@codesourcery.com>
5756
8f9a2fae
JM
5757 [BZ #13872]
5758 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5759 (__ieee754_powl): Saturate large exponents rather than testing for
5760 overflow of y*log2(x).
5761 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5762 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5763 exceptions.
5764
bcc8d661
JM
5765 [BZ #11521]
5766 * math/s_ctan.c: Include <float.h>.
5767 (__ctan): Avoid internal overflow or cancellation in calculating
5768 denominator.
5769 * math/s_ctanf.c: Likewise.
5770 * math/s_ctanl.c: Likewise.
5771 * math/s_ctanh.c: Likewise.
5772 * math/s_ctanhf.c: Likewise.
5773 * math/s_ctanhl.c: Likewise.
5774 * math/libm-test.inc (ctan_test): Add more tests.
5775 (ctanh_test): Likewise.
5776 * sysdeps/i386/fpu/libm-test-ulps: Update.
5777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5778
823fbbb4
AJ
57792012-04-09 Andreas Jaeger <aj@suse.de>
5780
03879793
AJ
5781 [BZ #6894]
5782 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5783 is an optional BSD extension.
5784
823fbbb4
AJ
5785 [BZ #10254]
5786 * manual/stdio.texi (Opening Streams): Document additional fopen
5787 parameters.
5788
8de131cb
RM
57892012-04-09 Roland McGrath <roland@hack.frob.com>
5790
5791 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5792 %eax without telling the compiler.
5793
c0ed9d7d
CD
57942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5795
5796 [BZ # 13963]
5797 * manual/install.texi: Use sourceware.org.
5798
c483f6b4
JM
57992012-04-09 Joseph Myers <joseph@codesourcery.com>
5800
d7dd9453
JM
5801 [BZ #13873]
5802 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5803 (__ieee754_pow): Generate overflow and underflow using huge*huge
5804 and tiny*tiny rather than just returning constant infinity or zero
5805 for large exponents.
5806 * math/libm-test.inc (pow_test): Require overflow exceptions for
5807 applicable cases of large exponents.
5808
c483f6b4
JM
5809 [BZ #706]
5810 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5811 (__ieee754_pow): Use iterative multiplication algorithm only for
5812 integer exponents with absolute value below 1024. Check for odd
5813 integer exponents when using algorithm for real exponents.
5814 * math/libm-test.inc (pow_test): Add more tests.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5816
d2de7579
JM
58172012-04-08 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #13705]
5820 * math/libm-test.inc (exp_test): Do not allow overflow exception
5821 on underflow test.
5822
f77f1232
AJ
58232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5824
5825 [BZ #13705]
5826 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5827 instead of __kernel_standard_f.
5828
3884932b
MF
58292012-04-08 Mike Frysinger <vapier@gentoo.org>
5830
5831 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5832 * sysdeps/x86_64/memset_chk.S: Likewise.
5833
54472e9c
AJ
58342012-04-08 Andreas Jaeger <aj@suse.de>
5835
6ab0fbfc
AJ
5836 [BZ #10153]
5837 * manual/startup.texi (Environment Access): Describe return value
5838 for putenv and setenv.
5839
61efba8c
AJ
5840 [BZ #6895]
5841 * manual/filesys.texi (Directory Entries): Add description for
5842 DT_LNK.
5843
95c3f29a
AJ
5844 [BZ #6890]
5845 * manual/filesys.texi (Directory Entries): Clarify that it's file
5846 system not operating system in the description of DT_UNKNOWN.
5847
54472e9c
AJ
5848 [BZ #6578]
5849 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5850
624254b1
SC
58512012-04-08 Stephen Compall <s11@member.fsf.org>
5852
5853 [BZ #6649]
5854 * manual/llio.texi (Opening and Closing Files): Add cross
5855 reference to explain mode argument.
5856
1e4920e0
MF
58572012-04-07 Mike Frysinger <vapier@gentoo.org>
5858
5859 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5860 * sysdeps/x86_64/memset_chk.S: Likewise.
5861
5ed848f3
DM
58622012-04-07 David S. Miller <davem@davemloft.net>
5863
5864 * elf/elf.h (R_SPARC_WDISP10): Define.
5865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5866 R_SPARC_SIZE32.
5867 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5868 R_SPARC_SIZE64 and R_SPARC_H34.
5869
96154cd8
CD
58702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5871
5872 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5873 conditions and remove no longer applicable assertion.
5874
9904dc47
L
58752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5876
5877 * bits/byteswap.h: Include <features.h>.
5878 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5879 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5880
f8887d0a
L
58812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * bits/byteswap.h (__bswap_16): Removed.
5884 Include <bits/byteswap-16.h> to get __bswap_16.
5885 * sysdeps/i386/bits/byteswap.h: Likewise.
5886 * sysdeps/s390/bits/byteswap.h: Likewise.
5887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5888 * bits/byteswap-16.h: New file.
5889 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5890 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5891 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5892 * string/Makefile (headers): Add bits/byteswap-16.h.
5893
62470f60
PP
58942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5895
5896 [BZ #13895]
5897 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5898 extra indirection.
5899 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5900 * nss/tst-nss-static.c: New.
5901
4dad7bab
RM
59022012-04-06 Robert Millan <rmh@gnu.org>
5903
5904 [BZ #6486]
5905 * manual/llio.texi (File Position Primitive): lseek
5906 refers to WHENCE when it really means OFFSET.
5907
e9142a17
AJ
59082012-04-06 Andreas Jaeger <aj@suse.de>
5909
2c040eff
AJ
5910 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5911 strncmp declarations.
5912
e9142a17
AJ
5913 * abilist/libc.abilist: Add __poll and __ppoll.
5914
ff9f1c5f
DM
59152012-04-05 David S. Miller <davem@davemloft.net>
5916
dcd2ae90
DM
5917 * scripts/check-local-headers.sh: Accept a host triplet in the
5918 path matched by the exclude regexp.
5919
993eb054
DM
5920 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5921 definition.
5922 * sysdeps/powerpc/powerpc32/dl-machine.h
5923 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5924 * sysdeps/s390/s390-32/dl-machine.h
5925 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5926 * sysdeps/sparc/sparc32/dl-machine.h
5927 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5928 * sysdeps/sparc/sparc64/dl-machine.h
5929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5930
ff9f1c5f
DM
5931 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5932 lazy binding.
48e2e132 5933 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5934 undefined symbol errors.
5935
48e2e132 5936 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5937 DT_NEEDED entries.
5938
e80d6f94
MM
59392012-04-05 Michael Matz <matz@suse.de>
5940
5941 [BZ #13592]
5942 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5943
349fa79f
AJ
59442012-04-05 Andreas Jaeger <aj@suse.de>
5945
5946 [BZ #13908]
5947 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5948 comment.
5949
f402708f
KK
59502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5951
5952 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5953 which ROUND is no valid rounding mode.
5954
2ecccfc9
KK
59552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5956
5957 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5958 read again.
5959 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5960
8a53f50f
KK
59612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5962
5963 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5964 an exception using FPU order intentionally.
5965
59662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5967
5968 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5969 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5970 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5971 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5972
d653abb7
SJ
59732012-04-05 Simon Josefsson <simon@josefsson.org>
5974
5975 [BZ #12340]
5976 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5977 EINVAL when BUFLEN is too smal.
5978
c3b1bf7d
TS
59792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5980
5981 [BZ #13553]
5982 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5983 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5984
b1aa60f3
AJ
59852012-04-03 Andreas Jaeger <aj@suse.de>
5986
c3b1bf7d 5987 [BZ #13938]
67f60a26
AJ
5988 * manual/setjmp.texi (System V contexts): Fix sentence.
5989
b1aa60f3
AJ
5990 [BZ #13926]
5991 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5992 New macro for this case.
5993 [!__GNUC__] (__bswap_64): New inline function for this case.
5994 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5995 * bits/byteswap.h: Likewise.
5996 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5997 ull, guard with __GLIBC_HAVE_LONG_LONG.
5998
5999 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6000 __GLIBC_HAVE_LONG_LONG.
6001
6002 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6003 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6004
39c59c35
TMQMF
60052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6006
6007 [BZ #13691]
6008 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6009 inptr and inend, rather than using last_ch.
6010
135ffda8
DM
60112012-04-02 David S. Miller <davem@davemloft.net>
6012
6013 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6014 * stdio-common/printf-parse.h (read_int): Change return type to
6015 'int', return -1 on INT_MAX overflow.
6016 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6017 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6018 overflows INT_MAX. Check for overflow of in-format-string precision
6019 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6020 SIZE_MAX not INT_MAX for integer overflow test.
6021 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6022 skip the construct in the format string but do not record anything.
6023 * stdio-common/bug22.c: Adjust to test both width/prevision
6024 INT_MAX overflow as well as total length INT_MAX overflow. Check
6025 explicitly for proper errno values.
6026
228c019e
TS
60272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6028
302cadd3
TS
6029 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6030 CHAR_MAX.
6031 * string/test-strcmp.c [! WIDE]: Likewise.
6032 * time/tst-mktime2.c: Likewise for INT_MAX.
6033 * string/test-string.h: #include <sys/param.h> for MIN.
6034
228c019e
TS
6035 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6036 * sysdeps/i386/init-first.c (init): Likewise.
6037 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6038 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6039 * sysdeps/sh/init-first.c (init): Likewise.
6040
cfa633f5
UD
60412012-04-01 Ulrich Drepper <drepper@gmail.com>
6042
6043 * po/ru.po: Update from translation team.
d1635ef8 6044 * po/vi.po: Likewise.
cfa633f5 6045
6cd0a5ea
SP
60462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6047
6048 * resolv/nss_dns/dns-host.c: Merge copyright years.
6049
4b43400f
LD
60502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6051
6052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6053 Optimize memcpy with prefetch if
6054 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6055 src, dst pointers have unequal 16 byte alignments.
6056
48c41d04
SP
60572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6058
6059 [BZ #13928]
6060 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6061 from a CNAME entry and return the minimum ttl for the query.
6062 (gaih_getanswer_slice): Likewise.
6063
b8dc394d
JL
60642012-03-30 Jeff Law <law@redhat.com>
6065
6066 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6067 due to long keys.
6068 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6069 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6070
2f5a5ed0
JL
6071 * resolv/nss_dns/dns-host.c: Update copyright year.
6072
1d39e359
UD
60732012-03-30 Ulrich Drepper <drepper@gmail.com>
6074
c030f70c 6075 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6076 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6077
1d39e359
UD
6078 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6079 comments for sendmmsg.
6080
60812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6082
6083 [BZ #13691]
6084 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6085 with only 1 character between 0x0041 and 0x01b0.
6086 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6087 * wcsmbs/tst-mbsnrtowcs.c: New file.
6088
20fde227
DM
60892012-03-29 David S. Miller <davem@davemloft.net>
6090
6091 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6092 small copies by hand.
6093
984a4237
JL
60942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6095
6096 [BZ #13761]
6097 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6098 _nss_compat_initgroups_dyn): Fall back to malloc/free
6099 for large group memberships.
6100
18c9d62b
DM
61012012-03-28 David S. Miller <davem@davemloft.net>
6102
88d85d4f
DM
6103 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6104 that branches into memcpy.
6105 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6108 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6110 bits.
6111 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6112 implementation too.
6113 * sysdeps/sparc/mempcpy.S: New file.
6114
e5aa83e1
DM
6115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6116 the IFUNC routine in the libc case.
6117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6118
88570753
DM
6119 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6120 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6121 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6122 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6123 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6124 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6125 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6126 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6127
249d7567
DM
6128 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6129 loop to 256 bytes instead of 64 bytes and fix test signedness.
6130
18c9d62b
DM
6131 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6132 * sysdeps/sparc/sparc32/Makefile: rather than here...
6133 * sysdeps/sparc/sparc64/Makefile: and here.
6134
05f3d1f6
UD
61352012-03-28 Ulrich Drepper <drepper@gmail.com>
6136
6137 * malloc/mallocbug.c: Avoid warnings about unused variables.
6138
86ae07a8
JL
61392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
6141 [BZ #13760]
6142 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6143 in the right place. Discard and retry query if response is
6144 larger than input buffer size.
6145
41bf21a1
JM
61462012-03-28 Joseph Myers <joseph@codesourcery.com>
6147
d6270972
JM
6148 [BZ #369]
6149 [BZ #2678]
6150 [BZ #3866]
6151 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6152 x for large integer exponent.
6153 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6154 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6155 sign of result as needed afterwards.
6156 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6157 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6158 result for underflowing pow the same as for overflow.
6159 (__kernel_standard_l): Handle powl overflow and underflow here
6160 rather than calling __kernel_standard.
6161 * math/libm-test.inc (pow_test): Add more tests.
6162
414fca03 6163 [BZ #3868]
41bf21a1
JM
6164 [BZ #13879]
6165 [BZ #13910]
6166 [BZ #13911]
6167 [BZ #13912]
6168 [BZ #13913]
6169 [BZ #13915]
6170 [BZ #13916]
6171 [BZ #13917]
6172 [BZ #13918]
6173 [BZ #13919]
6174 [BZ #13920]
6175 [BZ #13921]
6176 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6177 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6178 (__kernel_standard_l): New function.
6179 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6180 __kernel_standard.
6181 * math/w_acosl.c (__acosl): Likewise.
6182 * math/w_asinl.c (__asinl): Likewise.
6183 * math/w_atan2l.c (__atan2l): Likewise.
6184 * math/w_atanhl.c (__atanhl): Likewise.
6185 * math/w_coshl.c (__coshl): Likewise.
6186 * math/w_exp10l.c (__exp10l): Likewise.
6187 * math/w_exp2l.c (__exp2l): Likewise.
6188 * math/w_fmodl.c (__fmodl): Likewise.
6189 * math/w_hypotl.c (__hypotl): Likewise.
6190 * math/w_j0l.c (__j0l, __y0l): Likewise.
6191 * math/w_j1l.c (__j1l, __y1l): Likewise.
6192 * math/w_jnl.c (__jnl, __ynl): Likewise.
6193 * math/w_lgammal.c (__lgammal): Likewise.
6194 * math/w_log10l.c (__log10l): Likewise.
6195 * math/w_log2l.c (__log2l): Likewise.
6196 * math/w_logl.c (__logl): Likewise.
6197 * math/w_powl.c (__powl): Likewise.
6198 * math/w_remainderl.c (__remainderl): Likewise.
6199 * math/w_scalbl.c (sysv_scalbl): Likewise.
6200 * math/w_sinhl.c (__sinhl): Likewise.
6201 * math/w_sqrtl.c (__sqrtl): Likewise.
6202 * math/w_tgammal.c (__tgammal): Likewise.
6203 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6204 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6205 * math/libm-test.inc (acos_test): Add more tests.
6206 (acosh_test): Likewise.
6207 (asin_test): Likewise.
6208 (atanh_test): Likewise.
6209 (exp_test): Likewise.
6210 (exp10_test): Likewise.
6211 (exp2_test): Likewise.
6212 (expm1_test): Likewise.
6213 (lgamma_test): Likewise.
6214 (log_test): Likewise.
6215 (log10_test): Likewise.
6216 (log1p_test): Likewise.
6217 (log2_test): Likewise.
6218 (pow_test): Do not allow some spurious overflow exceptions.
6219 (sqrt_test): Add more tests.
6220 (tgamma_test): Likewise.
6221 (y0_test): Likewise.
6222 (y1_test): Likewise.
6223 (yn_test): Likewise.
6224
dd62fda6
AB
62252012-03-27 Anton Blanchard <anton@samba.org>
6226
6227 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6228 MAP_HUGETLB.
6229 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6232
1e3cdfda
AJ
62332012-03-27 David S. Miller <davem@davemloft.net>
6234
b855ab85
DM
6235 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6236
1e3cdfda
AJ
6237 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6238 have-as-vis3 check.
6239
62402012-03-27 Andreas Jaeger <aj@suse.de>
6241
6242 * sysdeps/x86_64/elf/configure.in: Moved to ...
6243 * sysdeps/x86_64/configure.in: ... here.
6244 * sysdeps/x86_64/elf/start.S: Moved to ...
6245 * sysdeps/x86_64/start.S: ... here.
6246 * sysdeps/x86_64/elf/configure: Delete.
6247
6248 * sysdeps/x86_64/configure.in: Merge contents from
6249 sysdeps/i386/configure.in (without i686 check).
6250
6251 * sysdeps/i386/elf/Versions: Merge into ...
6252 * sysdeps/i386/Versions: ... this.
6253 * sysdeps/i386/elf/Versions: Delete file.
6254 * sysdeps/i386/elf/start.S: Moved to ...
6255 * sysdeps/i386/start.S: ...here.
6256 * sysdeps/i386/elf/configure.in: Merge into...
6257 * sysdeps/i386/configure.in: ...here.
6258 * sysdeps/i386/elf/configure.in: Delete file.
6259 * sysdeps/i386/elf/configure: Delete file.
6260
6261 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6262 * debug/backtracesyms.c: ... here.
6263 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6264 * debug/backtracesymsfd.c: ... here.
6265 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6266 * sysdeps/generic/ifunc-sel.h: ... here.
6267
6268 * sysdeps/unix/i386/start.c: Delete file.
6269 * sysdeps/unix/sparc/start.c: Delete file.
6270 * sysdeps/unix/start.c: Delete file.
6271
6272 * sysdeps/sh/elf/configure.in: Moved to ...
6273 * sysdeps/sh/configure.in: ... here.
6274 * sysdeps/sh/elf/start.S: Moved to ...
6275 * sysdeps/sh/start.S: ... here.
6276 * sysdeps/sh/elf/configure: Delete file.
6277
6278 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6279 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6280 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6281 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6282 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6283 * sysdeps/powerpc/powerpc64/start.S: here.
6284 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6285 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6286 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6287 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6288 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6289
6290 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6291 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6292 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6293 * sysdeps/powerpc/powerpc32/start.S: ... here.
6294 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6295 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6296 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6297
6298 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6299 * sysdeps/powerpc/ifunc-sel.h: ... here.
6300 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6301 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6302
6303 * sysdeps/sparc/elf/configure.in: Moved to ...
6304 * sysdeps/sparc/configure.in: ... here.
6305 * sysdeps/sparc/elf/configure: Delete file.
6306 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6307 * sysdeps/sparc/sparc32/start.S: ... here.
6308 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6309 * sysdeps/sparc/sparc64/start.S: ... here.
6310 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6311 * sysdeps/sparc/sparc32/Makefile: ... this.
6312 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6313 * sysdeps/sparc/sparc64/Makefile: ... this.
6314
6315 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6316 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6317 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6318 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6319 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6320 * sysdeps/s390/s390-32/setjmp.S: ... here.
6321 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6322 * sysdeps/s390/s390-32/configure.in: ... here.
6323 * sysdeps/s390/s390-32/elf/configure: Delete file.
6324 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6325 * sysdeps/s390/s390-32/start.S: ... here.
6326
6327 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6328 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6329 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6330 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6331 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6332 * sysdeps/s390/s390-64/setjmp.S: ... here.
6333 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6334 * sysdeps/s390/s390-64/configure.in: ... here
6335 * sysdeps/s390/s390-64/elf/configure: Delete file.
6336 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6337 * sysdeps/s390/s390-64/start.S: ... here.
6338 * sysdeps/s390/s390-64/elf/configure: Delete.
6339
6340 * configure.in: Remove support for elf directories in sysdeps.
6341
6342 * configure: Regenerated.
6343 * sysdeps/i386/configure: Regenerated.
6344 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6345 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6346 * sysdeps/s390/s390-32/configure: Regenerated.
6347 * sysdeps/s390/s390-64/configure: Regenerated.
6348 * sysdeps/sh/configure: Regenerated.
6349 * sysdeps/sparc/configure: Regenerated.
6350 * sysdeps/x86_64/configure: Regenerated.
6351
a3f61311
AS
63522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6353
c876e002
AS
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6355
a3f61311
AS
6356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6357 denormal result into account.
6358
ac4c54f0
RM
63592012-03-25 Roland McGrath <roland@hack.frob.com>
6360
6361 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6362 Reported by Allan McRae <allan@archlinux.org>.
6363
6a9b9c02
JL
63642012-03-23 Jeff Law <law@redhat.com>
6365
6366 * nss/getnssent.c (__nss_getent): Fix typo.
6367
4c42a0c1
DM
63682012-03-23 David S. Miller <davem@davemloft.net>
6369
6370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6371
1532c7ac
L
63722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6375 to pad to uint64_t for each field.
6376 (dl_tls_index): Replace unsigned long with uint64_t.
6377
3ff42526
PP
63782012-03-23 Daniel Jacobowitz <dmj@google.com>
6379 Paul Pluzhnikov <ppluzhnikov@google.com>
6380
6381 [BZ #6528]
6382 * grp/Makefile (otherlibs): Don't set it.
6383 * inet/Makefile (otherlibs): Likewise.
6384 * login/Makefile (otherlibs): Likewise.
6385 * nscd/Makefile (otherlibs): Likewise.
6386 * posix/Makefile (otherlibs): Likewise.
6387 * pwd/Makefile (otherlibs): Likewise.
6388 * rt/Makefile (otherlibs): Likewise.
6389 * sunrpc/Makefile (otherlibs): Likewise.
6390 * nss/Makefile (otherlibs): Likewise.
6391 Add libnss_files to routines and static-only-routines.
6392 ($(objpfx)getent): Remove rule.
6393 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6394 static-only-routines.
6395
7c69cd14
JM
63962012-03-22 Joseph Myers <joseph@codesourcery.com>
6397
6398 [BZ #13892]
6399 * math/s_cexp.c: Include <float.h>.
6400 (__cexp): Handle exp result overflowing not necessarily
6401 overflowing both real and imaginary parts of result.
6402 * math/s_cexpf.c: Likewise.
6403 * math/s_cexpl.c: Likewise.
6404 * math/libm-test.inc (cexp_test): Add more tests.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6407
81b035fe
L
64082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 * include/link.h (ELFW): New macro.
6411 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6412 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6413
1da7940c
L
64142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6415
6416 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6417 with uint64_t.
6418
b749dbb9
L
64192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6420
6421 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6422 declaration.
6423 (struct La_x32_retval): Likewise.
6424
2ff87f3f
L
64252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6426
6427 * sysdeps/x86_64/preconfigure.in: New file.
6428 * sysdeps/x86_64/preconfigure: New generated file.
6429
c0df8e69
JM
64302012-03-22 Joseph Myers <joseph@codesourcery.com>
6431
48e44791
JM
6432 [BZ #13824]
6433 * math/e_exp2l.c: Include <float.h>.
6434 (__ieee754_exp2l): Handle overflow and underflow cases
6435 separately. Only pass fractional part of argument to
6436 __ieee754_expl.
6437 * math/libm-test.inc (exp2_test): Add more tests.
6438
c0df8e69
JM
6439 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6440 negating x to take absolute value.
6441 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6442 Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6445 Likewise.
6446 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6447 computing low part if x was negated.
6448 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6449
c8e43ba7
L
64502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6451
6452 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6453 la_x32_gnu_pltexit.
6454 (pltexit): Cast int_retval to ptrdiff_t.
6455 * elf/tst-auditmod3b.c: Likewise.
6456 * elf/tst-auditmod4b.c: Likewise.
6457 * elf/tst-auditmod5b.c: Likewise.
6458 * elf/tst-auditmod6b.c: Likewise.
6459 * elf/tst-auditmod6c.c: Likewise.
6460 * elf/tst-auditmod7b.c: Likewise.
6461
6462 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6463 and x32_gnu_pltexit.
6464
6465 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6466 __ELF_NATIVE_CLASS.
6467 (La_x32_regs): New macro.
6468 (La_x32_retval): Likewise.
6469 (la_x32_gnu_pltenter): New function prototype.
6470 (la_x32_gnu_pltexit): Likewise.
6471
7998fa78
AS
64722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6473
dcb33988
AS
6474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6475 exponent.
6476
233fc563
AS
6477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6478
7998fa78
AS
6479 * configure.in (libc_cv_cc_nofma): Check for option to disable
6480 generation of FMA instructions.
6481 * configure: Regenerate.
6482 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6483 * sysdeps/ieee754/dbl-64/Makefile: New file.
6484 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6485 Remove brandred-fma4.
6486 (CFLAGS-brandred-fma4.c): Remove.
6487 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6489 define.
6490 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6491 define.
6492
8e95c99a
L
64932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6496 LLONG_MAX != LONG_MAX.
6497 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6498 (_fitoa_word): Likewise.
6499 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6500 LLONG_MAX != LONG_MAX.
6501 * stdio-common/_itowa.h: Include <_itoa.h>.
6502 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6503 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6504 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6505 only if not defined.
6506 (_ITOA_WORD_TYPE): Likewise.
6507 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6508 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6509
6f4db457
DM
65102012-03-21 David S. Miller <davem@davemloft.net>
6511
6512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6513
7785fe5a
L
65142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6515
6516 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6517 of x86_64 when setting libc_cv_slibdir, libdir and
6518 libc_cv_localedir.
6519 * sysdeps/unix/sysv/linux/configure: Regenerated.
6520
4535cd55
JM
65212012-03-21 Joseph Myers <joseph@codesourcery.com>
6522
6523 * manual/lang.texi (Old Varargs): Remove section.
6524 (How Variadic): Update menu.
6525 (va_start): Do not mention varargs.h.
6526
17228132
TS
65272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6528 Joseph Myers <joseph@codesourcery.com>
6529
6530 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6531 link test.
6532 * configure: Regenerated.
6533
8149f976
TS
65342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6535
05f3d1f6
UD
6536 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6537 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6538 conformtest.pl
8149f976 6539
1a4ac776
JM
65402012-03-21 Joseph Myers <joseph@codesourcery.com>
6541
be22ce65
JM
6542 * NOTES: Remove.
6543 * Makefile (files-for-dist): Remove NOTES.
6544 (NOTES): Remove rule.
6545 * README: Don't refer to NOTES.
6546 * manual/creature.texi: Don't include macros.texi.
6547 * manual/intro.texi (creature.texi): Remove comment referring to
6548 NOTES.
6549
40b601fb
JM
6550 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6551 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6552 * configure: Regenerated.
6553 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6554 LIBC_TRY_CC_OPTION.
6555 (libc_cv_as_i686): Likewise.
6556 (libc_cv_cc_avx): Likewise.
6557 (libc_cv_cc_sse2avx): Likewise.
6558 (libc_cv_cc_fma4): Likewise.
6559 (libc_cv_cc_novzeroupper): Likewise.
6560 * sysdeps/i386/configure: Regenerated.
6561
1a4ac776
JM
6562 [BZ #13883]
6563 * sysdeps/i386/fpu/s_cexp.S: Remove.
6564 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6565 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6566 * math/libm-test.inc (cexp_test): Add more tests.
6567 * sysdeps/i386/fpu/libm-test-ulps: Update.
6568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6569
a458e7fe
AM
65702012-03-21 Allan McRae <allan@archlinux.org>
6571
6572 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6573
0cb7efc5
JM
65742012-03-21 Joseph Myers <joseph@codesourcery.com>
6575
6576 [BZ #13871]
6577 * math/w_exp2.c: Do not include <float.h>.
6578 (o_threshold, u_threshold): Remove.
6579 (__exp2): Calculate result before checking finiteness and calling
6580 __kernel_standard.
6581 * math/w_exp2f.c: Likewise.
6582 * math/w_exp2l.c: Likewise.
6583 * math/libm-test.inc (exp2_test): Require overflow exception for
6584 1e6 input.
2460d3aa
JM
6585
6586 [BZ #3866]
6587 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6588 range of signed 64-bit integers before using fistpll. Remove
6589 checks for whether integers fit in mantissa bits.
6590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6591 the range of signed 32-bit integers before using fistpl. Remove
6592 checks for whether integers fit in mantissa bits.
6593 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6594 (__ieee754_powl): Test for y outside the range of signed 64-bit
6595 integers before using fistpll. Reduce 64-bit values to 63-bit
6596 ones as needed.
6597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6598 divide-by-zero is raised for zero to large negative powers.
6599 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6600 (__ieee754_powl): Test for y outside the range of signed 64-bit
6601 integers before using fistpll. Reduce 64-bit values to 63-bit
6602 ones as needed.
6603 * math/libm-test.inc (pow_test): Add more tests.
6604
eb96ffb0
L
66052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6608 <stdio-common/_itoa.h>.
6609 * debug/segfault.c: Likewise.
6610 * elf/dl-cache.c: Likewise.
6611 * elf/dl-minimal.c: Likewise.
6612 * elf/dl-misc.c: Likewise.
6613 * elf/dl-sysdep.c: Likewise.
6614 * elf/dl-version.c: Likewise.
6615 * elf/rtld.c: Likewise.
6616 * hurd/hurdsock.c: Likewise.
6617 * hurd/lookup-retry.c: Likewise.
6618 * malloc/malloc.c: Likewise.
6619 * malloc/mtrace.c: Likewise.
6620 * nscd/nscd_getgr_r.c: Likewise.
6621 * nscd/nscd_getpw_r.c: Likewise.
6622 * nscd/nscd_getserv_r.c: Likewise.
6623 * posix/getopt_init.c: Likewise.
6624 * posix/wordexp.c: Likewise.
6625 * stdio-common/_itoa.c: Likewise.
6626 * stdio-common/printf_fphex.c: Likewise.
6627 * stdio-common/vfprintf.c: Likewise.
6628 * string/_strerror.c: Likewise.
6629 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6630 * sysdeps/i386/i686/hp-timing.h: Likewise.
6631 * sysdeps/mach/_strerror.c: Likewise.
6632 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6633 * sysdeps/mach/hurd/sethostid.c: Likewise.
6634 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6635 * sysdeps/mach/xpg-strerror.c: Likewise.
6636 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6638 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6639 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6640 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6641 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6642 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6643 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6644 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6645 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6646 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6647 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6648 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6649 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6651 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6652 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6654 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6655 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6657
6658 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6659
6660 * stdio-common/_itoa.h: Moved to ...
6661 * sysdeps/generic/_itoa.h: Here.
6662
6663 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6664
6665 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6666 instead of "_itoa.h" and "_itowa.h".
6667 * stdio-common/vfprintf.: Likewise.
6668
d1af992d
L
66692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6670
6671 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6672 <bits/wordsize.h>.
6673 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6674 (__signbit): Likwise.
6675 (llrintf): Likwise.
6676 (llrint): Likwise.
6677
114883e0
L
66782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6681 __WORDSIZE != 64.
6682
c135cc1b
JM
66832012-03-20 Joseph Myers <joseph@codesourcery.com>
6684
6685 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6686 OVERFLOW_EXCEPTION_OK.
6687 * math/libm-test.inc ("Philosophy"): Update comment about
6688 exception testing.
6689 (OVERFLOW_EXCEPTION): Define.
6690 (OVERFLOW_EXCEPTION_OK): Likewise.
6691 (INVALID_EXCEPTION_OK): Renumber.
6692 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6693 (IGNORE_ZERO_INF_SIGN): Likewise.
6694 (test_exceptions): Handle FE_OVERFLOW.
6695 (exp10_test): Expect overflow exceptions.
6696 (exp2_test): Likewise.
6697 (expm1_test): Likewise.
6698 (nextafter_test): Likewise.
6699 (pow_test): Likewise.
6700 (scalbn_test): Likewise.
6701 (scalbln_test): Likewise.
6702
95443d88
L
67032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6704
6705 * sysdeps/x86_64/bits/atomic.h
6706 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6707 64bit integer.
6708 (atomic_exchange_acq): Likewise.
6709 (__arch_exchange_and_add_body): Likewise.
6710 (__arch_add_body): Likewise.
6711 (atomic_add_negative): Likewise.
6712 (atomic_add_zero): Likewise.
6713
490df6c4
L
67142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6715
c2722551 6716 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6717 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6718
5e52b189
L
67192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6722 Check __x86_64__ instead of __WORDSIZE.
6723
a9879d4c
L
67242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6727
5df98260
DM
67282012-03-19 David S. Miller <davem@davemloft.net>
6729
e1497744
DM
6730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6731
5df98260
DM
6732 * sysdeps/sparc/fpu/fenv_private.h: New file.
6733 * sysdeps/sparc/fpu/math_private.h: Use it.
6734 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6735 Remove.
6736 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6737 (libc_feholdexcept_setroundl): Remove.
6738 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6739 Remove.
6740 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6741 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6742
b4c35121
L
67432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6746 int64_t instead of long int.
6747 (INSERT_WORDS64): Likwise.
6748
56965fd7
L
67492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6750
6751 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6752 _Unwind_GetCFA return to _Unwind_Ptr first.
6753
83d1aec8
JM
67542012-03-19 Joseph Myers <joseph@codesourcery.com>
6755
1897ad44
JM
6756 [BZ #13629]
6757 * math/s_clog.c: Include <float.h>.
6758 (__clog): Scale large or subnormal inputs.
6759 * math/s_clogf.c: Likewise.
6760 * math/s_clogl.c: Likewise.
6761 * math/s_clog10.c: Include <float.h>.
6762 (M_LOG10_2): Define.
6763 (__clog10): Scale large or subnormal inputs.
6764 * math/s_clog10f.c: Likewise.
6765 * math/s_clog10l.c: Likewise.
6766 * math/libm-test.inc (clog_test): Add more tests.
6767 (clog10_test): Likewise.
6768 * sysdeps/i386/fpu/libm-test-ulps: Update.
6769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6770
7726d6a9
JM
6771 [BZ #11451]
6772 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6773 x and y.
6774 * math/libm-test.inc (atan2_test): Add another test.
6775
83d1aec8
JM
6776 * Makerules (common-objdir-compile): Remove.
6777 * sysdeps/unix/Makefile (config-generated): Do not add
6778 $(unix-generated) to variable.
6779 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6780 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6781 Remove rule.
6782 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6783 Likewise.
6784 [generic bits/local_lim.h] (before-compile): Do not append to
6785 variable.
6786 [generic bits/local_lim.h] (common-generated): Likewise.
6787 [generic sys/param.h] (before-compile): Do not append to variable.
6788 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6789 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6790 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6791 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6792 include.
6793 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6794 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6795 [generic sys/param.h] ($(addprefix
6796 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6797 [generic sys/param.h] (common-generated): Do not append to
6798 variable.
6799 [generic sys/param.h] (sysdep_headers): Likewise.
6800 [generic bits/errno.h] (before-compile): Do not append to
6801 variable.
6802 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6803 rule.
6804 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6805 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6806 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6807 [generic bits/errno.h] (common-generated): Do not append to
6808 variable.
6809 [generic bits/ioctls.h] (before-compile): Do not append to
6810 variable.
6811 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6812 rule.
6813 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6814 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6815 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6816 rule.
6817 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6818 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6819 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6820 [generic bits/ioctls.h] (common-generated): Do not append to
6821 variable.
6822 [generic sys/syscall.h] (syscall.h): Remove variable.
6823 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6824 rule.
6825 [generic sys/syscall.h] (before-compile): Do not append to
6826 variable.
6827 [generic sys/syscall.h] (common-generated): Likewise.
6828 * sysdeps/unix/errnos-tmpl.c: Remove file.
6829 * sysdeps/unix/errnos.awk: Likewise.
6830 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6831 * sysdeps/unix/ioctls.awk: Likewise.
6832 * sysdeps/unix/mk-local_lim.c: Likewise.
6833 * sysdeps/unix/snarf-ioctls: Likewise.
6834
4851a949
RH
68352012-03-19 Richard Henderson <rth@twiddle.net>
6836
bd37f2ee
RH
6837 * sysdeps/i386/fpu/fenv_private.h: New file.
6838 * sysdeps/i386/fpu/math_private.h: Use it.
6839 (math_opt_barrier, math_force_eval): Remove.
6840 (libc_feholdexcept_setround_53bit): Remove.
6841 (libc_feupdateenv_53bit): Remove.
6842 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6843 (math_opt_barrier, math_force_eval): Remove.
6844 (libc_feholdexcept): Remove.
6845 (libc_feholdexcept_setround): Remove.
6846 (libc_fetestexcept, libc_fesetenv): Remove.
6847 (libc_feupdateenv_test): Remove.
6848 (libc_feupdateenv, libc_feholdsetround): Remove.
6849 (libc_feresetround): Remove.
6850
d0adc922
RH
6851 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6852 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6853
0fe0f1f8
RH
6854 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6855 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6856 (libc_feupdateenv_testl): New.
6857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6858 (libc_feupdateenv_testf): New.
6859 (libc_feupdateenv): Use libc_feupdateenv_test.
6860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6862
eb92c487
RH
6863 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6864 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6865 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6866 (libc_feresetround_noex): New.
6867 (libc_feresetround_noexf): New.
6868 (libc_feresetround_noexl): New.
6869 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6870 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6871 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6872 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6873 SET_RESTORE_ROUND.
6874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6876 (__cos): Likewise.
6877 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6878 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6879 SET_RESTORE_ROUND_NOEX.
6880 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6881 SET_RESTORE_ROUND_NOEXF.
6882 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6883 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6884 (libc_feholdsetroundf): New.
6885 (libc_feresetround, libc_feresetroundf): New.
6886
7d2e8012
RH
6887 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6888 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6889 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6890
b4dabbb4
RH
6891 * sysdeps/generic/math_private.h: Include <fenv.h>.
6892 (default_libc_feholdexcept): New.
6893 (default_libc_feholdexcept_setround): New.
6894 (default_libc_fesetenv, default_libc_feupdateenv): New.
6895 (libc_feholdexcept): Only define if undefined.
6896 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6897 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6898 (libc_feholdexcept_setroundl): Likewise.
6899 (libc_feholdexcept_setround_53bit): Likewise.
6900 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6901 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6902 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6903 (libc_feupdateenv_53bit): Likewise.
6904 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6905 (libc_feholdexcept): Convert from macro to inline function.
6906 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6907 (libc_fesetenv, libc_feupdateenv): Likewise.
6908
4851a949
RH
6909 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6910 not previously defined.
6911 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6912 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6913 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6915 * sysdeps/ieee754/flt-32/math_private.h: New file.
6916 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6917 math_private.h below SET_FLOAT_WORD.
6918 (__isnan, __isinf_ns, __finite): Remove.
6919 (__isnanf, __isinf_nsf, __finitef): Remove.
6920
e79d442e
AS
69212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6922
6923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6924
90b80344
DM
69252012-03-17 David S. Miller <davem@davemloft.net>
6926
6927 [BZ #6471]
6928 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6929 for 2.16.
6930
edc21804
DM
69312012-03-16 David S. Miller <davem@davemloft.net>
6932
77e927af
DM
6933 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6934 warnings.
6935
374976dd
DM
6936 [BZ #6471]
6937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6938 properly.
6939 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6940 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6941 sysdep_routines when subdir is sysvipc.
6942 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6943 __getshmlba helper.
6944
edc21804
DM
6945 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6946
473c3ef3
L
69472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6948
6949 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6950 [__LP64__].
6951
eb0f39b6
L
69522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6953
6954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6955 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6956 (__lround): Renamed to ...
6957 (__llround): This. Replace long int with long long int.
6958 Define lround functions as aliases of llround functions.
6959 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6960
6b6cd74b
L
69612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6962
6963 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6964 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6965 adresses to uintptr_t. Replace "long int" and "unsigned long
6966 int" with "greg_t" on va_arg.
6967
f1a77b01
L
69682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6969
6970 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6971 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6972
6973 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6974 Move e_machine check before EI_CLASS check. Handle x32
6975 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6976 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6977 SKIP_EM_IA_64 and include
6978 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6979
6980 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6981 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6982 (add_system_dir): New macro.
6983
6984 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6985 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6986
11b90b9f
JM
69872012-03-16 Joseph Myers <joseph@codesourcery.com>
6988
c36e1d23
JM
6989 [BZ #2551]
6990 [BZ #2552]
6991 [BZ #2553]
6992 [BZ #2554]
6993 [BZ #2562]
6994 [BZ #2563]
6995 [BZ #2565]
6996 [BZ #2566]
6997 [BZ #2576]
6998 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6999 (y0): Likewise.
7000 * math/w_j0f.c (j0f): Likewise.
7001 (y0f): Likewise.
7002 * math/w_j0l.c (__j0l): Likewise.
7003 (__y0l): Likewise.
7004 * math/w_j1.c (j1): Likewise.
7005 (y1): Likewise.
7006 * math/w_j1f.c (j1f): Likewise.
7007 (y1f): Likewise.
7008 * math/w_j1l.c (__j1l): Likewise.
7009 (__y1l): Likewise.
7010 * math/w_jn.c (jn): Likewise.
7011 (yn): Likewise.
7012 * math/w_jnf.c (jnf): Likewise.
7013 (ynf): Likewise.
7014 * math/w_jnl.c (__jnl): Likewise.
7015 (__ynl): Likewise.
7016 * math/libm-test.inc (j0_test): Add more tests.
7017 (j1_test): Likewise.
7018 (jn_test): Likewise. Add trailing semicolon to existing test.
7019 (y0_test): Likewise.
7020 (y1_test): Likewise.
7021 * sysdeps/i386/fpu/libm-test-ulps: Update.
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7023
11b90b9f
JM
7024 [BZ #13851]
7025 [BZ #13854]
7026 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7027 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7028 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7029 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7030 (__tanl): Set errno for infinite argument.
7031 * sysdeps/i386/fpu/mptan.c: Remove.
7032 * sysdeps/i386/fpu/s_tan.S: Likewise.
7033 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7034 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7035 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7036 * math/libm-test.inc (tan_test): Add more tests and enable more
7037 tests for double and long double.
7038 * sysdeps/i386/fpu/libm-test-ulps: Update.
7039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7040
6a1bd2a1
JK
70412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7044 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7045
10a803e0
RM
70462012-03-16 Roland McGrath <roland@hack.frob.com>
7047
7048 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7049 * configure.in: Use it for both main tree and add-ons.
7050 * configure: Regenerated.
7051
f196c7f7
L
70522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7055
8848d99d
JM
70562012-03-16 Joseph Myers <joseph@codesourcery.com>
7057
96cbe7f4
JM
7058 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7059 in comment.
7060
8848d99d
JM
7061 [BZ #13851]
7062 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7063 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7067 infinite argument.
7068 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7069 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7070 != 0 for prec == 2.
7071 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7072 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7073 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7074 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7075 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7076 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7077 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7078 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7079 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7080 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7081 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7082 * math/libm-test.inc (cos_test): Add more tests and enable more
7083 tests for long double.
7084 (sin_test): Likewise.
7085 (sincos_test): Likewise.
7086 * sysdeps/i386/fpu/libm-test-ulps: Update.
7087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7088
dd7f4703
DM
70892012-03-16 David S. Miller <davem@davemloft.net>
7090
7091 * sysdeps/sparc/fpu/math_private.h: New file.
7092
006f1daa
DM
70932012-03-15 David S. Miller <davem@davemloft.net>
7094
c0c83bc8
DM
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7096 file.
e6a62e18 7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7099 file.
e6a62e18
DM
7100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7105 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7106 sysdep routines.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7108
88cb87d9
DM
7109 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7110 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7111
006f1daa 7112 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7114 sparc-ifunc.h
006f1daa 7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7117 Likewise.
7118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7119 Likewise.
006f1daa
DM
7120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7124 Likewise.
006f1daa
DM
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7130 Likewise.
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7132 Likewise.
006f1daa
DM
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7157
11e0098e
AS
71582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7159
7160 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7161 scaling.
7162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7163
e85b09d0
AJ
71642012-03-15 Andreas Jaeger <aj@suse.de>
7165
7166 [BZ #13852]
7167 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7168 ieee754/flt-32 implementation for sin, cos and sincos.
7169 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7170 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7171 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7172 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7173 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7174 ieee754/flt-32 implementation for tan.
7175
7176 * math/libm-test.inc (cos_test): Enable some large input tests for
7177 float as well
7178 (sin_test): Likewise.
7179 (sincos_test): Likewise.
7180 (tan_test): Add tests for large input.
7181
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183
81c64153
AJ
71842012-03-15 Andreas Jaeger <aj@suse.de>
7185
7186 [BZ #13658]
7187 * math/libm-test.inc (cos_test): Add more test cases.
7188 (sin_test): Likewise.
7189 (sincos_test): Likewise.
7190
7bbfa5c6
AJ
71912012-03-15 Andreas Jaeger <aj@suse.de>
7192
7193 [BZ #13837]
7194 * math/libm-test.inc (cos_test): Add a test case for large input
7195 value.
7196 (sin_test): Likewise.
7197 (sincos_test): Likewise.
7198
71992012-03-15 Andreas Jaeger <aj@suse.de>,
7200 Joseph Myers <joseph@codesourcery.com>
7201
7202 [BZ #13658]
0671f479 7203 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7204 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7205 * sysdeps/i386/fpu/branred.c: Likewise.
7206 * sysdeps/i386/fpu/dosincos.c: Likewise.
7207 * sysdeps/i386/fpu/mpa.c: Likewise.
7208 * sysdeps/i386/fpu/s_cos.S: Likewise.
7209 * sysdeps/i386/fpu/s_sin.S: Likewise.
7210 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7211 * sysdeps/i386/fpu/sincos32.c: Likewise.
7212
7213 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7214 Define.
7215 (libc_feupdateenv_53bit): Define.
7216 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7217 Define.
7218 (libc_feupdateenv_53bit): Define.
7219
7220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7221 53 bit (without extend i386 double precision).
7222
7223 * math/libm-test.inc (sincos_test): Add tests for large input.
7224 (sin): Likewise.
7225 (cos): Likewise.
7226
7227 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7228
9cad04ea
AS
72292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7230
7231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7232
f7062b9a
DM
72332012-03-15 David S. Miller <davem@davemloft.net>
7234
7235 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7236 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7237 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7238 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7251 file.
f7062b9a 7252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7254 file.
f7062b9a 7255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7257 file.
f7062b9a 7258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7260 file.
f7062b9a
DM
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7263 fmin/fmax sysdep routines.
7264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7265
7bd951ff
DM
72662012-03-14 David S. Miller <davem@davemloft.net>
7267
559398ab
DM
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7290 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7297 routines.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7299 file.
559398ab 7300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7302 file.
559398ab 7303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7305 file.
559398ab 7306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7308 file.
559398ab 7309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7311 file.
559398ab 7312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7314 file.
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7316 file.
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7318 file.
7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7320 file.
7321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7322 New file.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7324 file.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7326 file.
559398ab 7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7329 file.
559398ab 7330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7332 file.
559398ab 7333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7335 file.
559398ab 7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7338 VIS3 routines.
559398ab
DM
7339
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7341 New file.
7342
5a1c1e32
DM
7343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7344
eae47a36
DM
7345 * sysdeps/sparc/configure.in: New file.
7346 * sysdeps/sparc/configure: Generate.
7347 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7348 * configure: Regenerate.
7349 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7350 * config.make.in (have-as-vis3): New.
7351 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7352 available use -Av9d instead of -Av9a.
7353 * sysdeps/sparc/sparc64/Makefile: Likewise.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7356 New file.
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7358 file.
7359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7360 New file.
7361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7362 file.
eae47a36
DM
7363 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7365 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7366 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7368
c0c83bc8
DM
7369 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7370 fzeros/fnegs to load 0x80000000 into a float register instead of
7371 using the stack.
7bd951ff
DM
7372 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7373
bd951ccb
JM
73742012-03-14 Joseph Myers <joseph@codesourcery.com>
7375
7376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7377 bits/syscall.h.
7378 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7379 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7380 ($(inst_includedir)/bits/syscall.h): Remove rule.
7381 ($(objpfx)bits/syscall.d): Include instead of
7382 $(objpfx)syscall-list.d.
7383 (generated): Change syscall-list.h and syscall-list.d to
7384 bits/syscall.h and bits/syscall.d.
7385
bb4e6db2
RM
73862012-03-14 Roland McGrath <roland@hack.frob.com>
7387
7388 [BZ #13846]
7389 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7390
aa4a2ae1
JM
73912012-03-14 Joseph Myers <joseph@codesourcery.com>
7392
e456826d
JM
7393 [BZ #13841]
7394 * math/s_csqrt.c: Include <float.h>.
7395 (__csqrt): Scale large or subnormal inputs.
7396 * math/s_csqrtf.c: Likewise.
7397 * math/s_csqrtl.c: Likewise.
7398 * math/libm-test.inc (csqrt_test): Add more tests.
7399 * sysdeps/i386/fpu/libm-test-ulps: Update.
7400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401
aa4a2ae1
JM
7402 [BZ #13840]
7403 * math/libm-test.inc (hypot_test): Add more tests.
7404
7c10fd35
DM
74052012-03-13 David S. Miller <davem@davemloft.net>
7406
7407 [BZ #13840]
7408 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7409 double-precision for the calculation instead of scaling.
7410
f453b98b
JM
74112012-03-13 Joseph Myers <joseph@codesourcery.com>
7412
7413 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7414 manipulate bits before adding and subtracting TWO52[sx].
7415 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7416 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7417 Likewise.
7418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7419
09a3453f
DM
74202012-03-13 David S. Miller <davem@davemloft.net>
7421
8e59da90
DM
7422 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7423 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7425 rtld-global-offsets.h
7426 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7427
2a8ab7f2
DM
7428 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7429 large parameters.
7430
10f62770
DM
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7432
5f0bdb18
DM
7433 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7434 'err' in the ifdef scope in which it is actually used.
7435
09a3453f
DM
7436 * nss/nss_db/db-init.c: Include string.h
7437
b4b2eb5e
DM
74382012-03-12 David S. Miller <davem@davemloft.net>
7439
98bb2f1c
DM
7440 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7441 masking out of the most significant byte of random value used.
7442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7443 Fix coding style in previous change.
7444
b4b2eb5e
DM
7445 * sysdeps/unix/sysv/linux/kernel-features.h
7446 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7447 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7448 expression.
7449 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7450 later.
7451
6e226b09
DM
74522012-03-11 David S. Miller <davem@davemloft.net>
7453
a1bcbd40
DM
7454 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7455 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7457 for 'resultvar' otherwise things get truncated on 64-bit.
7458
cb9d6174
DM
7459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7460 Fix masking out of the most significant byte of random value used.
7461
6e226b09
DM
7462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7463
058c132d
AS
74642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7465
7466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7467
2d2cd515
DM
74682012-03-09 David S. Miller <davem@davemloft.net>
7469
7470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7471 variables with appropriate CPP guards.
7472 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7473 frame pointer, not the stack pointer. Correct layout comments. Fix test
7474 on resulting framesize and the management of the outregs buffer for pltexit.
7475 Preserve floating point return values across _dl_call_pltexit call.
7476 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7477 framesize and the management of the outregs buffer for pltexit.
7478 Preserve floating point return values across _dl_call_pltexit
7479 call.
7480 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7481 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7482 (print_exit): Fix format string for return register value.
7483
9a07f9d0
JM
74842012-03-10 Joseph Myers <joseph@codesourcery.com>
7485
7486 * sunrpc/Makefile (others): Add rpcgen.
7487 ($(objpfx)rpcgen): Remove special build rule and dependency on
7488 libc.
7489 * sunrpc/rpcgen.c: New file.
7490
547b5e30
PE
74912012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7492
c524201a
PE
7493 [BZ #13673]
7494 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7495 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7496 * sysdeps/i386/crti.S: Likewise.
7497 * sysdeps/i386/crtn.S: Likewise.
7498 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7502 * sysdeps/sh/crti.S: Likewise.
7503 * sysdeps/sh/crtn.S: Likewise.
7504 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7505
7b6235f2
PE
7506 [BZ #13673]
7507 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7508 with URL.
7509 * locale/programs/locfile-kw.gperf: Likewise.
7510 * locale/programs/charmap-kw.h: Regenerated.
7511 * locale/programs/locfile-kw.h: Likewise.
7512
547b5e30
PE
7513 [BZ #13673]
7514 * intl/plural.y: Replace FSF snail mail address with URL.
7515 * intl/plural.c: Regenerated.
7516
5f0a5dae
RH
75172012-03-09 Richard Henderson <rth@twiddle.net>
7518
7519 * include/math_private.h: Remove file.
7520 * math/math_private.h: Move file ...
7521 * sysdeps/generic/math_private.h: ... here.
7522
b8c03620
RH
7523 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7524 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7525 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7526
4e234f5d 7527 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7528 and <math_private.h>.
7529 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7530 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7531 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7532 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7533 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7594 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7617 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7618 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7619 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7620 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7622 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7623 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7624 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7626 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7627 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7629 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7630 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7631 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7632 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7633 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7634 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7635 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7636 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7637 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7638 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7639 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7640 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7642 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7645 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7646 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7648 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7650 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7651 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7653 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7654 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7656 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7657 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7658 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7659 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7660 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7661 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7662 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7664 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7665 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7666 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7667 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7668 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7669 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7670 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7671 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7672 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7673 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7674 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7678 * sysdeps/ieee754/k_standard.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7801 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7828 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7829 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7839 * sysdeps/ieee754/s_lib_version.c: Likewise.
7840 * sysdeps/ieee754/s_matherr.c: Likewise.
7841 * sysdeps/ieee754/s_signgam.c: Likewise.
7842 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7843 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7844 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7845 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7846 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7847 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7848 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7849 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7850 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7851 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7852 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7853 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7854 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7855 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7856 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7857 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7859 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7860 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7863
1991fa03
JM
78642012-03-09 Joseph Myers <joseph@codesourcery.com>
7865
7866 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7867 * sunrpc/rpc_main.c: Likewise.
7868 * sunrpc/rpc_svcout.c: Likewise.
7869
60d6f5a6
DM
78702012-03-09 David S. Miller <davem@davemloft.net>
7871
7872 * include/math_private.h: New file.
7873
4962050e
JM
78742012-03-09 Joseph Myers <joseph@codesourcery.com>
7875
02a6f887
JM
7876 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7877 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7878 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7879 from <bits/socket_type.h>.
7880 (enum __socket_type): Don't define here.
7881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7883 bits/socket_type.h.
7884
c6e013c1
JM
7885 [BZ #13566]
7886 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7887 checking __USE_GNU.
7888
4962050e
JM
7889 * Makerules ($(inst_includedir)/%.h): New rule.
7890 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7891 (install-others): Remove variable setting.
7892 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7893
38842f45
RH
78942012-03-08 Richard Henderson <rth@twiddle.net>
7895
67bb6da6
RH
7896 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7897 from macro to inline function; merge with the
7898 !__LIBC_INTERNAL_MATH_INLINES version.
7899 (__ieee754_sqrtf): Likewise.
7900
15194b4b
RH
7901 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7902 to inline function.
7903 (__rintf, __floor, __floorf): Likewise.
7904
64e21ede
RH
7905 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7906 macro to inline function.
7907 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7908
38842f45
RH
7909 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7910 not <math/math_private.h>.
7911
c64bf5fe
DM
79122012-03-08 David S. Miller <davem@davemloft.net>
7913
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7915 copyright year.
7916 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7917
82d86f28
TS
79182012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7919
7920 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7921 normalization.
7922 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7923 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7924
aea5d727
UD
79252012-03-08 Ulrich Drepper <drepper@gmail.com>
7926
7927 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7928 be defined individually, they must be defined as a block. Define
7929 S for printing a string instead of hidint the different by using a
7930 macro for adding the 'l'.
7931 * stdio-common/tst-fphex-wide.c: Adjust.
7932
70bca0a3
MP
79332012-03-07 Marek Polacek <polacek@redhat.com>
7934
7935 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7936
65b81130
MP
79372012-03-08 Marek Polacek <polacek@redhat.com>
7938
7939 [BZ #13806]
7940 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7941 * stdio-common/tst-fphex.c: Define a few macros to make the
7942 test reusable. Use them.
7943 * stdio-common/tst-fphex-wide.c: New file.
7944
07037eeb
JM
79452012-03-08 Joseph Myers <joseph@codesourcery.com>
7946
a7a93d50
JM
7947 [BZ #6911]
7948 * manual/macros.texi (gnusystems): New macro.
7949 (nongnusystems): Likewise.
7950 (gnulinuxhurdsystems): Likewise.
7951 (gnuhurdsystems): Likewise..
7952 (gnulinuxsystems): Likewise.
7953 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7954 variants of the GNU system, not "GNU system".
7955 * manual/conf.texi: Likewise.
7956 * manual/errno.texi: Likewise. Update example of errno macro
7957 expansion.
7958 * manual/filesys.texi: Likewise.
7959 (getumask): Document as specific to GNU/Hurd.
7960 * manual/install.texi: Likewise. Reword some references to
7961 GNU/Linux.
7962 * manual/intro.texi: Likewise.
7963 * manual/io.texi: Likewise.
7964 (File Name Portability): Detail which constraints are inapplicable
7965 to all GNU systems and which are only inapplicable to GNU/Hurd.
7966 * manual/job.texi: Likewise.
7967 * manual/llio.texi: Likewise.
7968 (O_NOCTTY): Document as present on GNU/Linux.
7969 * manual/maint.texi: Likewise.
7970 * manual/memory.texi: Likewise.
7971 * manual/pattern.texi: Likewise.
7972 * manual/pipe.texi: Likewise.
7973 * manual/process.texi: Likewise.
7974 * manual/resource.texi: Likewise.
7975 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7976 child on GNU/Hurd.
7977 * manual/setjmp.texi: Likewise.
7978 * manual/signal.texi: Likewise.
7979 * manual/startup.texi: Likewise.
7980 * manual/stdio.texi: Likewise.
7981 * manual/terminal.texi: Likewise.
7982 (ONLCR): Document as POSIX.
7983 (OXTABS): Document availability on GNU/Linux as XTABS.
7984 (ONOEOT): Document availability separately from other bits.
7985 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7986 * manual/time.texi: Likewise.
7987 * manual/users.texi: Likewise.
7988 * INSTALL: Regenerated.
7989 * sysdeps/gnu/errlist.c: Regenerated.
7990
07037eeb
JM
7991 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7992 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7993 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7994 puts.
7995 * configure: Regenerated.
7996
d1d3431a
JM
79972012-03-07 Joseph Myers <joseph@codesourcery.com>
7998
af6a1e37
JM
7999 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8000 default includes instead of AC_HEADER_CHECK.
8001 * sysdeps/i386/configure: Regenerated.
8002
d1d3431a
JM
8003 [BZ #10716]
8004 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8005 * math/s_cacoshf.c (__cacoshf): Likewise.
8006 * math/s_cacoshl.c (__cacoshl): Likewise.
8007 * math/s_casinh.c (__casinh): Set signs of result from argument.
8008 * math/s_casinhf.c (__casinhf): Likewise.
8009 * math/s_casinhl.c (__casinhl): Likewise.
8010 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8011 (casinh_test): Add more tests.
8012 * sysdeps/i386/fpu/libm-test-ulps: Update.
8013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8014
482ff4da
UD
80152012-03-07 Ulrich Drepper <drepper@gmail.com>
8016
872fda05
UD
8017 * po/zh_TW.po: Update from translation team.
8018
a4300c7a
UD
8019 * login/Makefile (distribute): Remove variable.
8020 * catgets/Makefile: Likewise.
8021 * mach/Makefile: Likewise.
8022 * malloc/Makefile: Likewise.
8023 * misc/Makefile: Likewise.
8024 * iconv/Makefile: Likewise.
8025 * nscd/Makefile: Likewise.
8026 * hurd/Makefile: Likewise.
8027 * manual/Makefile: Likewise.
8028 * locale/Makefile: Likewise.
8029 * intl/Makefile: Likewise.
8030 * conform/Makefile: Likewise.
8031 * nss/Makefile: Likewise.
8032 * time/Makefile: Likewise.
8033 * soft-fp/Makefile: Likewise.
8034 * dirent/Makefile: Likewise.
8035 * gmon/Makefile: Likewise.
8036 * po/Makefile: Likewise.
8037 * rt/Makefile: Likewise.
8038 * socket/Makefile: Likewise.
8039 * math/Makefile: Likewise.
8040 * signal/Makefile: Likewise.
8041 * debug/Makefile: Likewise.
8042 * elf/Makefile: Likewise.
8043 * timezone/Makefile: Likewise.
8044 * stdlib/Makefile: Likewise.
8045 * iconvdata/Makefile: Likewise.
8046 * sunrpc/Makefile: Likewise.
8047 * io/Makefile: Likewise.
8048 * argp/Makefile: Likewise.
8049 * inet/Makefile: Likewise.
8050 * hesiod/Makefile: Likewise.
8051 * grp/Makefile: Likewise.
8052 * csu/Makefile: Likewise.
8053 * wctype/Makefile: Likewise.
8054 * crypt/Makefile: Likewise.
8055 * libio/Makefile: Likewise.
8056 * string/Makefile: Likewise.
8057 * nis/Makefile: Likewise.
8058 * resolv/Makefile: Likewise.
8059 * stdio-common/Makefile: Likewise.
8060 * wcsmbs/Makefile: Likewise.
8061 * dlfcn/Makefile: Likewise.
8062 * posix/Makefile: Likewise.
8063
3b7c4e74 8064 [BZ #6959]
482ff4da
UD
8065 * timezone/Makefile: Don't install timezone files, just the programs
8066 and scripts.
8067
f72ed77d
UD
80682012-03-06 Ulrich Drepper <drepper@gmail.com>
8069
a000466f
UD
8070 * nss/databases.def: Add missing gshadow entry.
8071
f72ed77d
UD
8072 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8073
a53b7a4e
MP
80742012-03-06 Marek Polacek <polacek@redhat.com>
8075
8076 [BZ #13726]
8077 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8078 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8079 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8080 * stdio-common/tst-long-dbl-fphex.c: New file.
8081
e9258400
DM
80822012-03-06 David S. Miller <davem@davemloft.net>
8083
8084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8085 (set_obp_int): New function.
8086 (get_obp_int): New function.
8087 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8088 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8089 Avoid unused variable warnings on 'val' and use builtin_expect.
8090 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8091 __builtin_expect.
e9258400
DM
8092 (INLINE_CLONE_SYSCALL): Likewise.
8093
3bd2c723
DM
80942012-03-05 David S. Miller <davem@davemloft.net>
8095
8096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8097
bbb78d03
AS
80982012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8099
884c5db4
AS
8100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8101
bbb78d03
AS
8102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8103 only for |x| >= 40.
8104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8105
1c9f702a 81062012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8107
8108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8109 Replace gettimeofday with __vdso_gettimeofday.
8110
7be16f82
RM
8111 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8112 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8113 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8114
8115 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8116 time with __vdso_time.
8117
ed58a00f
JM
81182012-03-05 Joseph Myers <joseph@codesourcery.com>
8119
8120 * manual/lang.texi (size_t): Note types to which size_t may be
8121 equivalent with the GNU C Library, but do not describe when
8122 differences between them are significant.
8123
30ee4ced
AJ
81242012-03-05 Andreas Jaeger <aj@suse.de>
8125
8126 * sysdeps/i386/fpu/libm-test-ulps: Update.
8127
b7cd39e8
JM
81282012-03-05 Joseph Myers <joseph@codesourcery.com>
8129
8130 [BZ #3976]
8131 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8132 (__ieee754_pow): Save and restore rounding mode and use
8133 round-to-nearest for main computations.
8134 * math/libm-test.inc (pow_test_tonearest): New function.
8135 (pow_test_towardzero): Likewise.
8136 (pow_test_downward): Likewise.
8137 (pow_test_upward): Likewise.
8138 (main): Call the new functions.
8139 * sysdeps/i386/fpu/libm-test-ulps: Update.
8140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8141
8142 [BZ #3976]
8143 * math/libm-test.inc (cosh_test_tonearest): New function.
8144 (cosh_test_towardzero): Likewise.
8145 (cosh_test_downward): Likewise.
8146 (cosh_test_upward): Likewise.
8147 (sinh_test_tonearest): Likewise.
8148 (sinh_test_towardzero): Likewise.
8149 (sinh_test_downward): Likewise.
8150 (sinh_test_upward): Likewise.
8151 (main): Call the new functions.
8152 * sysdeps/i386/fpu/libm-test-ulps: Update.
8153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8154
6c6a98c9
TV
81552012-03-05 Tom de Vries <tom@codesourcery.com>
8156
8157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8158 default stack guard is set in last bytes.
8159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8160
21bb2d2e 81612012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8162
21bb2d2e 8163 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8164
21bb2d2e
AJ
8165 [BZ #13656]
8166 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8167 possibly allocate from heap instead of stack.
8168 * stdio-common/bug-vfprintf-nargs.c: New file.
8169 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8170
c6922934
AS
81712012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8172
8173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8174
bc957d53
MP
81752012-03-03 Marek Polacek <polacek@redhat.com>
8176
8177 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8178 * math/math_private.h: Likewise.
8179 * stdlib/tst-strtod.c: Likewise.
8180 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8181 * sysdeps/x86_64/bits/atomic.h: Likewise.
8182
6358490d
DM
81832012-03-02 David S. Miller <davem@davemloft.net>
8184
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8189 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8190 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8191 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8192 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8193
01ae168d
RM
81942012-03-02 Roland McGrath <roland@hack.frob.com>
8195
d9a17c07
RM
8196 [BZ #13792]
8197 * manual/examples/README: New file, says the example source files
8198 can be used under GPL>=2.
8199 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8200 line containing just "*/".
8201 * manual/examples/add.c: Add copyright header (GPL>=2).
8202 * manual/examples/argp-ex1.c: Likewise.
8203 * manual/examples/argp-ex2.c: Likewise.
8204 * manual/examples/argp-ex3.c: Likewise.
8205 * manual/examples/argp-ex4.c: Likewise.
8206 * manual/examples/atexit.c: Likewise.
8207 * manual/examples/db.c: Likewise.
8208 * manual/examples/dir.c: Likewise.
8209 * manual/examples/dir2.c: Likewise.
8210 * manual/examples/execinfo.c: Likewise.
8211 * manual/examples/filecli.c: Likewise.
8212 * manual/examples/filesrv.c: Likewise.
8213 * manual/examples/fmtmsgexpl.c: Likewise.
8214 * manual/examples/genpass.c: Likewise.
8215 * manual/examples/inetcli.c: Likewise.
8216 * manual/examples/inetsrv.c: Likewise.
8217 * manual/examples/isockad.c: Likewise.
8218 * manual/examples/longopt.c: Likewise.
8219 * manual/examples/memopen.c: Likewise.
8220 * manual/examples/memstrm.c: Likewise.
8221 * manual/examples/mkfsock.c: Likewise.
8222 * manual/examples/mkisock.c: Likewise.
8223 * manual/examples/mygetpass.c: Likewise.
8224 * manual/examples/pipe.c: Likewise.
8225 * manual/examples/popen.c: Likewise.
8226 * manual/examples/rprintf.c: Likewise.
8227 * manual/examples/search.c: Likewise.
8228 * manual/examples/select.c: Likewise.
8229 * manual/examples/setjmp.c: Likewise.
8230 * manual/examples/sigh1.c: Likewise.
8231 * manual/examples/sigusr.c: Likewise.
8232 * manual/examples/stpcpy.c: Likewise.
8233 * manual/examples/strdupa.c: Likewise.
8234 * manual/examples/strftim.c: Likewise.
8235 * manual/examples/strncat.c: Likewise.
8236 * manual/examples/subopt.c: Likewise.
8237 * manual/examples/swapcontext.c: Likewise.
8238 * manual/examples/termios.c: Likewise.
8239 * manual/examples/testopt.c: Likewise.
8240 * manual/examples/testpass.c: Likewise.
8241 * manual/examples/timeval_subtract.c: Likewise.
8242
01ae168d
RM
8243 [BZ #13792]
8244 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8245 function to ...
8246 * manual/timeval_subtract.c.texi: ... here, new file.
8247
49efa33d
DM
82482012-03-02 David S. Miller <davem@davemloft.net>
8249
8250 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8251
28afd92d
JM
82522012-03-02 Joseph Myers <joseph@codesourcery.com>
8253
804360ed
JM
8254 [BZ #3976]
8255 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8256 (__sin): Save and restore rounding mode and use round-to-nearest
8257 for all computations.
8258 (__cos): Save and restore rounding mode and use round-to-nearest
8259 for all computations.
8260 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8261 <fenv.h>.
8262 (tan): Save and restore rounding mode and use round-to-nearest for
8263 all computations.
8264 * math/libm-test.inc (cos_test_tonearest): New function.
8265 (cos_test_towardzero): Likewise.
8266 (cos_test_downward): Likewise.
8267 (cos_test_upward): Likewise.
8268 (sin_test_tonearest): Likewise.
8269 (sin_test_towardzero): Likewise.
8270 (sin_test_downward): Likewise.
8271 (sin_test_upward): Likewise.
8272 (tan_test_tonearest): Likewise.
8273 (tan_test_towardzero): Likewise.
8274 (tan_test_downward): Likewise.
8275 (tan_test_upward): Likewise.
8276 (main): Call the new functions.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8279
a6d06d7b
JM
8280 [BZ #10135]
8281 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8282 small n, then large n, before computing and testing k+n.
8283 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8285 Likewise.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8287 Likewise.
8288 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8289 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8294 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8296 * math/libm-test.inc (scalbn_test): Add more tests.
8297 (scalbln_test): Likewise.
8298
07e12bb3
JM
8299 * manual/filesys.texi (mode_t): Describe constraints on size and
8300 signedness, not exact equivalence to a particular type.
8301 (ino_t): Likewise.
8302 (ino64_t): Likewise.
8303 (dev_t): Likewise.
8304 (nlink_t): Likewise.
8305 (blkcnt_t): Likewise.
8306 (blkcnt64_t): Likewise.
8307 * manual/llio.texi (off_t): Likewise.
8308
28afd92d
JM
8309 [BZ #3976]
8310 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8311 (__ieee754_exp): Save and restore rounding mode and use
8312 round-to-nearest for all computations.
8313 * math/libm-test.inc (exp_test_tonearest): New function.
8314 (exp_test_towardzero): Likewise.
8315 (exp_test_downward): Likewise.
8316 (exp_test_upward): Likewise.
8317 (main): Call the new functions.
8318 * sysdeps/i386/fpu/libm-test-ulps: Update.
8319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8320
b1eeb65d
CD
83212012-03-01 Chris Demetriou <cgd@google.com>
8322
8323 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8324 have predictable order.
8325
53362a4b
DM
83262012-03-01 David S. Miller <davem@davemloft.net>
8327
3c969083
DM
8328 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8329
759707de
DM
8330 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8331 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8332 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8334
dfdb8ff2
DM
8335 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8336 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8337 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8339 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8340 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8341 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8342 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8343 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8344
ead89f96
DM
8345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8346
7f66bd07
DM
8347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8348 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8350
53362a4b
DM
8351 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8352 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8353 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8354 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8355 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8356 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8358 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8359 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8360 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8361 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8362 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8367 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8368 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8369 * sysdeps/sparc/elf/configure: Regenerated.
8370
7b1902cb
JM
83712012-03-01 Joseph Myers <joseph@codesourcery.com>
8372
bec039bc
JM
8373 * configure.in (AS, LD): Require binutils 2.20 or later.
8374 * configure: Regenerated.
8375 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8376 as required minimum version.
8377 * INSTALL: Regenerated.
8378
7b1902cb
JM
8379 [BZ #2541]
8380 [BZ #4108]
8381 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8382 before squaring exponent.
8383 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8384 bottom long double and 27 bits of top long double before squaring
8385 exponent.
8386 * math/libm-test.inc (erfc_test): Add more tests.
8387 * sysdeps/i386/fpu/libm-test-ulps: Update.
8388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8390
f775c276
KT
83912012-03-01 Kai Tietz <ktietz@redhat.com>
8392
8393 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8394 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8395 containing bit-fields.
8396 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8397 * soft-fp/single.h (_FP_UNION_S): Likewise.
8398 * soft-fp/double.h (_FP_UNION_D): Likewise.
8399
5b8a4d4a
JM
84002012-02-29 Joseph Myers <joseph@codesourcery.com>
8401
0bab47b6
JM
8402 [BZ #13786]
8403 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8404 not include ../strcmp.S.
8405 [USE_AS_STRNCASECMP_L]: Likewise.
8406 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8407 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8408 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8409 (__strncasecmp_l_ia32): Define as alias to
8410 __strncasecmp_l_nonascii.
8411
0fcad3e2
JM
8412 [BZ #5794]
8413 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8414 * sysdeps/i386/fpu/libm-test-ulps: Update.
8415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8416
5b8a4d4a
JM
8417 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8419
8fdceb2e
JL
84202012-02-29 Jeff Law <law@redhat.com>
8421
8422 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8423 out of bounds read.
8424
1f393a11
MP
84252012-02-29 Marek Polacek <polacek@redhat.com>
8426
8427 [BZ #13706]
8428 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8429 * elf/Makefile: Add rules to run tst-unused-dep.out.
8430
8847f037
DM
84312012-02-28 David S. Miller <davem@davemloft.net>
8432
8433 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8434 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8436 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8437 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8438 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8439
169d7f11
JM
84402012-02-29 Joseph Myers <joseph@codesourcery.com>
8441
8442 * math/libm-test.inc (llround_test): Move one test from
8443 lround_test. Use TEST_f_L in moved test.
8444 (lround_test): Move misplaced test to llround_test. Add testcase
8445 from bug 2561.
8446
39adf059
UD
84472012-02-28 Ulrich Drepper <drepper@gmail.com>
8448
8449 * sysdeps/x86_64/fpu/e_expf.S: New file.
8450 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8451
71b5d1c5
SB
84522012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8453
8454 [BZ #13637]
8455 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8456 of remain_len that may cause incomplete multi-byte character and
8457 false match.
8458 * posix/bug-regex33.c: New file.
8459 * posix/Makefile (tests): Add bug-regex33.
8460
1f77f049
JM
84612012-02-28 Joseph Myers <joseph@codesourcery.com>
8462
8463 * manual/macros.texi: New file.
8464 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8465 * manual/libc.texinfo: Include macros.texi.
8466 * manual/creatute.texi: Likewise.
8467 * manual/install.texi: Likewise.
8468 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8469 @glibcadj{} in references to the GNU C Library.
8470 * manual/charset.texi: Likewise.
8471 * manual/conf.texi: Likewise.
8472 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8473 when not using those macros.
8474 * manual/creature.texi: Likewise.
8475 * manual/crypt.texi: Likewise.
8476 * manual/errno.texi: Likewise.
8477 * manual/filesys.texi: Likewise.
8478 * manual/header.texi: Likewise.
8479 * manual/install.texi: Likewise.
8480 * manual/intro.texi: Likewise.
8481 * manual/io.texi: Likewise.
8482 * manual/job.texi: Likewise.
8483 * manual/lang.texi: Likewise.
8484 * manual/libc.texiinfo: Likewise.
8485 * manual/llio.texi: Likewise.
8486 * manual/locale.texi: Likewise.
8487 * manual/maint.texi: Likewise.
8488 * manual/math.texi: Likewise.
8489 * manual/memory.texi: Likewise.
8490 * manual/message.texi: Likewise.
8491 * manual/nss.texi: Likewise.
8492 * manual/pattern.texi: Likewise.
8493 * manual/process.texi: Likewise.
8494 * manual/resource.texi: Likewise.
8495 * manual/search.texi: Likewise.
8496 * manual/setjmp.texi: Likewise.
8497 * manual/signal.texi: Likewise.
8498 * manual/socket.texi: Likewise.
8499 * manual/startup.texi: Likewise.
8500 * manual/stdio.texi: Likewise.
8501 * manual/string.texi: Likewise.
8502 * manual/sysinfo.texi: Likewise.
8503 * manual/syslog.texi: Likewise.
8504 * manual/terminal.texi: Likewise.
8505 * manual/time.texi: Likewise.
8506 * manual/users.texi: Likewise.
8507 * INSTALL: Regenerated.
8508 * NOTES: Regenerated.
d40c5d54 8509 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8510
450bf206
AS
85112012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8512
8513 * include/dirent.h: Include <dirstream.h> before
8514 <dirent/dirent.h>.
8515
741a235b
DM
85162012-02-28 David S. Miller <davem@davemloft.net>
8517
8518 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8519 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8521 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8522
d6b5aa58
DM
85232012-02-27 David S. Miller <davem@davemloft.net>
8524
1aff59a3
DM
8525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8527 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8528 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8529
d6b5aa58
DM
8530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8531 frame pointer instead of stack pointer relative arg slot.
8532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8535
433f48bf
CD
85362012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8537
8538 [BZ #3992]
8539 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8540
d674b76d
DM
85412012-02-27 David S. Miller <davem@davemloft.net>
8542
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8549 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8550 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8551
0e7727f7
JM
85522012-02-27 Joseph Myers <joseph@codesourcery.com>
8553
8554 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8555 later. Allow versions 5-9.
43be4ca2 8556 * configure: Regenerated.
0e7727f7
JM
8557 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8558 required minimum version and 4.6 as recommended version. Do not
8559 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8560 * INSTALL: Regenerated.
0e7727f7 8561
a78bc654
DM
85622012-02-27 David S. Miller <davem@davemloft.net>
8563
428d5830
DM
8564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8568 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8569 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8570 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8571 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8572
a78bc654
DM
8573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8574 manipulate bits before adding and subtracting TWO112[sx].
8575 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8576
4579f81c
RM
85772012-02-27 Roland McGrath <roland@hack.frob.com>
8578
36c8acb4
RM
8579 [BZ #13775]
8580 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8581 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8582 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8583 being in POSIX, because they are in 1003.1-2008.
8584
84ad622b
RM
8585 * rt/tst-aio.c: Include <fcntl.h>.
8586 * rt/tst-aio7.c: Likewise.
8587 * rt/tst-aio64.c: Likewise.
8588
4579f81c
RM
8589 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8590
abd923db
JM
85912012-02-27 Joseph Myers <joseph@codesourcery.com>
8592
8593 * manual/install.texi (--with-headers): Describe headers as
8594 interface headers, not private headers.
8595 (Specific advice for GNU/Linux systems): Describe use of headers
8596 from "make headers_install", not private headers from older
8597 kernels.
43be4ca2 8598 * INSTALL: Regenerated.
abd923db
JM
8599 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8600 Change to 2.6.19.
8601 * sysdeps/unix/sysv/linux/configure: Regenerated.
8602
6664049b
JM
8603 * manual/llio.texi (fclean): Remove documentation.
8604
bb8b6697
JM
8605 * manual/Makefile (libc-texi-generated): New variable. Include
8606 version.texi.
8607 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8608 $(libc-texi-generated), not duplicated list of files.
8609 (version.texi, stamp-version): New rules.
8610 (realclean): Remove $(libc-texi-generated), not individual files
8611 from that list. Do not remove dir-add.texinfo.
8612 * manual/libc.texinfo: Comment out uses of edition numbers and
8613 references to printed manual. Remove last-updated dates.
8614 (EDITION): Comment out.
8615 (ISBN): Likewise.
8616 (VERSION, UPDATED): Remove.
8617 (version.texi): Include.
8618
12e5c3b9
AS
86192012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8620
8621 * sysdeps/posix/spawni.c: Include <signal.h>.
8622 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8623 * sysdeps/pthread/aio_fsync.c: Likewise.
8624
4efeffc1 86252012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8626
ba63ba08
UD
8627 * conform/Makefile (tests): Run only when not cross-compiling and
8628 when fast-check is not defined.
8629
d94a4670
UD
8630 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8631 * conform/data/limits.h-data: Fixes for POSIX2008.
8632 * conform/run-conformtest.sh: Run all tests.
8633 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8634 headers.
8635 * include/bits/dlfcn.h: Likewise.
8636 * include/langinfo.h: Likewise.
8637 * include/monetary.h: Likewise.
8638 * include/sys/poll.h: Likewise.
8639
8640 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8641 for __USE_GNU.
8642 * posix/spawn.h: Define __need_sigset_t.
8643 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8644 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8645 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8646 to get sigevent_t only.
8647 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8648 only for __USE_GNU.
8649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8650 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8651 process_vm_writev only for __USE_GNU.
8652 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8653
8654 * conform/Makefile: For now ignore errors from run-conformtest.
8655 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8656 POSIX to avoid namespace pollution. Don't prepend headers.
8657 * conform/data/aio.h-data: Fixes for POSIX testing.
8658 * conform/data/fcntl.h-data: Likewise.
8659 * conform/data/glob.h-data: Likewise.
8660 * conform/data/grp.h-data: Likewise.
8661 * conform/data/pthread.h-data: Likewise.
8662 * conform/data/pwd.h-data: Likewise.
8663 * conform/data/signal.h-data: Likewise.
8664 * conform/data/spawn.h-data: Likewise.
8665 * conform/data/stdio.h-data: Likewise.
8666 * conform/data/stdlib.h-data: Likewise.
8667 * conform/data/stropts.h-data: Likewise.
8668 * conform/data/sys/mman.h-data: Likewise.
8669 * conform/data/sys/stat.h-data: Likewise.
8670 * conform/data/sys/types.h-data: Likewise.
8671 * conform/data/sys/wait.h-data: Likewise.
8672 * conform/data/time.h-data: Likewise.
8673 * conform/data/unistd.h-data: Likewise.
8674 * conform/data/utime.h-data: Likewise.
8675
8676 * io/sys/stat.h: fchmod was always in POSIX.
8677 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8678 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8679 * rt/aio.h: Define __need_timespec before including <time.h>.
8680 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8681 struct. Add forward declaration of pthread_attr_t and use it in
8682 sigevent.
8683 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8685 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8686 always remove CLK_TCK definition.
8687
c20105c3
AS
86882012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8689
8690 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8691
7a270350
UD
86922012-02-25 Ulrich Drepper <drepper@gmail.com>
8693
31341567
UD
8694 * conform/run-conformtest.sh: New file.
8695 * conform/Makefile: Run run-conformtest for tests.
8696 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8697 support.
8698
8699 * conform/data/uchar.h-data: New file.
8700 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8701 * conform/data/arpa/inet.h-data: Likewise.
8702 * conform/data/assert.h-data: Likewise.
8703 * conform/data/complex.h-data: Likewise.
8704 * conform/data/cpio.h-data: Likewise.
8705 * conform/data/ctype.h-data: Likewise.
8706 * conform/data/dirent.h-data: Likewise.
8707 * conform/data/dlfcn.h-data: Likewise.
8708 * conform/data/errno.h-data: Likewise.
8709 * conform/data/fcntl.h-data: Likewise.
8710 * conform/data/float.h-data: Likewise.
8711 * conform/data/fmtmsg.h-data: Likewise.
8712 * conform/data/fnmatch.h-data: Likewise.
8713 * conform/data/ftw.h-data: Likewise.
8714 * conform/data/glob.h-data: Likewise.
8715 * conform/data/grp.h-data: Likewise.
8716 * conform/data/iconv.h-data: Likewise.
8717 * conform/data/inttypes.h-data: Likewise.
8718 * conform/data/langinfo.h-data: Likewise.
8719 * conform/data/libgen.h-data: Likewise.
8720 * conform/data/limits.h-data: Likewise.
8721 * conform/data/locale.h-data: Likewise.
8722 * conform/data/math.h-data: Likewise.
8723 * conform/data/monetary.h-data: Likewise.
8724 * conform/data/mqueue.h-data: Likewise.
8725 * conform/data/ndbm.h-data: Likewise.
8726 * conform/data/net/if.h-data: Likewise.
8727 * conform/data/netdb.h-data: Likewise.
8728 * conform/data/netinet/in.h-data: Likewise.
8729 * conform/data/nl_types.h-data: Likewise.
8730 * conform/data/poll.h-data: Likewise.
8731 * conform/data/pthread.h-data: Likewise.
8732 * conform/data/pwd.h-data: Likewise.
8733 * conform/data/regex.h-data: Likewise.
8734 * conform/data/sched.h-data: Likewise.
8735 * conform/data/search.h-data: Likewise.
8736 * conform/data/semaphore.h-data: Likewise.
8737 * conform/data/setjmp.h-data: Likewise.
8738 * conform/data/signal.h-data: Likewise.
8739 * conform/data/spawn.h-data: Likewise.
8740 * conform/data/stdarg.h-data: Likewise.
8741 * conform/data/stdio.h-data: Likewise.
8742 * conform/data/stdlib.h-data: Likewise.
8743 * conform/data/string.h-data: Likewise.
8744 * conform/data/strings.h-data: Likewise.
8745 * conform/data/stropts.h-data: Likewise.
8746 * conform/data/sys/ipc.h-data: Likewise.
8747 * conform/data/sys/mman.h-data: Likewise.
8748 * conform/data/sys/msg.h-data: Likewise.
8749 * conform/data/sys/resource.h-data: Likewise.
8750 * conform/data/sys/select.h-data: Likewise.
8751 * conform/data/sys/sem.h-data: Likewise.
8752 * conform/data/sys/shm.h-data: Likewise.
8753 * conform/data/sys/socket.h-data: Likewise.
8754 * conform/data/sys/stat.h-data: Likewise.
8755 * conform/data/sys/statvfs.h-data: Likewise.
8756 * conform/data/sys/time.h-data: Likewise.
8757 * conform/data/sys/timeb.h-data: Likewise.
8758 * conform/data/sys/times.h-data: Likewise.
8759 * conform/data/sys/types.h-data: Likewise.
8760 * conform/data/sys/uio.h-data: Likewise.
8761 * conform/data/sys/un.h-data: Likewise.
8762 * conform/data/sys/utsname.h-data: Likewise.
8763 * conform/data/sys/wait.h-data: Likewise.
8764 * conform/data/syslog.h-data: Likewise.
8765 * conform/data/tar.h-data: Likewise.
8766 * conform/data/termios.h-data: Likewise.
8767 * conform/data/utime.h-data: Likewise.
8768 * conform/data/utmpx.h-data: Likewise.
8769 * conform/data/varargs.h-data: Likewise.
8770 * conform/data/wchar.h-data: Likewise.
8771 * conform/data/wctype.h-data: Likewise.
8772 * conform/data/wordexp.h-data: Likewise.
8773
8774 * include/stropts.h: New file.
8775 * include/uchar.h: New file.
8776 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8777 * include/assert.h: Likewise.
8778 * include/ctype.h: Likewise.
8779 * include/dirent.h: Likewise.
8780 * include/dlfcn.h: Likewise.
8781 * include/fcntl.h: Likewise.
8782 * include/fnmatch.h: Likewise.
8783 * include/glob.h: Likewise.
8784 * include/grp.h: Likewise.
8785 * include/libio.h: Likewise.
8786 * include/locale.h: Likewise.
8787 * include/math.h: Likewise.
8788 * include/net/if.h: Likewise.
8789 * include/netdb.h: Likewise.
8790 * include/netinet/in.h: Likewise.
8791 * include/pthread.h: Likewise.
8792 * include/pwd.h: Likewise.
8793 * include/regex.h: Likewise.
8794 * include/sched.h: Likewise.
8795 * include/search.h: Likewise.
8796 * include/setjmp.h: Likewise.
8797 * include/signal.h: Likewise.
8798 * include/stdio.h: Likewise.
8799 * include/stdlib.h: Likewise.
8800 * include/string.h: Likewise.
8801 * include/sys/cdefs.h: Likewise.
8802 * include/sys/mman.h: Likewise.
8803 * include/sys/msg.h: Likewise.
8804 * include/sys/resource.h: Likewise.
8805 * include/sys/select.h: Likewise.
8806 * include/sys/socket.h: Likewise.
8807 * include/sys/stat.h: Likewise.
8808 * include/sys/statvfs.h: Likewise.
8809 * include/sys/time.h: Likewise.
8810 * include/sys/times.h: Likewise.
8811 * include/sys/uio.h: Likewise.
8812 * include/sys/utsname.h: Likewise.
8813 * include/sys/wait.h: Likewise.
8814 * include/termios.h: Likewise.
8815 * include/time.h: Likewise.
8816 * include/ulimit.h: Likewise.
8817 * include/unistd.h: Likewise.
8818 * include/utime.h: Likewise.
8819 * include/wchar.h: Likewise.
8820 * include/wctype.h: Likewise.
8821 * include/wordexp.h: Likewise.
8822
8823 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8824
7a270350
UD
8825 * time/time.h: TIME_UTC must be a macro.
8826 Make timespec_get available for ISO C11 only as well.
8827
7724defc
UD
88282012-02-24 Ulrich Drepper <drepper@gmail.com>
8829
8830 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8831 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8832
6b1d1d46
JM
88332012-02-24 Joseph Myers <joseph@codesourcery.com>
8834
8835 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8836
0f8bbd69
JM
88372012-02-24 Joseph Myers <joseph@codesourcery.com>
8838
8839 * manual/texinfo.tex: Update to version 2012-01-19.16.
8840
66ab80bc
JM
88412012-02-24 Joseph Myers <joseph@codesourcery.com>
8842
8843 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8844
74981cc5
RM
88452012-02-24 Roland McGrath <roland@hack.frob.com>
8846
ee968201
RM
8847 [BZ #13738]
8848 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8849 * manual/fdl-1.3.texi: New file.
8850 * manual/fdl-1.1.texi: File removed.
8851
74981cc5
RM
8852 [BZ #13738]
8853 * manual/libc.texinfo (FDL_VERSION): New @set.
8854 Use it for mention of FDL in cover text.
8855 (Documentation License): Use it in @include file name.
8856
7bb764bc
JM
88572012-02-22 Joseph Myers <joseph@codesourcery.com>
8858 Roland McGrath <roland@hack.frob.com>
8859
8860 [BZ #5461]
8861 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8862 not LONG_LONG_MAX and LONG_LONG_MIN.
8863 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8864 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8865 name.
8866 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8867
6cbeae47
JM
88682012-02-22 Joseph Myers <joseph@codesourcery.com>
8869
8870 [BZ #2547]
8871 [BZ #11365]
8872 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8873 manipulate bits before adding and subtracting TWO23[sx].
8874 * math/libm-test.inc (nearbyint_test): Add more tests.
8875
fe45ce09
JM
88762012-02-22 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #2548]
8879 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8880 bits before adding and subtracting TWO23[sx].
8881 * math/libm-test.inc (rint_test): Add more tests.
8882 (rint_test_tonearest): Likewise.
8883 (rint_test_towardzero): Likewise.
8884 (rint_test_downward): Likewise.
8885 (rint_test_upward: Likewise.
8886
ff3b3d82
JM
88872012-02-22 Joseph Myers <joseph@codesourcery.com>
8888
8889 [BZ #10110]
8890 * include/stdc-predef.h: New file. Extracted from features.h.
8891 * include/features.h: Include stdc-predef.h.
8892 * Makefile (headers): Add stdc-predef.h.
8893 * CONFORMANCE (Compiler limitations): Update.
8894
ef0aab35
JM
88952012-02-22 Joseph Myers <joseph@codesourcery.com>
8896
8897 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8898
58639409
DM
88992012-02-21 David S. Miller <davem@davemloft.net>
8900
8901 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8902 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8903
c0e70b25
DM
89042012-02-20 David S. Miller <davem@davemloft.net>
8905
8906 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8907 using a normal save/restore sequence, rather than allocating a
8908 dummy stack frame just to store a frame pointer and restore.
8909 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8910
fb06851d
JM
89112012-02-21 Joseph Myers <joseph@codesourcery.com>
8912
8913 * manual/install.texi: Fix stray word in line-wrapped comment.
8914
7a8b71c3
DM
89152012-02-20 David S. Miller <davem@davemloft.net>
8916
d510c123
DM
8917 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8918 both binutils and gcc support GOTDATA.
8919
0722d7c2
DM
8920 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8921 "rd %pc" in the PIC register setup sequences.
8922
3d2b3019
DM
8923 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8924 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8925 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8926 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8927 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8929 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8932 (SYSCALL_ERROR_HANDLER): Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8936 (SYSCALL_ERROR_HANDLER): Likewise.
8937
c80098a9
DM
8938 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8939 (HAVE_GCC_GOTDATA): New.
8940 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8941 relocation support in both binutils and gcc.
8942 * sysdeps/sparc/elf/configure: Regenerate.
8943
3a2545a0
DM
8944 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8945 * sysdeps/sparc/sparc32/elf/configure: Delete.
8946 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8947 * sysdeps/sparc/sparc64/elf/configure: Delete.
8948 * sysdeps/sparc/elf/configure.in: New file.
8949 * sysdeps/sparc/elf/configure: Generate.
8950
7a8b71c3
DM
8951 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8952 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8953 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8954 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8955 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8956
f1e86fca
JM
89572012-02-21 Joseph Myers <joseph@codesourcery.com>
8958
8959 * manual/install.texi: Do not mention specific glibc version
8960 numbers.
8961 * manual/libc.texinfo (VERSION, UPDATED): Update.
8962 (@copying): Use @copyright{} and range of years.
8963
0e7dfaef
JM
89642012-02-21 Joseph Myers <joseph@codesourcery.com>
8965
8966 [BZ #13695]
8967 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8968 [crti.S not in sysdirs] (generated): Do not append.
8969 [crti.S not in sysdirs] (omit-deps): Likewise.
8970 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8971 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8972 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8973 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8974 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8975 Likewise.
8976 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8977 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8978 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8979 * csu/defs.awk: Remove file.
8980 * sysdeps/generic/initfini.c: Likewise.
8981 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8982 variable.
8983 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8984 Likewise.
8985
599af3ca
JM
89862012-02-20 Joseph Myers <joseph@codesourcery.com>
8987
8988 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8989 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8993 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8994 <bits/epoll.h>.
8995 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8996 (__EPOLL_PACKED): Define to empty if not defined by
8997 <bits/epoll.h>.
8998 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9000 bits/epoll.h.
9001
0e499750
JM
90022012-02-20 Joseph Myers <joseph@codesourcery.com>
9003
9004 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9005 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9006 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9007 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9008 <bits/timerfd.h>.
9009 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9011 bits/timerfd.h.
9012
5ad91f6e
JM
90132012-02-20 Joseph Myers <joseph@codesourcery.com>
9014
9015 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9016 in C locale.
9017 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9021
06b99b02
AJ
90222012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9023
9024 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9025 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9026
7638c0fd
AS
90272012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9028
9029 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9030 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9031 defined.
9032 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9033 Likewise.
9034 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9035 entry for 2.16.
9036
92221550
AJ
90372012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9038
9039 * math/w_acos.c: Use non-signaling floating-point comparisons.
9040 * math/w_acosf.c: Likewise.
9041 * math/w_acosh.c: Likewise.
9042 * math/w_acoshf.c: Likewise.
9043 * math/w_acoshl.c: Likewise.
9044 * math/w_acosl.c: Likewise.
9045 * math/w_asin.c: Likewise.
9046 * math/w_asinf.c: Likewise.
9047 * math/w_asinl.c: Likewise.
9048 * math/w_atanh.c: Likewise.
9049 * math/w_atanhf.c: Likewise.
9050 * math/w_atanhl.c: Likewise.
9051 * math/w_exp2.c: Likewise.
9052 * math/w_exp2f.c: Likewise.
9053 * math/w_exp2l.c: Likewise.
9054 * math/w_j0.c: Likewise.
9055 * math/w_j0f.c: Likewise.
9056 * math/w_j0l.c: Likewise.
9057 * math/w_j1.c: Likewise.
9058 * math/w_j1f.c: Likewise.
9059 * math/w_j1l.c: Likewise.
9060 * math/w_jn.c: Likewise.
9061 * math/w_jnf.c: Likewise.
9062 * math/w_log.c: Likewise.
9063 * math/w_log10.c: Likewise.
9064 * math/w_log10f.c: Likewise.
9065 * math/w_log10l.c: Likewise.
9066 * math/w_log2.c: Likewise.
9067 * math/w_log2f.c: Likewise.
9068 * math/w_log2l.c: Likewise.
9069 * math/w_logf.c: Likewise.
9070 * math/w_logl.c: Likewise.
9071 * math/w_sqrt.c: Likewise.
9072 * math/w_sqrtf.c: Likewise.
9073 * math/w_sqrtl.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9079
ebaf36eb
JM
90802012-02-19 Joseph Myers <joseph@codesourcery.com>
9081
9082 [BZ #9739]
9083 * manual/string.texi (strnlen): Use correct parameter name in
9084 equivalent expression.
9085
71c254a6
JM
90862012-02-19 Joseph Myers <joseph@codesourcery.com>
9087
9088 [BZ #11174]
9089 * manual/users.texi (seteuid): Consistently use neweuid for
9090 argument name.
9091
16d2c631
JM
90922012-02-19 Joseph Myers <joseph@codesourcery.com>
9093
9094 [BZ #13704]
9095 * manual/nss.texi (Services in the NSS configuration): Correct
9096 list of services in example configuration file.
9097
cd837b09
NB
90982012-02-19 Nick Bowler <nbowler@draconx.ca>
9099
9100 [BZ #11322]
9101 * manual/arith.texi: Remove statements about negative zero
9102 behaving identically to zero.
9103
02c4bbad
JM
91042012-02-18 Joseph Myers <joseph@codesourcery.com>
9105
9106 [BZ #5993]
9107 * manual/install.texi: Do not document upgrading from libc5.
9108
366842e7
JM
91092012-02-18 Joseph Myers <joseph@codesourcery.com>
9110
9111 [BZ #4596]
9112 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9113
dd54084d
DM
91142012-02-18 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9117 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9118 %o7 across the call.
9119 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9120 instead.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9122 SETUP_PIC_REG_LEAF.
9123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9124 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9125 * sysdeps/sparc/crtn.S: Likewise.
9126
2bcc53a3
UD
91272012-02-17 Ulrich Drepper <drepper@gmail.com>
9128
9129 * aout/Makefile: Remove.
9130
09c093b5
RK
91312012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9132
9133 [BZ #13058]
9134 * manual/examples/argp-ex1.c (main): Format definition in GNU
9135 style.
9136 * manual/examples/argp-ex2.c (main): Likewise.
9137 * manual/examples/argp-ex3.c (main): Likewise.
9138 * manual/examples/argp-ex4.c (main): Likewise.
9139 * manual/examples/longopt.c (main): Use new-style prototype
9140 definition.
9141 * manual/examples/strncat.c (main): Specify return type and use
9142 (void) for arguments.
9143 * manual/examples/subopt.c (main): Use char **argv argument.
9144
2ee633a2
JM
91452012-02-17 Joseph Myers <joseph@codesourcery.com>
9146
9147 [BZ #5077]
9148 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9149 rounding modes.
9150
0520adde
FB
91512012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9152
9153 [BZ #6907]
9154 * manual/string.texi (strchr): Change when strchrnul is
9155 recommended.
9156
3f4081cd
DGM
91572012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9158
9159 [BZ #174]
9160 * manual/locale.texi (setlocale): Document LOCPATH.
9161
d1b10e78
JM
91622012-02-17 Joseph Myers <joseph@codesourcery.com>
9163
9164 [BZ #10210]
9165 * manual/process.texi (execle): Move @dots{} before last argument.
9166
79c6869c
PB
91672012-02-17 Paul Bolle <pebolle@tiscali.nl>
9168
9169 [BZ #12047]
9170 * manual/charset.texi (Generic Charset Conversion): Fix typo
9171 (LC_TYPE -> LC_CTYPE).
9172
cc6e48bc
NB
91732012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9174
9175 [BZ #5805]
9176 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9177 (scalbnf): Likewise.
9178 (scalbnl): Likewise.
9179 (scalbln): Likewise.
9180 (scalblnf): Likewise.
9181 (scalblnl): Likewise.
9182 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9183 (vwarnx): Likewise.
9184 (verr): Likewise.
9185 (verrx): Likewise.
9186 * manual/filesys.texi (telldir): Use braces around return type.
9187 * manual/llio.texi (mmap): Add space after comma.
9188 (mmap64): Likewise.
9189 * manual/math.texi (jn): Use @var{} on parameter names.
9190 (jnf): Likewise.
9191 (jnl): Likewise.
9192 (yn): Likewise.
9193 (ynf): Likewise.
9194 (ynl): Likewise.
9195 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9196 line.
9197 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9198 "...".
9199 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9200 (sched_get_priority_max): Likewise.
9201 * manual/signal.texi (sigvec): Add space after comma.
9202 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9203 names.
9204 (if_indextoname): Likewise.
9205 (if_freenameindex): Likewise.
9206 (sendto): Use ',' instead of '.' in prototype.
9207 * manual/startup.texi (syscall): Use @dots{} instead of literal
9208 "...".
9209 * manual/stdio.texi (__fpending): Separate initial words of
9210 paragraph from @deftypefun line.
9211 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9212 "...".
9213 (vsyslog): Use @var{} on parameter names.
9214 * manual/terminal.texi (stty): Use @var{} on parameter names.
9215 * manual/users.texi (getutmp): Use @var{} on parameter names.
9216 (getutmpx): Likewise.
9217
5b23062f
JM
92182012-02-17 Joseph Myers <joseph@codesourcery.com>
9219
9220 [BZ #6884]
9221 * manual/stdio.texi (fopen): Fix typos in description of
9222 ",ccs=STRING".
9223
8dee4833
AJ
92242012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9225
9226 [BZ #4026]
9227 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9228 get clock_id definition.
9229
9078ce93
TS
92302012-02-17 Thomas Schwinge <thomas@schwinge.name>
9231
9232 [BZ #4822]
9233 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9234 (madvise): Cast every argument to void on its own.
9235
3835c55f
JM
92362012-02-17 Joseph Myers <joseph@codesourcery.com>
9237
9238 [BZ #9902]
9239 * manual/startup.texi (Exit Status): Fix typo.
9240
35c47e37
JM
92412012-02-17 Joseph Myers <joseph@codesourcery.com>
9242
9243 [BZ #10140]
9244 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9245 * manual/examples/argp-ex2.c: Likewise.
9246 * manual/examples/argp-ex3.c: Likewise.
9247
e3b69ca7
RH
92482012-02-16 Richard Henderson <rth@redhat.com>
9249
9250 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9251 * sysdeps/s390/s390-32/initfini.c: Remove.
9252 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9253 * sysdeps/s390/s390-64/initfini.c: Remove.
9254
df83af67
KK
92552012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9256
9257 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9258 compiler output for sysdeps/generic/initfini.c.
9259 * sysdeps/sh/elf/initfini.c: Remove file.
9260
f63f3380
DM
92612012-02-16 David S. Miller <davem@davemloft.net>
9262
fb59b3a4
DM
9263 [BZ #11494]
9264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9265
f63f3380
DM
9266 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9267 * sysdeps/sparc/crti.S: New file.
9268 * sysdeps/sparc/crtn.S: New file.
9269 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9270 * sysdeps/sparc/sparc64/Makefile: Likewise.
9271
df6a4a4a
MF
92722012-02-15 Mike Frysinger <vapier@gentoo.org>
9273
6dd8f3dc 9274 [BZ #3335]
df6a4a4a
MF
9275 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9276
1cac7236
RM
92772012-02-15 Roland McGrath <roland@hack.frob.com>
9278
d2c736f8
RM
9279 [BZ #4822]
9280 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9281
1cac7236
RM
9282 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9283 (write, read, close): Likewise.
9284 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9285
8e475601
JM
92862012-02-15 Joseph Myers <joseph@codesourcery.com>
9287
9288 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9289 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9290 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9291 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9292 <bits/signalfd.h>.
9293 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9295 bits/signalfd.h.
9296
ed656b40
MP
92972012-02-14 Marek Polacek <polacek@redhat.com>
9298
9299 * sysdeps/x86_64/crti.S: New file.
9300 * sysdeps/x86_64/crtn.S: New file.
9301 * sysdeps/x86_64/elf/initfini.c: Remove file.
9302
2a979d3a
JM
93032012-02-13 Joseph Myers <joseph@codesourcery.com>
9304
9305 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9306 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9307 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9308 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9309 <bits/inotify.h>.
9310 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9312 bits/inotify.h.
9313
2a418ac3
JM
93142012-02-13 Joseph Myers <joseph@codesourcery.com>
9315
9316 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9317 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9319 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9320 <bits/eventfd.h>.
9321 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9323 bits/eventfd.h.
9324
fb779be7
TS
93252012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9326
e19e83c5
RM
9327 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9328 __feraiseexcept instead of feraiseexcept.
7c35ffed 9329
fb779be7
TS
9330 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9331 nanosleep invocations.
9332 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9333 strings, and add error checking for a nanosleep invocations.
9334
59ba27a6
PE
93352012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9336
9337 Replace FSF snail mail address with URLs, as per GNU coding standards.
9338 Most of the snail mail addresses were wrong anyway, and omitting
9339 them makes the source code easier to maintain. Almost all of the
9340 changes are to license notices and to locale LC_IDENTIFICATION
9341 addresses, except for this one:
9342 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9343 not its snail mail address.
9344
57b957eb
RH
93452012-02-09 Richard Henderson <rth@twiddle.net>
9346
af850b1c
RH
9347 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9348 of kernel-features.h.
9349
57b957eb
RH
9350 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9351
6b73181a
MP
93522012-02-08 Marek Polacek <polacek@redhat.com>
9353
9354 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9355 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9356 * sysdeps/gnu/_G_config.h: Likewise.
9357 * sysdeps/generic/_G_config.h: Likewise.
9358
26ecc33a
AS
93592012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9360
6c6dbc63
AS
9361 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9362 tests.
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9364
e216c012
AS
9365 * sysdeps/powerpc/powerpc32/crti.S: New file.
9366 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9367 * sysdeps/powerpc/powerpc64/crti.S: New file.
9368 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9369
26ecc33a
AS
9370 * Makeconfig (have-initfini): Don't set.
9371 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9372 * configure.in (nopic_initfini): Don't substitute.
9373 * config.h.in (HAVE_INITFINI): Don't #undef.
9374 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9375 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9376
3add8e13
JM
93772012-02-08 Joseph Myers <joseph@codesourcery.com>
9378
9379 Support crti.S and crtn.S provided directly by architectures.
9380 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9381 [crti.S in sysdirs] (omit-deps): Likewise.
9382 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9383 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9384 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9385 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9386 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9387 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9388 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9389 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9390 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9391 compiler output for sysdeps/generic/initfini.c.
9392 * sysdeps/i386/elf/Makefile: Remove file.
9393 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9394
a22f12b4
MP
93952012-02-07 Marek Polacek <polacek@redhat.com>
9396
9397 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9398 * sysdeps/gnu/_G_config.h: Likewise.
9399 * sysdeps/mach/hurd/_G_config.h: Likewise.
9400
148cf100
MP
94012012-02-07 Marek Polacek <polacek@redhat.com>
9402
9403 * math/Makefile (tests): Add tst-CMPLX2.
9404 * math/tst-CMPLX2.c: New file.
9405
cfdc0dd7
AS
94062012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9407
84ba42c4
AS
9408 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9409
cfdc0dd7
AS
9410 * math/libm-test.inc (jn_test): Add missing L suffix.
9411
622c86f4
MP
94122012-02-06 Marek Polacek <polacek@redhat.com>
9413
9414 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9415 * sysdeps/i386/fpu/e_powf.S: Likewise.
9416 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9417 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9418 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9419 * sysdeps/i386/fpu/e_pow.S: Likewise.
9420 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9422 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9423 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9424 * sysdeps/i386/fpu/e_log2.S: Likewise.
9425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9426 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9427 * sysdeps/i386/fpu/e_powl.S: Likewise.
9428 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9429 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9430 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9431 * sysdeps/i386/fpu/e_logl.S: Likewise.
9432 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9433 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9434 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9435 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9438 * sysdeps/i386/fpu/e_log.S: Likewise.
9439 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9440 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9441 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9442 * sysdeps/i386/fpu/e_logf.S: Likewise.
9443 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9444 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9445 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9446 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9447 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9448 * sysdeps/i386/fpu/e_log10.S: Likewise.
9449 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9450 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9451 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9452 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9453 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9454 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9455 * sysdeps/i386/asm-syntax.h: Likewise.
9456 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9459 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9460 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9461 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9462 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9463 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9464 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9465 * sysdeps/powerpc/sysdep.h: Likewise.
9466 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9467 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9468
d4a54ac6
JM
94692012-02-06 Joseph Myers <joseph@codesourcery.com>
9470
9471 [BZ #411]
9472 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9473
314054ea
JM
94742012-02-06 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/i386/sysdep.h: Include <features.h>.
9477 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9478 version.
9479
d8e0ca50
JM
94802012-02-05 Joseph Myers <joseph@codesourcery.com>
9481
9482 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9483 Define.
9484 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9485 LOAD_PIC_REG_STR.
9486
b1da7dd9
JM
94872012-02-03 Joseph Myers <joseph@codesourcery.com>
9488
9489 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9490 (SETUP_PIC_REG): Use GET_PC_THUNK.
9491 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9492 macro.
9493
9a1d9254
JM
94942012-02-03 Joseph Myers <joseph@codesourcery.com>
9495
9496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9497 for non-PIC compilation.
9498 (SETUP_PIC_REG): Add .p2align directive.
9499 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9500 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9502 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9503 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9504 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9505 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9507 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9508 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9509 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9510 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9511 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9512 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9521 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9522 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9527 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9528 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9529 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9531 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9532 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9533 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9534 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9535 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9536 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9537 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9538 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9539 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9540
65dc3b75
JM
95412012-02-03 Joseph Myers <joseph@codesourcery.com>
9542
9543 * math/tst-CMPLX.c: Include <stdio.h>.
9544
d55bf177
JM
95452012-01-31 Joseph Myers <joseph@codesourcery.com>
9546
9547 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9548 float.
9549 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9550 * sysdeps/sparc/bits/mathdef.h: Likewise.
9551
69db4f8f
MP
95522012-01-31 Marek Polacek <polacek@redhat.com>
9553
9554 * libio/libio.h: Don't define _PARAMS.
9555 * locale/programs/config.h: Don't define PARAMS.
9556 * stdlib/strtol_l.c: Likewise.
9557 (__strtol_l): Remove PARAMS from the prototype.
9558
41b81892
UD
95592012-01-31 Ulrich Drepper <drepper@gmail.com>
9560
3b49edc0
UD
9561 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9562 names. Just use the correct names. Remove unnecessary wrapper
9563 functions.
9564 * malloc/arena.c: Likewise.
9565 * malloc/hooks.c: Likewise.
9566
41b81892
UD
9567 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9568 ARENA_TEST says not to. Simplify test for creation of a new arena.
9569 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9570
27a25b6e
UD
95712012-01-30 Ulrich Drepper <drepper@gmail.com>
9572
9573 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9574 into tail calls.
9575 (update_get_addr): New function.
9576 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9577 GET_ADDR_MODULE parameter.
9578
c8a89e7d
JM
95792012-01-30 Joseph Myers <joseph@codesourcery.com>
9580
9581 * crypt/cert.c: Remove __STDC__ conditionals.
9582 * crypt/crypt-entry.c: Likewise.
9583 * crypt/crypt_util.c: Likewise.
9584 * libio/filedoalloc.c: Likewise.
9585 * libio/fileops.c: Likewise.
9586 * libio/genops.c: Likewise.
9587 * libio/iofclose.c: Likewise.
9588 * libio/iofdopen.c: Likewise.
9589 * libio/iofopen.c: Likewise.
9590 * libio/iofopen64.c: Likewise.
9591 * libio/iogetdelim.c: Likewise.
9592 * libio/iopopen.c: Likewise.
9593 * libio/obprintf.c: Likewise.
9594 * libio/oldfileops.c: Likewise.
9595 * libio/oldiofclose.c: Likewise.
9596 * libio/oldiofdopen.c: Likewise.
9597 * libio/oldiofopen.c: Likewise.
9598 * libio/oldiopopen.c: Likewise.
9599 * libio/wfiledoalloc.c: Likewise.
9600 * libio/wgenops.c: Likewise.
9601 * locale/programs/xmalloc.c: Likewise.
9602 * misc/syslog.c: Likewise.
9603 * stdio-common/xbug.c: Likewise.
9604 * string/memchr.c: Likewise.
9605 * string/memcmp.c: Likewise.
9606 * string/memrchr.c: Likewise.
9607 * string/rawmemchr.c: Likewise.
9608 * sysdeps/posix/getcwd.c: Likewise.
9609 * time/strftime_l.c: Likewise.
9610
3b100462
JM
96112012-01-30 Joseph Myers <joseph@codesourcery.com>
9612
9613 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9614 * config.make.in (config-cflags-sse2avx): Define.
9615 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9616 Fix typo.
9617
607998af
CM
96182012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9619
9620 * scripts/config.guess: Update from upstream config git repository.
9621 * scripts/config.sub: Likewise.
9622
3601428f
CM
96232012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9624
3ac8b282
CM
9625 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9626 (EM_NUM): Update.
9627 (R_TILEPRO_*, R_TILEGX_*): New macros.
9628
e034841e
CM
9629 * scripts/firstversions.awk: Fix bug in version range handling.
9630
540d7568
CM
9631 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9632
3601428f
CM
9633 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9634
463de862
CM
9635 * include/sys/epoll.h: New file.
9636 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9637 libc_hidden_def.
9638
73139a76
UD
96392012-01-28 Ulrich Drepper <drepper@gmail.com>
9640
96bc5b45
UD
9641 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9642 Avoid unnecessary __WORDSIZE == 64 test.
9643 (fmaxf): Use VEX format if possible.
9644 (fmax): Likewise.
9645 (fminf): Likewise.
9646 (fmin): Likewise.
9647
56f6f6a2
UD
9648 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9649 * math/math_private.h: Remove libc_fegetround* and
9650 libc_fesetround*.
9651 * sysdeps/i386/configure.in: Check for -msse2avx.
9652 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9653 also if SSE2AVX is defined.
9654 Remove libc_fegetround* and libc_fesetround*.
9655 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9656 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9657 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9658 of HAS_YMM_USABLE.
9659 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9660 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9661 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9664
73139a76
UD
9665 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9666
d73f93a4
AZ
96672012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9668
9669 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9670 size is not set.
9671 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9672
6ee65ed6
UD
96732012-01-27 Ulrich Drepper <drepper@gmail.com>
9674
9675 [BZ #13618]
9676 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9677 relocation.
9678 * Makeconfig (libm): Define.
9679 * elf/Makefile: Add rules to build and run tst-relsort1.
9680 * elf/tst-relsort1.c: New file.
9681 * elf/tst-relsort1mod1.c: New file.
9682 * elf/tst-relsort1mod2.c: New file.
9683
8db21882
JM
96842012-01-27 Joseph Myers <joseph@codesourcery.com>
9685
9686 * math/s_ldexp.c: Remove __STDC__ conditionals.
9687 * math/s_ldexpf.c: Likewise.
9688 * math/s_ldexpl.c: Likewise.
9689 * math/s_nextafter.c: Likewise.
9690 * math/s_nexttowardf.c: Likewise.
9691 * math/s_significand.c: Likewise.
9692 * math/s_significandf.c: Likewise.
9693 * math/s_significandl.c: Likewise.
9694 * math/w_jnl.c: Likewise.
9695 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9696 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9697 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9698 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9699 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9716 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9721 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9724 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9725 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9726 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9727 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9729 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9730 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9731 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9732 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9733 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9734 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9735 * sysdeps/ieee754/k_standard.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_logbl.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_rintl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9815 * sysdeps/ieee754/s_matherr.c: Likewise.
9816 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9817 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9820
965a54a4
JM
98212012-01-26 Joseph Myers <joseph@codesourcery.com>
9822
9823 * crypt/md5.h: Remove __STDC__ conditionals.
9824 * libio/libioP.h: Likewise.
9825 * locale/programs/config.h: Likewise.
9826 * sysdeps/generic/sysdep.h: Likewise.
9827 * sysdeps/i386/asm-syntax.h: Likewise.
9828 * sysdeps/s390/asm-syntax.h: Likewise.
9829 * sysdeps/unix/sysdep.h: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9832
7071ad79
JM
98332012-01-26 Joseph Myers <joseph@codesourcery.com>
9834
9835 * libio/libio.h: Remove __STDC__ conditionals.
9836 * malloc/obstack.h: Likewise.
9837 * math/complex.h: Likewise.
9838 * math/math.h: Likewise.
9839 * sysdeps/generic/_G_config.h: Likewise.
9840 * sysdeps/gnu/_G_config.h: Likewise.
9841 * sysdeps/mach/hurd/_G_config.h: Likewise.
9842 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9843 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9844 * sysdeps/sparc/bits/mathdef.h: Likewise.
9845
afc5ed09
UD
98462012-01-26 Ulrich Drepper <drepper@gmail.com>
9847
9848 [BZ #13583]
9849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9850 Clean up HAS_* macros.
afc5ed09 9851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9852 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9853 possible.
9854 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9855 HAS_AVX.
9856 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9857 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9858 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9861
bdb6de1d
JM
98622012-01-25 Joseph Myers <joseph@codesourcery.com>
9863
9864 * elf/tst-unique3.cc (gets): Remove declaration.
9865 * elf/tst-unique3lib.cc (gets): Likewise.
9866 * elf/tst-unique3lib2.cc (gets): Likewise.
9867 * elf/tst-unique4.cc (gets): Likewise.
9868
b15549e6
UD
98692012-01-24 Ulrich Drepper <drepper@gmail.com>
9870
9871 * include/stdio.h: Add C++ protection. Add gets declarations and
9872 definitions.
9873 * debug/tst-chk1.c: Don't declare gets here.
9874 * stdio-common/tst-gets.c: Likewise.
9875
a037381f
JM
98762012-01-24 Joseph Myers <joseph@codesourcery.com>
9877
9878 * posix/glob: Remove directory.
9879
f1d4aa75
JM
98802012-01-24 Joseph Myers <joseph@codesourcery.com>
9881
9882 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9883
81c0c964
PT
98842012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9885
9886 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9887 of the non-standard EPFNOSUPPORT.
9888
0ea698ae
ST
98892011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9890
9891 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9892 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9893 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9894
d220b117
UD
98952012-01-21 Ulrich Drepper <drepper@gmail.com>
9896
9897 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9898
3e1aa84e
UD
98992012-01-20 Ulrich Drepper <drepper@gmail.com>
9900
9901 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9902 transient errors.
9903 * nscd/grpcache.c (cache_addgr): Likewise.
9904 * nscd/hstcache.c (cache_addhst): Likewise.
9905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9906 * nscd/pwdcache.c (cache_addpw): Likewise.
9907 * nscd/servicescache.c (cache_addserv): Likewise.
9908
400aa020
UD
99092012-01-16 Ulrich Drepper <drepper@gmail.com>
9910
d77e7869
UD
9911 * malloc/malloc.c: Various cleanups.
9912 * malloc/hooks.c: Likewise.
9913
400aa020
UD
9914 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9915 * stdlib/bug-fmtmsg1.c: New file.
9916
9917 * stdlib/fmtmsg.c (init): Add missing unlock.
9918 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9919
e0a309cf
MP
99202012-01-12 Marek Polacek <polacek@redhat.com>
9921
9922 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9923 and _GNU_SOURCE.
9924
929d11c7
WS
99252012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9926
9927 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9928 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9929 macro to ensure uniqueness of label name.
9930 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9931 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9932
41d0e869
UD
99332012-01-11 Ulrich Drepper <drepper@gmail.com>
9934
0cc5ed3b
UD
9935 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9936
41d0e869
UD
9937 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9938 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9939 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9941
a47a831a
UD
99422012-01-10 Ulrich Drepper <drepper@gmail.com>
9943
daa891c0
UD
9944 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9945
9946 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9947 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9949
e58ef0f2
UD
9950 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9951
a47a831a 9952 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9953 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9956
9957 * math/bits/math-finite.h: Add ldexp support.
9958
a0bfc9c7
MP
99592012-01-10 Marek Polacek <polacek@redhat.com>
9960
9961 * locale/programs/localedef.h (show_archive_content): Add noreturn
9962 attribute.
9963
d6e97a1d
UD
99642012-01-09 Ulrich Drepper <drepper@gmail.com>
9965
9966 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9967
d5835c26
UD
99682012-01-08 Ulrich Drepper <drepper@gmail.com>
9969
e5f484c6
UD
9970 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9971
d5835c26
UD
9972 * io/Makefile (headers): Add bits/poll2.h.
9973
d1f741e9
WS
99742011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9975
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9977 typo #include statement.
9978
ec09c1c4
UD
99792012-01-08 Ulrich Drepper <drepper@gmail.com>
9980
9981 * include/sys/cdefs.h: Define __attribute_alloc_size.
9982 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9983 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9984 * elf/pldd.c: Likewise.
9985 * iconv/iconv_charmap.c: Likewise.
9986 * iconv/iconvconfig.c: Likewise.
9987 * iconv/strtab.c: Likewise.
9988 * locale/programs/locale.c: Likewise.
9989 * locale/programs/localedef.h: Likewise.
9990 * locale/programs/simple-hash.c: Likewise.
9991 * nscd/nscd.h: Likewise.
9992 * nss/makedb.c: Likewise.
9993 * sysdeps/generic/ldconfig.h: Likewise.
9994 * locale/programs/localedef.c: Remove xmalloc prototype.
9995 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9996
20b38e03
PP
99972012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9998
9999 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10000 appropriate.
10001
a0da5fe1
UD
100022012-01-08 Ulrich Drepper <drepper@gmail.com>
10003
1d5a644a 10004 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10005 * math/tst-CMPLX.c: New file.
1d5a644a 10006
8784a6db
UD
10007 * math/complex.h (CMPLXL): Fix typo.
10008
d9a216c0
UD
10009 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10010 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10011 GLIBC_2.16.
10012 * debug/tst-chk1.c: Add poll and ppoll tests.
10013 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10014 * include/sys/poll.h: Add hidden proto for ppoll.
10015 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10016 * sysdeps/mach/hurd/ppoll.c: Likewise.
10017 * io/ppoll.c: Likewise.
10018 * debug/poll_chk.c: New file.
10019 * debug/ppoll_chk.c: New file.
10020 * include/bits/poll2.h: New file.
10021 * io/bits/poll2.h: New file.
10022
ac097f5c
UD
10023 [BZ #1350]
10024 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10025
2119dcfa
UD
10026 * configure.in: static is always set to yes. Remove.
10027 * config.make.in: Don't set build-static.
10028 * Makeconfig: Remove use of build-static.
10029 * dlfcn/Makefile: Likewise.
10030 * elf/Makefile: Likewise.
10031 * math/Makefile: Likewise.
10032 * misc/Makefile: Likewise.
10033 * nptl/Makefile: Likewise.
10034 * sysdeps/mach/hurd/Makefile: Likewise.
10035
121766a9
UD
10036 * configure.in: PWD_P is not used anymore.
10037 * config.make.in: Remove PWD_P entry.
10038
51a1d39c 10039 * configure.in: Remove last remnants of RANLIB.
8720d066 10040 No need to check for signed size_t anymore.
215f4bdc
UD
10041 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10042 and IA-64.
3857022a 10043 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10044 * aclocal.m4: Likewise.
10045
d3ed7225
UD
10046 * wcsmbs/mbrtoc16.c: Implement using towc function.
10047 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10048 * wcsmbs/wcsmbsload.c: Likewise.
10049 * iconv/gconv_simple.c: Likewise.
10050 * iconv/gconv_int.h: Likewise.
10051 * iconv/gconv_builtin.h: Likewise.
10052 * iconv/iconv_prog.c: Remove CHAR16 handling.
10053
10054 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10055
10056 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10057
a0da5fe1
UD
10058 * configure.in: Remove --with-elf and --enable-bounded options.
10059 Dont set base_machine for ia64. More non-ELF conditions removed.
10060 Remove testing and setting of leading underscore information.
10061 * config.make.in (build-bounded): Set to no.
10062 * config.h.in: Remove NO_UNDERSCORES entry.
10063 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10064 them.
10065 * csu/start.c: Remove !NO_UNDERSCORE code.
10066 * locale/localeinfo.h: Likewise.
10067 * sysdeps/generic/machine-gmon.h: Likewise.
10068 * sysdeps/generic/sysdep.h: Likewise.
10069 * sysdeps/i386/sysdep.h: Likewise.
10070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10071 * sysdeps/mach/sysdep.h: Likewise.
10072 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10073 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10074 * sysdeps/sh/sysdep.h: Likewise.
10075 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10076 * sysdeps/unix/i386/sysdep.S: Likewise.
10077 * sysdeps/unix/sparc/start.c: Likewise.
10078 * sysdeps/unix/sparc/sysdep.S: Likewise.
10079 * sysdeps/unix/sparc/sysdep.h: Likewise.
10080 * sysdeps/unix/start.c: Likewise.
10081 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10082 * sysdeps/x86_64/sysdep.h: Likewise.
10083
df78418a
UD
100842012-01-07 Ulrich Drepper <drepper@gmail.com>
10085
a784e502
UD
10086 [BZ #13553]
10087 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10088 for non-gcc.
10089 * argp/argp-fmtstream.h: Use const instead __const.
10090 * argp/argp.h: Likewise.
10091 * assert/assert.h: Likewise.
10092 * bits/fenv.h: Likewise.
10093 * bits/sched.h: Likewise.
10094 * bits/sigset.h: Likewise.
10095 * bits/sigthread.h: Likewise.
10096 * catgets/nl_types.h: Likewise.
10097 * conform/data/pthread.h-data: Likewise.
10098 * crypt/crypt-private.h: Likewise.
10099 * crypt/crypt.h: Likewise.
10100 * crypt/crypt_util.c: Likewise.
10101 * ctype/ctype.h: Likewise.
10102 * debug/execinfo.h: Likewise.
10103 * debug/mbsnrtowcs_chk.c: Likewise.
10104 * debug/mbsrtowcs_chk.c: Likewise.
10105 * debug/wcsnrtombs_chk.c: Likewise.
10106 * debug/wcsrtombs_chk.c: Likewise.
10107 * debug/wcstombs_chk.c: Likewise.
10108 * dirent/dirent.h: Likewise.
10109 * dlfcn/dlfcn.h: Likewise.
10110 * elf/neededtest4.c: Likewise.
10111 * grp/grp.h: Likewise.
10112 * gshadow/gshadow.h: Likewise.
10113 * iconv/gconv.h: Likewise.
10114 * iconv/gconv_int.h: Likewise.
10115 * iconv/gconv_simple.c: Likewise.
10116 * iconv/iconv.h: Likewise.
10117 * iconv/loop.c: Likewise.
10118 * iconv/skeleton.c: Likewise.
10119 * include/aio.h: Likewise.
10120 * include/aliases.h: Likewise.
10121 * include/argz.h: Likewise.
10122 * include/arpa/inet.h: Likewise.
10123 * include/assert.h: Likewise.
10124 * include/dirent.h: Likewise.
10125 * include/dlfcn.h: Likewise.
10126 * include/execinfo.h: Likewise.
10127 * include/fcntl.h: Likewise.
10128 * include/fenv.h: Likewise.
10129 * include/glob.h: Likewise.
10130 * include/grp.h: Likewise.
10131 * include/libintl.h: Likewise.
10132 * include/mntent.h: Likewise.
10133 * include/netdb.h: Likewise.
10134 * include/pwd.h: Likewise.
10135 * include/rpc/netdb.h: Likewise.
10136 * include/sched.h: Likewise.
10137 * include/search.h: Likewise.
10138 * include/shadow.h: Likewise.
10139 * include/signal.h: Likewise.
10140 * include/stdio.h: Likewise.
10141 * include/stdlib.h: Likewise.
10142 * include/string.h: Likewise.
10143 * include/sys/socket.h: Likewise.
10144 * include/sys/stat.h: Likewise.
10145 * include/sys/statfs.h: Likewise.
10146 * include/sys/statvfs.h: Likewise.
10147 * include/sys/syslog.h: Likewise.
10148 * include/sys/time.h: Likewise.
10149 * include/sys/uio.h: Likewise.
10150 * include/time.h: Likewise.
10151 * include/unistd.h: Likewise.
10152 * include/utmp.h: Likewise.
10153 * include/wchar.h: Likewise.
10154 * include/wctype.h: Likewise.
10155 * inet/aliases.h: Likewise.
10156 * inet/arpa/inet.h: Likewise.
10157 * inet/netinet/ether.h: Likewise.
10158 * inet/netinet/in.h: Likewise.
10159 * intl/libintl.h: Likewise.
10160 * io/bits/fcntl2.h: Likewise.
10161 * io/fcntl.h: Likewise.
10162 * io/ftw.h: Likewise.
10163 * io/sys/poll.h: Likewise.
10164 * io/sys/stat.h: Likewise.
10165 * io/sys/statfs.h: Likewise.
10166 * io/sys/statvfs.h: Likewise.
10167 * io/utime.h: Likewise.
10168 * libio/bits/stdio.h: Likewise.
10169 * libio/bits/stdio2.h: Likewise.
10170 * libio/libio.h: Likewise.
10171 * libio/libioP.h: Likewise.
10172 * libio/stdio.h: Likewise.
10173 * locale/lc-ctype.c: Likewise.
10174 * locale/locale.h: Likewise.
10175 * login/utmp.h: Likewise.
10176 * malloc/arena.c: Likewise.
10177 * malloc/malloc.c: Likewise.
10178 * malloc/malloc.h: Likewise.
10179 * malloc/mcheck.c: Likewise.
10180 * malloc/mtrace.c: Likewise.
10181 * math/bits/mathcalls.h: Likewise.
10182 * math/fenv.h: Likewise.
10183 * math/math_private.h: Likewise.
10184 * misc/bits/error.h: Likewise.
10185 * misc/bits/syslog.h: Likewise.
10186 * misc/err.h: Likewise.
10187 * misc/error.h: Likewise.
10188 * misc/fstab.h: Likewise.
10189 * misc/mntent.h: Likewise.
10190 * misc/regexp.h: Likewise.
10191 * misc/search.h: Likewise.
10192 * misc/sgtty.h: Likewise.
10193 * misc/sys/mman.h: Likewise.
10194 * misc/sys/syslog.h: Likewise.
10195 * misc/sys/uio.h: Likewise.
10196 * misc/sys/xattr.h: Likewise.
10197 * misc/ttyent.h: Likewise.
10198 * nis/rpcsvc/ypclnt.h: Likewise.
10199 * nss/nss.h: Likewise.
10200 * posix/bits/unistd.h: Likewise.
10201 * posix/fnmatch.h: Likewise.
10202 * posix/glob.h: Likewise.
10203 * posix/sched.h: Likewise.
10204 * posix/spawn.h: Likewise.
10205 * posix/sys/wait.h: Likewise.
10206 * posix/unistd.h: Likewise.
10207 * posix/wordexp.h: Likewise.
10208 * pwd/pwd.h: Likewise.
10209 * resolv/netdb.h: Likewise.
10210 * resource/sys/resource.h: Likewise.
10211 * rt/aio.h: Likewise.
10212 * rt/bits/mqueue2.h: Likewise.
10213 * rt/mqueue.h: Likewise.
10214 * shadow/shadow.h: Likewise.
10215 * signal/signal.h: Likewise.
10216 * socket/send.c: Likewise.
10217 * socket/sendto.c: Likewise.
10218 * socket/sys/socket.h: Likewise.
10219 * stdio-common/printf.h: Likewise.
10220 * stdlib/bits/stdlib.h: Likewise.
10221 * stdlib/fmtmsg.h: Likewise.
10222 * stdlib/monetary.h: Likewise.
10223 * stdlib/stdlib.h: Likewise.
10224 * stdlib/ucontext.h: Likewise.
10225 * streams/stropts.h: Likewise.
10226 * string/argz.h: Likewise.
10227 * string/bits/string2.h: Likewise.
10228 * string/string.h: Likewise.
10229 * string/strings.h: Likewise.
10230 * sunrpc/rpc/auth.h: Likewise.
10231 * sunrpc/rpc/auth_des.h: Likewise.
10232 * sunrpc/rpc/clnt.h: Likewise.
10233 * sunrpc/rpc/netdb.h: Likewise.
10234 * sunrpc/rpc/pmap_clnt.h: Likewise.
10235 * sunrpc/rpc/xdr.h: Likewise.
10236 * sysdeps/generic/inttypes.h: Likewise.
10237 * sysdeps/generic/net/if.h: Likewise.
10238 * sysdeps/generic/sys/swap.h: Likewise.
10239 * sysdeps/gnu/net/if.h: Likewise.
10240 * sysdeps/gnu/utmpx.h: Likewise.
10241 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10242 * sysdeps/i386/i486/bits/string.h: Likewise.
10243 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10244 * sysdeps/s390/bits/string.h: Likewise.
10245 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10246 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10247 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10248 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10249 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10250 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10251 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10252 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10253 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10254 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10255 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10256 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10257 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10258 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10259 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10260 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10261 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10265 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10266 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10267 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10268 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10269 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10270 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10273 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10274 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10275 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10276 * sysvipc/sys/ipc.h: Likewise.
10277 * sysvipc/sys/msg.h: Likewise.
10278 * sysvipc/sys/sem.h: Likewise.
10279 * sysvipc/sys/shm.h: Likewise.
10280 * termios/termios.h: Likewise.
10281 * time/sys/time.h: Likewise.
10282 * time/time.h: Likewise.
10283 * wcsmbs/bits/wchar2.h: Likewise.
10284 * wcsmbs/uchar.h: Likewise.
10285 * wcsmbs/wchar.h: Likewise.
10286 * wctype/wctype.h: Likewise.
10287
0269750c
UD
10288 [BZ #13551]
10289 * Makeconfig: Remove all but ELF support including AIX support.
10290 * Makerules: Likewise.
10291 * config.h.in: Likewise.
10292 * config.make.in: Likewise.
10293 * configure: Likewise.
10294 * configure.in: Likewise.
10295 * csu/Makefile: Likewise.
10296 * csu/version.c: Likewise.
10297 * debug/Makefile: Likewise.
10298 * dlfcn/Makefile: Likewise.
10299 * elf/Makefile: Likewise.
10300 * extra-lib.mk: Likewise.
10301 * iconv/Makefile: Likewise.
10302 * include/libc-symbols.h: Likewise.
10303 * include/shlib-compat.h: Likewise.
10304 * resolv/Makefile: Likewise.
10305 * resolv/res_libc.c: Likewise.
10306 * rt/Makefile: Likewise.
10307 * sysdeps/i386/asm-syntax.h: Likewise.
10308 * sysdeps/i386/sysdep.h: Likewise.
10309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10310 * sysdeps/mach/sysdep.h: Likewise.
10311 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10312 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10313 * sysdeps/s390/asm-syntax.h: Likewise.
10314 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10316 * sysdeps/sh/sysdep.h: Likewise.
10317 * sysdeps/unix/sparc/sysdep.h: Likewise.
10318 * sysdeps/wordsize-32/divdi3.c: Likewise.
10319 * sysdeps/x86_64/sysdep.h: Likewise.
10320
00bbd29b
UD
10321 * argp/Versions: Remove _argp_unlock_xxx.
10322
10323 [BZ #13559]
10324 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10325 * abilist/libBrokenLocale.abilist: Likewise.
10326 * abilist/libanl.abilist: Likewise.
10327 * abilist/libc.abilist: Likewise.
10328 * abilist/libcrypt.abilist: Likewise.
10329 * abilist/libdl.abilist: Likewise.
10330 * abilist/libm.abilist: Likewise.
10331 * abilist/libnsl.abilist: Likewise.
10332 * abilist/libpthread.abilist: Likewise.
10333 * abilist/libresolv.abilist: Likewise.
10334 * abilist/librt.abilist: Likewise.
10335 * abilist/libthread_db.abilist: Likewise.
10336 * abilist/libutil.abilist: Likewise.
10337 * abilist/libnss_db.abilist: New file.
10338
10339 * scripts/abilist.awk: Add support for indirect functions.
10340
a2693a0e
UD
10341 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10342
3f05895f
UD
10343 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10344
ecb6fb48
UD
10345 * shlib-versions: Remove entries for ports architectures.
10346
664f8cb9
UD
10347 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10348 files in ports.
10349 * elf/stackguard-macros.h: Remove support for IA-64.
10350 * elf/tst-auditmod1.c: Likewise.
10351 * sysdeps/generic/ldsodefs.h: Likewise.
10352
7ae81d88
UD
10353 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10354 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10355 configure files.
10356
bdeba135
UD
10357 [BZ #13552]
10358 * configure.in: Remove --enable-omitfp support.
10359 * FAQ.in: Adjust.
10360 * config.make.in: Likewise.
10361 * Makeconfig: Likewise.
10362 * manual/install.texi: Likewise.
10363
d75a0a62
UD
10364 In case anyone cares, the IA-64 architecture could move to ports.
10365 * sysdeps/ia64/*: Removed.
10366 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10367 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10368
dcc9756b
UD
10369 [BZ #13555]
10370 * configure.in: Remove entries for unsupported architectures.
10371
d3761ebc 10372 [BZ #13533]
9954432e
UD
10373 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10374 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10375 routines.
10376 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10377 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10378 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10379 fall back to using wcrtomb.
10380 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10381 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10382 renaming.
10383 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10384 * wcsmbs/tst-c16c32-1.c: New file.
10385
10386 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10387 local variable.
10388
c3a87236
UD
10389 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10390
28926a1b
UD
10391 * elf/tst-unique3.cc: Add explicit declaration of gets.
10392 * elf/tst-unique3lib.cc: Likewise.
10393 * elf/tst-unique3lib2.cc: Likewise.
10394 * elf/tst-unique4.cc: Likewise.
10395
df78418a
UD
10396 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10397
8ecd6b2a
JM
103982012-01-06 Joseph Myers <joseph@codesourcery.com>
10399
10400 [BZ #13566]
10401 * assert/assert.h (static_assert): Don't define for C++.
10402 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10403 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10404
9f115170
UD
104052012-01-03 Ulrich Drepper <drepper@gmail.com>
10406
5e0d0300
UD
10407 * iconv/loop.c (single loop): Fix assertion in storing of
10408 remaining bytes.
10409
9f115170
UD
10410 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10411
81fb02b0
UD
104122012-01-01 Ulrich Drepper <drepper@gmail.com>
10413
10414 * posix/getconf.c: Update copyright year.
10415 * nss/getent.c: Likewise.
a316c1f6 10416 * nss/makedb.c: Likewise.
81fb02b0
UD
10417 * iconv/iconvconfig.c: Likewise.
10418 * iconv/iconv_prog.c: Likewise.
10419 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10420 * elf/pldd.c: Likewise.
10421 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10422 * catgets/gencat.c: Likewise.
10423 * csu/version.c: Likewise.
10424 * elf/ldd.bash.in: Likewise.
10425 * elf/sprof.c (print_version): Likewise.
10426 * locale/programs/locale.c: Likewise.
10427 * locale/programs/localedef.c: Likewise.
a316c1f6 10428 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10429 * nscd/nscd.c (print_version): Likewise.
10430 * debug/xtrace.sh: Likewise.
10431 * malloc/memusage.sh: Likewise.
10432 * malloc/mtrace.pl: Likewise.
10433 * debug/catchsegv.sh: Likewise.
10434
2ba92745
JJ
104352011-12-30 Jakub Jelinek <jakub@redhat.com>
10436
10437 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10438 pure attribute.
10439
dadebdae
UD
104402011-12-24 Ulrich Drepper <drepper@gmail.com>
10441
d3761ebc 10442 [BZ #13533]
db6af3eb
UD
10443 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10444 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10445 transformations.
10446 * iconv/gconv_int.h: Likewise.
10447 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10448 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10449 from libc for GLIBC_2.16.
10450 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10451 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10452 * wcsmbs/uchar.h: Really define mbstate_t.
10453 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10454 * wcsmbs/c16rtomb.c: New file.
10455 * wcsmbs/mbrtoc16.c: New file.
10456 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10457 for C/POSIX locale.
10458 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10459 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10460
dadebdae
UD
10461 * wcsmbs/wchar.h: Add missing __restrict.
10462
67371b56
UD
104632011-12-23 Ulrich Drepper <drepper@gmail.com>
10464
74033a25
UD
10465 [BZ #13532]
10466 * time/Makefile (routines): Add timespec_get.
10467 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10468 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10469 timespec for ISO C11.
10470 * time/timespec_get.c: New file.
10471 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10472 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10473
380d7e87
UD
10474 [BZ #13531]
10475 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10476 * stdlib/stdlib.h: Declare aligned_alloc.
10477 * Versions.def: Add GLIBC_2.16 for libc.
10478 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10479
4e9e7a35
UD
10480 [BZ 13527]
10481 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10482 ISO C11.
10483
380d7e87 10484 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10485 code.
10486
03a71829
UD
10487 [BZ #13528]
10488 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10489
839e283e
UD
10490 [BZ #13529]
10491 * assert/assert.h (static_assert): Define.
10492
ce5294e2 10493 * version.h: Update for 2.16 development version.
90fa7312 10494
8d44e150 10495 [BZ #13526]
d7809905
UD
10496 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10497 _ISOC11_SOURCE.
10498
c0da14cd
UD
10499 * version.h (RELEASE): Bump for 2.15 release.
10500 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10501
530a3249
MP
10502 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10503 Patch by Marek Polacek <mpolacek@redhat.com>.
10504
67371b56
UD
10505 * bits/byteswap.h: Protect long long constants with __extension__.
10506 * sysdeps/i386/bits/byteswap.h: Likewise.
10507 * sysdeps/ia64/bits/byteswap.h: Likewise.
10508 * sysdeps/s390/bits/byteswap.h: Likewise.
10509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10510
15db4de1
LD
105112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10512
10513 [BZ #13540]
bbe315ea
LD
10514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10515 destination buffer.
15db4de1
LD
10516 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10517
2b2596b1
MP
105182011-12-23 Marek Polacek <polacek@redhat.com>
10519
10520 * elf/dl-addr.c (determine_info): Add inline keyword.
10521 * elf/tst-auditmod4b.c (check_avx): Likewise.
10522 * elf/tst-auditmod6b.c (check_avx): Likewise.
10523 * elf/tst-auditmod6c.c (check_avx): Likewise.
10524 * elf/tst-auditmod7b.c (check_avx): Likewise.
10525
70c6c246
UD
105262011-12-23 Ulrich Drepper <drepper@gmail.com>
10527
10528 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10529 !__SSE_MATH__.
10530
c044cf14
LD
105312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10532
15db4de1 10533 [BZ #13540]
c044cf14
LD
10534 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10535 processing for last bytes.
10536
6b13d9d9
BH
105372011-08-06 Bruno Haible <bruno@clisp.org>
10538
d455f537
BH
10539 [BZ #13061]
10540 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10541 U+0385, not to U+1FEE.
10542
6b13d9d9
BH
10543 [BZ #13062]
10544 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10545 entry for U+00A5 U+0301.
10546
db910efd
UD
105472011-12-22 Ulrich Drepper <drepper@gmail.com>
10548
27deeafc
UD
10549 [BZ #13166]
10550 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10551 buffer for the output is too small.
10552
aed9d171
UD
10553 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10554 optimization.
10555
db910efd
UD
10556 [BZ #13185]
10557 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10558 SSE flags if possible.
10559
2bd779ae
LD
105602011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10561
e7f9dac3 10562 [BZ #13540]
2bd779ae
LD
10563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10564 processing for last bytes.
10565
154bfc16
JM
105662011-12-22 Joseph Myers <joseph@codesourcery.com>
10567
10568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10569 (syscall-list-default-options, syscall-list-default-condition)
10570 (syscall-list-includes): Define.
10571 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10572 list of ABIs and options and #if conditions for each ABI. Do not
10573 handle common syscalls between ABIs specially.
10574 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10575 Remove.
10576 (syscall-list-variants, syscall-list-32bit-options)
10577 (syscall-list-32bit-condition, syscall-list-64bit-options)
10578 (syscall-list-64bit-condition): Define.
10579 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10580 (syscall-list-variants, syscall-list-32bit-options)
10581 (syscall-list-32bit-condition, syscall-list-64bit-options)
10582 (syscall-list-64bit-condition): Define.
10583 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10584 Remove.
10585 (syscall-list-variants, syscall-list-32bit-options)
10586 (syscall-list-32bit-condition, syscall-list-64bit-options)
10587 (syscall-list-64bit-condition): Define.
10588 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10589 Remove.
10590 (syscall-list-variants, syscall-list-32bit-options)
10591 (syscall-list-32bit-condition, syscall-list-64bit-options)
10592 (syscall-list-64bit-condition): Define.
10593
21eaf3a5
UD
105942011-12-22 Ulrich Drepper <drepper@gmail.com>
10595
16c6f992
UD
10596 * locale/iso-639.def: Add brx entry.
10597
41043168
UD
10598 [BZ #13328]
10599 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10600 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10601
21eaf3a5
UD
10602 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10603 __feraiseexcept_renamed.
10604
e3a851a2
UD
106052011-12-21 Ulrich Drepper <drepper@gmail.com>
10606
4920765e
UD
10607 [BZ #13538]
10608 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10609 EPOLLET with unsigned values.
10610 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10611 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10612
e3a851a2
UD
10613 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10614 to large cancellation.
10615 * math/s_cacoshf.c: Likewise.
10616 * math/s_cacoshl.c: Likewise.
10617
b27e24b8
RK
106182011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10619
10620 [BZ #13305]
aebefeee 10621 [BZ #12786]
b27e24b8
RK
10622 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10623 * math/s_cacoshf.c: Likewise.
10624 * math/s_cacoshl.c: Likewise.
10625
ee190f67
UD
106262011-12-21 Ulrich Drepper <drepper@gmail.com>
10627
10628 [BZ #13439]
10629 * iconv/gconv.h: Define __GCONV_SWAP.
10630 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10631 * iconvdata/utf-16.c: Likewise.
10632 * iconvdata/utf-32.c: Likewise.
10633
707f25df
AS
106342011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10635
10636 [BZ #13524]
10637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10638 numerator after shifting it by one limb.
10639
d2daaa1e
RÁE
106402011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10641
10642 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10643 under [__USE_EXTERN_INLINES].
10644
a4647e72
UD
106452011-12-17 Ulrich Drepper <drepper@gmail.com>
10646
10647 [BZ #13446]
10648 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10649
f0b264f1
AZ
106502011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10651
10652 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10653 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10654 optimized code.
10655 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10656 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10657 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10658 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10659 for strncasecmp/strncasecmp_l compilation.
10660 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10661 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10662
8ef4f244
MP
106632011-12-08 Marek Polacek <mpolacek@redhat.com>
10664
10665 [BZ #13484]
10666 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10667 of __asm__.
10668
97ac2654
UD
106692011-12-17 Ulrich Drepper <drepper@gmail.com>
10670
10671 [BZ #13506]
10672 * time/tzfile.c (__tzfile_read): Check values from file header.
10673
91d2a845
WS
106742011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10675
10676 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10677 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10678 * powerpc/powerpc32/dl-start.S: Likewise.
10679 * powerpc/powerpc32/elf/start.S: Likewise.
10680 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10681 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10682 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10683 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10684 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10685 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10686 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10687 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10688 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10689 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10690 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10691 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10692 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10693 * powerpc/powerpc32/memset.S: Likewise.
10694 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10695 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10696 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10697 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10698 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10699 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10700 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10701 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10702 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10703 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10704 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10705 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10706 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10707
a1267ba1
AZ
107082011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 * math/libm-test.inc: Added more nearbyint tests.
10711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10712 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10714 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10715
ad8ac1bd
RL
107162011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10717
10718 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10719 FD_CLOEXEC.
10720
1d3e4b61
UD
107212011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10722
10723 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10724 Add wcscpy-ssse3 wcscpy-c.
10725 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10726 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10727 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10728 * sysdeps/x86_64/wcschr.S: New file.
10729 * sysdeps/x86_64/wcsrchr.S: New file.
10730 * string/test-strcmp.c: Remove checking of wcscmp function for
10731 wrong alignments.
10732 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10733 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10734 wcsrchr-sse2 wcsrchr-c.
10735 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10736 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10737 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10738 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10739 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10740 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10741 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10742 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10743 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10744 * wcsmbc/wcschr.c (WCSCHR): New macro.
10745
5b330a2d
UD
107462011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10747
10748 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10749 * wcsmbs/test-wcsrchr.c: New file.
10750 * string/test-strrchr.c: Add wcsrchr support.
10751 (WIDE): New macro.
10752 * wcsmbs/test-wcscpy.c: New file.
10753 * string/test-strcpy.c: Add wcscpy support.
10754 (WIDE): New macro.
26428b7c 10755
f039c043
UD
107562011-12-10 Ulrich Drepper <drepper@gmail.com>
10757
10758 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10759 the inner loop.
10760
850fb039
AS
107612011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10762
10763 [BZ #13472]
10764 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10765
4efbd5cb
UD
107662011-12-04 Ulrich Drepper <drepper@gmail.com>
10767
52ff5dd0 10768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10769 Minor optimizations.
52ff5dd0 10770
4efbd5cb
UD
10771 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10772 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10773 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10774
8a426e12
UD
107752011-12-03 Ulrich Drepper <drepper@gmail.com>
10776
aff2453d
UD
10777 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10778 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10779 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10780 for gcc to avoid warnings.
10781 * inet/Makefile (tests): Add tst-checks.
10782 * inet/tst-checks.c: New file.
10783
10784 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10785 warning.
10786
10787 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10788 __wmemcmp_sse2.
10789
10790 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10791 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10792
8a426e12
UD
10793 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10794
9bea3473
UD
107952011-12-02 Ulrich Drepper <drepper@gmail.com>
10796
3a965496
UD
10797 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10798 problem.
10799
9bea3473
UD
10800 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10801
f101631b
UD
108022011-11-29 Joseph Myers <joseph@codesourcery.com>
10803
10804 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10805 conditional on GCC version.
10806 (__arch_compare_and_exchange_val_8_acq)
10807 (__arch_compare_and_exchange_val_16_acq)
10808 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10809 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10810 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10811
a98275aa
UD
108122011-12-02 Joseph Myers <joseph@codesourcery.com>
10813
10814 * sysdeps/sh/backtrace.c: New file.
10815
d4cc29a2
AS
108162011-12-02 Andreas Schwab <schwab@redhat.com>
10817
10818 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10819 parenthesis.
10820
6257af2d
AS
108212011-12-01 Andreas Schwab <schwab@redhat.com>
10822
10823 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10824 falling back to utime.
10825
b5f44c1a
AS
108262011-11-30 Andreas Schwab <schwab@redhat.com>
10827
10828 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10829 expectations for float.
10830
f3a6cc0a
AS
108312011-11-29 Andreas Schwab <schwab@redhat.com>
10832
10833 * locale/weight.h (findidx): Add parameter len.
10834 * locale/weightwc.h (findidx): Likewise.
10835 * posix/fnmatch_loop.c (FCT): Adjust caller.
10836 * posix/regcomp.c (build_equiv_class): Likewise.
10837 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10838 * posix/regexec.c (check_node_accept_bytes): Likewise.
10839 * string/strcoll_l.c (STRCOLL): Likewise.
10840 * string/strxfrm_l.c (STRXFRM): Likewise.
10841
9d65ea3a
UD
108422011-11-17 Ulrich Drepper <drepper@gmail.com>
10843
10844 * Makefile.in: Remove CVSOPT handling.
10845 * configure.in: Remove use of AC_REVISION.
10846 * iconvdata/Makefile (distribute): No need to filter out CVS.
10847 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10848 handling.
10849
5583a086
AS
108502011-11-16 Andreas Schwab <schwab@redhat.com>
10851
10852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10853 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10854 [USE_AS_STRNCASECMP_L]: Likewise.
10855 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10856 NO_TLS_DIRECT_SEG_REFS.
10857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10858 Fix argument offsets for non-PIC.
10859 [USE_AS_STRNCASECMP_L]: Likewise.
10860 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10861 NO_TLS_DIRECT_SEG_REFS.
10862
d62a8200
UD
108632011-11-15 Ulrich Drepper <drepper@gmail.com>
10864
9d65ea3a 10865 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10866 O_CLOEXEC.
10867 * locale/loadlocale.c (_nl_load_locale): Likewise.
10868
09f93bd3
AS
108692011-11-15 Andreas Schwab <schwab@redhat.com>
10870
446514f9
AS
10871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10872 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10873 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10874 (SYSCALL_GETTIME): Set errno on error.
10875
09f93bd3
AS
10876 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10877 count references to noai6ai_cached.
10878
312be3f9
UD
108792011-11-15 Ulrich Drepper <drepper@gmail.com>
10880
10881 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10882
10883 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10884 FD_CLOEXEC for /proc/self/maps.
10885
10886 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10887 FD_CLOEXEC for /proc/meminfo.
10888
10889 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10890 gai.conf.
10891
10892 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10893 FD_CLOEXEC for given file.
10894
10895 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10896
10897 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10898 FD_CLOEXEC for /etc/hosts.
10899 (_gethtent): Likewise.
10900
10901 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10902
10903 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10904 cancellation and set FD_CLOEXEC for /etc/netgroup.
10905
10906 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10907 reading /etc/publickey.
10908
10909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10910 allow cancellation when reading /etc/group.
10911
10912 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10913 cancellation.
10914 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10915
10916 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10917 when using data file.
10918
10919 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10920
10921 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10922 (write_nis_obj): Use "c" and "e" in fopen.
10923
10924 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10925
10926 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10927
10928 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10929
10930 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10931
10932 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10933 locale.alias.
10934
10935 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10936
10937 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10938
10939 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10940
10941 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10942 file parsing and set FD_CLOEXEC.
10943
82af0fa8
UD
109442011-11-14 Ulrich Drepper <drepper@gmail.com>
10945
10946 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10947
a5fb313c
AS
109482011-11-14 Andreas Schwab <schwab@redhat.com>
10949
10950 * malloc/arena.c (arena_get2): Don't call reused_arena when
10951 _int_new_arena failed.
10952
6abf3465
UD
109532011-11-14 Ulrich Drepper <drepper@gmail.com>
10954
10955 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10956 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10961 to compile strcasecmp and strncasecmp.
10962 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10963 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10964
10965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10966
76e3966e
UD
109672011-11-13 Ulrich Drepper <drepper@gmail.com>
10968
10969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10970 locale-defines.sym to gen-as-const-headers.
10971 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10972 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10974 to compile strcasecmp and strncasecmp.
10975 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10976 strcasecmp_l and strncasecmp_l.
10977 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10978 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10979 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10981 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10982 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10983 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10984 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10985 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10986 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10987 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10988
ab26144e
UD
109892011-11-12 Ulrich Drepper <drepper@gmail.com>
10990
7edb22ef
UD
10991 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10992 result of SYSDEP_GETTIME_CPU to retval.
10993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10994 parameter list to macro. Remove trailing semicolon. Adjust users.
10995
9694fc44
UD
10996 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10997 variable.
10998
8ad89ef8
UD
10999 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11000 mantissa words.
11001 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11002
0c822ef9
UD
11003 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11004 from unused variable.
11005
874e0564
UD
11006 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11007 DWARF definitions.
11008 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11009 for assembling.
11010
3a2edc79
UD
11011 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11012 over namespaces.
11013
f3c2577f
UD
11014 * sunrpc/rpc_prot.c (rejected): Fix case value.
11015
294ce126
UD
11016 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11017 unsigned long long int to avoid warnings in shift.
11018
5e2b63c6
UD
11019 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11020 of use of trans.
11021 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11022 variable tmp.
11023
e7f4b08e
UD
11024 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11025 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11026 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11027
ab26144e
UD
11028 * nis/nis_table.c (nis_list): Use variable of correct type for
11029 result of __follow_path call.
11030
8a6d5255
AZ
110312011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032
11033 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11034 of math functions ceil, trunc, floor, round, and sqrt, when
11035 avaliable on the platform.
11036 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11037 name clash.
11038 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11039 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11040 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11041
aaddc98c
MP
110422011-10-30 Marek Polacek <mpolacek@redhat.com>
11043
11044 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11045 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11046
95b7042b
RM
110472011-11-11 Roland McGrath <roland@hack.frob.com>
11048
11049 * include/unistd.h: Fix __readlink return type.
11050 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11051
57769839
UD
110522011-11-11 Ulrich Drepper <drepper@gmail.com>
11053
11054 * stdlib/ucontext.h: Undo last change for makecontext.
11055
edc5984d
AS
110562011-11-11 Andreas Schwab <schwab@redhat.com>
11057
98591e58
AS
11058 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11059
edc5984d
AS
11060 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11061 * setjmp/setjmp.h: Mark functions as non-leaf.
11062 * setjmp/bits/setjmp2.h: Likewise.
11063 * stdlib/ucontext.h: Likewise.
11064
77cdc054
AS
110652011-11-10 Andreas Schwab <schwab@redhat.com>
11066
11067 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11068 (reused_arena): Don't check arena limit.
11069 (arena_get2): Atomically check arena limit.
11070
fe72eebd
UD
110712011-11-08 Ulrich Drepper <drepper@gmail.com>
11072
5f078c32
UD
11073 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11074 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11075
fe72eebd
UD
11076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11077 instructions.
11078
ae1bc2fa
AS
110792011-11-07 Andreas Schwab <schwab@redhat.com>
11080
7583a88d
AS
11081 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11082 handler when locking.
11083
ae1bc2fa
AS
11084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11085 Fix size of allocated buffer.
11086
10fb0bfa
AS
110872011-11-04 Andreas Schwab <schwab@redhat.com>
11088
998832a4
AS
11089 [BZ #10103]
11090 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11091 declarations for long double functions.
11092 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11093
10fb0bfa
AS
11094 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11095
3d7ba52b
AS
110962011-11-03 Andreas Schwab <schwab@redhat.com>
11097
a9ae54a1
AS
11098 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11099 installed.
11100
3d7ba52b
AS
11101 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11102 is disabled.
11103
bc8db248
ST
111042011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11105
11106 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11107
45b96dd6
AS
111082011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11109
647776f6
AS
11110 * include/alloca.h (stackinfo_alloca_round): Define.
11111 (extend_alloca): Use it.
11112 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11113 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11114 here.
11115
d91a8b93
AS
11116 * scripts/check-local-headers.sh: Ignore libaudit.h.
11117
45b96dd6
AS
11118 * nscd/Makefile (extra-objs): Make recursively expanded.
11119
432d41ce
UD
111202011-11-01 Ulrich Drepper <drepper@gmail.com>
11121
34372fc6
UD
11122 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11124
fadb59f8
UD
11125 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11126 * posix/tst-rfc3484-2.c: Likewise.
11127 * posix/tst-rfc3484-3.c: Likewise.
11128
78239589
UD
11129 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11130 process_vm_writev.
11131 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11132 process_vm_writev.
11133 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11134 process_vm_writev from libc using GLIBC_2.15 version.
11135
432d41ce
UD
11136 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11137
02f9c6cf
PP
111382011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11139
11140 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11141 stack usage.
11142
3a2c0242
UD
111432011-10-31 Ulrich Drepper <drepper@gmail.com>
11144
f4ec4833
UD
11145 [BZ #13367]
11146 * nss/getent.c (initgroups_keys): Show error message in case no group
11147 names are given.
11148
3a2c0242
UD
11149 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11150 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11151 __bump_nl_timestamp.
11152 * nscd/connections (nscd_init): When host database is served open
11153 netlink socket and request notification about configuration changes.
11154 (main_loop_poll): Track netlink file descriptor and bump timestamp
11155 in case data becomes available.
11156 (main_loop_epoll): Likewise.
11157 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11158 (database_pers_head): Add extra_data fileds.
11159 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11160 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11161 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11162 Adjust caller.
11163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11164 in6ai data, call __free_in6ai.
11165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11166 Add -DHAVE_NETLINK.
11167 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11168 interface information. Reuse previous data if netlink timestamp
11169 is not changed.
11170 (__bump_nl_timestamp): New function.
11171 (__free_in6ai): New function.
11172
636064eb
UD
111732011-10-30 Ulrich Drepper <drepper@gmail.com>
11174
11175 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11176 close_not_cancel_no_status here.
11177 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11178
9beb2334
UD
111792011-10-29 Ulrich Drepper <drepper@gmail.com>
11180
6ef76f3b
UD
11181 [BZ #13276]
11182 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11183 return value.
11184
0ffc4f3e 11185 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11186 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11187 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11188
cb95113e
UD
111892011-07-03 Andreas Jaeger <aj@suse.de>
11190
11191 [BZ #10709]
11192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11193 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11194 * math/libm-test.inc (sin_test): Add test case.
11195
a1b560ff
UD
111962011-10-29 Ulrich Drepper <drepper@gmail.com>
11197
c9aaface
UD
11198 [BZ #13337]
11199 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11200 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11201
d272e7f1
UD
11202 * elf/chroot_canon.c (chroot_canon): Cleanups.
11203
1bc33071
UD
11204 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11205
1760874d
TJ
11206 [BZ #13335]
11207 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11209
51d91b18
UD
11210 * string/test-strchr.c: Make usable for strchrnul testing.
11211 * string/test-strchrnul.c: New file.
11212 * string/Makefile (strop-tests): Add strchrnul.
11213
a1b560ff 11214 * po/it.po: Update from translation team.
b611fb81 11215 * po/es.po: Likewise.
a1b560ff 11216
a5b81e1f
UD
112172011-10-28 Ulrich Drepper <drepper@gmail.com>
11218
fd52bc6d
UD
11219 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11220 the three constants needed as parameters. Drop the others.
11221 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11222 __m128i_strloadu_tolower.
52e4b9eb
UD
11223 Create and initialize variable zero and use it in all the places
11224 where _mm_setzero_si128 was used.
fd52bc6d 11225
a5b81e1f
UD
11226 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11227 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11228 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11229 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11230 anymore.
11231 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11232 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11233 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11234 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11235 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11236 __mpranred, __mptan.
11237 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11238 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11239 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11240 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11241 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11242 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11244 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11245 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11246
b4343346
AS
112472011-10-28 Andreas Schwab <schwab@redhat.com>
11248
0c92d8a8
AS
11249 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11250 redefine if SHARED.
11251 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11252
b4343346
AS
11253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11254 wide char related routines to wcsmbs subdir.
11255
3871f58f
AS
112562011-10-27 Andreas Schwab <schwab@redhat.com>
11257
11258 [BZ #13344]
11259 * misc/sys/cdefs.h (__THROWNL): Define.
11260 * posix/unistd.h: Use __THREADNL instead of __THREAD
11261 for memory synchronization functions.
11262
94d44d9f
RM
112632011-10-26 Roland McGrath <roland@hack.frob.com>
11264
21b64b15 11265 [BZ #13349]
94d44d9f
RM
11266 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11267 doesn't exist.
11268 * manual/stdio.texi (Obstack Streams): Node removed.
11269
f6ce9294
AS
112702011-10-26 Andreas Schwab <schwab@redhat.com>
11271
80479147
AS
11272 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11273 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11275
f6ce9294
AS
11276 * math/math_private.h (math_force_eval): Allow non-addressable
11277 arguments.
11278 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11279
618280a1
UD
112802011-10-25 Ulrich Drepper <drepper@gmail.com>
11281
e0016b11
UD
11282 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11283 file is not needed.
11284
11285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11286 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11292 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11293 Add AVX variants.
11294 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11295 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11296 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11297 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11298 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11299 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11300 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11301 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11302 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11303 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11304 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11305 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11307 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11308 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11309 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11310 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11311 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11312 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11313
11314 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11315 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11316
618280a1
UD
11317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11318 place. Use VEX encoding when compiling for AVX.
11319
37822576
AS
113202011-10-25 Andreas Schwab <schwab@redhat.com>
11321
1f1e1947
AS
11322 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11323 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11324
37822576
AS
11325 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11326
31ea014d
UD
113272011-10-25 Ulrich Drepper <drepper@gmail.com>
11328
d7826aa1 11329 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11330 useless if() expression.
d7826aa1
UD
11331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11341 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11342 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11344 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11345 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11347 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11350
31ea014d
UD
11351 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11352
16437fec
AS
113532011-10-25 Andreas Schwab <schwab@redhat.com>
11354
11355 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11356 condition.
11357 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11358
31d3cc00
UD
113592011-10-25 Ulrich Drepper <drepper@gmail.com>
11360
11361 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11362 .text section. Avoid duplicate constants.
11363 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11373 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11375 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11378 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11380 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11386 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11387 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11388 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11389 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11390 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11391 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11392 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11393 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11396 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11397 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11398 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11399 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11401 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11404 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11408
58985aa9
UD
114092011-10-24 Ulrich Drepper <drepper@gmail.com>
11410
202c9deb
UD
11411 * sysdeps/x86_64/dla.h: Move to ...
11412 * sysdeps/x86_64/fpu/dla.h: ...here.
11413 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11414 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11415
af968f62
UD
11416 * config.make.in: Add have-mfma4 entry.
11417 * configure.in: Substitute libc_cv_cc_fma4.
11418 * math/Makefile (dbl-only-routines): Add sincostab.
11419 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11420 Use __sincostab not sincos.
11421 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11422 name is a macro.
11423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11427 using __copysign.
11428 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11429 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11430 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11431 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11432 and __inv.
11433 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11434 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11435 __copysign.
11436 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11437 define aliases when function name is a macro.
11438 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11439 sysdeps/ieee754/dbl-64/sincos.tbl.
11440 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11441 fma4-enabled routines.
11442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11443 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11444 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11445 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11446 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11447 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11448 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11449 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11450 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11451 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11452 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11453 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11454 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11455 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11456 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11457 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11458 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11459 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11460 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11461 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11462 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11463 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11464 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11467 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11468 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11469 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11471 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11472
58985aa9
UD
11473 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11474 rename.
11475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11483
a201fbcf
AS
114842011-10-24 Andreas Schwab <schwab@redhat.com>
11485
11486 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11487
fc2ee42a
LD
114882011-10-23 Ulrich Drepper <drepper@gmail.com>
11489
bb3129bd
UD
11490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11491
0275fff8
UD
11492 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11493 prediction.
11494 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11495
2fa2ae85
UD
11496 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11497 Remove unused variable magic_bits.
11498 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11499
fc2ee42a
LD
11500 * string/strnlen.c: Define and use STRNLEN macro.
11501 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11502 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11504 * wcsmbs/wcslen.c: Define and use WCSLEN.
11505 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11506 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11507 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11508 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11509 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11510 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11511 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11512
ce7dd29f
LD
115132011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11514
11515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11516 strnlen-sse2-no-bsf.
11517 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11519 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11520 Add strnlen support.
11521 (USE_AS_STRNLEN): New macro.
11522 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11523 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11524 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11525 * sysdeps/x86_64/wcslen.S: New file.
11526
979c70a3
MZ
115272011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11528
11529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11530 XMM-moves are used for copying on small sizes.
11531
2d09f82f
LD
115322011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11533
11534 * wcsmbs/Makefile (strop-tests): Add wcschr.
11535 * wcsmbs/test-wcschr.c: New file.
11536 * string/test-strchr.c: Update.
11537 Add wcschr support.
11538 (WIDE): New macro.
11539
619fccca
LD
115402011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11541
2d09f82f 11542 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11543 * wcsmbs/test-wcslen.c: New file.
11544 * string/test-strlen.c: Update.
11545 Add wcslen support.
11546 (WIDE): New macro.
11547
09f699ea
UD
115482011-10-23 Ulrich Drepper <drepper@gmail.com>
11549
11550 * po/it.po: Update from translation team.
11551
95584d3b
LD
115522011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11553
11554 * sysdeps/x86_64/wcscmp.S: Update.
11555 Fix wrong comparison semantics.
11556 wcscmp shall use signed comparison not unsigned.
11557 Don't use substraction to avoid overflow bug.
11558 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11559 * wcsmbc/wcscmp.c: Likewise.
11560 * string/test-strcmp.c: Likewise.
11561 Add new tests to check cases with negative values.
11562
c8b3296b
UD
115632011-10-23 Ulrich Drepper <drepper@gmail.com>
11564
11565 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11566 * sysdeps/x86_64/dla.h: ...here. New file.
11567 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11576
246ad57a
AS
115772011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11578
11579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11580 __ynl_finite aliases.
11581
a1a87169
UD
115822011-10-22 Ulrich Drepper <drepper@gmail.com>
11583
0d355eb7
UD
11584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11585
a1a87169
UD
11586 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11587 define DLA_FMA.
11588 [DLA_FMA] (EMULV): Use DLA_FMA.
11589 [DLA_FMA] (MUL12): Use EMULV.
11590 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11591 that are not needed.
11592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11599
ee2aafe0
AS
116002011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11601
11602 * math/s_nan.c: Undef __nan.
11603 * math/s_nanf.c: Undef __nanf.
11604 * math/s_nanl.c: Undef __nanl.
11605 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11606 "math_private.h".
11607
bc62c2fb
UD
116082011-10-22 Ulrich Drepper <drepper@gmail.com>
11609
77425c63
UD
11610 * math/s_catan.c: Add branch predictions.
11611 * math/s_catanf.c: Likewise.
11612 * math/s_catanh.c: Likewise.
11613 * math/s_catanhf.c: Likewise.
11614 * math/s_catanhl.c: Likewise.
11615 * math/s_catanl.c: Likewise.
11616 * math/s_cexp.c: Likewise.
11617 * math/s_cexpf.c: Likewise.
11618 * math/s_cexpl.c: Likewise.
11619 * math/s_clog.c: Likewise.
11620 * math/s_clog10.c: Likewise.
11621 * math/s_clog10f.c: Likewise.
11622 * math/s_clog10l.c: Likewise.
11623 * math/s_clogf.c: Likewise.
11624 * math/s_clogl.c: Likewise.
11625 * math/s_csqrt.c: Likewise.
11626 * math/s_csqrtf.c: Likewise.
11627 * math/s_csqrtl.c: Likewise.
11628 * math/s_ctanf.c: Likewise.
11629 * math/s_ctanh.c: Likewise.
11630 * math/s_ctanhf.c: Likewise.
11631 * math/s_ctanhl.c: Likewise.
11632 * math/s_ctanl.c: Likewise.
11633
bc62c2fb
UD
11634 * math/math_private.h: Define __nan, __nanf, __nanl.
11635 * math/s_cacosh.c: Include <math_private.h>.
11636 * math/s_cacoshl.c: Likewise.
11637 * math/s_casinh.c: Likewise.
11638 * math/s_casinhf.c: Likewise.
11639 * math/s_casinhl.c: Likewise.
11640 * math/s_ccos.c: Rely entire on ccosh.
11641 * math/s_ccosf.c: Rely entire on ccoshf.
11642 * math/s_ccosl.c: Rely entirely on ccoshl.
11643 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11644 Remove tests for FE_INVALID.
11645 * math/s_ccoshf.c: Likewise.
11646 * math/s_ccoshl.c: Likewise.
11647 * math/s_csin.c: Likewise.
11648 * math/s_csinf.c: Likewise.
11649 * math/s_csinh.c Likewise.
11650 * math/s_csinhf.c: Likewise.
11651 * math/s_csinhl.c: Likewise.
11652 * math/s_csinl.c: Likewise.
11653 * math/s_ctan.c: Likewise.
11654 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11655 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11657
8ec250a4
UD
116582011-10-21 Ulrich Drepper <drepper@gmail.com>
11659
c196fed8
UD
11660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11661 compilation problems.
11662
8ec250a4
UD
11663 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11664 __builtin_expect.
11665
8d4f46c6
UD
116662011-10-20 Ulrich Drepper <drepper@gmail.com>
11667
ed72b654
UD
11668 * sysdeps/i386/configure.in: Test for -mfma4 option.
11669 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11670 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11671 COMMON_CPUID_INDEX_80000001.
11672 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11673 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11674 use it if FMA3 is not supported.
11675 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11676
8d4f46c6
UD
11677 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11679
d45c60c2
AS
116802011-10-20 Andreas Schwab <schwab@redhat.com>
11681
11682 [BZ #12892]
11683 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11684 it would create a cycle with a link time dependency.
11685
d9a4d2ab
UD
116862011-10-19 Ulrich Drepper <drepper@gmail.com>
11687
855d1560
UD
11688 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11689 instruction.
11690 * string/Makefile (strop-tests): Add rawmemchr.
11691 * string/test-rawmemchr.c: New file.
11692
d9a4d2ab
UD
11693 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11695 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11696 when compiling str{,n}casecmp and when AVX is available. Hook up
11697 new optimized code in initializers.
11698
8f3b1ffe
AS
116992011-10-19 Andreas Schwab <schwab@redhat.com>
11700
11701 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11702 __feraiseexcept instead of feraiseexcept.
11703
d38f1dba
UD
117042011-10-18 Ulrich Drepper <drepper@gmail.com>
11705
d9a8d0ab
UD
11706 * math/math_private.h: Define defaults for libc_fetestexcept and
11707 libc_feupdateenv.
11708 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11709 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11710 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11711 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11712 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11713 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11714 libc_fetestexcept and libc_feupdateenv.
11715
4855e3dd
UD
11716 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11717 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11718 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11719 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11720 libc_feholdexcept_setround.
11721
581d30e3
UD
11722 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11723 Add s_nearbyint-c and s_nearbyintf-c.
11724 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11725 nearbyintf inlines.
11726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11727 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11728 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11729 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11730
d38f1dba
UD
11731 * math/math_private.h: Define defaults for libc_fegetround,
11732 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11733 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11734 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11736 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11737 standard functions.
11738 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11739 Remove comments and hacks for old compiler versions.
11740 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11741 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11742 libc_feholdexceptl.
11743
caa6c9d8
AS
117442011-10-18 Andreas Schwab <schwab@redhat.com>
11745
11746 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11747 (__feraiseexcept_renamed): Add __NTH.
11748 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11749 namespace violations.
11750
97c066e6
UD
117512011-10-17 Ulrich Drepper <drepper@gmail.com>
11752
99ce7b04
UD
11753 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11754
1004d182
UD
11755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11756
228a984d
UD
11757 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11758 recently added interfaces.
11759 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11760
c8553a6a
UD
11761 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11762 about macro parameter expansion.
11763
ed22dcf6
UD
11764 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11765 __NO_MATH_INLINES is defined. Cleanups.
11766
11767 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11768 and __floorf is target has SSE4.1.
11769 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11770 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11771 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11772 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11773
b171c137
UD
11774 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11775 name.
11776 (floorf): Likewise.
11777
97c066e6
UD
11778 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11779
629f62ef
AS
117802011-10-17 Andreas Schwab <schwab@redhat.com>
11781
49a43d80
AS
11782 * misc/sys/cdefs.h: Fix last change.
11783
629f62ef
AS
11784 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11785 database lookup.
11786
e453f6cd
UD
117872011-10-16 Ulrich Drepper <drepper@gmail.com>
11788
aa78043a
UD
11789 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11790
ad0f5cad
UD
11791 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11792 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11797 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11798 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11799 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11800 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11801 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11802 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11803 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11804 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11806 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11807 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11808 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11809 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11810 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11811 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11812 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11813
11814 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11815 ceil, ceilf, floor, floorf.
11816
11817 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11818 Perform IRELATIVE relocations last.
11819
e453f6cd
UD
11820 * elf/do-rel.h: Add another parameter nrelative, replacing the
11821 local variable with the same name. Change name of the function
11822 to end in Rel or Rela (uppercase).
11823 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11824 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11825 elf_dynamic_do_##reloc function.
11826
fd5bdc09
UD
118272011-10-15 Ulrich Drepper <drepper@gmail.com>
11828
79b195b5
UD
11829 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11830 is sufficient, at least on modern CPUs.
11831
d4a28569
UD
11832 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11833
b61099b5
UD
11834 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11836
bcf01e6d
UD
11837 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11838 __expl_finite.
11839 * math/bits/math-finite.h: Add entries for exp.
11840 * math/e_expl.c: Add __*_finite alias.
11841 * sysdeps/i386/fpu/e_exp.S: Likewise.
11842 * sysdeps/i386/fpu/e_expf.S: Likewise.
11843 * sysdeps/i386/fpu/e_expl.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11845 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11849 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11850 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11851
ba1a0d59
UD
11852 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11853 is sufficient, at least on modern CPUs.
11854
fd5bdc09
UD
11855 * ctype/ctype-info.c (__ctype_init): Define.
11856 * include/ctype.h (__ctype_init): Declare.
11857 (__ctype_b_loc): The variable is always initialized.
11858 (__ctype_toupper_loc): Likewise.
11859 (__ctype_tolower_loc): Likewise.
11860 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11861 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11862
7872cfb0
AS
118632011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11864
b468825a
AS
11865 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11866
7872cfb0
AS
11867 * configure.in: Also look in $cxxmachine/include for C++ system
11868 headers.
11869
be13f7bf
LD
118702011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11871
11872 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11873 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11874 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11875 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11876 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11877 (USE_AS_WMEMCMP): New macro.
11878 Fixing indents.
11879 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11880 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11881 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11882 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11884 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11885 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11886 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11887 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11888 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11889 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11890 (USE_AS_WMEMCMP): New macro.
11891 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11892 * sysdeps/string/test-memcmp.c: Update.
11893 Fix simple_wmemcmp.
11894 Add new tests.
11895 * wcsmbs/wmemcmp.c: Update.
11896 (WMEMCMP): New macro.
11897 Fix overflow bug.
11898
556a2007
AJ
118992011-10-12 Andreas Jaeger <aj@suse.de>
11900
11901 [BZ #13268]
11902 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11903
538faaa7
UD
119042011-10-15 Ulrich Drepper <drepper@gmail.com>
11905
ab6737ff
UD
11906 * libio/iofwide.c (do_length): Avoid warning.
11907
538faaa7
UD
11908 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11909
396a21b1
UD
119102011-10-14 Ulrich Drepper <drepper@gmail.com>
11911
cdf2901f
UD
11912 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11913
38ad40ce
UD
11914 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11915 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11916 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11917 * sysdeps/i386/i686/fpu/e_log.S: New file.
11918 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11919 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11920
396a21b1
UD
11921 * ctype/ctype.h: Add support for inlined isXXX functions when
11922 compiling C++ code.
11923
6b1f68c9
AS
119242011-10-14 Andreas Schwab <schwab@redhat.com>
11925
349290c0
AS
11926 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11927
6b1f68c9
AS
11928 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11929
f2282d42
RM
119302011-10-13 Roland McGrath <roland@hack.frob.com>
11931
11932 [BZ #13291]
11933 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11934
5298ffa8
AS
119352011-10-13 Andreas Schwab <schwab@redhat.com>
11936
714fad23
AS
11937 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11938 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11939 feraiseexcept.
11940
81dcc7fb
AS
11941 * sysdeps/x86_64/memrchr.S: Check for zero size.
11942
5298ffa8
AS
11943 * string/stratcliff.c: Add memrchr tests.
11944
951fbcec
LD
119452011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11946
11947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11948 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11949 rawmemchr-sse2 rawmemchr-sse2-bsf.
11950 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11951 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11952 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11953 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11954 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11955 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11956 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11957 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11958 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11959 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11960 * string/memrchr.c (MEMRCHR): New macro.
11961
0ac5ae23
UD
119622011-10-12 Ulrich Drepper <drepper@gmail.com>
11963
11964 Add integration with gcc's -ffinite-math-only and optimize wrapper
11965 functions in libm.
11966 * Versions.def: Define GLIBC_2.15 version for libm.
11967 * math/Makefile (headers): Add bits/math-finite.h.
11968 * math/bits/math-finite.h: New file.
11969 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11970 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11971 * math/e_acoshl.c: Add __*_finite alias.
11972 * math/e_acosl.c: Likewise.
11973 * math/e_asinl.c: Likewise.
11974 * math/e_atan2l.c: Likewise.
11975 * math/e_atanhl.c: Likewise.
11976 * math/e_coshl.c: Likewise.
11977 * math/e_exp10.c: Likewise.
11978 * math/e_exp10f.c: Likewise.
11979 * math/e_exp10l.c: Likewise.
11980 * math/e_exp2l.c: Likewise.
11981 * math/e_fmodl.c: Likewise.
11982 * math/e_gammal_r.c: Likewise.
11983 * math/e_hypotl.c: Likewise.
11984 * math/e_j0l.c: Likewise.
11985 * math/e_j1l.c: Likewise.
11986 * math/e_jnl.c: Likewise.
11987 * math/e_lgammal_r.c: Likewise.
11988 * math/e_log10l.c: Likewise.
11989 * math/e_log2l.c: Likewise.
11990 * math/e_logl.c: Likewise.
11991 * math/e_powl.c: Likewise.
11992 * math/e_sinhl.c: Likewise.
11993 * math/e_sqrtl.c: Likewise.
11994 * math/e_scalb.c: Completely rewritten and optimized.
11995 * math/e_scalbf.c: Likewise.
11996 * math/e_scalbl.c: Likewise.
11997 * math/w_acos.c: Likewise.
11998 * math/w_acosf.c: Likewise.
11999 * math/w_acosl.c: Likewise.
12000 * math/w_acosh.c: Likewise.
12001 * math/w_acoshf.c: Likewise.
12002 * math/w_acoshl.c: Likewise.
12003 * math/w_asin.c: Likewise.
12004 * math/w_asinf.c: Likewise.
12005 * math/w_asinl.c: Likewise.
12006 * math/w_atan2.c: Likewise.
12007 * math/w_atan2f.c: Likewise.
12008 * math/w_atan2l.c: Likewise.
12009 * math/w_atanh.c: Likewise.
12010 * math/w_atanhf.c: Likewise.
12011 * math/w_atanhl.c: Likewise.
12012 * math/w_exp10.c: Likewise.
12013 * math/w_exp10f.c: Likewise.
12014 * math/w_exp10l.c: Likewise.
12015 * math/w_fmod.c: Likewise.
12016 * math/w_fmodf.c: Likewise.
12017 * math/w_fmodl.c: Likewise.
12018 * math/w_j0.c: Likewise.
12019 * math/w_j0f.c: Likewise.
12020 * math/w_j0l.c: Likewise.
12021 * math/w_j1.c: Likewise.
12022 * math/w_j1f.c: Likewise.
12023 * math/w_j1l.c: Likewise.
12024 * math/w_jn.c: Likewise.
12025 * math/w_jnf.c: Likewise.
12026 * math/w_log.c: Likewise.
12027 * math/w_logf.c: Likewise.
12028 * math/w_logl.c: Likewise.
12029 * math/w_log10.c: Likewise.
12030 * math/w_log10f.c: Likewise.
12031 * math/w_log10l.c: Likewise.
12032 * math/w_log2.c: Likewise.
12033 * math/w_log2f.c: Likewise.
12034 * math/w_log2l.c: Likewise.
12035 * math/w_pow.c: Likewise.
12036 * math/w_powf.c: Likewise.
12037 * math/w_powl.c: Likewise.
12038 * math/w_remainder.c: Likewise.
12039 * math/w_remainderf.c: Likewise.
12040 * math/w_remainderl.c: Likewise.
12041 * math/w_scalb.c: Likewise.
12042 * math/w_scalbf.c: Likewise.
12043 * math/w_scalbl.c: Likewise.
12044 * math/w_sqrt.c: Likewise.
12045 * math/w_sqrtf.c: Likewise.
12046 * math/w_sqrtl.c: Likewise.
12047 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12048 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12049 used.
12050 * math/math_private.h: Declare __kernel_standard_f.
12051 * math/w_cosh.c: Remove cruft and optimize a bit.
12052 * math/w_coshf.c: Likewise.
12053 * math/w_coshl.c: Likewise.
12054 * math/w_exp2.c: Likewise.
12055 * math/w_exp2f.c: Likewise.
12056 * math/w_exp2l.c: Likewise.
12057 * math/w_hypot.c: Likewise.
12058 * math/w_hypotf.c: Likewise.
12059 * math/w_hypotl.c: Likewise.
12060 * math/w_lgamma.c: Likewise.
12061 * math/w_lgamma_r.c: Likewise.
12062 * math/w_lgammaf.c: Likewise.
12063 * math/w_lgammaf_r.c: Likewise.
12064 * math/w_lgammal.c: Likewise.
12065 * math/w_lgammal_r.c: Likewise.
12066 * math/w_sinh.c: Likewise.
12067 * math/w_sinhf.c: Likewise.
12068 * math/w_sinhl.c: Likewise.
12069 * math/w_tgamma.c: Likewise.
12070 * math/w_tgammaf.c: Likewise.
12071 * math/w_tgammal.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12073 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12074 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12075 Minor optimizations. Pretty printing. Remove cruft.
12076 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12077 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12078 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12079 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12080 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12081 * sysdeps/i386/fpu/e_asin.S: Likewise.
12082 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12083 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12084 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12085 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12086 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12087 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12088 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12089 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12090 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12091 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12092 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12093 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12094 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12095 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12096 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12097 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12098 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12099 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12100 * sysdeps/i386/fpu/e_log.S: Likewise.
12101 * sysdeps/i386/fpu/e_log10.S: Likewise.
12102 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12103 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12104 * sysdeps/i386/fpu/e_log2.S: Likewise.
12105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12106 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12107 * sysdeps/i386/fpu/e_logf.S: Likewise.
12108 * sysdeps/i386/fpu/e_logl.S: Likewise.
12109 * sysdeps/i386/fpu/e_pow.S: Likewise.
12110 * sysdeps/i386/fpu/e_powf.S: Likewise.
12111 * sysdeps/i386/fpu/e_powl.S: Likewise.
12112 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12113 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12114 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12115 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12116 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12117 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12118 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12119 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12120 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12131 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12132 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12142 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12145 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12146 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12148 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12149 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12150 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12152 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12153 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12154 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12155 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12156 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12157 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12158 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12159 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12160 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12201 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12204 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12206 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12207 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12212 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12213 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12214 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12215 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12216 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12217 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12218 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12219 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12220 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12221 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12222 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12223 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12224 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12225 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12226 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12227 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12229 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12230 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12231 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12232 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12233 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12234 (__isnanf): Likewise.
12235 (__isinf_ns): Likewise.
12236 (__isinf_nsf): Likewise.
12237 (__finite): Likewise.
12238 (__finitef): Likewise.
12239 (__ieee754_sqrt): Define as macro.
12240 (__ieee754_sqrtf): Define as macro.
12241 (__ieee754_sqrtl): Define as macro.
12242 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12243 inlined copy.
12244 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12245 __FINITE_MATH_ONLY__ consistent.
12246 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12247
12cc2fcd
AS
122482011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12249
a843a204
AS
12250 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12251 of rawmemchr.
12252
12cc2fcd
AS
12253 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12254
c853acd5
UD
122552011-10-09 Ulrich Drepper <drepper@gmail.com>
12256
12257 * po/ja.po: Update from translation team.
12258
c658d255
RM
122592011-10-08 Roland McGrath <roland@hack.frob.com>
12260
110946e4
RM
12261 * locale/programs/locarchive.c (prepare_address_space): New function.
12262 (create_archive, enlarge_archive, open_archive): Use it.
12263
50604220
RM
12264 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12265 inside [SHARED], where it is used.
12266
c658d255
RM
12267 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12268
12269 * nss/getent.c (netgroup_keys): Remove unused variable.
12270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12271
6a621eb7
UD
122722011-10-08 Ulrich Drepper <drepper@gmail.com>
12273
7edb55ce
UD
12274 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12275 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12278 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12279 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12280 * math/Makefile (libm-calls): Add s_isinf_ns.
12281 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12282 * math/multc3.c: Likewise.
12283 * math/s_casin.c: Likewise.
12284 * math/s_casinf.c: Likewise.
12285 * math/s_casinl.c: Likewise.
12286 * math/s_ccos.c: Likewise.
12287 * math/s_ccosf.c: Likewise.
12288 * math/s_ccosl.c: Likewise.
12289 * math/s_ctan.c: Likewise.
12290 * math/s_ctanf.c: Likewise.
12291 * math/s_ctanh.c: Likewise.
12292 * math/s_ctanhf.c: Likewise.
12293 * math/s_ctanhl.c: Likewise.
12294 * math/s_ctanl.c: Likewise.
12295 * math/w_fmod.c: Likewise.
12296 * math/w_fmodf.c: Likewise.
12297 * math/w_fmodl.c: Likewise.
12298 * math/w_remainder.c: Likewise.
12299 * math/w_remainderf.c: Likewise.
12300 * math/w_remainderl.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12302 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12305 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12306 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12307 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12308 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12309
187da0ae
UD
12310 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12311 of the number.
12312 * stdio-common/printf_fphex.c: Likewise.
12313 * stdio-common/printf_size.c: Likewise.
12314
9277c064
UD
12315 * math/e_exp10.c: Include math_private.h using <...> not "...".
12316 * math/e_exp10f.c: Likewise.
12317 * math/e_exp10l.c: Likewise.
12318 * math/e_exp2l.c: Likewise.
12319 * math/e_j0l.c: Likewise.
12320 * math/e_j1l.c: Likewise.
12321 * math/e_jnl.c: Likewise.
12322 * math/e_lgammal_r.c: Likewise.
12323 * math/e_rem_pio2l.c: Likewise.
12324 * math/e_scalb.c: Likewise.
12325 * math/e_scalbf.c: Likewise.
12326 * math/e_scalbl.c: Likewise.
12327 * math/k_cosl.c: Likewise.
12328 * math/k_sinl.c: Likewise.
12329 * math/k_tanl.c: Likewise.
12330 * math/s_cacoshf.c: Likewise.
12331 * math/s_catan.c: Likewise.
12332 * math/s_catanf.c: Likewise.
12333 * math/s_catanh.c: Likewise.
12334 * math/s_catanhf.c: Likewise.
12335 * math/s_catanhl.c: Likewise.
12336 * math/s_catanl.c: Likewise.
12337 * math/s_ccosh.c: Likewise.
12338 * math/s_ccoshf.c: Likewise.
12339 * math/s_ccoshl.c: Likewise.
12340 * math/s_cexp.c: Likewise.
12341 * math/s_cexpf.c: Likewise.
12342 * math/s_cexpl.c: Likewise.
12343 * math/s_clog.c: Likewise.
12344 * math/s_clog10.c: Likewise.
12345 * math/s_clog10f.c: Likewise.
12346 * math/s_clog10l.c: Likewise.
12347 * math/s_clogf.c: Likewise.
12348 * math/s_clogl.c: Likewise.
12349 * math/s_csin.c: Likewise.
12350 * math/s_csinf.c: Likewise.
12351 * math/s_csinh.c: Likewise.
12352 * math/s_csinhf.c: Likewise.
12353 * math/s_csinhl.c: Likewise.
12354 * math/s_csinl.c: Likewise.
12355 * math/s_csqrt.c: Likewise.
12356 * math/s_csqrtf.c: Likewise.
12357 * math/s_csqrtl.c: Likewise.
12358 * math/s_ctan.c: Likewise.
12359 * math/s_ctanf.c: Likewise.
12360 * math/s_ctanh.c: Likewise.
12361 * math/s_ctanhf.c: Likewise.
12362 * math/s_ctanhl.c: Likewise.
12363 * math/s_ctanl.c: Likewise.
12364 * math/s_ldexp.c: Likewise.
12365 * math/s_ldexpf.c: Likewise.
12366 * math/s_ldexpl.c: Likewise.
12367 * math/s_significand.c: Likewise.
12368 * math/s_significandf.c: Likewise.
12369 * math/s_significandl.c: Likewise.
12370 * math/w_acos.c: Likewise.
12371 * math/w_acosf.c: Likewise.
12372 * math/w_acosh.c: Likewise.
12373 * math/w_acoshf.c: Likewise.
12374 * math/w_acoshl.c: Likewise.
12375 * math/w_acosl.c: Likewise.
12376 * math/w_asin.c: Likewise.
12377 * math/w_asinf.c: Likewise.
12378 * math/w_asinl.c: Likewise.
12379 * math/w_atan2.c: Likewise.
12380 * math/w_atan2f.c: Likewise.
12381 * math/w_atan2l.c: Likewise.
12382 * math/w_atanh.c: Likewise.
12383 * math/w_atanhf.c: Likewise.
12384 * math/w_atanhl.c: Likewise.
12385 * math/w_cosh.c: Likewise.
12386 * math/w_coshf.c: Likewise.
12387 * math/w_coshl.c: Likewise.
12388 * math/w_dremf.c: Likewise.
12389 * math/w_exp10.c: Likewise.
12390 * math/w_exp10f.c: Likewise.
12391 * math/w_exp10l.c: Likewise.
12392 * math/w_exp2.c: Likewise.
12393 * math/w_exp2f.c: Likewise.
12394 * math/w_fmod.c: Likewise.
12395 * math/w_fmodf.c: Likewise.
12396 * math/w_fmodl.c: Likewise.
12397 * math/w_hypot.c: Likewise.
12398 * math/w_hypotf.c: Likewise.
12399 * math/w_hypotl.c: Likewise.
12400 * math/w_j0.c: Likewise.
12401 * math/w_j0f.c: Likewise.
12402 * math/w_j0l.c: Likewise.
12403 * math/w_j1.c: Likewise.
12404 * math/w_j1f.c: Likewise.
12405 * math/w_j1l.c: Likewise.
12406 * math/w_jn.c: Likewise.
12407 * math/w_jnf.c: Likewise.
12408 * math/w_jnl.c: Likewise.
12409 * math/w_lgamma.c: Likewise.
12410 * math/w_lgamma_r.c: Likewise.
12411 * math/w_lgammaf.c: Likewise.
12412 * math/w_lgammaf_r.c: Likewise.
12413 * math/w_lgammal.c: Likewise.
12414 * math/w_lgammal_r.c: Likewise.
12415 * math/w_log.c: Likewise.
12416 * math/w_log10.c: Likewise.
12417 * math/w_log10f.c: Likewise.
12418 * math/w_log10l.c: Likewise.
12419 * math/w_log2.c: Likewise.
12420 * math/w_log2f.c: Likewise.
12421 * math/w_log2l.c: Likewise.
12422 * math/w_logf.c: Likewise.
12423 * math/w_logl.c: Likewise.
12424 * math/w_pow.c: Likewise.
12425 * math/w_powf.c: Likewise.
12426 * math/w_powl.c: Likewise.
12427 * math/w_remainder.c: Likewise.
12428 * math/w_remainderf.c: Likewise.
12429 * math/w_remainderl.c: Likewise.
12430 * math/w_scalb.c: Likewise.
12431 * math/w_scalbf.c: Likewise.
12432 * math/w_scalbl.c: Likewise.
12433 * math/w_sinh.c: Likewise.
12434 * math/w_sinhf.c: Likewise.
12435 * math/w_sinhl.c: Likewise.
12436 * math/w_sqrt.c: Likewise.
12437 * math/w_sqrtf.c: Likewise.
12438 * math/w_sqrtl.c: Likewise.
12439 * math/w_tgamma.c: Likewise.
12440 * math/w_tgammaf.c: Likewise.
12441 * math/w_tgammal.c: Likewise.
12442
6a621eb7
UD
12443 * po/ja.po: Update from translation team.
12444
bf582445
AJ
124452011-09-29 Andreas Jaeger <aj@suse.de>
12446
f9efbf3a
AJ
12447 [BZ #13179]
12448 * sunrpc/netname.c (netname2host): Fix logic.
12449
bf582445
AJ
12450 [BZ #6779]
12451 [BZ #6783]
12452 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12453 correctly.
12454 * math/w_remainder.c (__remainder): Likewise.
12455 * math/w_remainderf.c (__remainderf): Likewise.
12456 * math/libm-test.inc (remainder_test): Add test cases.
12457
48693bea
AK
124582011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12459
12460 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12461 sdiv_qrnnd.
12462
42622229
LD
124632011-10-07 Ulrich Drepper <drepper@gmail.com>
12464
12465 * string/test-memcmp.c: Avoid unncessary #defines.
12466 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12467
093ecf92
LD
124682011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12469
12470 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12471 Use new sse2 version for core i3 - i7 as it's faster
12472 than sse42 version.
12473 (bit_Prefer_PMINUB_for_stringop): New.
12474 * sysdeps/x86_64/rawmemchr.S: Update.
12475 Replace with faster SSE2 version.
12476 * sysdeps/x86_64/memrchr.S: New file.
12477 * sysdeps/x86_64/memchr.S: Update.
12478 Replace with faster SSE2 version.
12479
fde56e5c
MP
124802011-09-12 Marek Polacek <mpolacek@redhat.com>
12481
12482 * elf/dl-load.c (lose): Add cast to avoid warning.
12483
21fd49a9
UD
124842011-10-07 Ulrich Drepper <drepper@gmail.com>
12485
5a06e643
UD
12486 * po/ca.po: Update from translation team.
12487
684ae515
UD
12488 * inet/getnetgrent_r.c: Hook up nscd.
12489 * nscd/Makefile (routines): Add nscd_netgroup.
12490 (nscd-modules): Add netgroupcache.
12491 (CFLAGS-netgroupcache.c): Define.
12492 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12493 (cache_search): Add const to second parameter.
12494 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12495 INNETGR.
12496 (dbs): Add netgrdb entry.
12497 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12498 (verify_persistent_db): Handle netgrdb.
12499 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12500 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12501 GETFDNETGR.
12502 (netgroup_response_header): Define.
12503 (innetgroup_response_header): Define.
12504 (datahead): Add netgroup_response_header and innetgroup_response_header
12505 elements.
12506 * nscd/nscd.conf: Add entries for netgroup cache.
12507 * nscd/nscd.h (dbtype): Add netgrdb.
12508 (_PATH_NSCD_NETGROUP_DB): Define.
12509 (netgroup_iov_disabled): Declare.
12510 (xmalloc, xcalloc, xrealloc): Move declarations here.
12511 (cache_search): Adjust prototype.
12512 Add netgroup-related prototypes.
12513 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12514 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12515 (__nscd_innetgr): Declare.
12516 * nscd/selinux.c (perms): Use access_vector_t as element type and
12517 add netgroup-related initializers.
12518 * nscd/netgroupcache.c: New file.
12519 * nscd/nscd_netgroup.c: New file.
12520 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12521 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12522 For four parameters use innetgr.
12523 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12524 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12525 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12526 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12527
21fd49a9
UD
12528 * nscd/connections.c (register_traced_file): Don't register file
12529 for disabled databases.
12530
054c0457
UD
125312011-10-06 Ulrich Drepper <drepper@gmail.com>
12532
32b63198
UD
12533 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12534
054c0457
UD
12535 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12536 from tree and freeing node.
12537
64031225
JO
125382011-09-25 Jiri Olsa <jolsa@redhat.com>
12539
12540 * nss/nsswitch.c (__nss_database_lookup): Handle
12541 nss_parse_service_list out of memory case.
12542
0490345c
JO
125432011-09-15 Jiri Olsa <jolsa@redhat.com>
12544
12545 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12546 out of memory case.
12547
3a62d00d
AS
125482011-10-04 Andreas Schwab <schwab@redhat.com>
12549
12550 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12551 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12552 pass it down.
12553 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12554 elf_machine_rela, elf_machine_lazy_rel.
12555 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12556 (ELF_DYNAMIC_DO_REL): Likewise.
12557 (ELF_DYNAMIC_DO_RELA): Likewise.
12558 (ELF_DYNAMIC_RELOCATE): Likewise.
12559 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12560 to ELF_DYNAMIC_DO_REL.
12561 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12562 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12563 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12564 elf_machine_rela.
12565 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12566 skip_ifunc, don't call ifunc function if non-zero.
12567 (elf_machine_rela): Likewise.
12568 (elf_machine_lazy_rel): Likewise.
12569 (elf_machine_lazy_rela): Likewise.
12570 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12571 (elf_machine_lazy_rel): Likewise.
12572 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12573 Likewise.
12574 (elf_machine_lazy_rel): Likewise.
12575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12576 Likewise.
12577 (elf_machine_lazy_rel): Likewise.
12578 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12579 (elf_machine_lazy_rel): Likewise.
12580 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12581 (elf_machine_lazy_rel): Likewise.
12582 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12583 (elf_machine_lazy_rel): Likewise.
12584 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12585 (elf_machine_lazy_rel): Likewise.
12586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12587 (elf_machine_lazy_rel): Likewise.
12588 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12589 (elf_machine_lazy_rel): Likewise.
12590
68577918
UD
125912011-09-28 Ulrich Drepper <drepper@gmail.com>
12592
12593 * nss/nss_files/files-init.c (_nss_files_init): Use static
12594 initialization for all the *_traced_file variables.
12595
68822d74
AS
125962011-09-28 Andreas Schwab <schwab@redhat.com>
12597
12598 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12599
2056100b
RM
126002011-09-27 Roland McGrath <roland@hack.frob.com>
12601
12602 [BZ #13226]
12603 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12604
32c76b63
AS
126052011-09-27 Andreas Schwab <schwab@redhat.com>
12606
12607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12608 Reread the line before reparsing it.
12609
bf972c9d
AS
126102011-09-26 Andreas Schwab <schwab@redhat.com>
12611
12612 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12613
e057a1b5
JM
126142011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12615 Maxim Kuvyrkov <maxim@codesourcery.com>
12616 Joseph Myers <joseph@codesourcery.com>
12617
12618 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12619 if needed for __stack_chk_guard.
12620
bc7e1c36
RM
126212011-09-19 Roland McGrath <roland@hack.frob.com>
12622
ecb1482f
RM
12623 * sysdeps/posix/spawni.c (script_execute): Always define it.
12624 It will be optimized away if unused.
12625 (maybe_script_execute): New function.
12626 (__spawni): Call it.
12627
bc7e1c36
RM
12628 * Makerules: Don't include tls.make.
12629 (config-tls): Always set to thread.
12630 * tls.make.c: File removed.
12631
1c3b002b
MF
126322011-09-19 Mike Frysinger <vapier@gentoo.org>
12633
12634 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12635 * config.make.in (CPPFLAGS-config): New substituted variable.
12636
2840865d
UD
126372011-09-15 Ulrich Drepper <drepper@gmail.com>
12638
88738eb6
UD
12639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12640
cbf645a6 12641 [BZ #13192]
2840865d
UD
12642 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12643 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12644
b402e91a
RM
126452011-09-15 Roland McGrath <roland@hack.frob.com>
12646
12647 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12648 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12650 (CALL_FAIL): Likewise.
12651 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12652 (CALL_FAIL): Macro removed.
12653 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12654
4c1a1f71
UD
126552011-09-15 Ulrich Drepper <drepper@gmail.com>
12656
12657 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12658 for __FINITE_MATH_ONLY__ == 1.
12659
edc121be
AS
126602011-09-15 Andreas Schwab <schwab@redhat.com>
12661
12662 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12663 __ieee754_sqrt instead of sqrt.
12664 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12665 __ieee754_sqrtf instead of sqrtf.
12666 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12667 __floorf instead of floorf.
12668 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12669 __floorf, __truncf instead of floorf, truncf.
12670
cd205654
UD
126712011-09-14 Ulrich Drepper <drepper@gmail.com>
12672
ee4d0315
UD
12673 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12674
cd205654
UD
12675 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12676 __extern_always_inline.
12677 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12678 32-bit.
12679
48b67d71
AS
126802011-09-14 Andreas Schwab <schwab@redhat.com>
12681
12682 * elf/rtld.c (dl_main): Also relocate in dependency order when
12683 doing symbol dependency testing.
12684
1ae12c75
AS
126852011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12686
12687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12688 Always define `refsym'.
12689
995a80df
AS
126902011-09-13 Andreas Schwab <schwab@redhat.com>
12691
e529793b
AS
12692 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12693 (__FD_ELT): Renamed from __FDELT.
12694 * misc/bits/select2.h (__FD_ELT): Likewise.
12695 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12696 __FD_MASK instead of __FDELT, __FDMASK.
12697 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12698 Likewise.
12699 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12700 Likewise.
12701
52d4fef8
AS
12702 * elf/Makefile (gen-ldd): Fix pattern.
12703
995a80df
AS
12704 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12705 (init_tls): Likewise.
12706
8682f8b0
UD
127072011-09-12 Ulrich Drepper <drepper@gmail.com>
12708
12709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12710
de82006d
AS
127112011-09-12 Andreas Schwab <schwab@redhat.com>
12712
a7c8e6a1
AS
12713 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12714 `struct cmsghdr *' instead of `void *'.
12715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12716 Likewise.
12717
0f31fe77
AS
127182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12719
12720 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12721 if non-absolute.
12722 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12723 ldd_rewrite_script.
0f31fe77 12724
32b4c839
UD
127252011-09-11 Ulrich Drepper <drepper@gmail.com>
12726
83cd1420
UD
12727 * configure.in: Remove --with-tls option.
12728 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12729 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12730 out in case it is missing.
12731 * sysdeps/ia64/elf/configure.in: Likewise.
12732 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12733 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12734 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12735 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12736 * sysdeps/sh/elf/configure.in: Likewise.
12737 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12738 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12739 * sysdeps/x86_64/elf/configure.in: Likewise.
12740 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12741 * sysdeps/mach/hurd/tls.h: Likewise.
12742
633f745d
UD
12743 [BZ #13067]
12744 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12745
f318beb8
UD
12746 [BZ #13090]
12747 * configure.in: Fix use of AC_INIT.
12748
32b4c839
UD
12749 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12750
3ce1f295
UD
127512011-09-10 Ulrich Drepper <drepper@gmail.com>
12752
bb016596
UD
12753 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12754 __set_errno.
8e58439c
UD
12755 * malloc/hooks.c: Likewise.
12756
aebae053 12757 [BZ #11929]
02d46fc4
UD
12758 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12759 variables statically.
12760 (narenas): Initialize.
12761 (list_lock): Initialize.
bb016596
UD
12762 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12763 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12764 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12765 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12766 Add initializers to main_arena and mp_.
12767 (malloc_state): Remove pagesize member. Change all users to use
12768 GLRO(dl_pagesize).
12769
12770 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12771 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12772 is always initialized.
12773
22a89187
UD
12774 * malloc/malloc.c: Removed unused configurations and dead code.
12775 * malloc/arena.c: Likewise.
12776 * malloc/hooks.c: Likewise.
02d46fc4 12777 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12778
d063d164
UD
12779 * include/tls.h: Removed. USE___THREAD must always be defined.
12780 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12781 * elf/dl-libc.c: Likewise.
12782 * elf/dl-tsd.c: Likewise.
12783 * include/errno.h: Likewise.
12784 * include/netdb.h: Likewise.
12785 * include/resolv.h: Likewise.
12786 * inet/herrno-loc.c: Likewise.
12787 * inet/herrno.c: Likewise.
12788 * malloc/arena.c: Likewise.
12789 * malloc/hooks.c: Likewise.
12790 * malloc/malloc.c: Likewise.
12791 * resolv/res-state.c: Likewise.
12792 * resolv/res_libc.c: Likewise.
12793 * sysdeps/i386/dl-machine.h: Likewise.
12794 * sysdeps/ia64/dl-machine.h: Likewise.
12795 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12796 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12797 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12798 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12799 * sysdeps/sh/dl-machine.h: Likewise.
12800 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12801 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12802 * sysdeps/unix/i386/sysdep.S: Likewise.
12803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12804 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12813 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12814 * sysdeps/x86_64/dl-machine.h: Likewise.
12815 * tls.make.c: Likewise.
12816
3ce1f295
UD
12817 * configure.in: Remove --with-__thread option. Make tests for
12818 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12819 tls_model attribute fail if no support is available. Remove
12820 USE_IN_LIBIO.
12821 * Makeconfig: Adjust for dropped configure option. All features are
12822 now mandatory.
12823 * Makerules: Likewise.
12824 * Versions.def: Likewise.
12825 * argp/argp-fmtstream.c: Likewise.
12826 * argp/argp-fmtstream.h: Likewise.
12827 * argp/argp-help.c: Likewise.
12828 * assert/assert.c: Likewise.
12829 * config.h.in: Likewise.
12830 * config.make.in: Likewise.
12831 * configure: Likewise.
12832 * configure.in: Likewise.
12833 * csu/Versions: Likewise.
12834 * csu/init.c: Likewise.
12835 * elf/tst-audit2.c: Likewise.
12836 * elf/tst-tls10.c: Likewise.
12837 * elf/tst-tls10.h: Likewise.
12838 * elf/tst-tls11.c: Likewise.
12839 * elf/tst-tls12.c: Likewise.
12840 * elf/tst-tls14.c: Likewise.
12841 * elf/tst-tlsmod11.c: Likewise.
12842 * elf/tst-tlsmod12.c: Likewise.
12843 * elf/tst-tlsmod13.c: Likewise.
12844 * elf/tst-tlsmod13a.c: Likewise.
12845 * elf/tst-tlsmod14a.c: Likewise.
12846 * elf/tst-tlsmod15b.c: Likewise.
12847 * elf/tst-tlsmod16a.c: Likewise.
12848 * elf/tst-tlsmod16b.c: Likewise.
12849 * elf/tst-tlsmod7.c: Likewise.
12850 * elf/tst-tlsmod8.c: Likewise.
12851 * elf/tst-tlsmod9.c: Likewise.
12852 * gmon/gmon.c: Likewise.
12853 * grp/fgetgrent_r.c: Likewise.
12854 * grp/putgrent.c: Likewise.
12855 * hurd/fopenport.c: Likewise.
12856 * include/libc-symbols.h: Likewise.
12857 * include/tls.h: Likewise.
12858 * intl/gettextP.h: Likewise.
12859 * intl/loadinfo.h: Likewise.
12860 * locale/global-locale.c: Likewise.
12861 * locale/localeinfo.h: Likewise.
12862 * mach/devstream.c: Likewise.
12863 * malloc/arena.c: Likewise.
12864 * malloc/set-freeres.c: Likewise.
12865 * misc/err.c: Likewise.
12866 * misc/getttyent.c: Likewise.
12867 * misc/mntent_r.c: Likewise.
12868 * posix/getopt.c: Likewise.
12869 * posix/wordexp.c: Likewise.
12870 * pwd/fgetpwent_r.c: Likewise.
12871 * resolv/Versions: Likewise.
12872 * resolv/res_hconf.c: Likewise.
12873 * shadow/fgetspent_r.c: Likewise.
12874 * shadow/putspent.c: Likewise.
12875 * stdio-common/printf_fphex.c: Likewise.
12876 * stdio-common/tmpfile.c: Likewise.
12877 * stdlib/abort.c: Likewise.
12878 * stdlib/fmtmsg.c: Likewise.
12879 * sunrpc/auth_unix.c: Likewise.
12880 * sunrpc/clnt_perr.c: Likewise.
12881 * sunrpc/clnt_tcp.c: Likewise.
12882 * sunrpc/clnt_udp.c: Likewise.
12883 * sunrpc/clnt_unix.c: Likewise.
12884 * sunrpc/openchild.c: Likewise.
12885 * sunrpc/svc_simple.c: Likewise.
12886 * sunrpc/svc_tcp.c: Likewise.
12887 * sunrpc/svc_udp.c: Likewise.
12888 * sunrpc/svc_unix.c: Likewise.
12889 * sunrpc/xdr.c: Likewise.
12890 * sunrpc/xdr_array.c: Likewise.
12891 * sunrpc/xdr_rec.c: Likewise.
12892 * sunrpc/xdr_ref.c: Likewise.
12893 * sunrpc/xdr_stdio.c: Likewise.
12894
1248c1c4
PB
128952011-09-09 Ulrich Drepper <drepper@gmail.com>
12896
12897 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12898
128992011-07-03 Andreas Jaeger <aj@suse.de>
12900
12901 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12902 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12903 regenerate with gen-libm-tests.pl.
12904
129052010-05-12 Petr Baudis <pasky@suse.cz>
12906
12907 [BZ #11589]
12908 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12909 around j0() zero points by switching to j1().
12910 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12914
f22e1074
UD
129152011-09-09 Ulrich Drepper <drepper@gmail.com>
12916
f19009c1
UD
12917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12918 instead of 0.
12919 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12920 instead of 0. .
12921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12922 Patch in part by Pavel Roskin <proski@gnu.org>.
12923
3f8cc204
UD
12924 [BZ #13138]
12925 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12926 realloc.
12927 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12928 Free memory block if necessary.
12929
f22e1074
UD
12930 [BZ #12847]
12931 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12932 be NULL. Don't lock in this case.
12933
0a2349f9
RM
129342011-09-09 Roland McGrath <roland@hack.frob.com>
12935
12936 * elf/elf.h (ELFOSABI_GNU): New macro.
12937 (ELFOSABI_LINUX): Define to that.
12938
f3cdd467
DZ
129392011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12940
12941 * string/strncat.c (strncat): Undef the symbol in case it has been
12942 defined in bits/string.h.
12943
74718d13
UD
129442011-09-09 Ulrich Drepper <drepper@gmail.com>
12945
633e9e0f
UD
12946 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12947
0a2349f9 12948 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12949 link map.
12950
f9924780
AJ
129512011-08-17 Andreas Jaeger <aj@suse.de>
12952
12953 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12954
7f5517aa
PP
129552011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12956 Ian Lance Taylor <iant@google.com>
12957
12958 * math/libm-test.inc (lround_test): New testcase.
12959 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12960
762011fe
UD
129612011-09-08 Ulrich Drepper <drepper@gmail.com>
12962
92963737
UD
12963 * Makefile: Remove support for automatic cvs check-ins.
12964 * Makerules: Likewise.
12965 * config.make.in: Likewise.
12966 * configure.in: Likewise.
12967 * intl/Makefile: Likewise.
12968 * locale/Makefile: Likewise.
12969 * po/Makefile: Likewise.
12970 * posix/Makefile: Likewise.
12971 * sysdeps/gnu/Makefile: Likewise.
12972 * sysdeps/mach/hurd/Makefile: Likewise.
12973 * sysdeps/sparc/sparc32/Makefile: Likewise.
12974
b0727fd8
JS
12975 [BZ #13118]
12976 * posix/Makefile (bug-regex32-ENV): Define.
12977 Patch by John Stanley <jpsinthemix@verizon.net>.
12978
a0f33f99
UD
12979 * misc/Makefile (headers): Add bits/select2.h.
12980 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12981 * misc/bits/select2.h: New file.
12982 * include/bits/select2.h: New file.
12983 * debug/Makefile (routines): Add fdelt_chk.
12984 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12985 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12986 FD_ISSET.
12987 * debug/fdelt_chk.c: New file.
12988
762011fe
UD
12989 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12990 * wcsmbs/test-wmemcmp.c: Likewise.
12991 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12992 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12993
129942011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12995
12996 * string/Makefile (strop-tests): Add memcmp.
12997 * string/test-wmemcmp.c: New file.
12998 * string/test-memcmp.c: Add wmemcmp support.
12999
7f513ec8
RM
130002011-09-08 Roland McGrath <roland@hack.frob.com>
13001
0442afb4
RM
13002 [BZ #13153]
13003 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13004 2011-07-19 change.
13005
7f513ec8
RM
13006 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13007 garbage value in a __mach_port_mod_refs call in the cases of the
13008 task-self and thread-self ports.
13009
a12b2239
ST
130102011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13011
13012 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13013
610f9ab4
AS
130142011-09-08 Andreas Schwab <schwab@redhat.com>
13015
7f513ec8 13016 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13017
48882a1a
LD
130182011-09-07 Ulrich Drepper <drepper@gmail.com>
13019
b49865be
UD
13020 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13021
fdc86bc9
UD
13022 * elf/dl-libc.c (dlerror_run): Pass back error code from
13023 dl_catch_error.
13024
c966526a
UD
13025 [BZ #13123]
13026 * elf/dl-load.c (lose): Free l_origin if it is valid.
13027
48882a1a
LD
13028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13029 names.
13030 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13031 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13032 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13034 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13035 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13036
77a2a8b4
AZ
130372011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13038
13039 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13040 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13041 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13042 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13043 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13044 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13045 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13046 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13047 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13048 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13049
24f579d8
AM
130502011-08-15 Alan Modra <amodra@gmail.com>
13051
13052 [BZ #13092]
13053 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13054 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13055 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13056 ppc_mcount to static-only-routines.
13057 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13058 __mcount_internal.
13059 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13060 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13061
3d4837df
UD
130622011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13063
13064 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13065 for finite and infinity parameters.
13066
22700377
WS
130672011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13068
13069 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13070 and add nop instructions for throughput optimization.
13071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13072
5025581e
WS
130732011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13074
13075 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13076 aligned copy for power7 with vector-scalar instructions.
13077 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13078
08a300c9
L
130792011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13082 AVX check.
13083
59178ef9
AS
130842011-09-07 Andreas Schwab <schwab@redhat.com>
13085
13086 [BZ #13144]
13087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13088 last change.
13089
e38ba7ab
UD
130902011-09-07 Ulrich Drepper <drepper@gmail.com>
13091
13092 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13093 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13094 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13096 clock_gettime.
13097
d53a73ac
UD
130982011-09-06 Ulrich Drepper <drepper@gmail.com>
13099
fc8bffcc
UD
13100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13101 Forgot to demangle the pointer.
13102
ceaa0c5d
UD
13103 * sysdeps/i386/sysdep.h: Define atom_text_section.
13104 * sysdeps/x86_64/sysdep.h: Likewise.
13105 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13106 section with atom_text_section.
13107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13109 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13111 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13112
a77d3c17
UD
13113 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13114 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13115 already be defined. Change to take two parameters and don't assign
13116 result to variable. Adjust all users.
13117 Define INTERNAL_GETTIME if not already defined.
13118 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13119 call.
13120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13121 HAVE_CLOCK_GETTIME_VSYSCALL.
13122 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13123
d53a73ac
UD
13124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13125 gettimeofday vsyscall, just use time.
13126
a8f84144
AS
131272011-09-06 Andreas Schwab <schwab@redhat.com>
13128
13129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13130 <errno.h>.
13131
ef606249
UD
131322011-09-06 Ulrich Drepper <drepper@gmail.com>
13133
13134 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13135 syscall on x86-64.
13136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13137 syscall.
13138 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13139 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13140 syscall if possible.
13141
6585cb60
UD
131422011-09-05 Ulrich Drepper <drepper@gmail.com>
13143
13144 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13145 e_ident. Don't pass to find_mapsXX.
13146 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13147
a5f524e4
LD
131482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13149
13150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13151 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13152 * sysdeps/x86_64/multiarch/strchr.S: Update.
13153 Check bit_slow_BSF bit.
13154 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13155 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13156 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13157
554881ef
UD
131582011-09-05 Ulrich Drepper <drepper@gmail.com>
13159
d96de963
UD
13160 [BZ #13134]
13161 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13162 before glibc 2.15.
13163 (tryshell): Define.
13164 (__spawni): Change last parameter to be flag. Test
13165 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13166 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13167 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13168 * posix/spawni.c: Likewise.
13169 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13170 * posix/spawnp.c: Likewise. Change normal version to use
13171 SPAWN_XFLAGS_USE_PATH.
13172 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13173 SPAWN_XFLAGS_TRY_SHELL.
13174
d48e5868
UD
13175 [BZ #13150]
13176 * posix/glob.h: Remove gcc 1.x support.
13177
554881ef
UD
13178 [BZ #13068]
13179 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13180
693fb948
LD
131812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13182
13183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13184 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13185 strrchr-sse2-bsf
13186 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13187 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13188 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13189 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13191 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13192
1b48c537
UD
131932011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13194
49d42c37
UD
13195 * sysdeps/x86_64/wcscmp.S: New file.
13196
1b48c537
UD
13197 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13198 wcscmp-c wcscmp-sse2
13199 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13200 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13201 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13202 * wcsmbs/wcscmp.c: Allow renaming.
13203
15c95c5d
DM
132042011-09-05 David S. Miller <davem@davemloft.net>
13205
13206 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13207 stack slot, rather than the struct return pointer slot.
13208 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13209 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13211 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13212
2f0ad8f3
UD
132132011-09-05 Ulrich Drepper <drepper@gmail.com>
13214
d88ae418
UD
13215 * po/ja.po: Update from translation team.
13216
2f0ad8f3
UD
13217 [BZ #13144]
13218 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13219 kernel in 64-bit binaries.
13220
5f4318d1
DM
132212011-09-01 David S. Miller <davem@davemloft.net>
13222
13223 * elf/elf.h (HWCAP_SPARC_*): Move to..
13224 * sysdeps/sparc/sysdep.h: this new file and add new values.
13225 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13226 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13227 _DL_HWCAP_COUNT to 24.
13228 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13229 entries.
13230 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13231 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13232 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13234 instead of magic constants.
13235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13236
3ba57516
DM
132372011-08-31 David S. Miller <davem@davemloft.net>
13238
13239 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13241 Reimplement to do errno handling inline.
13242 (SYSCALL_ERROR_HANDLER): New macro.
13243 (__SYSCALL_STRING): Do not do errno handling in asm.
13244 (__CLONE_SYSCALL_STRING): Delete.
13245 (__INTERNAL_SYSCALL_STRING): Delete.
13246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13247 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13248 (PSEUDO): Reimplement to do errno handling inline.
13249 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13250 (SYSCALL_ERROR_HANDLER): New macro.
13251 (__SYSCALL_STRING): Do not do errno handling in asm.
13252 (__CLONE_SYSCALL_STRING): Delete.
13253 (__INTERNAL_SYSCALL_STRING): Delete.
13254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13255 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13256 i386.
13257 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13258 (inline_syscall*): Add 'err' argument.
13259 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13260 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13261 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13262 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13263
13264 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13265 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13266
2bc17433
AS
132672011-08-30 Andreas Schwab <schwab@redhat.com>
13268
13269 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13270
fbeb5f4d
JO
132712011-08-29 Jiri Olsa <jolsa@redhat.com>
13272
13273 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13274 directive.
13275
ad69cc26
DM
132762011-08-24 David S. Miller <davem@davemloft.net>
13277
13278 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13279
39dd69df
AS
132802011-08-24 Andreas Schwab <schwab@redhat.com>
13281
13282 * elf/Makefile: Add rules to build and run unload8 test.
13283 * elf/unload8.c: New file.
13284 * elf/unload8mod1.c: New file.
13285 * elf/unload8mod1x.c: New file.
13286 * elf/unload8mod2.c: New file.
13287 * elf/unload8mod3.c: New file.
13288
13289 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13290 it wasn't used.
13291
2c0b250a
DM
132922011-08-23 David S. Miller <davem@davemloft.net>
13293
13294 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13295 subtract stack bias.
13296 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13297 %sp not %fp in calculations.
13298 (_JMPBUF_UNWINDS_ADJ): Likewise.
13299
22044b48
DM
13300 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13301 (aio_suspend): Call it to force an exception region around the
13302 AIO_MISC_WAIT() invocation.
13303
2cae4995
AS
133042011-08-23 Andreas Schwab <schwab@redhat.com>
13305
13306 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13307 backslash.
13308
873a772e
AJ
133092011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13310
13311 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13312 protection macro.
13313 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13314 and <dl-machine.h>.
13315 (Elf64_FuncDesc): Remove.
13316
25ad0df1
DM
133172011-08-22 David S. Miller <davem@davemloft.net>
13318
13319 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13320 sigaltstack check, add missing cfi directives.
13321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13322 missing cfi directives, and sigaltstack handling.
13323
e888bcbe
AS
133242011-08-16 Andreas Schwab <schwab@redhat.com>
13325
13326 [BZ #11724]
13327 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13328 object is seen twice.
13329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13330
13331 * elf/Makefile (distribute): Add tst-initorder2.c.
13332 (tests): Add tst-initorder2.
13333 (modules-names): Add tst-initorder2a tst-initorder2b
13334 tst-initorder2c tst-initorder2d. Add rules to build them.
13335 ($(objpfx)tst-initorder2.out): New rule.
13336 * elf/tst-initorder2.c: New file.
13337 * elf/tst-initorder2.exp: New file.
13338
87162f46
AS
133392011-08-22 Andreas Schwab <schwab@redhat.com>
13340
70538b7f
AS
13341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13342
f55ffe58
AS
13343 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13344 dependencies back to end of function.
13345
87162f46
AS
13346 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13347 $(elfobjdir)/ld.so.
13348
91b392a4
UD
133492011-08-21 Ulrich Drepper <drepper@gmail.com>
13350
13351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13352 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13354 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13355 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13356 of __vdso_gettimeofday.
13357 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13358 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13359 attribute_hidden.
13360 (_libc_vdso_platform_setup): Remove initialization of
13361 __vdso_gettimeofday and __vdso_time.
13362
5c43483f
UD
133632011-08-20 Ulrich Drepper <drepper@gmail.com>
13364
775a77e7
UD
13365 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13366 and fgetc_unlocked.
13367 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13368 getc_unlocked.
89f447ed 13369
49c74ba9
UD
13370 * elf/dl-open.c (add_to_global): Report additions to the global scope
13371 for LD_DEBUG=scopes.
13372 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13373 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13374
5c43483f
UD
13375 [BZ #13114]
13376 * stdio-common/Makefile (tests): Add bug24.
13377 * stdio-common/bug24.c: New file.
13378
a101b025
AJ
133792011-08-19 Andreas Jaeger <aj@suse.de>
13380
13381 [BZ #13114]
13382 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13383 non-existant file when using close-on-exec mode.
13384
c88f1766
UD
133852011-08-20 Ulrich Drepper <drepper@gmail.com>
13386
0276a718
UD
13387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13388 the very first instruction.
13389
c88f1766
UD
13390 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13391 the CFI state in the end.
13392 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13393 inclusion of dl-trampoline.h.
13394 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13395
51ccffa0
AS
133962011-08-19 Andreas Schwab <schwab@redhat.com>
13397
94d7165f
AS
13398 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13399 expectations for long double.
13400
51ccffa0
AS
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13402 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13403
fd708658 134042011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13405
13406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13407 artificual limit depends upon the system page size.
13408
44f0a71e
UD
134092011-08-17 Ulrich Drepper <drepper@gmail.com>
13410
13411 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13412 * resolv/Makefile: Define CFLAGS-libresolv.
13413
8de79a24
AS
134142011-08-17 Andreas Schwab <schwab@redhat.com>
13415
13416 * nss/makedb.c (compute_tables): Make variables used in nested
13417 function static.
13418
27724598
UD
134192011-08-17 Ulrich Drepper <drepper@gmail.com>
13420
c5305d88
UD
13421 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13422 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13423 if buffer was too small.
13424
27724598
UD
13425 * elf/pldd.c (main): Attach to all threads in the process.
13426 Rewrite /proc handling to use *at functions.
13427
076fe015
UD
134282011-08-16 Ulrich Drepper <drepper@gmail.com>
13429
174baab3
UD
13430 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13431 specifies first scope to show.
13432 (dl_open_worker): Update callers. Move printing scope of new
13433 object to before the relocation.
44f0a71e 13434 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13435 * sysdeps/generic/ldsodefs.h: Update declaration.
13436
076fe015
UD
13437 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13438 string for the scope number.
13439
a60df2c3
UD
134402011-08-14 Ulrich Drepper <drepper@gmail.com>
13441
13442 * nscd/servicescache.c (cache_addserv): Make sure written is always
13443 initialized.
13444
5e4287d1
RM
134452011-08-14 Roland McGrath <roland@hack.frob.com>
13446
85ae0589
RM
13447 * sysdeps/i386/i486/bits/atomic.h
13448 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13449 statement expression, so as to suppress "set but not used" warning.
13450 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13451
69f63097
RM
13452 * string/strncat.c (STRNCAT): Use prototype definition.
13453
675456ef
RM
13454 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13455 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13456 -Iprograms here.
13457 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13458 (localedef-modules): Add localedef.
13459 (locale-modules): Add locale.
13460
5e4287d1
RM
13461 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13462 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13463 to avoid a warning.
13464
9c96ff23
DM
134652011-08-14 David S. Miller <davem@davemloft.net>
13466
13467 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13468 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13469
f9ddf089
UD
134702011-08-13 Ulrich Drepper <drepper@gmail.com>
13471
44f0a71e 13472 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13473 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13474 * elf/rtld.c (dl_main): Set l_name of vDSO.
13475 Call _dl_show_scope when DL_DEBUG_SCOPES.
13476 (process_dl_debug): Recognize scopes flag and also set it for all.
13477 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13478 Declare _dl_show_scope.
13479
1dc27704
UD
13480 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13481 (do_dlopen): Pass caller_dlopen to dl_open.
13482 (__libc_dlopen_mode): Initialize caller_dlopen.
13483
f9ddf089
UD
13484 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13485 of libc. Make tolower call locale-independent. Optimize a bit by
13486 using isdigit instead of isalnum.
13487 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13488
9ac533d3
UD
134892011-08-12 Ulrich Drepper <drepper@gmail.com>
13490
13491 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13492 was a dependency or dynamically loaded.
13493
89edf2e9
UD
134942011-08-11 Ulrich Drepper <drepper@gmail.com>
13495
8e999d29
UD
13496 * intl/l10nflist.c: Allow architecture-specific pop function.
13497 * sysdeps/x86_64/l10nflist.c: New file.
13498
89edf2e9
UD
13499 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13500 classification.
13501
14d96785
AS
135022011-08-10 Andreas Schwab <schwab@redhat.com>
13503
13504 * include/dirent.h: Add libc_hidden_proto for scandirat and
13505 scandirat64. Don't declare __scandirat64.
13506 * dirent/scandirat.c: Add libc_hidden_def.
13507 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13508 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13509
6761ac04
DM
135102011-08-10 David S. Miller <davem@davemloft.net>
13511
13512 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13513 enum.
13514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13517
c55fbd1e
UD
135182011-08-09 Ulrich Drepper <drepper@gmail.com>
13519
13520 * Versions.def [libc]: Add GLIBC_2.15.
13521 * dirent/Makefile (routines): Add scandirat and scandirat64.
13522 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13523 GLIBC_2.15.
13524 * dirent/dirent.h: Declare scandirat and scandirat64.
13525 * dirent/scandirat.c: New file.
13526 * dirent/scandirat64.c: New file.
13527 * sysdeps/wordsize-64/scandirat.c: New file.
13528 * sysdeps/wordsize-64/scandirat64.c: New file.
13529 * dirent/opendir.c: Define opendirat.
13530 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13531 using scandirat.
13532 * dirent/scandir64.c: Adjust for scandir.c change.
13533 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13534 __scandirat64, and __scandir_cancel_handler.
13535 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13536 additional parameter and use openat instead of open (outside of ld.so).
13537 Add new __opendir as wrapper around __opendirat.
13538 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13539 here without requiring old scandirat implementation.
13540
879165f2
UD
135412011-08-08 Ulrich Drepper <drepper@gmail.com>
13542
13543 * dirent/scandir.c (cancel_handler): Renamed to
13544 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13545 defined. Adjust users.
13546 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13548
cb7e923b
UD
135492011-08-04 Ulrich Drepper <drepper@gmail.com>
13550
16292edd
UD
13551 * string/test-string.h (IMPL): Use __STRING to expand name and then
13552 stringify it.
13553
cb7e923b
UD
13554 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13555 of cleanups.
13556
cff82933
LD
135572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13558
13559 * string/Makefile: Update.
13560 (strop-tests): Append strncat.
13561 * string/test-wcscmp.c: New file.
13562 New comprehensive test for wcscmp.
13563 * string/test-strcmp.c: Update.
13564 (WIDE): New define.
13565
9be9bfcc
AS
135662011-07-22 Andreas Schwab <schwab@redhat.com>
13567
13568 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13569 line.
13570
2e96f1c7
AS
135712011-07-26 Andreas Schwab <schwab@redhat.com>
13572
13573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13574 encoding to ACE if AI_IDN.
13575
85188888
JJ
135762011-08-01 Jakub Jelinek <jakub@redhat.com>
13577
13578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13579 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13580
5fa16e9b
LD
135812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13582
13583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13584 Fix overflow bug in strncat.
13585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13586
13587 * string/test-strncat.c: Update.
13588 Add new tests for checking overflow bugs.
13589
135902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13591
13592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13593 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13594 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13595 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13596 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13597 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13598 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13599 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13600 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13601
13602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13603 (USE_AS_STRCAT): Define.
13604 Add strcat and strncat support.
13605 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13606
8c1a459f
AS
136072011-07-25 Andreas Schwab <schwab@redhat.com>
13608
13609 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13610 __n bigger than INT_MAX+1.
13611 (__strncmp_g): Likewise.
13612
bba33c28
UD
136132011-07-23 Ulrich Drepper <drepper@gmail.com>
13614
798be72d
UD
13615 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13616 * libio/stido.h: Likewise.
13617
8accd4dc
UD
13618 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13619 (AF_NFC): Define.
13620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13621 (AF_NFC): Define.
13622
cbff0d96
UD
13623 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13624 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13626 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13628
9191c04a
UD
13629 [BZ #13021]
13630 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13631 installed.
13632
bba33c28
UD
13633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13634 typo.
13635 (_dl_x86_64_save_sse): Likewise.
13636
90f139dd
UD
136372011-07-22 Ulrich Drepper <drepper@gmail.com>
13638
1aae088a
UD
13639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13640 OSXSAVE.
13641 (_dl_x86_64_save_sse): Likewise.
13642
8e2045f5
UD
13643 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13644
90f139dd
UD
13645 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13646
1d002f25
AS
136472011-07-21 Andreas Schwab <schwab@redhat.com>
13648
13649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13650 change.
13651 (_dl_x86_64_save_sse): Use correct AVX check.
13652
21137f89
UD
136532011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13654
13655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13656 bug in strncpy/strncat.
13657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13658
a65c0b7a
UD
136592011-07-21 Ulrich Drepper <drepper@gmail.com>
13660
13661 * string/tester.c (test_strcat): Add tests for different alignments
13662 of source and destination.
13663 (test_strncat): Likewise.
13664
6986b98a
UD
136652011-07-20 Ulrich Drepper <drepper@gmail.com>
13666
90bb2039
UD
13667 [BZ #12852]
13668 * posix/glob.c (glob): Check passed in values before using them in
13669 expressions to avoid some overflows.
13670 (glob_in_dir): Likewise.
13671
5644ef54
UD
13672 [BZ #13007]
13673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13674 check for AVX enablement so that we don't crash with old kernels and
13675 new hardware.
13676 * elf/tst-audit4.c: Add same checks here.
13677 * elf/tst-audit6.c: Likewise.
13678
13679 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13680
bfc9dc9b
AS
136812011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13682
13683 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13684
702e64bb
UD
136852011-07-20 Ulrich Drepper <drepper@gmail.com>
13686
13687 * po/cs.po: Update from translation team.
13688 * po/bg.po: Likewise.
13689
295e904f
MP
136902011-07-12 Marek Polacek <mpolacek@redhat.com>
13691
13692 * misc/sys/cdefs.h: Add support for const attribute.
13693 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13694 to gnu_dev_{major,minor,makedev} functions.
13695
3ff94596
MP
136962011-07-20 Marek Polacek <mpolacek@redhat.com>
13697
13698 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13699
28b59fca
AS
137002011-07-20 Andreas Schwab <schwab@redhat.com>
13701
13702 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13703 strlen results.
13704
19df733e
AK
137052011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13706
13707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13708 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13709 register in order to avoid conflicts with the soft frame pointer
13710 being held in r11 when necessary.
13711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13712 (INTERNAL_VSYSCALL_NCS): Likewise.
13713
c8835729
MP
137142011-07-14 Marek Polacek <mpolacek@redhat.com>
13715
13716 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13717 * elf/dl-fini.c (_dl_fini): Adjust caller.
13718 * elf/dl-close.c (_dl_close_worker): Likewise.
13719 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13720
b902330c
MP
137212011-07-15 Marek Polacek <mpolacek@redhat.com>
13722
8991e135
MP
13723 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13724 "aux_cache->nlibs < 0".
13725
b902330c
MP
13726 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13727 in the reload-count case.
13728
99710781
LD
137292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13730
13731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13732 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13733 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13734 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13735 * sysdeps/x86_64/multiarch/strcat.S: New file.
13736 * sysdeps/x86_64/multiarch/strncat.S: New file.
13737 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13738 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13739 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13740 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13742 (USE_AS_STRCAT): Define.
13743 Add strcat and strncat support.
13744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13745 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13746 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13747 * string/strncat.c: Update.
13748 (USE_AS_STRNCAT): Define.
13749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13750 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13751 and i7.
13752 * sysdeps/x86_64/multiarch/init-arch.h
13753 (bit_Prefer_PMINUB_for_stringop): New.
13754 (index_Prefer_PMINUB_for_stringop): Likewise.
13755 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13756 bit_Prefer_PMINUB_for_stringop.
13757
7dc6bd90
UD
137582011-07-19 Ulrich Drepper <drepper@gmail.com>
13759
13760 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13761 buffer64.
13762 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13763 of casting of buffer.
13764 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13765 buffer32 and buffer64.
13766 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13767 writes instead of casting of buffer.
13768 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13769 buffer32.
13770 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13771 casting of buffer.
13772
e0e72284
AS
137732011-07-19 Andreas Schwab <schwab@redhat.com>
13774
13775 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13776
feb1eb0b
UD
137772011-07-19 Ulrich Drepper <drepper@gmail.com>
13778
13779 * nscd/nscd.c (termination_handler): Don't do anything for a database
13780 if it has not yet been initialized.
13781
298711ff
UD
137822011-07-18 Ulrich Drepper <drepper@gmail.com>
13783
13784 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13785
137862011-07-15 Marek Polacek <mpolacek@redhat.com>
13787
13788 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13789
f9d68389
UD
137902011-07-18 Ulrich Drepper <drepper@gmail.com>
13791
13792 * po/nl.po: Update from translation team.
13793 * po/sv.po: Likewise.
13794
db290cf5
RM
137952011-07-16 Roland McGrath <roland@hack.frob.com>
13796
13797 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13798 now disallowed by GCC.
5c550700 13799
fd5e21c7
RM
13800 * configure.in (use-default-link): Default to yes if a test -shared
13801 link meets our qualifications.
13802 * configure: Regenerated.
13803
5c550700
RM
13804 * config.make.in (output-format): New variable.
13805 * configure.in: Check for ld --print-output-format support.
13806 * configure: Regenerated.
13807 * Makerules ($(common-objpfx)format.lds)
13808 [$(output-format) != unknown]: Just use $(output-format),
13809 instead of the linker-script munging.
13810
9fa2c032
RM
138112011-07-14 Roland McGrath <roland@hack.frob.com>
13812
a6928d51
RM
13813 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13814 of $(common-objpfx)shlib.lds.
13815 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13816
661607b3
RM
13817 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13818 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13819
9fa2c032
RM
13820 * configure.in (-z relro check): Adjust test code to add a large
13821 writable data section after it.
13822 * configure: Regenerated.
13823
defe9061
RM
138242011-07-11 Roland McGrath <roland@hack.frob.com>
13825
13826 * configure.in (-z relro check): Fix test code to make the variable
13827 truly const.
13828 * configure: Regenerated.
13829
319b9ad4
UD
138302011-07-11 Ulrich Drepper <drepper@gmail.com>
13831
13832 * nscd/nscd.h (struct traced_file): Define.
13833 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13834 elements. Add traced_files.
13835 (inotify_fd): Declare.
13836 (register_traced_file): Declare.
13837 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13838 (inotify_fd): Export.
13839 (resolv_conf_descr): Remove.
13840 (nscd_init): Move inotify descriptor creation to main.
13841 Don't register files for notification here.
13842 (register_traced_file): New function.
13843 (invalidate_cache): Don't use reset_res to determine whether to call
13844 res_init, go through the list of registered files.
13845 (main_loop_poll): The inotify descriptors are now stored in the
13846 structures for the traced files.
13847 (main_loop_epoll): Likewise
13848 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13849 to __nss_disable_nscd.
13850 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13851 for a database anymore. Check the records for all the registered
13852 files instead.
13853 * nss/Makefile (libnss_files-routines): Add files-init.
13854 (libnss_db-routines): Add db-init.
13855 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13856 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13857 * nss/nss_db/db-init.c: New file.
13858 * nss/nss_files/files-init.c: New file.
13859 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13860 __nss_lookup_function.
13861 (__nss_lookup_function): Call nss_load_library.
13862 (nss_load_all_libraries): New function.
13863 (__nss_disable_nscd): Take parameter with callback function for files
13864 to register. Set is_nscd. Load all the DSOs for the NSS modules
13865 used for the cached services.
13866 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13867 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13868 options for features to all the files in nscd.
13869
13870 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13871
23bee3e8
RM
138722011-07-10 Roland McGrath <roland@hack.frob.com>
13873
13874 * csu/elf-init.c (__libc_csu_init): Comment typo.
13875
46a5b7f0
UD
138762011-07-09 Ulrich Drepper <drepper@gmail.com>
13877
13878 * po/pl.po: Update from translation team.
13879 * po/ja.po: Likewise.
13880 * po/ru.po: Likewise.
13881 * po/ko.po: Likewise.
13882 * po/fr.po: Likewise.
13883
d30cf5bb
RM
138842011-07-09 Roland McGrath <roland@hack.frob.com>
13885
113ddea4
RM
13886 * configure.in (.ctors/.dtors header and trailer check):
13887 Use an empirical test on a built program.
13888 * configure: Regenerated.
13889
574920b4
RM
13890 * configure.in (-z relro check): Use an empirical test on a built DSO.
13891 Detect, but do not require, on ia64.
13892 * configure: Regenerated.
13893
d30cf5bb
RM
13894 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13895 Update tests that use readelf to use $READELF instead.
13896 * configure: Regenerated.
13897
8538fdb3
UD
138982011-07-08 Ulrich Drepper <drepper@gmail.com>
13899
13900 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13901 if the result is not used.
13902
04d08991
AJ
139032011-07-05 Andreas Jaeger <aj@suse.de>
13904
13905 [BZ#9696]
13906 * stdlib/tst-strtod.c: Add testcase.
13907
de283087
AD
139082011-07-07 Ulrich Drepper <drepper@gmail.com>
13909
4e5f31c8 13910 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13911 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13912 The latter has a higher limit. Take additional parameter to pass to
13913 the new function.
13914 (__pathconf): Pass file to __statfs_link_max.
13915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13916 __statfs_link_max.
13917 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13918 __statfs_link_max.
13919
de283087
AD
13920 [BZ #12868]
13921 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13923 Handle Lustre.
13924 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13925 (__statfs_filesize_max): Likewise.
13926 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13927
c75fa153
AJ
139282011-07-05 Andreas Jaeger <aj@suse.de>
13929
13930 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13931
1a544854
UD
139322011-07-06 Marek Polacek <mpolacek@redhat.com>
13933
13934 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13935 `status' variable.
13936 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13937 Likewise.
13938
6f0eec67
UD
139392011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * Makefile (strop-tests): Add strncat.
13942 * string/test-strncat.c: New file.
13943
aae30307
UD
139442011-06-30 Marek Polacek <mpolacek@redhat.com>
13945
13946 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13947
c0cfb5eb
UD
139482011-06-21 Andreas Jaeger <aj@suse.de>
13949
13950 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13951 Copy rule from iconvdata/Makefile.
13952
01636b21
UD
139532011-07-06 Ulrich Drepper <drepper@gmail.com>
13954
13955 [BZ #12922]
13956 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13957 but no long options are defined, just return 'W'.
13958
9895c8bc
UD
139592011-06-22 Marek Polacek <mpolacek@redhat.com>
13960
13961 [BZ #9696]
13962 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13963
5d4cf042
UD
139642011-07-06 Ulrich Drepper <drepper@gmail.com>
13965
13966 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13967 netgroups to read.
960e5535 13968 (innetgr): Likewise.
5d4cf042 13969
751eb97e
RM
139702011-07-05 Roland McGrath <roland@hack.frob.com>
13971
13972 * config.make.in (install_root): Default to $(DESTDIR).
13973
f15f1e45
UD
139742011-07-05 Ulrich Drepper <drepper@gmail.com>
13975
13976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13977
4e34ac6a
RM
139782011-07-02 Roland McGrath <roland@hack.frob.com>
13979
5e9b6af4
RM
13980 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13981
84f9ea0f
RM
13982 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13983 containing directory rather than embedding absolute directory names.
13984
ea5ee9f7
RM
13985 * scripts/check-local-headers.sh: Rewritten using awk.
13986 Match by word, not by line. Print error messages for matches.
13987 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13988
1b74661a
RM
13989 * Makerules [shlib-lds-flags empty]:
13990 ($(common-objpfx)libc_pic.opts): New target.
13991 ($(common-objpfx)libc_pic.os.clean): New target.
13992 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13993
13994 * config.make.in (OBJCOPY): New variable.
13995 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13996 * configure: Regenerated.
13997
f781ef40
RM
13998 * config.make.in (use-default-link): New variable.
13999 * configure.in (use_default_link): Grok --with-default-link to set it.
14000 * configure: Regenerated.
14001 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14002 (shlib-lds, shlib-lds-flags): Define to empty.
14003
2d4fa81e
RM
14004 * Makerules (shlib-lds): New variable.
14005 (shlib-lds-flags): New variable.
14006 (build-shlib, build-moduile, build-module-asneeded): Use it.
14007 ($(common-objpfx)libc.so): Use $(shlib-lds).
14008 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14009 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14010
31fffa6b
RM
14011 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14012 DT_FLAGS/DT_FLAGS_1 with zero flags.
14013
4e34ac6a
RM
14014 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14015 linker script munging.
14016
fcfc776b
UD
140172011-07-02 Ulrich Drepper <drepper@gmail.com>
14018
14019 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14020 as 128-bit value.
14021 * crypt/sha512.c (sha512_process_block): Perform total addition using
14022 128-bit if possible.
14023 (__sha512_finish_ctx): Likewise.
14024 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14025 as 64-bit value.
14026 * crypt/sha256.c (SWAP64): Define.
14027 (sha256_process_block): Perform total addition using 64-bit if
14028 possible.
14029 (__sha256_finish_ctx): Likewise.
14030
99231d9a
UD
140312011-07-01 Ulrich Drepper <drepper@gmail.com>
14032
14033 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14035 * nscd/hstcache.c (cache_addhst): Likewise.
14036 * nscd/grpcache.c (cache_addgr): Likewise.
14037 * nscd/aicache.c (addhstaiX): Likewise
14038 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14039
445b4a53
TK
140402011-07-01 Thorsten Kukuk <kukuk@suse.de>
14041
14042 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14044 * nscd/hstcache.c (cache_addhst): Likewise.
14045 * nscd/grpcache.c (cache_addgr): Likewise.
14046 * nscd/aicache.c (addhstaiX): Likewise
14047
6d4d8e8e
AS
140482011-07-01 Andreas Schwab <schwab@redhat.com>
14049
14050 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14051 domain only when needed.
14052
89f654c5
AS
140532011-06-30 Andreas Schwab <schwab@redhat.com>
14054
14055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14056 is always restored.
14057
cf3b23ff
UD
140582011-06-29 Ulrich Drepper <drepper@gmail.com>
14059
14060 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14061 are re-adding the entry.
14062 * nscd/servicescache.c (cache_addserv): Likewise.
14063
751626f9
AJ
140642011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14065
14066 * sysdeps/generic/dl-irel.h: fix protection against multiple
14067 inclusions.
14068 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14069
9113ea1f
UD
140702011-06-28 Ulrich Drepper <drepper@gmail.com>
14071
5c0b8d90
UD
14072 [BZ #12935]
14073 * malloc/memusage.sh: Fix quoting in message.
14074 * debug/xtrace.sh: Likewise.
14075
9113ea1f
UD
14076 * configure.in: Remove support for --experimental-malloc option, make
14077 it the default.
14078 * config.make.in: Likewise.
14079 * malloc/Makefile: Likewise.
14080
a4172181
AS
140812011-06-27 Andreas Schwab <schwab@redhat.com>
14082
14083 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14084 two-byte characters.
14085
78a7eee7
RM
140862011-06-27 Roland McGrath <roland@hack.frob.com>
14087
62bede13
RM
14088 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14089 AC_CACHE_CHECK invocation.
14090 * configure: Regenerated.
14091
78a7eee7
RM
14092 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14093
5ce33a62
UD
140942011-06-27 Ulrich Drepper <drepper@gmail.com>
14095
034807a9
UD
14096 [BZ #12350]
14097 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14098 bit from old_res_options.
14099
4902da17
UD
14100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14101
5ce33a62
UD
14102 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14103 value type for setfct.
14104
c2344f56
L
141052011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14106
14107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14108 __gettimeofday instead of gettimeofday.
14109
68468076
UD
141102011-06-26 Ulrich Drepper <drepper@gmail.com>
14111
14112 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14113
acb0d739
L
141142011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14115
14116 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14117
14118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14119 info.
14120
8912479f
L
141212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14124 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14125 strcpy-sse2-unaligned strncpy-sse2-unaligned
14126 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14127 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14128 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14129 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14130 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14131 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14132 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14133 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14134 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14135 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14136 (STRCPY): Support SSE2 and SSSE3 versions.
14137
d5495a11
UD
141382011-06-24 Ulrich Drepper <drepper@gmail.com>
14139
14140 [BZ #12874]
14141 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14142 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14143 kernels which artificially limit size of requests.
14144
0b1cbaae
L
141452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14146
14147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14148 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14149 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14150 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14151 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14152 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14153 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14154 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14157 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14158 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14159 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14160 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14161 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14163 Enable unaligned load optimization for Intel Core i3, i5 and i7
14164 processors.
14165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14166 Define.
14167 (index_Fast_Unaligned_Load): Define.
14168 (HAS_FAST_UNALIGNED_LOAD): Define.
14169
07f494a0
MP
141702011-06-23 Marek Polacek <mpolacek@redhat.com>
14171
14172 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14173
fa3fc0fe
UD
141742011-06-22 Ulrich Drepper <drepper@gmail.com>
14175
14176 [BZ #12907]
14177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14178 until it is clear that the information is realy needed.
14179 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14180
e12df166
AS
141812011-06-22 Andreas Schwab <schwab@redhat.com>
14182
14183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14184
852eb34d
UD
141852011-06-22 Ulrich Drepper <drepper@gmail.com>
14186
84e2a551
UD
14187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14188 /sys/devices/system/cpu/online if it is usable.
14189
852eb34d
UD
14190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14191 reading the information from the /proc filesystem to once a second.
14192
6e502e19
UD
141932011-06-21 Andreas Jaeger <aj@suse.de>
14194
14195 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14196 NULL after inclusion of kernel headers.
14197
75d39ff2
UD
141982011-06-21 Ulrich Drepper <drepper@gmail.com>
14199
51f9aa6a
UD
14200 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14201 calls to internal_setent.
14202
c0244a9d
UD
14203 [BZ #12885]
14204 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14205 addresses using gethostbyname4_r ignore IPv4 addresses.
14206
c5e3c2ae
UD
14207 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14208 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14209
75d39ff2
UD
14210 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14211
42675c6f
DM
142122011-06-20 David S. Miller <davem@davemloft.net>
14213
14214 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14215 inclusions.
14216 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14217
14218 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14219 (elf_irel): Use it.
14220 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14221 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14222 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14223 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14224 * sysdeps/x86_64/dl-irel.h: Likewise.
14225
14226 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14227 * elf/dl-sym.c: Likewise.
14228
57912a71
UD
142292011-06-15 Ulrich Drepper <drepper@gmail.com>
14230
14231 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14232 need to dereference resplen2.
14233
ee22793d
AS
142342011-06-14 Andreas Schwab <schwab@redhat.com>
14235
14236 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14237
a9e836b0
UD
142382011-06-15 Ulrich Drepper <drepper@gmail.com>
14239
77fb9117
UD
14240 * Makeconfig: Define vardbdir and inst_vardbdir.
14241 * nss/Makefile: Add rules to install db-Makefile.
14242
40c1b22c
UD
14243 * nss/nss_db/db-XXX.c: Cleanup.
14244
9f2da732
UD
14245 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14246 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14247 GLIBC_PRIVATE.
14248 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14249 * nss/makedb.c: Implement -g option to specify that value strings
14250 are generated and should not be added to table iterated over for
14251 get*ent calls.
14252 * nss/nss_db/db-initgroups.c: New file.
14253
82e9a1f7
UD
14254 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14255 interface.
14256
c41af17e
UD
14257 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14258 (internal_getgrouplist): Adjust to name change.
14259 Update use_initgroups_entry if this is not the first call.
14260 * nss/databases.def: Add initgroups entry.
14261
a9e836b0
UD
14262 * nss/makedb.c (compute_tables): Check result of multiple hash table
14263 sizes to minimize maximum chain length.
14264
2666d441
UD
142652011-06-14 Ulrich Drepper <drepper@gmail.com>
14266
14267 * Versions.def: Add entry for libnss_db.
14268 * shlib-versions: Likewise.
14269 * nss/Makefile: Add rules to build libnss_db.
14270 * nss/Versions: Add libnss_db information. Organize libnss_files
14271 entries better.
14272 * nss/db-Makefile: Add gshadow support. Change rules for the new
14273 makedb progra. Some minor improvements to generate smaller files.
14274 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14275 here from...
14276 * nss/makedb.c: ...here.
14277 Improve database format to be smaller and require less memory at
14278 runtime.
14279 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14280 db anymore.
14281 * nss/nss_db/db-netgrp.c: Likewise.
14282 * nss/nss_db/db-open.c: Likewise.
14283 * nss/nss_files/flies-XXX.x: Adjust comments.
14284 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14285 * nss/nss_files/files-grp.c: Likewise.
14286 * nss/nss_files/files-hosts.c: Likewise.
14287 * nss/nss_files/files-network.c: Likewise.
14288 * nss/nss_files/files-proto.c: Likewise.
14289 * nss/nss_files/files-pwd.c: Likewise.
14290 * nss/nss_files/files-rpc.c: Likewise.
14291 * nss/nss_files/files-service.c: Likewise.
14292 * nss/nss_files/files-sgrp.c: Likewise.
14293 * nss/nss_files/files-spwd.c: Likewise.
14294 * nss/nss_db/db-alias.c: Removed.
14295 * nss/nss_db/dummy-db.h: Removed.
14296
9ee76b5a
UD
142972011-06-02 Ulrich Drepper <drepper@gmail.com>
14298
14299 * nss/makedb.c: Rewritten to not use database library.
14300 * nss/Makefile: Update to build new makedb program.
14301
c71ca1f8
AJ
143022011-06-14 Andreas Jaeger <aj@suse.de>
14303
14304 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14305 memset declaration.
14306
3154bfb8
UD
143072011-06-10 Andreas Schwab <schwab@redhat.com>
14308
14309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14310 tmpbuf.
14311
b350afab
RM
143122011-06-10 Roland McGrath <roland@hack.frob.com>
14313
decd4e50
RM
14314 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14315 * elf/Makefile ($(objpfx)ld.so): Likewise.
14316
5615eaf2
RM
14317 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14318 Don't list ld.so twice in dependencies.
14319
14320 * posix/bug-regex31.c: Include <stdlib.h>.
14321
14322 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14323
14324 * nis/nss_compat/compat-spwd.c
14325 (getspent_next_nss_netgr): Remove unused variable.
14326 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14327
14328 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14329 nonmembers" output to use the right array.
14330
14331 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14332
14333 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14334
14335 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14336 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14337 * catgets/gencat.c (read_input_file): Likewise.
14338 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14339
14340 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14341 variable definition inside #if's controlling its use.
14342
14343 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14344
14345 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14346
14347 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14348
14349 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14350 unreachable code.
14351
14352 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14353
b68e08db
RM
14354 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14355 * configure: Regenerated.
14356
b350afab
RM
14357 * Makerules: Revert last change.
14358 * elf/Makefile: Likewise.
14359
28368601
RM
143602011-06-09 Roland McGrath <roland@hack.frob.com>
14361
14362 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14363 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14364 (reloc-link): Likewise.
14365
11988f8f
UD
143662011-06-09 Ulrich Drepper <drepper@gmail.com>
14367
14368 * elf/Makefile: Add rules to build pldd.
14369 * elf/pldd.c: New file.
14370 * elf/pldd-xx.c: New file.
14371
e80fab37
UD
143722011-06-07 Ulrich Drepper <drepper@gmail.com>
14373
14374 * version.h: Update for 2.15 development version.
14375
9b849836
DM
143762011-06-07 David S. Miller <davem@davemloft.net>
14377
14378 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14379 ifuncs.
14380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14381 elf_machine_lazy_rel): Likewise.
14382 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14384 elf_machine_lazy_rel): Likewise.
14385 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14386 dl_hwcap via passed in argument.
14387 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14388 Likewise.
14389
5a31b283
AK
143902011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14391
14392 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14393
069e52f8
RM
143942011-06-06 Roland McGrath <roland@hack.frob.com>
14395
14396 [BZ #12849]
14397 * manual/fdl-1.1.texi: New file, verbatim from:
14398 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14399 * manual/lgpl-2.1.texi: New file, verbatim from:
14400 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14401 * manual/Makefile (licenses): New variable, list those new file names.
14402 (texis): Use it.
14403 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14404
14405 * manual/fdl.texi: File removed.
14406 * manual/lesser.texi: File removed.
14407 * manual/libc.texinfo (Copying, Documentation License):
14408 Use new @include file names, put @appendix directive before @include.
14409
f16846a5
JJ
144102011-06-04 Jakub Jelinek <jakub@redhat.com>
14411
14412 [BZ #12841]
14413 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14414 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14415 (mq_open): Add __NTH.
14416
3d29045b
L
144172011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14418
14419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14420 Assume Intel Core i3/i5/i7 processor if AVX is available.
14421
8c297311
UD
144222011-05-31 Ulrich Drepper <drepper@gmail.com>
14423
14424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14425 typo.
14426
c8fc0c91
UD
144272011-05-31 Andreas Schwab <schwab@redhat.com>
14428
14429 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14430 memory. Use alloca_account. Fix memory leak when retrying.
14431
5b27a807
UD
144322011-05-31 Ulrich Drepper <drepper@gmail.com>
14433
356f8bc6
UD
14434 * version.h (RELEASE): Bump for 2.14 release.
14435 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14436
5b27a807
UD
14437 * config.make.in (RANLIB): Remove entry.
14438
01f16ab0
UD
144392011-05-30 Ulrich Drepper <drepper@gmail.com>
14440
41fce8bd
UD
14441 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14442 (libc.pot): Work around missing support for .ksh extension in xgettext.
14443
4769ae77
UD
14444 [BZ #12684]
14445 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14446 if both request failed.
14447 (send_dg): In case of server errors clear resplen or *resplen2.
14448
6b1e7d19
UD
14449 [BZ #12454]
14450 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14451 when there are multiple maps.
14452 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14453 (_dl_fini): Remove test here.
14454
01f16ab0
UD
14455 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14456
b1ebd700
UD
144572011-05-29 Ulrich Drepper <drepper@gmail.com>
14458
7ae22829
UD
14459 [BZ #12350]
14460 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14461 bit from old_res_options.
14462 (gaih_inet): Likewise.
14463
553149f6 14464 [BZ #11099]
18a84741 14465 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14466 as signed.
14467
652ffab1
UD
14468 * resolv/res_init.c (res_setoptions): Make the code more compact.
14469
16985fd0
UD
14470 [BZ #11558]
14471 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14472 set RES_USEVC.
14473
0464f746
UD
14474 [BZ #11634]
14475 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14476
7d17596c
UD
14477 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14478
cf6bbbd7
UD
14479 [BZ #11781]
14480 * malloc/malloc.h: Declare malloc hook variables as volatile.
14481
13f1ab36
UD
14482 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14483 in last patch.
14484
b1ebd700
UD
14485 [BZ #11799]
14486 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14487 raise in the comment.
80e2212d
UD
14488 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14490 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14491
ce67228d
UD
144922011-05-28 Ulrich Drepper <drepper@gmail.com>
14493
8887a920
UD
14494 [BZ #12811]
14495 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14496 grow the buffers more if it already has to be sufficient.
14497 (build_wcs_upper_buffer): Likewise.
14498 * posix/regexec.c (check_matching): Likewise.
14499 (clean_state_log_if_needed): Likewise.
14500 (extend_buffers): Don't enlarge buffers beyond size of the input
14501 buffer.
14502 Patches mostly by Emil Wojak <emil@wojak.eu>.
14503 * posix/bug-regex32.c: New file.
14504 * posix/Makefile (tests): Add bug-regex32.
14505
4f031072
UD
14506 * locale/findlocale.c (_nl_find_locale): Return right away if
14507 _nl_explode_name failed.
14508 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14509
d0478f0c
UD
14510 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14511
de81b246
UD
14512 * debug/xtrace.sh: Unify messages.
14513 * malloc/memusage.sh: Likewise.
14514
c738465a
UD
14515 [BZ #12813]
14516 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14517 time symbol from vDSO. Substitute with vsyscall if not available.
14518 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14519 __vdso_time.
14520
f1f929d7
UD
14521 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14522 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14523 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14524 Add sendmmsg and internal_sendmmsg.
14525 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14526 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14527 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14528
ce67228d
UD
14529 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14530 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14532
e57420c6
UD
145332011-05-27 Ulrich Drepper <drepper@gmail.com>
14534
a8509ca5
UD
14535 [BZ #12813]
14536 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14537 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14538 available.
14539 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14540 __vdso_getcpu.
14541
e57420c6
UD
14542 [BZ #12814]
14543 * iconvdata/Makefile (tests): Add bug-iconv9.
14544 * iconvdata/bug-iconv9.c: New file.
14545
4d07db15
AS
145462011-05-27 Andreas Schwab <schwab@redhat.com>
14547
14548 [BZ #12814]
14549 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14550
ea486f69
JJ
145512011-05-25 Jakub Jelinek <jakub@redhat.com>
14552
14553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14554 (struct user_regs_struct): Change intcs field back to cs.
14555
6f038433
UD
145562011-05-25 Ulrich Drepper <drepper@gmail.com>
14557
14558 * po/ja.po: Update from translation team.
14559
67f86a25
UD
145602011-05-23 Ulrich Drepper <drepper@gmail.com>
14561
14562 [BZ #12795]
14563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14564 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14565
def7fbd6
AS
145662011-05-20 Andreas Schwab <schwab@redhat.com>
14567
14568 * stdlib/longlong.h: Update from GCC.
14569
f50ef8f1
AS
145702011-05-23 Andreas Schwab <schwab@redhat.com>
14571
14572 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14573 parameter name.
14574 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14575 Add parameter name.
14576 (__sysconf): Pass it down.
14577
de7ce8f1
UD
145782011-05-22 Ulrich Drepper <drepper@gmail.com>
14579
f2962a71
UD
14580 [BZ #12671]
14581 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14582 some situations.
14583 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14584 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14585 add in in __libc_use_alloca calls. Adjust callers.
14586 (glob): Use malloc in some situations.
14587
de7ce8f1
UD
14588 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14589 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14590 pltexit.
14591
aec84f53
UD
145922011-05-21 Ulrich Drepper <drepper@gmail.com>
14593
05bb4a68
UD
14594 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14595 and CLOCK_BOOTTIME_ALARM.
14596
7ea72f99
UD
14597 [BZ #12782]
14598 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14599 is returned.
14600
7e4afad5
UD
14601 * string/_strerror.c (__strerror_r): Print negative errors as signed
14602 numbers.
14603
8e211fec
UD
14604 [BZ #12777]
14605 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14606 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14607 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14608
f7d82dc9
UD
14609 * configure.in: Fix typo in redirection and correct removal of test
14610 files in two cases.
14611
cc9e536d
UD
14612 [BZ #12788]
14613 * locale/setlocale.c (new_composite_name): Fix test to check for
14614 identical name of all categories.
14615
aec84f53
UD
14616 [BZ #12792]
14617 * libio/filedoalloc.c (local_isatty): New function.
14618 (_IO_file_doallocate): Use local_isatty.
14619 * stdio-common/perror.c (perror): In case a new stream is used
14620 forward the stream error.
14621 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14622 error flag.
14623
78e64fdc
RT
146242011-05-20 Ulrich Drepper <drepper@gmail.com>
14625
34a9094f
UD
14626 [BZ #11869]
14627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14628 alloca.
14629 * include/alloca.h (extend_alloca_account): Define.
14630
78e64fdc
RT
14631 [BZ #11857]
14632 * posix/regex.h: Fix comments with documentation of user-accessible
14633 fields after compilation and describe correct free'ing of pattern
14634 after re_compile_pattern.
14635 Patch by Reuben Thomas <rrt@sc3d.org>.
14636
457bddfc
RA
146372011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14638
14639 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14640 and -mno-altivec to prevent the compiler from using Altivec and/or
14641 VSX instructions when the corresponding registers are not available.
14642
a4527b51
AS
146432011-05-19 Andreas Schwab <schwab@redhat.com>
14644
14645 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14646
ed690b2f
UD
146472011-05-19 Ulrich Drepper <drepper@gmail.com>
14648
14649 * libio/freopen.c (freopen): Use __dup2, not dup2.
14650 * libio/freopen64.c (freopen64): Likewise.
14651
8db73634
L
146522011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 [BZ #12775]
14655 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14656 * math/Makefile (tests): Add test-powl.
14657 (CFLAGS-test-powl.c): Define.
14658 * math/test-powl.c: New file.
14659
0a197a9d
L
146602011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14661
14662 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14663
ee30c380
UD
146642011-05-17 Ulrich Drepper <drepper@gmail.com>
14665
14666 [BZ #11837]
14667 * iconvdata/gb18030.c: Update to GB18020-2005.
14668
6ce75379
UD
146692011-05-16 Ulrich Drepper <drepper@gmail.com>
14670
a4b89fd8
AR
14671 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14672 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14673 Patch by Aharon Robbins <arnold@skeeve.com>.
14674
ea389b12
UD
14675 [BZ #11892]
14676 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14677 on the stack.
14678
68a3f91f
UD
14679 [BZ #11895]
14680 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14681 through underflows.
14682
15cc7dd1
UD
14683 [BZ #12766]
14684 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14685 point to strings before performing equality test for error_one_per_line
14686 mode.
14687
f3799213
UD
14688 [BZ #11697]
14689 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14690
d79a9c94
UD
14691 [BZ #11820]
14692 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14693 (struct user_fpregs_struct): Avoid __uint*_t types.
14694
56e5eb46
UD
14695 [BZ #6420]
14696 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14697 symbol info. Use it instead of calling _dl_addr locally.
14698 (lock_and_info): New function.
14699 (tr_freehook): Call lock_and_info and pass symbol info as additional
14700 parameter to tr_where.
14701 (tr_mallochook): Likewise.
14702 (tr_reallochook): Likewise.
14703 (tr_memalignhook): Likewise.
14704
6ce75379
UD
14705 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14706 used and couldn't be at all thread-safe.
14707
f8a3b5bf
UD
147082011-05-15 Ulrich Drepper <drepper@gmail.com>
14709
94b7cc37
UD
14710 * libio/freopen.c (freopen): Don't close old file descriptor
14711 before the new one is opened. Instead dup the new file descriptor
14712 to the old one after the new stream is created.
14713 * libio/freopen64.c (freopen64): Likewise.
14714 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14715 * libio/fileops.c (_IO_new_file_close_it): Handle new
14716 _IO_FLAGS2_NOCLOSE flag.
14717 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14718 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14719 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14720 _IO_FLAGS2_NOCLOSE flag.
14721 * include/unistd.h: Add hidden_proto for dup3.
14722 Define __have_dup3.
14723 * io/dup3.c: Define hidden symbol.
14724 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14725
bd25564e
UD
14726 [BZ #7101]
14727 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14728 when an incomplete long option is used.
14729 * posix/tst-getopt_long1.c: New file.
14730 * posix/Makefile (tests): Add tst-getopt_long1.
14731
c84cfef4
UD
14732 [BZ #10138]
14733 * scripts/config.guess: Update from autoconf-2.68.
14734 * scripts/config.sub: Likewise.
14735
3b85df27
UD
14736 [BZ #10157]
14737 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14738 tests into ...
14739 (has_cpuclock): ...this. New function.
14740 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14741 macro here based on has_cpuclock code.
14742
15a856b1
UD
14743 [BZ #10149]
14744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14745 First byte (not low byte) is now always NUL.
14746 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14747
05f399e6
UD
14748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14749 Use non-cancelable interfaces.
14750
10a52685 14751 [BZ #9809]
94ecc67d
UD
14752 * locale/iso-639.def: Add entry for Sorani.
14753
f8a3b5bf
UD
14754 [BZ #11901]
14755 * include/stdlib.h: Move include protection to the right place.
14756 Define abort_msg_s. Declare __abort_msg with it.
14757 * stdlib/abort.c (__abort_msg): Adjust type.
14758 * assert/assert.c (__assert_fail_base): New function. Majority
14759 of code from __assert_fail. Allocate memory for __abort_msg with
14760 mmap.
14761 (__assert_fail): Now call __assert_fail_base.
14762 * assert/assert-perr.c: Remove bulk of implementation. Use
14763 __assert_fail_base.
14764 * include/assert.hL Declare __assert_fail_base.
14765 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14766 mmap.
14767 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14768
1af4e298
UD
147692011-05-14 Ulrich Drepper <drepper@gmail.com>
14770
f8a3b5bf 14771 [BZ #11952]
d26dfc60
MG
14772 [BZ #12453]
14773 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14774 until all modules are registered in the DTV.
14775 * elf/Makefile: Add rules to build and run tst-tls19.
14776 * elf/tst-tls19.c: New file.
14777 * elf/tst-tls19mod1.c: New file.
14778 * elf/tst-tls19mod2.c: New file.
14779 * elf/tst-tls19mod3.c: New file.
14780 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14781
2fc54d6f
UD
14782 [BZ #12083]
14783 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14784 correctly.
14785
98d76b46
UD
14786 [BZ #12601]
14787 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14788 two-byte sequence errors.
14789 * iconvdata/Makefile (tests): Add bug-iconv8.
14790 * iconvdata/bug-iconv8.c: New file.
14791
da3c19ef
UD
14792 [BZ #12626]
14793 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14794 buf2 definition.
14795
ca408c15
UD
14796 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14797
d6f67f7d
UD
14798 [BZ #12432]
14799 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14800 (dummy_getcfa): New function.
14801 (init): Get _Unwind_GetCFA address, use dummy if not found.
14802 (backtrace_helper): In recursion check, also check whether CFA changes.
14803 (__backtrace): Completely initialize arg.
14804
1af4e298 14805 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14806 storing incomplete byte sequence in state object. Avoid testing for
14807 guaranteed too small input if we know there is enough data available.
1af4e298 14808
da62f81b
AS
148092011-05-11 Andreas Schwab <schwab@redhat.com>
14810
14811 * Makeconfig (+link-pie): Indent.
14812 * Rules (binaries-pie): Define if $(have-fpie) and
14813 $(build-shared).
14814 (binaries-shared): Also filter out $(binaries-pie).
14815 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14816 * nscd/Makefile (others-pie): Add nscd.
14817 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14818 ($(objpfx)nscd): Remove command override.
14819 * login/Makefile (others-pie): Add pt_chown.
14820 ($(objpfx)pt_chown): Remove command override.
14821 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14822 remove command overrides.
14823
fcabc0f8
UD
148242011-05-13 Ulrich Drepper <drepper@gmail.com>
14825
20030ae6
UD
14826 * libio/tst_putwc.c: Fix error messages.
14827
fcabc0f8
UD
14828 [BZ #12724]
14829 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14830 currently writing and seek to current position when not.
14831 * libio/Makefile (tests): Add bug-fclose1.
14832 * libio/bug-fclose1.c: New file.
14833
320a5dc0
PB
148342011-05-12 Ulrich Drepper <drepper@gmail.com>
14835
14836 [BZ #12511]
14837 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14838 don't set DF_1_NODELETE here.
14839 (do_lookup_x): When entering new entry test for copy relocation
14840 and if necessary set DF_1_NODELETE flag.
14841 * elf/tst-unique4.cc: New file.
14842 * elf/tst-unique4.h: New file.
14843 * elf/tst-unique4lib.cc: New file.
14844 * elf/Makefile: Add rules to build and run tst-unique4.
14845 Patch by Piotr Bury <pbury@goahead.com>.
14846
22836f52
UD
148472011-05-11 Ulrich Drepper <drepper@gmail.com>
14848
f574184a
UD
14849 [BZ #12052]
14850 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14851
e1fb097f
UD
14852 [BZ #12625]
14853 * misc/mntent_r.c (addmntent): Flush the stream after the output
14854
22836f52
UD
14855 [BZ #12393]
14856 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14857 (is_trusted_path_normalize): Skip initial colon. Append slash
14858 to empty buffer. Duplicate is_trusted_path code but allow
14859 constructed patch to be prefix.
14860 (is_dst): Allow $ORIGIN followed by /.
14861 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14862 Correct testing of result of is_trusted_path_normalize
14863 (decompose_rpath): Fix warning.
14864
7b3b0b2a
UD
148652011-05-10 Ulrich Drepper <drepper@gmail.com>
14866
14867 [BZ #11257]
14868 * grp/initgroups.c (internal_getgrouplist): When we found the service
14869 list through the initgroups entry in nsswitch.conf do not always
14870 continue on a successful lookup. Don't always use the
eac80ce2 14871 __nss_group_database value if it is set.
7b3b0b2a
UD
14872 * nss/nsswitch.conf (initgroups): Change action for successful db
14873 lookup to continue for compatibility.
14874
2a81eaa5
UD
148752011-05-09 Ulrich Drepper <drepper@gmail.com>
14876
be97a69e
UD
14877 [BZ #11532]
14878 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14879 and CP774 modules.
14880 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14881 and CP774 modules.
14882 * iconvdata/tst-tables.sh: Likewise.
14883 * iconvdata/cp770.c: New file.
14884 * iconvdata/cp771.c: New file.
14885 * iconvdata/cp772.c: New file.
14886 * iconvdata/cp773.c: New file.
14887 * iconvdata/cp774.c: New file.
14888 * iconvdata/testdata/CP770: New file.
14889 * iconvdata/testdata/CP770..UTF8: New file.
14890 * iconvdata/testdata/CP771: New file.
14891 * iconvdata/testdata/CP771..UTF8: New file.
14892 * iconvdata/testdata/CP772: New file.
14893 * iconvdata/testdata/CP772..UTF8: New file.
14894 * iconvdata/testdata/CP773: New file.
14895 * iconvdata/testdata/CP773..UTF8: New file.
14896 * iconvdata/testdata/CP774: New file.
14897 * iconvdata/testdata/CP774..UTF8: New file.
14898
14899 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14900 END CHARMAP line.
14901 * iconvdata/gen-8bit-gap.sh: Likewise.
14902 * iconvdata/gen-8bit.sh: Likewise.
14903
c1e9e399
UD
14904 * locale/iso-639.def: Add ary entry.
14905
24c55fb3 14906 [BZ #11258]
96b4b1b0
UD
14907 * locale/C-translit.h.in: Add U20A1 transliteration.
14908
bdc2f971
KB
14909 [BZ #12178]
14910 * locale/iso-639.def: Add wae entry.
14911 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14912
2952b117
UD
14913 [BZ #12545]
14914 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14915 for n.
14916
2a81eaa5
UD
14917 [BZ #12711]
14918 * locale/C-translit.h.in: Add entry for U20B9.
14919 Patch by pravin.d.s@gmail.com.
14920
28377d1b
UD
149212011-05-08 Ulrich Drepper <drepper@gmail.com>
14922
7fb90fb8
UD
14923 [BZ #12713]
14924 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14925 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14926 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14927 in rtld. Use *stat64.
7fb90fb8 14928 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14929 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14930 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14931 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14932 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14933 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14934 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14935 __fstatat64 macros.
7fb90fb8
UD
14936 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14937 * dirent/rewinddir.c: Add libc_hidden_def.
14938 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14939 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14940
28377d1b
UD
14941 * include/dirent.h (__alloc_dir): Add flags parameter.
14942 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14943 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14944 __alloc_dir.
14945 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14946 from fdopendir if O_CLOEXEC is already set.
14947
66bdbaa4
AM
149482011-03-15 Alan Modra <amodra@gmail.com>
14949
14950 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14951 l_tls_firstbyte_offset non-zero. Save padding offset in
14952 l_tls_firstbyte_offset for later use.
14953 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14954 freeing static tls block.
14955
95721191
JN
149562011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14957
14958 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14959 where #ifdef was intended. The intent is to prevent ARG_MAX from
14960 being defined by the kernel headers.
14961
f87dfb1f
UD
149622011-05-07 Ulrich Drepper <drepper@gmail.com>
14963
14964 [BZ #12734]
14965 * resolv/resolv.h: Define RES_NOTLDQUERY.
14966 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14967 no-tld-query and set RES_NOTLDQUERY.
14968 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14969 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14970 modern BIND to search name as TLD unless forbidden.
14971
47c3cd7a
UD
149722011-05-07 Petr Baudis <pasky@suse.cz>
14973 Ulrich Drepper <drepper@gmail.com>
14974
14975 [BZ #12393]
14976 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14977 (is_trusted_path): ...to here.
c1e9ea35 14978 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14979 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14980 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14981
8a35c912
PP
149822011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14983
14984 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14985 __BEGIN/__END_DECLS.
14986
acd41f47
UD
149872011-05-06 Ulrich Drepper <drepper@gmail.com>
14988
14989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14990 NSS_STATUS_NOTFOUND if no record was found.
14991
597df647
AS
149922011-05-05 Andreas Schwab <schwab@redhat.com>
14993
14994 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14995 (headers-not-in-tirpc): Remove rpc/netdb.h
14996 * resolv/netdb.h: Revert last change.
14997
b9af1301
PP
149982011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14999
15000 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15001 circular dependency between libgcc.a and libc.a.
15002
4e34d5f5
AS
150032011-05-05 Andreas Schwab <schwab@redhat.com>
15004
15005 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15006 * nis/Makefile: Don't install rpcsvc/*.
15007 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15008 instead of <rpc/types.h>.
15009 (MAXHOSTNAMELEN): Define.
15010
00ee369c
AS
150112011-05-03 Andreas Schwab <schwab@redhat.com>
15012
15013 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15014
0b592a30
MB
150152011-04-28 Maciej Babinski <mbabinski@google.com>
15016
15017 [BZ #12714]
15018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15019 gethostbyname4_r when IPv6 results are possible.
15020
6e04cbbe
UD
150212011-05-02 Ulrich Drepper <drepper@gmail.com>
15022
15023 [BZ #12723]
15024 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15025 _PC_PIPE_BUF handling.
15026
e4ecafe0
BH
150272011-04-30 Bruno Haible <bruno@clisp.org>
15028
15029 [BZ #12717]
15030 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15031 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15032 to 'int'.
15033 * inet/getnameinfo.c (getnameinfo): Likewise.
15034
125ee683
UD
150352011-04-29 Ulrich Drepper <drepper@gmail.com>
15036
15037 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15038 to groups setting in database lookup.
15039 * nss/nsswitch.conf: Add initgroups entry.
15040
b722481a
EB
150412011-04-22 Ulrich Drepper <drepper@gmail.com>
15042
15043 [BZ #12685]
15044 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15045 mode string.
15046 Patch by Eric Blake <eblake@redhat.com>.
15047
4df46dbd
L
150482011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15049
15050 * sunrpc/Makefile (need-export-routines): Add svc_run.
15051 (routines): Remove svc_run.
15052 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15053 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15054 * sunrpc/svc_run.c (svc_run): Likewise.
15055 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15056
e84142d2
UD
150572011-04-21 Ulrich Drepper <drepper@gmail.com>
15058
15059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15060 problem in reallocation in last patch.
15061
877175d8
UD
150622011-04-20 Ulrich Drepper <drepper@gmail.com>
15063
15064 * sunrpc/Makefile: Move inclusion of Rules.
15065
ab8eed78
UD
150662011-04-19 Ulrich Drepper <drepper@gmail.com>
15067
15068 * nss/nss_files/files-initgroups.c: New file.
15069 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15070 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15071 _nss_files_initgroups_dyn.
15072
e3d8f584
RS
150732011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15074
15075 * elf/elf.h (R_ARM_IRELATIVE): Define.
15076
af190f45
UD
150772011-04-19 Ulrich Drepper <drepper@gmail.com>
15078
15079 * po/ru.po: Update from translation team.
15080
53cf59ef
UD
150812011-04-17 Ulrich Drepper <drepper@gmail.com>
15082
15083 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15084 dependencies.
15085
4c559bcd
MF
150862011-02-06 Mike Frysinger <vapier@gentoo.org>
15087
15088 [BZ #12653]
15089 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15090 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15091 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15094
4420675c
AS
150952011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15096
15097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15098 differing bytes.
15099 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15102
75ea32ab
UD
151032011-04-17 Ulrich Drepper <drepper@gmail.com>
15104
15105 [BZ #12420]
15106 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15107 storing it.
15108 * stdlib/bug-getcontext.c: New file.
15109 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15110
27390476
AK
151112011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15112
15113 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15114 instructions into .machine "z9-109".
15115 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15116 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15117
10442705
AK
151182011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15119
15120 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15121 between environment variables and auxiliary vector.
15122
7b57bfe5
UD
151232011-04-16 Ulrich Drepper <drepper@gmail.com>
15124
15125 * Makefile: Add rules to build linkobj/libc.so.
15126 * include/libc-symbols.h: Define libc_hidden_nolink.
15127 * include/rpc/auth.h: Mark functions which are to be hidden.
15128 * include/rpc/auth_des.h: Likewise.
15129 * include/rpc/auth_unix.h: Likewise.
15130 * include/rpc/clnt.h: Likewise.
15131 * include/rpc/des_crypt.h: Likewise.
15132 * include/rpc/key_prot.h: Likewise.
15133 * include/rpc/pmap_clnt.h: Likewise.
15134 * include/rpc/pmap_prot.h: Likewise.
15135 * include/rpc/pmap_rmt.h: Likewise.
15136 * include/rpc/rpc_msg.h: Likewise.
15137 * include/rpc/svc.h: Likewise.
15138 * include/rpc/svc_auth.h: Likewise.
15139 * include/rpc/xdr.h: Likewise.
15140 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15141 * nss/Makefile: Likewise.
15142 * sunrpc/Makefile: Don't install headers. Build library with normal
15143 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15144 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15145 for the compat linking library. Remove use of INTDEF/INTUSE.
15146 * sunrpc/auth_none.c: Likewise.
15147 * sunrpc/auth_unix.c: Likewise.
15148 * sunrpc/authdes_prot.c: Likewise.
15149 * sunrpc/authuxprot.c: Likewise.
15150 * sunrpc/clnt_gen.c: Likewise.
15151 * sunrpc/clnt_perr.c: Likewise.
15152 * sunrpc/clnt_raw.c: Likewise.
15153 * sunrpc/clnt_simp.c: Likewise.
15154 * sunrpc/clnt_tcp.c: Likewise.
15155 * sunrpc/clnt_udp.c: Likewise.
15156 * sunrpc/clnt_unix.c: Likewise.
15157 * sunrpc/des_crypt.c: Likewise.
15158 * sunrpc/des_soft.c: Likewise.
15159 * sunrpc/get_myaddr.c: Likewise.
15160 * sunrpc/key_call.c: Likewise.
15161 * sunrpc/key_prot.c: Likewise.
15162 * sunrpc/netname.c: Likewise.
15163 * sunrpc/pm_getmaps.c: Likewise.
15164 * sunrpc/pm_getport.c: Likewise.
15165 * sunrpc/pmap_clnt.c: Likewise.
15166 * sunrpc/pmap_prot.c: Likewise.
15167 * sunrpc/pmap_prot2.c: Likewise.
15168 * sunrpc/pmap_rmt.c: Likewise.
15169 * sunrpc/publickey.c: Likewise.
15170 * sunrpc/rpc_cmsg.c: Likewise.
15171 * sunrpc/rpc_common.c: Likewise.
15172 * sunrpc/rpc_dtable.c: Likewise.
15173 * sunrpc/rpc_prot.c: Likewise.
15174 * sunrpc/rpc_thread.c: Likewise.
15175 * sunrpc/rtime.c: Likewise.
15176 * sunrpc/svc.c: Likewise.
15177 * sunrpc/svc_auth.c: Likewise.
15178 * sunrpc/svc_authux.c: Likewise.
15179 * sunrpc/svc_raw.c: Likewise.
15180 * sunrpc/svc_run.c: Likewise.
15181 * sunrpc/svc_simple.c: Likewise.
15182 * sunrpc/svc_tcp.c: Likewise.
15183 * sunrpc/svc_udp.c: Likewise.
15184 * sunrpc/svc_unix.c: Likewise.
15185 * sunrpc/svcauth_des.c: Likewise.
15186 * sunrpc/xcrypt.c: Likewise.
15187 * sunrpc/xdr.c: Likewise.
15188 * sunrpc/xdr_array.c: Likewise.
15189 * sunrpc/xdr_float.c: Likewise.
15190 * sunrpc/xdr_intXX_t.c: Likewise.
15191 * sunrpc/xdr_mem.c: Likewise.
15192 * sunrpc/xdr_rec.c: Likewise.
15193 * sunrpc/xdr_ref.c: Likewise.
15194 * sunrpc/xdr_sizeof.c: Likewise.
15195 * sunrpc/xdr_stdio.c: Likewise.
15196
e6c61494
UD
151972011-04-10 Ulrich Drepper <drepper@gmail.com>
15198
15199 [BZ #12650]
15200 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15201 * sysdeps/ia64/dl-tls.h: Likewise.
15202 * sysdeps/powerpc/dl-tls.h: Likewise.
15203 * sysdeps/s390/dl-tls.h: Likewise.
15204 * sysdeps/sh/dl-tls.h: Likewise.
15205 * sysdeps/sparc/dl-tls.h: Likewise.
15206 * sysdeps/x86_64/dl-tls.h: Likewise.
15207 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15208
34fe483e
AS
152092011-03-14 Andreas Schwab <schwab@redhat.com>
15210
15211 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15212 rpath element also skip the following colon.
15213 (expand_dynamic_string_token): Add is_path parameter and pass
15214 down to DL_DST_REQUIRED and _dl_dst_substitute.
15215 (decompose_rpath): Call expand_dynamic_string_token with
15216 non-zero is_path. Ignore empty rpaths.
15217 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15218 with zero is_path.
15219
f12a32e6
AS
152202011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15221
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15223 Make cancelable.
15224
38a7d692
UD
152252011-04-09 Ulrich Drepper <drepper@gmail.com>
15226
15227 [BZ #12655]
15228 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15229 Patch by Filipe David Manana <fdmanana@apache.org>.
15230
e451d22b
AS
152312011-04-07 Andreas Schwab <schwab@redhat.com>
15232
15233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15234 Maintain aligned stack.
15235 (CHECK_RSP): Remove unused macro.
15236
dedc7c7b
UD
152372011-04-03 Ulrich Drepper <drepper@gmail.com>
15238
15239 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15240 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15241
94521213
UD
152422011-04-02 Ulrich Drepper <drepper@gmail.com>
15243
15244 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15245
8cb700c0 15246 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15247
0354e355
L
152482011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 [BZ #12518]
15251 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15252 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15253 * sysdeps/x86_64/memmove.c: New file.
15254 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15255 (memcpy): Renamed to ...
15256 (__new_memcpy): This.
15257 (memcpy): Provide GLIBC_2_14 memcpy.
15258 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15259 (memcpy): Provide GLIBC_2_2_5 memcpy.
15260
8593482f
UD
152612011-04-01 Ulrich Drepper <drepper@gmail.com>
15262
15263 [BZ #12631]
15264 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15265
81a5726b
AS
152662011-03-30 Andreas Schwab <schwab@redhat.com>
15267
15268 * misc/syncfs.c: New file.
15269 * misc/Makefile (routines): Add syncfs.
15270 * posix/unistd.h: Declare syncfs.
15271 * sysdeps/unix/syscalls.list: Add syncfs.
15272
00e5419f
AS
152732011-04-01 Andreas Schwab <schwab@redhat.com>
15274
15275 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15276 open_by_handle_at.
15277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15278 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15282 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15284
748876bf
UD
152852011-04-01 Ulrich Drepper <drepper@gmail.com>
15286
658e451d
UD
15287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15290 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15291 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15294
748876bf
UD
15295 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15296 sync_file_range.c with -fexceptions.
15297 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15298 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15299 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15300 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15301 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15302 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15304 sync_file_range as cancellation point
15305 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15306 now a wrapper around __call_sync_file_range with cancellation handling.
15307 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15308 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15309 function name to __call_sync_file_range.
15310 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15311 Add call_sync_file_range.
748876bf 15312
6e63d5e1
AS
153132011-04-01 Andreas Schwab <schwab@redhat.com>
15314
15315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15316 bits/timex.h.
6e63d5e1 15317
46998f74
UD
153182011-04-01 Ulrich Drepper <drepper@gmail.com>
15319
4c1423ed
UD
15320 * iconv/iconv.h: Fix typo in comment.
15321 * io/fcntl.h: Likewise.
15322 * libio/stdio.h: Likewise.
15323 * posix/spawn.h: Likewise.
15324 * posix/unistd.h: Likewise.
15325 * stdlib/stdlib.h: Likewise.
15326 * time/time.h: Likewise.
15327 * wcsmbs/wchar.h: Likewise.
15328
158648c0
UD
15329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15330 open_by_handle): Add.
15331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15332 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15333 Augment a few comments.
15334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15339 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15340 open_by_handle.
15341
46998f74
UD
15342 * io/fcntl.h (AT_EMPTY_PATH): Define.
15343
83fe108b
UD
153442011-03-30 Ulrich Drepper <drepper@gmail.com>
15345
15346 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15347 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15348 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15349 to...
15350 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15351 * Versions.def: Add GLIBC_2.14.
15352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15353 Export.
83fe108b 15354
bb242059
UD
153552011-03-22 Ulrich Drepper <drepper@gmail.com>
15356
15357 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15358 round counter.
15359 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15360
c97a1282
L
153612011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15362
15363 [BZ #12597]
15364 * string/test-strncmp.c (do_page_test): New function.
15365 (check2): Likewise.
15366 (test_main): Call check2.
15367 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15368
2a115601
UD
153692011-03-20 Ulrich Drepper <drepper@gmail.com>
15370
15371 [BZ #12587]
15372 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15373 Handle cache information in CPU leaf 4.
15374 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15375
8126d904
UD
153762011-03-18 Ulrich Drepper <drepper@gmail.com>
15377
042c49c6 15378 [BZ #12583]
8126d904
UD
15379 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15380 character representation.
15381 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15382
ccfe366e
RA
153832011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15384
15385 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15386 END(__isnan) to END(__isnanf) to match function entry point/label
15387 EALIGN(__isnanf,...).
15388
c6e13027
JJ
153892011-03-10 Jakub Jelinek <jakub@redhat.com>
15390
15391 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15392
33f85a3f
UD
153932011-03-10 Ulrich Drepper <drepper@gmail.com>
15394
028478fa
UD
15395 [BZ #12510]
15396 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15397 copy from the symbol referenced in the relocation to initialize the
15398 used variable.
15399 Patch by Piotr Bury <pbury@goahead.com>.
15400 * elf/Makefile: Add rules to build and tst-unique3.
15401 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15402 * elf/tst-unique3.cc: New file.
15403 * elf/tst-unique3.h: New file.
15404 * elf/tst-unique3lib.cc: New file.
15405 * elf/tst-unique3lib2.cc: New file.
15406
33f85a3f
UD
15407 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15408
03592fc7
MF
154092011-03-10 Mike Frysinger <vapier@gentoo.org>
15410
15411 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15412 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15413 to _start.
03592fc7 15414
6a5ee102
UD
154152011-03-06 Ulrich Drepper <drepper@gmail.com>
15416
15417 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15418 to-be-loaded object along a path to loader is ld.so.
15419
7e4ba49c
HJ
154202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15421 Ulrich Drepper <drepper@gmail.com>
15422
15423 * sysdeps/x86_64/memset.S: After aligning destination, code
15424 branches to different locations depending on the value of
15425 misalignment, when multiarch is enabled. Fix this.
15426
154272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15428
15429 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15430 Set _x86_64_preferred_memory_instruction for AMD processsors.
15431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15432 Set bit_Prefer_SSE_for_memop for AMD processors.
15433
13a804de
UD
154342011-03-04 Ulrich Drepper <drepper@gmail.com>
15435
15436 * libio/fmemopen.c (fmemopen): Optimize a bit.
15437
9d25c392
AS
154382011-03-03 Andreas Schwab <schwab@redhat.com>
15439
15440 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15441
a5543c6a
RM
154422011-03-03 Roland McGrath <roland@redhat.com>
15443
15444 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15445
012d35f7
DM
154462011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15447
7e4ba49c 15448 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15449 __bzero_ultra1 instead of __memset_ultra1.
15450
4bff6e01
AS
154512011-02-23 Andreas Schwab <schwab@redhat.com>
15452 Ulrich Drepper <drepper@gmail.com>
15453
15454 [BZ #12509]
15455 * include/link.h (struct link_map): Add l_orig_initfini.
15456 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15457 returning unsuccessfully.
15458 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15459 close of a file loaded at startup, restore the original l_initfini
15460 list.
15461 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15462 list, store the pointer.
15463 * elf/Makefile ($(objpfx)noload-mem): New rule.
15464 (noload-ENV): Define.
15465 (tests): Add $(objpfx)noload-mem.
15466 * elf/noload.c: Include <memcheck.h>.
15467 (main): Call mtrace. Close all opened handles.
15468
f2092faf
AS
154692011-02-17 Andreas Schwab <schwab@redhat.com>
15470
15471 [BZ #12454]
15472 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15473 dependencies are missing.
15474
6c8a2e88
ST
154752011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15476
f2092faf 15477 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15478 Hurd needs munmap.
15479 * sysdeps/mach/hurd/ifreq.h: New file.
15480
84a42118
PB
154812011-01-27 Petr Baudis <pasky@suse.cz>
15482 Ulrich Drepper <drepper@gmail.com>
15483
071f805e 15484 [BZ 12445]#
84a42118
PB
15485 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15486 to extend_alloca().
15487 * stdio-common/bug23.c: New file.
15488 * stdio-common/Makefile (tests): Add bug23.
15489
e23fe25b
AS
154902010-09-28 Andreas Schwab <schwab@redhat.com>
15491 Ulrich Drepper <drepper@gmail.com>
15492
15493 [BZ #12489]
15494 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15495 before performing relro protection. At old place add assertion
15496 to make sure nothing changed.
15497
d3f02e10
NS
154982011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15499 Glauber de Oliveira Costa <glommer@gmail.com>
15500
15501 * elf/elf.h: Add new ARM TLS relocs.
15502
d55fd7a5
RA
155032011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15504
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15506 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15507 cast from r3.
15508 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15509 'tests' variable.
15510 * sysdeps/wordsize-64/tst-writev.c: New file.
15511
2206397e
RA
155122011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15513
15514 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15515 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15516 insns in _dl_start to prevent a TOC reference before relocs are
15517 resolved.
15518
e9433893
UD
155192011-02-15 Ulrich Drepper <drepper@gmail.com>
15520
15521 [BZ #12469]
15522 * Makeconfig: Remove RANLIB definition.
15523 * Makerules: Don't use RANLIB.
15524 * aclocal.m4: Remove ranlib test.
15525 * configure.in: No need to check for ranlib.
15526 * elf/rtld-Rules: Don't use RANLIB.
15527
f75286c6
ST
155282011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15529
8e31c82d
ST
15530 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15531 protection macro.
15532 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15533 inclusion protection macro.
15534
f75286c6
ST
15535 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15536 SIGRTMIN and SIGRTMAX and print information in that case only when
15537 SIGRTMIN is defined.
15538
c1d0e639
JJ
155392011-02-11 Jakub Jelinek <jakub@redhat.com>
15540
15541 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15542 arginfo fn returning -1.
15543
15544 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15545 and thousands string is zero terminated.
15546
edf9294e
AS
155472011-02-03 Andreas Schwab <schwab@redhat.com>
15548
15549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15550 sysdeps/unix/sysv/linux/bits/socket.h.
15551
2b7e92df
ST
155522011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15553
edf9294e
AS
15554 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15555 (__CPU_COUNT): Remove old macros.
15556 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15557 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15558 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15559 (__sched_cpualloc, __sched_cpufree): Add declarations.
15560
a4c7ea7b
UD
155612011-02-05 Ulrich Drepper <drepper@gmail.com>
15562
15563 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15564 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15565 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15566 (readdhstai): Return value of addhstaiX call.
15567 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15568 (addgrbyX): Return value returned by cache_addgr.
15569 (readdgrbyname): Return value returned by addgrbyX.
15570 (readdgrbygid): Likewise.
15571 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15572 (addpwbyX): Return value returned by cache_addpw.
15573 (readdpwbyname): Return value returned by addhstbyX.
15574 (readdpwbyuid): Likewise.
15575 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15576 (addservbyX): Return value returned by cache_addserv.
15577 (readdservbyname): Return value returned by addservbyX:
15578 (readdservbyport): Likewise.
15579 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15580 (addhstbyX): Return value returned by cache_addhst.
15581 (readdhstbyname): Return value returned by addhstbyX.
15582 (readdhstbyaddr): Likewise.
15583 (readdhstbynamev6): Likewise.
15584 (readdhstbyaddrv6): Likewise.
15585 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15586 (readdinitgroups): Return value returned by addinitgroupsX.
15587 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15588 (prune_cache): Keep track of timeout value of re-added entries.
15589 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15590 * nscd/nscd.h: Adjust prototypes of readd* functions.
15591
a0bf67cc
RM
155922011-02-04 Roland McGrath <roland@redhat.com>
15593
15594 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15595 (nis_stats): Likewise.
15596 * nis/nis_modify.c (nis_modify): Likewise.
15597 * nis/nis_remove.c (nis_remove): Likewise.
15598 * nis/nis_add.c (nis_add): Likewise.
15599
15600 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15601
15602 * posix/fnmatch_loop.c: Add some consts.
15603
15604 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15605
435b95eb
L
156062011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15607
15608 [BZ #12460]
15609 * config.make.in (config-cflags-novzeroupper): Define.
15610 * configure.in: Substitute libc_cv_cc_novzeroupper.
15611 * elf/Makefile (AVX-CFLAGS): Define.
15612 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15613 (CFLAGS-tst-auditmod4a.c): Likewise.
15614 (CFLAGS-tst-auditmod4b.c): Likewise.
15615 (CFLAGS-tst-auditmod6b.c): Likewise.
15616 (CFLAGS-tst-auditmod6c.c): Likewise.
15617 (CFLAGS-tst-auditmod7b.c): Likewise.
15618 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15619
8517b15e
UD
156202011-02-02 Ulrich Drepper <drepper@gmail.com>
15621
15622 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15623 function to the callback.
15624 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15625
10a656fe
AS
156262011-02-02 Andreas Schwab <schwab@redhat.com>
15627
15628 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15629 of errno.
15630
968dad0a
UD
156312011-01-19 Ulrich Drepper <drepper@gmail.com>
15632
9f94d2ea 15633 [BZ #11724]
968dad0a
UD
15634 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15635 of constructors.
15636 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15637 of destructors.
15638 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15639
15640 [BZ #11724]
15641 * elf/Makefile: Add rules to build and run new test.
15642 * elf/tst-initorder.c: New file.
15643 * elf/tst-initorder.exp: New file.
15644 * elf/tst-initordera1.c: New file.
15645 * elf/tst-initordera2.c: New file.
15646 * elf/tst-initordera3.c: New file.
15647 * elf/tst-initordera4.c: New file.
15648 * elf/tst-initorderb1.c: New file.
15649 * elf/tst-initorderb2.c: New file.
15650 * elf/tst-order-a1.c: New file.
15651 * elf/tst-order-a2.c: New file.
15652 * elf/tst-order-a3.c: New file.
15653 * elf/tst-order-a4.c: New file.
15654 * elf/tst-order-b1.c: New file.
15655 * elf/tst-order-b2.c: New file.
15656 * elf/tst-order-main.c: New file.
15657 New test case by George Gensure <werkt0@gmail.com>.
15658
86e92359
UD
156592010-10-01 Andreas Schwab <schwab@redhat.com>
15660
15661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15662 decoding ACE if AI_CANONIDN.
15663
5d5732b0
UD
156642011-01-18 Ulrich Drepper <drepper@gmail.com>
15665
15666 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15667
a77e8cbc
UD
156682011-01-17 Ulrich Drepper <drepper@gmail.com>
15669
6392473f
UD
15670 * version.h (RELEASE): Bump for 2.13 release.
15671 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15672
620a0529
UD
15673 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15674
18ba70a5
UD
15675 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15676 MADV_NOHUGEPAGE.
32465c3e
UD
15677 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15678 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15679 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15680 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15681 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15682 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15683
c0dafcf1
UD
15684 * posix/getconf.c: Update copyright year.
15685 * catgets/gencat.c: Likewise.
15686 * csu/version.c: Likewise.
15687 * debug/catchsegv.sh: Likewise.
15688 * debug/xtrace.sh: Likewise.
15689 * elf/ldconfig.c: Likewise.
15690 * elf/ldd.bash.in: Likewise.
15691 * elf/sprof.c (print_version): Likewise.
15692 * iconv/iconv_prog.c: Likewise.
15693 * iconv/iconvconfig.c: Likewise.
15694 * locale/programs/locale.c: Likewise.
15695 * locale/programs/localedef.c: Likewise.
15696 * malloc/memusage.sh: Likewise.
15697 * malloc/mtrace.pl: Likewise.
15698 * nscd/nscd.c (print_version): Likewise.
15699 * nss/getent.c: Likewise.
15700
a77e8cbc
UD
15701 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15702 PF_CAIF, and PF_ALG.
15703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15704
77e8bddf
AS
157052011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15706
1f20b93a
AS
15707 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15708 (modules-names): Use them.
15709 (ifunc-test-modules, ifunc-pie-tests): Define.
15710 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15711 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15712 (test-extras): Likewise.
15713 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15714 $(compile-command.c).
15715 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15716 (all-built-dso): Define.
15717 (check-textrel.out, check-execstack.out): Depend on it.
15718
77e8bddf
AS
15719 * configure.in: Don't override --enable-multi-arch.
15720
bc425b33
UD
157212011-01-15 Ulrich Drepper <drepper@gmail.com>
15722
15723 [BZ #6812]
15724 * nscd/hstcache.c (tryagain): Define.
15725 (cache_addhst): Return tryagain not notfound for temporary errors.
15726 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15727 failed.
15728
794c3ad3
UD
157292011-01-14 Ulrich Drepper <drepper@gmail.com>
15730
70181fdd
UD
15731 [BZ #10563]
15732 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15733 to make the syscall.
15734 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15735
794c3ad3
UD
15736 [BZ #12378]
15737 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15738 and fall back to matching as normal character if the string ends before
15739 the matching ']' is found. This is what POSIX requires.
15740 * posix/testfnm.c: Adjust test result.
15741 * posix/globtest.sh: Adjust test result. Add new test.
15742 * posix/tst-fnmatch.input: Likewise.
15743 * posix/tst-fnmatch2.c: Add new test.
15744
68dc9497
AS
157452010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15746
15747 * elf/Makefile (check-execstack): Revert last change. Depend on
15748 check-execstack.h.
15749 (check-execstack.h): New target.
15750 (generated): Add check-execstack.h.
15751 * elf/check-execstack.c: Include "check-execstack.h".
15752 (main): Revert last change.
15753 (handle_file): Return zero if GNU_STACK is absent and
15754 DEFAULT_STACK_PERMS doesn't include PF_X.
15755
451f001b
UD
157562011-01-13 Ulrich Drepper <drepper@gmail.com>
15757
cfa28e56
UD
15758 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15759 in child fails because the descriptor is already closed.
8cf8ce17
UD
15760 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15761 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15762 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15763
1086d70d
UD
15764 [BZ #12397]
15765 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15766 syscall.
15767
451f001b
UD
15768 [BZ #10484]
15769 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15770 temporary buffer used to handle multi lookups locally.
a85b5cb4 15771 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15772
08769175
UD
157732011-01-12 Ulrich Drepper <drepper@gmail.com>
15774
15775 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15776 loader is ld.so.
15777
5e49c52e
UD
157782011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15779
15780 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15781 alignment for SSE2.
15782
60522a5f
UD
157832011-01-12 Ulrich Drepper <drepper@gmail.com>
15784
15785 [BZ #12394]
15786 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15787 characters. When rounding increased number of integer digits recompute
15788 number of groups.
15789 * stdio-common/tst-grouping.c: New file.
15790 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15791
f257bbd7
UD
157922011-01-09 Ulrich Drepper <drepper@gmail.com>
15793
15794 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15795 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15796
15797 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15798 void.
15799 * bits/select.h: Likewise.
15800
fa9c15cb
UD
158012011-01-08 Ulrich Drepper <drepper@gmail.com>
15802
15803 * po/ja.po: Update from translation team.
15804
16c2895f
DM
158052011-01-04 David S. Miller <davem@sunset.davemloft.net>
15806
15807 [BZ #11155]
15808 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15809 implementation just like for lxstat, fxstatat, et al.
15810
2543fef2
JM
158112010-12-27 Jim Meyering <meyering@redhat.com>
15812
15813 [BZ #12348]
15814 * posix/regexec.c (build_trtable): Return failure indication upon
15815 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15816
98727dbe
UD
158172010-12-25 Ulrich Drepper <drepper@gmail.com>
15818
5bd6dc5c
UD
15819 [BZ #12201]
15820 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15821 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15822 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15824
97983464
UD
15825 [BZ #12207]
15826 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15827
98727dbe
UD
15828 [BZ #12204]
15829 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15830 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15831
4a531bb0
L
158322010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15835 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15836 script has SORT_BY_INIT_PRIORITY.
15837 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15838 NO_CTORS_DTORS_SECTIONS is defined.
15839 * elf/soinit.c: Likewise.
15840 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15841 NO_CTORS_DTORS_SECTIONS is defined.
15842 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15843 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15844 * sysdeps/sh/init-first.c: Likewise.
15845 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15846
07eb4b71
UD
158472010-12-24 Ulrich Drepper <drepper@gmail.com>
15848
15849 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15850 always use the slow path.
15851
30950a5f
RA
158522010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15853
15854 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15855 similar rule which adds the sysdep directories to the header search in
15856 order to pick up the correct platform stackinfo.h.
15857 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15858 perform test if it is, otherwise return successfully without testing.
15859 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15860 DEFAULT_STACK_PERMS define in stackinfo.h.
15861 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15862 defined in stackinfo.h.
15863 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15864 DEFAULT_STACK_PERMS defined in stackinfo.h.
15865 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15866 * sysdeps/ia64/stackinfo.h: Likewise.
15867 * sysdeps/s390/stackinfo.h: Likewise.
15868 * sysdeps/sh/stackinfo.h: Likewise.
15869 * sysdeps/sparc/stackinfo.h: Likewise.
15870 * sysdeps/x86_64/stackinfo.h: Likewise.
15871 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15872 PF_X for powerpc64. Retain PF_X for powerpc32.
15873
db753e2c
UD
158742010-12-19 Ulrich Drepper <drepper@gmail.com>
15875
14b697f7
UD
15876 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15877 accurately.
db753e2c
UD
15878 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15879 GETDENTS_64BIT_ALIGNED.
15880
28300719
UD
158812010-12-14 Ulrich Drepper <dreper@gmail.com>
15882
14b697f7 15883 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15884
4f197237
AS
158852010-12-10 Andreas Schwab <schwab@redhat.com>
15886
dbb0472f
AS
15887 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15888 _GNU_SOURCE.
15889
4f197237
AS
15890 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15891 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15892 Remove __restrict.
15893 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15894 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15895
fb88ac72
UD
158962010-12-09 Ulrich Drepper <drepper@gmail.com>
15897
15898 [BZ #11655]
15899 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15900 are initialized.
15901
42acbb92
JJ
159022010-12-09 Jakub Jelinek <jakub@redhat.com>
15903
15904 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15905
c038d98d
UD
159062010-12-03 Ulrich Drepper <drepper@gmail.com>
15907
15908 * po/it.po: Update from translation team.
15909
3a4a2499
L
159102010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15913 unused codes.
15914
1e24cf6e
UD
159152010-11-30 Ulrich Drepper <drepper@gmail.com>
15916
15917 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15918
a7690819
AS
159192010-11-24 Andreas Schwab <schwab@redhat.com>
15920
15921 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15922 specially.
15923 (gaih_getanswer_slice): Likewise.
15924
3bf8d1b1
JJ
159252010-10-20 Jakub Jelinek <jakub@redhat.com>
15926
15927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15928
6db52fbb
PB
159292010-05-31 Petr Baudis <pasky@suse.cz>
15930
15931 [BZ #11149]
15932 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15933 silently even in the chroot mode.
15934
eaca7569
UD
159352010-11-22 Ulrich Drepper <drepper@gmail.com>
15936
15937 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15938 last patch a bit. Pretty printing
15939
3056dcdb
UD
159402010-05-31 Petr Baudis <pasky@suse.cz>
15941
15942 [BZ #10085]
15943 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15944 initialization of skip_initgroups_dyn.
15945
cf7c9078
UD
159462010-11-19 Ulrich Drepper <drepper@gmail.com>
15947
15948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15950
a1fb5e3e
UD
159512010-11-16 Ulrich Drepper <drepper@gmail.com>
15952
15953 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15954
3540d66b
AS
159552010-11-11 Andreas Schwab <schwab@redhat.com>
15956
15957 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15958 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15959 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15960 ($(objpfx)tst-fnmatch-mem): New rule.
15961 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15962 * posix/tst-fnmatch.c (main): Call mtrace.
15963
13b69574
L
159642010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15965
15966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15967 Support Intel processor model 6 and model 0x2c.
15968
da93d214
LM
159692010-11-10 Luis Machado <luisgpm@br.ibm.com>
15970
15971 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15972 signed comparison.
15973
8ca52c6e
L
159742010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 [BZ #12205]
15977 * string/test-strncasecmp.c (check_result): New function.
15978 (do_one_test): Use it.
15979 (check1): New function.
15980 (test_main): Use it.
15981 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15982 Support strcasecmp and strncasecmp.
15983
69da074d
UD
159842010-11-08 Ulrich Drepper <drepper@gmail.com>
15985
15986 [BZ #12194]
15987 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15988 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15989
ff02d528
L
159902010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15991
15992 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15993 IFUNC support.
15994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15995 memset-x86-64.
15996 * sysdeps/x86_64/multiarch/bzero.S: New file.
15997 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15998 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15999 * sysdeps/x86_64/multiarch/memset.S: New file.
16000 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16002 Set bit_Prefer_SSE_for_memop for Intel processors.
16003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16004 Define.
16005 (index_Prefer_SSE_for_memop): Define.
16006 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16007
344d0b54
LM
160082010-11-04 Luis Machado <luisgpm@br.ibm.com>
16009
16010 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16011 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16012
c0dde15b
UD
160132010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16014
16015 [BZ #12191]
16016 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16017 (__x86_64_raw_data_cache_size_half): Likewise.
16018 (__x86_64_raw_shared_cache_size): Likewise.
16019 (__x86_64_raw_shared_cache_size_half): Likewise.
16020
16021 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16022 (__x86_64_raw_data_cache_size_half): Likewise.
16023 (__x86_64_raw_shared_cache_size): Likewise.
16024 (__x86_64_raw_shared_cache_size_half): Likewise.
16025 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16026 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16027 and __x86_64_raw_shared_cache_size_half. Round
16028 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16029 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16030 to multiple of 256 bytes.
16031
0e516e0e
MS
160322010-11-03 Ulrich Drepper <drepper@gmail.com>
16033
16034 [BZ #12167]
16035 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16036 of inacessible symlinks. Verify result of symlink before returning it.
16037 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16038 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16039
0e012e87
ER
160402010-10-28 Erich Ritz <erichritz@gmail.com>
16041
16042 * math/math.h (isinf): Fix typo in comment.
16043
de0ff7bc
UD
160442010-11-01 Ulrich Drepper <drepper@gmail.com>
16045
16046 * po/da.po: Update from translation team.
16047
fa41c84d
UD
160482010-10-26 Ulrich Drepper <drepper@gmail.com>
16049
16050 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16051 is added to the list.
16052
f0967738
AK
160532010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16054 Ulrich Drepper <drepper@gmail.com>
16055
16056 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16057 the global list here. Move code to...
16058 (_dl_add_to_namespace_list): ...here. New function.
16059 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16060 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16061 * elf/dl-load.c (lose): Don't remove the element from the list.
16062 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16063 (_dl_map_object): Likewise.
16064
160652010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16066
16067 [BZ #12159]
16068 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16069 into all bytes of SSE register.
16070 Patch by Richard Li <richardpku@gmail.com>.
16071
f0967738 160722010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16073
16074 [BZ #12140]
16075 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16076 perturbing.
16077
d0b9e94f
MB
160782010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16079
16080 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16081 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16083 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16085 submachine.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16087
8e9f92e9
AS
160882010-10-22 Andreas Schwab <schwab@redhat.com>
16089
16090 * include/dlfcn.h (__RTLD_SECURE): Define.
16091 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16092 mode & __RTLD_SECURE instead.
16093 (open_path): Rename preloaded parameter to secure.
16094 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16095 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16096 * elf/dl-deps.c (openaux): Likewise.
16097 * elf/rtld.c (struct map_args): Remove is_preloaded.
16098 (map_doit): Don't use it.
16099 (dl_main): Likewise.
16100 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16101 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16102
bc96fbda
AS
161032010-09-09 Andreas Schwab <schwab@redhat.com>
16104
16105 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16106 (sysd-rules-targets): Remove duplicates.
16107 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16108 rtld-%.$o dependency.
16109
22cd1c9b
AS
161102010-10-18 Andreas Schwab <schwab@redhat.com>
16111
16112 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16113 _dl_map_object do it.
16114
18edac48
UD
161152010-10-19 Ulrich Drepper <drepper@gmail.com>
16116
16117 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16118 fast fma builtins, define the macros in the C99 standard.
16119 (FP_FAST_FMAF): Likewise.
16120 (FP_FAST_FMAL): Likewise.
16121 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16122
16123 * bits/mathdef.h: Update copyright year.
16124 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16125
d2050124
MM
161262010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16127
16128 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16129 builtins, define the macros in the C99 standard.
16130 (FP_FAST_FMAF): Likewise.
16131 (FP_FAST_FMAL): Likewise.
16132 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16133 multiply/add.
16134 (FP_FAST_FMAF): Likewise.
16135
475facd1
JJ
161362010-10-15 Jakub Jelinek <jakub@redhat.com>
16137
16138 [BZ #3268]
16139 * math/libm-test.inc (fma_test): Some new testcases.
16140 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16141 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16142 y and infinite z. Do multiplication by C already in long double.
16143 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16145 y and infinite z. Do bitwise or of inexact bit into u.d.
16146 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16147 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16148 * sysdeps/i386/fpu/s_fma.S: Removed.
16149 * sysdeps/i386/fpu/s_fmal.S: Removed.
16150
7c08a05c
JJ
161512010-10-16 Jakub Jelinek <jakub@redhat.com>
16152
16153 [BZ #3268]
16154 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16156 computation is not scheduled after fetestexcept. Fix value
16157 of minimum denormal long double.
16158
f3f7372d
JJ
161592010-10-14 Jakub Jelinek <jakub@redhat.com>
16160
16161 [BZ #3268]
16162 * math/libm-test.inc (fma_test): Add some more tests.
16163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16164 correctly.
16165
14d43591
AS
161662010-10-15 Andreas Schwab <schwab@redhat.com>
16167
16168 * scripts/data/localplt-s390-linux-gnu.data: New file.
16169 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16170
5e908464
JJ
161712010-10-13 Jakub Jelinek <jakub@redhat.com>
16172
16173 [BZ #3268]
16174 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16175 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16176 instead of dbl-64.
16177 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16178 inlines.
16179 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16181 if one of x and y is very large and the other is subnormal.
16182 * sysdeps/s390/fpu/s_fmaf.c: New file.
16183 * sysdeps/s390/fpu/s_fma.c: New file.
16184 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16185 * sysdeps/powerpc/fpu/s_fma.S: New file.
16186 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16187 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16188 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16189
161902010-10-12 Jakub Jelinek <jakub@redhat.com>
16191
16192 [BZ #3268]
16193 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16194 fma tests.
16195 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16196 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16197 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16198 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16199 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16200 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16201 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16202
b833d51f
UD
162032010-10-12 Ulrich Drepper <drepper@redhat.com>
16204
16205 [BZ #12078]
16206 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16207 * posix/bug-regex31.input: Add test case.
16208
1751705d
UD
162092010-10-11 Ulrich Drepper <drepper@gmail.com>
16210
e9b9cbf5
UD
16211 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16212 * posix/bug-regex31.input: New file.
16213
16214 [BZ #12078]
16215 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16216 (parse_sub_exp): Fix last change, use postorder.
16217
ef06edbe
UD
16218 * posix/bug-regex31.c: New file.
16219 * posix/Makefile: Add rules to build and run bug-regex31.
16220
a129c80d
UD
16221 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16222
16223 [BZ #12078]
16224 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16225
b76b818e
UD
16226 [BZ #12108]
16227 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16228 to have entries in sys_siglist.
16229
1751705d
UD
16230 [BZ #12093]
16231 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16232 be NULL.
16233
9ff8d36f
JJ
162342010-10-07 Jakub Jelinek <jakub@redhat.com>
16235
16236 [BZ #3268]
16237 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16238 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16239 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16240 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16241 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16242 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16243 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16244 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16245 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16246 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16247 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16248 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16249 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16250 * math/ftestexcept.c (fetestexcept): Likewise.
16251 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16252 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16253 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16254 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16255 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16256 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16257 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16258
af325969
UD
162592010-10-11 Ulrich Drepper <drepper@gmail.com>
16260
c579b202 16261 [BZ #12107]
af325969
UD
16262 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16263 newline.
16264
67a67b95
UD
162652010-10-06 Ulrich Drepper <drepper@gmail.com>
16266
16267 * string/bug-strstr1.c: New file.
16268 * string/Makefile: Add rules to build and run bug-strstr1.
16269
5fb308bc
EB
162702010-10-05 Eric Blake <eblake@redhat.com>
16271
16272 [BZ #12092]
16273 * string/str-two-way.h (two_way_long_needle): Always clear memory
16274 when skipping input due to the shift table.
16275
45db99c7
UD
162762010-10-03 Ulrich Drepper <drepper@gmail.com>
16277
3b111893
UD
16278 [BZ #12005]
16279 * malloc/mcheck.c: Handle large requests.
16280
45db99c7
UD
16281 [BZ #12077]
16282 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16283 for strncmp and strncasecmp.
16284 * string/stratcliff.c: Add tests for strcmp and strncmp.
16285 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16286
cf7a1eb8
NI
162872010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16288
16289 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16290 __set_fpscr.
16291
6484ba5e
AJ
162922010-09-30 Andreas Jaeger <aj@suse.de>
16293
16294 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16295 (CGROUP_SUPER_MAGIC): Define.
16296 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16297 Handle btrfs and cgroup file systems.
16298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16299 Likewise.
16300
91c42559
LM
163012010-09-27 Luis Machado <luisgpm@br.ibm.com>
16302
16303 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16304 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16305
87a97932
AK
163062010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16307
16308 [BZ #12067]
16309 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16310 trying to locate the ELF header.
16311
c21cc9bc
AS
163122010-09-27 Andreas Schwab <schwab@redhat.com>
16313
16314 [BZ #11611]
16315 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16316 Mask out sign-bit copies when constructing f_fsid.
16317
315970f6
PB
163182010-09-24 Petr Baudis <pasky@suse.cz>
16319
16320 * debug/stack_chk_fail_local.c: Add missing licence exception.
16321 * debug/warning-nop.c: Likewise.
16322
1ac7a2c7
JM
163232010-09-15 Joseph Myers <joseph@codesourcery.com>
16324
16325 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16326 implementing getdents64 using getdents syscall, set d_type if
16327 __ASSUME_GETDENTS32_D_TYPE.
16328
56801c50
AS
163292010-09-16 Andreas Schwab <schwab@redhat.com>
16330
16331 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16332 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16333
dda51327
UD
163342010-09-21 Ulrich Drepper <drepper@redhat.com>
16335
16336 [BZ #12037]
16337 * posix/unistd.h: Undo change of feature selection for ftruncate from
16338 2010-01-11.
16339
8ffcee4a
UD
163402010-09-20 Ulrich Drepper <drepper@redhat.com>
16341
a545ecd9 16342 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16343 detection.
16344
e24f0a8b
AS
163452010-09-20 Andreas Schwab <schwab@redhat.com>
16346
16347 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16348 fanotify_mark.
16349 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16350
7291c56f
AS
163512010-09-14 Andreas Schwab <schwab@redhat.com>
16352
16353 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16354 variables after CHECK_SP call.
16355 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16356
bc5fb037
AS
163572010-09-13 Andreas Schwab <schwab@redhat.com>
16358 Ulrich Drepper <drepper@redhat.com>
16359
16360 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16361 re-relocationg ld.so.
16362 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16363 _dl_init_paths call.
16364 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16365 here anymore.
16366
e66e7419
UD
163672010-09-14 Ulrich Drepper <drepper@redhat.com>
16368
16369 * resolv/res_init.c (__res_vinit): Count the default server we added.
16370
c044aa75
CLT
163712010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16372 Ulrich Drepper <drepper@redhat.com>
16373
16374 [BZ #11968]
16375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16376 (____longjmp_chk): Use %ebx for saving value across system call.
16377 Add unwind info.
16378
32cf4069
AS
163792010-09-06 Andreas Schwab <schwab@redhat.com>
16380
16381 * manual/Makefile: Don't mix pattern rules with normal rules.
16382
817328ee
AS
163832010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16384
16385 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16386 operation.
16387 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16388 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16389 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16390 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16392 Likewise.
16393
29fddf61
UD
163942010-09-04 Ulrich Drepper <drepper@redhat.com>
16395
16396 [BZ #11979]
16397 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16398 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16399
0959ffc9
UD
164002010-09-02 Ulrich Drepper <drepper@redhat.com>
16401
16402 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16403 * sysdeps/x86_64/addmul_1.S: Likewise.
16404 * sysdeps/x86_64/lshift.S: Likewise.
16405 * sysdeps/x86_64/mul_1.S: Likewise.
16406 * sysdeps/x86_64/rshift.S: Likewise.
16407 * sysdeps/x86_64/sub_n.S: Likewise.
16408 * sysdeps/x86_64/submul_1.S: Likewise.
16409
ece29840
ST
164102010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16411
0959ffc9
UD
16412 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16413 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16414 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16415 * bits/sched.h [__need_schedparam]
ece29840 16416 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16417 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16418 (__defined_schedparam): Define to 1.
ece29840
ST
16419 (__sched_param): New structure, identical to sched_param.
16420 (__need_schedparam): Undefine.
16421
e53a31fe
MF
164222010-08-31 Mike Frysinger <vapier@gentoo.org>
16423
fdc0c10d
MF
16424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16425 (epoll_create1): Declare.
16426
e53a31fe
MF
16427 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16428
a726d796
AS
164292010-08-31 Andreas Schwab <schwab@redhat.com>
16430
16431 [BZ #7066]
16432 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16433 shifting retval into place.
16434
2f3e3dc7
UD
164352010-09-01 Ulrich Drepper <drepper@redhat.com>
16436
f2933da9
UD
16437 * nis/rpcsvc/nis.h: Update copyright notice.
16438 * nis/rpcsvc/nis.x: Likewise.
16439 * nis/rpcsvc/nis_callback.h: Likewise.
16440 * nis/rpcsvc/nis_callback.x: Likewise.
16441 * nis/rpcsvc/nis_object.x: Likewise.
16442 * nis/rpcsvc/nis_tags.h: Likewise.
16443 * nis/rpcsvc/yp.h: Likewise.
16444 * nis/rpcsvc/yp.x: Likewise.
16445 * nis/rpcsvc/ypupd.h: Likewise.
16446 * nis/yp_xdr.c: Likewise.
16447 * nis/ypupdate_xdr.c: Likewise.
16448
2f3e3dc7
UD
16449 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16450 mainly the body of pmap_getport. Add parameters to specify timeouts.
16451 (pmap_getport): Use __libc_rpc_getport.
16452 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16453 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16454 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16455
f3dcc2f9
AS
164562010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16457
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16459 fanotify_mark.
16460
6d34eb5b
RM
164612010-08-27 Roland McGrath <roland@redhat.com>
16462
16463 * sysdeps/i386/i686/multiarch/Makefile
16464 (CFLAGS-varshift.c): New variable.
16465
9ea3de11
UD
164662010-08-27 Ulrich Drepper <drepper@redhat.com>
16467
c96d23fc
UD
16468 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16469 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16470
9ea3de11
UD
16471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16472
16473 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16474
623aac7f
L
164752010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16476
16477 * sysdeps/x86_64/strlen.S: Unroll the loop.
16478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16479 strlen-sse2 strlen-sse2-bsf.
16480 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16481 __strlen_no_bsf if bit_Slow_BSF is set.
16482 (__strlen_sse42): Removed.
16483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16484 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16485
8b2b7715
RM
164862010-08-25 Roland McGrath <roland@redhat.com>
16487
16488 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16489 * sysdeps/x86_64/multiarch/varshift.c: New file.
16490 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16491 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16492 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16493 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16494
e73015f2
L
164952010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16498 strlen-sse2 strlen-sse2-bsf.
16499 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16500 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16501 (__strlen_sse2): Removed.
16502 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16505 bit_Slow_BSF for Atom.
16506 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16507 (index_Slow_BSF): Define.
16508 (HAS_SLOW_BSF): Define.
16509
df24a73e
UD
165102010-08-25 Ulrich Drepper <drepper@redhat.com>
16511
16512 [BZ #10851]
16513 * resolv/res_init.c (__res_vinit): When no server address at all
16514 is given default to loopback.
16515
f2ac4868
RM
165162010-08-24 Roland McGrath <roland@redhat.com>
16517
09055553
RM
16518 * configure.in: Remove config-name.h generation.
16519 * configure: Regenerated.
16520 * config-name.in: File removed.
16521 * scripts/config-uname.sh: New file.
16522 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16523 ($(objdir)config-name.h): New target.
16524
f2ac4868
RM
16525 * sunrpc/rpc_parse.h: Avoid nested comment.
16526
73f27d5e
RH
165272010-08-24 Richard Henderson <rth@redhat.com>
16528 Ulrich Drepper <drepper@redhat.com>
16529 H.J. Lu <hongjiu.lu@intel.com>
16530
16531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16533 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16534 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16535 _mm_alignr_epi8 with _mm_loadu_si128.
16536 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16537 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16538 (__m128i_shift_right): Removed.
16539 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16540 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16541 * sysdeps/x86_64/multiarch/varshift.h: New file.
16542 * sysdeps/x86_64/multiarch/varshift.S: New file.
16543
84b9230c
MF
165442010-08-21 Mike Frysinger <vapier@gentoo.org>
16545
16546 * configure.in: Move assembler checks to before sysdep dir checking.
16547
9bbd0ddc
PB
165482010-08-20 Petr Baudis <pasky@suse.cz>
16549
16550 * LICENSES: Sync the sunrpc license.
16551
9da4bb31
UD
165522010-08-19 Ulrich Drepper <drepper@redhat.com>
16553
a7ab6ec8
UD
16554 * sunrpc/auth_des.c: Update copyright notice once again.
16555 * sunrpc/auth_none.c: Likewise.
16556 * sunrpc/auth_unix.c: Likewise.
16557 * sunrpc/authdes_prot.c: Likewise.
16558 * sunrpc/authuxprot.c: Likewise.
16559 * sunrpc/bindrsvprt.c: Likewise.
16560 * sunrpc/clnt_gen.c: Likewise.
16561 * sunrpc/clnt_perr.c: Likewise.
16562 * sunrpc/clnt_raw.c: Likewise.
16563 * sunrpc/clnt_simp.c: Likewise.
16564 * sunrpc/clnt_tcp.c: Likewise.
16565 * sunrpc/clnt_udp.c: Likewise.
16566 * sunrpc/clnt_unix.c: Likewise.
16567 * sunrpc/des_crypt.c: Likewise.
16568 * sunrpc/des_soft.c: Likewise.
16569 * sunrpc/get_myaddr.c: Likewise.
16570 * sunrpc/getrpcport.c: Likewise.
16571 * sunrpc/key_call.c: Likewise.
16572 * sunrpc/key_prot.c: Likewise.
16573 * sunrpc/openchild.c: Likewise.
16574 * sunrpc/pm_getmaps.c: Likewise.
16575 * sunrpc/pm_getport.c: Likewise.
16576 * sunrpc/pmap_clnt.c: Likewise.
16577 * sunrpc/pmap_prot.c: Likewise.
16578 * sunrpc/pmap_prot2.c: Likewise.
16579 * sunrpc/pmap_rmt.c: Likewise.
16580 * sunrpc/rpc/auth.h: Likewise.
16581 * sunrpc/rpc/auth_unix.h: Likewise.
16582 * sunrpc/rpc/clnt.h: Likewise.
16583 * sunrpc/rpc/des_crypt.h: Likewise.
16584 * sunrpc/rpc/key_prot.h: Likewise.
16585 * sunrpc/rpc/netdb.h: Likewise.
16586 * sunrpc/rpc/pmap_clnt.h: Likewise.
16587 * sunrpc/rpc/pmap_prot.h: Likewise.
16588 * sunrpc/rpc/pmap_rmt.h: Likewise.
16589 * sunrpc/rpc/rpc.h: Likewise.
16590 * sunrpc/rpc/rpc_des.h: Likewise.
16591 * sunrpc/rpc/rpc_msg.h: Likewise.
16592 * sunrpc/rpc/svc.h: Likewise.
16593 * sunrpc/rpc/svc_auth.h: Likewise.
16594 * sunrpc/rpc/types.h: Likewise.
16595 * sunrpc/rpc/xdr.h: Likewise.
16596 * sunrpc/rpc_clntout.c: Likewise.
16597 * sunrpc/rpc_cmsg.c: Likewise.
16598 * sunrpc/rpc_common.c: Likewise.
16599 * sunrpc/rpc_cout.c: Likewise.
16600 * sunrpc/rpc_dtable.c: Likewise.
16601 * sunrpc/rpc_hout.c: Likewise.
16602 * sunrpc/rpc_main.c: Likewise.
16603 * sunrpc/rpc_parse.c: Likewise.
16604 * sunrpc/rpc_parse.h: Likewise.
16605 * sunrpc/rpc_prot.c: Likewise.
16606 * sunrpc/rpc_sample.c: Likewise.
16607 * sunrpc/rpc_scan.c: Likewise.
16608 * sunrpc/rpc_scan.h: Likewise.
16609 * sunrpc/rpc_svcout.c: Likewise.
16610 * sunrpc/rpc_tblout.c: Likewise.
16611 * sunrpc/rpc_util.c: Likewise.
16612 * sunrpc/rpc_util.h: Likewise.
16613 * sunrpc/rpcinfo.c: Likewise.
16614 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16615 * sunrpc/rpcsvc/key_prot.x: Likewise.
16616 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16617 * sunrpc/rpcsvc/mount.x: Likewise.
16618 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16619 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16620 * sunrpc/rpcsvc/rex.x: Likewise.
16621 * sunrpc/rpcsvc/rstat.x: Likewise.
16622 * sunrpc/rpcsvc/rusers.x: Likewise.
16623 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16624 * sunrpc/rpcsvc/spray.x: Likewise.
16625 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16626 * sunrpc/rtime.c: Likewise.
16627 * sunrpc/svc.c: Likewise.
16628 * sunrpc/svc_auth.c: Likewise.
16629 * sunrpc/svc_authux.c: Likewise.
16630 * sunrpc/svc_raw.c: Likewise.
16631 * sunrpc/svc_run.c: Likewise.
16632 * sunrpc/svc_simple.c: Likewise.
16633 * sunrpc/svc_tcp.c: Likewise.
16634 * sunrpc/svc_udp.c: Likewise.
16635 * sunrpc/svc_unix.c: Likewise.
16636 * sunrpc/svcauth_des.c: Likewise.
16637 * sunrpc/xcrypt.c: Likewise.
16638 * sunrpc/xdr.c: Likewise.
16639 * sunrpc/xdr_array.c: Likewise.
16640 * sunrpc/xdr_float.c: Likewise.
16641 * sunrpc/xdr_mem.c: Likewise.
16642 * sunrpc/xdr_rec.c: Likewise.
16643 * sunrpc/xdr_ref.c: Likewise.
16644 * sunrpc/xdr_sizeof.c: Likewise.
16645 * sunrpc/xdr_stdio.c: Likewise.
16646
9da4bb31
UD
16647 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16648 handling.
16649
bdaa77bc
AS
166502010-08-19 Andreas Schwab <schwab@redhat.com>
16651
16652 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16653
fe2f79db
LM
166542010-08-19 Luis Machado <luisgpm@br.ibm.com>
16655
16656 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16657 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16658 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16659 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16660 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16661 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16662 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16663 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16664 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16665 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16666 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16667 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16668 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16669 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16670
b9b42ee0
AB
166712010-07-26 Anton Blanchard <anton@samba.org>
16672
16673 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16674 * malloc/arena.c (heap_trim): Likewise.
16675
1c06ba31
UD
166762010-08-16 Ulrich Drepper <drepper@redhat.com>
16677
16678 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16679 here. Not...
16680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16681 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16682
f8392f40
L
166832010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * sysdeps/i386/elf/Makefile: New file.
16686
3162f12e
AS
166872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16688
16689 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16690 from fanotify_init.
16691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16693
28c90b2c
UD
166942010-08-15 Ulrich Drepper <drepper@redhat.com>
16695
16696 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16697 of strncasecmp_l.
1feccb6c 16698 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16699
ca6bb004
UD
167002010-08-14 Ulrich Drepper <drepper@redhat.com>
16701
e9f82e0d
UD
16702 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16703 strncase_l-nonascii.
16704 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16705 Add strncase_l-ssse3.
16706 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16707 * sysdeps/x86_64/strcmp.S: Likewise.
16708 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16709 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16710 * sysdeps/x86_64/strncase.S: New file.
16711 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16712 * sysdeps/x86_64/strncase_l.S: New file.
16713 * string/Makefile (strop-tests): Add strncasecmp.
16714 * string/test-strncasecmp.c: New file.
16715
16716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16717 warning.
16718
ca6bb004
UD
16719 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16720 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16721
052fa7b3
AS
167222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16723
16724 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16725
962dba78
UD
167262010-08-12 Ulrich Drepper <drepper@redhat.com>
16727
16728 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16731
bebff237
AM
167322010-05-01 Alan Modra <amodra@gmail.com>
16733
16734 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16735 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16736 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16737 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16738 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16739 tidying. Don't tail-call __sigjmp_save for static lib.
16740 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16741 save location.
16742 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16743 (CALL_MCOUNT): Add eh info, and nop after bl.
16744 (TAIL_CALL_SYSCALL_ERROR): New macro.
16745 (PSEUDO_RET): Use it.
16746 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16747 Correct save location of integer regs and cr.
16748 (_dl_profile_resolve): Correct cr save location. Delete nops
16749 after bl when SHARED. Reduce cfi size a little by better
16750 placement of cfi directives.
16751 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16752 make a stack frame. Instead use parm save area as a temp.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16754 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16756 Don't make a stack frame for parent, use parm save area.
16757 Increase child stack frame to 112 bytes. Don't save unused reg,
16758 and adjust reg usage. Set up cfi on error recovery and
16759 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16761 (__makecontext): Add dummy nop after jump to exit.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16763 Use correct parm save area and cr save, reduce stack frame.
16764 Correct cfi for possible PSEUDO_RET frame setup.
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16766 Branch to local label emitted by PSEUDO_RET rather than
16767 __syscall_error.
16768
02637374
AS
167692010-08-12 Andreas Schwab <schwab@redhat.com>
16770
16771 [BZ #11904]
16772 * locale/programs/locale.c (print_assignment): New function.
16773 (show_locale_vars): Use it.
16774
c3e2f19b
UD
167752010-08-11 Ulrich Drepper <drepper@redhat.com>
16776
3cdaa6ad
UD
16777 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16778 field.
16779 (struct statfs64): Likewise.
16780 (_STATFS_F_FLAGS): Define.
16781 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16783 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16784 (ST_VALID): Define locally.
16785 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16786 __statvfs_getflags, use the provided value.
16787 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16788 __ASSUME_STATFS_F_FLAGS.
16789
754f7da3
UD
16790 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16791
10b3bedc
UD
16792 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16793 Add sys/fanotify.h.
16794 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16795 fanotify_mask for GLIBC_2.13.
16796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16797 fanotify_init and fanotify_mark.
16798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16799 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16800
c08fb0d7
UD
16801 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16802 Add prlimit.
16803 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16804 prlimit64 for GLIBC_2.13.
16805 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16806 prlimit64.
16807 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16808 syscall.
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16811 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16812 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16814 add prlimit alias.
16815 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16816
15bac72b
UD
16817 [BZ #11903]
16818 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16819 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16820
c3e2f19b
UD
16821 * nss/Makefile: Add rules to build and run tst-nss-test1.
16822 * shlib-versions: Add entry for libnss_test1.
16823 * nss/nss_test1.c: New file.
16824 * nss/tst-nss-test1.c: New file.
16825
16826 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16827 (__nss_configure_lookup): Set appropriate entry in
16828 __nss_configure_lookup to true.
16829 * nss/nsswitch.h: Define enum with indeces of databases in
16830 databases and __nss_database_custom arrays. Declare
16831 __nss_database_custom.
16832 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16833 to avoid using nscd when custom rules are installed.
16834 * nss/getXXbyYY_r.c: Likewise.
16835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16836
16837 * nss/nss_files/files-parse.c: Whitespace fixes.
16838
f15ce4d8
UD
168392010-08-09 Ulrich Drepper <drepper@redhat.com>
16840
16841 [BZ #11883]
16842 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16843 * posix/fnmatch_loop.c: Likewise.
16844
d22e4cc9
AK
168452010-07-17 Andi Kleen <ak@linux.intel.com>
16846
16847 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16848 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16849 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16850 * Versions.def [GLIBC_2.13]: Add.
16851
805bc17d
UD
168522010-08-06 Ulrich Drepper <drepper@redhat.com>
16853
16854 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16855 Also fail if tpwd after pwuid call is NULL.
16856
5a42321d
ST
168572010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16858
16859 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16860 when converting to ms.
16861
fd3ebeda
ST
168622010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16863
16864 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16865 EOPNOTSUPP errors with ENOTTY.
16866 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16867 EOPNOTSUPP errors with ENOTTY.
16868
73507d3a
UD
168692010-07-31 Ulrich Drepper <drepper@redhat.com>
16870
16871 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16872 Add strcasecmp_l-ssse3.
16873 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16874 strcasecmp.
16875 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16876 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16877 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16878
fe36dd02
UD
168792010-07-30 Ulrich Drepper <drepper@redhat.com>
16880
66f6765a
UD
16881 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16882
42e08a54
UD
16883 * string/Makefile (strop-tests): Add strcasecmp.
16884 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16885 strcasecmp_l-nonascii.
16886 (gen-as-const-headers): Add locale-defines.sym.
16887 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16888 * sysdeps/x86_64/strcasecmp.S: New file.
16889 * sysdeps/x86_64/strcasecmp_l.S: New file.
16890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16891 * sysdeps/x86_64/locale-defines.sym: New file.
16892 * string/test-strcasecmp.c: New file.
16893
fe36dd02
UD
16894 * string/test-strcasestr.c: Test both ends of the range of characters.
16895 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16896
48cbc0d6
RM
168972010-07-29 Roland McGrath <roland@redhat.com>
16898
76e6d6bc 16899 [BZ #11856]
48cbc0d6
RM
16900 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16901
880113d9
UD
169022010-07-27 Ulrich Drepper <drepper@redhat.com>
16903
16904 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16905 for ld.so.
16906
deb9cabb
AS
169072010-07-27 Andreas Schwab <schwab@redhat.com>
16908
16909 * manual/memory.texi (Malloc Tunable Parameters): Document
16910 M_PERTURB.
16911
1c7570ff
RM
169122010-07-26 Roland McGrath <roland@redhat.com>
16913
16914 [BZ #11840]
16915 * configure.in (-fgnu89-inline check): Set and substitute
16916 gnu89_inline, not libc_cv_gnu89_inline.
16917 * configure: Regenerated.
16918 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16919
24fb0f88
UD
169202010-07-26 Ulrich Drepper <drepper@redhat.com>
16921
16922 * string/test-strnlen.c: New file.
16923 * string/Makefile (strop-tests): Add strnlen.
16924 * string/tester.c (test_strnlen): Add a few more test cases.
16925 * string/tst-strlen.c: Better error reporting.
16926
16927 * sysdeps/x86_64/strnlen.S: New file.
16928
8e96b93a
UD
169292010-07-24 Ulrich Drepper <drepper@redhat.com>
16930
16931 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16932 lower-latency instructions.
16933
dbc676d4
UD
169342010-07-23 Ulrich Drepper <drepper@redhat.com>
16935
16936 * string/test-strcasestr.c: New file.
16937 * string/test-strstr.c: New file.
16938 * string/Makefile (strop-tests): Add strstr and strcasestr.
16939 * string/str-two-way.h: Don't undefine MAX.
16940 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16941
f6a31e0e
AS
169422010-07-21 Andreas Schwab <schwab@redhat.com>
16943
16944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16945 strcasestr-nonascii.
16946 (CFLAGS-strcasestr-nonascii.c): Define.
16947 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16948 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16949 Remove unused attribute.
16950
5dbc3b6c
RM
169512010-07-20 Roland McGrath <roland@redhat.com>
16952
16953 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16954 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16955 ld.so.cache was broken. With it, there is no way to disable dsocaps
16956 like LD_HWCAP_MASK can disable hwcaps.
16957
23d101d8
EPM
169582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16959
16960 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16961
cc9f2e47
UD
169622010-07-16 Ulrich Drepper <drepper@redhat.com>
16963
16964 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16965 call in strcasestr.
16966 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16967 __strcasestr_sse42_nonascii.
16968 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16969 strcasestr-nonascii.c.
16970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16971
77c1b069
LM
169722010-06-15 Luis Machado <luisgpm@br.ibm.com>
16973
16974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16975 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16977 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16978
440566c3
UD
169792010-07-09 Ulrich Drepper <drepper@redhat.com>
16980
16981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16982 fcntl.
16983
5be9d05d
AS
169842010-07-06 Andreas Schwab <schwab@redhat.com>
16985
c30b7ee2 16986 [BZ #11577]
5be9d05d
AS
16987 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16988 dl_signal_cerror.
16989
8a492a67
UD
169902010-07-06 Ulrich Drepper <drepper@redhat.com>
16991
16992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16993 _PC_PIPE_BUF using F_GETPIPE_SZ.
16994
713df3d5
RM
169952010-07-05 Roland McGrath <roland@redhat.com>
16996
16997 * manual/arith.texi (Rounding Functions): Fix rint description
16998 implicit in round description.
16999
702e8f14
UD
170002010-07-02 Ulrich Drepper <drepper@redhat.com>
17001
17002 * elf/Makefile: Fix linking for a few tests to make recent linker
17003 happy.
17004
52ed8be9
AS
170052010-06-30 Andreas Schwab <schwab@redhat.com>
17006
17007 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17008 $(common-objpfx)libc_nonshared.a.
17009
f47c9a11
LM
170102010-06-21 Luis Machado <luisgpm@br.ibm.com>
17011
17012 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17013 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17014 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17015 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17016 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17017 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17018 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17019 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17034 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17035 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17036 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17037 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17038 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17039 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17040 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17041 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17042 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17043 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17044 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17045 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17060
6fb8cbcb
L
170612010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17062
17063 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17064 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17065 * string/memmove.c (memmove): Renamed to ...
17066 (MEMMOVE): ...this. Default to memmove.
17067 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17068 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17069 (END_CHK): Define.
17070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17071 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17072 mempcpy-ssse3-back memmove-ssse3-back.
17073 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17076 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17077 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17078 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17079 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17080 * sysdeps/x86_64/multiarch/memmove.c: New file.
17081 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17082 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17083 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17084 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17085 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17086 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17087 Define.
17088 (index_Fast_Copy_Backward): Define.
17089 (HAS_ARCH_FEATURE): Define.
17090 (HAS_FAST_REP_STRING): Define.
17091 (HAS_FAST_COPY_BACKWARD): Define.
17092
4e733bac 170932010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17094
17095 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17096 Restore proper fallback handling.
17097
63c4ed22
UD
170982010-06-19 Ulrich Drepper <drepper@redhat.com>
17099
ac2b484c
UD
17100 [BZ #11701]
17101 * posix/group_member.c (__group_member): Correct checking loop.
17102
63c4ed22
UD
17103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17104 OOM in getpwuid_r correctly. Return error number when the caller
17105 should return, otherwise -1.
17106 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17107 call returning > 0 value.
17108 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17109
765ade4b
AS
171102010-06-07 Andreas Schwab <schwab@redhat.com>
17111
17112 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17113 libc_nonshared.a from targets in modules-names.
17114
80da2e09
KS
171152010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17116
17117 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17118 requires it.
17119
158db122
LM
171202010-06-10 Luis Machado <luisgpm@br.ibm.com>
17121
17122 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17123 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17125 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17126
caa78cf8
AS
171272010-06-02 Andreas Schwab <schwab@redhat.com>
17128
17129 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17130
b2ef2c01
UD
171312010-06-14 Ulrich Drepper <drepper@redhat.com>
17132
17133 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17134 and F_GETPIPE_SZ.
17135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17140 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17141
fbd643b6
RM
171422010-06-14 Roland McGrath <roland@redhat.com>
17143
17144 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17145
f32f2869
JJ
171462010-06-07 Jakub Jelinek <jakub@redhat.com>
17147
17148 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17149 __REDIRECT followed by __THROW.
17150 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17151 * posix/getopt.h (getopt): Likewise.
17152
2a50c078
EPM
171532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17154
17155 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17156 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17157 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17158 in AT_FLAGS.
17159 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17160 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17161
eb5ad2eb
LM
171622010-05-28 Luis Machado <luisgpm@br.ibm.com>
17163
17164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17165
3c88fe1e
L
171662010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 [BZ #11640]
17169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17170 Properly check family and model.
17171
d2f73151
TY
171722010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17173
17174 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17175
ebd2e13d
LM
171762010-05-24 Luis Machado <luisgpm@br.ibm.com>
17177
17178 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17179
b32b8b45
UD
171802010-05-21 Ulrich Drepper <drepper@redhat.com>
17181
17182 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17183 symbol reference.
17184
9acbe24d
AS
171852010-05-19 Andreas Schwab <schwab@redhat.com>
17186
17187 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17188 symbol reference.
17189
f0ccf6ea
AS
171902010-05-21 Andreas Schwab <schwab@redhat.com>
17191
3d04ff3a
AS
17192 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17193 and internal_recvmmsg.
17194 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17195 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17197 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17198
f0ccf6ea
AS
17199 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17200 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17201 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17202
5b08ac57
AS
172032010-05-20 Andreas Schwab <schwab@redhat.com>
17204
17205 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17206
4828935d
LM
172072010-05-17 Luis Machado <luisgpm@br.ibm.com>
17208
17209 POWER7 optimizations.
17210 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17211 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17212
373d545e
UD
172132010-05-19 Ulrich Drepper <drepper@redhat.com>
17214
17215 * version.h: Update for 2.13 development version.
17216
21a2b1ae
AS
172172010-05-12 Andrew Stubbs <ams@codesourcery.com>
17218
17219 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17220 exceptions. Return 0.
17221
3f7dcb2b
RM
172222010-05-07 Roland McGrath <roland@redhat.com>
17223
17224 * elf/ldconfig.c (main): Add a const.
17225
5f24d53a 172262010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17227
a160f8d8
UD
17228 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17229 (args_options): Add no-idn option.
17230 (ahosts_keys_int): Add idn_flags to ai_flags.
17231 (parse_option): Handle 'i' option to clear idn_flags.
17232
5f24d53a
UD
17233 * malloc/malloc.c (_int_free): Possible race in the most recently
17234 added check. Only act on the data if no current modification
17235 happened.
265bb1ce
UD
17236
17237See ChangeLog.17 for earlier changes.