]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Revert fix to tst-pthread-getattr since it fails on sparc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
354691b7
MP
12012-07-25 Marek Polacek <polacek@redhat.com>
2
3 [BZ #6808]
4 * math/libm-test.inc (yn_test): Add another test.
5 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6 to ERANGE when the result is +-Inf.
7 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11
bf9e2071
JM
122012-07-24 Joseph Myers <joseph@codesourcery.com>
13
14 * conform/data/time.h-data (NULL): Use macro-constant. Require
15 equal to 0.
16 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17 clock_t.
18 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19
57633811
TS
202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21
22 * configure.in <sysdeps resolving>: Correct printing
23 Implies_before.
24 * configure: Regenerate.
25
c23c33b0
TS
262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27
28 * math/w_ilogb.c: Include <limits.h>.
29 * math/w_ilogbl.c: Likewise.
30
b5982523
JM
312012-07-20 Joseph Myers <joseph@codesourcery.com>
32
33 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34 va_copy. Document allowing for unavailable va_copy only as
35 pre-C99 compatibility.
36 * manual/string.texi (Copying and Concatenation): Use va_copy
37 instead of __va_copy in concat example.
38
ac4ea442
PT
392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40
41 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42 (__sendto): Use create_address_port. Initialize APORT and deallocate
43 it if not null.
44
f98eafbd
PT
45 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46 with O_NOLINK passed to __file_name_lookup.
47
898c7aab
PT
48 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49 with O_NOLINK passed to __file_name_lookup.
50
0ced335a
PT
51 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
52 negative N or less than NGIDS.
53
b3404dbd
PT
54 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55 type to string_t. Set ERANGE as errno and return it if NAME is not big
56 enough. Use memcpy instead of strncpy.
57
0f48659e
JM
582012-07-20 Joseph Myers <joseph@codesourcery.com>
59
60 * elf/Makefile (check-data): Remove.
61 (localplt.data): New vpath directive.
62 ($(objpfx)check-localplt.out): Use localplt.data from vpath
63 instead of $(check-data).
64 * scripts/data/localplt-generic.data: Move to ...
65 * sysdeps/generic/localplt.data: ... here.
66 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
69 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70 ... here.
71 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73 ... here.
74 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76 ... here.
77 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79 ... here.
80 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
81 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
82 ... here.
83 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
84 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
85 ... here.
86
d37cbdaa
AZ
872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88
89 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
90 PPC32 and PPC64 files.
91 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
92 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
93
46f85fc2
AK
942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95
96 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
97 __makecontext_ret to ...
98 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
99 ... here and call exit if uc_link is NULL. New file.
100 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
101 __makecontext_ret.S.
102 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
103 __makecontext_ret to ...
104 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
105 ... here and call exit if uc_link is NULL. New file.
106 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
107 __makecontext_ret.S.
108
08f43f9b
AK
1092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
110
111 * elf/elf.h (R_390_IRELATIVE): New definition.
112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
113 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
114 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
116 (elf_machine_lazy_rel): Likewise.
117 * sysdeps/s390/dl-irel.h: New file.
118 * sysdeps/s390/s390-64/memcpy.S: New asm code.
119 * sysdeps/s390/s390-64/memset.S: New asm code.
120 * sysdeps/s390/s390-64/memcmp.S: New asm code.
121 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
123 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
124 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
125 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
127 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
128 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
129 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
130 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
131 * sysdeps/s390/s390-32/memcpy.S: New asm code.
132 * sysdeps/s390/s390-32/memset.S: New asm code.
133 * sysdeps/s390/s390-32/memcmp.S: New asm code.
134
3b05db33
MP
1352012-07-17 Marek Polacek <polacek@redhat.com>
136
137 [BZ #14349]
138 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
139 * sysdeps/s390/s390-64/configure.in: Likewise.
140 * sysdeps/sparc/configure.in: Likewise.
141 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
142 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
143 * sysdeps/i386/configure.in: Likewise.
144 * sysdeps/x86_64/configure.in: Likewise.
145 * sysdeps/sh/configure.in: Likewise.
146 * sysdeps/s390/s390-32/configure: Regenerated.
147 * sysdeps/s390/s390-64/configure: Likewise.
148 * sysdeps/x86_64/configure: Likewise.
149 * sysdeps/sh/configure: Likewise.
150 * sysdeps/powerpc/powerpc64/configure: Likewise.
151 * sysdeps/powerpc/powerpc32/configure: Likewise.
152 * sysdeps/sparc/configure: Likwise.
153 * sysdeps/i386/configure: Likewise.
154
a66877c6
MP
155 * elf/dl-open.c: Comment fixes.
156
cfc82fd8
JM
1572012-07-17 Joseph Myers <joseph@codesourcery.com>
158
bd29910a
JM
159 * Makefile [CXX] (check-data): Remove.
160 [CXX] (c++-types.data): New vpath directive.
161 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
162 vpath. Do not allow for C++ type data being missing.
163 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
164 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
165 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
166 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
167 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
168 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
169 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
171 ... here.
172 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
174 ... here.
175 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
177 ... here.
178 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
180 ... here.
181 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
183 ... here.
184 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
186 ... here.
187 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
189 ... here.
190 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
192
cfc82fd8
JM
193 * elf/tls-macros.h (TLS_LE): Move architecture-specific
194 definitions to architecture-specific files.
195 (TLS_IE): Likewise.
196 (TLS_LD): Likewise.
197 (TLS_GD): Likewise.
198 * sysdeps/i386/tls-macros.h: New file.
199 * sysdeps/powerpc/tls-macros.h: Likewise.
200 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
201 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
202 * sysdeps/sh/tls-macros.h: Likewise.
203 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
204 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
205 * sysdeps/x86_64/tls-macros.h: Likewise.
206
f7db3170
TS
2072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
208
07cbfc23
TS
209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
210 zero value for regular exit case.
211
f7db3170
TS
212 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
213 (__start_context): Preserve zero value for regular exit case.
214
dc97c227
TS
2152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
216 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
217
218 * manual/setjmp.texi (setcontext): Clarify normal process
219 termination when uc_link is the null pointer.
220 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
221 exit call.
222
d0cd7d02
AS
2232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
224
225 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
226 preprocessor. Test for each exception mask separately.
227
dd318934
AJ
2282012-07-16 Andreas Jaeger <aj@suse.de>
229
230 * po/ru.po: Update from translation team.
231
8048311a
JM
2322012-07-15 Joseph Myers <joseph@codesourcery.com>
233
234 * conform/data/string.h-data (NULL): Use macro-constant. Require
235 equal to 0.
236 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
237 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
238 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
239 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
241
b637d46e
AJ
2422012-07-13 Andreas Jaeger <aj@suse.de>
243
244 * po/fr.po: Update from translation team.
245
541428fe
MP
2462012-07-12 Marek Polacek <polacek@redhat.com>
247
248 [BZ #14173]
249 * math/libm-test.inc (yn_test): Add test for BZ #14173.
250 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
251 loop condition.
252
ec332e94
JM
2532012-07-12 Joseph Myers <joseph@codesourcery.com>
254
255 [BZ #13717]
256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
257 Change to 2.4.1 where previously 2.4.0.
258 * sysdeps/unix/sysv/linux/configure: Regenerated.
259 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
260 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
261 version.
262 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
263 (__ASSUME_AT_CLKTCK): Remove.
264 (__ASSUME_AT_PAGESIZE): Likewise.
265 (__ASSUME_AT_XID): Likewise.
266 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
267 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
268 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
269 unconditionally.
270 (HAVE_AUX_PAGESIZE): Likewise.
271 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
272 [__ASSUME_AT_CLKTCK]: Make code unconditional.
273 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
274
7b6e99be
JB
2752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
276
277 [BZ #14307]
278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
279 the temporary buffer used to invoke __gethostbyname2_r,
280 __gethostbyaddr_r and gethostbyname4_r to make room for struct
281 host_data / struct gaih_addrtuple.
282 * resolv/nss_dns/dns-host.c (global scope): Move definition of
283 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
284 header file nss/nsswitch.h.
285 * nss/nsswitch.h (global scope): Add definition of implementation
286 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
287 resolv/nss_dns/dns-host.c).
288
608404eb
AJ
2892012-07-11 Andreas Jaeger <aj@suse.de>
290
291 * po/fr.po: Update from translation team.
292
71220aca
AJ
293 * po/sv.po: Update from translation team
294 * po/fr.po: Another update from translation team.
295
28cfe843
AZ
2962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297
298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
299 for subnormals or multiply small sinh result by itself.
300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
302
6b90f981
DM
3032012-07-11 David S. Miller <davem@davemloft.net>
304
305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
306
c6825772
AS
3072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
308
309 [BZ #14347]
310 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
311 (INTERNAL_MARK): Shift it here.
312
7b8e0d49
MP
3132012-07-10 Marek Polacek <polacek@redhat.com>
314
315 [BZ #14151]
316 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
317 libc_cv_asm_global_directive with .globl.
318 * configure: Regenerated.
319 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
320 with .globl.
321 * sysdeps/i386/configure: Regenerated.
322 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
323 with .globl.
324 * sysdeps/x86_64/configure: Regenerated.
325 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
326 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
327 * elf/tst-unique2mod2.c: Likewise.
328 * elf/tst-unique2mod1.c: Likewise.
329 * elf/tst-unique1mod2.c: Likewise.
330 * elf/tst-unique1mod1.c: Likewise.
331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
332 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
334 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
335 * sysdeps/mach/sysdep.h: Likewise.
336 * sysdeps/i386/sysdep.h: Likewise.
337 * sysdeps/i386/i386-mcount.S: Likewise.
338 * sysdeps/x86_64/_mcount.S: Likewise.
339 * sysdeps/x86_64/sysdep.h: Likewise.
340 * sysdeps/sh/_mcount.S: Likewise.
341 * sysdeps/sh/sysdep.h: Likewise.
342 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
343 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
344 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
346 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
347 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
348 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
349 * locale/localeinfo.h: Likewise.
350 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
351 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
352
6c55cda3
RM
3532012-07-09 Roland McGrath <roland@hack.frob.com>
354
355 [BZ #14336]
356 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
357 system".
358 * manual/message.texi (The Uniforum approach): Likewise.
359 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
360 (glibc iconv Implementation): Likewise.
361
638a572e
JM
3622012-07-09 Joseph Myers <joseph@codesourcery.com>
363
364 [BZ #14337]
365 * math/s_clog.c (__clog): Avoid scaling a value down where that
366 could result in underflow.
367 * math/s_clog10.c (__clog10): Likewise.
368 * math/s_clog10f.c (__clog10f): Likewise.
369 * math/s_clog10l.c (__clog10l): Likewise.
370 * math/s_clogf.c (__clogf): Likewise.
371 * math/s_clogl.c (__clogl): Likewise.
372 * math/libm-test.inc (clog_test): Add more tests.
373 (clog10_test): Likewise.
374 * sysdeps/i386/fpu/libm-test-ulps: Update.
375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
376
261f4859
AS
3772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
378
0abaf3e4
AS
379 [BZ #14283]
380 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
381 by 7 not 8 to examine high bit of fractional part.
382
261f4859
AS
383 [BZ #14042]
384 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
385 for call to __mcount_internal.
386 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
387 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
388 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
389
f17ac40d
JM
3902012-07-06 Joseph Myers <joseph@codesourcery.com>
391
9ad63c23
JM
392 [BZ #14154]
393 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
394 approximation for values within 0x1p-13f of an odd multiple of
395 pi/4.
396 * math/libm-test.inc (tan_test): Do not allow spurious underflow
397 exception. Add more tests.
398 * sysdeps/i386/fpu/libm-test-ulps: Update.
399
f17ac40d
JM
400 [BZ #6778]
401 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
402 inputs and return -1 for them. Do not check for +Inf in case not
403 reachable for +Inf.
404 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
405 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
407 and return -1 for them. Do not check for +Inf in case not
408 reachable for +Inf.
409 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
410 define.
411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
412 and return -1 for them. Do not check for +Inf in case not
413 reachable for +Inf.
414 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
415 spurious underflow.
416 * sysdeps/i386/fpu/libm-test-ulps: Update.
417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
418
fb21f89b
MF
4192012-07-06 Mike Frysinger <vapier@gentoo.org>
420
421 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
422
cdfe2c5e
JM
4232012-07-05 Joseph Myers <joseph@codesourcery.com>
424
425 [BZ #14157]
426 [BZ #14331]
427 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
428 could result in spurious underflow. Scale down values above
429 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
430 * math/s_csqrtf.c (__csqrtf): Likewise.
431 * math/s_csqrtl.c (__csqrtl): Likewise.
432 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
433 spurious underflow.
434 * sysdeps/i386/fpu/libm-test-ulps: Update.
435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
436
70d35b67
AS
4372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
438
704bc459
AS
439 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
440 xopen-msg.sed.
441 * catgets/xopen-msg.awk: New file.
442 * catgets/xopen-msg.sed: Removed.
443
70d35b67
AS
444 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
445 po2text.sed.
446 * intl/po2test.awk: New file.
447 * intl/po2test.sed: Removed.
448
ca61cf32
JM
4492012-07-04 Joseph Myers <joseph@codesourcery.com>
450
451 [BZ #14328]
452 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
453 or multiply small sinh result by itself.
454 * math/s_ctanf.c (__ctanf): Likewise.
455 * math/s_ctanh.c (__ctanh): Likewise.
456 * math/s_ctanhf.c (__ctanhf): Likewise.
457 * math/s_ctanhl.c (__ctanhl): Likewise.
458 * math/s_ctanl.c (__ctanl): Likewise.
459 * math/libm-test.inc (ctan_test_tonearest): New function.
460 (ctan_test_towardzero): Likewise.
461 (ctan_test_downward): Likewise.
462 (ctan_test_upward): Likewise.
463 (ctanh_test_tonearest): Likewise.
464 (ctanh_test_towardzero): Likewise.
465 (ctanh_test_downward): Likewise.
466 (ctanh_test_upward): Likewise.
467 (main): Call these new functions.
468 * sysdeps/i386/fpu/libm-test-ulps: Update.
469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470
ca48a46a
MF
4712012-07-03 Mike Frysinger <vapier@gentoo.org>
472
473 * .gitignore: Delete /ports entry.
474
9d63d37d
AJ
4752012-07-03 Andreas Jaeger <aj@suse.de>
476
477 * po/bg.po: Update from translation team.
478 * po/cs.po: Likewise.
479 * po/de.po: Likewise.
480 * po/hr.po: Likewise.
481 * po/nl.pl: Likewise.
482 * po/pl.po: Likewise.
483 * po/vi.po: Likewise.
484
370ca3d2
JM
4852012-07-03 Joseph Myers <joseph@codesourcery.com>
486
95f5a9a8
JM
487 * Makeconfig [!+link] (+link-before-libc): New variable.
488 [!+link] (+link-after-libc): Likewise.
489 [!+link] (+link-tests): Likewise.
490 [!+link] (+link): Define in terms of $(+link-before-libc) and
491 $(+link-after-libc).
492 [!+link-static] (+link-static-before-libc): New variable.
493 [!+link-static] (+link-static-after-libc): Likewise.
494 [!+link-static] (+link-static-tests): Likewise.
495 [!+link-static] (+link-static): Define in terms of
496 $(+link-static-before-libc) and $(+link-static-after-libc).
497 [build-shared] (link-libc-before-gnulib): New variable.
498 [build-shared] (link-libc-tests): Likewise.
499 [build-shared] (link-libc): Define in terms of
500 $(link-libc-before-gnulib).
501 [!build-shared] (link-libc-tests): New variable.
502 (link-libc-static-tests): New variable.
503 [!gnulib] (gnulib-arch): New variable.
504 [!gnulib] (gnulib-tests): Likewise.
505 [!gnulib] (static-gnulib-arch): Likewise.
506 [!gnulib] (static-gnulib-tests): Likewise.
507 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
508 Define with "=" instead of ":=".
509 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
510 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
511 * Rules (binaries-all-notests): New variable.
512 (binaries-all-tests): Likewise.
513 (binaries-static-notests): Likewise.
514 (binaries-static-tests): Likewise.
515 (binaries-all): Define using $(binaries-all-notests) and
516 $(binaries-all-tests).
517 (binaries-static): Define using $(binaries-static-notests) and
518 $(binaries-static-tests).
519 (binaries-shared-tests): New variable.
520 (binaries-shared-notests): Likewise.
521 (binaries-shared): Remove variable.
522 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
523 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
524 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
525 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
526 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
527 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
528 * elf/Makefile (sln-modules): New variable.
529 (extra-objs): Add $(sln-modules:=.o).
530 (ldconfig-modules): Add static-stubs.
531 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
532 * elf/static-stubs.c: New file.
533
7a845b2c
JM
534 [BZ #14283]
535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
536 by 7 not 8 to examine high bit of fractional part. Use volatile
537 variables when splitting into final array of floats if
538 __FLT_EVAL_METHOD__ != 0.
539 * math/libm-test.inc (cos_test): Add another test.
540 (sin_test): Likewise.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542
e2283f38
JM
543 [BZ #14273]
544 * math/libm-test.inc (cosh_test): Add more tests.
545
370ca3d2
JM
546 * version.h (RELEASE): Set to "development".
547 (VERSION): Set to "2.16.90".
548
ee9247c3
CD
5492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
550
551 * NEWS: Update copyright. Remove last-updated date.
552 Mention math library bug fixes and timezone data changes.
553 * README: Mention GNU/Hurd, x32, and HPPA support status.
554
4648c381
TS
5552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
556
557 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
558
aac78a43
AJ
5592012-06-27 Andreas Jaeger <aj@suse.de>
560
561 * manual/contrib.texi (Contributors): Add Samuel Thibault.
562
ed3dbfad
AJ
5632012-06-25 Andreas Jaeger <aj@suse.de>
564
565 * sysdeps/s390/fpu/libm-test-ulps: Update.
566
4d0ee855
AS
5672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
568 Thomas Schwinge <thomas@codesourcery.com>
569
570 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
571 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
573 fanotify_mark.
574
af1bce34
TS
5752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
576
a9fa33ba
TS
577 * sysdeps/mach/start.c: Remove file.
578 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
579 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
580 * sysdeps/sh/init-first.c: Likewise.
581
58f902b8
TS
582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
583 registers for frame unwinding purposes, add CFI directives.
584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
586 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
587 Likewise.
588
1518f58b
TS
589 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
590 __fortify_fail returning.
591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
592
db9b5059
TS
593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
594 sysdeps/sh/____longjmp_chk.S.
595 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
596 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
597 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
598 (gen-as-const-headers): Append sigaltstack-offsets.sym.
599
967705fe
TS
600 * sysdeps/sh/abort-instr.h: New file.
601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
602 process in case exit returns.
603
a9def8c4
TS
604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
605 initialize the GOT register before use.
606
2a649725
TS
607 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
608 calculation of ARGC > 4.
609
af1bce34
TS
610 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
611 meaningful names to some local labels.
612
d230f50a
KK
6132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
614 Kaz Kojima <kkojima@rr.iij4u.or.jp>
615
616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
617 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
618 (__arch_compare_and_exchange_val_16_acq): Likewise.
619 (__arch_compare_and_exchange_val_32_acq): Likewise.
620 (atomic_exchange_and_add): Fix gUSA sequence.
621 (atomic_add): Likewise.
622 (atomic_add_negative): Likewise.
623 (atomic_add_zero): Likewise.
624 (atomic_bit_test_set): Likewise.
625
0479b305
AS
6262012-06-22 Andreas Schwab <schwab@redhat.com>
627
628 [BZ #13579]
629 * include/link.h (struct link_map): Add l_free_initfini.
630 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
631 l_initfini.
632 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
633 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
634 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
635 set.
636
0e3933b9
CD
6372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
638
639 * configure.in: Use AC_LANG_SOURCE.
640 * configure: Regenerate.
641
4248b1b1
RM
6422012-06-22 Roland McGrath <roland@hack.frob.com>
643
644 * configure.in (libc_cv_localstatedir): New substituted variable.
645 * configure: Regenerated.
646 * config.make.in (localstatedir): New variable, substituted from
647 libc_cv_localstatedir.
648 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
649 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
650 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
651 * sysdeps/gnu/configure: Regenerated.
652
006dd861
JL
6532012-06-21 Jeff Law <law@redhat.com>
654
655 [BZ #14277]
656 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
657 free. Simplify list management for _LIBC case.
658
79662d42
JM
6592012-06-21 Joseph Myers <joseph@codesourcery.com>
660
b7abb4bf
JM
661 [BZ #14273]
662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
663 Clear sign bit of 64-bit integer value before comparing against
664 overflow value.
665
79662d42
JM
666 * sysdeps/mach/configure: Regenerated.
667
1f150908
L
6682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
669
670 [BZ #14278]
671 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
672
28363bbf
JL
6732012-06-21 Jeff Law <law@redhat.com>
674
675 [BZ #13882]
676 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
677 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 678 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
679 * elf/dl-open.c (dl_open_worker): Likewise.
680
09615db4
CD
6812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
682
683 * scripts/list-sources.sh: Scan PORTS for translations.
684 * po/libc.pot: Regenerated.
685
2174c6dd
AJ
6862012-06-21 Andreas Jaeger <aj@suse.de>
687
688 [BZ #12194]
689 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
690 warning.
691 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
692 * bits/byteswap-16.h (__bswap_16): Likewise.
693 * bits/byteswap.h (__bswap_constant_16): Likewise.
694
3ee947b1
L
6952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
696
697 [BZ #14117]
a2f34833
L
698 * sysdeps/i386/fpu_control.h: Removed.
699 * sysdeps/x86_64/fpu_control.h: Moved to ...
700 * sysdeps/x86/fpu_control.h: Here.
701
3ee947b1
L
702 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
703 (_FPU_SETCW): Likewise.
704
ed1825f8
L
7052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
706
25f1282a
L
707 [BZ #14117]
708 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
709 * sysdeps/x86/fpu/bits/mathinline.h: This.
710 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
711
ed1825f8
L
712 [BZ #14050]
713 [BZ #14117]
714 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
715 functions if __x86_64__ is defined.
716
36d54b74
CLT
7172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
718
719 * string/endian.h: Add !__ASSEMBLER__ condition for including
720 conversion interfaces.
721
10285c21
JM
7222012-06-15 Joseph Myers <joseph@codesourcery.com>
723
724 [BZ #14241]
725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
726 of ABS(x) in calculating zero to negative powers other than odd
727 integers.
728 * math/libm-test.inc (pow_test): Add more tests.
729
06c5abbd
AJ
7302012-06-15 Andreas Jaeger <aj@suse.de>
731
732 * manual/contrib.texi (Contributors): Update entry of Liubov
733 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
734 Machado Filho.
735
a3aeac40
CH
7362012-06-15 Cyril Hrubis <metan@ucw.cz>
737
738 * string/string.h: Add __wur to GNU version of strerror_r.
739
49bdf4c1
L
7402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
741
742 [BZ #14229]
743 * string/Makefile (tests): Add tst-strtok_r.
744 * string/tst-strtok_r.c: New file.
745 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
746 RAX_LP/RDX_LP on SAVE_PTR.
747
834f9b8d
RM
7482012-06-14 Roland McGrath <roland@hack.frob.com>
749
750 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
751
75fa1921
JM
7522012-06-14 Joseph Myers <joseph@codesourcery.com>
753
754 * libm_test.inc (csqrt_test): Allow more spurious underflow
755 exceptions.
756 (j0_test): Likewise.
757 (j1_test): Likewise.
758 (y0_test): Likewise.
759 (y1_test): Likewise.
760
771766df
CD
7612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
762
763 * po/Makefile (libc.pot): Use UTF-8 charset.
764
ceb9e56b
PP
7652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
766
767 [BZ #14210]
768 Suppress sign-conversion warning from FD_SET.
769 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
770 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
771 not unsigned long int.
772 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
773
ddb28975
L
7742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
775
776 [BZ #14050]
777 [BZ #14117]
778 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
779 __extern_always_inline instead of __extern_inline.
780 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
781 (__signbit): Likewise.
782 (__signbitl): Support C++ namespace.
783 (lrintf): New inline function.
784 (lrint): Likewise.
785 (llrintf): Likewise.
786 (llrint): Likewise.
787 (fmaxf): Likewise.
788 (fmax): Likewise.
789 (fminf): Likewise.
790 (fmin): Likewise.
791 (rint): Likewise.
792 (rintf): Likewise.
793 (ceil): Likewise.
794 (ceilf): Likewise.
795 (floor): Likewise.
796 (floorf): Likewise.
797 (nearbyint): Likewise.
798 (nearbyintf): Likewise.
799
d7b4fb26
TS
8002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
801
802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
803 non-default versions.
804
eb55f5c2
RM
8052012-06-11 Roland McGrath <roland@hack.frob.com>
806
807 [BZ #14218]
808 * manual/argp.texi (Argp): Reword argp_parse description slightly.
809
366af02c
TS
8102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
811
99ff6e5c
TS
812 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
813 (FE_UPWARD, FE_DOWNWARD): Don't define.
814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
816
366af02c
TS
817 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
818 reading it.
819 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
821
793ea851
KK
8222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
823
824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
826 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
827 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
828
a728a38f
L
8292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
830
831 [BZ #14117]
c08010c7
L
832 * sysdeps/i386/fpu/bits/fenv.h: Removed.
833 * sysdeps/i386/fpu/Implies: New file.
834 * sysdeps/x86_64/fpu/Implies: Likewise.
835 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
836 * sysdeps/x86/fpu/bits/fenv.h: This.
837
a728a38f
L
838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
839 __SSE_MATH__.
840
6e230d11
SP
8412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 [BZ #14134]
844 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
845 character 0xffff that matches the last element of the
846 conversion table.
847
1b671feb
AZ
8482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
851 fmodl commit.
852
6043738b
AZ
8532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854
855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
856 values higher than 25.6283.
857
34ae0b32
AZ
8582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859
860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
861 subnormal exponent extraction and add some __builtin_expect.
862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
863 Fix for subnormal mantissa calculation.
864
1214ec8f
MF
8652012-06-04 Mike Frysinger <vapier@gentoo.org>
866
867 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
868 cpu2 is -1 and errno is not ENOSYS.
869
f3d1f93c
L
8702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
871
872 [BZ #14117]
0e4a3cd7
L
873 * sysdeps/i386/i486/bits/string.h: Renamed to ...
874 * sysdeps/x86/bits/string.h: This.
875 * sysdeps/x86_64/bits/string.h: Removed.
876
6704c645
L
877 * sysdeps/i386/i486/bits/string.h: Define inline functions only
878 if not compiling for x86-64, but compiling for >= i486.
879
48495318
L
880 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
881 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
882
14adcbfc
L
883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
884 New macro from Linux kernel 3.4.0.
885 (FP_XSTATE_MAGIC2): Likewise.
886 (FP_XSTATE_MAGIC2_SIZE): Likewise.
887 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
888 (struct _fpx_sw_bytes): New struct.
889 (struct _xsave_hdr): Likewise.
890 (struct _ymmh_state): Likewise.
891 (struct _xstate): Likewise.
892
68e408ab
L
893 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
894 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
896 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
897 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
898 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
899
f3d1f93c
L
900 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
902 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
903 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
904 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
905 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
906
d9dc34cd
TMQMF
9072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
908
909 [BZ #13743]
910 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
911 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
912 (sysdep_headers): Include sys/platform/ppc.h.
913 * sysdeps/powerpc/test-gettimebase.c: Test for
914 __ppc_get_timebase() to catch future ISA opcode/insn changes.
915 * manual/Makefile (appendices): Include platform.texi.
916 * manual/contrib.texi (Contributors): Update @node pointers.
917 * manual/maint.texi (Maintenance): Likewise.
918 (Platform): New node.
919 * manual/platform.texi: New file. Document the new features.
920
4af3879c
SP
9212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
922 Jakub Jelinek <jakub@redhat.com>
923
924 [BZ #14188]
925 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
926 where __builtin_expect is unavailable.
927
2fd6ff13
DM
9282012-06-03 David S. Miller <davem@davemloft.net>
929
930 * stdlib/longlong.h: Updated from GCC.
931
173f7220
AS
9322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
933
934 [BZ #14042]
935 * sysdeps/powerpc/powerpc32/mcount.c: New file.
936 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
937 __mcount_internal.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
939 (GLIBC_2.16): Likewise.
940
f34a1c6f
L
9412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
942
943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
944
88a4576f
JM
9452012-06-01 Joseph Myers <joseph@codesourcery.com>
946
ea32bcdd
JM
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
948 (default-abi): New variable.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
951 variable.
952 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
953 Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
955 Likewise.
956 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
957 Likewise.
958
88a4576f
JM
959 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
960 definition. Document in comment.
961
402fe938
DM
9622012-06-01 David S. Miller <davem@davemloft.net>
963
964 * stdlib/longlong.h: Updated from GCC.
965
3553723f
L
9662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
967
968 [BZ #14117]
3bd872c4
L
969 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
970 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
971 sys/debugreg.h sys/io.h here.
972 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
973 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
974 sys/io.h.
975 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
976 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
977 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
978 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
979 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
980 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
981
3553723f
L
982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
983 Define only if __x86_64__ is defined.
984
4842e4fe
JM
9852012-06-01 Joseph Myers <joseph@codesourcery.com>
986
c5bfe3d5
JM
987 [BZ #14048]
988 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
989 Use int64_t for variable i.
990 * math/libm-test.inc (fmod_test): Add more tests.
991
4842e4fe
JM
992 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
993 z computation is not scheduled after fetestexcept.
994 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
995 Use math_force_eval instead of asm to ensure calculation scheduled
996 before exception test.
997 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
998 Ensure a1 + u.d computation is not scheduled after fetestexcept.
999
efb73488
AJ
10002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1001
1002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1003 computation is not scheduled after fetestexcept.
1004
29bcce7c
L
10052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 [BZ #14117]
1008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1009 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1010
73a68f94
AZ
10112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012
1013 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1014 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1015
67b6df78
L
10162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1017
edf2933a 1018 [BZ #14117]
ebc64a18
L
1019 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1020 <bits/wordsize.h>.
1021 (__WCHAR_MIN): Support __WORDSIZE == 64.
1022 (__WCHAR_MAX): Likewise.
1023
edf2933a
L
1024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1025 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1026
57c6cf40
L
1027 [BZ #14183]
1028 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1029 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1030
67b6df78 1031 [BZ #14117]
8eb6281e
L
1032 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1033 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1034
aac639f4
L
1035 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1036 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1037
67b6df78
L
1038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1039 Defined to 1 if __x86_64__ isn't defined.
1040 (_STAT_VER_LINUX_OLD): New.
1041 (st_atime): Remove duplicate.
1042 (st_mtime): Likewise.
1043 (st_ctime): Likewise.
1044
1c2cfe81
DM
10452012-05-31 David S. Miller <davem@davemloft.net>
1046
1047 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1048 entries.
1049
5be8418c
AS
10502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1051
e7725326
AS
1052 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1053 gen-libm-test.pl.
1054
5be8418c
AS
1055 [BZ #14132]
1056 * elf/dl-reloc.c: Include <_itoa.h>.
1057 (_dl_reloc_bad_type): Remove use of INTUSE.
1058 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1059 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1060 * stdio-common/psiginfo.c (psiginfo): Likewise.
1061 * stdio-common/psignal.c (psignal): Likewise.
1062 * string/strsignal.c (strsignal): Likewise.
1063 * include/signal.h (_sys_siglist): Declare hidden proto.
1064 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1065 INTVARDEF with libc_hidden_data_def.
1066 * stdio-common/itoa-udigits.c: Likewise.
1067 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1068 (_itoa_lower_digits_internal): Remove declaration.
1069 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1070 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1071 (_sys_sigabbrev_internal): Remove aliases.
1072 (_sys_siglist): Define hidden alias.
1073
507352f1
MT
10742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1075
1076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1077 bits/sysctl.h.
1078
42bbb1c3
L
10792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 [BZ #14117]
6bd784b6
L
1082 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1083 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1084
8bca20f0
L
1085 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1086 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1087 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1088 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1090 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1091
f9e890a9
L
1092 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1093 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1095
471101a1
L
1096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1097 with __addr.
1098 (insw): Likewise.
1099 (insl): Likewise.
1100 (outsb): Likewise.
1101 (outsw): Likewise.
1102 (outsl): Likewise.
1103
6451c862
L
1104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1106 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1107
a254b8c9
L
1108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1109 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1111 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1112 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1113 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1114
b8dfdd92
L
1115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1116 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1117
578cd270
L
1118 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1119 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1120
de662f5f
L
1121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1123 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1124
25653439
L
1125 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1126 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1127 to ...
1128 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1129
6bad24a0
L
1130 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1131 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1132 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1133
42bbb1c3
L
1134 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1135 for x86-64.
1136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1137
2d10d547
JM
11382012-05-31 Joseph Myers <joseph@codesourcery.com>
1139
1140 * math/math.h (M_El): Use two more decimal places.
1141 (M_LOG2El): Likewise.
1142 (M_LOG10El): Likewise.
1143 (M_LN2l): Likewise.
1144 (M_LN10l): Likewise.
1145 (M_PIl): Likewise.
1146 (M_PI_2l): Likewise.
1147 (M_PI_4l): Likewise.
1148 (M_1_PIl): Likewise.
1149 (M_2_PIl): Likewise.
1150 (M_2_SQRTPIl): Likewise.
1151 (M_SQRT2l): Likewise.
1152 (M_SQRT1_2l): Likewise.
1153
f230c29b
DM
11542012-05-31 David S. Miller <davem@davemloft.net>
1155
1156 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1157 values between float registers.
1158 * sysdeps/sparc/sparc64/memset.S: Likewise.
1159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1160
fed806c3
MF
11612012-05-31 Mike Frysinger <vapier@gentoo.org>
1162
1163 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1164 -D_FORTIFY_SOURCE=1.
1165 (CPPFLAGS-tst-longjmp_chk.c): Define.
1166 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1167 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1168 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1169 CFLAGS-tst-wchar-h.c.
1170
30917259
MP
11712012-05-31 Marek Polacek <polacek@redhat.com>
1172
1173 [BZ #14132]
1174 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1175 __endmntent_internal): Remove declaration.
1176 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1177 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1178 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1179
1c58d5dc
DM
11802012-05-30 David S. Miller <davem@davemloft.net>
1181
1182 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1183 (___Q_simulate_exceptions): Use real FP ops rather than writing
1184 into the %fsr.
1185 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1186 Likewise.
1187
7dc00e0d
L
11882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 [BZ #14117]
0bd53985
L
1191 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1192 * sysdeps/x86/bits/xtitypes.h: This.
1193
3a257e66
L
1194 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1195 * sysdeps/x86/bits/wordsize.h: This.
1196
62f62904
L
1197 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1198 * sysdeps/x86/bits/huge_vall.h: This.
1199
404fe9d9
L
1200 * sysdeps/i386/bits/select.h: Removed.
1201 * sysdeps/x86_64/bits/select.h: Renamed to ...
1202 * sysdeps/x86/bits/select.h: This.
1203
d48d0446
L
1204 * sysdeps/i386/bits/setjmp.h: Removed.
1205 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1206 * sysdeps/x86/bits/setjmp.h: This.
1207
7dc00e0d
L
1208 * sysdeps/i386/bits/mathdef.h: Removed.
1209 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1210 * sysdeps/x86/bits/mathdef.h: This.
1211
03277f8f
AS
12122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1213
1214 [BZ #14132]
1215 * include/sys/socket.h (__connect_internal)
1216 (__libc_sa_len_internal): Remove declaration.
1217 (__connect, __libc_sa_len): Declare hidden_proto.
1218 (SA_LEN): Remove use of INTUSE.
1219 * socket/connect.c: Add libc_hidden_def.
1220 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1221 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1222 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1223 alias.
1224 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1226 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1227 of adding _internal alias.
1228
13764867
L
12292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 [BZ #14117]
6bd97696
L
1232 * sysdeps/i386/bits/link.h: Removed.
1233 * sysdeps/i386/bits/linkmap.h: Likewise.
1234 * sysdeps/x86_64/bits/link.h: Renamed to ...
1235 * sysdeps/x86/bits/link.h: This.
1236 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1237 * sysdeps/x86/bits/linkmap.h: This.
1238
f726f0bb
L
1239 * sysdeps/i386/bits/endian.h: Removed.
1240 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1241 * sysdeps/x86/bits/endian.h: This.
1242
13764867
L
1243 * sysdeps/i386/bits/byteswap.h: Removed.
1244 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1245 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1246 * sysdeps/x86/bits/byteswap.h: This.
1247 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1248 * sysdeps/x86/bits/byteswap-16.h: This.
1249 * sysdeps/i386/Implies: Add x86.
1250 * sysdeps/x86_64/Implies: Likewise.
1251
ae251b0b
DM
12522012-05-30 David S. Miller <davem@davemloft.net>
1253
1254 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1255 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1257 (FP_TRAPPING_EXCEPTIONS): Define.
1258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1259 (FP_TRAPPING_EXCEPTIONS): Define.
1260 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1261 subnormals only when inexact has been signalled or underflow
1262 exceptions are enabled.
1263 (_FP_PACK_CANONICAL): Likewise.
1264
d5c90867
L
12652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 [BZ #14183]
1268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1269 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1270
63f1549e
RH
12712012-05-30 Richard Henderson <rth@twiddle.net>
1272
8d8f2279
RH
1273 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1274 with #ifndef NOT_IN_libc.
1275
63f1549e
RH
1276 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1277 marked to avoid plt entry.
1278
0ab0291b
L
12792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 [BZ #14112]
1282 * Makeconfig (default-abi): New macro.
1283 (abi-includes): Likewise.
1284 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1285 $(abi-$(default-abi)-lib-soname) for soname if defined.
1286 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1287 abi-variants.
1288 * Makefile (installed-stubs): Likewise.
1289 * include/stubs-biarch.h: Removed.
1290 * scripts/lib-names.awk: Only handle one library at a time.
1291 * scripts/soversions.awk: Remove WORDSIZE support.
1292 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1293 entries.
1294 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1295 Removed.
1296 (syscall-list-default-condition): Likewise.
1297 (syscall-list-default-condition): Likewise.
1298 (syscall-list-includes): Likewise.
1299 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1300 syscall-list-* with abi-*. Handle undefined abi-variants.
1301 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1302 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1303 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1304 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1305 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1306 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1307 Removed.
1308 (syscall-list-32-options): Likewise.
1309 (syscall-list-32-condition): Likewise.
1310 (syscall-list-64-options): Likewise.
1311 (syscall-list-64-condition): Likewise.
1312 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1313 macro.
1314 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1315 Renamed to ...
1316 (abi-*): This.
1317 (abi-64-ld-soname): New macro.
1318 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1320 Renamed to ...
1321 (abi-*): This.
1322 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1323 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1324
4da0431d
JM
13252012-05-30 Joseph Myers <joseph@codesourcery.com>
1326
3a85279c
JM
1327 * sysdeps/unix/sysv/linux/kernel-features.h
1328 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1329 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1330 include <kernel-features.h>.
1331 [!__NR_ftruncate64]: Remove conditional code.
1332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1333 [__NR_ftruncate64]: Make code unconditional.
1334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1335 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1336 include <kernel-features.h>.
1337 [!__NR_ftruncate64]: Remove conditional code.
1338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1339 [__NR_ftruncate64]: Make code unconditional.
1340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1342 include <kernel-features.h>.
1343 [!__NR_ftruncate64]: Remove conditional code.
1344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1345 [__NR_ftruncate64]: Make code unconditional.
1346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1348 include <kernel-features.h>.
1349 [!__NR_ftruncate64]: Remove conditional code.
1350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1351 [__NR_ftruncate64]: Make code unconditional.
1352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1353
4da0431d
JM
1354 * configure.in (libc_cv_fpie): Weaken to a compile test using
1355 LIBC_TRY_CC_OPTION.
1356 * configure: Regenerated.
1357
11ef492c
AK
13582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1359
1360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1364 Refreshed.
1365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1371 Refreshed.
1372
d66ef399
DM
13732012-05-27 David S. Miller <davem@davemloft.net>
1374
1375 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1376 (___Q_zero): New.
1377 (__Q_simulate_exceptions): Return void. Change to simulate
1378 exceptions by writing into the %fsr.
1379 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1380 (__Qp_handle_exceptions): Likewise.
1381 (numbers): Delete.
1382 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1383 __Qp_handle_exceptions.
1384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1385 __Qp_handle_exceptions.
1386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1387 as unused and give dummy FP_RND_NEAREST initializer.
1388 (FP_INHIBIT_RESULTS): Define.
1389 (___Q_simulate_exceptions): Update declaration.
1390 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1391 formatting.
1392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1393 as unused and give dummy FP_RND_NEAREST initializer.
1394 (__Qp_handle_exceptions): Update declaration.
1395 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1396 formatting.
1397
04fb54b5
TS
13982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1399
1400 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1401 the temporary FPU control word.
1402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1403 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1405 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1406 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1407 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1408 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1410 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1411 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1413
3f99608f
KK
14142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1415
1416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1417 fields.
1418
65a4de4e
CLT
14192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1420
1421 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1422 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1427 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1428 Likewise.
1429
15749d40
UD
14302012-05-27 Ulrich Drepper <drepper@gmail.com>
1431
1432 * po/h.po: Update from translation team.
1433
25dbcb27
AS
14342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1435
3d3f8e55
AS
1436 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1437
25dbcb27
AS
1438 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1439 handling of denormals.
1440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1441 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1442 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1447 Likewise.
1448
7ad47a80 14492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1450
1451 [BZ #14152]
1452 * math/libm-test.inc (fma_test): Don't always expect underflow
1453 exception.
1454
9c6ea9fa
SP
14552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
1457 [BZ #12416]
1458 * elf/tst-execstack.c: Include stackinfo.h.
1459 (do_test): Adjust test case to ensure that pthread_getattr_np
1460 behaviour remains the same after marking stack executable.
1461
a8239222
JM
14622012-05-25 Joseph Myers <joseph@codesourcery.com>
1463
1464 * sysdeps/unix/sysv/linux/kernel-features.h
1465 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1466 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1467 kernel-features.h.
1468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1470 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1471 kernel-features.h.
1472 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1473 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1474
918b5606
L
14752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 * configure.in: Define the default includes to being none.
1478 * configure: Regenerated.
1479
3a097cc7
RM
14802012-05-25 Roland McGrath <roland@hack.frob.com>
1481
8422c9a5
RM
1482 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1483 * sysdeps/x86_64/setjmp.S: Likewise.
1484 * sysdeps/i386/bsd-setjmp.S: Likewise.
1485 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1486 * sysdeps/i386/setjmp.S: Likewise.
1487 * sysdeps/i386/__longjmp.S: Likewise.
1488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1489 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1490
3a097cc7
RM
1491 * include/stap-probe.h: New file.
1492 * configure.in: Handle --enable-systemtap.
1493 * configure: Regenerated.
1494 * config.h.in (USE_STAP_PROBE): New #undef.
1495 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1496 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1497 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1498
21708942
JM
14992012-05-25 Joseph Myers <joseph@codesourcery.com>
1500
1501 [BZ #13717]
1502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1503 to 2.4.0 where earlier.
1504 * sysdeps/unix/sysv/linux/configure: Regenerated.
1505 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
1514 [__ASSUME_32BITUIDS]: Make code unconditional.
1515 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1516 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1517 <kernel-features.h>.
1518 [__ASSUME_32BITUIDS]: Make code unconditional.
1519 [!__ASSUME_32BITUIDS]: Remove conditional code.
1520 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1521 <kernel-features.h>.
1522 [__ASSUME_32BITUIDS]: Make code unconditional.
1523 [!__ASSUME_32BITUIDS]: Remove conditional code.
1524 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1525 <kernel-features.h>.
1526 [__ASSUME_32BITUIDS]: Make code unconditional.
1527 [!__ASSUME_32BITUIDS]: Remove conditional code.
1528 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1529 <kernel-features.h>.
1530 [__ASSUME_32BITUIDS]: Make code unconditional.
1531 [!__ASSUME_32BITUIDS]: Remove conditional code.
1532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1533 <kernel-features.h>.
1534 [__ASSUME_32BITUIDS]: Make code unconditional.
1535 [!__ASSUME_32BITUIDS]: Remove conditional code.
1536 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1537 <kernel-features.h>.
1538 [__ASSUME_32BITUIDS]: Make code unconditional.
1539 [!__ASSUME_32BITUIDS]: Remove conditional code.
1540 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1541 <kernel-features.h>.
1542 [__ASSUME_32BITUIDS]: Make code unconditional.
1543 [!__ASSUME_32BITUIDS]: Remove conditional code.
1544 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1545 <kernel-features.h>.
1546 [__ASSUME_32BITUIDS]: Make code unconditional.
1547 [!__ASSUME_32BITUIDS]: Remove conditional code.
1548 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1549 <kernel-features.h>.
1550 [__ASSUME_32BITUIDS]: Make code unconditional.
1551 [!__ASSUME_32BITUIDS]: Remove conditional code.
1552 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1553 <kernel-features.h>.
1554 [__ASSUME_32BITUIDS]: Make code unconditional.
1555 [!__ASSUME_32BITUIDS]: Remove conditional code.
1556 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1557 <kernel-features.h>.
1558 [__NR_setresgid] (__setresgid): Do not declare.
1559 [__ASSUME_32BITUIDS]: Make code unconditional.
1560 [!__ASSUME_32BITUIDS]: Remove conditional code.
1561 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1562 <kernel-features.h>.
1563 [__NR_setresuid] (__setresuid): Do not declare.
1564 [__ASSUME_32BITUIDS]: Make code unconditional.
1565 [!__ASSUME_32BITUIDS]: Remove conditional code.
1566 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1567 <kernel-features.h>.
1568 [__ASSUME_32BITUIDS]: Make code unconditional.
1569 [!__ASSUME_32BITUIDS]: Remove conditional code.
1570 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1571 <kernel-features.h>.
1572 [__ASSUME_32BITUIDS]: Make code unconditional.
1573 [!__ASSUME_32BITUIDS]: Remove conditional code.
1574 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1575 <kernel-features.h>.
1576 [__ASSUME_32BITUIDS]: Make code unconditional.
1577 [!__ASSUME_32BITUIDS]: Remove conditional code.
1578 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1579 <kernel-features.h>.
1580 [__ASSUME_32BITUIDS]: Make code unconditional.
1581 [!__ASSUME_32BITUIDS]: Remove conditional code.
1582 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1583 <kernel-features.h>.
1584 [__ASSUME_32BITUIDS]: Make code unconditional.
1585 [!__ASSUME_32BITUIDS]: Remove conditional code.
1586 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1587 <kernel-features.h>.
1588 [__ASSUME_32BITUIDS]: Make code unconditional.
1589 [!__ASSUME_32BITUIDS]: Remove conditional code.
1590 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1591 <kernel-features.h>.
1592 [__ASSUME_32BITUIDS]: Make code unconditional.
1593 [!__ASSUME_32BITUIDS]: Remove conditional code.
1594 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1595 <kernel-features.h>.
1596 [__ASSUME_32BITUIDS]: Make code unconditional.
1597 [!__ASSUME_32BITUIDS]: Remove conditional code.
1598 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1599 <kernel-features.h>.
1600 [__ASSUME_32BITUIDS]: Make code unconditional.
1601 [!__ASSUME_32BITUIDS]: Remove conditional code.
1602 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1603 <kernel-features.h>.
1604 [__ASSUME_32BITUIDS]: Make code unconditional.
1605 [!__ASSUME_32BITUIDS]: Remove conditional code.
1606 * sysdeps/unix/sysv/linux/kernel-features.h
1607 (__ASSUME_SETRESUID_SYSCALL): Remove.
1608 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1609 (__ASSUME_32BITUIDS): Likewise.
1610 (__ASSUME_LDT_WORKS): Likewise.
1611 (__ASSUME_O_DIRECTORY): Likewise.
1612 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1613 architecture but not kernel version.
1614 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1615 (__ASSUME_MMAP2_SYSCALL): Likewise.
1616 (__ASSUME_STAT64_SYSCALL): Likewise.
1617 (__ASSUME_IPC64): Likewise.
1618 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1619 <kernel-features.h>.
1620 [__ASSUME_32BITUIDS]: Make code unconditional.
1621 [!__ASSUME_32BITUIDS]: Remove conditional code.
1622 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1623 <kernel-features.h>.
1624 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1625 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1626 132096]: Remove conditional code.
1627 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1629 <kernel-features.h>.
1630 [__ASSUME_32BITUIDS]: Make code unconditional.
1631 [!__ASSUME_32BITUIDS]: Remove conditional code.
1632 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1633 <kernel-features.h>.
1634 [__ASSUME_32BITUIDS]: Make code unconditional.
1635 [!__ASSUME_32BITUIDS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1637 <kernel-features.h>.
1638 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1639 unconditional.
1640 (__setresgid): Do not declare.
1641 [__ASSUME_32BITUIDS]: Make code unconditional.
1642 [!__ASSUME_32BITUIDS]: Remove conditional code.
1643 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1644 <kernel-features.h>.
1645 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1646 unconditional.
1647 (__setresuid): Do not declare.
1648 [__ASSUME_32BITUIDS]: Make code unconditional.
1649 [!__ASSUME_32BITUIDS]: Remove conditional code.
1650 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1651 <kernel-features.h>.
1652 [__ASSUME_32BITUIDS]: Make code unconditional.
1653 [!__ASSUME_32BITUIDS]: Remove conditional code.
1654 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1655 <kernel-features.h>.
1656 [__ASSUME_32BITUIDS]: Make code unconditional.
1657 [!__ASSUME_32BITUIDS]: Remove conditional code.
1658
a386f1cc
RH
16592012-05-25 Richard Henderson <rth@twiddle.net>
1660
1661 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1662 dl_hwcap to ifunc resolver.
1663 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1664 elf_ifunc_invoke.
1665 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1666 dl_hwcap to ifunc resolver.
1667 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1668
b6550497
JM
16692012-05-24 Joseph Myers <joseph@codesourcery.com>
1670
1671 [BZ #14153]
1672 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1673 for |x| <= 2**-26, not 2**-57.
1674 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1675 exception.
1676
b0bc23a1
JL
16772012-05-24 Jeff Law <law@redhat.com>
1678
1679 * stdio-common/Makefile (tests): Add bug25.
1680 * stdio-common/bug25.c: New test.
1681
347c92e9
L
16822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 [BZ #13576]
1685 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1686 multiple of MALLOC_ALIGNMENT in size.
1687 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1688
6bcc8b3f
JM
16892012-05-24 Joseph Myers <joseph@codesourcery.com>
1690
1691 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1692 Require >= 256.
1693 (FILENAME_MAX): Use macro-int-constant.
1694 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1695 (_IOFBF): Use macro-int-constant.
1696 (_IOLBF): Likewise.
1697 (_IONBF): Likewise.
1698 (SEEK_CUR): Likewise.
1699 (SEEK_END): Likewise.
1700 (SEEK_SET): Likewise.
1701 (TMP_MAX): Likewise.
1702 (EOF): Use macro-int-constant. Require < 0.
1703 (NULL): Use macro-constant. Require == 0.
1704 (stdin): Require type to be FILE *.
1705 (stdout): Likewise.
1706 (stderr): Likewise.
1707 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1708 macro-int-constant.
1709 (EXIT_SUCCESS): Likewise.
1710 (NULL): Use macro-constant. Require == 0.
1711 (RAND_MAX): Use macro-int-constant.
1712 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1713 [C99-based standards] (strtof): Require function.
1714 [C99-based standards] (strtold): Likewise.
1715 [C99-based standards] (strtoll): Likewise.
1716 [C99-based standards] (strtoull): Likewise.
1717 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1718 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1719 [ISO || ISO99 || ISO11] (math.h): Likewise.
1720 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1721 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1723
d18ea0c5
AS
17242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1725
1726 [BZ #14132]
56d25bb8
AS
1727 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1728 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1729 * intl/dgettext.c (DCGETTEXT): Likewise.
1730 * intl/gettext.c (DCGETTEXT): Likewise.
1731 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1732 * posix/regex_internal.h (gettext): Likewise.
1733 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1734 Remove declaration.
1735 * include/argz.h (__argz_count_internal)
1736 (__argz_stringify_internal): Remove declaration.
1737 (__argz_count, __argz_stringify): Declare hidden proto.
1738 * intl/dcgettext.c: Remove use of INTDEF.
1739 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1740 * string/argz-stringify.c: Likewise.
1741 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1742 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1743 Declare hidden proto.
d18ea0c5
AS
1744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1746 Declare hidden proto.
1747 * include/stdio.h (__asprintf_internal): Don't declare.
1748 (__asprintf): Don't define as macro. Declare hidden proto.
1749 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1750 (__fsetlocking): Declare hidden proto.
1751 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1752 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1753 hidden proto.
1754 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1755 (_IO_setlinebuf): Remove use of INTUSE.
1756 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1757 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1758 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1759 Remove declaration.
1760 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1761 (_IO_do_flush): Remove use of INTUSE.
1762 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1763 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1764 (_IO_adjust_column, _IO_least_wmarker)
1765 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1766 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1767 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1768 (_IO_default_doallocate, _IO_wdefault_doallocate)
1769 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1770 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1771 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1772 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1773 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1774 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1775 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1776 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1777 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1778 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1779 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1780 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1781 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1782 proto.
1783 (_IO_flush_all_internal, _IO_adjust_column_internal)
1784 (_IO_default_uflow_internal, _IO_default_finish_internal)
1785 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1786 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1787 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1788 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1789 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1790 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1791 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1792 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1793 (_IO_file_close_internal, _IO_file_close_it_internal)
1794 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1795 (_IO_file_init_internal, _IO_file_attach_internal)
1796 (_IO_file_fopen_internal, _IO_file_read_internal)
1797 (_IO_file_sync_internal, _IO_file_seek_internal)
1798 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1799 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1800 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1801 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1802 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1803 (_IO_list_all_internal, _IO_link_in_internal)
1804 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1805 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1806 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1807 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1808 (_IO_do_write_internal, _IO_padn_internal)
1809 (_IO_getline_info_internal, _IO_getline_internal)
1810 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1811 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1812 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1813 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1814 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1815 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1816 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1817 with libc_hidden_ver, remove use of INTUSE.
1818 * libio/genops.c: Likewise.
1819 * libio/freopen.c: Likewise.
1820 * libio/freopen64.c: Likewise.
1821 * libio/iofclose.c: Likewise.
1822 * libio/iofdopen.c: Likewise.
1823 * libio/iofflush.c: Likewise.
1824 * libio/iofflush_u.c: Likewise.
1825 * libio/iofgets.c: Likewise.
1826 * libio/iofgets_u.c: Likewise.
1827 * libio/iofopen.c: Likewise.
1828 * libio/iofopncook.c: Likewise.
1829 * libio/iofread.c: Likewise.
1830 * libio/iofread_u.c: Likewise.
1831 * libio/ioftell.c: Likewise.
1832 * libio/iofwrite.c: Likewise.
1833 * libio/iogetline.c: Likewise.
1834 * libio/iogets.c: Likewise.
1835 * libio/iogetwline.c: Likewise.
1836 * libio/iopadn.c: Likewise.
1837 * libio/iopopen.c: Likewise.
1838 * libio/ioseekoff.c: Likewise.
1839 * libio/ioseekpos.c: Likewise.
1840 * libio/iosetbuffer.c: Likewise.
1841 * libio/iosetvbuf.c: Likewise.
1842 * libio/ioungetc.c: Likewise.
1843 * libio/ioungetwc.c: Likewise.
1844 * libio/iovdprintf.c: Likewise.
1845 * libio/iovsprintf.c: Likewise.
1846 * libio/iovsscanf.c: Likewise.
1847 * libio/memstream.c: Likewise.
1848 * libio/obprintf.c: Likewise.
1849 * libio/oldfileops.c: Likewise.
1850 * libio/oldiofclose.c: Likewise.
1851 * libio/oldiofdopen.c: Likewise.
1852 * libio/oldiofopen.c: Likewise.
1853 * libio/oldiopopen.c: Likewise.
1854 * libio/oldstdfiles.c: Likewise.
1855 * libio/putc.c: Likewise.
1856 * libio/setbuf.c: Likewise.
1857 * libio/setlinebuf.c: Likewise.
1858 * libio/stdfiles.c: Likewise.
1859 * libio/strops.c: Likewise.
1860 * libio/vasprintf.c: Likewise.
1861 * libio/vscanf.c: Likewise.
1862 * libio/vsnprintf.c: Likewise.
1863 * libio/vswprintf.c: Likewise.
1864 * libio/wfiledoalloc.c: Likewise.
1865 * libio/wfileops.c: Likewise.
1866 * libio/wgenops.c: Likewise.
1867 * libio/wmemstream.c: Likewise.
1868 * libio/wstrops.c: Likewise.
1869 * libio/__fpurge.c: Likewise.
1870 * libio/__fsetlocking.c: Likewise.
1871 * assert/assert.c: Likewise.
1872 * debug/fgets_chk.c: Likewise.
1873 * debug/fgets_u_chk.c: Likewise.
1874 * debug/fread_chk.c: Likewise.
1875 * debug/fread_u_chk.c: Likewise.
1876 * debug/gets_chk.c: Likewise.
1877 * debug/obprintf_chk.c: Likewise.
1878 * debug/vasprintf_chk.c: Likewise.
1879 * debug/vdprintf_chk.c: Likewise.
1880 * debug/vsnprintf_chk.c: Likewise.
1881 * debug/vsprintf_chk.c: Likewise.
1882 * malloc/mtrace.c: Likewise.
1883 * misc/error.c: Likewise.
1884 * misc/syslog.c: Likewise.
1885 * stdio-common/asprintf.c: Likewise.
1886 * stdio-common/fxprintf.c: Likewise.
1887 * stdio-common/getw.c: Likewise.
1888 * stdio-common/isoc99_fscanf.c: Likewise.
1889 * stdio-common/isoc99_scanf.c: Likewise.
1890 * stdio-common/isoc99_vfscanf.c: Likewise.
1891 * stdio-common/isoc99_vscanf.c: Likewise.
1892 * stdio-common/isoc99_vsscanf.c: Likewise.
1893 * stdio-common/printf-prs.c: Likewise.
1894 * stdio-common/printf_fp.c: Likewise.
1895 * stdio-common/printf_fphex.c: Likewise.
1896 * stdio-common/printf_size.c: Likewise.
1897 * stdio-common/putw.c: Likewise.
1898 * stdio-common/scanf.c: Likewise.
1899 * stdio-common/sprintf.c: Likewise.
1900 * stdio-common/tmpfile.c: Likewise.
1901 * stdio-common/vfprintf.c: Likewise.
1902 * stdio-common/vfscanf.c: Likewise.
1903 * stdlib/strfmon_l.c: Likewise.
1904 * sunrpc/openchild.c: Likewise.
1905 * sunrpc/xdr_stdio.c: Likewise.
1906 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1907 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1908
d6c33fda
RM
19092012-05-24 Roland McGrath <roland@hack.frob.com>
1910
c1487492
RM
1911 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1912
1913 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1914 in the third column, to generate for the shared library an IFUNC
1915 that uses _dl_vdso_vsym.
1916 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1917 * Makeconfig (object-suffixes-noshared): New variable.
1918
1919 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1920 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1921 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1922 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1923
d6c33fda
RM
1924 [BZ #14132]
1925 * include/sys/time.h (__gettimeofday): Remove macro.
1926 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1927 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1928 Remove INTDEF.
1929 (__gettimeofday): Add libc_hidden_def.
1930 (gettimeofday): Add libc_hidden_weak.
1931 * sysdeps/mach/gettimeofday.c: Likewise.
1932 * sysdeps/posix/gettimeofday.c: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1934 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1936 (__gettimeofday_internal): Remove strong_alias.
1937 (__gettimeofday): Add libc_hidden_def.
1938 (gettimeofday): Add libc_hidden_weak.
1939 * sysdeps/unix/syscalls.list (gettimeofday):
1940 Remove __gettimeofday_internal alias.
1941
b5a2bbe6
L
19422012-05-24 Daniel Jacobowitz <drow@false.org>
1943 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 [BZ #12495]
1946 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1947 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1948 (largebin_index_32_big): New.
1949 (largebin_index): Use it for 16-byte alignment.
1950 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1951 correction with front_misalign.
1952
cfba4fda
L
19532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1954
7f907421
L
1955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1959 Likewise.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1961 Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1963 Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1965 Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1975 Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1977 Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1979 Likewise.
1980
cfba4fda
L
1981 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1982 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1983
80bad0cc
JM
19842012-05-24 Joseph Myers <joseph@codesourcery.com>
1985
7a25eb06
JM
1986 [BZ #10846]
1987 [BZ #14036]
1988 * math/libm-test.inc (exp_test): Add test from bug 14036.
1989 (pow_test): Add test from bug 10846.
1990
795405f9
JM
1991 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1992 and other flags.
1993 (special_function): Do not include flags in test name.
1994 (parse_args): Likewise.
1995 * sysdeps/i386/fpu/libm-test-ulps: Update.
1996 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1997 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1998 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000
80bad0cc
JM
2001 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2002 exceptions.
2003 * math/libm-test.inc ("Philosophy"): Update comment about
2004 exception testing.
2005 (UNDERFLOW_EXCEPTION): New macro.
2006 (UNDERFLOW_EXCEPTION_OK): Likewise.
2007 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2008 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2009 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2010 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2011 (INVALID_EXCEPTION_OK): Update value.
2012 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2013 (OVERFLOW_EXCEPTION_OK): Likewise.
2014 (IGNORE_ZERO_INF_SIGN): Likewise.
2015 (test_exceptions): Handle underflow exceptions.
2016 (acos_test): Update for underflow exception expectations.
2017 (cexp_test): Likewise.
2018 (clog_test): Likewise.
2019 (clog10_test): Likewise.
2020 (csqrt_test): Likewise.
2021 (ctan_test): Likewise.
2022 (ctanh_test): Likewise.
2023 (exp_test): Likewise.
2024 (exp10_test): Likewise.
2025 (exp2_test): Likewise.
2026 (expm1_test): Likewise.
2027 (fma_test): Likewise.
2028 (j0_test): Likewise.
2029 (jn_test): Likewise.
2030 (nexttoward_test): Likewise.
2031 (pow_test): Likewise.
2032 (scalbn_test): Likewise.
2033 (scalbln_test): Likewise.
2034 (tan_test): Likewise.
2035 (y1_test): Likewise.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038
9e0e3d0b
DM
20392012-05-23 David S. Miller <davem@davemloft.net>
2040
2041 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2042 (__libc_sigaction): Remove unused local variables.
2043
ccd0a08f
L
20442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2047
62bdf9a6
PE
20482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2049
f8591f80
PE
2050 mktime: avoid signed integer overflow
2051 * time/mktime.c (__mktime_internal): Do not mishandle the case
2052 where diff == INT_MIN.
2053
94c7d826
PE
2054 mktime: simplify computation of average
2055 * time/mktime.c (ranged_convert): Use new time_t_avg function
2056 instead of rolling our own (probably-slower) code.
2057
ce73d683
PE
2058 mktime: do not assume signed right shift propagates sign bit
2059 * time/mktime.c (isdst_differ): New static function.
2060 (__mktime_internal): No need to normalize tm_isdst now.
2061 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2062 tm_isdst values.
2063
72a22e59
PE
2064 mktime: merge another wrapv change from gnulib
2065 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2066 from some compilers.
2067
68605433
PE
2068 mktime: remove incorrect attempt at unusual arithmetics
2069 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2070 The code didn't really work on such machines anyway.
2071 (TYPE_MINIMUM): Assume two's complement.
2072 (twos_complement_arithmetic): Verify that long_int and time_t
2073 are two's complement (or unsigned, in the latter case).
2074
03cf7fe3
PE
2075 mktime: check signed shifts on long_int and time_t, too
2076 * time/mktime.c (SHR): Check that shifts work as desired
2077 on the types long_int and time_t too, as SHR is used on
2078 such types.
2079
f04dfbc2
PE
2080 mktime: do not assume 'long' is wide enough
2081 * time/mktime.c (verify): Move decl up.
2082 (long_int): New type.
2083 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2084 to remove assumption in the code that 'long' is wide enough to
2085 store year values. This assumption is not true on x32 and on
2086 some non-glibc platforms.
2087
62bdf9a6
PE
2088 mktime: merge wrapv change from gnulib
2089 * time/mktime.c (WRAPV): New macro.
2090 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2091 (guess_time_tm, __mktime_internal): Do not assume that signed
2092 integer overflow wraps around; modern compilers generate code
2093 where this assumption is no longer valid.
2094
5e292e4f
L
20952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2098 Replace "jmp L(pseudo_end)" with "ret".
2099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2100 Likewise.
2101
8caf8c87
AJ
21022012-05-23 Andreas Jaeger <aj@suse.de>
2103
2104 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2105 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2106
1a09dc56
AJ
21072012-05-23 Andreas Jaeger <aj@suse.de>
2108 Maximilian Attems <max@stro.at>
2109
2110 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2111 New macros.
2112
1c87aba0
L
21132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2116 code so that pseudo_end is just ret and the stack pointer is
2117 correct also for static library in error case.
2118
40e45bd5
JM
21192012-05-23 Joseph Myers <joseph@codesourcery.com>
2120
c2670533
JM
2121 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2122 move to syscalls.list.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2127
40e45bd5
JM
2128 * manual/install.texi (Running make install): Do not mention Linux
2129 kernel version for which pt_chown is not needed.
2130 (Linux): Do not mention problems with nscd with 2.0 kernels.
2131 * INSTALL: Regenerated.
2132
be08eda5
AJ
21332012-05-23 Andreas Jaeger <aj@suse.de>
2134
2135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2136 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2137 macro.
2138 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2140 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2142 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2148 * sysdeps/unix/sysv/linux/bits/in.h
2149 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2150
a6a056bb
RM
21512012-05-22 Roland McGrath <roland@hack.frob.com>
2152
2153 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2154 (PREPARE_VERSION): Just use assert instead, it will be elided
2155 under [NDEBUG] anyway.
2156
c9009328
L
21572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * sysdeps/unix/sysv/linux/Makefile: Include
2160 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2161 (sysdep_routines): Remove sysctl.
c9009328
L
2162 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2163 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2166 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2167
73338355
AJ
21682012-05-22 Andreas Jaeger <aj@suse.de>
2169
2170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2171 that pseudo_end is just ret and the stack pointer is correct also
2172 for static library in error case.
2173
d44638b0
PP
21742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2175
2176 [BZ #14122]
2177 * nss/nsswitch.c (defconfig_entries): New variable.
2178 (__nss_database_lookup): Don't leak defconfig entries.
2179 (nss_parse_service_list): Don't leak on error paths.
2180 (free_database_entries): New function.
2181 (free_defconfig): New function.
2182 (free_mem): Move common code to free_database_entries.
2183
31a39bd8
L
21842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2185
da0331a8
L
2186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2187 Add arch_prctl.
2188 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2189
31a39bd8
L
2190 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2191 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2193 New macro.
2194 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2195 (INTERNAL_SYSCALL_TYPES): Likewise.
2196 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2197 (LOAD_REGS_TYPES_[1-6]): Likewise.
2198 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2199 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2200
45470df3
AZ
22012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2204 copysignl for GLIBC_2_0.
2205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2206 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2208 logbl for GLIBC_2_0.
2209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2210 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2211
98a61bcb
L
22122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2213
a4f6e481
L
2214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2216
f63d5db6
L
2217 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2218 Use "neg %eax".
2219
98a61bcb
L
2220 * time/mktime.c: Update copyright years.
2221
95770f14
PE
22222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2223
6226efbd
PE
2224 mktime: merge comment-quoting-style change from gnulib
2225 * time/mktime.c: Quote 'like this' in comments.
2226 The GNU coding standards suggest that we no longer quote `like this',
2227 as "`" and "'" are typically rendered asymmetrically nowadays.
2228 The typical gnulib style is to quote 'like this' when quoting
2229 code, and "like this" when quoting English.
2230
b99e4f78
PE
2231 * time/mktime.c (compile-command): Add "-I.".
2232
643e01e6
PE
2233 mktime: merge mktime-internal.h change from gnulib
2234 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2235
2554247d
PE
2236 mktime: merge time_r change from gnulib
2237 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2238
826dd0ab
PE
2239 mktime: merge DEBUG change from gnulib
2240 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2241 case system <time.h> has a #define.
2242
bd83aabe
PE
2243 mktime: merge <sys/types.h> change from gnulib
2244 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2245 since <time.t> is now guaranteed to define time_t.
2246
95770f14
PE
2247 mktime: merge HAVE_CONFIG_H change from gnulib
2248 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2249
5e1a27a9
L
22502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2251
0e44a77e
L
2252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2253 Use "neg %eax".
2254
5e1a27a9
L
2255 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2256 __rlim_t cast.
2257 (struct rusage): Use anonymous union to pad each field to
2258 __syscall_slong_t.
2259
46259bec
DM
22602012-05-21 David S. Miller <davem@davemloft.net>
2261
2262 * Makefules (o-iterator): Remove .s cases.
2263 (compile-command.s): Delete.
2264 (COMPILE.s): Delete.
2265 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2266
59f0c22e
JM
22672012-05-21 Joseph Myers <joseph@codesourcery.com>
2268
2269 * configure.in (libc_cv_predef_stack_protector): Only consider
2270 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2271 * configure: Regenerated.
2272
20c07380
L
22732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2274
bbb3154b
L
2275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2276 New macro. Use R*LP on int and pointer.
2277 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2278 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2279 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2280 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2281
20c07380
L
2282 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2283 [__WORDSIZE_TIME64_COMPAT32] instead of
2284 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2285 (struct utmp): Likewise.
2286 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2287 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2288 Renamed to ...
2289 (__WORDSIZE_TIME64_COMPAT32): This.
2290 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2291 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2292 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2294 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2295 (__WORDSIZE_TIME64_COMPAT32): New macro.
2296
d8d1017e
AJ
22972012-05-21 Andreas Jaeger <aj@suse.de>
2298
2299 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2300 only if [SHARED]. Add prototype for __wcschr_ia32.
2301
6c7fb145
RM
23022012-05-21 Roland McGrath <roland@hack.frob.com>
2303
2304 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2305 of %rbp unmolested in the jmp_buf while mangling the low bits.
2306 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2307 unmolested high bits of %rbp while demangling the low bits.
2308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2309
66274218
AJ
23102012-05-21 Andreas Jaeger <aj@suse.de>
2311
07c58f8f
AJ
2312 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2313 * sunrpc/svc_simple.c: Use it for registerrpc.
2314 * sunrpc/xcrypt.c: Use it for passwd2des.
2315
66274218
AJ
2316 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2317
61f65140
L
23182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2321 Don't define if [__SYSCALL_WORDSIZE != 32].
2322 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2323 New macro.
2324
5fefb436
AJ
23252012-05-21 Bruno Haible <bruno@clisp.org>
2326 Andreas Jaeger <aj@suse.de>
2327
2328 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2329 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2330 inptr and inend for must_buffer_ch.
2331 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2332 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2333 * stdio-common/Makefile (tests): Remove bug15.
2334 (bug15-ENV): Remove macro.
2335 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2336 anymore.
2337
d8e272ab
AJ
23382012-05-19 Andreas Jaeger <aj@suse.de>
2339 Roland McGrath <roland@hack.frob.com>
2340
2341 * manual/contrib.texi: Completely rewritten. It contains now an
2342 alphabetical list of contributors and their contributions.
2343
4a56a162
RH
23442012-05-21 Richard Henderson <rth@twiddle.net>
2345
2346 * misc/getauxval.c (__getauxval): Use unsigned long int.
2347 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2348 (getauxval): Use unsigned long int.
2349
d024d23c
L
23502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2353
cbc00a03
RM
23542012-05-21 Roland McGrath <roland@hack.frob.com>
2355
2356 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2357 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2358 __alignof__ (long double).
2359
478143fa
AZ
23602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361
2362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2363
c7683a6d
RH
23642012-05-20 Richard Henderson <rth@twiddle.net>
2365
2366 * misc/getauxval.c: New file.
2367 * misc/sys/auxv.h: New file.
2368 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2369 (routines): Add getauxval.
2370 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2372 * elf/dl-sysdep.c (_dl_auxv): Remove.
2373 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2374 * elf/dl-support.c (_dl_auxv): New variable.
2375 (_dl_aux_init): Initialize it.
2376 * manual/startup.texi (Auxiliary Vector): New node.
2377 * sysdeps/generic/bits/hwcap.h: New file.
2378 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2379 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2380 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2381 * sysdeps/sparc/sysdep.h: ... here. Include it.
2382 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2385 Update.
c7683a6d
RH
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2394
a6f1845d
AZ
23952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396
2397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398
cbcbe830
DM
23992012-05-19 David S. Miller <davem@davemloft.net>
2400
2401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2402
e0b16cc2
JM
24032012-05-19 Joseph Myers <joseph@codesourcery.com>
2404
2405 [BZ #14123]
2406 * math/s_ccosh.c: Include <float.h>
2407 (__ccosh): Avoid internal overflow calculating sinh and cosh
2408 values before multiplying by sin and cos values.
2409 * math/s_ccoshf.c: Likewise.
2410 * math/s_ccoshl.c: Likewise.
2411 * math/s_csin.c: Likewise.
2412 * math/s_csinf.c: Likewise.
2413 * math/s_csinl.c: Likewise.
2414 * math/s_csinh.c: Likewise.
2415 * math/s_csinhf.c: Likewise.
2416 * math/s_csinhl.c: Likewise.
2417 * math/libm-test.inc (ccos_test): Add more tests.
2418 (ccosh_test): Likewise.
2419 (csin_test): Likewise.
2420 (csinh_test): Likewise.
2421 * sysdeps/i386/fpu/libm-test-ulps: Update.
2422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2423
6ad13e08
L
24242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2425
f66f0ce8
L
2426 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2427 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2428
6ad13e08
L
2429 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2430
b1d072a7
JM
24312012-05-19 Joseph Myers <joseph@codesourcery.com>
2432
2433 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2434 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2435 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2436 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2437 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2438 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2439 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2440 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2441 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2442 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2443 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2444 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2445 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2446 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2447 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2448 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2449 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2450 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2451 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2452 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2453 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2454 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2455 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2456 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2457 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2458 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2459 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2460 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2461 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2462 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2463 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2464
9eae47cb
AJ
24652012-05-18 Andreas Jaeger <aj@suse.de>
2466
2467 * csu/.gitignore: Delete.
2468
bb07f69f
L
24692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2470
2471 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2472 (timex): Use __syscall_slong_t.
2473
e6bdb741
AJ
24742012-05-18 Andreas Jaeger <aj@suse.de>
2475 Carlos O'Donell <carlos_odonell@mentor.com>
2476
2477 * manual/install.texi (Configuring and compiling): Update
2478 description about files modified in the source directory.
d6c33fda 2479 * INSTALL: Regenerated.
e6bdb741 2480
1b74487e
L
24812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2484 value. Use "or" to set return value to -1.
2485 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2486 negate return value.
2487
a88b64b9
TMQMF
24882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2489
2490 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2491 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2492 failure if the compiler has Graphite support disabled.
2493 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2494 Likewise.
2495 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2496 CFLAGS-memmove.c): Likewise.
2497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2498 Likewise.
2499
3707636e
L
25002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2501
610b8622
L
2502 * sysdeps/x86_64/x32/_itoa.h: New file.
2503
7cd195df
L
2504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2505 getdents system call only if kernel and user dirents have the
2506 same d_ino and d_off.
2507
94b07d20
L
2508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2509 LLONG_MAX != LONG_MAX.
2510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2511 (_fitoa_word): Likewise.
2512
18298070
L
2513 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2514 years.
2515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2517 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2518
553c7ea4
L
2519 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2520 include <bits/wordsize.h>. Check __x86_64__ instead of
2521 __WORDSIZE.
2522 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2523 if __x86_64__ is defined. Use anonymous union on fpstate.
2524
3707636e
L
2525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2526 anonymous union.
2527
b53ef01a
AS
25282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2529
37fb1dc0
AS
2530 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2531 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2532 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2533 Refer to _rtld_local_ro instead of _rtld_global_ro.
2534 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2535 Likewise.
2536 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2537 Likewise.
2538 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2539 Likewise.
2540 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2541 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2542 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2543
b53ef01a
AS
2544 * sysdeps/powerpc/powerpc32/dl-machine.c
2545 (__elf_machine_runtime_setup) [PROF]: Don't reference
2546 _dl_prof_resolve.
2547
7a185db2
AJ
25482012-05-18 Andreas Jaeger <aj@suse.de>
2549
2550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2551 function only available for GCCs before 3.4 since GCC 3.4
2552 introduced a builtin.
2553 (lrint): Likewise.
2554 (llrintf): Likewise.
2555 (llrint): Likewise.
2556 (fmaxf): Likewise.
2557 (fmax): Likewise.
2558 (fminf): Likewise.
2559 (fmin): Likewise.
2560 (rint): Likewise.
2561 (rintf): Likewise.
2562 (nearbyint): Likewise.
2563 (nearbyintf): Likewise.
2564 (ceil): Likewise.
2565 (ceilf): Likewise.
2566 (floor): Likewise.
2567 (floorf): Likewise.
2568
3e5aef87
L
25692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2570
428bd707
L
2571 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2572 on both fields and cast pointer to __syscall_ulong_t.
2573
3e5aef87
L
2574 * bits/types.h (__fsword_t): New type.
2575 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2576 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2578 (__FSWORD_T_TYPE): Likewise.
2579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2580 (__FSWORD_T_TYPE): Likewise.
2581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2582 (__FSWORD_T_TYPE): Likewise.
2583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2584 (__FSWORD_T_TYPE): Likewise.
2585 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2586 __SWORD_TYPE with __fsword_t.
2587 (statfs64): Likewise.
2588
1ba7c3dc
DM
25892012-05-17 David S. Miller <davem@davemloft.net>
2590
2591 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2592
59910343
AJ
25932012-05-17 Andreas Jaeger <aj@suse.de>
2594
2595 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2596 warning.
2597
2e4c1e9e
L
25982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2601
de7f5ce7
AJ
26022012-05-17 Andreas Jaeger <aj@suse.de>
2603
2604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2605 when it is used.
2606
286abc3d
CM
26072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2608
2609 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2610
477cc68e
L
26112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2612
2613 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2614 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2615
1a0994f5
CD
26162012-05-17 Andreas Jaeger <aj@suse.de>
2617 Carlos O'Donell <carlos_odonell@mentor.com>
2618
2619 [BZ #14059]
2620 * sysdeps/x86_64/multiarch/init-arch.h
2621 (bit_YMM_Usable): Rename to...
2622 (bit_AVX_Usable): ... this.
2623 (bit_FMA4_Usable): New macro.
2624 (bit_XMM_state): New macro.
2625 (bit_YMM_state): New macro.
2626 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2627 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2628 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2629 (CPUID_OSXSAVE): New macro.
2630 (CPUID_AVX): New macro.
2631 (CPUID_FMA4): New macro.
2632 (index_YMM_Usable): Rename to...
2633 (index_AVX_Usable): ... this.
2634 (HAS_AVX): Use HAS_ARCH_FEATURE.
2635 (HAS_FMA4): Likewise.
2636 (HAS_YMM_USABLE): Remove.
2637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2638 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2639 are present.
2640 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2641 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2642 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2643 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2644 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2645
0af797de
CM
26462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2647
2648 * math/libm-test.c: Support platforms without multiple rounding modes.
2649 * math/bug-nextafter.c: Support platforms without FP exceptions.
2650 * math/bug-nexttoward.c: Likewise.
2651 * math/test-fenv.c: Likewise.
2652 * math/test-misc.c: Likewise.
2653 * stdlib/bug-getcontext.c: Likewise.
2654
e39745ff
AJ
26552012-05-17 Andreas Jaeger <aj@suse.de>
2656
2657 * manual/examples/search.c (critter_cmp): Change signature to
2658 avoid warnings.
2659 * manual/string.texi (Collation Functions): Likewise.
2660
48970aba
L
26612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 * bits/types.h: Fold copyright years.
2664 * bits/typesizes.h: Likewise.
2665 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2669 * time/time.h: Likewise.
2670
bedee953
PP
26712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2672
2673 [BZ #208]
2674 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2675 in instead of returning them. Return void.
2676 (__libc_mallinfo): Accumulate over all arenas.
2677 (__malloc_stats): Adjust for change in int_mallinfo interface.
2678
61653dfb
RM
26792012-05-16 Roland McGrath <roland@hack.frob.com>
2680
30b99d79
RM
2681 [BZ #10375]
2682 * configure.in (NM): Add AC_CHECK_TOOL for it.
2683 (libc_extra_cflags): New substituted variable.
2684 Check for -fstack-protector being used implicitly.
2685 * configure: Regenerated.
2686 * config.make.in (config-extra-cflags): New variable,
2687 gets @libc_extra_cflags@.
2688 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2689
61653dfb
RM
2690 [BZ #10375]
2691 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2692 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2693 * configure: Regenerated.
2694 * config.make.in (CPPUNDEFS): New substituted variable.
2695 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2696 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2697 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2698
661768bb
L
26992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2702 (mq_attr): Use __syscall_slong_t.
2703
d4261567
L
27042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2707 Check __x86_64__ instead of __WORDSIZE.
2708 (_STAT_VER_LINUX): Likewise.
2709 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2710 __syscall_ulong_t and __syscall_slong_t.
2711 (stat64): Likewise.
2712
cf3ff365
L
27132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2716
76cf3e4d
L
27172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2720
a637753a
L
27212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2724 __syscall_ulong_t.
2725
d5e05119
L
2726 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2727 include <bits/wordsize.h>. Check __x86_64__ instead of
2728 __WORDSIZE.
2729 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2730 defined.
2731 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2732
f62ee380
L
2733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2734 include <bits/wordsize.h>. Check __x86_64__ instead of
2735 __WORDSIZE.
2736 (user_regs_struct): Use "__extension__ unsigned long long"
2737 instead of "unsigned long" if __x86_64__ is defined.
2738 (user): Likewise. Pad after pointer field if __ILP32__ is
2739 defined.
2740
4e124ced
JM
27412012-05-16 Joseph Myers <joseph@codesourcery.com>
2742
6a3951a0
JM
2743 * configure.in (makeinfo): Require version 4.5 or later. Allow
2744 versions 5 to 9.
2745 * configure: Regenerated.
2746 * manual/install.texi (texinfo): Increase version requirement to
2747 4.5 or later.
2748 * INSTALL: Regenerated.
2749
4e124ced
JM
2750 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2751
953ca31a
L
27522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2755
617aca05
L
2756 * sysdeps/x86_64/x32/ffs.c: New file.
2757
5762f7ae
L
2758 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2759 __syscall_ulong_t.
2760 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2761 defined. Use __syscall_ulong_t.
2762 (shminfo): Use __syscall_ulong_t.
2763 (shm_info): Likewise.
2764
a26b6856
L
2765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2766 __syscall_ulong_t.
2767
cb2b9ef7
L
2768 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2769 <bits/wordsize.h>.
2770 (msgqnum_t): Use __syscall_ulong_t.
2771 (msglen_t): Likewise.
2772 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2773 __syscall_ulong_t.
2774
34683bb0
L
2775 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2776 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2777
84a68786
L
2778 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2779
48baa5f1
L
2780 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2781 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2782
180be88b
L
2783 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2784 __syscall_slong_t.
2785
5e90c8ad
L
2786 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2787 include <bits/wordsize.h>. Check __x86_64__ instead of
2788 __WORDSIZE.
2789
23dfb58b
L
2790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2791 "unsigned long long int" if __x86_64__ is defined.
2792 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2793
ce5d54b0
L
2794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2796 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2797
13dc9eac
L
2798 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2799 <stdint.h>.
2800 (GET_PC): Cast to uintptr_t first.
2801 (GET_FRAME): Likewise.
2802 (GET_STACK): Likewise.
2803
a7895d15
L
2804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2810 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2811 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2812 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2817 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2824 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2826 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2828 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2830 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2831 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2832 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2833
656416c9
AS
28342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2835
5bd66283
AS
2836 * Makerules (+depfiles): Also collect depfiles from .oS in
2837 $(extra-objs).
2838 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2839 .oS, $(libnldbl-routines)).
2840
656416c9
AS
2841 * Makerules (native-compile-mkdep-flags): Define.
2842 * sunrpc/Makefile (extra-objs): Add $(addprefix
2843 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2844 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2845 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2846 calling $(make-target-directory).
2847
a46f2169
L
28482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * bits/types.h (__snseconds_t): Removed.
2851 * time/time.h (struct timespec): Replace __snseconds_t with
2852 __syscall_slong_t.
2853 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2854 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2855 Likewise.
2856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2857 (__SNSECONDS_T_TYPE): Likewise.
2858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2859 (__SNSECONDS_T_TYPE): Likewise.
2860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2861 (__SNSECONDS_T_TYPE): Likewise.
2862
6af6528b
L
28632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2864
2865 * sysdeps/mach/hurd/bits/typesizes.h
2866 (__SYSCALL_SLONG_TYPE): New macro.
2867 (__SYSCALL_ULONG_TYPE): Likewise.
2868
de986b56
L
28692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2870
2871 * bits/types.h (__syscall_slong_t): New type.
2872 (__syscall_ulong_t): Likewise.
2873
2874 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2875 (__SYSCALL_ULONG_TYPE): Likewise.
2876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2877 (__SYSCALL_SLONG_TYPE): Likewise.
2878 (__SYSCALL_ULONG_TYPE): Likewise.
2879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2880 (__SYSCALL_SLONG_TYPE): Likewise.
2881 (__SYSCALL_ULONG_TYPE): Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2883 (__SYSCALL_SLONG_TYPE): Likewise.
2884 (__SYSCALL_ULONG_TYPE): Likewise.
2885
85736dc7
L
28862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2887
2888 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2889 Add sigaltstack-offsets.sym.
2890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2891 <sigaltstack-offsets.h>.
2892 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2893 longjmp_msg pointer.
2894 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2895 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2896 signal stack.
2897 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2898
cc03b296
JM
28992012-05-15 Joseph Myers <joseph@codesourcery.com>
2900
a9538892
JM
2901 * elf/stackguard-macros.h: Remove file.
2902 * sysdeps/generic/stackguard-macros.h: New file.
2903 * sysdeps/i386/stackguard-macros.h: Likewise.
2904 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2905 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2906 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2907 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2908 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2909 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2910 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2911 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2912 <elf/stackguard-macros.h>.
2913
cc03b296
JM
2914 [BZ #14109]
2915 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2916 __aligned__ in attribute.
2917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2918 (gregset_t): Likewise.
2919
93171016
L
29202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2923 * sysdeps/x86_64/64/Implies-after: Here. New file.
2924 * sysdeps/x86_64/x32/Implies-after: New file.
2925
d86813a0
L
29262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2929 and access return value for _dl_profile_fixup. Use R10_LP to
2930 load frame size.
2931
2953ec75
L
29322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2933
2934 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2935
3b550e9e
L
29362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2939 * sysdeps/x86_64/x32/sysdep.h: New file.
2940
eda41706
L
29412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2942
2943 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2944 * sysdeps/x86_64/setjmp.S: Likewise.
2945
9ea01d93
AZ
29462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947
2948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2950 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2952 remove unused global constant.
2953
02a91938
CM
29542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2955
2956 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2957 include of <not-cancel.h>.
2958
6540185f
RM
29592012-05-15 Roland McGrath <roland@hack.frob.com>
2960
2961 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2962
509072a0
AJ
29632012-05-15 Jeff Law <law@redhat.com>
2964 Andreas Jaeger <aj@suse.de>
2965
2966 [BZ #13594]
2967 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2968 out from...
2969 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2970 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2971 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2972 code changing __hst_map_handle.map.
2973
ba75122d
RM
29742012-05-15 Roland McGrath <roland@hack.frob.com>
2975
2976 * configure.in (sysnames): Look for Implies-before and Implies-after
2977 files.
2978 * configure: Regenerated.
2979
890d8bd8
L
29802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2983 8-byte data alignment with LP_SIZE alignment.
2984
f6ee6623
L
29852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2988 into R10_LP.
2989
ea2626f6
L
29902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2993
085f715e
L
29942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2997 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3001
be8498fc
L
30022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3005 (stackinfo_sub_sp): Likewise.
3006
70bc83b9
L
30072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3008
3009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3010 RAX_LP.
3011
9bc0b730
L
30122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3015 into R*_LP.
3016
6d2850e7
L
30172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3020 sizes into R*_LP.
3021
3cb84561
L
30222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3025
54e2ed81
L
30262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3029 into R11_LP and load __x86_64_shared_cache_size_half into
3030 R8_LP.
3031
8a17f349
L
30322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3035 R8_LP.
3036
777b1eea
AZ
30372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3038
3039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3040 logb for POWER7.
3041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3042 logbf for POWER7.
3043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3044 logbl for POWER7.
3045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3046 powerpc32/power7/fpu/s_logb.c via #include.
3047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3048 powerpc32/power7/fpu/s_logbf.c via #include.
3049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3050 powerpc32/power7/fpu/s_logbl.c via #include.
3051
d20d4ac2
JM
30522012-05-15 Joseph Myers <joseph@codesourcery.com>
3053
3054 * README.libm: Remove file.
3055
6cdef1ab
L
30562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3059 count for x32. Use R*_LP and omit operand-size suffix.
3060
0b254d8f
L
30612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3062
3063 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3064 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3065 * sysdeps/x86_64/x32/shlib-versions: New file.
3066
ceb809dc
RM
30672012-05-14 Roland McGrath <roland@hack.frob.com>
3068
3069 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3070 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3071 Use _dl_fatal_printf instead.
3072
37f1abd4
JM
30732012-05-14 Joseph Myers <joseph@codesourcery.com>
3074
3075 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3076 set if not set by the user. Do not allow for being unset.
3077 * sysdeps/unix/sysv/linux/configure: Regenerated.
3078
11de3a33
L
30792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3080
3081 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3082 the `q' suffix from lea and replace .quad with ASM_ADDR.
3083
e02f153a
L
30842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3087 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3088 instead of $17.
3089 (PTR_DEMANGLE): Likewise.
3090
520ae0fd
L
30912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3094 (LP_OP): Likewise.
3095 (ASM_ADDR): Likewise.
3096 (RAX_LP): Likewise.
3097 (RBP_LP): Likewise.
3098 (RBX_LP): Likewise.
3099 (RCX_LP): Likewise.
3100 (RDI_LP): Likewise.
3101 (RSI_LP): Likewise.
3102 (RSP_LP): Likewise.
3103 (R8_LP): Likewise.
3104 (R9_LP): Likewise.
3105 (R10_LP): Likewise.
3106 (R10_LP): Likewise.
3107 (R11_LP): Likewise.
3108 (R12_LP): Likewise.
3109 (R13_LP): Likewise.
3110 (R14_LP): Likewise.
3111 (R15_LP): Likewise.
3112
b985be81
L
31132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * sysdeps/x86_64/x32/dl-machine.h: New file.
3116
6a4888ff
AJ
31172012-05-14 Andreas Jaeger <aj@suse.de>
3118
3119 * manual/Makefile (subdir): Remove export of subdir.
3120 (all): Remove target.
3121 (.PHONY): Remove all from list.
3122 (mkinstalldirs): Remove.
3123 (.PHONY): Remove installdirs from list.
3124 ($(inst_infodir)/libc.info): Use make-target-directory.
3125 (installdirs): Remove.
3126 (subdir_%): Remove.
3127 (glibc-targets): Remove.
3128 (lib): Remove.
3129 (stubs): Remove.
3130 ($(objpfx)stubs ../po/manual.pot): Remove.
3131 ($(objpfx)stamp%): Remove.
3132 (make-target-directory): Remove.
3133 (subdir_install): Remove.
3134 (routines): Remove.
3135 (aux): Remove.
3136 (sources): Remove.
3137 (objects): Remove.
3138 (headers): Remove.
3139
3140 [BZ #13750]
3141 * manual/.gitignore: Remove, it's not needed anymore.
3142 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3143 all files in it.
3144 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3145 directory.
3146 (texis): Renamed to $(objpfx)texis.
3147 (texis-path): New, contains path to generated files.
3148 (chapters.%): Use texis-path for complete path, add extra argument
3149 libc-texinfo.sh.
3150 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3151 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3152 (summary,texi, stamp-summary): Use complete path of
3153 files. Generate files in build dir.
3154 (dir-add.texi): Build in build dir.
3155 (libm-err.texi,stamp-libm-err): Likewise.
3156 (version.texi, stamp-version): Likewise.
3157 (.%c.texi): Likewise.
3158 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3159 (mostlyclean): Remove target.
3160 (realclean): Remove target.
3161 (generated): Add new variable with contents from mostlyclean and
3162 realclean, remove entries duplicated in common-mostlyclean, add
3163 stamp-libm-err and stamp-version.
3164 (generated-dirs): Add libc directory.
3165 ($(inst_infodir)/libc.info): Install files from build dir.
3166
3167 * manual/install.texi (Configuring and compiling): Adjust since
3168 the info files are not part of the tar ball anymore.
3169
7ac77294
AJ
31702012-05-14 Andreas Jaeger <aj@suse.de>
3171
3172 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3173 variable.
3174
ffb7875d
JM
31752012-05-14 Joseph Myers <joseph@codesourcery.com>
3176
3177 [BZ #13717]
3178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3179 to 2.2.0 where earlier.
3180 * sysdeps/unix/sysv/linux/configure: Regenerated.
3181 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3182 Remove conditional code.
3183 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3184 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3185 Remove conditional code.
3186 [!__NR_lchown]: Likewise.
3187 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3188 [__NR_lchown]: Likewise.
3189 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3190 comment referencing __ASSUME_LCHOWN_SYSCALL.
3191 * sysdeps/unix/sysv/linux/i386/sigaction.c
3192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3194 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3195 Remove conditional code.
3196 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3197 (__protocol_available): Remove #if 0 code.
3198 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3199 conditional code.
3200 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3201 * sysdeps/unix/sysv/linux/kernel-features.h
3202 (__ASSUME_GETCWD_SYSCALL): Don't define.
3203 (__ASSUME_REALTIME_SIGNALS): Likewise.
3204 (__ASSUME_PREAD_SYSCALL): Likewise.
3205 (__ASSUME_PWRITE_SYSCALL): Likewise.
3206 (__ASSUME_POLL_SYSCALL): Likewise.
3207 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3208 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3209 non-SPARC.
3210 (__ASSUME_SIOCGIFNAME): Don't define.
3211 (__ASSUME_MSG_NOSIGNAL): Likewise.
3212 (__ASSUME_SENDFILE): Define unconditionally.
3213 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3214 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3215 conditional code.
3216 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3217 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3218 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3219 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3220 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3221 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3222 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3247 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3248 Remove conditional code.
3249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3250 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3251 Remove conditional code.
3252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3253 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3254 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3255 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3256 Remove conditional code.
3257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3258 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3259 Remove conditional code.
3260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3261 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3262 Remove conditional code.
3263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3264 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3265 Remove conditional code.
3266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3267 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3268 Remove conditional code.
3269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3270 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3273 * sysdeps/unix/sysv/linux/sigaction.c
3274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3276 * sysdeps/unix/sysv/linux/sigpending.c
3277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3279 * sysdeps/unix/sysv/linux/sigprocmask.c
3280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3282 * sysdeps/unix/sysv/linux/sigsuspend.c
3283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3285 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3286 (__libc_missing_rt_sigs): Remove.
3287 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3288 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3289 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3290 Remove conditional code.
3291 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3292 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3293 return 1.
3294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3295 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3297 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3298
1bfb7291
AJ
32992012-05-14 Andreas Jaeger <aj@suse.de>
3300
caae5a81
AJ
3301 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3302 it's not used in glibc.
3303 (__coshm1): Likewise.
3304 (__acosh1p): Likewise.
3305 (__sgn): Likewise.
3306
1bfb7291
AJ
3307 * manual/string.texi (Copying and Concatenation): Add missing
3308 variable in concat example.
3309 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3310
c044d724
L
33112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3312
144c5467 3313 [BZ #14103]
c044d724
L
3314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3315 __builtin_clzl with __builtin_clzll.
3316
2523c62b
L
33172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 [BZ #14104]
3320 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3321 libc_freeres_ptr.
3322
d7bb4c42
LD
33232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3324
3325 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3326 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3327 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3329
9dc4e1fb
MF
33302012-05-14 Mike Frysinger <vapier@gentoo.org>
3331
3332 * NEWS: Update ia64 info.
3333
c7df0112
AS
33342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3335
3336 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3337 used as bcopy.
3338
dc70356c
TS
33392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3340
3341 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3342 * sysdeps/unix/syscalls.list (dup3): Likewise.
3343 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3344 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3345
9fb1a21f
L
33462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3349 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3350
4822a2a5
L
33512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3352
3353 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3354 thread pointer.
3355 (TLS_IE): Use mov/add instead of movq/addq to load thread
3356 pointer.
3357 (TLS_GD_PREFIX): New.
3358 (TLS_GD): Use it.
3359
842b81d6
DM
33602012-05-11 David S. Miller <davem@davemloft.net>
3361
3362 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3363 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3364 (_FPU_SETCW): Likewise.
3365
1cf463cd
L
33662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3369 is 32-byte aligned.
3370
60cc4a18
AS
33712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 [BZ #11837]
3374 * iconvdata/gb18030.c: Update tables.
3375 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3376 characters specially.
3377 (BODY for TO_LOOP): Add encoding of missing ranges.
3378
febb44a4
TS
33792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3380
3381 [BZ #13673]
3382 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3383 * sysdeps/mach/hurd/dup3.c: Likewise.
3384 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3385 * sysdeps/powerpc/memmove.c:: Likewise.
3386
0a10fb9e
L
33872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3390 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3391
df8a552f
L
33922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * elf/elf.h (R_X86_64_RELATIVE64): New.
3395 (R_X86_64_NUM): Updated.
3396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3397 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3398 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3399 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3400 tst-quad1pie tst-quad2pie
3401 (modules-names): Add tst-quadmod1 tst-quadmod2.
3402 ($(objpfx)tst-quad1): New dependency.
3403 ($(objpfx)tst-quad2): Likewise.
3404 ($(objpfx)tst-quad1pie): Likewise.
3405 ($(objpfx)tst-quad2pie): Likewise.
3406 * sysdeps/x86_64/tst-quad1.c: New file.
3407 * sysdeps/x86_64/tst-quad1pie.c: New file.
3408 * sysdeps/x86_64/tst-quad2.c: Likewise.
3409 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3410 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3411 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3412 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3413 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3414
f34d6f84
ST
34152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3416
f42d41d1
ST
3417 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3418 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3419 * streams/stropts.h (t_scalar_t): Define type.
3420
3c3571fc
ST
3421 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3422 (_PATH_PRESERVE): Set to "/var/lib".
3423 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3424
61f06bd3
ST
3425 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3426 instead of int.
3427
918d4d71
ST
3428 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3429 if __dir_mkfile succeeded.
3430
f34d6f84
ST
3431 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3432 checking for _hurd_dtablesize. Unlock it right after having
3433 finished _hurd_dtable allocation.
3434
10589b4a
TS
34352012-05-10 Thomas Schwinge <thomas@schwinge.name>
3436
674cdbc7
TS
3437 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3438 * sysdeps/mach/hurd/configure: Regenerated.
3439 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3440 special-casing to...
3441 * sysdeps/gnu/configure.in: ... this new file.
3442 * sysdeps/unix/sysv/linux/configure: Regenerated.
3443 * sysdeps/gnu/configure: New generated file.
3444
8e41b99f
TS
3445 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3446 for Linux: use nsec instead of usec, as well as:
3447 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3448 members of type struct timespec.
3449 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3450 New macros.
3451 (struct stat64): Likewise.
3452 (_STATBUF_ST_NSEC): New macro.
3453 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3454
10589b4a
TS
3455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3456 __strtoul_internal rather than strtoul.
3457
63643c85
PT
34582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3459
3460 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3461 and reject them.
3462
3faebe6a
ST
34632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3464
3465 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3466 which preserves existing values.
3467 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3468
c6474b07
PT
34692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3470
3471 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3472 TIMEOUT values. Return EINVAL for NFDS values either negative or
3473 greater than FD_SETSIZE.
3474
1043890b
ST
34752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3476
3477 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3478 allocated, call __vm_protect to finish enabling the existing space, and
3479 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3480 allocate the remainder.
3481
37ed8b9b
PT
34822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3483
3484 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3485 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3486
db653660
ST
34872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3488
37ed8b9b
PT
3489 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3490 sysdeps/mach/hurd/readlink.c.
b29d4053 3491
db653660
ST
3492 * posix/tst-sysconf.c (posix_options): Only use
3493 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3494 _POSIX_SYNCHRONIZED_IO when they are defined
3495 * sysdeps/mach/hurd/bits/posix_opt.h:
3496 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3497 (_XOPEN_REALTIME): Undefine macro.
3498 (_XOPEN_REALTIME_THREADS): Undefine macro.
3499 (_XOPEN_SHM): Undefine macro.
3500 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3501 macro to -1.
3502 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3503 macro to -1.
3504 (_POSIX_ASYNC_IO): Undefine macro.
3505 (_POSIX_PRIORITIZED_IO): Undefine macro.
3506 (_POSIX_SPIN_LOCKS): Define macro to -1.
3507
ee16e894
ST
3508 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3509 SA_NODEFER, SA_RESETHAND.
3510 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3511 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3512 F_DUPFD_CLOEXEC.
3513
6103ae3b
TS
35142012-05-10 Thomas Schwinge <thomas@schwinge.name>
3515
3516 * elf/Makefile (pldd-modules): Define unconditionally.
3517
80b4e5f3
TS
35182012-05-10 Thomas Schwinge <thomas@schwinge.name>
3519
3520 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3521
edadcbd6
ST
35222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3523
3524 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3525 Return ENOENT when name is empty.
3526 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3527
80694780
TS
35282012-05-10 Thomas Schwinge <thomas@schwinge.name>
3529
1792c087
TS
3530 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3531
80694780
TS
3532 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3533
6b645f0d
ST
35342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3535
80694780
TS
3536 Fix mlock in all cases except non-readable pages.
3537 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3538 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3539
6b645f0d
ST
3540 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3541 (__mkdir): When path is `/', just fail with EEXIST.
3542 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3543
e468f8a3
TS
35442012-05-10 Thomas Schwinge <thomas@schwinge.name>
3545
3546 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3547 <sys/uio.h> (for writev).
3548 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3549 and <sys/param.h> (for MIN).
3550
a4186cff
PT
35512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3552
3553 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3554 REQUESTED_TIME. Properly set the remaining time and return EINTR
3555 if interrupted.
3556
510bbf14
TS
35572012-05-10 Thomas Schwinge <thomas@schwinge.name>
3558
3559 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3560 Depend on against $(link-rpcuserlibs).
3561
5d5722e8
ST
35622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3563
a4186cff
PT
3564 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3565 (__libc_stack_end): Do not use attribute_relro.
3566 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3567 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3568 to libthread-provided value.
a4186cff
PT
3569 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3570 attribute_relro.
5d5722e8 3571
37233df9
TS
35722012-05-10 Thomas Schwinge <thomas@schwinge.name>
3573
be971a2b
TS
3574 [BZ #3748]
3575 * bits/libc-lock.h (__libc_once_get): New macro.
3576 * sysdeps/mach/bits/libc-lock.h: Likewise.
3577 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3579 instead of using implementation details.
3580
37233df9
TS
3581 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3582 * libio/freopen.c: Likewise.
3583 * libio/freopen64.c: Likewise.
3584 * misc/syslog.c: Likewise.
3585 * nscd/connections.c: Likewise.
3586 * nscd/netgroupcache.c: Likewise.
3587 * sysdeps/posix/getcwd.c: Likewise.
3588
38de94a5
RM
35892012-05-10 Roland McGrath <roland@hack.frob.com>
3590
3591 * math/w_ilogbf.c: Add #include <limits.h>.
3592
67530489
ST
35932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3594
a4186cff 3595 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3596 path instead of returning without unlocking.
3597
67530489
ST
3598 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3599 immediate-write ioctls.
3600 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3601
5aa3a74a
TS
36022012-05-10 Thomas Schwinge <thomas@schwinge.name>
3603
18bad2ae
TS
3604 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3605 __builtin_frame_address instead of making assumptions about the
3606 location of the return address relative to DATA. Force early load of
3607 the return address.
3608 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3609 __builtin_frame_address.
3610
5aa3a74a
TS
3611 dup3 for GNU Hurd.
3612 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3613 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3614 implement dup3 and do some further code clean-ups.
3615 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3616 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3617
ecd0de9a
ST
36182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3619
cd9fa985
ST
3620 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3621
a4186cff
PT
3622 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3623 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3624 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3625 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3626 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3627 d->port.lock.
802ca5a5 3628
a4186cff
PT
3629 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3630 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3631 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3632
bcf55240
TS
36332012-05-10 Thomas Schwinge <thomas@schwinge.name>
3634
6960eb42
TS
3635 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3636 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3637 definitions.
3638
eb43375f
TS
3639 accept4 for GNU Hurd.
3640 * include/sys/socket.h (__libc_accept4): New prototype.
3641 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3642 to implement __libc_accept4.
3643 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3644 __libc_accept4.
3645 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3646
bcf55240
TS
3647 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3648 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3649 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3650 signal-defines.sym.
3651
6178c55b
ST
36522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3653
a4186cff 3654 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3655
6f080c2f
TS
36562012-05-10 Thomas Schwinge <thomas@schwinge.name>
3657
3658 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3659 assertion on O_CLOEXEC flag.
3660 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3661 * hurd/intern-fd.c: Likewise.
3662 * hurd/port2fd.c: Likewise.
3663
bcfe3a54
ST
36642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3665
3666 [BZ #3906]
3667 * bits/in.h (IPV6_PKTINFO): Define new macro.
3668 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3669
89c9aa49
AZ
36702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3671
3672 [BZ #13954]
3673 [BZ #13955]
3674 [BZ #13956]
3675 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3677 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3680 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3681 * math/libm-test.inc (logb_test) : Additional logb tests.
3682
021db4be
AJ
36832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3684 Andreas Jaeger <aj@suse.de>
3685
3686 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3687 * configure: Regenerated.
3688 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3689 * config.make.in (link-obsolete-rpc): New substituted variable.
3690 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3691 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3692 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3693 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3694 so that libc.a contains the symbols.
3695 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3696 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3697 * sunrpc/auth_none.c: Likewise.
3698 * sunrpc/auth_unix.c: Likewise.
3699 * sunrpc/authdes_prot.c: Likewise.
3700 * sunrpc/authuxprot.c: Likewise.
3701 * sunrpc/clnt_gen.c: Likewise.
3702 * sunrpc/clnt_perr.c: Likewise.
3703 * sunrpc/clnt_raw.c: Likewise.
3704 * sunrpc/clnt_simp.c: Likewise.
3705 * sunrpc/clnt_tcp.c: Likewise.
3706 * sunrpc/clnt_udp.c: Likewise.
3707 * sunrpc/clnt_unix.c: Likewise.
3708 * sunrpc/des_crypt.c: Likewise.
3709 * sunrpc/des_soft.c: Likewise.
3710 * sunrpc/get_myaddr.c: Likewise.
3711 * sunrpc/key_call.c: Likewise.
3712 * sunrpc/key_prot.c: Likewise.
3713 * sunrpc/netname.c: Likewise.
3714 * sunrpc/pm_getmaps.c: Likewise.
3715 * sunrpc/pm_getport.c: Likewise.
3716 * sunrpc/pmap_clnt.c: Likewise.
3717 * sunrpc/pmap_prot.c: Likewise.
3718 * sunrpc/pmap_prot2.c: Likewise.
3719 * sunrpc/pmap_rmt.c: Likewise.
3720 * sunrpc/publickey.c: Likewise.
3721 * sunrpc/rpc_cmsg.c: Likewise.
3722 * sunrpc/rpc_common.c: Likewise.
3723 * sunrpc/rpc_dtable.c: Likewise.
3724 * sunrpc/rpc_prot.c: Likewise.
3725 * sunrpc/rpc_thread.c: Likewise.
3726 * sunrpc/rtime.c: Likewise.
3727 * sunrpc/svc.c: Likewise.
3728 * sunrpc/svc_auth.c: Likewise.
3729 * sunrpc/svc_raw.c: Likewise.
3730 * sunrpc/svc_run.c: Likewise.
3731 * sunrpc/svc_tcp.c: Likewise.
3732 * sunrpc/svc_udp.c: Likewise.
3733 * sunrpc/svc_unix.c: Likewise.
3734 * sunrpc/svcauth_des.c: Likewise.
3735 * sunrpc/xcrypt.c: Likewise.
3736 * sunrpc/xdr.c: Likewise.
3737 * sunrpc/xdr_array.c: Likewise.
3738 * sunrpc/xdr_float.c: Likewise.
3739 * sunrpc/xdr_intXX_t.c: Likewise.
3740 * sunrpc/xdr_mem.c: Likewise.
3741 * sunrpc/xdr_rec.c: Likewise.
3742 * sunrpc/xdr_ref.c: Likewise.
3743 * sunrpc/xdr_sizeof.c: Likewise.
3744 * sunrpc/xdr_stdio.c: Likewise.
3745
b5c086a2
RM
37462012-05-10 Roland McGrath <roland@hack.frob.com>
3747
3748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3749 change. Update copyright years.
3750
6d74dd09
JM
37512012-05-10 Joseph Myers <joseph@codesourcery.com>
3752
3753 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3754
28e72501
MK
37552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3756 Joseph Myers <joseph@codesourcery.com>
3757 Paul Pluzhnikov <ppluzhnikov@google.com>
3758
3759 [BZ #14012]
3760 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3761 requiring rpcgen.
3762 [cross-compiling] (extra-libs): Likewise.
3763 [cross-compiling] (extra-libs-others): Likewise.
3764 [cross-compiling] (librpcsvc-routines): Likewise.
3765 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3766 [cross-compiling] (omit-deps): Likewise.
3767 (sunrpc-CPPFLAGS): New variable.
3768 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3769 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3770 (cross-rpcgen-objs): New variable.
3771 (extra-objs): Append $(cross-rpcgen-objs).
3772 ($(cross-rpcgen-objs)): New rule.
3773 ($(objpfx)cross-rpcgen): Likewise.
3774 (rpcgen-cmd): Define to use $(built-program-file). Expand
3775 comment.
3776 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3777 ($(objpfx)x%.stmp): Likewise.
3778 * sunrpc/proto.h [IS_IN_build] (_): Define.
3779 [IS_IN_build] (_libc_intl_domainname): Likewise.
3780
c8c59454
L
37812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3782
3783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3784 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3785 and R_X86_64_TPOFF64.
3786
6f27cd16
JM
37872012-05-10 Joseph Myers <joseph@codesourcery.com>
3788
3789 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3790 sysdeps/unix/sysv/syscalls.list.
3791 (stime): Likewise.
3792 (utime): Likewise.
3793 * sysdeps/unix/sysv/syscalls.list: Remove file.
3794
02467e1c
PE
37952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3796
3797 [BZ #3440]
3798 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3799 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3800 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3801 (__LC_IDENTIFICATION): Make these macros useful in #if
3802 expressions, as required by C99.
3803
da392631
AS
38042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3805
3806 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3807 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3808 after this.
3809
8115f29b
L
38102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3811
3812 * stdlib/longlong.h: Updated from GCC.
3813
bdd74070
AJ
38142012-05-09 Andreas Jaeger <aj@suse.de>
3815
edfe0dbe
AJ
3816 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3817 default is first entry.
3818 (run_mode): Set type.
3819 (main): Remove informal message about syslog.
3820 (options): Fix typo.
3821
bcfe3a54
ST
3822 [BZ #14053]
3823 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3824 to asm.
bcfe3a54
ST
3825 (lrint): Likewise.
3826 (llrintf): Likewise.
3827 (llrint): Likewise.
3828 (rint): Likewise.
3829 (rintf): Likewise.
3830 (nearbyint): Likewise.
3831 (nearbyintf): Likewise.
bdd74070 3832
91d8d69e
AJ
38332012-05-09 Andreas Jaeger <aj@suse.de>
3834 Pedro Alves <palves@redhat.com>
3835
3836 * nscd/nscd.c (run_mode): Use enum.
3837 (main): Cleanup coding style issue.
3838
bb90b80b
AJ
38392012-05-09 Alexandre Oliva <aoliva@redhat.com>
3840 Andreas Jaeger <aj@suse.de>
3841
bcfe3a54
ST
3842 * nscd/nscd.c (go_background): Replaced with...
3843 (run_mode): ... this.
bb90b80b 3844 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3845 (options): Add -F --foreground.
3846 (main): Implement it.
3847 (parse_opt): Parse it.
bb90b80b 3848
1a4b75a1
AJ
38492012-05-09 Andreas Jaeger <aj@suse.de>
3850
3851 [BZ #14083]
3852 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3853 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3854 -Wconversion warning.
3855 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3856 Likewise.
3857
b1cc2472
JM
38582012-05-09 Joseph Myers <joseph@codesourcery.com>
3859
3860 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3861 == 0.
3862 (LC_ALL): Use macro-int-constant.
3863 (LC_COLLATE): Likewise.
3864 (LC_CTYPE): Likewise.
3865 (LC_MESSAGES): Likewise.
3866 (LC_MONETARY): Likewise.
3867 (LC_NUMERIC): Likewise.
3868 (LC_TIME): Likewise.
3869 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3870 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3872 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3873 Specify type.
3874 [C99-based standards] (float_t): Expect type.
3875 [C99-based standards] (double_t): Expect type.
3876 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3877 type.
3878 [C99-based standards] (HUGE_VALL): Likewise.
3879 [C99-based standards] (INFINITY): Likewise.
3880 [C99-based standards] (NAN): Likewise.
3881 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3882 [C99-based standards] (FP_NAN): Likewise.
3883 [C99-based standards] (FP_NORMAL): Likewise.
3884 [C99-based standards] (FP_SUBNORMAL): Likewise.
3885 [C99-based standards] (FP_ZERO): Likewise.
3886 [C99-based standards] (FP_FAST_FMA): Use
3887 optional-macro-int-constant. Specify type. Require == 1.
3888 [C99-based standards] (FP_FAST_FMAF): Likewise.
3889 [C99-based standards] (FP_FAST_FMAL): Likewise.
3890 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3891 [C99-based standards] (FP_ILOGBNAN): Likewise.
3892 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3893 Specify type.
3894 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3895 [C99-based standards] (math_errhandling): Specify type.
3896 [ISO99 || ISO11] (signgam): Do not allow.
3897 [non-C99-based standards] (copysignf): Do not allow.
3898 [non-C99-based standards] (exp2f): Likewise.
3899 [non-C99-based standards] (log2f): Likewise.
3900 [non-C99-based standards] (modff): Allow.
3901 [non-C99-based standards] (erff): Do not allow.
3902 [non-C99-based standards] (erfcf): Likewise.
3903 [non-C99-based standards] (gammaf): Likewise.
3904 [non-C99-based standards] (hypotf): Likewise.
3905 [non-C99-based standards] (j0f): Likewise.
3906 [non-C99-based standards] (j1f): Likewise.
3907 [non-C99-based standards] (jnf): Likewise.
3908 [non-C99-based standards] (lgammaf): Likewise.
3909 [non-C99-based standards] (tgammaf): Likewise.
3910 [non-C99-based standards] (y0f): Likewise.
3911 [non-C99-based standards] (y1f): Likewise.
3912 [non-C99-based standards] (ynf): Likewise.
3913 [non-C99-based standards] (isnanf): Likewise.
3914 [non-C99-based standards] (acoshf): Likewise.
3915 [non-C99-based standards] (asinhf): Likewise.
3916 [non-C99-based standards] (atanhf): Likewise.
3917 [non-C99-based standards] (cbrtf): Likewise.
3918 [non-C99-based standards] (expm1f): Likewise.
3919 [non-C99-based standards] (ilogbf): Likewise.
3920 [non-C99-based standards] (log1pf): Likewise.
3921 [non-C99-based standards] (logbf): Likewise.
3922 [non-C99-based standards] (nextafterf): Likewise.
3923 [non-C99-based standards] (remainderf): Likewise.
3924 [non-C99-based standards] (rintf): Likewise.
3925 [non-C99-based standards] (scalbf): Likewise.
3926 [non-C99-based standards] (copysignl): Likewise.
3927 [non-C99-based standards] (exp2l): Likewise.
3928 [non-C99-based standards] (log2l): Likewise.
3929 [non-C99-based standards] (modfl): Allow.
3930 [non-C99-based standards] (erfl): Do not allow.
3931 [non-C99-based standards] (erfcl): Likewise.
3932 [non-C99-based standards] (gammal): Likewise.
3933 [non-C99-based standards] (hypotl): Likewise.
3934 [non-C99-based standards] (j0l): Likewise.
3935 [non-C99-based standards] (j1l): Likewise.
3936 [non-C99-based standards] (jnl): Likewise.
3937 [non-C99-based standards] (lgammal): Likewise.
3938 [non-C99-based standards] (tgammal): Likewise.
3939 [non-C99-based standards] (y0l): Likewise.
3940 [non-C99-based standards] (y1l): Likewise.
3941 [non-C99-based standards] (ynl): Likewise.
3942 [non-C99-based standards] (isnanl): Likewise.
3943 [non-C99-based standards] (acoshl): Likewise.
3944 [non-C99-based standards] (asinhl): Likewise.
3945 [non-C99-based standards] (atanhl): Likewise.
3946 [non-C99-based standards] (cbrtl): Likewise.
3947 [non-C99-based standards] (expm1l): Likewise.
3948 [non-C99-based standards] (ilogbl): Likewise.
3949 [non-C99-based standards] (log1pl): Likewise.
3950 [non-C99-based standards] (logbl): Likewise.
3951 [non-C99-based standards] (nextafterl): Likewise.
3952 [non-C99-based standards] (remainderl): Likewise.
3953 [non-C99-based standards] (rintl): Likewise.
3954 [non-C99-based standards] (scalbl): Likewise.
3955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3956 [non-C99-based standards] (FP_*): Do not allow.
3957 [C99-based standards] (FP_*): Change to
3958 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3959 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3960 allow.
3961 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3962 (SIG_ERR): Likewise.
3963 [X/Open-based standards] (SIG_HOLD): Likewise.
3964 (SIG_IGN): Likewise.
3965 (SIGABRT): Use macro-int-constant. Specify type. Require
3966 positive value.
3967 (SIGFPE): Likewise.
3968 (SIGILL): Likewise.
3969 (SIGINT): Likewise.
3970 (SIGSEGV): Likewise.
3971 (SIGTER): Likewise.
3972 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3973 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3974 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3975 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3976 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3977 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3978 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3979 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3980 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3981 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3982 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3983 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3984 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3985 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3986 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3987 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3988 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3989 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3990 [X/Open-based standards] (SIGTRAP): Likewise.
3991 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3992 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3993 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3994 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3995 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3996 allow.
3997
b9f1922d
IW
39982012-05-08 Ian Wienand <ianw@vmware.com>
3999
4000 [BZ #14080]
4001 * time/tzset.c (__tzset_parse_tz): Update default rules for
4002 daylight time changes in the Energy Policy Act of 2005.
4003
1db86e88
AJ
40042012-05-09 Andreas Jaeger <aj@suse.de>
4005
4006 [BZ #13983]
4007 * elf/ldconfig.c (parse_conf): Change string to make clear that
4008 ldconfig only issued a warning if ld.so.conf does not exist.
4009
dee4a4e3
DM
40102012-05-08 David S. Miller <davem@davemloft.net>
4011
ee0db190
DM
4012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4013 movxtod instead of popping the value on the stack.
4014
dee4a4e3
DM
4015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4016
6a43ec98
CD
40172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4018
4019 * config.h.in: Add HAVE_ARM_PCS_VFP.
4020
05c2c961
RMG
40212012-05-08 Roland Mc Grath <roland@hack.frob.com>
4022
bcfe3a54
ST
4023 [BZ #13979]
4024 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4025 checking but the checks are disabled for any reason.
05c2c961 4026
4b30f61a
L
40272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4030 and ELF64_R_TYPE with ELFW(R_TYPE).
4031
eee2bc67
JM
40322012-05-08 Joseph Myers <joseph@codesourcery.com>
4033
7ea5391a
JM
4034 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4035 (ulimit): Likewise.
4036
eee2bc67
JM
4037 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4038 (settimeofday): Likewise.
4039
abb66a67
MF
40402012-05-08 Mike Frysinger <vapier@gentoo.org>
4041
4042 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4043 a struct th_u2 inside the union, and move tu_block/tu_code into
4044 a new th_u3 union of tu_block/tu_code inside of that. Move
4045 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4046 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4047 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4048 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4049 (th_stuff): Change to th_u1.tu_stuff.
4050 (th_data): Define.
4051 (th_msg): Change to th_u1.th_u2.tu_data.
4052
7f18b530
DM
40532012-05-07 David S. Miller <davem@davemloft.net>
4054
05760585
DM
4055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4056
7f18b530
DM
4057 [BZ #14074]
4058 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4059 (SETUP_PIC_REG): Use it.
4060 (SETUP_PIC_REG_LEAF): Use it.
4061
495fd99f
JM
40622012-05-07 Joseph Myers <joseph@codesourcery.com>
4063
4064 [BZ #13885]
4065 [BZ #13923]
4066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4067 USE_AS_EXPM1L.
4068 (EXPL_FINITE): Likewise.
4069 (FLDLOG): Likewise.
4070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4071 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4072 e_expl.S.
4073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4074 USE_AS_EXPM1L.
4075 (EXPL_FINITE): Likewise.
4076 (FLDLOG): Likewise.
4077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4078 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4079 e_expl.S.
4080 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4081 test of -max_value argument for long double.
4082 * sysdeps/i386/fpu/libm-test-ulps: Update.
4083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084
6693d694
DM
40852012-05-06 David S. Miller <davem@davemloft.net>
4086
4087 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4088 quad soft-float symbols whose references which are compiler
4089 generated.
4090 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4091
6c23e11c
JM
40922012-05-06 Joseph Myers <joseph@codesourcery.com>
4093
d8b82cad
JM
4094 [BZ #13884]
4095 [BZ #13914]
4096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4097 USE_AS_EXP10L.
4098 (EXPL_FINITE): Likewise.
4099 (FLDLOG): Likewise.
4100 (c0): Likewise.
4101 (c1): Likewise.
4102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4103 Adjust comments for base varying.
4104 (__expl_finite): Change alias to EXPL_FINITE.
4105 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4106 e_expl.S.
4107 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4108 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4110 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4111 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4112 USE_AS_EXP10L.
4113 (EXPL_FINITE): Likewise.
4114 (FLDLOG): Likewise.
4115 (c0): Likewise.
4116 (c1): Likewise.
4117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4118 Adjust comments for base varying.
4119 (__expl_finite): Change alias to EXPL_FINITE.
4120 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4121 tests for bugs.
4122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4123
6c23e11c
JM
4124 [BZ #14064]
4125 * math/libm-test.inc (check_float_internal): Correct ulp
4126 calculation for subnormal expected results.
4127
29ba805c
AJ
41282012-05-06 Andreas Jaeger <aj@suse.de>
4129
4130 * Makeconfig (+math-flags): New, set to -frounding-math.
4131 (+cflags): Add +math-flags so that all of glibc gets compiled with
4132 it.
4133
4134 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4135
7b17aeda
JM
41362012-05-05 Joseph Myers <joseph@codesourcery.com>
4137
5779f134
JM
4138 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4139 Disable one test.
4140
41498f4d
JM
4141 [BZ #13787]
4142 [BZ #13922]
4143 [BZ #14036]
4144 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4145 (__ieee754_expl): Allow for and saturate large arguments.
4146 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4147 (u_threshold): Likewise.
4148 (__exp): Call __ieee754_exp before checking for overflow and
4149 underflow.
4150 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4151 (u_threshold): Likewise.
4152 (__expf): Call __ieee754_expf before checking for overflow and
4153 underflow.
4154 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4155 (u_threshold): Likewise.
4156 (__expl): Call __ieee754_expl before checking for overflow and
4157 underflow.
4158 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4159 (__ieee754_expl): Allow for and saturate large arguments.
4160 * math/libm-test.inc (exp_test): Add another test. Do not allow
4161 missing overflow exception on overflow.
4162 (expm1_test): Do not allow missing overflow exception on overflow.
4163
6698b8bf
JM
4164 * sysdeps/i386/fpu/e_expl.c: Move to ...
4165 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4166 rather than using inline asm.
4167 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4168 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4169 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4170
7b17aeda
JM
4171 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4172 (nice): Likewise.
4173 (poll): Likewise.
4174 (signal): Likewise.
4175 (time): Likewise.
4176 (times): Likewise.
4177
f7c85819
JM
41782012-05-04 Joseph Myers <joseph@codesourcery.com>
4179
4180 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4181 sysdeps/unix/common/syscalls.list.
4182 (fchmod): Likewise.
4183 (fchown): Likewise.
4184 (ftruncate): Likewise.
4185 (getrusage): Likewise.
4186 (gettimeofday): Likewise.
4187 (setpgid): Likewise.
4188 (setregid): Likewise.
4189 (setreuid): Likewise.
4190 (sigaction): Likewise.
4191 (truncate): Likewise.
4192 (vhangup): Likewise.
4193 * sysdeps/unix/common/syscalls.list: Remove file.
4194 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4195 * sysdeps/unix/sysv/linux/Implies: Likewise.
4196
336270d0
L
41972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4201 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4202 Moved to ...
4203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4204 Here.
4205 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4206 to ...
4207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4208 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4209 to ...
4210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4211 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4212 to ...
4213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4215 to ...
4216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4218 to ...
4219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4220 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4221 to ...
4222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4223 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4224 to ...
4225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4226 Here.
4227 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4228 to ...
4229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4230 Here.
4231 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4232 to ...
4233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4234 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4235 Moved to ...
4236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4237 Here.
4238 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4239 to ...
4240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4241
d128e450
JM
42422012-05-04 Joseph Myers <joseph@codesourcery.com>
4243
fa8ee516
JM
4244 * sysdeps/unix/common/bits/dirent.h: Remove file.
4245 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4246
d128e450
JM
4247 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4248 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4249 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4250 * sysdeps/unix/bsd/isatty.c: Likewise.
4251 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4252 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4253 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4254
ff8faaf0 42552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4256
62881be4 4257 [BZ #13563]
31dc8730
AZ
4258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4259 long double comparison inaccuracies.
4260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4262
6fef930c
AS
42632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4264
4265 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4267
8f203e6c
JM
42682012-05-04 Joseph Myers <joseph@codesourcery.com>
4269
4270 [BZ #14049]
4271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4272 nonzero digits before rounding a hex value.
4273 * stdlib/tst-strtod.c (tests): Add another test.
4274
5197d9c2
AK
42752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4276
4277 * sysdeps/s390/fpu/libm-test-ulps: Update.
4278
f0c1dedf
AJ
42792012-05-03 Andreas Jaeger <aj@suse.de>
4280
4281 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4282 does not get optimized out.
4283 (malloc_opt_barrier): New.
4284
a65ef2ae 42852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4286 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4287
2b942cb7 4288 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4289 intermediate file deletion.
2b942cb7 4290 (generated): Add .symlist files.
a65ef2ae 4291
54b71e02
JM
42922012-05-03 Joseph Myers <joseph@codesourcery.com>
4293
4294 [BZ #13775]
4295 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4296 Redirect under this condition.
4297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4298 [__USE_GNU] (__dprintf_chk): Not under this condition.
4299 [__USE_GNU] (__vdprintf_chk): Likewise.
4300 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4301 under this condition.
4302 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4303 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4304 [__USE_XOPEN2K8] (vdprintf): Likewise.
4305 [__USE_GNU] (__dprintf_chk): Not under this condition.
4306 [__USE_GNU] (__vdprintf_chk): Likewise.
4307 [__USE_GNU] (dprintf): Likewise.
4308 [__USE_GNU] (vdprintf): Likewise.
4309
d3dfcc41
RM
43102012-05-03 Roland McGrath <roland@hack.frob.com>
4311
4312 * elf/Makefile (common-generated): Set this instead of generated for
4313 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4314 $(all-built-dso)-derived lists.
4315
7ac30cc5
AJ
43162012-05-03 Andreas Jaeger <aj@suse.de>
4317
0c51e550
AJ
4318 * sysdeps/i386/fpu/libm-test-ulps: Update.
4319
7ac30cc5
AJ
4320 * FAQ: Removed.
4321 * FAQ.in: Likewise.
4322 * scripts/gen-FAQ.pl: Likewise.
4323 * manual/install.texi (Installation): Point to online location of
4324 FAQ.
4325 * Makefile (files-for-dist): Remove FAQ.
4326 (FAQ): Remove.
4327
d4c2917f
AM
43282012-05-02 Allan McRae <allan@archlinux.org>
4329
4330 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4331 (LDFLAGS-reldepmod5.so): Likewise.
4332 (LDFLAGS-reldep6mod1.so): Likewise.
4333 (LDFLAGS-reldep6mod4.so): Likewise.
4334 (LDFLAGS-reldep8mod3.so): Likewise.
4335 (LDFLAGS-unload4mod1.so): Likewise.
4336 (LDFLAGS-unload4mod2.so): Likewise.
4337 (LDFLAGS-tst-initorder): Likewise.
4338 (LDFLAGS-tst-initordera2.so): Likewise.
4339 (LDFLAGS-tst-initordera3.so): Likewise.
4340 (LDFLAGS-tst-initordera4.so): Likewise.
4341 (LDFLAGS-tst-initorderb2.so): Likewise.
4342 (LDFLAGS-noload): Likewise.
4343 (LDFLAGS-next): Likewise.
4344 (LDFLAGS-order2mod1.so): Likewise.
4345 (LDFLAGS-order2mod2.so): Likewise.
4346 (LDFLAGS-tst-initorder2): Likewise.
4347 (LDFLAGS-tst-initorder2a.so): Likewise.
4348 (LDFLAGS-tst-initorder2b.so): Likewise.
4349 (LDFLAGS-tst-initorder2c.so): Likewise.
4350 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4351
d77f993f
DM
43522012-05-02 David S. Miller <davem@davemloft.net>
4353
4354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4355
171a70b4
PP
43562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4357
4358 [BZ #14055]
4359 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4360
0be196ad
AJ
43612012-05-02 Andreas Jaeger <aj@suse.de>
4362
4363 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4364 since we manipulate rounding mode.
4365 (CPPFLAGS-test-idouble.c): Likewise.
4366 (CPPFLAGS-test-ifloat.c): Likewise.
4367 (CFLAGS-test-ldouble.c): Likewise.
4368 (CFLAGS-test-double.c): Likewise.
4369 (CFLAGS-test-float.c): Likewise.
4370 (CFLAGS-test-misc.c): Likewise.
4371 (CFLAGS-test-test-fenv.c): Likewise.
4372
4f9d04aa
AZ
43732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4374
2b942cb7
RM
4375 [BZ #2550]
4376 [BZ #2570]
4377 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4378 comparisons to determine direction to adjust input.
4f9d04aa 4379
82a79e7d
RM
43802012-05-01 Roland McGrath <roland@hack.frob.com>
4381
f5a01ca9
RM
4382 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4383 output to the target.
4384
90fe4186
RM
4385 * scripts/localplt.awk: New file.
4386 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4387 (check-localplt-CFLAGS): Variable removed.
4388 ($(all-built-dso:=.jmprel)): New static pattern rule.
4389 (generated): Add those targets.
4390 (localplt-built-dso): New variable.
4391 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4392
4393 * elf/check-localplt.c: File removed.
4394
82397ed6
RM
4395 * scripts/check-execstack.awk: New file.
4396 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4397 (check-execstack-CFLAGS): Variable removed.
4398 ($(objpfx)check-execstack.h): Target removed.
4399 ($(objpfx)execstack-default): New target.
4400 (generated): Add that instead of check-execstack.h.
4401 ($(all-built-dso:=.phdr)): New static pattern rule.
4402 (generated): Add those targets.
4403 * elf/check-execstack.c: File removed.
4404
82a79e7d
RM
4405 * scripts/check-textrel.awk: New file.
4406 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4407 (check-textrel-CFLAGS): Variable removed.
4408 (all-built-dso): Use := to define.o
4409 ($(all-built-dso:=.dyn)): New static pattern rule.
4410 (generated): Add those targets.
4411 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4412 * config.make.in (READELF): New substituted variable.
4413 * elf/check-textrel.c: File removed.
4414
62fde54f 44152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4416
615605c9
JM
4417 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4418 allow.
4419 * conform/data/ctype.h-data [C99-based standards] (isblank):
4420 Expect function.
4421 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4422 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4424 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4425 Specify type. Require positive value.
4426 (EILSEQ): Likewise.
4427 (ERANGE): Likewise.
4428 [ISO || POSIX] (EILSEQ): Do not expect.
4429 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4430 Specify type. Require positive value.
4431 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4459 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4467 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4468 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4469 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4470 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4471 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4472 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4473 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4474 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4475 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4476 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4477 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4478 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4479 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4480 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4481 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4482 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4483 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4484 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4485 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4486 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4487 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4488 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4489 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4490 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4491 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4492 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4493 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4494 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4495 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4496 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4497 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4498 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4499 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4500 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4501 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4502 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4503 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4504 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4505 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4506 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4507 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4508 Require >= 2.
4509 (FLT_ROUNDS): Expect as macro, not constant.
4510 (FLT_MANT_DIG): Use macro-int-constant.
4511 (DBL_MANT_DIG): Likewise.
4512 (LDBL_MANT_DIG): Likewise.
4513 (FLT_DIG): Likewise.
4514 (DBL_DIG): Likewise.
4515 (LDBL_DIG): Likewise.
4516 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4517 (DBL_MIN_EXP): Likewise.
4518 (LDBL_MIN_EXP): Likewise.
4519 (FLT_MAX_EXP): Use macro-int-constant.
4520 (DBL_MAX_EXP): Likewise.
4521 (LDBL_MAX_EXP): Likewise.
4522 (FLT_MAX_10_EXP): Likewise.
4523 (DBL_MAX_10_EXP): Likewise.
4524 (LDBL_MAX_10_EXP): Likewise.
4525 (FLT_MAX): Use macro-constant.
4526 (DBL_MAX): Likewise.
4527 (LDBL_MAX): Likewise.
4528 (FLT_EPSILON): Use macro-constant. Give upper bound.
4529 (DBL_EPSILON): Likewise.
4530 (LDBL_EPSILON): Likewise.
4531 (FLT_MIN): Likewise.
4532 (DBL_MIN): Likewise.
4533 (LDBL_MIN): Likewise.
4534 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4535 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4536 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4537 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4538 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4539 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4540 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4541 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4542 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4543 [ISO11] (FLT_TRUE_MIN): Likewise.
4544 [ISO11] (LDBL_TRUE_MIN): Likewise.
4545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4546 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4547 (SCHAR_MIN): Use macro-int-constant. Specify type.
4548 (SCHAR_MAX): Likewise.
4549 (UCHAR_MAX): Likewise.
4550 (CHAR_MIN): Likewise.
4551 (CHAR_MAX): Likewise.
4552 (MB_LEN_MAX): Use macro-int-constant.
4553 (SHRT_MIN): Use macro-int-constant. Specify type.
4554 (SHRT_MAX): Likewise.
4555 (USHRT_MAX): Likewise.
4556 (INT_MAX): Likewise.
4557 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4558 bound negative.
4559 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4560 bound with "U".
4561 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4562 bound with "L".
4563 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4564 bound negative. Suffix upper bound with "L".
4565 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4566 bound with "UL".
4567 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4568 Specify type.
4569 [C99-based standards] (LLONG_MAX): Likewise.
4570 [C99-based standards] (ULLONG_MAX): Likewise.
4571 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4572 == 0.
4573 [ISO11] (max_align_t): Require type.
4574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4575
c9140a62
JM
4576 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4577 from $CFLAGS, without defining away __attribute__ calls.
4578 (checknamespace): Use $CFLAGS_namespace.
4579
9af0bf29
JM
4580 * conform/conformtest.pl (@keywords): Only include C99 keywords
4581 for standards based on C99 or C11.
4582
343222a2
JM
4583 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4584 Disable tests.
4585 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4586 UNIX98]: Likewise.
4587
661f8cf0
JM
4588 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4589 usability of symbols in #if.
4590
ee74b9cb
JM
4591 * conform/conformtest.pl: If macro or constant types start
4592 "promoted:", expect the symbol to be of the following type
4593 promoted by the integer promotions.
62fde54f 4594
aafc49b3
JM
4595 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4596 in one place. Also handle "macro-constant".
4597
fefdf574
JM
4598 * conform/conformtest.pl: Only accept expected macro values with
4599 "==". Parse all "macro" lines in one place.
4600 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4601
f2d922fe
JM
4602 * conform/conformtest.pl: Handle braced types on "constant" lines
4603 instead of handling "typed-constant".
4604 * conform/data/signal.h-data: Use "constant" instead of
4605 "typed-constant".
4606
d22956c9
JM
4607 * conform/conformtest.pl: Handle "optional-" at start of lines in
4608 one place rather than duplicating several cases. Handle each
4609 format of "macro" line with initial "optional-".
4610
028e2e38
JM
4611 * conform/conformtest.pl: Only accept expected constant or
4612 optional-constant values with "==". Parse all "constant" lines in
4613 one place. Parse all "optional-constant" lines in one place.
4614 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4615 * conform/data/fmtmsg.h-data: Likewise.
4616 * conform/data/netinet/in.h-data: Likewise.
4617 * conform/data/tar.h-data: Likewise.
4618 * conform/data/limits.h-data: Use "==" form on "constant" and
4619 "optional-constant" lines.
4620
1b8f2850
JM
4621 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4622 Use -std=c99 for XOPEN2K.
4623 (@knownproblems): Remove.
4624 (newtoken): Don't check %isknown.
4625
a05a144b
JM
4626 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4627 Do not expect macro.
4628 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4640 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4641 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4658 [XPG3] (acosh): Likewise.
4659 [XPG3] (asinh): Likewise.
4660 [XPG3] (atanh): Likewise.
4661 [XPG3] (cbrt): Likewise.
4662 [XPG3] (expm1): Likewise.
4663 [XPG3] (ilogb): Likewise.
4664 [XPG3] (log1p): Likewise.
4665 [XPG3] (logb): Likewise.
4666 [XPG3] (nextafter): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4669 [XPG3] (remainder): Likewise.
4670 [XPG3] (rint): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4678 [UNIX98 || XOPEN2K] (scalb): Expect.
4679 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4680 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4682 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4683 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4684 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4685 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4686 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4687 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4688 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4689 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4690 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4691 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4692 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4693 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4694 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4695 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4697 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4698 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4710 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4736 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4755 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4756 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4757 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4758 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4759 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4760 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4797 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4798 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4799 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4800 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4801 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4802 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4803 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4804 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4805 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4807 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4808 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4809 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4810 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4811 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4812 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4813 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4814 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4816
73c5ebe3
JM
4817 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4818 _XOPEN_SOURCE_EXTENDED for XPG4.
4819
39c33b6c
JM
4820 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4821
62fde54f
JM
4822 * Makeconfig (localtime): Remove variable.
4823 (inst_localtime-file): Likewise.
4824
0741d64c
AS
48252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4826
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4828 Update.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4830 Update.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4832 Update.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4834 Update.
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4836 Update.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4838 Update.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4840 Update.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4842 Update.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4844 Update.
4845
7cb029ee
JM
48462012-05-01 Joseph Myers <joseph@codesourcery.com>
4847
4848 [BZ #2550]
4849 [BZ #2570]
4850 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4851 comparisons to determine direction to adjust input.
4852 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4853 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4855 Likewise.
4856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4857 Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4859 Likewise.
4860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4862 Likewise.
4863 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4864 Likewise.
4865 * math/libm-test.inc (nexttoward_test): Add more tests.
4866
412bd966
AS
48672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4868
4869 [BZ #14040]
4870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4871 in version GLIBC_2.1, not GLIBC_2.0.
4872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4873 Likewise.
4874
9568c0c2
JM
48752012-04-30 Joseph Myers <joseph@codesourcery.com>
4876
adfbc8ac
JM
4877 [BZ #13942]
4878 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4879 (1 - x) * (1 + x).
4880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4881 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4882 * math/libm-test.inc (acos_test): Add more tests.
4883 (asin_test): Likewise.
4884 * sysdeps/i386/fpu/libm-test-ulps: Update.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886
5ba3cc69
JM
4887 [BZ #14034]
4888 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4889 of square root.
4890 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4892 * math/libm-test.inc (acos_test_tonearest): New function.
4893 (acos_test_towardzero): Likewise.
4894 (acos_test_downward): Likewise.
4895 (acos_test_upward): Likewise.
4896 (asin_test_tonearest): Likewise.
4897 (asin_test_towardzero): Likewise.
4898 (asin_test_downward): Likewise.
4899 (asin_test_upward): Likewise.
4900 (main): Call the new functions.
4901 * sysdeps/i386/fpu/libm-test-ulps: Update.
4902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4903
9568c0c2
JM
4904 [BZ #13884]
4905 [BZ #13924]
4906 * math/e_exp10.c: Include <float.h>.
4907 (__ieee754_exp10): Handle underflow here rather than multiplying
4908 large negative argument by M_LN10.
4909 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4910 of __ieee754_expf.
4911 * math/e_exp10l.c: Include <float.h>.
4912 (__ieee754_exp10l): Handle underflow here rather than multiplying
4913 large negative argument by M_LN10l.
4914 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4915 spurious overflow exception on underflow.
4916
5ac3ea17
MP
49172012-04-29 Marek Polacek <polacek@redhat.com>
4918
4919 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4920 (__fortify_function): New macro.
4921 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4922 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4923 __extern_always_inline.
4924 * libio/bits/stdio2.h: Likewise.
4925 * libio/bits/stdio.h: Likewise.
4926 * string/string.h: Likewise.
4927 * string/bits/string3.h: Likewise.
4928 * include/stdio.h: Likewise.
4929 * stdlib/bits/stdlib.h: Likewise.
4930 * stdlib/stdlib.h: Likewise.
4931 * rt/bits/mqueue2.h: Likewise.
4932 * rt/mqueue.h: Likewise.
4933 * posix/bits/unistd.h: Likewise.
4934 * posix/unistd.h: Likewise.
4935 * io/bits/poll2.h: Likewise.
4936 * io/bits/fcntl2.h: Likewise.
4937 * io/fcntl.h: Likewise.
4938 * io/sys/poll.h: Likewise.
4939 * misc/bits/syslog.h: Likewise.
4940 * misc/bits/syslog-ldbl.h: Likewise.
4941 * misc/sys/syslog.h: Likewise.
4942 * socket/bits/socket2.h: Likewise.
4943 * socket/sys/socket.h: Likewise.
4944 * debug/tst-chk1.c: Likewise.
4945 * wcsmbs/bits/wchar2.h: Likewise.
4946 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4947 * wcsmbs/wchar.h: Likewise.
4948
ecf0ebfb
AJ
49492012-04-29 Andreas Jaeger <aj@suse.de>
4950
4951 * Makerules (tests): Remove enable-check-abi protection.
4952 (check-abi-warn): Remove.
4953 (check-abi-%): Remove check-abi-warn usage.
4954
4955 * configure.in: Remove check-abi configure option.
4956 * configure: Regenerated.
4957 * config.make.in (enable-check-abi): Remove.
4958
6d5c57fa
AS
49592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4960
24c5d07e 4961 [BZ #14033]
ded5180a
AS
4962 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4963 double functions to double *_finite functions.
4964
7e0d315d
AS
4965 [BZ #13941]
4966 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4967 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4968 LDBL_MIN_EXP.
4969 * stdio-common/Makefile (tests): Add tst-sprintf3.
4970 * stdio-common/tst-sprintf3.c: New file.
4971
6d5c57fa
AS
4972 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4973 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4974
0749ff8b
JM
49752012-04-28 Joseph Myers <joseph@codesourcery.com>
4976
4977 * conform/conformtest.pl: Remove duplicate typed-constant
4978 handling.
4979
8dbd5d7b
DM
49802012-04-28 David S. Miller <davem@davemloft.net>
4981
4982 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4983 (check-abi-%): Remove AWK script prerequisite and explicit
4984 abilist directory.
4985 (check-abi): Rewrite to just diff the symlist with the abilist.
4986 (config-tls, config-abi-config): Delete, no longer used.
4987 (update-abi-%): Remove AWK script and explicit abilist directory.
4988 (update-abi): Rewrite to simply compare and conditionally copy the
4989 symlist and the sysdep abilist file. Remove update-abi-config
4990 checks.
4991 * abilist/ld.abilist: Remove.
4992 * abilist/libBrokenLocale.abilist: Remove.
4993 * abilist/libanl.abilist: Remove.
4994 * abilist/libcrypt.abilist: Remove.
4995 * abilist/libdl.abilist: Remove.
4996 * abilist/librt.abilist: Remove.
4997 * abilist/libthread_db.abilist: Remove.
4998 * abilist/libutil.abilist: Remove.
4999 * scripts/extract-abilist.awk: Remove.
5000 * scripts/merge-abilist.awk: Remove.
5001 * sysdeps/generic/libcidn.abilist: New file.
5002 * sysdeps/generic/libnss_compat.abilist: New file.
5003 * sysdeps/generic/libnss_db.abilist: New file.
5004 * sysdeps/generic/libnss_dns.abilist: New file.
5005 * sysdeps/generic/libnss_files.abilist: New file.
5006 * sysdeps/generic/libnss_hesiod.abilist: New file.
5007 * sysdeps/generic/libnss_nis.abilist: New file.
5008 * sysdeps/generic/libnss_nisplus.abilist: New file.
5009 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5010 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5011 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5012 file.
5013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5014 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5015 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5016 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5017 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5018 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5019 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5020 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5021 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5022 file.
5023 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5024 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5025 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5026 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5027 file.
5028 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5029 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5030 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5031 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5032 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5033 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5034 file.
5035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5036 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5037 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5038 file.
5039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5041 New file.
5042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5043 New file.
5044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5045 New file.
5046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5047 New file.
5048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5049 New file.
5050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5051 New file.
5052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5053 New file.
5054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5055 New file.
5056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5057 New file.
5058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5059 New file.
5060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5061 New file.
5062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5063 New file.
5064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5065 New file.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5067 file.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5069 New file.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5071 New file.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5073 file.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5075 New file.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5077 New file.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5079 file.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5081 New file.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5083 New file.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5085 New file.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5087 New file.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5089 New file.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5091 New file.
5092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5094 file.
5095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5096 New file.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5098 file.
5099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5100 file.
5101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5102 file.
5103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5104 file.
5105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5106 file.
5107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5108 New file.
5109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5110 file.
5111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5112 file.
5113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5114 New file.
5115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5116 file.
5117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5119 file.
5120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5121 New file.
5122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5123 file.
5124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5125 file.
5126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5127 file.
5128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5129 file.
5130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5131 file.
5132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5133 New file.
5134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5135 file.
5136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5137 file.
5138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5139 New file.
5140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5141 file.
5142 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5143 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5144 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5145 file.
5146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5147 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5148 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5149 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5150 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5152 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5154 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5155 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5158 file.
5159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5160 New file.
5161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5162 file.
5163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5164 file.
5165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5166 file.
5167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5168 file.
5169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5170 file.
5171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5172 New file.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5174 New file.
5175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5176 file.
5177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5178 New file.
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5180 file.
5181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5183 file.
5184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5185 New file.
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5187 file.
5188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5189 file.
5190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5191 file.
5192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5193 file.
5194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5195 file.
5196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5197 New file.
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5199 New file.
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5201 file.
5202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5203 New file.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5205 file.
5206
41d73a1b
JM
52072012-04-28 Joseph Myers <joseph@codesourcery.com>
5208
5209 * conform/conformtest.pl: Fix typo in handling typed-constant from
5210 allow-header.
5211
28aeeda4
JM
52122012-04-27 Joseph Myers <joseph@codesourcery.com>
5213
adae8f5e
JM
5214 * README: Cut down references to pre-2.6 Linux kernels and
5215 Linuxthreads. Update lists of configurations in libc and ports
5216 and sort alphabetically. Say "or newer" with Linux kernel version
5217 requirements.
5218
28aeeda4
JM
5219 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5220
a462cb63
RA
52212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5222
5223 [BZ #887]
5224 * math/libm-test.inc (logb_test_downward): New test to expose
5225 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5226 rounding mode.
5227
6ad3493e
JM
52282012-04-27 Joseph Myers <joseph@codesourcery.com>
5229
5230 [BZ #14027]
5231 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5232 to be done.
5233 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5234 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5235
2ce4f015
JM
52362012-04-26 Joseph Myers <joseph@codesourcery.com>
5237
5aeb141a
JM
5238 * sysdeps/unix/i386/brk.S: Remove file.
5239 * sysdeps/unix/i386/dl-brk.S: Likewise.
5240 * sysdeps/unix/i386/pipe.S: Likewise.
5241 * sysdeps/unix/i386/sigreturn.S: Likewise.
5242 * sysdeps/unix/i386/syscall.S: Likewise.
5243 * sysdeps/unix/i386/vfork.S: Likewise.
5244 * sysdeps/unix/i386/wait.S: Likewise.
5245
7143acae
JM
5246 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5247 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5248
2ce4f015
JM
5249 * configure.in (arm*-none*): Do not allow without
5250 --enable-hacker-mode.
5251 (netbsd*): Remove case setting base_os.
5252 (386bsd*): Likewise.
5253 (freebsd*): Likewise.
5254 (bsdi*): Likewise.
5255 (osf*): Likewise.
5256 (sunos*): Likewise.
5257 (ultrix*): Likewise.
5258 (newsos*): Likewise.
5259 (dynix*): Likewise.
5260 (*bsd*): Likewise.
5261 (sysv*): Likewise.
5262 (isc*): Likewise.
5263 (esix*): Likewise.
5264 (sco*): Likewise.
5265 (minix*): Likewise.
5266 (irix4*): Likewise.
5267 (irix6*): Likewise.
5268 (solaris[2-9]*): Likewise.
5269 (none): Likewise.
5270 * configure: Regenerated.
5271
0ac229c8
AZ
52722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 [BZ #11521]
5275 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5276 overflow or cancellation in calculating denominator.
5277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5279 down expression to avoid unexpected rounding in newer GCCs.
5280 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5281
33f244f4
DM
52822012-04-26 David S. Miller <davem@davemloft.net>
5283
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5285 long-double compat symbols.
5286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5299
cfa1f3e8
DM
53002012-04-25 David S. Miller <davem@davemloft.net>
5301
5302 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5303 HWCAP_* values only after the memory barriers have been defined.
5304 (atomic_full_barrier): Define.
5305 (atomic_read_barrier): Define.
5306 (atomic_write_barrier): Define.
5307
6e236b92
SP
53082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
5310 * shlib-versions: Add libgcc_s version information.
5311 * sysdeps/generic/libgcc_s.h: Remove.
5312 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5313 libgcc_s.h.
5314 * sysdeps/gnu/unwind-resume.c: Likewise.
5315 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5316
aab39a09
DM
53172012-04-25 David S. Miller <davem@davemloft.net>
5318
5319 * sysdeps/unix/sparc/brk.S: Delete.
5320 * sysdeps/unix/sparc/dl-brk.S: Delete.
5321 * sysdeps/unix/sparc/pipe.S: Delete.
5322 * sysdeps/unix/sparc/sysdep.S: Delete.
5323 * sysdeps/unix/sparc/sysdep.h: Delete.
5324 * sysdeps/unix/sparc/vfork.S: Delete.
5325 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5326 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5328 ret_ERRVAL, r0, r1, MOVE): Define.
5329 (JUMPTARGET): Remove.
5330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5331 sysdeps/unix/sparc/sysdep.h
5332 (ENTRY, END): Remove.
5333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5334
a3cc4f48
JM
53352012-04-25 Joseph Myers <joseph@codesourcery.com>
5336
2ed8cda2
JM
5337 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5338 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5339 -DIS_IN_build.
5340
35d76d59
JM
5341 * timezone/README: Update upstream location and email address for
5342 tzcode and tzdata.
5343 * timezone/zdump.c: Update from tzcode 2012b.
5344 * timezone/zic.c: Likewise.
5345
a3cc4f48
JM
5346 * configure.in (libc_cv_as_needed): Remove test.
5347 * configure: Regenerated.
5348 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5349 conditional definition.
5350 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5351 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5352 * config.make.in (have-as-needed): Remove variable.
5353
ceab42c3
SP
53542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5355 Paul Pluzhnikov <ppluzhnikov@google.com>
5356
5357 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5358 strings correctly.
5359
3ce2865f
CLT
53602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5361
5362 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5363 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5364 * sysdeps/sh/strlen.S: Likewise.
5365
f37e0d68
JM
53662012-04-24 Joseph Myers <joseph@codesourcery.com>
5367
ae186e9a
JM
5368 * sysdeps/unix/fork.S: Remove file.
5369 * sysdeps/unix/i386/fork.S: Likewise.
5370 * sysdeps/unix/sparc/fork.S: Likewise.
5371
b96914af
JM
5372 * sysdeps/unix/system.c: Remove file.
5373 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5374
f37e0d68
JM
5375 * sysdeps/unix/getegid.S: Remove file.
5376 * sysdeps/unix/geteuid.S: Likewise.
5377
87ef29ca
RM
53782012-04-24 Roland McGrath <roland@hack.frob.com>
5379
83bcd236
RM
5380 * scripts/check-localplt.awk: New file.
5381 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5382 of diff.
5383 * scripts/data/localplt-generic.data: Add a comment.
5384
87ef29ca
RM
5385 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5386 NODE when __dir_mkfile failed.
5387 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5388 Reported by Ludovic Courtès <ludo@gnu.org>.
5389
e5a6e567
AJ
53902012-04-24 Andreas Jaeger <aj@suse.de>
5391
5392 * Makerules (common-clean): Also remove gen-as-const-headers
5393 files.
5394
c1820385
JM
53952012-04-24 Joseph Myers <joseph@codesourcery.com>
5396
5397 * Makerules (native-compile): Do not change working directory for
5398 build. Use $(OUTPUT_OPTION) in command.
5399 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5400
94e02fc4
AZ
54012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402
5403 [BZ #13886]
5404 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5405 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5406 * math/libm-test.inc (floor_test): Add more tests.
5407 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5408
3a533ca3
JM
54092012-04-24 Joseph Myers <joseph@codesourcery.com>
5410
940ab4b3
JM
5411 * sysdeps/unix/getdents.c: Remove file.
5412 * sysdeps/unix/sysv/getdents.c: Likewise.
5413 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5414
90e037bd
JM
5415 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5416 sysdeps/unix/mman/syscalls.list.
5417 (mmap): Likewise.
5418 (mprotect): Likewise.
5419 (msync): Likewise.
5420 (munmap): Likewise.
5421 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5422 * sysdeps/unix/mman/syscalls.list: Remove.
5423 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5424
3a533ca3
JM
5425 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5426 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5427 * configure: Regenerated.
5428 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5429 $(libgcc_s_suffix).
5430 * config.make.in (libgcc_s_suffix): Remove variable.
5431
1ad743de
JM
54322012-04-23 Joseph Myers <joseph@codesourcery.com>
5433
4ad451e2
JM
5434 * sysdeps/unix/sysv/gethostname.c: Move to ...
5435 * sysdeps/posix/gethostname.c: ... here.
5436
5e37ce39
JM
5437 * sysdeps/unix/execve.S: Remove file.
5438
1ad743de
JM
5439 * sysdeps/unix/_exit.S: Remove file.
5440
4e681b5b
AJ
54412012-04-23 Andreas Jaeger <aj@suse.de>
5442
5443 [BZ #13739]
5444 * manual/Makefile: Remove make dist support, there's no
5445 need for a stand-alone documentation tar ball.
5446 (TEXI2DVI): Define always, it's not in Makeconfig.
5447 (dist): Removed.
5448 (tar-it): Removed.
5449 (edition): Removed.
5450 (glibc-doc-$(edition).tar): Removed
5451 (%.Z): Removed.
5452 (%.gz): Removed.
5453 (%.uu): Removed.
5454 (ETAGS): Remove, it's in Makeconfig.
5455 (move-if-change): Remove, it's in Makeconfig.
5456
c0baea34
PE
54572013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5458
5459 [BZ #13970]
5460 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5461 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5462 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5463 (strtod_l, strtof_l, strtold_l): Remove __wur.
5464 It is not necessarily an error to ignore strtol's return value.
5465 One can reliably look at the stored endptr to decide whether
5466 the number had valid syntax.
5467
7c0616fa
AJ
54682012-04-21 Andreas Jaeger <aj@suse.de>
5469
803cb6b7 5470 [BZ #13739]
7c0616fa
AJ
5471 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5472
b0fe253f
JM
54732012-04-21 Joseph Myers <joseph@codesourcery.com>
5474
5475 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5476 * sysdeps/unix/sysv/Versions: Remove file.
5477
8280f22d
MT
54782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5479
5480 [BZ #13927]
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5482
75ce411f 54832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5484
5485 [BZ #7064]
5486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5487 version from __vm86.
5488
097d59fa
JM
54892012-04-20 Joseph Myers <joseph@codesourcery.com>
5490
a90f3bcb
JM
5491 * sysdeps/unix/common/lxstat.c: Remove file.
5492 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5493
edc7ea78
JM
5494 * sysdeps/unix/sysv/Makefile: Remove file.
5495
cb78c221
JM
5496 * sysdeps/unix/sysv/direct.h: Remove file.
5497
efa6a45f
JM
5498 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5499 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5500 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5501 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5502 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5503 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5504 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5505
9c9f2d0c
JM
5506 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5507
4541c83b
JM
5508 * sysdeps/unix/xmknod.c: Remove file.
5509 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5510
f5d153a0
JM
5511 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5512
aa746595
JM
5513 * sysdeps/unix/sysv/i386/time.S: Remove file.
5514
cce5905e
JM
5515 * sysdeps/unix/fxstat.c: Remove file.
5516 * sysdeps/unix/xstat.c: Likewise.
5517 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5518
37fa3841
JM
5519 * sysdeps/unix/sysv/sigaction.c: Remove file.
5520
ff1962a3
JM
5521 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5522 (sysdep_headers): Remove variable.
5523 [termio.h not in sysdep_headers] (generated): Likewise.
5524 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5525 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5526 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5527 * sysdeps/unix/sysv/tcflow.c: Likewise.
5528 * sysdeps/unix/sysv/tcflush.c: Likewise.
5529 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5530 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5531 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5532 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5533 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5534
e7740d31
JM
5535 * sysdeps/unix/siglist.c: Remove file.
5536
ee06f18b
JM
5537 * sysdeps/unix/getppid.S: Remove file.
5538
097d59fa
JM
5539 * sysdeps/unix/mkdir.c: Remove file.
5540 * sysdeps/unix/rmdir.c: Likewise.
5541
ff3d51ec
AS
55422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5543
5544 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5545 ERR_MAX value.
5546 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5547 errlist-compat value.
5548
50f81fd7
DM
55492012-04-18 David S. Miller <davem@davemloft.net>
5550
5551 * sysdeps/generic/memcopy.h (reg_char): Delete.
5552 * debug/strcat_chk.c: Use char, not reg_char.
5553 * debug/strcpy_chk.c: Likewise.
5554 * debug/strncat_chk.c: Likewise.
5555 * debug/strncpy_chk.c: Likewise.
5556 * string/memchr.c: Likewise.
5557 * string/memrchr.c: Likewise.
5558 * string/rawmemchr.c: Likewise.
5559 * string/strcat.c: Likewise.
5560 * string/strchr.c: Likewise.
5561 * string/strchrnul.c: Likewise.
5562 * string/strcmp.c: Likewise.
5563 * string/strcpy.c: Likewise.
5564 * string/strncat.c: Likewise.
5565 * string/strncmp.c: Likewise.
5566 * string/strncpy.c: Likewise.
5567
8ff41c46
WS
55682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5569
5570 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5571 __builtin_memcopy is called when src and dest ranges are known to not
5572 overlap.
5573
6b652f46
WS
55742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5577 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5578 fwd_align_merge macro call.
5579 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5580 bwd_align_merge macro call.
5581 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5582
b282631e
WS
55832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5584
5585 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5586 bwd_align_merge macros.
5587 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5588 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5590
95aa737c
DM
55912012-04-18 David S. Miller <davem@davemloft.net>
5592
5593 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5594
7a99a614
AJ
55952012-04-18 Andreas Jaeger <aj@suse.de>
5596
5597 [BZ# 6794]
5598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5599 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5601
5602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5603 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5605
5606 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5607 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5608 Adjust for changed ldbl-128 files.
5609
5610 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5611 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5613
e5270c23
DM
56142012-04-17 David S. Miller <davem@davemloft.net>
5615
5616 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5617
fb5e92c9
AS
56182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5619
5620 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5621 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5622 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5623 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5624 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5625 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5626
76da7265
AZ
56272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5628
5629 [BZ #6794]
5630 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5631 * math/libm-test.inc: Add ilogb errno and exception tests.
5632 * math/w_ilogb.c: New file: ilogb wrapper.
5633 * math/w_ilogbf.c: New file: ilogbf wrapper.
5634 * math/w_ilogbl.c: New file: ilogbl wrapper.
5635 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5636 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5637 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5638 exception being thrown with 0.0 as argument.
5639 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5640 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5641 exception being thrown with 0.0 as argument.
5642 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5643 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5644 exception being thrown with 0.0 as argument.
5645 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5646 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5647 exception being thrown with 0.0 as argument.
5648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5649 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5651 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5653 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5654 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5655 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5656 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5657
0396e69d
PB
56582012-04-17 Petr Baudis <pasky@ucw.cz>
5659
5660 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5661 with altivec.
5662
750b5926
MP
56632012-04-16 Marek Polacek <polacek@redhat.com>
5664
5665 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5666
751728a1
MP
56672012-04-16 Marek Polacek <polacek@redhat.com>
5668
5669 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5670 operands of fdivp instruction.
5671
34a27407
L
56722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5673
5674 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5675 * elf/tst-auditmod3b.c: Likewise.
5676 * elf/tst-auditmod4b.c: Likewise.
5677 * elf/tst-auditmod5b.c: Likewise.
5678 * elf/tst-auditmod6b.c: Likewise.
5679 * elf/tst-auditmod6c.c: Likewise.
5680 * elf/tst-auditmod7b.c: Likewise.
5681 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5682 * sysdeps/x86_64/preconfigure.in: Likewise.
5683 * sysdeps/x86_64/preconfigure: Regenerated.
5684
7e73e17d
L
56852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5688 __ILP32__.
5689
c7a6ab72
AB
56902012-04-13 Antoine Balestrat <merkil33@gmail.com>
5691
5692 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5693 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5694
a9e8e0e0
CL
56952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5696
5697 [BZ #13973]
5698 * locale/iso-639.def: Fix gl language name. Spotted by
5699 Yaron Shahrabani.
5700
ec98af7d
RM
57012012-04-12 Roland McGrath <roland@hack.frob.com>
5702
5703 [BZ #2074]
5704 * libio/libio.h (__io_write_fn): Update comment.
5705
247c3ede
PB
57062012-04-12 Petr Baudis <pasky@ucw.cz>
5707
5708 [BZ #2074]
5709 * stdio.texi (Hook Functions): The user provided writer function
5710 is not allowed to return -1.
5711
55939d6d
DM
57122012-04-11 David S. Miller <davem@davemloft.net>
5713
5714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5715
90020f5a
MF
57162012-04-11 Mike Frysinger <vapier@gentoo.org>
5717
5718 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5719 Add a leading slash to rtkaio.
5720
288f9098
JM
57212012-04-11 Jim Meyering <meyering@redhat.com>
5722
90020f5a
MF
5723 [BZ #11959]
5724 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5725 It is not necessarily an error to ignore fwrite's return
5726 value. One can reliably use ferror to test for errors after
5727 the fact.
288f9098 5728
4be2b570
L
57292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * bits/types.h (__snseconds_t): New type.
5732 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5733
5734 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5736 (__SNSECONDS_T_TYPE): Likewise.
5737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5738 (__SNSECONDS_T_TYPE): Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5740 (__SNSECONDS_T_TYPE): Likewise.
5741
288f9098 57422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5743
5744 [BZ #2636]
5745 * manual/time.texi (Processor Time): Return type of times is
5746 elapsed real time since an arbitrary point in the past.
5747 (CPU Time): Move CLK_TCK from here...
5748 (Processor Time): ...to here. Correct description.
5749 * manual/conf.texi (Constants for Sysconf): Correct description of
5750 _SC_CLK_TCK.
5751
d7dd4413
DM
57522012-04-10 David S. Miller <davem@davemloft.net>
5753
5754 [BZ #13967]
5755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5756 where the is a gap between DT_REL(A) and DT_JMPREL.
5757
b46068fc
L
57582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5759
5760 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5761 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5762 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5763
73d65cc3
SP
57642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
5766 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5767 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5768 (dl_main): Handle --inhibit-cache.
5769 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5770 _dl_inhibit_cache.
5771 * elf/dl-load.c (_dl_map_object): Use it.
5772 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5773
bcc8d661
JM
57742012-04-09 Joseph Myers <joseph@codesourcery.com>
5775
8f9a2fae
JM
5776 [BZ #13872]
5777 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5778 (__ieee754_powl): Saturate large exponents rather than testing for
5779 overflow of y*log2(x).
5780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5781 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5782 exceptions.
5783
bcc8d661
JM
5784 [BZ #11521]
5785 * math/s_ctan.c: Include <float.h>.
5786 (__ctan): Avoid internal overflow or cancellation in calculating
5787 denominator.
5788 * math/s_ctanf.c: Likewise.
5789 * math/s_ctanl.c: Likewise.
5790 * math/s_ctanh.c: Likewise.
5791 * math/s_ctanhf.c: Likewise.
5792 * math/s_ctanhl.c: Likewise.
5793 * math/libm-test.inc (ctan_test): Add more tests.
5794 (ctanh_test): Likewise.
5795 * sysdeps/i386/fpu/libm-test-ulps: Update.
5796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797
823fbbb4
AJ
57982012-04-09 Andreas Jaeger <aj@suse.de>
5799
03879793
AJ
5800 [BZ #6894]
5801 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5802 is an optional BSD extension.
5803
823fbbb4
AJ
5804 [BZ #10254]
5805 * manual/stdio.texi (Opening Streams): Document additional fopen
5806 parameters.
5807
8de131cb
RM
58082012-04-09 Roland McGrath <roland@hack.frob.com>
5809
5810 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5811 %eax without telling the compiler.
5812
c0ed9d7d
CD
58132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5814
5815 [BZ # 13963]
5816 * manual/install.texi: Use sourceware.org.
5817
c483f6b4
JM
58182012-04-09 Joseph Myers <joseph@codesourcery.com>
5819
d7dd9453
JM
5820 [BZ #13873]
5821 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5822 (__ieee754_pow): Generate overflow and underflow using huge*huge
5823 and tiny*tiny rather than just returning constant infinity or zero
5824 for large exponents.
5825 * math/libm-test.inc (pow_test): Require overflow exceptions for
5826 applicable cases of large exponents.
5827
c483f6b4
JM
5828 [BZ #706]
5829 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5830 (__ieee754_pow): Use iterative multiplication algorithm only for
5831 integer exponents with absolute value below 1024. Check for odd
5832 integer exponents when using algorithm for real exponents.
5833 * math/libm-test.inc (pow_test): Add more tests.
5834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5835
d2de7579
JM
58362012-04-08 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #13705]
5839 * math/libm-test.inc (exp_test): Do not allow overflow exception
5840 on underflow test.
5841
f77f1232
AJ
58422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5843
5844 [BZ #13705]
5845 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5846 instead of __kernel_standard_f.
5847
3884932b
MF
58482012-04-08 Mike Frysinger <vapier@gentoo.org>
5849
5850 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5851 * sysdeps/x86_64/memset_chk.S: Likewise.
5852
54472e9c
AJ
58532012-04-08 Andreas Jaeger <aj@suse.de>
5854
6ab0fbfc
AJ
5855 [BZ #10153]
5856 * manual/startup.texi (Environment Access): Describe return value
5857 for putenv and setenv.
5858
61efba8c
AJ
5859 [BZ #6895]
5860 * manual/filesys.texi (Directory Entries): Add description for
5861 DT_LNK.
5862
95c3f29a
AJ
5863 [BZ #6890]
5864 * manual/filesys.texi (Directory Entries): Clarify that it's file
5865 system not operating system in the description of DT_UNKNOWN.
5866
54472e9c
AJ
5867 [BZ #6578]
5868 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5869
624254b1
SC
58702012-04-08 Stephen Compall <s11@member.fsf.org>
5871
5872 [BZ #6649]
5873 * manual/llio.texi (Opening and Closing Files): Add cross
5874 reference to explain mode argument.
5875
1e4920e0
MF
58762012-04-07 Mike Frysinger <vapier@gentoo.org>
5877
5878 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5879 * sysdeps/x86_64/memset_chk.S: Likewise.
5880
5ed848f3
DM
58812012-04-07 David S. Miller <davem@davemloft.net>
5882
5883 * elf/elf.h (R_SPARC_WDISP10): Define.
5884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5885 R_SPARC_SIZE32.
5886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5887 R_SPARC_SIZE64 and R_SPARC_H34.
5888
96154cd8
CD
58892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5890
5891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5892 conditions and remove no longer applicable assertion.
5893
9904dc47
L
58942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5895
5896 * bits/byteswap.h: Include <features.h>.
5897 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5898 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5899
f8887d0a
L
59002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 * bits/byteswap.h (__bswap_16): Removed.
5903 Include <bits/byteswap-16.h> to get __bswap_16.
5904 * sysdeps/i386/bits/byteswap.h: Likewise.
5905 * sysdeps/s390/bits/byteswap.h: Likewise.
5906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5907 * bits/byteswap-16.h: New file.
5908 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5909 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5910 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5911 * string/Makefile (headers): Add bits/byteswap-16.h.
5912
62470f60
PP
59132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5914
5915 [BZ #13895]
5916 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5917 extra indirection.
5918 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5919 * nss/tst-nss-static.c: New.
5920
4dad7bab
RM
59212012-04-06 Robert Millan <rmh@gnu.org>
5922
5923 [BZ #6486]
5924 * manual/llio.texi (File Position Primitive): lseek
5925 refers to WHENCE when it really means OFFSET.
5926
e9142a17
AJ
59272012-04-06 Andreas Jaeger <aj@suse.de>
5928
2c040eff
AJ
5929 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5930 strncmp declarations.
5931
e9142a17
AJ
5932 * abilist/libc.abilist: Add __poll and __ppoll.
5933
ff9f1c5f
DM
59342012-04-05 David S. Miller <davem@davemloft.net>
5935
dcd2ae90
DM
5936 * scripts/check-local-headers.sh: Accept a host triplet in the
5937 path matched by the exclude regexp.
5938
993eb054
DM
5939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5940 definition.
5941 * sysdeps/powerpc/powerpc32/dl-machine.h
5942 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5943 * sysdeps/s390/s390-32/dl-machine.h
5944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5945 * sysdeps/sparc/sparc32/dl-machine.h
5946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5947 * sysdeps/sparc/sparc64/dl-machine.h
5948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5949
ff9f1c5f
DM
5950 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5951 lazy binding.
48e2e132 5952 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5953 undefined symbol errors.
5954
48e2e132 5955 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5956 DT_NEEDED entries.
5957
e80d6f94
MM
59582012-04-05 Michael Matz <matz@suse.de>
5959
5960 [BZ #13592]
5961 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5962
349fa79f
AJ
59632012-04-05 Andreas Jaeger <aj@suse.de>
5964
5965 [BZ #13908]
5966 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5967 comment.
5968
f402708f
KK
59692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5970
5971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5972 which ROUND is no valid rounding mode.
5973
2ecccfc9
KK
59742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5975
5976 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5977 read again.
5978 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5979
8a53f50f
KK
59802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5981
5982 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5983 an exception using FPU order intentionally.
5984
59852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5986
5987 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5988 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5989 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5990 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5991
d653abb7
SJ
59922012-04-05 Simon Josefsson <simon@josefsson.org>
5993
5994 [BZ #12340]
5995 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5996 EINVAL when BUFLEN is too smal.
5997
c3b1bf7d
TS
59982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5999
6000 [BZ #13553]
6001 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6002 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6003
b1aa60f3
AJ
60042012-04-03 Andreas Jaeger <aj@suse.de>
6005
c3b1bf7d 6006 [BZ #13938]
67f60a26
AJ
6007 * manual/setjmp.texi (System V contexts): Fix sentence.
6008
b1aa60f3
AJ
6009 [BZ #13926]
6010 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6011 New macro for this case.
6012 [!__GNUC__] (__bswap_64): New inline function for this case.
6013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6014 * bits/byteswap.h: Likewise.
6015 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6016 ull, guard with __GLIBC_HAVE_LONG_LONG.
6017
6018 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6019 __GLIBC_HAVE_LONG_LONG.
6020
6021 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6022 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6023
39c59c35
TMQMF
60242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6025
6026 [BZ #13691]
6027 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6028 inptr and inend, rather than using last_ch.
6029
135ffda8
DM
60302012-04-02 David S. Miller <davem@davemloft.net>
6031
6032 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6033 * stdio-common/printf-parse.h (read_int): Change return type to
6034 'int', return -1 on INT_MAX overflow.
6035 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6036 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6037 overflows INT_MAX. Check for overflow of in-format-string precision
6038 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6039 SIZE_MAX not INT_MAX for integer overflow test.
6040 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6041 skip the construct in the format string but do not record anything.
6042 * stdio-common/bug22.c: Adjust to test both width/prevision
6043 INT_MAX overflow as well as total length INT_MAX overflow. Check
6044 explicitly for proper errno values.
6045
228c019e
TS
60462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6047
302cadd3
TS
6048 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6049 CHAR_MAX.
6050 * string/test-strcmp.c [! WIDE]: Likewise.
6051 * time/tst-mktime2.c: Likewise for INT_MAX.
6052 * string/test-string.h: #include <sys/param.h> for MIN.
6053
228c019e
TS
6054 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6055 * sysdeps/i386/init-first.c (init): Likewise.
6056 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6057 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6058 * sysdeps/sh/init-first.c (init): Likewise.
6059
cfa633f5
UD
60602012-04-01 Ulrich Drepper <drepper@gmail.com>
6061
6062 * po/ru.po: Update from translation team.
d1635ef8 6063 * po/vi.po: Likewise.
cfa633f5 6064
6cd0a5ea
SP
60652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
6067 * resolv/nss_dns/dns-host.c: Merge copyright years.
6068
4b43400f
LD
60692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6070
6071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6072 Optimize memcpy with prefetch if
6073 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6074 src, dst pointers have unequal 16 byte alignments.
6075
48c41d04
SP
60762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
6078 [BZ #13928]
6079 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6080 from a CNAME entry and return the minimum ttl for the query.
6081 (gaih_getanswer_slice): Likewise.
6082
b8dc394d
JL
60832012-03-30 Jeff Law <law@redhat.com>
6084
6085 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6086 due to long keys.
6087 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6088 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6089
2f5a5ed0
JL
6090 * resolv/nss_dns/dns-host.c: Update copyright year.
6091
1d39e359
UD
60922012-03-30 Ulrich Drepper <drepper@gmail.com>
6093
c030f70c 6094 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6095 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6096
1d39e359
UD
6097 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6098 comments for sendmmsg.
6099
61002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6101
6102 [BZ #13691]
6103 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6104 with only 1 character between 0x0041 and 0x01b0.
6105 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6106 * wcsmbs/tst-mbsnrtowcs.c: New file.
6107
20fde227
DM
61082012-03-29 David S. Miller <davem@davemloft.net>
6109
6110 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6111 small copies by hand.
6112
984a4237
JL
61132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
6115 [BZ #13761]
6116 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6117 _nss_compat_initgroups_dyn): Fall back to malloc/free
6118 for large group memberships.
6119
18c9d62b
DM
61202012-03-28 David S. Miller <davem@davemloft.net>
6121
88d85d4f
DM
6122 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6123 that branches into memcpy.
6124 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6127 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6129 bits.
6130 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6131 implementation too.
6132 * sysdeps/sparc/mempcpy.S: New file.
6133
e5aa83e1
DM
6134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6135 the IFUNC routine in the libc case.
6136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6137
88570753
DM
6138 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6139 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6141 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6142 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6143 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6144 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6145 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6146
249d7567
DM
6147 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6148 loop to 256 bytes instead of 64 bytes and fix test signedness.
6149
18c9d62b
DM
6150 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6151 * sysdeps/sparc/sparc32/Makefile: rather than here...
6152 * sysdeps/sparc/sparc64/Makefile: and here.
6153
05f3d1f6
UD
61542012-03-28 Ulrich Drepper <drepper@gmail.com>
6155
6156 * malloc/mallocbug.c: Avoid warnings about unused variables.
6157
86ae07a8
JL
61582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6159
6160 [BZ #13760]
6161 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6162 in the right place. Discard and retry query if response is
6163 larger than input buffer size.
6164
41bf21a1
JM
61652012-03-28 Joseph Myers <joseph@codesourcery.com>
6166
d6270972
JM
6167 [BZ #369]
6168 [BZ #2678]
6169 [BZ #3866]
6170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6171 x for large integer exponent.
6172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6174 sign of result as needed afterwards.
6175 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6177 result for underflowing pow the same as for overflow.
6178 (__kernel_standard_l): Handle powl overflow and underflow here
6179 rather than calling __kernel_standard.
6180 * math/libm-test.inc (pow_test): Add more tests.
6181
414fca03 6182 [BZ #3868]
41bf21a1
JM
6183 [BZ #13879]
6184 [BZ #13910]
6185 [BZ #13911]
6186 [BZ #13912]
6187 [BZ #13913]
6188 [BZ #13915]
6189 [BZ #13916]
6190 [BZ #13917]
6191 [BZ #13918]
6192 [BZ #13919]
6193 [BZ #13920]
6194 [BZ #13921]
6195 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6196 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6197 (__kernel_standard_l): New function.
6198 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6199 __kernel_standard.
6200 * math/w_acosl.c (__acosl): Likewise.
6201 * math/w_asinl.c (__asinl): Likewise.
6202 * math/w_atan2l.c (__atan2l): Likewise.
6203 * math/w_atanhl.c (__atanhl): Likewise.
6204 * math/w_coshl.c (__coshl): Likewise.
6205 * math/w_exp10l.c (__exp10l): Likewise.
6206 * math/w_exp2l.c (__exp2l): Likewise.
6207 * math/w_fmodl.c (__fmodl): Likewise.
6208 * math/w_hypotl.c (__hypotl): Likewise.
6209 * math/w_j0l.c (__j0l, __y0l): Likewise.
6210 * math/w_j1l.c (__j1l, __y1l): Likewise.
6211 * math/w_jnl.c (__jnl, __ynl): Likewise.
6212 * math/w_lgammal.c (__lgammal): Likewise.
6213 * math/w_log10l.c (__log10l): Likewise.
6214 * math/w_log2l.c (__log2l): Likewise.
6215 * math/w_logl.c (__logl): Likewise.
6216 * math/w_powl.c (__powl): Likewise.
6217 * math/w_remainderl.c (__remainderl): Likewise.
6218 * math/w_scalbl.c (sysv_scalbl): Likewise.
6219 * math/w_sinhl.c (__sinhl): Likewise.
6220 * math/w_sqrtl.c (__sqrtl): Likewise.
6221 * math/w_tgammal.c (__tgammal): Likewise.
6222 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6223 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6224 * math/libm-test.inc (acos_test): Add more tests.
6225 (acosh_test): Likewise.
6226 (asin_test): Likewise.
6227 (atanh_test): Likewise.
6228 (exp_test): Likewise.
6229 (exp10_test): Likewise.
6230 (exp2_test): Likewise.
6231 (expm1_test): Likewise.
6232 (lgamma_test): Likewise.
6233 (log_test): Likewise.
6234 (log10_test): Likewise.
6235 (log1p_test): Likewise.
6236 (log2_test): Likewise.
6237 (pow_test): Do not allow some spurious overflow exceptions.
6238 (sqrt_test): Add more tests.
6239 (tgamma_test): Likewise.
6240 (y0_test): Likewise.
6241 (y1_test): Likewise.
6242 (yn_test): Likewise.
6243
dd62fda6
AB
62442012-03-27 Anton Blanchard <anton@samba.org>
6245
6246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6247 MAP_HUGETLB.
6248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6249 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6251
1e3cdfda
AJ
62522012-03-27 David S. Miller <davem@davemloft.net>
6253
b855ab85
DM
6254 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6255
1e3cdfda
AJ
6256 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6257 have-as-vis3 check.
6258
62592012-03-27 Andreas Jaeger <aj@suse.de>
6260
6261 * sysdeps/x86_64/elf/configure.in: Moved to ...
6262 * sysdeps/x86_64/configure.in: ... here.
6263 * sysdeps/x86_64/elf/start.S: Moved to ...
6264 * sysdeps/x86_64/start.S: ... here.
6265 * sysdeps/x86_64/elf/configure: Delete.
6266
6267 * sysdeps/x86_64/configure.in: Merge contents from
6268 sysdeps/i386/configure.in (without i686 check).
6269
6270 * sysdeps/i386/elf/Versions: Merge into ...
6271 * sysdeps/i386/Versions: ... this.
6272 * sysdeps/i386/elf/Versions: Delete file.
6273 * sysdeps/i386/elf/start.S: Moved to ...
6274 * sysdeps/i386/start.S: ...here.
6275 * sysdeps/i386/elf/configure.in: Merge into...
6276 * sysdeps/i386/configure.in: ...here.
6277 * sysdeps/i386/elf/configure.in: Delete file.
6278 * sysdeps/i386/elf/configure: Delete file.
6279
6280 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6281 * debug/backtracesyms.c: ... here.
6282 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6283 * debug/backtracesymsfd.c: ... here.
6284 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6285 * sysdeps/generic/ifunc-sel.h: ... here.
6286
6287 * sysdeps/unix/i386/start.c: Delete file.
6288 * sysdeps/unix/sparc/start.c: Delete file.
6289 * sysdeps/unix/start.c: Delete file.
6290
6291 * sysdeps/sh/elf/configure.in: Moved to ...
6292 * sysdeps/sh/configure.in: ... here.
6293 * sysdeps/sh/elf/start.S: Moved to ...
6294 * sysdeps/sh/start.S: ... here.
6295 * sysdeps/sh/elf/configure: Delete file.
6296
6297 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6298 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6299 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6300 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6301 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6302 * sysdeps/powerpc/powerpc64/start.S: here.
6303 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6304 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6305 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6306 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6307 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6308
6309 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6310 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6311 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6312 * sysdeps/powerpc/powerpc32/start.S: ... here.
6313 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6314 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6315 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6316
6317 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6318 * sysdeps/powerpc/ifunc-sel.h: ... here.
6319 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6320 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6321
6322 * sysdeps/sparc/elf/configure.in: Moved to ...
6323 * sysdeps/sparc/configure.in: ... here.
6324 * sysdeps/sparc/elf/configure: Delete file.
6325 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6326 * sysdeps/sparc/sparc32/start.S: ... here.
6327 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6328 * sysdeps/sparc/sparc64/start.S: ... here.
6329 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6330 * sysdeps/sparc/sparc32/Makefile: ... this.
6331 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6332 * sysdeps/sparc/sparc64/Makefile: ... this.
6333
6334 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6335 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6336 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6337 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6338 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6339 * sysdeps/s390/s390-32/setjmp.S: ... here.
6340 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6341 * sysdeps/s390/s390-32/configure.in: ... here.
6342 * sysdeps/s390/s390-32/elf/configure: Delete file.
6343 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6344 * sysdeps/s390/s390-32/start.S: ... here.
6345
6346 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6347 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6348 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6349 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6350 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6351 * sysdeps/s390/s390-64/setjmp.S: ... here.
6352 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6353 * sysdeps/s390/s390-64/configure.in: ... here
6354 * sysdeps/s390/s390-64/elf/configure: Delete file.
6355 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6356 * sysdeps/s390/s390-64/start.S: ... here.
6357 * sysdeps/s390/s390-64/elf/configure: Delete.
6358
6359 * configure.in: Remove support for elf directories in sysdeps.
6360
6361 * configure: Regenerated.
6362 * sysdeps/i386/configure: Regenerated.
6363 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6364 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6365 * sysdeps/s390/s390-32/configure: Regenerated.
6366 * sysdeps/s390/s390-64/configure: Regenerated.
6367 * sysdeps/sh/configure: Regenerated.
6368 * sysdeps/sparc/configure: Regenerated.
6369 * sysdeps/x86_64/configure: Regenerated.
6370
a3f61311
AS
63712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6372
c876e002
AS
6373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6374
a3f61311
AS
6375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6376 denormal result into account.
6377
ac4c54f0
RM
63782012-03-25 Roland McGrath <roland@hack.frob.com>
6379
6380 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6381 Reported by Allan McRae <allan@archlinux.org>.
6382
6a9b9c02
JL
63832012-03-23 Jeff Law <law@redhat.com>
6384
6385 * nss/getnssent.c (__nss_getent): Fix typo.
6386
4c42a0c1
DM
63872012-03-23 David S. Miller <davem@davemloft.net>
6388
6389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6390
1532c7ac
L
63912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6394 to pad to uint64_t for each field.
6395 (dl_tls_index): Replace unsigned long with uint64_t.
6396
3ff42526
PP
63972012-03-23 Daniel Jacobowitz <dmj@google.com>
6398 Paul Pluzhnikov <ppluzhnikov@google.com>
6399
6400 [BZ #6528]
6401 * grp/Makefile (otherlibs): Don't set it.
6402 * inet/Makefile (otherlibs): Likewise.
6403 * login/Makefile (otherlibs): Likewise.
6404 * nscd/Makefile (otherlibs): Likewise.
6405 * posix/Makefile (otherlibs): Likewise.
6406 * pwd/Makefile (otherlibs): Likewise.
6407 * rt/Makefile (otherlibs): Likewise.
6408 * sunrpc/Makefile (otherlibs): Likewise.
6409 * nss/Makefile (otherlibs): Likewise.
6410 Add libnss_files to routines and static-only-routines.
6411 ($(objpfx)getent): Remove rule.
6412 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6413 static-only-routines.
6414
7c69cd14
JM
64152012-03-22 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #13892]
6418 * math/s_cexp.c: Include <float.h>.
6419 (__cexp): Handle exp result overflowing not necessarily
6420 overflowing both real and imaginary parts of result.
6421 * math/s_cexpf.c: Likewise.
6422 * math/s_cexpl.c: Likewise.
6423 * math/libm-test.inc (cexp_test): Add more tests.
6424 * sysdeps/i386/fpu/libm-test-ulps: Update.
6425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426
81b035fe
L
64272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 * include/link.h (ELFW): New macro.
6430 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6431 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6432
1da7940c
L
64332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6434
6435 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6436 with uint64_t.
6437
b749dbb9
L
64382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6441 declaration.
6442 (struct La_x32_retval): Likewise.
6443
2ff87f3f
L
64442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 * sysdeps/x86_64/preconfigure.in: New file.
6447 * sysdeps/x86_64/preconfigure: New generated file.
6448
c0df8e69
JM
64492012-03-22 Joseph Myers <joseph@codesourcery.com>
6450
48e44791
JM
6451 [BZ #13824]
6452 * math/e_exp2l.c: Include <float.h>.
6453 (__ieee754_exp2l): Handle overflow and underflow cases
6454 separately. Only pass fractional part of argument to
6455 __ieee754_expl.
6456 * math/libm-test.inc (exp2_test): Add more tests.
6457
c0df8e69
JM
6458 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6459 negating x to take absolute value.
6460 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6461 Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6464 Likewise.
6465 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6466 computing low part if x was negated.
6467 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6468
c8e43ba7
L
64692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6470
6471 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6472 la_x32_gnu_pltexit.
6473 (pltexit): Cast int_retval to ptrdiff_t.
6474 * elf/tst-auditmod3b.c: Likewise.
6475 * elf/tst-auditmod4b.c: Likewise.
6476 * elf/tst-auditmod5b.c: Likewise.
6477 * elf/tst-auditmod6b.c: Likewise.
6478 * elf/tst-auditmod6c.c: Likewise.
6479 * elf/tst-auditmod7b.c: Likewise.
6480
6481 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6482 and x32_gnu_pltexit.
6483
6484 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6485 __ELF_NATIVE_CLASS.
6486 (La_x32_regs): New macro.
6487 (La_x32_retval): Likewise.
6488 (la_x32_gnu_pltenter): New function prototype.
6489 (la_x32_gnu_pltexit): Likewise.
6490
7998fa78
AS
64912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6492
dcb33988
AS
6493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6494 exponent.
6495
233fc563
AS
6496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6497
7998fa78
AS
6498 * configure.in (libc_cv_cc_nofma): Check for option to disable
6499 generation of FMA instructions.
6500 * configure: Regenerate.
6501 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6502 * sysdeps/ieee754/dbl-64/Makefile: New file.
6503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6504 Remove brandred-fma4.
6505 (CFLAGS-brandred-fma4.c): Remove.
6506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6507 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6508 define.
6509 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6510 define.
6511
8e95c99a
L
65122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6513
6514 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6515 LLONG_MAX != LONG_MAX.
6516 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6517 (_fitoa_word): Likewise.
6518 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6519 LLONG_MAX != LONG_MAX.
6520 * stdio-common/_itowa.h: Include <_itoa.h>.
6521 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6522 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6523 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6524 only if not defined.
6525 (_ITOA_WORD_TYPE): Likewise.
6526 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6527 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6528
6f4db457
DM
65292012-03-21 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6532
7785fe5a
L
65332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6536 of x86_64 when setting libc_cv_slibdir, libdir and
6537 libc_cv_localedir.
6538 * sysdeps/unix/sysv/linux/configure: Regenerated.
6539
4535cd55
JM
65402012-03-21 Joseph Myers <joseph@codesourcery.com>
6541
6542 * manual/lang.texi (Old Varargs): Remove section.
6543 (How Variadic): Update menu.
6544 (va_start): Do not mention varargs.h.
6545
17228132
TS
65462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6547 Joseph Myers <joseph@codesourcery.com>
6548
6549 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6550 link test.
6551 * configure: Regenerated.
6552
8149f976
TS
65532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6554
05f3d1f6
UD
6555 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6556 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6557 conformtest.pl
8149f976 6558
1a4ac776
JM
65592012-03-21 Joseph Myers <joseph@codesourcery.com>
6560
be22ce65
JM
6561 * NOTES: Remove.
6562 * Makefile (files-for-dist): Remove NOTES.
6563 (NOTES): Remove rule.
6564 * README: Don't refer to NOTES.
6565 * manual/creature.texi: Don't include macros.texi.
6566 * manual/intro.texi (creature.texi): Remove comment referring to
6567 NOTES.
6568
40b601fb
JM
6569 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6570 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6571 * configure: Regenerated.
6572 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6573 LIBC_TRY_CC_OPTION.
6574 (libc_cv_as_i686): Likewise.
6575 (libc_cv_cc_avx): Likewise.
6576 (libc_cv_cc_sse2avx): Likewise.
6577 (libc_cv_cc_fma4): Likewise.
6578 (libc_cv_cc_novzeroupper): Likewise.
6579 * sysdeps/i386/configure: Regenerated.
6580
1a4ac776
JM
6581 [BZ #13883]
6582 * sysdeps/i386/fpu/s_cexp.S: Remove.
6583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6584 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6585 * math/libm-test.inc (cexp_test): Add more tests.
6586 * sysdeps/i386/fpu/libm-test-ulps: Update.
6587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6588
a458e7fe
AM
65892012-03-21 Allan McRae <allan@archlinux.org>
6590
6591 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6592
0cb7efc5
JM
65932012-03-21 Joseph Myers <joseph@codesourcery.com>
6594
6595 [BZ #13871]
6596 * math/w_exp2.c: Do not include <float.h>.
6597 (o_threshold, u_threshold): Remove.
6598 (__exp2): Calculate result before checking finiteness and calling
6599 __kernel_standard.
6600 * math/w_exp2f.c: Likewise.
6601 * math/w_exp2l.c: Likewise.
6602 * math/libm-test.inc (exp2_test): Require overflow exception for
6603 1e6 input.
2460d3aa
JM
6604
6605 [BZ #3866]
6606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6607 range of signed 64-bit integers before using fistpll. Remove
6608 checks for whether integers fit in mantissa bits.
6609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6610 the range of signed 32-bit integers before using fistpl. Remove
6611 checks for whether integers fit in mantissa bits.
6612 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6613 (__ieee754_powl): Test for y outside the range of signed 64-bit
6614 integers before using fistpll. Reduce 64-bit values to 63-bit
6615 ones as needed.
6616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6617 divide-by-zero is raised for zero to large negative powers.
6618 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6619 (__ieee754_powl): Test for y outside the range of signed 64-bit
6620 integers before using fistpll. Reduce 64-bit values to 63-bit
6621 ones as needed.
6622 * math/libm-test.inc (pow_test): Add more tests.
6623
eb96ffb0
L
66242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6625
6626 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6627 <stdio-common/_itoa.h>.
6628 * debug/segfault.c: Likewise.
6629 * elf/dl-cache.c: Likewise.
6630 * elf/dl-minimal.c: Likewise.
6631 * elf/dl-misc.c: Likewise.
6632 * elf/dl-sysdep.c: Likewise.
6633 * elf/dl-version.c: Likewise.
6634 * elf/rtld.c: Likewise.
6635 * hurd/hurdsock.c: Likewise.
6636 * hurd/lookup-retry.c: Likewise.
6637 * malloc/malloc.c: Likewise.
6638 * malloc/mtrace.c: Likewise.
6639 * nscd/nscd_getgr_r.c: Likewise.
6640 * nscd/nscd_getpw_r.c: Likewise.
6641 * nscd/nscd_getserv_r.c: Likewise.
6642 * posix/getopt_init.c: Likewise.
6643 * posix/wordexp.c: Likewise.
6644 * stdio-common/_itoa.c: Likewise.
6645 * stdio-common/printf_fphex.c: Likewise.
6646 * stdio-common/vfprintf.c: Likewise.
6647 * string/_strerror.c: Likewise.
6648 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6649 * sysdeps/i386/i686/hp-timing.h: Likewise.
6650 * sysdeps/mach/_strerror.c: Likewise.
6651 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6652 * sysdeps/mach/hurd/sethostid.c: Likewise.
6653 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6654 * sysdeps/mach/xpg-strerror.c: Likewise.
6655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6657 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6658 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6659 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6660 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6661 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6662 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6663 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6664 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6665 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6666 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6668 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6669 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6673 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6674 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6675 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6676
6677 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6678
6679 * stdio-common/_itoa.h: Moved to ...
6680 * sysdeps/generic/_itoa.h: Here.
6681
6682 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6683
6684 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6685 instead of "_itoa.h" and "_itowa.h".
6686 * stdio-common/vfprintf.: Likewise.
6687
d1af992d
L
66882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6689
6690 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6691 <bits/wordsize.h>.
6692 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6693 (__signbit): Likwise.
6694 (llrintf): Likwise.
6695 (llrint): Likwise.
6696
114883e0
L
66972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6698
6699 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6700 __WORDSIZE != 64.
6701
c135cc1b
JM
67022012-03-20 Joseph Myers <joseph@codesourcery.com>
6703
6704 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6705 OVERFLOW_EXCEPTION_OK.
6706 * math/libm-test.inc ("Philosophy"): Update comment about
6707 exception testing.
6708 (OVERFLOW_EXCEPTION): Define.
6709 (OVERFLOW_EXCEPTION_OK): Likewise.
6710 (INVALID_EXCEPTION_OK): Renumber.
6711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6712 (IGNORE_ZERO_INF_SIGN): Likewise.
6713 (test_exceptions): Handle FE_OVERFLOW.
6714 (exp10_test): Expect overflow exceptions.
6715 (exp2_test): Likewise.
6716 (expm1_test): Likewise.
6717 (nextafter_test): Likewise.
6718 (pow_test): Likewise.
6719 (scalbn_test): Likewise.
6720 (scalbln_test): Likewise.
6721
95443d88
L
67222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6723
6724 * sysdeps/x86_64/bits/atomic.h
6725 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6726 64bit integer.
6727 (atomic_exchange_acq): Likewise.
6728 (__arch_exchange_and_add_body): Likewise.
6729 (__arch_add_body): Likewise.
6730 (atomic_add_negative): Likewise.
6731 (atomic_add_zero): Likewise.
6732
490df6c4
L
67332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6734
c2722551 6735 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6736 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6737
5e52b189
L
67382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6741 Check __x86_64__ instead of __WORDSIZE.
6742
a9879d4c
L
67432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6746
5df98260
DM
67472012-03-19 David S. Miller <davem@davemloft.net>
6748
e1497744
DM
6749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6750
5df98260
DM
6751 * sysdeps/sparc/fpu/fenv_private.h: New file.
6752 * sysdeps/sparc/fpu/math_private.h: Use it.
6753 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6754 Remove.
6755 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6756 (libc_feholdexcept_setroundl): Remove.
6757 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6758 Remove.
6759 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6760 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6761
b4c35121
L
67622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6765 int64_t instead of long int.
6766 (INSERT_WORDS64): Likwise.
6767
56965fd7
L
67682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6769
6770 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6771 _Unwind_GetCFA return to _Unwind_Ptr first.
6772
83d1aec8
JM
67732012-03-19 Joseph Myers <joseph@codesourcery.com>
6774
1897ad44
JM
6775 [BZ #13629]
6776 * math/s_clog.c: Include <float.h>.
6777 (__clog): Scale large or subnormal inputs.
6778 * math/s_clogf.c: Likewise.
6779 * math/s_clogl.c: Likewise.
6780 * math/s_clog10.c: Include <float.h>.
6781 (M_LOG10_2): Define.
6782 (__clog10): Scale large or subnormal inputs.
6783 * math/s_clog10f.c: Likewise.
6784 * math/s_clog10l.c: Likewise.
6785 * math/libm-test.inc (clog_test): Add more tests.
6786 (clog10_test): Likewise.
6787 * sysdeps/i386/fpu/libm-test-ulps: Update.
6788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6789
7726d6a9
JM
6790 [BZ #11451]
6791 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6792 x and y.
6793 * math/libm-test.inc (atan2_test): Add another test.
6794
83d1aec8
JM
6795 * Makerules (common-objdir-compile): Remove.
6796 * sysdeps/unix/Makefile (config-generated): Do not add
6797 $(unix-generated) to variable.
6798 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6799 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6800 Remove rule.
6801 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6802 Likewise.
6803 [generic bits/local_lim.h] (before-compile): Do not append to
6804 variable.
6805 [generic bits/local_lim.h] (common-generated): Likewise.
6806 [generic sys/param.h] (before-compile): Do not append to variable.
6807 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6808 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6809 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6810 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6811 include.
6812 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6813 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6814 [generic sys/param.h] ($(addprefix
6815 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6816 [generic sys/param.h] (common-generated): Do not append to
6817 variable.
6818 [generic sys/param.h] (sysdep_headers): Likewise.
6819 [generic bits/errno.h] (before-compile): Do not append to
6820 variable.
6821 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6822 rule.
6823 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6824 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6825 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6826 [generic bits/errno.h] (common-generated): Do not append to
6827 variable.
6828 [generic bits/ioctls.h] (before-compile): Do not append to
6829 variable.
6830 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6831 rule.
6832 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6833 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6834 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6835 rule.
6836 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6837 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6838 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6839 [generic bits/ioctls.h] (common-generated): Do not append to
6840 variable.
6841 [generic sys/syscall.h] (syscall.h): Remove variable.
6842 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6843 rule.
6844 [generic sys/syscall.h] (before-compile): Do not append to
6845 variable.
6846 [generic sys/syscall.h] (common-generated): Likewise.
6847 * sysdeps/unix/errnos-tmpl.c: Remove file.
6848 * sysdeps/unix/errnos.awk: Likewise.
6849 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6850 * sysdeps/unix/ioctls.awk: Likewise.
6851 * sysdeps/unix/mk-local_lim.c: Likewise.
6852 * sysdeps/unix/snarf-ioctls: Likewise.
6853
4851a949
RH
68542012-03-19 Richard Henderson <rth@twiddle.net>
6855
bd37f2ee
RH
6856 * sysdeps/i386/fpu/fenv_private.h: New file.
6857 * sysdeps/i386/fpu/math_private.h: Use it.
6858 (math_opt_barrier, math_force_eval): Remove.
6859 (libc_feholdexcept_setround_53bit): Remove.
6860 (libc_feupdateenv_53bit): Remove.
6861 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6862 (math_opt_barrier, math_force_eval): Remove.
6863 (libc_feholdexcept): Remove.
6864 (libc_feholdexcept_setround): Remove.
6865 (libc_fetestexcept, libc_fesetenv): Remove.
6866 (libc_feupdateenv_test): Remove.
6867 (libc_feupdateenv, libc_feholdsetround): Remove.
6868 (libc_feresetround): Remove.
6869
d0adc922
RH
6870 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6871 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6872
0fe0f1f8
RH
6873 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6874 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6875 (libc_feupdateenv_testl): New.
6876 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6877 (libc_feupdateenv_testf): New.
6878 (libc_feupdateenv): Use libc_feupdateenv_test.
6879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6881
eb92c487
RH
6882 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6883 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6884 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6885 (libc_feresetround_noex): New.
6886 (libc_feresetround_noexf): New.
6887 (libc_feresetround_noexl): New.
6888 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6889 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6890 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6891 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6892 SET_RESTORE_ROUND.
6893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6895 (__cos): Likewise.
6896 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6898 SET_RESTORE_ROUND_NOEX.
6899 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6900 SET_RESTORE_ROUND_NOEXF.
6901 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6902 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6903 (libc_feholdsetroundf): New.
6904 (libc_feresetround, libc_feresetroundf): New.
6905
7d2e8012
RH
6906 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6907 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6908 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6909
b4dabbb4
RH
6910 * sysdeps/generic/math_private.h: Include <fenv.h>.
6911 (default_libc_feholdexcept): New.
6912 (default_libc_feholdexcept_setround): New.
6913 (default_libc_fesetenv, default_libc_feupdateenv): New.
6914 (libc_feholdexcept): Only define if undefined.
6915 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6916 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6917 (libc_feholdexcept_setroundl): Likewise.
6918 (libc_feholdexcept_setround_53bit): Likewise.
6919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6920 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6921 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6922 (libc_feupdateenv_53bit): Likewise.
6923 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6924 (libc_feholdexcept): Convert from macro to inline function.
6925 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6926 (libc_fesetenv, libc_feupdateenv): Likewise.
6927
4851a949
RH
6928 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6929 not previously defined.
6930 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6931 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6932 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6933 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6934 * sysdeps/ieee754/flt-32/math_private.h: New file.
6935 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6936 math_private.h below SET_FLOAT_WORD.
6937 (__isnan, __isinf_ns, __finite): Remove.
6938 (__isnanf, __isinf_nsf, __finitef): Remove.
6939
e79d442e
AS
69402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6941
6942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6943
90b80344
DM
69442012-03-17 David S. Miller <davem@davemloft.net>
6945
6946 [BZ #6471]
6947 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6948 for 2.16.
6949
edc21804
DM
69502012-03-16 David S. Miller <davem@davemloft.net>
6951
77e927af
DM
6952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6953 warnings.
6954
374976dd
DM
6955 [BZ #6471]
6956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6957 properly.
6958 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6959 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6960 sysdep_routines when subdir is sysvipc.
6961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6962 __getshmlba helper.
6963
edc21804
DM
6964 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6965
473c3ef3
L
69662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6969 [__LP64__].
6970
eb0f39b6
L
69712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6974 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6975 (__lround): Renamed to ...
6976 (__llround): This. Replace long int with long long int.
6977 Define lround functions as aliases of llround functions.
6978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6979
6b6cd74b
L
69802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6981
6982 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6983 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6984 adresses to uintptr_t. Replace "long int" and "unsigned long
6985 int" with "greg_t" on va_arg.
6986
f1a77b01
L
69872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6988
6989 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6990 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6991
6992 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6993 Move e_machine check before EI_CLASS check. Handle x32
6994 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6995 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6996 SKIP_EM_IA_64 and include
6997 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6998
6999 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7000 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7001 (add_system_dir): New macro.
7002
7003 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7004 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7005
11b90b9f
JM
70062012-03-16 Joseph Myers <joseph@codesourcery.com>
7007
c36e1d23
JM
7008 [BZ #2551]
7009 [BZ #2552]
7010 [BZ #2553]
7011 [BZ #2554]
7012 [BZ #2562]
7013 [BZ #2563]
7014 [BZ #2565]
7015 [BZ #2566]
7016 [BZ #2576]
7017 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7018 (y0): Likewise.
7019 * math/w_j0f.c (j0f): Likewise.
7020 (y0f): Likewise.
7021 * math/w_j0l.c (__j0l): Likewise.
7022 (__y0l): Likewise.
7023 * math/w_j1.c (j1): Likewise.
7024 (y1): Likewise.
7025 * math/w_j1f.c (j1f): Likewise.
7026 (y1f): Likewise.
7027 * math/w_j1l.c (__j1l): Likewise.
7028 (__y1l): Likewise.
7029 * math/w_jn.c (jn): Likewise.
7030 (yn): Likewise.
7031 * math/w_jnf.c (jnf): Likewise.
7032 (ynf): Likewise.
7033 * math/w_jnl.c (__jnl): Likewise.
7034 (__ynl): Likewise.
7035 * math/libm-test.inc (j0_test): Add more tests.
7036 (j1_test): Likewise.
7037 (jn_test): Likewise. Add trailing semicolon to existing test.
7038 (y0_test): Likewise.
7039 (y1_test): Likewise.
7040 * sysdeps/i386/fpu/libm-test-ulps: Update.
7041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7042
11b90b9f
JM
7043 [BZ #13851]
7044 [BZ #13854]
7045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7046 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7047 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7049 (__tanl): Set errno for infinite argument.
7050 * sysdeps/i386/fpu/mptan.c: Remove.
7051 * sysdeps/i386/fpu/s_tan.S: Likewise.
7052 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7053 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7054 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7055 * math/libm-test.inc (tan_test): Add more tests and enable more
7056 tests for double and long double.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059
6a1bd2a1
JK
70602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7061
7062 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7063 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7064
10a803e0
RM
70652012-03-16 Roland McGrath <roland@hack.frob.com>
7066
7067 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7068 * configure.in: Use it for both main tree and add-ons.
7069 * configure: Regenerated.
7070
f196c7f7
L
70712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7074
8848d99d
JM
70752012-03-16 Joseph Myers <joseph@codesourcery.com>
7076
96cbe7f4
JM
7077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7078 in comment.
7079
8848d99d
JM
7080 [BZ #13851]
7081 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7082 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7086 infinite argument.
7087 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7089 != 0 for prec == 2.
7090 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7091 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7092 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7093 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7094 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7095 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7096 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7097 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7098 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7099 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7100 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7101 * math/libm-test.inc (cos_test): Add more tests and enable more
7102 tests for long double.
7103 (sin_test): Likewise.
7104 (sincos_test): Likewise.
7105 * sysdeps/i386/fpu/libm-test-ulps: Update.
7106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7107
dd7f4703
DM
71082012-03-16 David S. Miller <davem@davemloft.net>
7109
7110 * sysdeps/sparc/fpu/math_private.h: New file.
7111
006f1daa
DM
71122012-03-15 David S. Miller <davem@davemloft.net>
7113
c0c83bc8
DM
7114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7115 file.
e6a62e18 7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7118 file.
e6a62e18
DM
7119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7125 sysdep routines.
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7127
88cb87d9
DM
7128 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7129 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7130
006f1daa 7131 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7133 sparc-ifunc.h
006f1daa 7134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7136 Likewise.
7137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7138 Likewise.
006f1daa
DM
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7143 Likewise.
006f1daa
DM
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7149 Likewise.
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7151 Likewise.
006f1daa
DM
7152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7176
11e0098e
AS
71772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7178
7179 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7180 scaling.
7181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7182
e85b09d0
AJ
71832012-03-15 Andreas Jaeger <aj@suse.de>
7184
7185 [BZ #13852]
7186 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7187 ieee754/flt-32 implementation for sin, cos and sincos.
7188 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7189 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7190 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7191 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7192 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7193 ieee754/flt-32 implementation for tan.
7194
7195 * math/libm-test.inc (cos_test): Enable some large input tests for
7196 float as well
7197 (sin_test): Likewise.
7198 (sincos_test): Likewise.
7199 (tan_test): Add tests for large input.
7200
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7202
81c64153
AJ
72032012-03-15 Andreas Jaeger <aj@suse.de>
7204
7205 [BZ #13658]
7206 * math/libm-test.inc (cos_test): Add more test cases.
7207 (sin_test): Likewise.
7208 (sincos_test): Likewise.
7209
7bbfa5c6
AJ
72102012-03-15 Andreas Jaeger <aj@suse.de>
7211
7212 [BZ #13837]
7213 * math/libm-test.inc (cos_test): Add a test case for large input
7214 value.
7215 (sin_test): Likewise.
7216 (sincos_test): Likewise.
7217
72182012-03-15 Andreas Jaeger <aj@suse.de>,
7219 Joseph Myers <joseph@codesourcery.com>
7220
7221 [BZ #13658]
0671f479 7222 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7223 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7224 * sysdeps/i386/fpu/branred.c: Likewise.
7225 * sysdeps/i386/fpu/dosincos.c: Likewise.
7226 * sysdeps/i386/fpu/mpa.c: Likewise.
7227 * sysdeps/i386/fpu/s_cos.S: Likewise.
7228 * sysdeps/i386/fpu/s_sin.S: Likewise.
7229 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7230 * sysdeps/i386/fpu/sincos32.c: Likewise.
7231
7232 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7233 Define.
7234 (libc_feupdateenv_53bit): Define.
7235 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7236 Define.
7237 (libc_feupdateenv_53bit): Define.
7238
7239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7240 53 bit (without extend i386 double precision).
7241
7242 * math/libm-test.inc (sincos_test): Add tests for large input.
7243 (sin): Likewise.
7244 (cos): Likewise.
7245
7246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7247
9cad04ea
AS
72482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7249
7250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7251
f7062b9a
DM
72522012-03-15 David S. Miller <davem@davemloft.net>
7253
7254 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7255 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7256 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7257 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7270 file.
f7062b9a 7271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7273 file.
f7062b9a 7274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7276 file.
f7062b9a 7277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7279 file.
f7062b9a
DM
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7282 fmin/fmax sysdep routines.
7283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7284
7bd951ff
DM
72852012-03-14 David S. Miller <davem@davemloft.net>
7286
559398ab
DM
7287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7316 routines.
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7318 file.
559398ab 7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7321 file.
559398ab 7322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7324 file.
559398ab 7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7327 file.
559398ab 7328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7330 file.
559398ab 7331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7333 file.
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7335 file.
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7337 file.
7338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7339 file.
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7341 New file.
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7343 file.
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7345 file.
559398ab 7346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7348 file.
559398ab 7349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7351 file.
559398ab 7352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7354 file.
559398ab 7355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7357 VIS3 routines.
559398ab
DM
7358
7359 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7360 New file.
7361
5a1c1e32
DM
7362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7363
eae47a36
DM
7364 * sysdeps/sparc/configure.in: New file.
7365 * sysdeps/sparc/configure: Generate.
7366 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7367 * configure: Regenerate.
7368 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7369 * config.make.in (have-as-vis3): New.
7370 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7371 available use -Av9d instead of -Av9a.
7372 * sysdeps/sparc/sparc64/Makefile: Likewise.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7375 New file.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7377 file.
7378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7379 New file.
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7381 file.
eae47a36
DM
7382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7387
c0c83bc8
DM
7388 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7389 fzeros/fnegs to load 0x80000000 into a float register instead of
7390 using the stack.
7bd951ff
DM
7391 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7392
bd951ccb
JM
73932012-03-14 Joseph Myers <joseph@codesourcery.com>
7394
7395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7396 bits/syscall.h.
7397 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7398 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7399 ($(inst_includedir)/bits/syscall.h): Remove rule.
7400 ($(objpfx)bits/syscall.d): Include instead of
7401 $(objpfx)syscall-list.d.
7402 (generated): Change syscall-list.h and syscall-list.d to
7403 bits/syscall.h and bits/syscall.d.
7404
bb4e6db2
RM
74052012-03-14 Roland McGrath <roland@hack.frob.com>
7406
7407 [BZ #13846]
7408 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7409
aa4a2ae1
JM
74102012-03-14 Joseph Myers <joseph@codesourcery.com>
7411
e456826d
JM
7412 [BZ #13841]
7413 * math/s_csqrt.c: Include <float.h>.
7414 (__csqrt): Scale large or subnormal inputs.
7415 * math/s_csqrtf.c: Likewise.
7416 * math/s_csqrtl.c: Likewise.
7417 * math/libm-test.inc (csqrt_test): Add more tests.
7418 * sysdeps/i386/fpu/libm-test-ulps: Update.
7419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420
aa4a2ae1
JM
7421 [BZ #13840]
7422 * math/libm-test.inc (hypot_test): Add more tests.
7423
7c10fd35
DM
74242012-03-13 David S. Miller <davem@davemloft.net>
7425
7426 [BZ #13840]
7427 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7428 double-precision for the calculation instead of scaling.
7429
f453b98b
JM
74302012-03-13 Joseph Myers <joseph@codesourcery.com>
7431
7432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7433 manipulate bits before adding and subtracting TWO52[sx].
7434 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7436 Likewise.
7437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7438
09a3453f
DM
74392012-03-13 David S. Miller <davem@davemloft.net>
7440
8e59da90
DM
7441 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7442 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7444 rtld-global-offsets.h
7445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7446
2a8ab7f2
DM
7447 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7448 large parameters.
7449
10f62770
DM
7450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7451
5f0bdb18
DM
7452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7453 'err' in the ifdef scope in which it is actually used.
7454
09a3453f
DM
7455 * nss/nss_db/db-init.c: Include string.h
7456
b4b2eb5e
DM
74572012-03-12 David S. Miller <davem@davemloft.net>
7458
98bb2f1c
DM
7459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7460 masking out of the most significant byte of random value used.
7461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7462 Fix coding style in previous change.
7463
b4b2eb5e
DM
7464 * sysdeps/unix/sysv/linux/kernel-features.h
7465 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7466 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7467 expression.
7468 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7469 later.
7470
6e226b09
DM
74712012-03-11 David S. Miller <davem@davemloft.net>
7472
a1bcbd40
DM
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7474 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7476 for 'resultvar' otherwise things get truncated on 64-bit.
7477
cb9d6174
DM
7478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7479 Fix masking out of the most significant byte of random value used.
7480
6e226b09
DM
7481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7482
058c132d
AS
74832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7484
7485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7486
2d2cd515
DM
74872012-03-09 David S. Miller <davem@davemloft.net>
7488
7489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7490 variables with appropriate CPP guards.
7491 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7492 frame pointer, not the stack pointer. Correct layout comments. Fix test
7493 on resulting framesize and the management of the outregs buffer for pltexit.
7494 Preserve floating point return values across _dl_call_pltexit call.
7495 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7496 framesize and the management of the outregs buffer for pltexit.
7497 Preserve floating point return values across _dl_call_pltexit
7498 call.
7499 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7500 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7501 (print_exit): Fix format string for return register value.
7502
9a07f9d0
JM
75032012-03-10 Joseph Myers <joseph@codesourcery.com>
7504
7505 * sunrpc/Makefile (others): Add rpcgen.
7506 ($(objpfx)rpcgen): Remove special build rule and dependency on
7507 libc.
7508 * sunrpc/rpcgen.c: New file.
7509
547b5e30
PE
75102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7511
c524201a
PE
7512 [BZ #13673]
7513 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7514 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7515 * sysdeps/i386/crti.S: Likewise.
7516 * sysdeps/i386/crtn.S: Likewise.
7517 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7518 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7519 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7521 * sysdeps/sh/crti.S: Likewise.
7522 * sysdeps/sh/crtn.S: Likewise.
7523 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7524
7b6235f2
PE
7525 [BZ #13673]
7526 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7527 with URL.
7528 * locale/programs/locfile-kw.gperf: Likewise.
7529 * locale/programs/charmap-kw.h: Regenerated.
7530 * locale/programs/locfile-kw.h: Likewise.
7531
547b5e30
PE
7532 [BZ #13673]
7533 * intl/plural.y: Replace FSF snail mail address with URL.
7534 * intl/plural.c: Regenerated.
7535
5f0a5dae
RH
75362012-03-09 Richard Henderson <rth@twiddle.net>
7537
7538 * include/math_private.h: Remove file.
7539 * math/math_private.h: Move file ...
7540 * sysdeps/generic/math_private.h: ... here.
7541
b8c03620
RH
7542 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7543 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7544 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7545
4e234f5d 7546 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7547 and <math_private.h>.
7548 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7549 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7550 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7551 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7552 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7594 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7636 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7637 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7638 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7639 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7642 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7644 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7645 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7646 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7648 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7649 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7650 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7651 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7653 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7654 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7661 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7662 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7664 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7665 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7666 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7667 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7668 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7669 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7670 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7671 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7672 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7673 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7681 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7684 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7686 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7687 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7689 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7690 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7691 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7692 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7693 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7694 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7695 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7696 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7697 * sysdeps/ieee754/k_standard.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7820 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7825 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7830 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7847 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7848 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7858 * sysdeps/ieee754/s_lib_version.c: Likewise.
7859 * sysdeps/ieee754/s_matherr.c: Likewise.
7860 * sysdeps/ieee754/s_signgam.c: Likewise.
7861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7864 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7866 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7867 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7868 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7869 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7870 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7871 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7872 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7873 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7874 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7875 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7879 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7882
1991fa03
JM
78832012-03-09 Joseph Myers <joseph@codesourcery.com>
7884
7885 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7886 * sunrpc/rpc_main.c: Likewise.
7887 * sunrpc/rpc_svcout.c: Likewise.
7888
60d6f5a6
DM
78892012-03-09 David S. Miller <davem@davemloft.net>
7890
7891 * include/math_private.h: New file.
7892
4962050e
JM
78932012-03-09 Joseph Myers <joseph@codesourcery.com>
7894
02a6f887
JM
7895 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7896 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7897 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7898 from <bits/socket_type.h>.
7899 (enum __socket_type): Don't define here.
7900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7902 bits/socket_type.h.
7903
c6e013c1
JM
7904 [BZ #13566]
7905 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7906 checking __USE_GNU.
7907
4962050e
JM
7908 * Makerules ($(inst_includedir)/%.h): New rule.
7909 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7910 (install-others): Remove variable setting.
7911 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7912
38842f45
RH
79132012-03-08 Richard Henderson <rth@twiddle.net>
7914
67bb6da6
RH
7915 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7916 from macro to inline function; merge with the
7917 !__LIBC_INTERNAL_MATH_INLINES version.
7918 (__ieee754_sqrtf): Likewise.
7919
15194b4b
RH
7920 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7921 to inline function.
7922 (__rintf, __floor, __floorf): Likewise.
7923
64e21ede
RH
7924 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7925 macro to inline function.
7926 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7927
38842f45
RH
7928 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7929 not <math/math_private.h>.
7930
c64bf5fe
DM
79312012-03-08 David S. Miller <davem@davemloft.net>
7932
7933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7934 copyright year.
7935 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7936
82d86f28
TS
79372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7938
7939 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7940 normalization.
7941 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7942 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7943
aea5d727
UD
79442012-03-08 Ulrich Drepper <drepper@gmail.com>
7945
7946 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7947 be defined individually, they must be defined as a block. Define
7948 S for printing a string instead of hidint the different by using a
7949 macro for adding the 'l'.
7950 * stdio-common/tst-fphex-wide.c: Adjust.
7951
70bca0a3
MP
79522012-03-07 Marek Polacek <polacek@redhat.com>
7953
7954 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7955
65b81130
MP
79562012-03-08 Marek Polacek <polacek@redhat.com>
7957
7958 [BZ #13806]
7959 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7960 * stdio-common/tst-fphex.c: Define a few macros to make the
7961 test reusable. Use them.
7962 * stdio-common/tst-fphex-wide.c: New file.
7963
07037eeb
JM
79642012-03-08 Joseph Myers <joseph@codesourcery.com>
7965
a7a93d50
JM
7966 [BZ #6911]
7967 * manual/macros.texi (gnusystems): New macro.
7968 (nongnusystems): Likewise.
7969 (gnulinuxhurdsystems): Likewise.
7970 (gnuhurdsystems): Likewise..
7971 (gnulinuxsystems): Likewise.
7972 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7973 variants of the GNU system, not "GNU system".
7974 * manual/conf.texi: Likewise.
7975 * manual/errno.texi: Likewise. Update example of errno macro
7976 expansion.
7977 * manual/filesys.texi: Likewise.
7978 (getumask): Document as specific to GNU/Hurd.
7979 * manual/install.texi: Likewise. Reword some references to
7980 GNU/Linux.
7981 * manual/intro.texi: Likewise.
7982 * manual/io.texi: Likewise.
7983 (File Name Portability): Detail which constraints are inapplicable
7984 to all GNU systems and which are only inapplicable to GNU/Hurd.
7985 * manual/job.texi: Likewise.
7986 * manual/llio.texi: Likewise.
7987 (O_NOCTTY): Document as present on GNU/Linux.
7988 * manual/maint.texi: Likewise.
7989 * manual/memory.texi: Likewise.
7990 * manual/pattern.texi: Likewise.
7991 * manual/pipe.texi: Likewise.
7992 * manual/process.texi: Likewise.
7993 * manual/resource.texi: Likewise.
7994 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7995 child on GNU/Hurd.
7996 * manual/setjmp.texi: Likewise.
7997 * manual/signal.texi: Likewise.
7998 * manual/startup.texi: Likewise.
7999 * manual/stdio.texi: Likewise.
8000 * manual/terminal.texi: Likewise.
8001 (ONLCR): Document as POSIX.
8002 (OXTABS): Document availability on GNU/Linux as XTABS.
8003 (ONOEOT): Document availability separately from other bits.
8004 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8005 * manual/time.texi: Likewise.
8006 * manual/users.texi: Likewise.
8007 * INSTALL: Regenerated.
8008 * sysdeps/gnu/errlist.c: Regenerated.
8009
07037eeb
JM
8010 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8011 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8012 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8013 puts.
8014 * configure: Regenerated.
8015
d1d3431a
JM
80162012-03-07 Joseph Myers <joseph@codesourcery.com>
8017
af6a1e37
JM
8018 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8019 default includes instead of AC_HEADER_CHECK.
8020 * sysdeps/i386/configure: Regenerated.
8021
d1d3431a
JM
8022 [BZ #10716]
8023 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8024 * math/s_cacoshf.c (__cacoshf): Likewise.
8025 * math/s_cacoshl.c (__cacoshl): Likewise.
8026 * math/s_casinh.c (__casinh): Set signs of result from argument.
8027 * math/s_casinhf.c (__casinhf): Likewise.
8028 * math/s_casinhl.c (__casinhl): Likewise.
8029 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8030 (casinh_test): Add more tests.
8031 * sysdeps/i386/fpu/libm-test-ulps: Update.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8033
482ff4da
UD
80342012-03-07 Ulrich Drepper <drepper@gmail.com>
8035
872fda05
UD
8036 * po/zh_TW.po: Update from translation team.
8037
a4300c7a
UD
8038 * login/Makefile (distribute): Remove variable.
8039 * catgets/Makefile: Likewise.
8040 * mach/Makefile: Likewise.
8041 * malloc/Makefile: Likewise.
8042 * misc/Makefile: Likewise.
8043 * iconv/Makefile: Likewise.
8044 * nscd/Makefile: Likewise.
8045 * hurd/Makefile: Likewise.
8046 * manual/Makefile: Likewise.
8047 * locale/Makefile: Likewise.
8048 * intl/Makefile: Likewise.
8049 * conform/Makefile: Likewise.
8050 * nss/Makefile: Likewise.
8051 * time/Makefile: Likewise.
8052 * soft-fp/Makefile: Likewise.
8053 * dirent/Makefile: Likewise.
8054 * gmon/Makefile: Likewise.
8055 * po/Makefile: Likewise.
8056 * rt/Makefile: Likewise.
8057 * socket/Makefile: Likewise.
8058 * math/Makefile: Likewise.
8059 * signal/Makefile: Likewise.
8060 * debug/Makefile: Likewise.
8061 * elf/Makefile: Likewise.
8062 * timezone/Makefile: Likewise.
8063 * stdlib/Makefile: Likewise.
8064 * iconvdata/Makefile: Likewise.
8065 * sunrpc/Makefile: Likewise.
8066 * io/Makefile: Likewise.
8067 * argp/Makefile: Likewise.
8068 * inet/Makefile: Likewise.
8069 * hesiod/Makefile: Likewise.
8070 * grp/Makefile: Likewise.
8071 * csu/Makefile: Likewise.
8072 * wctype/Makefile: Likewise.
8073 * crypt/Makefile: Likewise.
8074 * libio/Makefile: Likewise.
8075 * string/Makefile: Likewise.
8076 * nis/Makefile: Likewise.
8077 * resolv/Makefile: Likewise.
8078 * stdio-common/Makefile: Likewise.
8079 * wcsmbs/Makefile: Likewise.
8080 * dlfcn/Makefile: Likewise.
8081 * posix/Makefile: Likewise.
8082
3b7c4e74 8083 [BZ #6959]
482ff4da
UD
8084 * timezone/Makefile: Don't install timezone files, just the programs
8085 and scripts.
8086
f72ed77d
UD
80872012-03-06 Ulrich Drepper <drepper@gmail.com>
8088
a000466f
UD
8089 * nss/databases.def: Add missing gshadow entry.
8090
f72ed77d
UD
8091 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8092
a53b7a4e
MP
80932012-03-06 Marek Polacek <polacek@redhat.com>
8094
8095 [BZ #13726]
8096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8098 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8099 * stdio-common/tst-long-dbl-fphex.c: New file.
8100
e9258400
DM
81012012-03-06 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8104 (set_obp_int): New function.
8105 (get_obp_int): New function.
8106 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8107 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8108 Avoid unused variable warnings on 'val' and use builtin_expect.
8109 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8110 __builtin_expect.
e9258400
DM
8111 (INLINE_CLONE_SYSCALL): Likewise.
8112
3bd2c723
DM
81132012-03-05 David S. Miller <davem@davemloft.net>
8114
8115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8116
bbb78d03
AS
81172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8118
884c5db4
AS
8119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8120
bbb78d03
AS
8121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8122 only for |x| >= 40.
8123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8124
1c9f702a 81252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8126
8127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8128 Replace gettimeofday with __vdso_gettimeofday.
8129
7be16f82
RM
8130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8131 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8132 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8133
8134 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8135 time with __vdso_time.
8136
ed58a00f
JM
81372012-03-05 Joseph Myers <joseph@codesourcery.com>
8138
8139 * manual/lang.texi (size_t): Note types to which size_t may be
8140 equivalent with the GNU C Library, but do not describe when
8141 differences between them are significant.
8142
30ee4ced
AJ
81432012-03-05 Andreas Jaeger <aj@suse.de>
8144
8145 * sysdeps/i386/fpu/libm-test-ulps: Update.
8146
b7cd39e8
JM
81472012-03-05 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #3976]
8150 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8151 (__ieee754_pow): Save and restore rounding mode and use
8152 round-to-nearest for main computations.
8153 * math/libm-test.inc (pow_test_tonearest): New function.
8154 (pow_test_towardzero): Likewise.
8155 (pow_test_downward): Likewise.
8156 (pow_test_upward): Likewise.
8157 (main): Call the new functions.
8158 * sysdeps/i386/fpu/libm-test-ulps: Update.
8159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8160
8161 [BZ #3976]
8162 * math/libm-test.inc (cosh_test_tonearest): New function.
8163 (cosh_test_towardzero): Likewise.
8164 (cosh_test_downward): Likewise.
8165 (cosh_test_upward): Likewise.
8166 (sinh_test_tonearest): Likewise.
8167 (sinh_test_towardzero): Likewise.
8168 (sinh_test_downward): Likewise.
8169 (sinh_test_upward): Likewise.
8170 (main): Call the new functions.
8171 * sysdeps/i386/fpu/libm-test-ulps: Update.
8172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8173
6c6a98c9
TV
81742012-03-05 Tom de Vries <tom@codesourcery.com>
8175
8176 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8177 default stack guard is set in last bytes.
8178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8179
21bb2d2e 81802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8181
21bb2d2e 8182 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8183
21bb2d2e
AJ
8184 [BZ #13656]
8185 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8186 possibly allocate from heap instead of stack.
8187 * stdio-common/bug-vfprintf-nargs.c: New file.
8188 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8189
c6922934
AS
81902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8191
8192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8193
bc957d53
MP
81942012-03-03 Marek Polacek <polacek@redhat.com>
8195
8196 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8197 * math/math_private.h: Likewise.
8198 * stdlib/tst-strtod.c: Likewise.
8199 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8200 * sysdeps/x86_64/bits/atomic.h: Likewise.
8201
6358490d
DM
82022012-03-02 David S. Miller <davem@davemloft.net>
8203
8204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8208 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8209 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8210 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8211 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8212
01ae168d
RM
82132012-03-02 Roland McGrath <roland@hack.frob.com>
8214
d9a17c07
RM
8215 [BZ #13792]
8216 * manual/examples/README: New file, says the example source files
8217 can be used under GPL>=2.
8218 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8219 line containing just "*/".
8220 * manual/examples/add.c: Add copyright header (GPL>=2).
8221 * manual/examples/argp-ex1.c: Likewise.
8222 * manual/examples/argp-ex2.c: Likewise.
8223 * manual/examples/argp-ex3.c: Likewise.
8224 * manual/examples/argp-ex4.c: Likewise.
8225 * manual/examples/atexit.c: Likewise.
8226 * manual/examples/db.c: Likewise.
8227 * manual/examples/dir.c: Likewise.
8228 * manual/examples/dir2.c: Likewise.
8229 * manual/examples/execinfo.c: Likewise.
8230 * manual/examples/filecli.c: Likewise.
8231 * manual/examples/filesrv.c: Likewise.
8232 * manual/examples/fmtmsgexpl.c: Likewise.
8233 * manual/examples/genpass.c: Likewise.
8234 * manual/examples/inetcli.c: Likewise.
8235 * manual/examples/inetsrv.c: Likewise.
8236 * manual/examples/isockad.c: Likewise.
8237 * manual/examples/longopt.c: Likewise.
8238 * manual/examples/memopen.c: Likewise.
8239 * manual/examples/memstrm.c: Likewise.
8240 * manual/examples/mkfsock.c: Likewise.
8241 * manual/examples/mkisock.c: Likewise.
8242 * manual/examples/mygetpass.c: Likewise.
8243 * manual/examples/pipe.c: Likewise.
8244 * manual/examples/popen.c: Likewise.
8245 * manual/examples/rprintf.c: Likewise.
8246 * manual/examples/search.c: Likewise.
8247 * manual/examples/select.c: Likewise.
8248 * manual/examples/setjmp.c: Likewise.
8249 * manual/examples/sigh1.c: Likewise.
8250 * manual/examples/sigusr.c: Likewise.
8251 * manual/examples/stpcpy.c: Likewise.
8252 * manual/examples/strdupa.c: Likewise.
8253 * manual/examples/strftim.c: Likewise.
8254 * manual/examples/strncat.c: Likewise.
8255 * manual/examples/subopt.c: Likewise.
8256 * manual/examples/swapcontext.c: Likewise.
8257 * manual/examples/termios.c: Likewise.
8258 * manual/examples/testopt.c: Likewise.
8259 * manual/examples/testpass.c: Likewise.
8260 * manual/examples/timeval_subtract.c: Likewise.
8261
01ae168d
RM
8262 [BZ #13792]
8263 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8264 function to ...
8265 * manual/timeval_subtract.c.texi: ... here, new file.
8266
49efa33d
DM
82672012-03-02 David S. Miller <davem@davemloft.net>
8268
8269 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8270
28afd92d
JM
82712012-03-02 Joseph Myers <joseph@codesourcery.com>
8272
804360ed
JM
8273 [BZ #3976]
8274 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8275 (__sin): Save and restore rounding mode and use round-to-nearest
8276 for all computations.
8277 (__cos): Save and restore rounding mode and use round-to-nearest
8278 for all computations.
8279 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8280 <fenv.h>.
8281 (tan): Save and restore rounding mode and use round-to-nearest for
8282 all computations.
8283 * math/libm-test.inc (cos_test_tonearest): New function.
8284 (cos_test_towardzero): Likewise.
8285 (cos_test_downward): Likewise.
8286 (cos_test_upward): Likewise.
8287 (sin_test_tonearest): Likewise.
8288 (sin_test_towardzero): Likewise.
8289 (sin_test_downward): Likewise.
8290 (sin_test_upward): Likewise.
8291 (tan_test_tonearest): Likewise.
8292 (tan_test_towardzero): Likewise.
8293 (tan_test_downward): Likewise.
8294 (tan_test_upward): Likewise.
8295 (main): Call the new functions.
8296 * sysdeps/i386/fpu/libm-test-ulps: Update.
8297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8298
a6d06d7b
JM
8299 [BZ #10135]
8300 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8301 small n, then large n, before computing and testing k+n.
8302 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8304 Likewise.
8305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8306 Likewise.
8307 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8308 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8315 * math/libm-test.inc (scalbn_test): Add more tests.
8316 (scalbln_test): Likewise.
8317
07e12bb3
JM
8318 * manual/filesys.texi (mode_t): Describe constraints on size and
8319 signedness, not exact equivalence to a particular type.
8320 (ino_t): Likewise.
8321 (ino64_t): Likewise.
8322 (dev_t): Likewise.
8323 (nlink_t): Likewise.
8324 (blkcnt_t): Likewise.
8325 (blkcnt64_t): Likewise.
8326 * manual/llio.texi (off_t): Likewise.
8327
28afd92d
JM
8328 [BZ #3976]
8329 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8330 (__ieee754_exp): Save and restore rounding mode and use
8331 round-to-nearest for all computations.
8332 * math/libm-test.inc (exp_test_tonearest): New function.
8333 (exp_test_towardzero): Likewise.
8334 (exp_test_downward): Likewise.
8335 (exp_test_upward): Likewise.
8336 (main): Call the new functions.
8337 * sysdeps/i386/fpu/libm-test-ulps: Update.
8338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8339
b1eeb65d
CD
83402012-03-01 Chris Demetriou <cgd@google.com>
8341
8342 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8343 have predictable order.
8344
53362a4b
DM
83452012-03-01 David S. Miller <davem@davemloft.net>
8346
3c969083
DM
8347 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8348
759707de
DM
8349 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8350 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8351 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8353
dfdb8ff2
DM
8354 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8355 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8356 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8358 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8361 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8362 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8363
ead89f96
DM
8364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8365
7f66bd07
DM
8366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8367 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8369
53362a4b
DM
8370 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8373 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8374 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8377 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8378 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8379 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8380 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8386 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8387 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8388 * sysdeps/sparc/elf/configure: Regenerated.
8389
7b1902cb
JM
83902012-03-01 Joseph Myers <joseph@codesourcery.com>
8391
bec039bc
JM
8392 * configure.in (AS, LD): Require binutils 2.20 or later.
8393 * configure: Regenerated.
8394 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8395 as required minimum version.
8396 * INSTALL: Regenerated.
8397
7b1902cb
JM
8398 [BZ #2541]
8399 [BZ #4108]
8400 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8401 before squaring exponent.
8402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8403 bottom long double and 27 bits of top long double before squaring
8404 exponent.
8405 * math/libm-test.inc (erfc_test): Add more tests.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409
f775c276
KT
84102012-03-01 Kai Tietz <ktietz@redhat.com>
8411
8412 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8413 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8414 containing bit-fields.
8415 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8416 * soft-fp/single.h (_FP_UNION_S): Likewise.
8417 * soft-fp/double.h (_FP_UNION_D): Likewise.
8418
5b8a4d4a
JM
84192012-02-29 Joseph Myers <joseph@codesourcery.com>
8420
0bab47b6
JM
8421 [BZ #13786]
8422 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8423 not include ../strcmp.S.
8424 [USE_AS_STRNCASECMP_L]: Likewise.
8425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8426 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8427 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8428 (__strncasecmp_l_ia32): Define as alias to
8429 __strncasecmp_l_nonascii.
8430
0fcad3e2
JM
8431 [BZ #5794]
8432 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8433 * sysdeps/i386/fpu/libm-test-ulps: Update.
8434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435
5b8a4d4a
JM
8436 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438
8fdceb2e
JL
84392012-02-29 Jeff Law <law@redhat.com>
8440
8441 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8442 out of bounds read.
8443
1f393a11
MP
84442012-02-29 Marek Polacek <polacek@redhat.com>
8445
8446 [BZ #13706]
8447 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8448 * elf/Makefile: Add rules to run tst-unused-dep.out.
8449
8847f037
DM
84502012-02-28 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8453 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8457 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8458
169d7f11
JM
84592012-02-29 Joseph Myers <joseph@codesourcery.com>
8460
8461 * math/libm-test.inc (llround_test): Move one test from
8462 lround_test. Use TEST_f_L in moved test.
8463 (lround_test): Move misplaced test to llround_test. Add testcase
8464 from bug 2561.
8465
39adf059
UD
84662012-02-28 Ulrich Drepper <drepper@gmail.com>
8467
8468 * sysdeps/x86_64/fpu/e_expf.S: New file.
8469 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8470
71b5d1c5
SB
84712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8472
8473 [BZ #13637]
8474 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8475 of remain_len that may cause incomplete multi-byte character and
8476 false match.
8477 * posix/bug-regex33.c: New file.
8478 * posix/Makefile (tests): Add bug-regex33.
8479
1f77f049
JM
84802012-02-28 Joseph Myers <joseph@codesourcery.com>
8481
8482 * manual/macros.texi: New file.
8483 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8484 * manual/libc.texinfo: Include macros.texi.
8485 * manual/creatute.texi: Likewise.
8486 * manual/install.texi: Likewise.
8487 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8488 @glibcadj{} in references to the GNU C Library.
8489 * manual/charset.texi: Likewise.
8490 * manual/conf.texi: Likewise.
8491 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8492 when not using those macros.
8493 * manual/creature.texi: Likewise.
8494 * manual/crypt.texi: Likewise.
8495 * manual/errno.texi: Likewise.
8496 * manual/filesys.texi: Likewise.
8497 * manual/header.texi: Likewise.
8498 * manual/install.texi: Likewise.
8499 * manual/intro.texi: Likewise.
8500 * manual/io.texi: Likewise.
8501 * manual/job.texi: Likewise.
8502 * manual/lang.texi: Likewise.
8503 * manual/libc.texiinfo: Likewise.
8504 * manual/llio.texi: Likewise.
8505 * manual/locale.texi: Likewise.
8506 * manual/maint.texi: Likewise.
8507 * manual/math.texi: Likewise.
8508 * manual/memory.texi: Likewise.
8509 * manual/message.texi: Likewise.
8510 * manual/nss.texi: Likewise.
8511 * manual/pattern.texi: Likewise.
8512 * manual/process.texi: Likewise.
8513 * manual/resource.texi: Likewise.
8514 * manual/search.texi: Likewise.
8515 * manual/setjmp.texi: Likewise.
8516 * manual/signal.texi: Likewise.
8517 * manual/socket.texi: Likewise.
8518 * manual/startup.texi: Likewise.
8519 * manual/stdio.texi: Likewise.
8520 * manual/string.texi: Likewise.
8521 * manual/sysinfo.texi: Likewise.
8522 * manual/syslog.texi: Likewise.
8523 * manual/terminal.texi: Likewise.
8524 * manual/time.texi: Likewise.
8525 * manual/users.texi: Likewise.
8526 * INSTALL: Regenerated.
8527 * NOTES: Regenerated.
d40c5d54 8528 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8529
450bf206
AS
85302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8531
8532 * include/dirent.h: Include <dirstream.h> before
8533 <dirent/dirent.h>.
8534
741a235b
DM
85352012-02-28 David S. Miller <davem@davemloft.net>
8536
8537 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8538 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8541
d6b5aa58
DM
85422012-02-27 David S. Miller <davem@davemloft.net>
8543
1aff59a3
DM
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8548
d6b5aa58
DM
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8550 frame pointer instead of stack pointer relative arg slot.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8554
433f48bf
CD
85552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8556
8557 [BZ #3992]
8558 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8559
d674b76d
DM
85602012-02-27 David S. Miller <davem@davemloft.net>
8561
8562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8568 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8569 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8570
0e7727f7
JM
85712012-02-27 Joseph Myers <joseph@codesourcery.com>
8572
8573 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8574 later. Allow versions 5-9.
43be4ca2 8575 * configure: Regenerated.
0e7727f7
JM
8576 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8577 required minimum version and 4.6 as recommended version. Do not
8578 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8579 * INSTALL: Regenerated.
0e7727f7 8580
a78bc654
DM
85812012-02-27 David S. Miller <davem@davemloft.net>
8582
428d5830
DM
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8587 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8591
a78bc654
DM
8592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8593 manipulate bits before adding and subtracting TWO112[sx].
8594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8595
4579f81c
RM
85962012-02-27 Roland McGrath <roland@hack.frob.com>
8597
36c8acb4
RM
8598 [BZ #13775]
8599 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8600 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8601 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8602 being in POSIX, because they are in 1003.1-2008.
8603
84ad622b
RM
8604 * rt/tst-aio.c: Include <fcntl.h>.
8605 * rt/tst-aio7.c: Likewise.
8606 * rt/tst-aio64.c: Likewise.
8607
4579f81c
RM
8608 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8609
abd923db
JM
86102012-02-27 Joseph Myers <joseph@codesourcery.com>
8611
8612 * manual/install.texi (--with-headers): Describe headers as
8613 interface headers, not private headers.
8614 (Specific advice for GNU/Linux systems): Describe use of headers
8615 from "make headers_install", not private headers from older
8616 kernels.
43be4ca2 8617 * INSTALL: Regenerated.
abd923db
JM
8618 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8619 Change to 2.6.19.
8620 * sysdeps/unix/sysv/linux/configure: Regenerated.
8621
6664049b
JM
8622 * manual/llio.texi (fclean): Remove documentation.
8623
bb8b6697
JM
8624 * manual/Makefile (libc-texi-generated): New variable. Include
8625 version.texi.
8626 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8627 $(libc-texi-generated), not duplicated list of files.
8628 (version.texi, stamp-version): New rules.
8629 (realclean): Remove $(libc-texi-generated), not individual files
8630 from that list. Do not remove dir-add.texinfo.
8631 * manual/libc.texinfo: Comment out uses of edition numbers and
8632 references to printed manual. Remove last-updated dates.
8633 (EDITION): Comment out.
8634 (ISBN): Likewise.
8635 (VERSION, UPDATED): Remove.
8636 (version.texi): Include.
8637
12e5c3b9
AS
86382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 * sysdeps/posix/spawni.c: Include <signal.h>.
8641 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8642 * sysdeps/pthread/aio_fsync.c: Likewise.
8643
4efeffc1 86442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8645
ba63ba08
UD
8646 * conform/Makefile (tests): Run only when not cross-compiling and
8647 when fast-check is not defined.
8648
d94a4670
UD
8649 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8650 * conform/data/limits.h-data: Fixes for POSIX2008.
8651 * conform/run-conformtest.sh: Run all tests.
8652 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8653 headers.
8654 * include/bits/dlfcn.h: Likewise.
8655 * include/langinfo.h: Likewise.
8656 * include/monetary.h: Likewise.
8657 * include/sys/poll.h: Likewise.
8658
8659 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8660 for __USE_GNU.
8661 * posix/spawn.h: Define __need_sigset_t.
8662 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8663 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8664 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8665 to get sigevent_t only.
8666 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8667 only for __USE_GNU.
8668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8670 process_vm_writev only for __USE_GNU.
8671 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8672
8673 * conform/Makefile: For now ignore errors from run-conformtest.
8674 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8675 POSIX to avoid namespace pollution. Don't prepend headers.
8676 * conform/data/aio.h-data: Fixes for POSIX testing.
8677 * conform/data/fcntl.h-data: Likewise.
8678 * conform/data/glob.h-data: Likewise.
8679 * conform/data/grp.h-data: Likewise.
8680 * conform/data/pthread.h-data: Likewise.
8681 * conform/data/pwd.h-data: Likewise.
8682 * conform/data/signal.h-data: Likewise.
8683 * conform/data/spawn.h-data: Likewise.
8684 * conform/data/stdio.h-data: Likewise.
8685 * conform/data/stdlib.h-data: Likewise.
8686 * conform/data/stropts.h-data: Likewise.
8687 * conform/data/sys/mman.h-data: Likewise.
8688 * conform/data/sys/stat.h-data: Likewise.
8689 * conform/data/sys/types.h-data: Likewise.
8690 * conform/data/sys/wait.h-data: Likewise.
8691 * conform/data/time.h-data: Likewise.
8692 * conform/data/unistd.h-data: Likewise.
8693 * conform/data/utime.h-data: Likewise.
8694
8695 * io/sys/stat.h: fchmod was always in POSIX.
8696 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8697 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8698 * rt/aio.h: Define __need_timespec before including <time.h>.
8699 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8700 struct. Add forward declaration of pthread_attr_t and use it in
8701 sigevent.
8702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8704 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8705 always remove CLK_TCK definition.
8706
c20105c3
AS
87072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8708
8709 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8710
7a270350
UD
87112012-02-25 Ulrich Drepper <drepper@gmail.com>
8712
31341567
UD
8713 * conform/run-conformtest.sh: New file.
8714 * conform/Makefile: Run run-conformtest for tests.
8715 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8716 support.
8717
8718 * conform/data/uchar.h-data: New file.
8719 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8720 * conform/data/arpa/inet.h-data: Likewise.
8721 * conform/data/assert.h-data: Likewise.
8722 * conform/data/complex.h-data: Likewise.
8723 * conform/data/cpio.h-data: Likewise.
8724 * conform/data/ctype.h-data: Likewise.
8725 * conform/data/dirent.h-data: Likewise.
8726 * conform/data/dlfcn.h-data: Likewise.
8727 * conform/data/errno.h-data: Likewise.
8728 * conform/data/fcntl.h-data: Likewise.
8729 * conform/data/float.h-data: Likewise.
8730 * conform/data/fmtmsg.h-data: Likewise.
8731 * conform/data/fnmatch.h-data: Likewise.
8732 * conform/data/ftw.h-data: Likewise.
8733 * conform/data/glob.h-data: Likewise.
8734 * conform/data/grp.h-data: Likewise.
8735 * conform/data/iconv.h-data: Likewise.
8736 * conform/data/inttypes.h-data: Likewise.
8737 * conform/data/langinfo.h-data: Likewise.
8738 * conform/data/libgen.h-data: Likewise.
8739 * conform/data/limits.h-data: Likewise.
8740 * conform/data/locale.h-data: Likewise.
8741 * conform/data/math.h-data: Likewise.
8742 * conform/data/monetary.h-data: Likewise.
8743 * conform/data/mqueue.h-data: Likewise.
8744 * conform/data/ndbm.h-data: Likewise.
8745 * conform/data/net/if.h-data: Likewise.
8746 * conform/data/netdb.h-data: Likewise.
8747 * conform/data/netinet/in.h-data: Likewise.
8748 * conform/data/nl_types.h-data: Likewise.
8749 * conform/data/poll.h-data: Likewise.
8750 * conform/data/pthread.h-data: Likewise.
8751 * conform/data/pwd.h-data: Likewise.
8752 * conform/data/regex.h-data: Likewise.
8753 * conform/data/sched.h-data: Likewise.
8754 * conform/data/search.h-data: Likewise.
8755 * conform/data/semaphore.h-data: Likewise.
8756 * conform/data/setjmp.h-data: Likewise.
8757 * conform/data/signal.h-data: Likewise.
8758 * conform/data/spawn.h-data: Likewise.
8759 * conform/data/stdarg.h-data: Likewise.
8760 * conform/data/stdio.h-data: Likewise.
8761 * conform/data/stdlib.h-data: Likewise.
8762 * conform/data/string.h-data: Likewise.
8763 * conform/data/strings.h-data: Likewise.
8764 * conform/data/stropts.h-data: Likewise.
8765 * conform/data/sys/ipc.h-data: Likewise.
8766 * conform/data/sys/mman.h-data: Likewise.
8767 * conform/data/sys/msg.h-data: Likewise.
8768 * conform/data/sys/resource.h-data: Likewise.
8769 * conform/data/sys/select.h-data: Likewise.
8770 * conform/data/sys/sem.h-data: Likewise.
8771 * conform/data/sys/shm.h-data: Likewise.
8772 * conform/data/sys/socket.h-data: Likewise.
8773 * conform/data/sys/stat.h-data: Likewise.
8774 * conform/data/sys/statvfs.h-data: Likewise.
8775 * conform/data/sys/time.h-data: Likewise.
8776 * conform/data/sys/timeb.h-data: Likewise.
8777 * conform/data/sys/times.h-data: Likewise.
8778 * conform/data/sys/types.h-data: Likewise.
8779 * conform/data/sys/uio.h-data: Likewise.
8780 * conform/data/sys/un.h-data: Likewise.
8781 * conform/data/sys/utsname.h-data: Likewise.
8782 * conform/data/sys/wait.h-data: Likewise.
8783 * conform/data/syslog.h-data: Likewise.
8784 * conform/data/tar.h-data: Likewise.
8785 * conform/data/termios.h-data: Likewise.
8786 * conform/data/utime.h-data: Likewise.
8787 * conform/data/utmpx.h-data: Likewise.
8788 * conform/data/varargs.h-data: Likewise.
8789 * conform/data/wchar.h-data: Likewise.
8790 * conform/data/wctype.h-data: Likewise.
8791 * conform/data/wordexp.h-data: Likewise.
8792
8793 * include/stropts.h: New file.
8794 * include/uchar.h: New file.
8795 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8796 * include/assert.h: Likewise.
8797 * include/ctype.h: Likewise.
8798 * include/dirent.h: Likewise.
8799 * include/dlfcn.h: Likewise.
8800 * include/fcntl.h: Likewise.
8801 * include/fnmatch.h: Likewise.
8802 * include/glob.h: Likewise.
8803 * include/grp.h: Likewise.
8804 * include/libio.h: Likewise.
8805 * include/locale.h: Likewise.
8806 * include/math.h: Likewise.
8807 * include/net/if.h: Likewise.
8808 * include/netdb.h: Likewise.
8809 * include/netinet/in.h: Likewise.
8810 * include/pthread.h: Likewise.
8811 * include/pwd.h: Likewise.
8812 * include/regex.h: Likewise.
8813 * include/sched.h: Likewise.
8814 * include/search.h: Likewise.
8815 * include/setjmp.h: Likewise.
8816 * include/signal.h: Likewise.
8817 * include/stdio.h: Likewise.
8818 * include/stdlib.h: Likewise.
8819 * include/string.h: Likewise.
8820 * include/sys/cdefs.h: Likewise.
8821 * include/sys/mman.h: Likewise.
8822 * include/sys/msg.h: Likewise.
8823 * include/sys/resource.h: Likewise.
8824 * include/sys/select.h: Likewise.
8825 * include/sys/socket.h: Likewise.
8826 * include/sys/stat.h: Likewise.
8827 * include/sys/statvfs.h: Likewise.
8828 * include/sys/time.h: Likewise.
8829 * include/sys/times.h: Likewise.
8830 * include/sys/uio.h: Likewise.
8831 * include/sys/utsname.h: Likewise.
8832 * include/sys/wait.h: Likewise.
8833 * include/termios.h: Likewise.
8834 * include/time.h: Likewise.
8835 * include/ulimit.h: Likewise.
8836 * include/unistd.h: Likewise.
8837 * include/utime.h: Likewise.
8838 * include/wchar.h: Likewise.
8839 * include/wctype.h: Likewise.
8840 * include/wordexp.h: Likewise.
8841
8842 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8843
7a270350
UD
8844 * time/time.h: TIME_UTC must be a macro.
8845 Make timespec_get available for ISO C11 only as well.
8846
7724defc
UD
88472012-02-24 Ulrich Drepper <drepper@gmail.com>
8848
8849 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8850 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8851
6b1d1d46
JM
88522012-02-24 Joseph Myers <joseph@codesourcery.com>
8853
8854 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8855
0f8bbd69
JM
88562012-02-24 Joseph Myers <joseph@codesourcery.com>
8857
8858 * manual/texinfo.tex: Update to version 2012-01-19.16.
8859
66ab80bc
JM
88602012-02-24 Joseph Myers <joseph@codesourcery.com>
8861
8862 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8863
74981cc5
RM
88642012-02-24 Roland McGrath <roland@hack.frob.com>
8865
ee968201
RM
8866 [BZ #13738]
8867 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8868 * manual/fdl-1.3.texi: New file.
8869 * manual/fdl-1.1.texi: File removed.
8870
74981cc5
RM
8871 [BZ #13738]
8872 * manual/libc.texinfo (FDL_VERSION): New @set.
8873 Use it for mention of FDL in cover text.
8874 (Documentation License): Use it in @include file name.
8875
7bb764bc
JM
88762012-02-22 Joseph Myers <joseph@codesourcery.com>
8877 Roland McGrath <roland@hack.frob.com>
8878
8879 [BZ #5461]
8880 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8881 not LONG_LONG_MAX and LONG_LONG_MIN.
8882 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8883 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8884 name.
8885 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8886
6cbeae47
JM
88872012-02-22 Joseph Myers <joseph@codesourcery.com>
8888
8889 [BZ #2547]
8890 [BZ #11365]
8891 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8892 manipulate bits before adding and subtracting TWO23[sx].
8893 * math/libm-test.inc (nearbyint_test): Add more tests.
8894
fe45ce09
JM
88952012-02-22 Joseph Myers <joseph@codesourcery.com>
8896
8897 [BZ #2548]
8898 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8899 bits before adding and subtracting TWO23[sx].
8900 * math/libm-test.inc (rint_test): Add more tests.
8901 (rint_test_tonearest): Likewise.
8902 (rint_test_towardzero): Likewise.
8903 (rint_test_downward): Likewise.
8904 (rint_test_upward: Likewise.
8905
ff3b3d82
JM
89062012-02-22 Joseph Myers <joseph@codesourcery.com>
8907
8908 [BZ #10110]
8909 * include/stdc-predef.h: New file. Extracted from features.h.
8910 * include/features.h: Include stdc-predef.h.
8911 * Makefile (headers): Add stdc-predef.h.
8912 * CONFORMANCE (Compiler limitations): Update.
8913
ef0aab35
JM
89142012-02-22 Joseph Myers <joseph@codesourcery.com>
8915
8916 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8917
58639409
DM
89182012-02-21 David S. Miller <davem@davemloft.net>
8919
8920 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8922
c0e70b25
DM
89232012-02-20 David S. Miller <davem@davemloft.net>
8924
8925 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8926 using a normal save/restore sequence, rather than allocating a
8927 dummy stack frame just to store a frame pointer and restore.
8928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8929
fb06851d
JM
89302012-02-21 Joseph Myers <joseph@codesourcery.com>
8931
8932 * manual/install.texi: Fix stray word in line-wrapped comment.
8933
7a8b71c3
DM
89342012-02-20 David S. Miller <davem@davemloft.net>
8935
d510c123
DM
8936 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8937 both binutils and gcc support GOTDATA.
8938
0722d7c2
DM
8939 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8940 "rd %pc" in the PIC register setup sequences.
8941
3d2b3019
DM
8942 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8943 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8945 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8951 (SYSCALL_ERROR_HANDLER): Likewise.
8952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8955 (SYSCALL_ERROR_HANDLER): Likewise.
8956
c80098a9
DM
8957 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8958 (HAVE_GCC_GOTDATA): New.
8959 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8960 relocation support in both binutils and gcc.
8961 * sysdeps/sparc/elf/configure: Regenerate.
8962
3a2545a0
DM
8963 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8964 * sysdeps/sparc/sparc32/elf/configure: Delete.
8965 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8966 * sysdeps/sparc/sparc64/elf/configure: Delete.
8967 * sysdeps/sparc/elf/configure.in: New file.
8968 * sysdeps/sparc/elf/configure: Generate.
8969
7a8b71c3
DM
8970 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8971 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8972 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8973 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8974 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8975
f1e86fca
JM
89762012-02-21 Joseph Myers <joseph@codesourcery.com>
8977
8978 * manual/install.texi: Do not mention specific glibc version
8979 numbers.
8980 * manual/libc.texinfo (VERSION, UPDATED): Update.
8981 (@copying): Use @copyright{} and range of years.
8982
0e7dfaef
JM
89832012-02-21 Joseph Myers <joseph@codesourcery.com>
8984
8985 [BZ #13695]
8986 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8987 [crti.S not in sysdirs] (generated): Do not append.
8988 [crti.S not in sysdirs] (omit-deps): Likewise.
8989 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8990 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8991 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8992 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8993 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8994 Likewise.
8995 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8996 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8997 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8998 * csu/defs.awk: Remove file.
8999 * sysdeps/generic/initfini.c: Likewise.
9000 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9001 variable.
9002 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9003 Likewise.
9004
599af3ca
JM
90052012-02-20 Joseph Myers <joseph@codesourcery.com>
9006
9007 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9008 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9009 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9013 <bits/epoll.h>.
9014 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9015 (__EPOLL_PACKED): Define to empty if not defined by
9016 <bits/epoll.h>.
9017 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9019 bits/epoll.h.
9020
0e499750
JM
90212012-02-20 Joseph Myers <joseph@codesourcery.com>
9022
9023 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9024 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9025 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9026 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9027 <bits/timerfd.h>.
9028 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9030 bits/timerfd.h.
9031
5ad91f6e
JM
90322012-02-20 Joseph Myers <joseph@codesourcery.com>
9033
9034 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9035 in C locale.
9036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9037 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040
06b99b02
AJ
90412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9042
9043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9044 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9045
7638c0fd
AS
90462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9047
9048 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9049 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9050 defined.
9051 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9052 Likewise.
9053 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9054 entry for 2.16.
9055
92221550
AJ
90562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9057
9058 * math/w_acos.c: Use non-signaling floating-point comparisons.
9059 * math/w_acosf.c: Likewise.
9060 * math/w_acosh.c: Likewise.
9061 * math/w_acoshf.c: Likewise.
9062 * math/w_acoshl.c: Likewise.
9063 * math/w_acosl.c: Likewise.
9064 * math/w_asin.c: Likewise.
9065 * math/w_asinf.c: Likewise.
9066 * math/w_asinl.c: Likewise.
9067 * math/w_atanh.c: Likewise.
9068 * math/w_atanhf.c: Likewise.
9069 * math/w_atanhl.c: Likewise.
9070 * math/w_exp2.c: Likewise.
9071 * math/w_exp2f.c: Likewise.
9072 * math/w_exp2l.c: Likewise.
9073 * math/w_j0.c: Likewise.
9074 * math/w_j0f.c: Likewise.
9075 * math/w_j0l.c: Likewise.
9076 * math/w_j1.c: Likewise.
9077 * math/w_j1f.c: Likewise.
9078 * math/w_j1l.c: Likewise.
9079 * math/w_jn.c: Likewise.
9080 * math/w_jnf.c: Likewise.
9081 * math/w_log.c: Likewise.
9082 * math/w_log10.c: Likewise.
9083 * math/w_log10f.c: Likewise.
9084 * math/w_log10l.c: Likewise.
9085 * math/w_log2.c: Likewise.
9086 * math/w_log2f.c: Likewise.
9087 * math/w_log2l.c: Likewise.
9088 * math/w_logf.c: Likewise.
9089 * math/w_logl.c: Likewise.
9090 * math/w_sqrt.c: Likewise.
9091 * math/w_sqrtf.c: Likewise.
9092 * math/w_sqrtl.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9098
ebaf36eb
JM
90992012-02-19 Joseph Myers <joseph@codesourcery.com>
9100
9101 [BZ #9739]
9102 * manual/string.texi (strnlen): Use correct parameter name in
9103 equivalent expression.
9104
71c254a6
JM
91052012-02-19 Joseph Myers <joseph@codesourcery.com>
9106
9107 [BZ #11174]
9108 * manual/users.texi (seteuid): Consistently use neweuid for
9109 argument name.
9110
16d2c631
JM
91112012-02-19 Joseph Myers <joseph@codesourcery.com>
9112
9113 [BZ #13704]
9114 * manual/nss.texi (Services in the NSS configuration): Correct
9115 list of services in example configuration file.
9116
cd837b09
NB
91172012-02-19 Nick Bowler <nbowler@draconx.ca>
9118
9119 [BZ #11322]
9120 * manual/arith.texi: Remove statements about negative zero
9121 behaving identically to zero.
9122
02c4bbad
JM
91232012-02-18 Joseph Myers <joseph@codesourcery.com>
9124
9125 [BZ #5993]
9126 * manual/install.texi: Do not document upgrading from libc5.
9127
366842e7
JM
91282012-02-18 Joseph Myers <joseph@codesourcery.com>
9129
9130 [BZ #4596]
9131 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9132
dd54084d
DM
91332012-02-18 David S. Miller <davem@davemloft.net>
9134
9135 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9136 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9137 %o7 across the call.
9138 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9139 instead.
9140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9141 SETUP_PIC_REG_LEAF.
9142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9143 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9144 * sysdeps/sparc/crtn.S: Likewise.
9145
2bcc53a3
UD
91462012-02-17 Ulrich Drepper <drepper@gmail.com>
9147
9148 * aout/Makefile: Remove.
9149
09c093b5
RK
91502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9151
9152 [BZ #13058]
9153 * manual/examples/argp-ex1.c (main): Format definition in GNU
9154 style.
9155 * manual/examples/argp-ex2.c (main): Likewise.
9156 * manual/examples/argp-ex3.c (main): Likewise.
9157 * manual/examples/argp-ex4.c (main): Likewise.
9158 * manual/examples/longopt.c (main): Use new-style prototype
9159 definition.
9160 * manual/examples/strncat.c (main): Specify return type and use
9161 (void) for arguments.
9162 * manual/examples/subopt.c (main): Use char **argv argument.
9163
2ee633a2
JM
91642012-02-17 Joseph Myers <joseph@codesourcery.com>
9165
9166 [BZ #5077]
9167 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9168 rounding modes.
9169
0520adde
FB
91702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9171
9172 [BZ #6907]
9173 * manual/string.texi (strchr): Change when strchrnul is
9174 recommended.
9175
3f4081cd
DGM
91762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9177
9178 [BZ #174]
9179 * manual/locale.texi (setlocale): Document LOCPATH.
9180
d1b10e78
JM
91812012-02-17 Joseph Myers <joseph@codesourcery.com>
9182
9183 [BZ #10210]
9184 * manual/process.texi (execle): Move @dots{} before last argument.
9185
79c6869c
PB
91862012-02-17 Paul Bolle <pebolle@tiscali.nl>
9187
9188 [BZ #12047]
9189 * manual/charset.texi (Generic Charset Conversion): Fix typo
9190 (LC_TYPE -> LC_CTYPE).
9191
cc6e48bc
NB
91922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9193
9194 [BZ #5805]
9195 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9196 (scalbnf): Likewise.
9197 (scalbnl): Likewise.
9198 (scalbln): Likewise.
9199 (scalblnf): Likewise.
9200 (scalblnl): Likewise.
9201 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9202 (vwarnx): Likewise.
9203 (verr): Likewise.
9204 (verrx): Likewise.
9205 * manual/filesys.texi (telldir): Use braces around return type.
9206 * manual/llio.texi (mmap): Add space after comma.
9207 (mmap64): Likewise.
9208 * manual/math.texi (jn): Use @var{} on parameter names.
9209 (jnf): Likewise.
9210 (jnl): Likewise.
9211 (yn): Likewise.
9212 (ynf): Likewise.
9213 (ynl): Likewise.
9214 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9215 line.
9216 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9217 "...".
9218 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9219 (sched_get_priority_max): Likewise.
9220 * manual/signal.texi (sigvec): Add space after comma.
9221 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9222 names.
9223 (if_indextoname): Likewise.
9224 (if_freenameindex): Likewise.
9225 (sendto): Use ',' instead of '.' in prototype.
9226 * manual/startup.texi (syscall): Use @dots{} instead of literal
9227 "...".
9228 * manual/stdio.texi (__fpending): Separate initial words of
9229 paragraph from @deftypefun line.
9230 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9231 "...".
9232 (vsyslog): Use @var{} on parameter names.
9233 * manual/terminal.texi (stty): Use @var{} on parameter names.
9234 * manual/users.texi (getutmp): Use @var{} on parameter names.
9235 (getutmpx): Likewise.
9236
5b23062f
JM
92372012-02-17 Joseph Myers <joseph@codesourcery.com>
9238
9239 [BZ #6884]
9240 * manual/stdio.texi (fopen): Fix typos in description of
9241 ",ccs=STRING".
9242
8dee4833
AJ
92432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9244
9245 [BZ #4026]
9246 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9247 get clock_id definition.
9248
9078ce93
TS
92492012-02-17 Thomas Schwinge <thomas@schwinge.name>
9250
9251 [BZ #4822]
9252 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9253 (madvise): Cast every argument to void on its own.
9254
3835c55f
JM
92552012-02-17 Joseph Myers <joseph@codesourcery.com>
9256
9257 [BZ #9902]
9258 * manual/startup.texi (Exit Status): Fix typo.
9259
35c47e37
JM
92602012-02-17 Joseph Myers <joseph@codesourcery.com>
9261
9262 [BZ #10140]
9263 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9264 * manual/examples/argp-ex2.c: Likewise.
9265 * manual/examples/argp-ex3.c: Likewise.
9266
e3b69ca7
RH
92672012-02-16 Richard Henderson <rth@redhat.com>
9268
9269 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9270 * sysdeps/s390/s390-32/initfini.c: Remove.
9271 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9272 * sysdeps/s390/s390-64/initfini.c: Remove.
9273
df83af67
KK
92742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9275
9276 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9277 compiler output for sysdeps/generic/initfini.c.
9278 * sysdeps/sh/elf/initfini.c: Remove file.
9279
f63f3380
DM
92802012-02-16 David S. Miller <davem@davemloft.net>
9281
fb59b3a4
DM
9282 [BZ #11494]
9283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9284
f63f3380
DM
9285 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9286 * sysdeps/sparc/crti.S: New file.
9287 * sysdeps/sparc/crtn.S: New file.
9288 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9289 * sysdeps/sparc/sparc64/Makefile: Likewise.
9290
df6a4a4a
MF
92912012-02-15 Mike Frysinger <vapier@gentoo.org>
9292
6dd8f3dc 9293 [BZ #3335]
df6a4a4a
MF
9294 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9295
1cac7236
RM
92962012-02-15 Roland McGrath <roland@hack.frob.com>
9297
d2c736f8
RM
9298 [BZ #4822]
9299 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9300
1cac7236
RM
9301 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9302 (write, read, close): Likewise.
9303 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9304
8e475601
JM
93052012-02-15 Joseph Myers <joseph@codesourcery.com>
9306
9307 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9308 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9309 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9310 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9311 <bits/signalfd.h>.
9312 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9314 bits/signalfd.h.
9315
ed656b40
MP
93162012-02-14 Marek Polacek <polacek@redhat.com>
9317
9318 * sysdeps/x86_64/crti.S: New file.
9319 * sysdeps/x86_64/crtn.S: New file.
9320 * sysdeps/x86_64/elf/initfini.c: Remove file.
9321
2a979d3a
JM
93222012-02-13 Joseph Myers <joseph@codesourcery.com>
9323
9324 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9325 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9326 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9327 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9328 <bits/inotify.h>.
9329 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9331 bits/inotify.h.
9332
2a418ac3
JM
93332012-02-13 Joseph Myers <joseph@codesourcery.com>
9334
9335 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9336 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9338 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9339 <bits/eventfd.h>.
9340 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9342 bits/eventfd.h.
9343
fb779be7
TS
93442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9345
e19e83c5
RM
9346 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9347 __feraiseexcept instead of feraiseexcept.
7c35ffed 9348
fb779be7
TS
9349 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9350 nanosleep invocations.
9351 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9352 strings, and add error checking for a nanosleep invocations.
9353
59ba27a6
PE
93542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9355
9356 Replace FSF snail mail address with URLs, as per GNU coding standards.
9357 Most of the snail mail addresses were wrong anyway, and omitting
9358 them makes the source code easier to maintain. Almost all of the
9359 changes are to license notices and to locale LC_IDENTIFICATION
9360 addresses, except for this one:
9361 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9362 not its snail mail address.
9363
57b957eb
RH
93642012-02-09 Richard Henderson <rth@twiddle.net>
9365
af850b1c
RH
9366 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9367 of kernel-features.h.
9368
57b957eb
RH
9369 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9370
6b73181a
MP
93712012-02-08 Marek Polacek <polacek@redhat.com>
9372
9373 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9374 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9375 * sysdeps/gnu/_G_config.h: Likewise.
9376 * sysdeps/generic/_G_config.h: Likewise.
9377
26ecc33a
AS
93782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9379
6c6dbc63
AS
9380 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9381 tests.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383
e216c012
AS
9384 * sysdeps/powerpc/powerpc32/crti.S: New file.
9385 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9386 * sysdeps/powerpc/powerpc64/crti.S: New file.
9387 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9388
26ecc33a
AS
9389 * Makeconfig (have-initfini): Don't set.
9390 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9391 * configure.in (nopic_initfini): Don't substitute.
9392 * config.h.in (HAVE_INITFINI): Don't #undef.
9393 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9394 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9395
3add8e13
JM
93962012-02-08 Joseph Myers <joseph@codesourcery.com>
9397
9398 Support crti.S and crtn.S provided directly by architectures.
9399 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9400 [crti.S in sysdirs] (omit-deps): Likewise.
9401 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9402 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9403 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9404 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9405 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9406 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9407 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9408 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9409 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9410 compiler output for sysdeps/generic/initfini.c.
9411 * sysdeps/i386/elf/Makefile: Remove file.
9412 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9413
a22f12b4
MP
94142012-02-07 Marek Polacek <polacek@redhat.com>
9415
9416 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9417 * sysdeps/gnu/_G_config.h: Likewise.
9418 * sysdeps/mach/hurd/_G_config.h: Likewise.
9419
148cf100
MP
94202012-02-07 Marek Polacek <polacek@redhat.com>
9421
9422 * math/Makefile (tests): Add tst-CMPLX2.
9423 * math/tst-CMPLX2.c: New file.
9424
cfdc0dd7
AS
94252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9426
84ba42c4
AS
9427 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9428
cfdc0dd7
AS
9429 * math/libm-test.inc (jn_test): Add missing L suffix.
9430
622c86f4
MP
94312012-02-06 Marek Polacek <polacek@redhat.com>
9432
9433 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9434 * sysdeps/i386/fpu/e_powf.S: Likewise.
9435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9436 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9437 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9438 * sysdeps/i386/fpu/e_pow.S: Likewise.
9439 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9441 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9442 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9443 * sysdeps/i386/fpu/e_log2.S: Likewise.
9444 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9446 * sysdeps/i386/fpu/e_powl.S: Likewise.
9447 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9449 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9450 * sysdeps/i386/fpu/e_logl.S: Likewise.
9451 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9452 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9453 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9454 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9456 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9457 * sysdeps/i386/fpu/e_log.S: Likewise.
9458 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9460 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9461 * sysdeps/i386/fpu/e_logf.S: Likewise.
9462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9463 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9464 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9465 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9466 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9467 * sysdeps/i386/fpu/e_log10.S: Likewise.
9468 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9469 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9470 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9471 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9472 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9473 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9474 * sysdeps/i386/asm-syntax.h: Likewise.
9475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9478 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9479 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9481 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9482 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9483 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9484 * sysdeps/powerpc/sysdep.h: Likewise.
9485 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9487
d4a54ac6
JM
94882012-02-06 Joseph Myers <joseph@codesourcery.com>
9489
9490 [BZ #411]
9491 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9492
314054ea
JM
94932012-02-06 Joseph Myers <joseph@codesourcery.com>
9494
9495 * sysdeps/i386/sysdep.h: Include <features.h>.
9496 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9497 version.
9498
d8e0ca50
JM
94992012-02-05 Joseph Myers <joseph@codesourcery.com>
9500
9501 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9502 Define.
9503 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9504 LOAD_PIC_REG_STR.
9505
b1da7dd9
JM
95062012-02-03 Joseph Myers <joseph@codesourcery.com>
9507
9508 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9509 (SETUP_PIC_REG): Use GET_PC_THUNK.
9510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9511 macro.
9512
9a1d9254
JM
95132012-02-03 Joseph Myers <joseph@codesourcery.com>
9514
9515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9516 for non-PIC compilation.
9517 (SETUP_PIC_REG): Add .p2align directive.
9518 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9519 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9523 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9524 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9533 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9534 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9540 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9541 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9550 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9559
65dc3b75
JM
95602012-02-03 Joseph Myers <joseph@codesourcery.com>
9561
9562 * math/tst-CMPLX.c: Include <stdio.h>.
9563
d55bf177
JM
95642012-01-31 Joseph Myers <joseph@codesourcery.com>
9565
9566 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9567 float.
9568 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9569 * sysdeps/sparc/bits/mathdef.h: Likewise.
9570
69db4f8f
MP
95712012-01-31 Marek Polacek <polacek@redhat.com>
9572
9573 * libio/libio.h: Don't define _PARAMS.
9574 * locale/programs/config.h: Don't define PARAMS.
9575 * stdlib/strtol_l.c: Likewise.
9576 (__strtol_l): Remove PARAMS from the prototype.
9577
41b81892
UD
95782012-01-31 Ulrich Drepper <drepper@gmail.com>
9579
3b49edc0
UD
9580 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9581 names. Just use the correct names. Remove unnecessary wrapper
9582 functions.
9583 * malloc/arena.c: Likewise.
9584 * malloc/hooks.c: Likewise.
9585
41b81892
UD
9586 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9587 ARENA_TEST says not to. Simplify test for creation of a new arena.
9588 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9589
27a25b6e
UD
95902012-01-30 Ulrich Drepper <drepper@gmail.com>
9591
9592 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9593 into tail calls.
9594 (update_get_addr): New function.
9595 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9596 GET_ADDR_MODULE parameter.
9597
c8a89e7d
JM
95982012-01-30 Joseph Myers <joseph@codesourcery.com>
9599
9600 * crypt/cert.c: Remove __STDC__ conditionals.
9601 * crypt/crypt-entry.c: Likewise.
9602 * crypt/crypt_util.c: Likewise.
9603 * libio/filedoalloc.c: Likewise.
9604 * libio/fileops.c: Likewise.
9605 * libio/genops.c: Likewise.
9606 * libio/iofclose.c: Likewise.
9607 * libio/iofdopen.c: Likewise.
9608 * libio/iofopen.c: Likewise.
9609 * libio/iofopen64.c: Likewise.
9610 * libio/iogetdelim.c: Likewise.
9611 * libio/iopopen.c: Likewise.
9612 * libio/obprintf.c: Likewise.
9613 * libio/oldfileops.c: Likewise.
9614 * libio/oldiofclose.c: Likewise.
9615 * libio/oldiofdopen.c: Likewise.
9616 * libio/oldiofopen.c: Likewise.
9617 * libio/oldiopopen.c: Likewise.
9618 * libio/wfiledoalloc.c: Likewise.
9619 * libio/wgenops.c: Likewise.
9620 * locale/programs/xmalloc.c: Likewise.
9621 * misc/syslog.c: Likewise.
9622 * stdio-common/xbug.c: Likewise.
9623 * string/memchr.c: Likewise.
9624 * string/memcmp.c: Likewise.
9625 * string/memrchr.c: Likewise.
9626 * string/rawmemchr.c: Likewise.
9627 * sysdeps/posix/getcwd.c: Likewise.
9628 * time/strftime_l.c: Likewise.
9629
3b100462
JM
96302012-01-30 Joseph Myers <joseph@codesourcery.com>
9631
9632 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9633 * config.make.in (config-cflags-sse2avx): Define.
9634 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9635 Fix typo.
9636
607998af
CM
96372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9638
9639 * scripts/config.guess: Update from upstream config git repository.
9640 * scripts/config.sub: Likewise.
9641
3601428f
CM
96422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9643
3ac8b282
CM
9644 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9645 (EM_NUM): Update.
9646 (R_TILEPRO_*, R_TILEGX_*): New macros.
9647
e034841e
CM
9648 * scripts/firstversions.awk: Fix bug in version range handling.
9649
540d7568
CM
9650 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9651
3601428f
CM
9652 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9653
463de862
CM
9654 * include/sys/epoll.h: New file.
9655 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9656 libc_hidden_def.
9657
73139a76
UD
96582012-01-28 Ulrich Drepper <drepper@gmail.com>
9659
96bc5b45
UD
9660 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9661 Avoid unnecessary __WORDSIZE == 64 test.
9662 (fmaxf): Use VEX format if possible.
9663 (fmax): Likewise.
9664 (fminf): Likewise.
9665 (fmin): Likewise.
9666
56f6f6a2
UD
9667 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9668 * math/math_private.h: Remove libc_fegetround* and
9669 libc_fesetround*.
9670 * sysdeps/i386/configure.in: Check for -msse2avx.
9671 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9672 also if SSE2AVX is defined.
9673 Remove libc_fegetround* and libc_fesetround*.
9674 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9675 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9677 of HAS_YMM_USABLE.
9678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9683
73139a76
UD
9684 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9685
d73f93a4
AZ
96862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9687
9688 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9689 size is not set.
9690 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9691
6ee65ed6
UD
96922012-01-27 Ulrich Drepper <drepper@gmail.com>
9693
9694 [BZ #13618]
9695 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9696 relocation.
9697 * Makeconfig (libm): Define.
9698 * elf/Makefile: Add rules to build and run tst-relsort1.
9699 * elf/tst-relsort1.c: New file.
9700 * elf/tst-relsort1mod1.c: New file.
9701 * elf/tst-relsort1mod2.c: New file.
9702
8db21882
JM
97032012-01-27 Joseph Myers <joseph@codesourcery.com>
9704
9705 * math/s_ldexp.c: Remove __STDC__ conditionals.
9706 * math/s_ldexpf.c: Likewise.
9707 * math/s_ldexpl.c: Likewise.
9708 * math/s_nextafter.c: Likewise.
9709 * math/s_nexttowardf.c: Likewise.
9710 * math/s_significand.c: Likewise.
9711 * math/s_significandf.c: Likewise.
9712 * math/s_significandl.c: Likewise.
9713 * math/w_jnl.c: Likewise.
9714 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9715 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9716 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9717 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9718 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9742 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9745 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9748 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9754 * sysdeps/ieee754/k_standard.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9829 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9830 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9834 * sysdeps/ieee754/s_matherr.c: Likewise.
9835 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9839
965a54a4
JM
98402012-01-26 Joseph Myers <joseph@codesourcery.com>
9841
9842 * crypt/md5.h: Remove __STDC__ conditionals.
9843 * libio/libioP.h: Likewise.
9844 * locale/programs/config.h: Likewise.
9845 * sysdeps/generic/sysdep.h: Likewise.
9846 * sysdeps/i386/asm-syntax.h: Likewise.
9847 * sysdeps/s390/asm-syntax.h: Likewise.
9848 * sysdeps/unix/sysdep.h: Likewise.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9851
7071ad79
JM
98522012-01-26 Joseph Myers <joseph@codesourcery.com>
9853
9854 * libio/libio.h: Remove __STDC__ conditionals.
9855 * malloc/obstack.h: Likewise.
9856 * math/complex.h: Likewise.
9857 * math/math.h: Likewise.
9858 * sysdeps/generic/_G_config.h: Likewise.
9859 * sysdeps/gnu/_G_config.h: Likewise.
9860 * sysdeps/mach/hurd/_G_config.h: Likewise.
9861 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9862 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9863 * sysdeps/sparc/bits/mathdef.h: Likewise.
9864
afc5ed09
UD
98652012-01-26 Ulrich Drepper <drepper@gmail.com>
9866
9867 [BZ #13583]
9868 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9869 Clean up HAS_* macros.
afc5ed09 9870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9871 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9872 possible.
9873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9874 HAS_AVX.
9875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9876 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9880
bdb6de1d
JM
98812012-01-25 Joseph Myers <joseph@codesourcery.com>
9882
9883 * elf/tst-unique3.cc (gets): Remove declaration.
9884 * elf/tst-unique3lib.cc (gets): Likewise.
9885 * elf/tst-unique3lib2.cc (gets): Likewise.
9886 * elf/tst-unique4.cc (gets): Likewise.
9887
b15549e6
UD
98882012-01-24 Ulrich Drepper <drepper@gmail.com>
9889
9890 * include/stdio.h: Add C++ protection. Add gets declarations and
9891 definitions.
9892 * debug/tst-chk1.c: Don't declare gets here.
9893 * stdio-common/tst-gets.c: Likewise.
9894
a037381f
JM
98952012-01-24 Joseph Myers <joseph@codesourcery.com>
9896
9897 * posix/glob: Remove directory.
9898
f1d4aa75
JM
98992012-01-24 Joseph Myers <joseph@codesourcery.com>
9900
9901 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9902
81c0c964
PT
99032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9904
9905 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9906 of the non-standard EPFNOSUPPORT.
9907
0ea698ae
ST
99082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9909
9910 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9911 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9912 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9913
d220b117
UD
99142012-01-21 Ulrich Drepper <drepper@gmail.com>
9915
9916 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9917
3e1aa84e
UD
99182012-01-20 Ulrich Drepper <drepper@gmail.com>
9919
9920 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9921 transient errors.
9922 * nscd/grpcache.c (cache_addgr): Likewise.
9923 * nscd/hstcache.c (cache_addhst): Likewise.
9924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9925 * nscd/pwdcache.c (cache_addpw): Likewise.
9926 * nscd/servicescache.c (cache_addserv): Likewise.
9927
400aa020
UD
99282012-01-16 Ulrich Drepper <drepper@gmail.com>
9929
d77e7869
UD
9930 * malloc/malloc.c: Various cleanups.
9931 * malloc/hooks.c: Likewise.
9932
400aa020
UD
9933 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9934 * stdlib/bug-fmtmsg1.c: New file.
9935
9936 * stdlib/fmtmsg.c (init): Add missing unlock.
9937 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9938
e0a309cf
MP
99392012-01-12 Marek Polacek <polacek@redhat.com>
9940
9941 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9942 and _GNU_SOURCE.
9943
929d11c7
WS
99442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9945
9946 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9947 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9948 macro to ensure uniqueness of label name.
9949 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9950 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9951
41d0e869
UD
99522012-01-11 Ulrich Drepper <drepper@gmail.com>
9953
0cc5ed3b
UD
9954 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9955
41d0e869
UD
9956 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9957 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9960
a47a831a
UD
99612012-01-10 Ulrich Drepper <drepper@gmail.com>
9962
daa891c0
UD
9963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9964
9965 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9968
e58ef0f2
UD
9969 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9970
a47a831a 9971 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9972 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9975
9976 * math/bits/math-finite.h: Add ldexp support.
9977
a0bfc9c7
MP
99782012-01-10 Marek Polacek <polacek@redhat.com>
9979
9980 * locale/programs/localedef.h (show_archive_content): Add noreturn
9981 attribute.
9982
d6e97a1d
UD
99832012-01-09 Ulrich Drepper <drepper@gmail.com>
9984
9985 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9986
d5835c26
UD
99872012-01-08 Ulrich Drepper <drepper@gmail.com>
9988
e5f484c6
UD
9989 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9990
d5835c26
UD
9991 * io/Makefile (headers): Add bits/poll2.h.
9992
d1f741e9
WS
99932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9994
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9996 typo #include statement.
9997
ec09c1c4
UD
99982012-01-08 Ulrich Drepper <drepper@gmail.com>
9999
10000 * include/sys/cdefs.h: Define __attribute_alloc_size.
10001 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10002 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10003 * elf/pldd.c: Likewise.
10004 * iconv/iconv_charmap.c: Likewise.
10005 * iconv/iconvconfig.c: Likewise.
10006 * iconv/strtab.c: Likewise.
10007 * locale/programs/locale.c: Likewise.
10008 * locale/programs/localedef.h: Likewise.
10009 * locale/programs/simple-hash.c: Likewise.
10010 * nscd/nscd.h: Likewise.
10011 * nss/makedb.c: Likewise.
10012 * sysdeps/generic/ldconfig.h: Likewise.
10013 * locale/programs/localedef.c: Remove xmalloc prototype.
10014 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10015
20b38e03
PP
100162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10017
10018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10019 appropriate.
10020
a0da5fe1
UD
100212012-01-08 Ulrich Drepper <drepper@gmail.com>
10022
1d5a644a 10023 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10024 * math/tst-CMPLX.c: New file.
1d5a644a 10025
8784a6db
UD
10026 * math/complex.h (CMPLXL): Fix typo.
10027
d9a216c0
UD
10028 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10029 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10030 GLIBC_2.16.
10031 * debug/tst-chk1.c: Add poll and ppoll tests.
10032 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10033 * include/sys/poll.h: Add hidden proto for ppoll.
10034 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10035 * sysdeps/mach/hurd/ppoll.c: Likewise.
10036 * io/ppoll.c: Likewise.
10037 * debug/poll_chk.c: New file.
10038 * debug/ppoll_chk.c: New file.
10039 * include/bits/poll2.h: New file.
10040 * io/bits/poll2.h: New file.
10041
ac097f5c
UD
10042 [BZ #1350]
10043 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10044
2119dcfa
UD
10045 * configure.in: static is always set to yes. Remove.
10046 * config.make.in: Don't set build-static.
10047 * Makeconfig: Remove use of build-static.
10048 * dlfcn/Makefile: Likewise.
10049 * elf/Makefile: Likewise.
10050 * math/Makefile: Likewise.
10051 * misc/Makefile: Likewise.
10052 * nptl/Makefile: Likewise.
10053 * sysdeps/mach/hurd/Makefile: Likewise.
10054
121766a9
UD
10055 * configure.in: PWD_P is not used anymore.
10056 * config.make.in: Remove PWD_P entry.
10057
51a1d39c 10058 * configure.in: Remove last remnants of RANLIB.
8720d066 10059 No need to check for signed size_t anymore.
215f4bdc
UD
10060 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10061 and IA-64.
3857022a 10062 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10063 * aclocal.m4: Likewise.
10064
d3ed7225
UD
10065 * wcsmbs/mbrtoc16.c: Implement using towc function.
10066 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10067 * wcsmbs/wcsmbsload.c: Likewise.
10068 * iconv/gconv_simple.c: Likewise.
10069 * iconv/gconv_int.h: Likewise.
10070 * iconv/gconv_builtin.h: Likewise.
10071 * iconv/iconv_prog.c: Remove CHAR16 handling.
10072
10073 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10074
10075 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10076
a0da5fe1
UD
10077 * configure.in: Remove --with-elf and --enable-bounded options.
10078 Dont set base_machine for ia64. More non-ELF conditions removed.
10079 Remove testing and setting of leading underscore information.
10080 * config.make.in (build-bounded): Set to no.
10081 * config.h.in: Remove NO_UNDERSCORES entry.
10082 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10083 them.
10084 * csu/start.c: Remove !NO_UNDERSCORE code.
10085 * locale/localeinfo.h: Likewise.
10086 * sysdeps/generic/machine-gmon.h: Likewise.
10087 * sysdeps/generic/sysdep.h: Likewise.
10088 * sysdeps/i386/sysdep.h: Likewise.
10089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10090 * sysdeps/mach/sysdep.h: Likewise.
10091 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10092 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10093 * sysdeps/sh/sysdep.h: Likewise.
10094 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10095 * sysdeps/unix/i386/sysdep.S: Likewise.
10096 * sysdeps/unix/sparc/start.c: Likewise.
10097 * sysdeps/unix/sparc/sysdep.S: Likewise.
10098 * sysdeps/unix/sparc/sysdep.h: Likewise.
10099 * sysdeps/unix/start.c: Likewise.
10100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10101 * sysdeps/x86_64/sysdep.h: Likewise.
10102
df78418a
UD
101032012-01-07 Ulrich Drepper <drepper@gmail.com>
10104
a784e502
UD
10105 [BZ #13553]
10106 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10107 for non-gcc.
10108 * argp/argp-fmtstream.h: Use const instead __const.
10109 * argp/argp.h: Likewise.
10110 * assert/assert.h: Likewise.
10111 * bits/fenv.h: Likewise.
10112 * bits/sched.h: Likewise.
10113 * bits/sigset.h: Likewise.
10114 * bits/sigthread.h: Likewise.
10115 * catgets/nl_types.h: Likewise.
10116 * conform/data/pthread.h-data: Likewise.
10117 * crypt/crypt-private.h: Likewise.
10118 * crypt/crypt.h: Likewise.
10119 * crypt/crypt_util.c: Likewise.
10120 * ctype/ctype.h: Likewise.
10121 * debug/execinfo.h: Likewise.
10122 * debug/mbsnrtowcs_chk.c: Likewise.
10123 * debug/mbsrtowcs_chk.c: Likewise.
10124 * debug/wcsnrtombs_chk.c: Likewise.
10125 * debug/wcsrtombs_chk.c: Likewise.
10126 * debug/wcstombs_chk.c: Likewise.
10127 * dirent/dirent.h: Likewise.
10128 * dlfcn/dlfcn.h: Likewise.
10129 * elf/neededtest4.c: Likewise.
10130 * grp/grp.h: Likewise.
10131 * gshadow/gshadow.h: Likewise.
10132 * iconv/gconv.h: Likewise.
10133 * iconv/gconv_int.h: Likewise.
10134 * iconv/gconv_simple.c: Likewise.
10135 * iconv/iconv.h: Likewise.
10136 * iconv/loop.c: Likewise.
10137 * iconv/skeleton.c: Likewise.
10138 * include/aio.h: Likewise.
10139 * include/aliases.h: Likewise.
10140 * include/argz.h: Likewise.
10141 * include/arpa/inet.h: Likewise.
10142 * include/assert.h: Likewise.
10143 * include/dirent.h: Likewise.
10144 * include/dlfcn.h: Likewise.
10145 * include/execinfo.h: Likewise.
10146 * include/fcntl.h: Likewise.
10147 * include/fenv.h: Likewise.
10148 * include/glob.h: Likewise.
10149 * include/grp.h: Likewise.
10150 * include/libintl.h: Likewise.
10151 * include/mntent.h: Likewise.
10152 * include/netdb.h: Likewise.
10153 * include/pwd.h: Likewise.
10154 * include/rpc/netdb.h: Likewise.
10155 * include/sched.h: Likewise.
10156 * include/search.h: Likewise.
10157 * include/shadow.h: Likewise.
10158 * include/signal.h: Likewise.
10159 * include/stdio.h: Likewise.
10160 * include/stdlib.h: Likewise.
10161 * include/string.h: Likewise.
10162 * include/sys/socket.h: Likewise.
10163 * include/sys/stat.h: Likewise.
10164 * include/sys/statfs.h: Likewise.
10165 * include/sys/statvfs.h: Likewise.
10166 * include/sys/syslog.h: Likewise.
10167 * include/sys/time.h: Likewise.
10168 * include/sys/uio.h: Likewise.
10169 * include/time.h: Likewise.
10170 * include/unistd.h: Likewise.
10171 * include/utmp.h: Likewise.
10172 * include/wchar.h: Likewise.
10173 * include/wctype.h: Likewise.
10174 * inet/aliases.h: Likewise.
10175 * inet/arpa/inet.h: Likewise.
10176 * inet/netinet/ether.h: Likewise.
10177 * inet/netinet/in.h: Likewise.
10178 * intl/libintl.h: Likewise.
10179 * io/bits/fcntl2.h: Likewise.
10180 * io/fcntl.h: Likewise.
10181 * io/ftw.h: Likewise.
10182 * io/sys/poll.h: Likewise.
10183 * io/sys/stat.h: Likewise.
10184 * io/sys/statfs.h: Likewise.
10185 * io/sys/statvfs.h: Likewise.
10186 * io/utime.h: Likewise.
10187 * libio/bits/stdio.h: Likewise.
10188 * libio/bits/stdio2.h: Likewise.
10189 * libio/libio.h: Likewise.
10190 * libio/libioP.h: Likewise.
10191 * libio/stdio.h: Likewise.
10192 * locale/lc-ctype.c: Likewise.
10193 * locale/locale.h: Likewise.
10194 * login/utmp.h: Likewise.
10195 * malloc/arena.c: Likewise.
10196 * malloc/malloc.c: Likewise.
10197 * malloc/malloc.h: Likewise.
10198 * malloc/mcheck.c: Likewise.
10199 * malloc/mtrace.c: Likewise.
10200 * math/bits/mathcalls.h: Likewise.
10201 * math/fenv.h: Likewise.
10202 * math/math_private.h: Likewise.
10203 * misc/bits/error.h: Likewise.
10204 * misc/bits/syslog.h: Likewise.
10205 * misc/err.h: Likewise.
10206 * misc/error.h: Likewise.
10207 * misc/fstab.h: Likewise.
10208 * misc/mntent.h: Likewise.
10209 * misc/regexp.h: Likewise.
10210 * misc/search.h: Likewise.
10211 * misc/sgtty.h: Likewise.
10212 * misc/sys/mman.h: Likewise.
10213 * misc/sys/syslog.h: Likewise.
10214 * misc/sys/uio.h: Likewise.
10215 * misc/sys/xattr.h: Likewise.
10216 * misc/ttyent.h: Likewise.
10217 * nis/rpcsvc/ypclnt.h: Likewise.
10218 * nss/nss.h: Likewise.
10219 * posix/bits/unistd.h: Likewise.
10220 * posix/fnmatch.h: Likewise.
10221 * posix/glob.h: Likewise.
10222 * posix/sched.h: Likewise.
10223 * posix/spawn.h: Likewise.
10224 * posix/sys/wait.h: Likewise.
10225 * posix/unistd.h: Likewise.
10226 * posix/wordexp.h: Likewise.
10227 * pwd/pwd.h: Likewise.
10228 * resolv/netdb.h: Likewise.
10229 * resource/sys/resource.h: Likewise.
10230 * rt/aio.h: Likewise.
10231 * rt/bits/mqueue2.h: Likewise.
10232 * rt/mqueue.h: Likewise.
10233 * shadow/shadow.h: Likewise.
10234 * signal/signal.h: Likewise.
10235 * socket/send.c: Likewise.
10236 * socket/sendto.c: Likewise.
10237 * socket/sys/socket.h: Likewise.
10238 * stdio-common/printf.h: Likewise.
10239 * stdlib/bits/stdlib.h: Likewise.
10240 * stdlib/fmtmsg.h: Likewise.
10241 * stdlib/monetary.h: Likewise.
10242 * stdlib/stdlib.h: Likewise.
10243 * stdlib/ucontext.h: Likewise.
10244 * streams/stropts.h: Likewise.
10245 * string/argz.h: Likewise.
10246 * string/bits/string2.h: Likewise.
10247 * string/string.h: Likewise.
10248 * string/strings.h: Likewise.
10249 * sunrpc/rpc/auth.h: Likewise.
10250 * sunrpc/rpc/auth_des.h: Likewise.
10251 * sunrpc/rpc/clnt.h: Likewise.
10252 * sunrpc/rpc/netdb.h: Likewise.
10253 * sunrpc/rpc/pmap_clnt.h: Likewise.
10254 * sunrpc/rpc/xdr.h: Likewise.
10255 * sysdeps/generic/inttypes.h: Likewise.
10256 * sysdeps/generic/net/if.h: Likewise.
10257 * sysdeps/generic/sys/swap.h: Likewise.
10258 * sysdeps/gnu/net/if.h: Likewise.
10259 * sysdeps/gnu/utmpx.h: Likewise.
10260 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10261 * sysdeps/i386/i486/bits/string.h: Likewise.
10262 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10263 * sysdeps/s390/bits/string.h: Likewise.
10264 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10265 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10266 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10267 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10268 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10269 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10270 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10271 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10272 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10273 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10274 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10275 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10276 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10277 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10278 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10279 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10285 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10286 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10287 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10288 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10289 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10290 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10292 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10294 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10295 * sysvipc/sys/ipc.h: Likewise.
10296 * sysvipc/sys/msg.h: Likewise.
10297 * sysvipc/sys/sem.h: Likewise.
10298 * sysvipc/sys/shm.h: Likewise.
10299 * termios/termios.h: Likewise.
10300 * time/sys/time.h: Likewise.
10301 * time/time.h: Likewise.
10302 * wcsmbs/bits/wchar2.h: Likewise.
10303 * wcsmbs/uchar.h: Likewise.
10304 * wcsmbs/wchar.h: Likewise.
10305 * wctype/wctype.h: Likewise.
10306
0269750c
UD
10307 [BZ #13551]
10308 * Makeconfig: Remove all but ELF support including AIX support.
10309 * Makerules: Likewise.
10310 * config.h.in: Likewise.
10311 * config.make.in: Likewise.
10312 * configure: Likewise.
10313 * configure.in: Likewise.
10314 * csu/Makefile: Likewise.
10315 * csu/version.c: Likewise.
10316 * debug/Makefile: Likewise.
10317 * dlfcn/Makefile: Likewise.
10318 * elf/Makefile: Likewise.
10319 * extra-lib.mk: Likewise.
10320 * iconv/Makefile: Likewise.
10321 * include/libc-symbols.h: Likewise.
10322 * include/shlib-compat.h: Likewise.
10323 * resolv/Makefile: Likewise.
10324 * resolv/res_libc.c: Likewise.
10325 * rt/Makefile: Likewise.
10326 * sysdeps/i386/asm-syntax.h: Likewise.
10327 * sysdeps/i386/sysdep.h: Likewise.
10328 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10329 * sysdeps/mach/sysdep.h: Likewise.
10330 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10331 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10332 * sysdeps/s390/asm-syntax.h: Likewise.
10333 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10335 * sysdeps/sh/sysdep.h: Likewise.
10336 * sysdeps/unix/sparc/sysdep.h: Likewise.
10337 * sysdeps/wordsize-32/divdi3.c: Likewise.
10338 * sysdeps/x86_64/sysdep.h: Likewise.
10339
00bbd29b
UD
10340 * argp/Versions: Remove _argp_unlock_xxx.
10341
10342 [BZ #13559]
10343 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10344 * abilist/libBrokenLocale.abilist: Likewise.
10345 * abilist/libanl.abilist: Likewise.
10346 * abilist/libc.abilist: Likewise.
10347 * abilist/libcrypt.abilist: Likewise.
10348 * abilist/libdl.abilist: Likewise.
10349 * abilist/libm.abilist: Likewise.
10350 * abilist/libnsl.abilist: Likewise.
10351 * abilist/libpthread.abilist: Likewise.
10352 * abilist/libresolv.abilist: Likewise.
10353 * abilist/librt.abilist: Likewise.
10354 * abilist/libthread_db.abilist: Likewise.
10355 * abilist/libutil.abilist: Likewise.
10356 * abilist/libnss_db.abilist: New file.
10357
10358 * scripts/abilist.awk: Add support for indirect functions.
10359
a2693a0e
UD
10360 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10361
3f05895f
UD
10362 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10363
ecb6fb48
UD
10364 * shlib-versions: Remove entries for ports architectures.
10365
664f8cb9
UD
10366 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10367 files in ports.
10368 * elf/stackguard-macros.h: Remove support for IA-64.
10369 * elf/tst-auditmod1.c: Likewise.
10370 * sysdeps/generic/ldsodefs.h: Likewise.
10371
7ae81d88
UD
10372 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10373 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10374 configure files.
10375
bdeba135
UD
10376 [BZ #13552]
10377 * configure.in: Remove --enable-omitfp support.
10378 * FAQ.in: Adjust.
10379 * config.make.in: Likewise.
10380 * Makeconfig: Likewise.
10381 * manual/install.texi: Likewise.
10382
d75a0a62
UD
10383 In case anyone cares, the IA-64 architecture could move to ports.
10384 * sysdeps/ia64/*: Removed.
10385 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10386 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10387
dcc9756b
UD
10388 [BZ #13555]
10389 * configure.in: Remove entries for unsupported architectures.
10390
d3761ebc 10391 [BZ #13533]
9954432e
UD
10392 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10393 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10394 routines.
10395 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10396 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10397 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10398 fall back to using wcrtomb.
10399 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10400 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10401 renaming.
10402 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10403 * wcsmbs/tst-c16c32-1.c: New file.
10404
10405 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10406 local variable.
10407
c3a87236
UD
10408 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10409
28926a1b
UD
10410 * elf/tst-unique3.cc: Add explicit declaration of gets.
10411 * elf/tst-unique3lib.cc: Likewise.
10412 * elf/tst-unique3lib2.cc: Likewise.
10413 * elf/tst-unique4.cc: Likewise.
10414
df78418a
UD
10415 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10416
8ecd6b2a
JM
104172012-01-06 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #13566]
10420 * assert/assert.h (static_assert): Don't define for C++.
10421 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10422 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10423
9f115170
UD
104242012-01-03 Ulrich Drepper <drepper@gmail.com>
10425
5e0d0300
UD
10426 * iconv/loop.c (single loop): Fix assertion in storing of
10427 remaining bytes.
10428
9f115170
UD
10429 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10430
81fb02b0
UD
104312012-01-01 Ulrich Drepper <drepper@gmail.com>
10432
10433 * posix/getconf.c: Update copyright year.
10434 * nss/getent.c: Likewise.
a316c1f6 10435 * nss/makedb.c: Likewise.
81fb02b0
UD
10436 * iconv/iconvconfig.c: Likewise.
10437 * iconv/iconv_prog.c: Likewise.
10438 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10439 * elf/pldd.c: Likewise.
10440 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10441 * catgets/gencat.c: Likewise.
10442 * csu/version.c: Likewise.
10443 * elf/ldd.bash.in: Likewise.
10444 * elf/sprof.c (print_version): Likewise.
10445 * locale/programs/locale.c: Likewise.
10446 * locale/programs/localedef.c: Likewise.
a316c1f6 10447 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10448 * nscd/nscd.c (print_version): Likewise.
10449 * debug/xtrace.sh: Likewise.
10450 * malloc/memusage.sh: Likewise.
10451 * malloc/mtrace.pl: Likewise.
10452 * debug/catchsegv.sh: Likewise.
10453
2ba92745
JJ
104542011-12-30 Jakub Jelinek <jakub@redhat.com>
10455
10456 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10457 pure attribute.
10458
dadebdae
UD
104592011-12-24 Ulrich Drepper <drepper@gmail.com>
10460
d3761ebc 10461 [BZ #13533]
db6af3eb
UD
10462 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10463 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10464 transformations.
10465 * iconv/gconv_int.h: Likewise.
10466 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10467 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10468 from libc for GLIBC_2.16.
10469 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10470 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10471 * wcsmbs/uchar.h: Really define mbstate_t.
10472 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10473 * wcsmbs/c16rtomb.c: New file.
10474 * wcsmbs/mbrtoc16.c: New file.
10475 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10476 for C/POSIX locale.
10477 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10478 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10479
dadebdae
UD
10480 * wcsmbs/wchar.h: Add missing __restrict.
10481
67371b56
UD
104822011-12-23 Ulrich Drepper <drepper@gmail.com>
10483
74033a25
UD
10484 [BZ #13532]
10485 * time/Makefile (routines): Add timespec_get.
10486 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10487 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10488 timespec for ISO C11.
10489 * time/timespec_get.c: New file.
10490 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10491 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10492
380d7e87
UD
10493 [BZ #13531]
10494 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10495 * stdlib/stdlib.h: Declare aligned_alloc.
10496 * Versions.def: Add GLIBC_2.16 for libc.
10497 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10498
4e9e7a35
UD
10499 [BZ 13527]
10500 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10501 ISO C11.
10502
380d7e87 10503 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10504 code.
10505
03a71829
UD
10506 [BZ #13528]
10507 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10508
839e283e
UD
10509 [BZ #13529]
10510 * assert/assert.h (static_assert): Define.
10511
ce5294e2 10512 * version.h: Update for 2.16 development version.
90fa7312 10513
8d44e150 10514 [BZ #13526]
d7809905
UD
10515 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10516 _ISOC11_SOURCE.
10517
c0da14cd
UD
10518 * version.h (RELEASE): Bump for 2.15 release.
10519 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10520
530a3249
MP
10521 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10522 Patch by Marek Polacek <mpolacek@redhat.com>.
10523
67371b56
UD
10524 * bits/byteswap.h: Protect long long constants with __extension__.
10525 * sysdeps/i386/bits/byteswap.h: Likewise.
10526 * sysdeps/ia64/bits/byteswap.h: Likewise.
10527 * sysdeps/s390/bits/byteswap.h: Likewise.
10528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10529
15db4de1
LD
105302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10531
10532 [BZ #13540]
bbe315ea
LD
10533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10534 destination buffer.
15db4de1
LD
10535 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10536
2b2596b1
MP
105372011-12-23 Marek Polacek <polacek@redhat.com>
10538
10539 * elf/dl-addr.c (determine_info): Add inline keyword.
10540 * elf/tst-auditmod4b.c (check_avx): Likewise.
10541 * elf/tst-auditmod6b.c (check_avx): Likewise.
10542 * elf/tst-auditmod6c.c (check_avx): Likewise.
10543 * elf/tst-auditmod7b.c (check_avx): Likewise.
10544
70c6c246
UD
105452011-12-23 Ulrich Drepper <drepper@gmail.com>
10546
10547 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10548 !__SSE_MATH__.
10549
c044cf14
LD
105502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10551
15db4de1 10552 [BZ #13540]
c044cf14
LD
10553 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10554 processing for last bytes.
10555
6b13d9d9
BH
105562011-08-06 Bruno Haible <bruno@clisp.org>
10557
d455f537
BH
10558 [BZ #13061]
10559 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10560 U+0385, not to U+1FEE.
10561
6b13d9d9
BH
10562 [BZ #13062]
10563 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10564 entry for U+00A5 U+0301.
10565
db910efd
UD
105662011-12-22 Ulrich Drepper <drepper@gmail.com>
10567
27deeafc
UD
10568 [BZ #13166]
10569 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10570 buffer for the output is too small.
10571
aed9d171
UD
10572 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10573 optimization.
10574
db910efd
UD
10575 [BZ #13185]
10576 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10577 SSE flags if possible.
10578
2bd779ae
LD
105792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10580
e7f9dac3 10581 [BZ #13540]
2bd779ae
LD
10582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10583 processing for last bytes.
10584
154bfc16
JM
105852011-12-22 Joseph Myers <joseph@codesourcery.com>
10586
10587 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10588 (syscall-list-default-options, syscall-list-default-condition)
10589 (syscall-list-includes): Define.
10590 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10591 list of ABIs and options and #if conditions for each ABI. Do not
10592 handle common syscalls between ABIs specially.
10593 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10594 Remove.
10595 (syscall-list-variants, syscall-list-32bit-options)
10596 (syscall-list-32bit-condition, syscall-list-64bit-options)
10597 (syscall-list-64bit-condition): Define.
10598 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10599 (syscall-list-variants, syscall-list-32bit-options)
10600 (syscall-list-32bit-condition, syscall-list-64bit-options)
10601 (syscall-list-64bit-condition): Define.
10602 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10603 Remove.
10604 (syscall-list-variants, syscall-list-32bit-options)
10605 (syscall-list-32bit-condition, syscall-list-64bit-options)
10606 (syscall-list-64bit-condition): Define.
10607 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10608 Remove.
10609 (syscall-list-variants, syscall-list-32bit-options)
10610 (syscall-list-32bit-condition, syscall-list-64bit-options)
10611 (syscall-list-64bit-condition): Define.
10612
21eaf3a5
UD
106132011-12-22 Ulrich Drepper <drepper@gmail.com>
10614
16c6f992
UD
10615 * locale/iso-639.def: Add brx entry.
10616
41043168
UD
10617 [BZ #13328]
10618 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10619 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10620
21eaf3a5
UD
10621 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10622 __feraiseexcept_renamed.
10623
e3a851a2
UD
106242011-12-21 Ulrich Drepper <drepper@gmail.com>
10625
4920765e
UD
10626 [BZ #13538]
10627 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10628 EPOLLET with unsigned values.
10629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10631
e3a851a2
UD
10632 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10633 to large cancellation.
10634 * math/s_cacoshf.c: Likewise.
10635 * math/s_cacoshl.c: Likewise.
10636
b27e24b8
RK
106372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10638
10639 [BZ #13305]
aebefeee 10640 [BZ #12786]
b27e24b8
RK
10641 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10642 * math/s_cacoshf.c: Likewise.
10643 * math/s_cacoshl.c: Likewise.
10644
ee190f67
UD
106452011-12-21 Ulrich Drepper <drepper@gmail.com>
10646
10647 [BZ #13439]
10648 * iconv/gconv.h: Define __GCONV_SWAP.
10649 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10650 * iconvdata/utf-16.c: Likewise.
10651 * iconvdata/utf-32.c: Likewise.
10652
707f25df
AS
106532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 [BZ #13524]
10656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10657 numerator after shifting it by one limb.
10658
d2daaa1e
RÁE
106592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10660
10661 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10662 under [__USE_EXTERN_INLINES].
10663
a4647e72
UD
106642011-12-17 Ulrich Drepper <drepper@gmail.com>
10665
10666 [BZ #13446]
10667 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10668
f0b264f1
AZ
106692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10670
10671 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10672 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10673 optimized code.
10674 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10675 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10676 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10677 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10678 for strncasecmp/strncasecmp_l compilation.
10679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10680 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10681
8ef4f244
MP
106822011-12-08 Marek Polacek <mpolacek@redhat.com>
10683
10684 [BZ #13484]
10685 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10686 of __asm__.
10687
97ac2654
UD
106882011-12-17 Ulrich Drepper <drepper@gmail.com>
10689
10690 [BZ #13506]
10691 * time/tzfile.c (__tzfile_read): Check values from file header.
10692
91d2a845
WS
106932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10694
10695 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10696 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10697 * powerpc/powerpc32/dl-start.S: Likewise.
10698 * powerpc/powerpc32/elf/start.S: Likewise.
10699 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10700 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10701 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10702 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10703 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10704 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10705 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10706 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10707 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10708 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10709 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10710 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10711 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10712 * powerpc/powerpc32/memset.S: Likewise.
10713 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10714 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10715 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10716 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10717 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10718 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10719 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10720 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10721 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10722 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10723 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10726
a1267ba1
AZ
107272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10728
10729 * math/libm-test.inc: Added more nearbyint tests.
10730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10734
ad8ac1bd
RL
107352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10736
10737 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10738 FD_CLOEXEC.
10739
1d3e4b61
UD
107402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10741
10742 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10743 Add wcscpy-ssse3 wcscpy-c.
10744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10745 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10746 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10747 * sysdeps/x86_64/wcschr.S: New file.
10748 * sysdeps/x86_64/wcsrchr.S: New file.
10749 * string/test-strcmp.c: Remove checking of wcscmp function for
10750 wrong alignments.
10751 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10752 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10753 wcsrchr-sse2 wcsrchr-c.
10754 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10755 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10756 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10757 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10758 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10759 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10760 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10761 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10762 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10763 * wcsmbc/wcschr.c (WCSCHR): New macro.
10764
5b330a2d
UD
107652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10766
10767 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10768 * wcsmbs/test-wcsrchr.c: New file.
10769 * string/test-strrchr.c: Add wcsrchr support.
10770 (WIDE): New macro.
10771 * wcsmbs/test-wcscpy.c: New file.
10772 * string/test-strcpy.c: Add wcscpy support.
10773 (WIDE): New macro.
26428b7c 10774
f039c043
UD
107752011-12-10 Ulrich Drepper <drepper@gmail.com>
10776
10777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10778 the inner loop.
10779
850fb039
AS
107802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10781
10782 [BZ #13472]
10783 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10784
4efbd5cb
UD
107852011-12-04 Ulrich Drepper <drepper@gmail.com>
10786
52ff5dd0 10787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10788 Minor optimizations.
52ff5dd0 10789
4efbd5cb
UD
10790 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10791 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10792 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10793
8a426e12
UD
107942011-12-03 Ulrich Drepper <drepper@gmail.com>
10795
aff2453d
UD
10796 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10797 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10798 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10799 for gcc to avoid warnings.
10800 * inet/Makefile (tests): Add tst-checks.
10801 * inet/tst-checks.c: New file.
10802
10803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10804 warning.
10805
10806 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10807 __wmemcmp_sse2.
10808
10809 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10810 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10811
8a426e12
UD
10812 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10813
9bea3473
UD
108142011-12-02 Ulrich Drepper <drepper@gmail.com>
10815
3a965496
UD
10816 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10817 problem.
10818
9bea3473
UD
10819 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10820
f101631b
UD
108212011-11-29 Joseph Myers <joseph@codesourcery.com>
10822
10823 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10824 conditional on GCC version.
10825 (__arch_compare_and_exchange_val_8_acq)
10826 (__arch_compare_and_exchange_val_16_acq)
10827 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10828 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10829 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10830
a98275aa
UD
108312011-12-02 Joseph Myers <joseph@codesourcery.com>
10832
10833 * sysdeps/sh/backtrace.c: New file.
10834
d4cc29a2
AS
108352011-12-02 Andreas Schwab <schwab@redhat.com>
10836
10837 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10838 parenthesis.
10839
6257af2d
AS
108402011-12-01 Andreas Schwab <schwab@redhat.com>
10841
10842 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10843 falling back to utime.
10844
b5f44c1a
AS
108452011-11-30 Andreas Schwab <schwab@redhat.com>
10846
10847 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10848 expectations for float.
10849
f3a6cc0a
AS
108502011-11-29 Andreas Schwab <schwab@redhat.com>
10851
10852 * locale/weight.h (findidx): Add parameter len.
10853 * locale/weightwc.h (findidx): Likewise.
10854 * posix/fnmatch_loop.c (FCT): Adjust caller.
10855 * posix/regcomp.c (build_equiv_class): Likewise.
10856 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10857 * posix/regexec.c (check_node_accept_bytes): Likewise.
10858 * string/strcoll_l.c (STRCOLL): Likewise.
10859 * string/strxfrm_l.c (STRXFRM): Likewise.
10860
9d65ea3a
UD
108612011-11-17 Ulrich Drepper <drepper@gmail.com>
10862
10863 * Makefile.in: Remove CVSOPT handling.
10864 * configure.in: Remove use of AC_REVISION.
10865 * iconvdata/Makefile (distribute): No need to filter out CVS.
10866 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10867 handling.
10868
5583a086
AS
108692011-11-16 Andreas Schwab <schwab@redhat.com>
10870
10871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10872 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10873 [USE_AS_STRNCASECMP_L]: Likewise.
10874 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10875 NO_TLS_DIRECT_SEG_REFS.
10876 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10877 Fix argument offsets for non-PIC.
10878 [USE_AS_STRNCASECMP_L]: Likewise.
10879 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10880 NO_TLS_DIRECT_SEG_REFS.
10881
d62a8200
UD
108822011-11-15 Ulrich Drepper <drepper@gmail.com>
10883
9d65ea3a 10884 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10885 O_CLOEXEC.
10886 * locale/loadlocale.c (_nl_load_locale): Likewise.
10887
09f93bd3
AS
108882011-11-15 Andreas Schwab <schwab@redhat.com>
10889
446514f9
AS
10890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10891 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10893 (SYSCALL_GETTIME): Set errno on error.
10894
09f93bd3
AS
10895 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10896 count references to noai6ai_cached.
10897
312be3f9
UD
108982011-11-15 Ulrich Drepper <drepper@gmail.com>
10899
10900 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10901
10902 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10903 FD_CLOEXEC for /proc/self/maps.
10904
10905 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10906 FD_CLOEXEC for /proc/meminfo.
10907
10908 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10909 gai.conf.
10910
10911 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10912 FD_CLOEXEC for given file.
10913
10914 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10915
10916 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10917 FD_CLOEXEC for /etc/hosts.
10918 (_gethtent): Likewise.
10919
10920 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10921
10922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10923 cancellation and set FD_CLOEXEC for /etc/netgroup.
10924
10925 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10926 reading /etc/publickey.
10927
10928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10929 allow cancellation when reading /etc/group.
10930
10931 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10932 cancellation.
10933 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10934
10935 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10936 when using data file.
10937
10938 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10939
10940 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10941 (write_nis_obj): Use "c" and "e" in fopen.
10942
10943 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10944
10945 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10946
10947 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10948
10949 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10950
10951 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10952 locale.alias.
10953
10954 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10955
10956 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10957
10958 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10959
10960 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10961 file parsing and set FD_CLOEXEC.
10962
82af0fa8
UD
109632011-11-14 Ulrich Drepper <drepper@gmail.com>
10964
10965 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10966
a5fb313c
AS
109672011-11-14 Andreas Schwab <schwab@redhat.com>
10968
10969 * malloc/arena.c (arena_get2): Don't call reused_arena when
10970 _int_new_arena failed.
10971
6abf3465
UD
109722011-11-14 Ulrich Drepper <drepper@gmail.com>
10973
10974 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10975 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10977 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10980 to compile strcasecmp and strncasecmp.
10981 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10982 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10983
10984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10985
76e3966e
UD
109862011-11-13 Ulrich Drepper <drepper@gmail.com>
10987
10988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10989 locale-defines.sym to gen-as-const-headers.
10990 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10991 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10993 to compile strcasecmp and strncasecmp.
10994 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10995 strcasecmp_l and strncasecmp_l.
10996 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10997 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10998 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10999 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11000 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11002 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11003 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11004 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11005 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11006 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11007
ab26144e
UD
110082011-11-12 Ulrich Drepper <drepper@gmail.com>
11009
7edb22ef
UD
11010 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11011 result of SYSDEP_GETTIME_CPU to retval.
11012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11013 parameter list to macro. Remove trailing semicolon. Adjust users.
11014
9694fc44
UD
11015 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11016 variable.
11017
8ad89ef8
UD
11018 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11019 mantissa words.
11020 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11021
0c822ef9
UD
11022 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11023 from unused variable.
11024
874e0564
UD
11025 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11026 DWARF definitions.
11027 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11028 for assembling.
11029
3a2edc79
UD
11030 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11031 over namespaces.
11032
f3c2577f
UD
11033 * sunrpc/rpc_prot.c (rejected): Fix case value.
11034
294ce126
UD
11035 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11036 unsigned long long int to avoid warnings in shift.
11037
5e2b63c6
UD
11038 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11039 of use of trans.
11040 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11041 variable tmp.
11042
e7f4b08e
UD
11043 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11044 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11046
ab26144e
UD
11047 * nis/nis_table.c (nis_list): Use variable of correct type for
11048 result of __follow_path call.
11049
8a6d5255
AZ
110502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11051
11052 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11053 of math functions ceil, trunc, floor, round, and sqrt, when
11054 avaliable on the platform.
11055 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11056 name clash.
11057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11058 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11059 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11060
aaddc98c
MP
110612011-10-30 Marek Polacek <mpolacek@redhat.com>
11062
11063 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11065
95b7042b
RM
110662011-11-11 Roland McGrath <roland@hack.frob.com>
11067
11068 * include/unistd.h: Fix __readlink return type.
11069 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11070
57769839
UD
110712011-11-11 Ulrich Drepper <drepper@gmail.com>
11072
11073 * stdlib/ucontext.h: Undo last change for makecontext.
11074
edc5984d
AS
110752011-11-11 Andreas Schwab <schwab@redhat.com>
11076
98591e58
AS
11077 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11078
edc5984d
AS
11079 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11080 * setjmp/setjmp.h: Mark functions as non-leaf.
11081 * setjmp/bits/setjmp2.h: Likewise.
11082 * stdlib/ucontext.h: Likewise.
11083
77cdc054
AS
110842011-11-10 Andreas Schwab <schwab@redhat.com>
11085
11086 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11087 (reused_arena): Don't check arena limit.
11088 (arena_get2): Atomically check arena limit.
11089
fe72eebd
UD
110902011-11-08 Ulrich Drepper <drepper@gmail.com>
11091
5f078c32
UD
11092 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11093 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11094
fe72eebd
UD
11095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11096 instructions.
11097
ae1bc2fa
AS
110982011-11-07 Andreas Schwab <schwab@redhat.com>
11099
7583a88d
AS
11100 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11101 handler when locking.
11102
ae1bc2fa
AS
11103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11104 Fix size of allocated buffer.
11105
10fb0bfa
AS
111062011-11-04 Andreas Schwab <schwab@redhat.com>
11107
998832a4
AS
11108 [BZ #10103]
11109 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11110 declarations for long double functions.
11111 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11112
10fb0bfa
AS
11113 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11114
3d7ba52b
AS
111152011-11-03 Andreas Schwab <schwab@redhat.com>
11116
a9ae54a1
AS
11117 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11118 installed.
11119
3d7ba52b
AS
11120 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11121 is disabled.
11122
bc8db248
ST
111232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11124
11125 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11126
45b96dd6
AS
111272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11128
647776f6
AS
11129 * include/alloca.h (stackinfo_alloca_round): Define.
11130 (extend_alloca): Use it.
11131 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11132 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11133 here.
11134
d91a8b93
AS
11135 * scripts/check-local-headers.sh: Ignore libaudit.h.
11136
45b96dd6
AS
11137 * nscd/Makefile (extra-objs): Make recursively expanded.
11138
432d41ce
UD
111392011-11-01 Ulrich Drepper <drepper@gmail.com>
11140
34372fc6
UD
11141 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11143
fadb59f8
UD
11144 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11145 * posix/tst-rfc3484-2.c: Likewise.
11146 * posix/tst-rfc3484-3.c: Likewise.
11147
78239589
UD
11148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11149 process_vm_writev.
11150 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11151 process_vm_writev.
11152 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11153 process_vm_writev from libc using GLIBC_2.15 version.
11154
432d41ce
UD
11155 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11156
02f9c6cf
PP
111572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11158
11159 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11160 stack usage.
11161
3a2c0242
UD
111622011-10-31 Ulrich Drepper <drepper@gmail.com>
11163
f4ec4833
UD
11164 [BZ #13367]
11165 * nss/getent.c (initgroups_keys): Show error message in case no group
11166 names are given.
11167
3a2c0242
UD
11168 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11169 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11170 __bump_nl_timestamp.
11171 * nscd/connections (nscd_init): When host database is served open
11172 netlink socket and request notification about configuration changes.
11173 (main_loop_poll): Track netlink file descriptor and bump timestamp
11174 in case data becomes available.
11175 (main_loop_epoll): Likewise.
11176 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11177 (database_pers_head): Add extra_data fileds.
11178 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11180 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11181 Adjust caller.
11182 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11183 in6ai data, call __free_in6ai.
11184 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11185 Add -DHAVE_NETLINK.
11186 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11187 interface information. Reuse previous data if netlink timestamp
11188 is not changed.
11189 (__bump_nl_timestamp): New function.
11190 (__free_in6ai): New function.
11191
636064eb
UD
111922011-10-30 Ulrich Drepper <drepper@gmail.com>
11193
11194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11195 close_not_cancel_no_status here.
11196 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11197
9beb2334
UD
111982011-10-29 Ulrich Drepper <drepper@gmail.com>
11199
6ef76f3b
UD
11200 [BZ #13276]
11201 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11202 return value.
11203
0ffc4f3e 11204 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11205 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11206 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11207
cb95113e
UD
112082011-07-03 Andreas Jaeger <aj@suse.de>
11209
11210 [BZ #10709]
11211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11212 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11213 * math/libm-test.inc (sin_test): Add test case.
11214
a1b560ff
UD
112152011-10-29 Ulrich Drepper <drepper@gmail.com>
11216
c9aaface
UD
11217 [BZ #13337]
11218 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11219 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11220
d272e7f1
UD
11221 * elf/chroot_canon.c (chroot_canon): Cleanups.
11222
1bc33071
UD
11223 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11224
1760874d
TJ
11225 [BZ #13335]
11226 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11228
51d91b18
UD
11229 * string/test-strchr.c: Make usable for strchrnul testing.
11230 * string/test-strchrnul.c: New file.
11231 * string/Makefile (strop-tests): Add strchrnul.
11232
a1b560ff 11233 * po/it.po: Update from translation team.
b611fb81 11234 * po/es.po: Likewise.
a1b560ff 11235
a5b81e1f
UD
112362011-10-28 Ulrich Drepper <drepper@gmail.com>
11237
fd52bc6d
UD
11238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11239 the three constants needed as parameters. Drop the others.
11240 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11241 __m128i_strloadu_tolower.
52e4b9eb
UD
11242 Create and initialize variable zero and use it in all the places
11243 where _mm_setzero_si128 was used.
fd52bc6d 11244
a5b81e1f
UD
11245 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11246 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11247 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11249 anymore.
11250 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11251 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11252 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11253 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11254 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11255 __mpranred, __mptan.
11256 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11257 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11258 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11259 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11260 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11261 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11264 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11265
b4343346
AS
112662011-10-28 Andreas Schwab <schwab@redhat.com>
11267
0c92d8a8
AS
11268 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11269 redefine if SHARED.
11270 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11271
b4343346
AS
11272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11273 wide char related routines to wcsmbs subdir.
11274
3871f58f
AS
112752011-10-27 Andreas Schwab <schwab@redhat.com>
11276
11277 [BZ #13344]
11278 * misc/sys/cdefs.h (__THROWNL): Define.
11279 * posix/unistd.h: Use __THREADNL instead of __THREAD
11280 for memory synchronization functions.
11281
94d44d9f
RM
112822011-10-26 Roland McGrath <roland@hack.frob.com>
11283
21b64b15 11284 [BZ #13349]
94d44d9f
RM
11285 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11286 doesn't exist.
11287 * manual/stdio.texi (Obstack Streams): Node removed.
11288
f6ce9294
AS
112892011-10-26 Andreas Schwab <schwab@redhat.com>
11290
80479147
AS
11291 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11293 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11294
f6ce9294
AS
11295 * math/math_private.h (math_force_eval): Allow non-addressable
11296 arguments.
11297 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11298
618280a1
UD
112992011-10-25 Ulrich Drepper <drepper@gmail.com>
11300
e0016b11
UD
11301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11302 file is not needed.
11303
11304 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11307 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11308 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11311 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11312 Add AVX variants.
11313 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11314 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11315 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11316 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11317 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11318 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11319 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11320 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11321 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11322 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11323 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11324 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11326 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11327 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11328 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11329 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11330 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11331 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11332
11333 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11334 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11335
618280a1
UD
11336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11337 place. Use VEX encoding when compiling for AVX.
11338
37822576
AS
113392011-10-25 Andreas Schwab <schwab@redhat.com>
11340
1f1e1947
AS
11341 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11342 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11343
37822576
AS
11344 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11345
31ea014d
UD
113462011-10-25 Ulrich Drepper <drepper@gmail.com>
11347
d7826aa1 11348 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11349 useless if() expression.
d7826aa1
UD
11350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11360 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11364 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11365 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11369
31ea014d
UD
11370 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11371
16437fec
AS
113722011-10-25 Andreas Schwab <schwab@redhat.com>
11373
11374 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11375 condition.
11376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11377
31d3cc00
UD
113782011-10-25 Ulrich Drepper <drepper@gmail.com>
11379
11380 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11381 .text section. Avoid duplicate constants.
11382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11392 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11406 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11407 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11408 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11409 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11413 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11414 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11415 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11416 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11417 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11418 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11420 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11421 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11424 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11425 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11426 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11427
58985aa9
UD
114282011-10-24 Ulrich Drepper <drepper@gmail.com>
11429
202c9deb
UD
11430 * sysdeps/x86_64/dla.h: Move to ...
11431 * sysdeps/x86_64/fpu/dla.h: ...here.
11432 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11433 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11434
af968f62
UD
11435 * config.make.in: Add have-mfma4 entry.
11436 * configure.in: Substitute libc_cv_cc_fma4.
11437 * math/Makefile (dbl-only-routines): Add sincostab.
11438 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11439 Use __sincostab not sincos.
11440 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11441 name is a macro.
11442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11446 using __copysign.
11447 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11448 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11449 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11450 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11451 and __inv.
11452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11453 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11454 __copysign.
11455 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11456 define aliases when function name is a macro.
11457 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11458 sysdeps/ieee754/dbl-64/sincos.tbl.
11459 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11460 fma4-enabled routines.
11461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11462 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11463 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11464 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11465 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11466 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11469 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11470 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11471 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11473 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11474 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11476 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11477 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11478 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11479 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11481 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11482 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11484 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11486 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11488 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11489 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11490 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11491
58985aa9
UD
11492 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11493 rename.
11494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11502
a201fbcf
AS
115032011-10-24 Andreas Schwab <schwab@redhat.com>
11504
11505 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11506
fc2ee42a
LD
115072011-10-23 Ulrich Drepper <drepper@gmail.com>
11508
bb3129bd
UD
11509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11510
0275fff8
UD
11511 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11512 prediction.
11513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11514
2fa2ae85
UD
11515 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11516 Remove unused variable magic_bits.
11517 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11518
fc2ee42a
LD
11519 * string/strnlen.c: Define and use STRNLEN macro.
11520 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11521 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11523 * wcsmbs/wcslen.c: Define and use WCSLEN.
11524 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11525 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11526 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11527 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11528 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11529 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11531
ce7dd29f
LD
115322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11533
11534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11535 strnlen-sse2-no-bsf.
11536 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11538 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11539 Add strnlen support.
11540 (USE_AS_STRNLEN): New macro.
11541 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11543 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11544 * sysdeps/x86_64/wcslen.S: New file.
11545
979c70a3
MZ
115462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11547
11548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11549 XMM-moves are used for copying on small sizes.
11550
2d09f82f
LD
115512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11552
11553 * wcsmbs/Makefile (strop-tests): Add wcschr.
11554 * wcsmbs/test-wcschr.c: New file.
11555 * string/test-strchr.c: Update.
11556 Add wcschr support.
11557 (WIDE): New macro.
11558
619fccca
LD
115592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11560
2d09f82f 11561 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11562 * wcsmbs/test-wcslen.c: New file.
11563 * string/test-strlen.c: Update.
11564 Add wcslen support.
11565 (WIDE): New macro.
11566
09f699ea
UD
115672011-10-23 Ulrich Drepper <drepper@gmail.com>
11568
11569 * po/it.po: Update from translation team.
11570
95584d3b
LD
115712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11572
11573 * sysdeps/x86_64/wcscmp.S: Update.
11574 Fix wrong comparison semantics.
11575 wcscmp shall use signed comparison not unsigned.
11576 Don't use substraction to avoid overflow bug.
11577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11578 * wcsmbc/wcscmp.c: Likewise.
11579 * string/test-strcmp.c: Likewise.
11580 Add new tests to check cases with negative values.
11581
c8b3296b
UD
115822011-10-23 Ulrich Drepper <drepper@gmail.com>
11583
11584 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11585 * sysdeps/x86_64/dla.h: ...here. New file.
11586 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11595
246ad57a
AS
115962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11597
11598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11599 __ynl_finite aliases.
11600
a1a87169
UD
116012011-10-22 Ulrich Drepper <drepper@gmail.com>
11602
0d355eb7
UD
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11604
a1a87169
UD
11605 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11606 define DLA_FMA.
11607 [DLA_FMA] (EMULV): Use DLA_FMA.
11608 [DLA_FMA] (MUL12): Use EMULV.
11609 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11610 that are not needed.
11611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11618
ee2aafe0
AS
116192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11620
11621 * math/s_nan.c: Undef __nan.
11622 * math/s_nanf.c: Undef __nanf.
11623 * math/s_nanl.c: Undef __nanl.
11624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11625 "math_private.h".
11626
bc62c2fb
UD
116272011-10-22 Ulrich Drepper <drepper@gmail.com>
11628
77425c63
UD
11629 * math/s_catan.c: Add branch predictions.
11630 * math/s_catanf.c: Likewise.
11631 * math/s_catanh.c: Likewise.
11632 * math/s_catanhf.c: Likewise.
11633 * math/s_catanhl.c: Likewise.
11634 * math/s_catanl.c: Likewise.
11635 * math/s_cexp.c: Likewise.
11636 * math/s_cexpf.c: Likewise.
11637 * math/s_cexpl.c: Likewise.
11638 * math/s_clog.c: Likewise.
11639 * math/s_clog10.c: Likewise.
11640 * math/s_clog10f.c: Likewise.
11641 * math/s_clog10l.c: Likewise.
11642 * math/s_clogf.c: Likewise.
11643 * math/s_clogl.c: Likewise.
11644 * math/s_csqrt.c: Likewise.
11645 * math/s_csqrtf.c: Likewise.
11646 * math/s_csqrtl.c: Likewise.
11647 * math/s_ctanf.c: Likewise.
11648 * math/s_ctanh.c: Likewise.
11649 * math/s_ctanhf.c: Likewise.
11650 * math/s_ctanhl.c: Likewise.
11651 * math/s_ctanl.c: Likewise.
11652
bc62c2fb
UD
11653 * math/math_private.h: Define __nan, __nanf, __nanl.
11654 * math/s_cacosh.c: Include <math_private.h>.
11655 * math/s_cacoshl.c: Likewise.
11656 * math/s_casinh.c: Likewise.
11657 * math/s_casinhf.c: Likewise.
11658 * math/s_casinhl.c: Likewise.
11659 * math/s_ccos.c: Rely entire on ccosh.
11660 * math/s_ccosf.c: Rely entire on ccoshf.
11661 * math/s_ccosl.c: Rely entirely on ccoshl.
11662 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11663 Remove tests for FE_INVALID.
11664 * math/s_ccoshf.c: Likewise.
11665 * math/s_ccoshl.c: Likewise.
11666 * math/s_csin.c: Likewise.
11667 * math/s_csinf.c: Likewise.
11668 * math/s_csinh.c Likewise.
11669 * math/s_csinhf.c: Likewise.
11670 * math/s_csinhl.c: Likewise.
11671 * math/s_csinl.c: Likewise.
11672 * math/s_ctan.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11674 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11676
8ec250a4
UD
116772011-10-21 Ulrich Drepper <drepper@gmail.com>
11678
c196fed8
UD
11679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11680 compilation problems.
11681
8ec250a4
UD
11682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11683 __builtin_expect.
11684
8d4f46c6
UD
116852011-10-20 Ulrich Drepper <drepper@gmail.com>
11686
ed72b654
UD
11687 * sysdeps/i386/configure.in: Test for -mfma4 option.
11688 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11689 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11690 COMMON_CPUID_INDEX_80000001.
11691 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11692 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11693 use it if FMA3 is not supported.
11694 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11695
8d4f46c6
UD
11696 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11697 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11698
d45c60c2
AS
116992011-10-20 Andreas Schwab <schwab@redhat.com>
11700
11701 [BZ #12892]
11702 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11703 it would create a cycle with a link time dependency.
11704
d9a4d2ab
UD
117052011-10-19 Ulrich Drepper <drepper@gmail.com>
11706
855d1560
UD
11707 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11708 instruction.
11709 * string/Makefile (strop-tests): Add rawmemchr.
11710 * string/test-rawmemchr.c: New file.
11711
d9a4d2ab
UD
11712 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11714 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11715 when compiling str{,n}casecmp and when AVX is available. Hook up
11716 new optimized code in initializers.
11717
8f3b1ffe
AS
117182011-10-19 Andreas Schwab <schwab@redhat.com>
11719
11720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11721 __feraiseexcept instead of feraiseexcept.
11722
d38f1dba
UD
117232011-10-18 Ulrich Drepper <drepper@gmail.com>
11724
d9a8d0ab
UD
11725 * math/math_private.h: Define defaults for libc_fetestexcept and
11726 libc_feupdateenv.
11727 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11728 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11730 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11732 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11733 libc_fetestexcept and libc_feupdateenv.
11734
4855e3dd
UD
11735 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11736 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11737 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11738 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11739 libc_feholdexcept_setround.
11740
581d30e3
UD
11741 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11742 Add s_nearbyint-c and s_nearbyintf-c.
11743 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11744 nearbyintf inlines.
11745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11748 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11749
d38f1dba
UD
11750 * math/math_private.h: Define defaults for libc_fegetround,
11751 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11752 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11753 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11755 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11756 standard functions.
11757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11758 Remove comments and hacks for old compiler versions.
11759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11760 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11761 libc_feholdexceptl.
11762
caa6c9d8
AS
117632011-10-18 Andreas Schwab <schwab@redhat.com>
11764
11765 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11766 (__feraiseexcept_renamed): Add __NTH.
11767 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11768 namespace violations.
11769
97c066e6
UD
117702011-10-17 Ulrich Drepper <drepper@gmail.com>
11771
99ce7b04
UD
11772 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11773
1004d182
UD
11774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11775
228a984d
UD
11776 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11777 recently added interfaces.
11778 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11779
c8553a6a
UD
11780 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11781 about macro parameter expansion.
11782
ed22dcf6
UD
11783 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11784 __NO_MATH_INLINES is defined. Cleanups.
11785
11786 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11787 and __floorf is target has SSE4.1.
11788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11789 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11791 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11792
b171c137
UD
11793 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11794 name.
11795 (floorf): Likewise.
11796
97c066e6
UD
11797 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11798
629f62ef
AS
117992011-10-17 Andreas Schwab <schwab@redhat.com>
11800
49a43d80
AS
11801 * misc/sys/cdefs.h: Fix last change.
11802
629f62ef
AS
11803 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11804 database lookup.
11805
e453f6cd
UD
118062011-10-16 Ulrich Drepper <drepper@gmail.com>
11807
aa78043a
UD
11808 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11809
ad0f5cad
UD
11810 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11815 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11819 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11820 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11821 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11822 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11823 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11824 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11825 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11827 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11828 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11829 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11830 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11831 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11832
11833 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11834 ceil, ceilf, floor, floorf.
11835
11836 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11837 Perform IRELATIVE relocations last.
11838
e453f6cd
UD
11839 * elf/do-rel.h: Add another parameter nrelative, replacing the
11840 local variable with the same name. Change name of the function
11841 to end in Rel or Rela (uppercase).
11842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11843 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11844 elf_dynamic_do_##reloc function.
11845
fd5bdc09
UD
118462011-10-15 Ulrich Drepper <drepper@gmail.com>
11847
79b195b5
UD
11848 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11849 is sufficient, at least on modern CPUs.
11850
d4a28569
UD
11851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11852
b61099b5
UD
11853 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11854 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11855
bcf01e6d
UD
11856 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11857 __expl_finite.
11858 * math/bits/math-finite.h: Add entries for exp.
11859 * math/e_expl.c: Add __*_finite alias.
11860 * sysdeps/i386/fpu/e_exp.S: Likewise.
11861 * sysdeps/i386/fpu/e_expf.S: Likewise.
11862 * sysdeps/i386/fpu/e_expl.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11864 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11868 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11869 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11870
ba1a0d59
UD
11871 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11872 is sufficient, at least on modern CPUs.
11873
fd5bdc09
UD
11874 * ctype/ctype-info.c (__ctype_init): Define.
11875 * include/ctype.h (__ctype_init): Declare.
11876 (__ctype_b_loc): The variable is always initialized.
11877 (__ctype_toupper_loc): Likewise.
11878 (__ctype_tolower_loc): Likewise.
11879 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11880 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11881
7872cfb0
AS
118822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11883
b468825a
AS
11884 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11885
7872cfb0
AS
11886 * configure.in: Also look in $cxxmachine/include for C++ system
11887 headers.
11888
be13f7bf
LD
118892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11890
11891 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11892 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11893 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11894 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11895 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11896 (USE_AS_WMEMCMP): New macro.
11897 Fixing indents.
11898 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11899 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11900 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11901 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11903 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11904 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11905 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11906 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11907 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11909 (USE_AS_WMEMCMP): New macro.
11910 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11911 * sysdeps/string/test-memcmp.c: Update.
11912 Fix simple_wmemcmp.
11913 Add new tests.
11914 * wcsmbs/wmemcmp.c: Update.
11915 (WMEMCMP): New macro.
11916 Fix overflow bug.
11917
556a2007
AJ
119182011-10-12 Andreas Jaeger <aj@suse.de>
11919
11920 [BZ #13268]
11921 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11922
538faaa7
UD
119232011-10-15 Ulrich Drepper <drepper@gmail.com>
11924
ab6737ff
UD
11925 * libio/iofwide.c (do_length): Avoid warning.
11926
538faaa7
UD
11927 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11928
396a21b1
UD
119292011-10-14 Ulrich Drepper <drepper@gmail.com>
11930
cdf2901f
UD
11931 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11932
38ad40ce
UD
11933 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11934 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11935 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11936 * sysdeps/i386/i686/fpu/e_log.S: New file.
11937 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11938 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11939
396a21b1
UD
11940 * ctype/ctype.h: Add support for inlined isXXX functions when
11941 compiling C++ code.
11942
6b1f68c9
AS
119432011-10-14 Andreas Schwab <schwab@redhat.com>
11944
349290c0
AS
11945 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11946
6b1f68c9
AS
11947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11948
f2282d42
RM
119492011-10-13 Roland McGrath <roland@hack.frob.com>
11950
11951 [BZ #13291]
11952 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11953
5298ffa8
AS
119542011-10-13 Andreas Schwab <schwab@redhat.com>
11955
714fad23
AS
11956 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11957 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11958 feraiseexcept.
11959
81dcc7fb
AS
11960 * sysdeps/x86_64/memrchr.S: Check for zero size.
11961
5298ffa8
AS
11962 * string/stratcliff.c: Add memrchr tests.
11963
951fbcec
LD
119642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11965
11966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11967 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11968 rawmemchr-sse2 rawmemchr-sse2-bsf.
11969 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11970 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11971 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11972 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11973 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11974 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11975 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11976 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11977 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11978 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11979 * string/memrchr.c (MEMRCHR): New macro.
11980
0ac5ae23
UD
119812011-10-12 Ulrich Drepper <drepper@gmail.com>
11982
11983 Add integration with gcc's -ffinite-math-only and optimize wrapper
11984 functions in libm.
11985 * Versions.def: Define GLIBC_2.15 version for libm.
11986 * math/Makefile (headers): Add bits/math-finite.h.
11987 * math/bits/math-finite.h: New file.
11988 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11989 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11990 * math/e_acoshl.c: Add __*_finite alias.
11991 * math/e_acosl.c: Likewise.
11992 * math/e_asinl.c: Likewise.
11993 * math/e_atan2l.c: Likewise.
11994 * math/e_atanhl.c: Likewise.
11995 * math/e_coshl.c: Likewise.
11996 * math/e_exp10.c: Likewise.
11997 * math/e_exp10f.c: Likewise.
11998 * math/e_exp10l.c: Likewise.
11999 * math/e_exp2l.c: Likewise.
12000 * math/e_fmodl.c: Likewise.
12001 * math/e_gammal_r.c: Likewise.
12002 * math/e_hypotl.c: Likewise.
12003 * math/e_j0l.c: Likewise.
12004 * math/e_j1l.c: Likewise.
12005 * math/e_jnl.c: Likewise.
12006 * math/e_lgammal_r.c: Likewise.
12007 * math/e_log10l.c: Likewise.
12008 * math/e_log2l.c: Likewise.
12009 * math/e_logl.c: Likewise.
12010 * math/e_powl.c: Likewise.
12011 * math/e_sinhl.c: Likewise.
12012 * math/e_sqrtl.c: Likewise.
12013 * math/e_scalb.c: Completely rewritten and optimized.
12014 * math/e_scalbf.c: Likewise.
12015 * math/e_scalbl.c: Likewise.
12016 * math/w_acos.c: Likewise.
12017 * math/w_acosf.c: Likewise.
12018 * math/w_acosl.c: Likewise.
12019 * math/w_acosh.c: Likewise.
12020 * math/w_acoshf.c: Likewise.
12021 * math/w_acoshl.c: Likewise.
12022 * math/w_asin.c: Likewise.
12023 * math/w_asinf.c: Likewise.
12024 * math/w_asinl.c: Likewise.
12025 * math/w_atan2.c: Likewise.
12026 * math/w_atan2f.c: Likewise.
12027 * math/w_atan2l.c: Likewise.
12028 * math/w_atanh.c: Likewise.
12029 * math/w_atanhf.c: Likewise.
12030 * math/w_atanhl.c: Likewise.
12031 * math/w_exp10.c: Likewise.
12032 * math/w_exp10f.c: Likewise.
12033 * math/w_exp10l.c: Likewise.
12034 * math/w_fmod.c: Likewise.
12035 * math/w_fmodf.c: Likewise.
12036 * math/w_fmodl.c: Likewise.
12037 * math/w_j0.c: Likewise.
12038 * math/w_j0f.c: Likewise.
12039 * math/w_j0l.c: Likewise.
12040 * math/w_j1.c: Likewise.
12041 * math/w_j1f.c: Likewise.
12042 * math/w_j1l.c: Likewise.
12043 * math/w_jn.c: Likewise.
12044 * math/w_jnf.c: Likewise.
12045 * math/w_log.c: Likewise.
12046 * math/w_logf.c: Likewise.
12047 * math/w_logl.c: Likewise.
12048 * math/w_log10.c: Likewise.
12049 * math/w_log10f.c: Likewise.
12050 * math/w_log10l.c: Likewise.
12051 * math/w_log2.c: Likewise.
12052 * math/w_log2f.c: Likewise.
12053 * math/w_log2l.c: Likewise.
12054 * math/w_pow.c: Likewise.
12055 * math/w_powf.c: Likewise.
12056 * math/w_powl.c: Likewise.
12057 * math/w_remainder.c: Likewise.
12058 * math/w_remainderf.c: Likewise.
12059 * math/w_remainderl.c: Likewise.
12060 * math/w_scalb.c: Likewise.
12061 * math/w_scalbf.c: Likewise.
12062 * math/w_scalbl.c: Likewise.
12063 * math/w_sqrt.c: Likewise.
12064 * math/w_sqrtf.c: Likewise.
12065 * math/w_sqrtl.c: Likewise.
12066 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12067 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12068 used.
12069 * math/math_private.h: Declare __kernel_standard_f.
12070 * math/w_cosh.c: Remove cruft and optimize a bit.
12071 * math/w_coshf.c: Likewise.
12072 * math/w_coshl.c: Likewise.
12073 * math/w_exp2.c: Likewise.
12074 * math/w_exp2f.c: Likewise.
12075 * math/w_exp2l.c: Likewise.
12076 * math/w_hypot.c: Likewise.
12077 * math/w_hypotf.c: Likewise.
12078 * math/w_hypotl.c: Likewise.
12079 * math/w_lgamma.c: Likewise.
12080 * math/w_lgamma_r.c: Likewise.
12081 * math/w_lgammaf.c: Likewise.
12082 * math/w_lgammaf_r.c: Likewise.
12083 * math/w_lgammal.c: Likewise.
12084 * math/w_lgammal_r.c: Likewise.
12085 * math/w_sinh.c: Likewise.
12086 * math/w_sinhf.c: Likewise.
12087 * math/w_sinhl.c: Likewise.
12088 * math/w_tgamma.c: Likewise.
12089 * math/w_tgammaf.c: Likewise.
12090 * math/w_tgammal.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12093 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12094 Minor optimizations. Pretty printing. Remove cruft.
12095 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12096 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12097 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12098 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12099 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12100 * sysdeps/i386/fpu/e_asin.S: Likewise.
12101 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12102 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12103 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12104 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12105 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12107 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12108 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12109 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12110 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12111 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12112 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12113 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12114 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12115 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12116 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12117 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12118 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12119 * sysdeps/i386/fpu/e_log.S: Likewise.
12120 * sysdeps/i386/fpu/e_log10.S: Likewise.
12121 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12123 * sysdeps/i386/fpu/e_log2.S: Likewise.
12124 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12125 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12126 * sysdeps/i386/fpu/e_logf.S: Likewise.
12127 * sysdeps/i386/fpu/e_logl.S: Likewise.
12128 * sysdeps/i386/fpu/e_pow.S: Likewise.
12129 * sysdeps/i386/fpu/e_powf.S: Likewise.
12130 * sysdeps/i386/fpu/e_powl.S: Likewise.
12131 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12132 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12133 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12134 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12135 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12137 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12138 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12139 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12161 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12163 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12164 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12165 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12166 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12167 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12169 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12171 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12174 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12175 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12176 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12178 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12179 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12180 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12231 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12235 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12236 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12237 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12238 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12239 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12240 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12241 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12242 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12243 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12248 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12249 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12250 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12251 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12252 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12253 (__isnanf): Likewise.
12254 (__isinf_ns): Likewise.
12255 (__isinf_nsf): Likewise.
12256 (__finite): Likewise.
12257 (__finitef): Likewise.
12258 (__ieee754_sqrt): Define as macro.
12259 (__ieee754_sqrtf): Define as macro.
12260 (__ieee754_sqrtl): Define as macro.
12261 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12262 inlined copy.
12263 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12264 __FINITE_MATH_ONLY__ consistent.
12265 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12266
12cc2fcd
AS
122672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12268
a843a204
AS
12269 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12270 of rawmemchr.
12271
12cc2fcd
AS
12272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12273
c853acd5
UD
122742011-10-09 Ulrich Drepper <drepper@gmail.com>
12275
12276 * po/ja.po: Update from translation team.
12277
c658d255
RM
122782011-10-08 Roland McGrath <roland@hack.frob.com>
12279
110946e4
RM
12280 * locale/programs/locarchive.c (prepare_address_space): New function.
12281 (create_archive, enlarge_archive, open_archive): Use it.
12282
50604220
RM
12283 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12284 inside [SHARED], where it is used.
12285
c658d255
RM
12286 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12287
12288 * nss/getent.c (netgroup_keys): Remove unused variable.
12289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12290
6a621eb7
UD
122912011-10-08 Ulrich Drepper <drepper@gmail.com>
12292
7edb55ce
UD
12293 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12294 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12297 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12299 * math/Makefile (libm-calls): Add s_isinf_ns.
12300 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12301 * math/multc3.c: Likewise.
12302 * math/s_casin.c: Likewise.
12303 * math/s_casinf.c: Likewise.
12304 * math/s_casinl.c: Likewise.
12305 * math/s_ccos.c: Likewise.
12306 * math/s_ccosf.c: Likewise.
12307 * math/s_ccosl.c: Likewise.
12308 * math/s_ctan.c: Likewise.
12309 * math/s_ctanf.c: Likewise.
12310 * math/s_ctanh.c: Likewise.
12311 * math/s_ctanhf.c: Likewise.
12312 * math/s_ctanhl.c: Likewise.
12313 * math/s_ctanl.c: Likewise.
12314 * math/w_fmod.c: Likewise.
12315 * math/w_fmodf.c: Likewise.
12316 * math/w_fmodl.c: Likewise.
12317 * math/w_remainder.c: Likewise.
12318 * math/w_remainderf.c: Likewise.
12319 * math/w_remainderl.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12321 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12324 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12325 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12326 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12327 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12328
187da0ae
UD
12329 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12330 of the number.
12331 * stdio-common/printf_fphex.c: Likewise.
12332 * stdio-common/printf_size.c: Likewise.
12333
9277c064
UD
12334 * math/e_exp10.c: Include math_private.h using <...> not "...".
12335 * math/e_exp10f.c: Likewise.
12336 * math/e_exp10l.c: Likewise.
12337 * math/e_exp2l.c: Likewise.
12338 * math/e_j0l.c: Likewise.
12339 * math/e_j1l.c: Likewise.
12340 * math/e_jnl.c: Likewise.
12341 * math/e_lgammal_r.c: Likewise.
12342 * math/e_rem_pio2l.c: Likewise.
12343 * math/e_scalb.c: Likewise.
12344 * math/e_scalbf.c: Likewise.
12345 * math/e_scalbl.c: Likewise.
12346 * math/k_cosl.c: Likewise.
12347 * math/k_sinl.c: Likewise.
12348 * math/k_tanl.c: Likewise.
12349 * math/s_cacoshf.c: Likewise.
12350 * math/s_catan.c: Likewise.
12351 * math/s_catanf.c: Likewise.
12352 * math/s_catanh.c: Likewise.
12353 * math/s_catanhf.c: Likewise.
12354 * math/s_catanhl.c: Likewise.
12355 * math/s_catanl.c: Likewise.
12356 * math/s_ccosh.c: Likewise.
12357 * math/s_ccoshf.c: Likewise.
12358 * math/s_ccoshl.c: Likewise.
12359 * math/s_cexp.c: Likewise.
12360 * math/s_cexpf.c: Likewise.
12361 * math/s_cexpl.c: Likewise.
12362 * math/s_clog.c: Likewise.
12363 * math/s_clog10.c: Likewise.
12364 * math/s_clog10f.c: Likewise.
12365 * math/s_clog10l.c: Likewise.
12366 * math/s_clogf.c: Likewise.
12367 * math/s_clogl.c: Likewise.
12368 * math/s_csin.c: Likewise.
12369 * math/s_csinf.c: Likewise.
12370 * math/s_csinh.c: Likewise.
12371 * math/s_csinhf.c: Likewise.
12372 * math/s_csinhl.c: Likewise.
12373 * math/s_csinl.c: Likewise.
12374 * math/s_csqrt.c: Likewise.
12375 * math/s_csqrtf.c: Likewise.
12376 * math/s_csqrtl.c: Likewise.
12377 * math/s_ctan.c: Likewise.
12378 * math/s_ctanf.c: Likewise.
12379 * math/s_ctanh.c: Likewise.
12380 * math/s_ctanhf.c: Likewise.
12381 * math/s_ctanhl.c: Likewise.
12382 * math/s_ctanl.c: Likewise.
12383 * math/s_ldexp.c: Likewise.
12384 * math/s_ldexpf.c: Likewise.
12385 * math/s_ldexpl.c: Likewise.
12386 * math/s_significand.c: Likewise.
12387 * math/s_significandf.c: Likewise.
12388 * math/s_significandl.c: Likewise.
12389 * math/w_acos.c: Likewise.
12390 * math/w_acosf.c: Likewise.
12391 * math/w_acosh.c: Likewise.
12392 * math/w_acoshf.c: Likewise.
12393 * math/w_acoshl.c: Likewise.
12394 * math/w_acosl.c: Likewise.
12395 * math/w_asin.c: Likewise.
12396 * math/w_asinf.c: Likewise.
12397 * math/w_asinl.c: Likewise.
12398 * math/w_atan2.c: Likewise.
12399 * math/w_atan2f.c: Likewise.
12400 * math/w_atan2l.c: Likewise.
12401 * math/w_atanh.c: Likewise.
12402 * math/w_atanhf.c: Likewise.
12403 * math/w_atanhl.c: Likewise.
12404 * math/w_cosh.c: Likewise.
12405 * math/w_coshf.c: Likewise.
12406 * math/w_coshl.c: Likewise.
12407 * math/w_dremf.c: Likewise.
12408 * math/w_exp10.c: Likewise.
12409 * math/w_exp10f.c: Likewise.
12410 * math/w_exp10l.c: Likewise.
12411 * math/w_exp2.c: Likewise.
12412 * math/w_exp2f.c: Likewise.
12413 * math/w_fmod.c: Likewise.
12414 * math/w_fmodf.c: Likewise.
12415 * math/w_fmodl.c: Likewise.
12416 * math/w_hypot.c: Likewise.
12417 * math/w_hypotf.c: Likewise.
12418 * math/w_hypotl.c: Likewise.
12419 * math/w_j0.c: Likewise.
12420 * math/w_j0f.c: Likewise.
12421 * math/w_j0l.c: Likewise.
12422 * math/w_j1.c: Likewise.
12423 * math/w_j1f.c: Likewise.
12424 * math/w_j1l.c: Likewise.
12425 * math/w_jn.c: Likewise.
12426 * math/w_jnf.c: Likewise.
12427 * math/w_jnl.c: Likewise.
12428 * math/w_lgamma.c: Likewise.
12429 * math/w_lgamma_r.c: Likewise.
12430 * math/w_lgammaf.c: Likewise.
12431 * math/w_lgammaf_r.c: Likewise.
12432 * math/w_lgammal.c: Likewise.
12433 * math/w_lgammal_r.c: Likewise.
12434 * math/w_log.c: Likewise.
12435 * math/w_log10.c: Likewise.
12436 * math/w_log10f.c: Likewise.
12437 * math/w_log10l.c: Likewise.
12438 * math/w_log2.c: Likewise.
12439 * math/w_log2f.c: Likewise.
12440 * math/w_log2l.c: Likewise.
12441 * math/w_logf.c: Likewise.
12442 * math/w_logl.c: Likewise.
12443 * math/w_pow.c: Likewise.
12444 * math/w_powf.c: Likewise.
12445 * math/w_powl.c: Likewise.
12446 * math/w_remainder.c: Likewise.
12447 * math/w_remainderf.c: Likewise.
12448 * math/w_remainderl.c: Likewise.
12449 * math/w_scalb.c: Likewise.
12450 * math/w_scalbf.c: Likewise.
12451 * math/w_scalbl.c: Likewise.
12452 * math/w_sinh.c: Likewise.
12453 * math/w_sinhf.c: Likewise.
12454 * math/w_sinhl.c: Likewise.
12455 * math/w_sqrt.c: Likewise.
12456 * math/w_sqrtf.c: Likewise.
12457 * math/w_sqrtl.c: Likewise.
12458 * math/w_tgamma.c: Likewise.
12459 * math/w_tgammaf.c: Likewise.
12460 * math/w_tgammal.c: Likewise.
12461
6a621eb7
UD
12462 * po/ja.po: Update from translation team.
12463
bf582445
AJ
124642011-09-29 Andreas Jaeger <aj@suse.de>
12465
f9efbf3a
AJ
12466 [BZ #13179]
12467 * sunrpc/netname.c (netname2host): Fix logic.
12468
bf582445
AJ
12469 [BZ #6779]
12470 [BZ #6783]
12471 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12472 correctly.
12473 * math/w_remainder.c (__remainder): Likewise.
12474 * math/w_remainderf.c (__remainderf): Likewise.
12475 * math/libm-test.inc (remainder_test): Add test cases.
12476
48693bea
AK
124772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12478
12479 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12480 sdiv_qrnnd.
12481
42622229
LD
124822011-10-07 Ulrich Drepper <drepper@gmail.com>
12483
12484 * string/test-memcmp.c: Avoid unncessary #defines.
12485 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12486
093ecf92
LD
124872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12488
12489 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12490 Use new sse2 version for core i3 - i7 as it's faster
12491 than sse42 version.
12492 (bit_Prefer_PMINUB_for_stringop): New.
12493 * sysdeps/x86_64/rawmemchr.S: Update.
12494 Replace with faster SSE2 version.
12495 * sysdeps/x86_64/memrchr.S: New file.
12496 * sysdeps/x86_64/memchr.S: Update.
12497 Replace with faster SSE2 version.
12498
fde56e5c
MP
124992011-09-12 Marek Polacek <mpolacek@redhat.com>
12500
12501 * elf/dl-load.c (lose): Add cast to avoid warning.
12502
21fd49a9
UD
125032011-10-07 Ulrich Drepper <drepper@gmail.com>
12504
5a06e643
UD
12505 * po/ca.po: Update from translation team.
12506
684ae515
UD
12507 * inet/getnetgrent_r.c: Hook up nscd.
12508 * nscd/Makefile (routines): Add nscd_netgroup.
12509 (nscd-modules): Add netgroupcache.
12510 (CFLAGS-netgroupcache.c): Define.
12511 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12512 (cache_search): Add const to second parameter.
12513 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12514 INNETGR.
12515 (dbs): Add netgrdb entry.
12516 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12517 (verify_persistent_db): Handle netgrdb.
12518 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12519 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12520 GETFDNETGR.
12521 (netgroup_response_header): Define.
12522 (innetgroup_response_header): Define.
12523 (datahead): Add netgroup_response_header and innetgroup_response_header
12524 elements.
12525 * nscd/nscd.conf: Add entries for netgroup cache.
12526 * nscd/nscd.h (dbtype): Add netgrdb.
12527 (_PATH_NSCD_NETGROUP_DB): Define.
12528 (netgroup_iov_disabled): Declare.
12529 (xmalloc, xcalloc, xrealloc): Move declarations here.
12530 (cache_search): Adjust prototype.
12531 Add netgroup-related prototypes.
12532 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12533 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12534 (__nscd_innetgr): Declare.
12535 * nscd/selinux.c (perms): Use access_vector_t as element type and
12536 add netgroup-related initializers.
12537 * nscd/netgroupcache.c: New file.
12538 * nscd/nscd_netgroup.c: New file.
12539 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12540 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12541 For four parameters use innetgr.
12542 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12543 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12544 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12545 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12546
21fd49a9
UD
12547 * nscd/connections.c (register_traced_file): Don't register file
12548 for disabled databases.
12549
054c0457
UD
125502011-10-06 Ulrich Drepper <drepper@gmail.com>
12551
32b63198
UD
12552 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12553
054c0457
UD
12554 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12555 from tree and freeing node.
12556
64031225
JO
125572011-09-25 Jiri Olsa <jolsa@redhat.com>
12558
12559 * nss/nsswitch.c (__nss_database_lookup): Handle
12560 nss_parse_service_list out of memory case.
12561
0490345c
JO
125622011-09-15 Jiri Olsa <jolsa@redhat.com>
12563
12564 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12565 out of memory case.
12566
3a62d00d
AS
125672011-10-04 Andreas Schwab <schwab@redhat.com>
12568
12569 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12570 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12571 pass it down.
12572 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12573 elf_machine_rela, elf_machine_lazy_rel.
12574 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12575 (ELF_DYNAMIC_DO_REL): Likewise.
12576 (ELF_DYNAMIC_DO_RELA): Likewise.
12577 (ELF_DYNAMIC_RELOCATE): Likewise.
12578 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12579 to ELF_DYNAMIC_DO_REL.
12580 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12581 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12582 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12583 elf_machine_rela.
12584 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12585 skip_ifunc, don't call ifunc function if non-zero.
12586 (elf_machine_rela): Likewise.
12587 (elf_machine_lazy_rel): Likewise.
12588 (elf_machine_lazy_rela): Likewise.
12589 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12590 (elf_machine_lazy_rel): Likewise.
12591 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12592 Likewise.
12593 (elf_machine_lazy_rel): Likewise.
12594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12595 Likewise.
12596 (elf_machine_lazy_rel): Likewise.
12597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12598 (elf_machine_lazy_rel): Likewise.
12599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12600 (elf_machine_lazy_rel): Likewise.
12601 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12602 (elf_machine_lazy_rel): Likewise.
12603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12604 (elf_machine_lazy_rel): Likewise.
12605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12606 (elf_machine_lazy_rel): Likewise.
12607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12608 (elf_machine_lazy_rel): Likewise.
12609
68577918
UD
126102011-09-28 Ulrich Drepper <drepper@gmail.com>
12611
12612 * nss/nss_files/files-init.c (_nss_files_init): Use static
12613 initialization for all the *_traced_file variables.
12614
68822d74
AS
126152011-09-28 Andreas Schwab <schwab@redhat.com>
12616
12617 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12618
2056100b
RM
126192011-09-27 Roland McGrath <roland@hack.frob.com>
12620
12621 [BZ #13226]
12622 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12623
32c76b63
AS
126242011-09-27 Andreas Schwab <schwab@redhat.com>
12625
12626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12627 Reread the line before reparsing it.
12628
bf972c9d
AS
126292011-09-26 Andreas Schwab <schwab@redhat.com>
12630
12631 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12632
e057a1b5
JM
126332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12634 Maxim Kuvyrkov <maxim@codesourcery.com>
12635 Joseph Myers <joseph@codesourcery.com>
12636
12637 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12638 if needed for __stack_chk_guard.
12639
bc7e1c36
RM
126402011-09-19 Roland McGrath <roland@hack.frob.com>
12641
ecb1482f
RM
12642 * sysdeps/posix/spawni.c (script_execute): Always define it.
12643 It will be optimized away if unused.
12644 (maybe_script_execute): New function.
12645 (__spawni): Call it.
12646
bc7e1c36
RM
12647 * Makerules: Don't include tls.make.
12648 (config-tls): Always set to thread.
12649 * tls.make.c: File removed.
12650
1c3b002b
MF
126512011-09-19 Mike Frysinger <vapier@gentoo.org>
12652
12653 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12654 * config.make.in (CPPFLAGS-config): New substituted variable.
12655
2840865d
UD
126562011-09-15 Ulrich Drepper <drepper@gmail.com>
12657
88738eb6
UD
12658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12659
cbf645a6 12660 [BZ #13192]
2840865d
UD
12661 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12662 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12663
b402e91a
RM
126642011-09-15 Roland McGrath <roland@hack.frob.com>
12665
12666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12667 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12669 (CALL_FAIL): Likewise.
12670 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12671 (CALL_FAIL): Macro removed.
12672 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12673
4c1a1f71
UD
126742011-09-15 Ulrich Drepper <drepper@gmail.com>
12675
12676 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12677 for __FINITE_MATH_ONLY__ == 1.
12678
edc121be
AS
126792011-09-15 Andreas Schwab <schwab@redhat.com>
12680
12681 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12682 __ieee754_sqrt instead of sqrt.
12683 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12684 __ieee754_sqrtf instead of sqrtf.
12685 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12686 __floorf instead of floorf.
12687 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12688 __floorf, __truncf instead of floorf, truncf.
12689
cd205654
UD
126902011-09-14 Ulrich Drepper <drepper@gmail.com>
12691
ee4d0315
UD
12692 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12693
cd205654
UD
12694 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12695 __extern_always_inline.
12696 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12697 32-bit.
12698
48b67d71
AS
126992011-09-14 Andreas Schwab <schwab@redhat.com>
12700
12701 * elf/rtld.c (dl_main): Also relocate in dependency order when
12702 doing symbol dependency testing.
12703
1ae12c75
AS
127042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12705
12706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12707 Always define `refsym'.
12708
995a80df
AS
127092011-09-13 Andreas Schwab <schwab@redhat.com>
12710
e529793b
AS
12711 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12712 (__FD_ELT): Renamed from __FDELT.
12713 * misc/bits/select2.h (__FD_ELT): Likewise.
12714 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12715 __FD_MASK instead of __FDELT, __FDMASK.
12716 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12717 Likewise.
12718 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12719 Likewise.
12720
52d4fef8
AS
12721 * elf/Makefile (gen-ldd): Fix pattern.
12722
995a80df
AS
12723 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12724 (init_tls): Likewise.
12725
8682f8b0
UD
127262011-09-12 Ulrich Drepper <drepper@gmail.com>
12727
12728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12729
de82006d
AS
127302011-09-12 Andreas Schwab <schwab@redhat.com>
12731
a7c8e6a1
AS
12732 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12733 `struct cmsghdr *' instead of `void *'.
12734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12735 Likewise.
12736
0f31fe77
AS
127372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12738
12739 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12740 if non-absolute.
12741 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12742 ldd_rewrite_script.
0f31fe77 12743
32b4c839
UD
127442011-09-11 Ulrich Drepper <drepper@gmail.com>
12745
83cd1420
UD
12746 * configure.in: Remove --with-tls option.
12747 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12748 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12749 out in case it is missing.
12750 * sysdeps/ia64/elf/configure.in: Likewise.
12751 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12752 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12753 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12754 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12755 * sysdeps/sh/elf/configure.in: Likewise.
12756 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12757 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12758 * sysdeps/x86_64/elf/configure.in: Likewise.
12759 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12760 * sysdeps/mach/hurd/tls.h: Likewise.
12761
633f745d
UD
12762 [BZ #13067]
12763 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12764
f318beb8
UD
12765 [BZ #13090]
12766 * configure.in: Fix use of AC_INIT.
12767
32b4c839
UD
12768 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12769
3ce1f295
UD
127702011-09-10 Ulrich Drepper <drepper@gmail.com>
12771
bb016596
UD
12772 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12773 __set_errno.
8e58439c
UD
12774 * malloc/hooks.c: Likewise.
12775
aebae053 12776 [BZ #11929]
02d46fc4
UD
12777 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12778 variables statically.
12779 (narenas): Initialize.
12780 (list_lock): Initialize.
bb016596
UD
12781 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12782 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12783 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12784 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12785 Add initializers to main_arena and mp_.
12786 (malloc_state): Remove pagesize member. Change all users to use
12787 GLRO(dl_pagesize).
12788
12789 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12790 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12791 is always initialized.
12792
22a89187
UD
12793 * malloc/malloc.c: Removed unused configurations and dead code.
12794 * malloc/arena.c: Likewise.
12795 * malloc/hooks.c: Likewise.
02d46fc4 12796 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12797
d063d164
UD
12798 * include/tls.h: Removed. USE___THREAD must always be defined.
12799 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12800 * elf/dl-libc.c: Likewise.
12801 * elf/dl-tsd.c: Likewise.
12802 * include/errno.h: Likewise.
12803 * include/netdb.h: Likewise.
12804 * include/resolv.h: Likewise.
12805 * inet/herrno-loc.c: Likewise.
12806 * inet/herrno.c: Likewise.
12807 * malloc/arena.c: Likewise.
12808 * malloc/hooks.c: Likewise.
12809 * malloc/malloc.c: Likewise.
12810 * resolv/res-state.c: Likewise.
12811 * resolv/res_libc.c: Likewise.
12812 * sysdeps/i386/dl-machine.h: Likewise.
12813 * sysdeps/ia64/dl-machine.h: Likewise.
12814 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12815 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12816 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12817 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12818 * sysdeps/sh/dl-machine.h: Likewise.
12819 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12821 * sysdeps/unix/i386/sysdep.S: Likewise.
12822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12823 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12828 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12832 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12833 * sysdeps/x86_64/dl-machine.h: Likewise.
12834 * tls.make.c: Likewise.
12835
3ce1f295
UD
12836 * configure.in: Remove --with-__thread option. Make tests for
12837 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12838 tls_model attribute fail if no support is available. Remove
12839 USE_IN_LIBIO.
12840 * Makeconfig: Adjust for dropped configure option. All features are
12841 now mandatory.
12842 * Makerules: Likewise.
12843 * Versions.def: Likewise.
12844 * argp/argp-fmtstream.c: Likewise.
12845 * argp/argp-fmtstream.h: Likewise.
12846 * argp/argp-help.c: Likewise.
12847 * assert/assert.c: Likewise.
12848 * config.h.in: Likewise.
12849 * config.make.in: Likewise.
12850 * configure: Likewise.
12851 * configure.in: Likewise.
12852 * csu/Versions: Likewise.
12853 * csu/init.c: Likewise.
12854 * elf/tst-audit2.c: Likewise.
12855 * elf/tst-tls10.c: Likewise.
12856 * elf/tst-tls10.h: Likewise.
12857 * elf/tst-tls11.c: Likewise.
12858 * elf/tst-tls12.c: Likewise.
12859 * elf/tst-tls14.c: Likewise.
12860 * elf/tst-tlsmod11.c: Likewise.
12861 * elf/tst-tlsmod12.c: Likewise.
12862 * elf/tst-tlsmod13.c: Likewise.
12863 * elf/tst-tlsmod13a.c: Likewise.
12864 * elf/tst-tlsmod14a.c: Likewise.
12865 * elf/tst-tlsmod15b.c: Likewise.
12866 * elf/tst-tlsmod16a.c: Likewise.
12867 * elf/tst-tlsmod16b.c: Likewise.
12868 * elf/tst-tlsmod7.c: Likewise.
12869 * elf/tst-tlsmod8.c: Likewise.
12870 * elf/tst-tlsmod9.c: Likewise.
12871 * gmon/gmon.c: Likewise.
12872 * grp/fgetgrent_r.c: Likewise.
12873 * grp/putgrent.c: Likewise.
12874 * hurd/fopenport.c: Likewise.
12875 * include/libc-symbols.h: Likewise.
12876 * include/tls.h: Likewise.
12877 * intl/gettextP.h: Likewise.
12878 * intl/loadinfo.h: Likewise.
12879 * locale/global-locale.c: Likewise.
12880 * locale/localeinfo.h: Likewise.
12881 * mach/devstream.c: Likewise.
12882 * malloc/arena.c: Likewise.
12883 * malloc/set-freeres.c: Likewise.
12884 * misc/err.c: Likewise.
12885 * misc/getttyent.c: Likewise.
12886 * misc/mntent_r.c: Likewise.
12887 * posix/getopt.c: Likewise.
12888 * posix/wordexp.c: Likewise.
12889 * pwd/fgetpwent_r.c: Likewise.
12890 * resolv/Versions: Likewise.
12891 * resolv/res_hconf.c: Likewise.
12892 * shadow/fgetspent_r.c: Likewise.
12893 * shadow/putspent.c: Likewise.
12894 * stdio-common/printf_fphex.c: Likewise.
12895 * stdio-common/tmpfile.c: Likewise.
12896 * stdlib/abort.c: Likewise.
12897 * stdlib/fmtmsg.c: Likewise.
12898 * sunrpc/auth_unix.c: Likewise.
12899 * sunrpc/clnt_perr.c: Likewise.
12900 * sunrpc/clnt_tcp.c: Likewise.
12901 * sunrpc/clnt_udp.c: Likewise.
12902 * sunrpc/clnt_unix.c: Likewise.
12903 * sunrpc/openchild.c: Likewise.
12904 * sunrpc/svc_simple.c: Likewise.
12905 * sunrpc/svc_tcp.c: Likewise.
12906 * sunrpc/svc_udp.c: Likewise.
12907 * sunrpc/svc_unix.c: Likewise.
12908 * sunrpc/xdr.c: Likewise.
12909 * sunrpc/xdr_array.c: Likewise.
12910 * sunrpc/xdr_rec.c: Likewise.
12911 * sunrpc/xdr_ref.c: Likewise.
12912 * sunrpc/xdr_stdio.c: Likewise.
12913
1248c1c4
PB
129142011-09-09 Ulrich Drepper <drepper@gmail.com>
12915
12916 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12917
129182011-07-03 Andreas Jaeger <aj@suse.de>
12919
12920 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12921 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12922 regenerate with gen-libm-tests.pl.
12923
129242010-05-12 Petr Baudis <pasky@suse.cz>
12925
12926 [BZ #11589]
12927 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12928 around j0() zero points by switching to j1().
12929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12933
f22e1074
UD
129342011-09-09 Ulrich Drepper <drepper@gmail.com>
12935
f19009c1
UD
12936 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12937 instead of 0.
12938 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12939 instead of 0. .
12940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12941 Patch in part by Pavel Roskin <proski@gnu.org>.
12942
3f8cc204
UD
12943 [BZ #13138]
12944 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12945 realloc.
12946 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12947 Free memory block if necessary.
12948
f22e1074
UD
12949 [BZ #12847]
12950 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12951 be NULL. Don't lock in this case.
12952
0a2349f9
RM
129532011-09-09 Roland McGrath <roland@hack.frob.com>
12954
12955 * elf/elf.h (ELFOSABI_GNU): New macro.
12956 (ELFOSABI_LINUX): Define to that.
12957
f3cdd467
DZ
129582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12959
12960 * string/strncat.c (strncat): Undef the symbol in case it has been
12961 defined in bits/string.h.
12962
74718d13
UD
129632011-09-09 Ulrich Drepper <drepper@gmail.com>
12964
633e9e0f
UD
12965 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12966
0a2349f9 12967 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12968 link map.
12969
f9924780
AJ
129702011-08-17 Andreas Jaeger <aj@suse.de>
12971
12972 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12973
7f5517aa
PP
129742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12975 Ian Lance Taylor <iant@google.com>
12976
12977 * math/libm-test.inc (lround_test): New testcase.
12978 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12979
762011fe
UD
129802011-09-08 Ulrich Drepper <drepper@gmail.com>
12981
92963737
UD
12982 * Makefile: Remove support for automatic cvs check-ins.
12983 * Makerules: Likewise.
12984 * config.make.in: Likewise.
12985 * configure.in: Likewise.
12986 * intl/Makefile: Likewise.
12987 * locale/Makefile: Likewise.
12988 * po/Makefile: Likewise.
12989 * posix/Makefile: Likewise.
12990 * sysdeps/gnu/Makefile: Likewise.
12991 * sysdeps/mach/hurd/Makefile: Likewise.
12992 * sysdeps/sparc/sparc32/Makefile: Likewise.
12993
b0727fd8
JS
12994 [BZ #13118]
12995 * posix/Makefile (bug-regex32-ENV): Define.
12996 Patch by John Stanley <jpsinthemix@verizon.net>.
12997
a0f33f99
UD
12998 * misc/Makefile (headers): Add bits/select2.h.
12999 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13000 * misc/bits/select2.h: New file.
13001 * include/bits/select2.h: New file.
13002 * debug/Makefile (routines): Add fdelt_chk.
13003 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13004 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13005 FD_ISSET.
13006 * debug/fdelt_chk.c: New file.
13007
762011fe
UD
13008 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13009 * wcsmbs/test-wmemcmp.c: Likewise.
13010 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13011 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13012
130132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13014
13015 * string/Makefile (strop-tests): Add memcmp.
13016 * string/test-wmemcmp.c: New file.
13017 * string/test-memcmp.c: Add wmemcmp support.
13018
7f513ec8
RM
130192011-09-08 Roland McGrath <roland@hack.frob.com>
13020
0442afb4
RM
13021 [BZ #13153]
13022 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13023 2011-07-19 change.
13024
7f513ec8
RM
13025 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13026 garbage value in a __mach_port_mod_refs call in the cases of the
13027 task-self and thread-self ports.
13028
a12b2239
ST
130292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13030
13031 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13032
610f9ab4
AS
130332011-09-08 Andreas Schwab <schwab@redhat.com>
13034
7f513ec8 13035 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13036
48882a1a
LD
130372011-09-07 Ulrich Drepper <drepper@gmail.com>
13038
b49865be
UD
13039 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13040
fdc86bc9
UD
13041 * elf/dl-libc.c (dlerror_run): Pass back error code from
13042 dl_catch_error.
13043
c966526a
UD
13044 [BZ #13123]
13045 * elf/dl-load.c (lose): Free l_origin if it is valid.
13046
48882a1a
LD
13047 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13048 names.
13049 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13052 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13053 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13054 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13055
77a2a8b4
AZ
130562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
13058 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13059 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13061 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13062 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13063 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13064 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13065 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13066 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13067 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13068
24f579d8
AM
130692011-08-15 Alan Modra <amodra@gmail.com>
13070
13071 [BZ #13092]
13072 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13073 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13074 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13075 ppc_mcount to static-only-routines.
13076 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13077 __mcount_internal.
13078 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13079 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13080
3d4837df
UD
130812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13082
13083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13084 for finite and infinity parameters.
13085
22700377
WS
130862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13087
13088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13089 and add nop instructions for throughput optimization.
13090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13091
5025581e
WS
130922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13093
13094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13095 aligned copy for power7 with vector-scalar instructions.
13096 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13097
08a300c9
L
130982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13099
13100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13101 AVX check.
13102
59178ef9
AS
131032011-09-07 Andreas Schwab <schwab@redhat.com>
13104
13105 [BZ #13144]
13106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13107 last change.
13108
e38ba7ab
UD
131092011-09-07 Ulrich Drepper <drepper@gmail.com>
13110
13111 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13112 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13113 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13115 clock_gettime.
13116
d53a73ac
UD
131172011-09-06 Ulrich Drepper <drepper@gmail.com>
13118
fc8bffcc
UD
13119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13120 Forgot to demangle the pointer.
13121
ceaa0c5d
UD
13122 * sysdeps/i386/sysdep.h: Define atom_text_section.
13123 * sysdeps/x86_64/sysdep.h: Likewise.
13124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13125 section with atom_text_section.
13126 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13128 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13131
a77d3c17
UD
13132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13134 already be defined. Change to take two parameters and don't assign
13135 result to variable. Adjust all users.
13136 Define INTERNAL_GETTIME if not already defined.
13137 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13138 call.
13139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13140 HAVE_CLOCK_GETTIME_VSYSCALL.
13141 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13142
d53a73ac
UD
13143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13144 gettimeofday vsyscall, just use time.
13145
a8f84144
AS
131462011-09-06 Andreas Schwab <schwab@redhat.com>
13147
13148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13149 <errno.h>.
13150
ef606249
UD
131512011-09-06 Ulrich Drepper <drepper@gmail.com>
13152
13153 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13154 syscall on x86-64.
13155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13156 syscall.
13157 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13159 syscall if possible.
13160
6585cb60
UD
131612011-09-05 Ulrich Drepper <drepper@gmail.com>
13162
13163 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13164 e_ident. Don't pass to find_mapsXX.
13165 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13166
a5f524e4
LD
131672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13168
13169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13170 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13171 * sysdeps/x86_64/multiarch/strchr.S: Update.
13172 Check bit_slow_BSF bit.
13173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13174 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13176
554881ef
UD
131772011-09-05 Ulrich Drepper <drepper@gmail.com>
13178
d96de963
UD
13179 [BZ #13134]
13180 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13181 before glibc 2.15.
13182 (tryshell): Define.
13183 (__spawni): Change last parameter to be flag. Test
13184 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13185 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13186 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13187 * posix/spawni.c: Likewise.
13188 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13189 * posix/spawnp.c: Likewise. Change normal version to use
13190 SPAWN_XFLAGS_USE_PATH.
13191 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13192 SPAWN_XFLAGS_TRY_SHELL.
13193
d48e5868
UD
13194 [BZ #13150]
13195 * posix/glob.h: Remove gcc 1.x support.
13196
554881ef
UD
13197 [BZ #13068]
13198 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13199
693fb948
LD
132002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13201
13202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13203 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13204 strrchr-sse2-bsf
13205 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13206 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13207 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13211
1b48c537
UD
132122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13213
49d42c37
UD
13214 * sysdeps/x86_64/wcscmp.S: New file.
13215
1b48c537
UD
13216 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13217 wcscmp-c wcscmp-sse2
13218 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13219 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13220 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13221 * wcsmbs/wcscmp.c: Allow renaming.
13222
15c95c5d
DM
132232011-09-05 David S. Miller <davem@davemloft.net>
13224
13225 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13226 stack slot, rather than the struct return pointer slot.
13227 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13228 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13230 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13231
2f0ad8f3
UD
132322011-09-05 Ulrich Drepper <drepper@gmail.com>
13233
d88ae418
UD
13234 * po/ja.po: Update from translation team.
13235
2f0ad8f3
UD
13236 [BZ #13144]
13237 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13238 kernel in 64-bit binaries.
13239
5f4318d1
DM
132402011-09-01 David S. Miller <davem@davemloft.net>
13241
13242 * elf/elf.h (HWCAP_SPARC_*): Move to..
13243 * sysdeps/sparc/sysdep.h: this new file and add new values.
13244 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13245 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13246 _DL_HWCAP_COUNT to 24.
13247 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13248 entries.
13249 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13250 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13251 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13253 instead of magic constants.
13254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13255
3ba57516
DM
132562011-08-31 David S. Miller <davem@davemloft.net>
13257
13258 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13260 Reimplement to do errno handling inline.
13261 (SYSCALL_ERROR_HANDLER): New macro.
13262 (__SYSCALL_STRING): Do not do errno handling in asm.
13263 (__CLONE_SYSCALL_STRING): Delete.
13264 (__INTERNAL_SYSCALL_STRING): Delete.
13265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13266 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13267 (PSEUDO): Reimplement to do errno handling inline.
13268 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13269 (SYSCALL_ERROR_HANDLER): New macro.
13270 (__SYSCALL_STRING): Do not do errno handling in asm.
13271 (__CLONE_SYSCALL_STRING): Delete.
13272 (__INTERNAL_SYSCALL_STRING): Delete.
13273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13274 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13275 i386.
13276 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13277 (inline_syscall*): Add 'err' argument.
13278 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13279 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13280 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13281 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13282
13283 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13284 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13285
2bc17433
AS
132862011-08-30 Andreas Schwab <schwab@redhat.com>
13287
13288 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13289
fbeb5f4d
JO
132902011-08-29 Jiri Olsa <jolsa@redhat.com>
13291
13292 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13293 directive.
13294
ad69cc26
DM
132952011-08-24 David S. Miller <davem@davemloft.net>
13296
13297 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13298
39dd69df
AS
132992011-08-24 Andreas Schwab <schwab@redhat.com>
13300
13301 * elf/Makefile: Add rules to build and run unload8 test.
13302 * elf/unload8.c: New file.
13303 * elf/unload8mod1.c: New file.
13304 * elf/unload8mod1x.c: New file.
13305 * elf/unload8mod2.c: New file.
13306 * elf/unload8mod3.c: New file.
13307
13308 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13309 it wasn't used.
13310
2c0b250a
DM
133112011-08-23 David S. Miller <davem@davemloft.net>
13312
13313 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13314 subtract stack bias.
13315 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13316 %sp not %fp in calculations.
13317 (_JMPBUF_UNWINDS_ADJ): Likewise.
13318
22044b48
DM
13319 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13320 (aio_suspend): Call it to force an exception region around the
13321 AIO_MISC_WAIT() invocation.
13322
2cae4995
AS
133232011-08-23 Andreas Schwab <schwab@redhat.com>
13324
13325 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13326 backslash.
13327
873a772e
AJ
133282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13329
13330 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13331 protection macro.
13332 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13333 and <dl-machine.h>.
13334 (Elf64_FuncDesc): Remove.
13335
25ad0df1
DM
133362011-08-22 David S. Miller <davem@davemloft.net>
13337
13338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13339 sigaltstack check, add missing cfi directives.
13340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13341 missing cfi directives, and sigaltstack handling.
13342
e888bcbe
AS
133432011-08-16 Andreas Schwab <schwab@redhat.com>
13344
13345 [BZ #11724]
13346 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13347 object is seen twice.
13348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13349
13350 * elf/Makefile (distribute): Add tst-initorder2.c.
13351 (tests): Add tst-initorder2.
13352 (modules-names): Add tst-initorder2a tst-initorder2b
13353 tst-initorder2c tst-initorder2d. Add rules to build them.
13354 ($(objpfx)tst-initorder2.out): New rule.
13355 * elf/tst-initorder2.c: New file.
13356 * elf/tst-initorder2.exp: New file.
13357
87162f46
AS
133582011-08-22 Andreas Schwab <schwab@redhat.com>
13359
70538b7f
AS
13360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13361
f55ffe58
AS
13362 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13363 dependencies back to end of function.
13364
87162f46
AS
13365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13366 $(elfobjdir)/ld.so.
13367
91b392a4
UD
133682011-08-21 Ulrich Drepper <drepper@gmail.com>
13369
13370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13371 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13373 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13374 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13375 of __vdso_gettimeofday.
13376 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13377 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13378 attribute_hidden.
13379 (_libc_vdso_platform_setup): Remove initialization of
13380 __vdso_gettimeofday and __vdso_time.
13381
5c43483f
UD
133822011-08-20 Ulrich Drepper <drepper@gmail.com>
13383
775a77e7
UD
13384 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13385 and fgetc_unlocked.
13386 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13387 getc_unlocked.
89f447ed 13388
49c74ba9
UD
13389 * elf/dl-open.c (add_to_global): Report additions to the global scope
13390 for LD_DEBUG=scopes.
13391 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13392 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13393
5c43483f
UD
13394 [BZ #13114]
13395 * stdio-common/Makefile (tests): Add bug24.
13396 * stdio-common/bug24.c: New file.
13397
a101b025
AJ
133982011-08-19 Andreas Jaeger <aj@suse.de>
13399
13400 [BZ #13114]
13401 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13402 non-existant file when using close-on-exec mode.
13403
c88f1766
UD
134042011-08-20 Ulrich Drepper <drepper@gmail.com>
13405
0276a718
UD
13406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13407 the very first instruction.
13408
c88f1766
UD
13409 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13410 the CFI state in the end.
13411 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13412 inclusion of dl-trampoline.h.
13413 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13414
51ccffa0
AS
134152011-08-19 Andreas Schwab <schwab@redhat.com>
13416
94d7165f
AS
13417 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13418 expectations for long double.
13419
51ccffa0
AS
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13421 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13422
fd708658 134232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13424
13425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13426 artificual limit depends upon the system page size.
13427
44f0a71e
UD
134282011-08-17 Ulrich Drepper <drepper@gmail.com>
13429
13430 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13431 * resolv/Makefile: Define CFLAGS-libresolv.
13432
8de79a24
AS
134332011-08-17 Andreas Schwab <schwab@redhat.com>
13434
13435 * nss/makedb.c (compute_tables): Make variables used in nested
13436 function static.
13437
27724598
UD
134382011-08-17 Ulrich Drepper <drepper@gmail.com>
13439
c5305d88
UD
13440 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13441 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13442 if buffer was too small.
13443
27724598
UD
13444 * elf/pldd.c (main): Attach to all threads in the process.
13445 Rewrite /proc handling to use *at functions.
13446
076fe015
UD
134472011-08-16 Ulrich Drepper <drepper@gmail.com>
13448
174baab3
UD
13449 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13450 specifies first scope to show.
13451 (dl_open_worker): Update callers. Move printing scope of new
13452 object to before the relocation.
44f0a71e 13453 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13454 * sysdeps/generic/ldsodefs.h: Update declaration.
13455
076fe015
UD
13456 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13457 string for the scope number.
13458
a60df2c3
UD
134592011-08-14 Ulrich Drepper <drepper@gmail.com>
13460
13461 * nscd/servicescache.c (cache_addserv): Make sure written is always
13462 initialized.
13463
5e4287d1
RM
134642011-08-14 Roland McGrath <roland@hack.frob.com>
13465
85ae0589
RM
13466 * sysdeps/i386/i486/bits/atomic.h
13467 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13468 statement expression, so as to suppress "set but not used" warning.
13469 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13470
69f63097
RM
13471 * string/strncat.c (STRNCAT): Use prototype definition.
13472
675456ef
RM
13473 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13474 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13475 -Iprograms here.
13476 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13477 (localedef-modules): Add localedef.
13478 (locale-modules): Add locale.
13479
5e4287d1
RM
13480 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13481 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13482 to avoid a warning.
13483
9c96ff23
DM
134842011-08-14 David S. Miller <davem@davemloft.net>
13485
13486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13487 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13488
f9ddf089
UD
134892011-08-13 Ulrich Drepper <drepper@gmail.com>
13490
44f0a71e 13491 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13492 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13493 * elf/rtld.c (dl_main): Set l_name of vDSO.
13494 Call _dl_show_scope when DL_DEBUG_SCOPES.
13495 (process_dl_debug): Recognize scopes flag and also set it for all.
13496 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13497 Declare _dl_show_scope.
13498
1dc27704
UD
13499 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13500 (do_dlopen): Pass caller_dlopen to dl_open.
13501 (__libc_dlopen_mode): Initialize caller_dlopen.
13502
f9ddf089
UD
13503 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13504 of libc. Make tolower call locale-independent. Optimize a bit by
13505 using isdigit instead of isalnum.
13506 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13507
9ac533d3
UD
135082011-08-12 Ulrich Drepper <drepper@gmail.com>
13509
13510 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13511 was a dependency or dynamically loaded.
13512
89edf2e9
UD
135132011-08-11 Ulrich Drepper <drepper@gmail.com>
13514
8e999d29
UD
13515 * intl/l10nflist.c: Allow architecture-specific pop function.
13516 * sysdeps/x86_64/l10nflist.c: New file.
13517
89edf2e9
UD
13518 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13519 classification.
13520
14d96785
AS
135212011-08-10 Andreas Schwab <schwab@redhat.com>
13522
13523 * include/dirent.h: Add libc_hidden_proto for scandirat and
13524 scandirat64. Don't declare __scandirat64.
13525 * dirent/scandirat.c: Add libc_hidden_def.
13526 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13527 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13528
6761ac04
DM
135292011-08-10 David S. Miller <davem@davemloft.net>
13530
13531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13532 enum.
13533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13536
c55fbd1e
UD
135372011-08-09 Ulrich Drepper <drepper@gmail.com>
13538
13539 * Versions.def [libc]: Add GLIBC_2.15.
13540 * dirent/Makefile (routines): Add scandirat and scandirat64.
13541 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13542 GLIBC_2.15.
13543 * dirent/dirent.h: Declare scandirat and scandirat64.
13544 * dirent/scandirat.c: New file.
13545 * dirent/scandirat64.c: New file.
13546 * sysdeps/wordsize-64/scandirat.c: New file.
13547 * sysdeps/wordsize-64/scandirat64.c: New file.
13548 * dirent/opendir.c: Define opendirat.
13549 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13550 using scandirat.
13551 * dirent/scandir64.c: Adjust for scandir.c change.
13552 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13553 __scandirat64, and __scandir_cancel_handler.
13554 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13555 additional parameter and use openat instead of open (outside of ld.so).
13556 Add new __opendir as wrapper around __opendirat.
13557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13558 here without requiring old scandirat implementation.
13559
879165f2
UD
135602011-08-08 Ulrich Drepper <drepper@gmail.com>
13561
13562 * dirent/scandir.c (cancel_handler): Renamed to
13563 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13564 defined. Adjust users.
13565 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13566 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13567
cb7e923b
UD
135682011-08-04 Ulrich Drepper <drepper@gmail.com>
13569
16292edd
UD
13570 * string/test-string.h (IMPL): Use __STRING to expand name and then
13571 stringify it.
13572
cb7e923b
UD
13573 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13574 of cleanups.
13575
cff82933
LD
135762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13577
13578 * string/Makefile: Update.
13579 (strop-tests): Append strncat.
13580 * string/test-wcscmp.c: New file.
13581 New comprehensive test for wcscmp.
13582 * string/test-strcmp.c: Update.
13583 (WIDE): New define.
13584
9be9bfcc
AS
135852011-07-22 Andreas Schwab <schwab@redhat.com>
13586
13587 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13588 line.
13589
2e96f1c7
AS
135902011-07-26 Andreas Schwab <schwab@redhat.com>
13591
13592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13593 encoding to ACE if AI_IDN.
13594
85188888
JJ
135952011-08-01 Jakub Jelinek <jakub@redhat.com>
13596
13597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13598 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13599
5fa16e9b
LD
136002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13601
13602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13603 Fix overflow bug in strncat.
13604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13605
13606 * string/test-strncat.c: Update.
13607 Add new tests for checking overflow bugs.
13608
136092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13610
13611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13612 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13613 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13614 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13616 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13617 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13618 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13619 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13620
13621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13622 (USE_AS_STRCAT): Define.
13623 Add strcat and strncat support.
13624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13625
8c1a459f
AS
136262011-07-25 Andreas Schwab <schwab@redhat.com>
13627
13628 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13629 __n bigger than INT_MAX+1.
13630 (__strncmp_g): Likewise.
13631
bba33c28
UD
136322011-07-23 Ulrich Drepper <drepper@gmail.com>
13633
798be72d
UD
13634 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13635 * libio/stido.h: Likewise.
13636
8accd4dc
UD
13637 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13638 (AF_NFC): Define.
13639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13640 (AF_NFC): Define.
13641
cbff0d96
UD
13642 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13647
9191c04a
UD
13648 [BZ #13021]
13649 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13650 installed.
13651
bba33c28
UD
13652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13653 typo.
13654 (_dl_x86_64_save_sse): Likewise.
13655
90f139dd
UD
136562011-07-22 Ulrich Drepper <drepper@gmail.com>
13657
1aae088a
UD
13658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13659 OSXSAVE.
13660 (_dl_x86_64_save_sse): Likewise.
13661
8e2045f5
UD
13662 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13663
90f139dd
UD
13664 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13665
1d002f25
AS
136662011-07-21 Andreas Schwab <schwab@redhat.com>
13667
13668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13669 change.
13670 (_dl_x86_64_save_sse): Use correct AVX check.
13671
21137f89
UD
136722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13673
13674 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13675 bug in strncpy/strncat.
13676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13677
a65c0b7a
UD
136782011-07-21 Ulrich Drepper <drepper@gmail.com>
13679
13680 * string/tester.c (test_strcat): Add tests for different alignments
13681 of source and destination.
13682 (test_strncat): Likewise.
13683
6986b98a
UD
136842011-07-20 Ulrich Drepper <drepper@gmail.com>
13685
90bb2039
UD
13686 [BZ #12852]
13687 * posix/glob.c (glob): Check passed in values before using them in
13688 expressions to avoid some overflows.
13689 (glob_in_dir): Likewise.
13690
5644ef54
UD
13691 [BZ #13007]
13692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13693 check for AVX enablement so that we don't crash with old kernels and
13694 new hardware.
13695 * elf/tst-audit4.c: Add same checks here.
13696 * elf/tst-audit6.c: Likewise.
13697
13698 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13699
bfc9dc9b
AS
137002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13701
13702 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13703
702e64bb
UD
137042011-07-20 Ulrich Drepper <drepper@gmail.com>
13705
13706 * po/cs.po: Update from translation team.
13707 * po/bg.po: Likewise.
13708
295e904f
MP
137092011-07-12 Marek Polacek <mpolacek@redhat.com>
13710
13711 * misc/sys/cdefs.h: Add support for const attribute.
13712 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13713 to gnu_dev_{major,minor,makedev} functions.
13714
3ff94596
MP
137152011-07-20 Marek Polacek <mpolacek@redhat.com>
13716
13717 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13718
28b59fca
AS
137192011-07-20 Andreas Schwab <schwab@redhat.com>
13720
13721 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13722 strlen results.
13723
19df733e
AK
137242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13725
13726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13727 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13728 register in order to avoid conflicts with the soft frame pointer
13729 being held in r11 when necessary.
13730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13731 (INTERNAL_VSYSCALL_NCS): Likewise.
13732
c8835729
MP
137332011-07-14 Marek Polacek <mpolacek@redhat.com>
13734
13735 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13736 * elf/dl-fini.c (_dl_fini): Adjust caller.
13737 * elf/dl-close.c (_dl_close_worker): Likewise.
13738 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13739
b902330c
MP
137402011-07-15 Marek Polacek <mpolacek@redhat.com>
13741
8991e135
MP
13742 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13743 "aux_cache->nlibs < 0".
13744
b902330c
MP
13745 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13746 in the reload-count case.
13747
99710781
LD
137482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13749
13750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13751 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13752 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13753 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13754 * sysdeps/x86_64/multiarch/strcat.S: New file.
13755 * sysdeps/x86_64/multiarch/strncat.S: New file.
13756 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13757 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13758 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13759 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13761 (USE_AS_STRCAT): Define.
13762 Add strcat and strncat support.
13763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13765 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13766 * string/strncat.c: Update.
13767 (USE_AS_STRNCAT): Define.
13768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13769 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13770 and i7.
13771 * sysdeps/x86_64/multiarch/init-arch.h
13772 (bit_Prefer_PMINUB_for_stringop): New.
13773 (index_Prefer_PMINUB_for_stringop): Likewise.
13774 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13775 bit_Prefer_PMINUB_for_stringop.
13776
7dc6bd90
UD
137772011-07-19 Ulrich Drepper <drepper@gmail.com>
13778
13779 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13780 buffer64.
13781 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13782 of casting of buffer.
13783 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13784 buffer32 and buffer64.
13785 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13786 writes instead of casting of buffer.
13787 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13788 buffer32.
13789 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13790 casting of buffer.
13791
e0e72284
AS
137922011-07-19 Andreas Schwab <schwab@redhat.com>
13793
13794 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13795
feb1eb0b
UD
137962011-07-19 Ulrich Drepper <drepper@gmail.com>
13797
13798 * nscd/nscd.c (termination_handler): Don't do anything for a database
13799 if it has not yet been initialized.
13800
298711ff
UD
138012011-07-18 Ulrich Drepper <drepper@gmail.com>
13802
13803 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13804
138052011-07-15 Marek Polacek <mpolacek@redhat.com>
13806
13807 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13808
f9d68389
UD
138092011-07-18 Ulrich Drepper <drepper@gmail.com>
13810
13811 * po/nl.po: Update from translation team.
13812 * po/sv.po: Likewise.
13813
db290cf5
RM
138142011-07-16 Roland McGrath <roland@hack.frob.com>
13815
13816 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13817 now disallowed by GCC.
5c550700 13818
fd5e21c7
RM
13819 * configure.in (use-default-link): Default to yes if a test -shared
13820 link meets our qualifications.
13821 * configure: Regenerated.
13822
5c550700
RM
13823 * config.make.in (output-format): New variable.
13824 * configure.in: Check for ld --print-output-format support.
13825 * configure: Regenerated.
13826 * Makerules ($(common-objpfx)format.lds)
13827 [$(output-format) != unknown]: Just use $(output-format),
13828 instead of the linker-script munging.
13829
9fa2c032
RM
138302011-07-14 Roland McGrath <roland@hack.frob.com>
13831
a6928d51
RM
13832 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13833 of $(common-objpfx)shlib.lds.
13834 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13835
661607b3
RM
13836 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13837 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13838
9fa2c032
RM
13839 * configure.in (-z relro check): Adjust test code to add a large
13840 writable data section after it.
13841 * configure: Regenerated.
13842
defe9061
RM
138432011-07-11 Roland McGrath <roland@hack.frob.com>
13844
13845 * configure.in (-z relro check): Fix test code to make the variable
13846 truly const.
13847 * configure: Regenerated.
13848
319b9ad4
UD
138492011-07-11 Ulrich Drepper <drepper@gmail.com>
13850
13851 * nscd/nscd.h (struct traced_file): Define.
13852 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13853 elements. Add traced_files.
13854 (inotify_fd): Declare.
13855 (register_traced_file): Declare.
13856 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13857 (inotify_fd): Export.
13858 (resolv_conf_descr): Remove.
13859 (nscd_init): Move inotify descriptor creation to main.
13860 Don't register files for notification here.
13861 (register_traced_file): New function.
13862 (invalidate_cache): Don't use reset_res to determine whether to call
13863 res_init, go through the list of registered files.
13864 (main_loop_poll): The inotify descriptors are now stored in the
13865 structures for the traced files.
13866 (main_loop_epoll): Likewise
13867 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13868 to __nss_disable_nscd.
13869 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13870 for a database anymore. Check the records for all the registered
13871 files instead.
13872 * nss/Makefile (libnss_files-routines): Add files-init.
13873 (libnss_db-routines): Add db-init.
13874 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13875 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13876 * nss/nss_db/db-init.c: New file.
13877 * nss/nss_files/files-init.c: New file.
13878 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13879 __nss_lookup_function.
13880 (__nss_lookup_function): Call nss_load_library.
13881 (nss_load_all_libraries): New function.
13882 (__nss_disable_nscd): Take parameter with callback function for files
13883 to register. Set is_nscd. Load all the DSOs for the NSS modules
13884 used for the cached services.
13885 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13886 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13887 options for features to all the files in nscd.
13888
13889 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13890
23bee3e8
RM
138912011-07-10 Roland McGrath <roland@hack.frob.com>
13892
13893 * csu/elf-init.c (__libc_csu_init): Comment typo.
13894
46a5b7f0
UD
138952011-07-09 Ulrich Drepper <drepper@gmail.com>
13896
13897 * po/pl.po: Update from translation team.
13898 * po/ja.po: Likewise.
13899 * po/ru.po: Likewise.
13900 * po/ko.po: Likewise.
13901 * po/fr.po: Likewise.
13902
d30cf5bb
RM
139032011-07-09 Roland McGrath <roland@hack.frob.com>
13904
113ddea4
RM
13905 * configure.in (.ctors/.dtors header and trailer check):
13906 Use an empirical test on a built program.
13907 * configure: Regenerated.
13908
574920b4
RM
13909 * configure.in (-z relro check): Use an empirical test on a built DSO.
13910 Detect, but do not require, on ia64.
13911 * configure: Regenerated.
13912
d30cf5bb
RM
13913 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13914 Update tests that use readelf to use $READELF instead.
13915 * configure: Regenerated.
13916
8538fdb3
UD
139172011-07-08 Ulrich Drepper <drepper@gmail.com>
13918
13919 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13920 if the result is not used.
13921
04d08991
AJ
139222011-07-05 Andreas Jaeger <aj@suse.de>
13923
13924 [BZ#9696]
13925 * stdlib/tst-strtod.c: Add testcase.
13926
de283087
AD
139272011-07-07 Ulrich Drepper <drepper@gmail.com>
13928
4e5f31c8 13929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13930 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13931 The latter has a higher limit. Take additional parameter to pass to
13932 the new function.
13933 (__pathconf): Pass file to __statfs_link_max.
13934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13935 __statfs_link_max.
13936 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13937 __statfs_link_max.
13938
de283087
AD
13939 [BZ #12868]
13940 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13942 Handle Lustre.
13943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13944 (__statfs_filesize_max): Likewise.
13945 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13946
c75fa153
AJ
139472011-07-05 Andreas Jaeger <aj@suse.de>
13948
13949 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13950
1a544854
UD
139512011-07-06 Marek Polacek <mpolacek@redhat.com>
13952
13953 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13954 `status' variable.
13955 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13956 Likewise.
13957
6f0eec67
UD
139582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 * Makefile (strop-tests): Add strncat.
13961 * string/test-strncat.c: New file.
13962
aae30307
UD
139632011-06-30 Marek Polacek <mpolacek@redhat.com>
13964
13965 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13966
c0cfb5eb
UD
139672011-06-21 Andreas Jaeger <aj@suse.de>
13968
13969 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13970 Copy rule from iconvdata/Makefile.
13971
01636b21
UD
139722011-07-06 Ulrich Drepper <drepper@gmail.com>
13973
13974 [BZ #12922]
13975 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13976 but no long options are defined, just return 'W'.
13977
9895c8bc
UD
139782011-06-22 Marek Polacek <mpolacek@redhat.com>
13979
13980 [BZ #9696]
13981 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13982
5d4cf042
UD
139832011-07-06 Ulrich Drepper <drepper@gmail.com>
13984
13985 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13986 netgroups to read.
960e5535 13987 (innetgr): Likewise.
5d4cf042 13988
751eb97e
RM
139892011-07-05 Roland McGrath <roland@hack.frob.com>
13990
13991 * config.make.in (install_root): Default to $(DESTDIR).
13992
f15f1e45
UD
139932011-07-05 Ulrich Drepper <drepper@gmail.com>
13994
13995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13996
4e34ac6a
RM
139972011-07-02 Roland McGrath <roland@hack.frob.com>
13998
5e9b6af4
RM
13999 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14000
84f9ea0f
RM
14001 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14002 containing directory rather than embedding absolute directory names.
14003
ea5ee9f7
RM
14004 * scripts/check-local-headers.sh: Rewritten using awk.
14005 Match by word, not by line. Print error messages for matches.
14006 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14007
1b74661a
RM
14008 * Makerules [shlib-lds-flags empty]:
14009 ($(common-objpfx)libc_pic.opts): New target.
14010 ($(common-objpfx)libc_pic.os.clean): New target.
14011 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14012
14013 * config.make.in (OBJCOPY): New variable.
14014 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14015 * configure: Regenerated.
14016
f781ef40
RM
14017 * config.make.in (use-default-link): New variable.
14018 * configure.in (use_default_link): Grok --with-default-link to set it.
14019 * configure: Regenerated.
14020 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14021 (shlib-lds, shlib-lds-flags): Define to empty.
14022
2d4fa81e
RM
14023 * Makerules (shlib-lds): New variable.
14024 (shlib-lds-flags): New variable.
14025 (build-shlib, build-moduile, build-module-asneeded): Use it.
14026 ($(common-objpfx)libc.so): Use $(shlib-lds).
14027 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14028 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14029
31fffa6b
RM
14030 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14031 DT_FLAGS/DT_FLAGS_1 with zero flags.
14032
4e34ac6a
RM
14033 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14034 linker script munging.
14035
fcfc776b
UD
140362011-07-02 Ulrich Drepper <drepper@gmail.com>
14037
14038 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14039 as 128-bit value.
14040 * crypt/sha512.c (sha512_process_block): Perform total addition using
14041 128-bit if possible.
14042 (__sha512_finish_ctx): Likewise.
14043 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14044 as 64-bit value.
14045 * crypt/sha256.c (SWAP64): Define.
14046 (sha256_process_block): Perform total addition using 64-bit if
14047 possible.
14048 (__sha256_finish_ctx): Likewise.
14049
99231d9a
UD
140502011-07-01 Ulrich Drepper <drepper@gmail.com>
14051
14052 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14054 * nscd/hstcache.c (cache_addhst): Likewise.
14055 * nscd/grpcache.c (cache_addgr): Likewise.
14056 * nscd/aicache.c (addhstaiX): Likewise
14057 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14058
445b4a53
TK
140592011-07-01 Thorsten Kukuk <kukuk@suse.de>
14060
14061 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14063 * nscd/hstcache.c (cache_addhst): Likewise.
14064 * nscd/grpcache.c (cache_addgr): Likewise.
14065 * nscd/aicache.c (addhstaiX): Likewise
14066
6d4d8e8e
AS
140672011-07-01 Andreas Schwab <schwab@redhat.com>
14068
14069 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14070 domain only when needed.
14071
89f654c5
AS
140722011-06-30 Andreas Schwab <schwab@redhat.com>
14073
14074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14075 is always restored.
14076
cf3b23ff
UD
140772011-06-29 Ulrich Drepper <drepper@gmail.com>
14078
14079 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14080 are re-adding the entry.
14081 * nscd/servicescache.c (cache_addserv): Likewise.
14082
751626f9
AJ
140832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14084
14085 * sysdeps/generic/dl-irel.h: fix protection against multiple
14086 inclusions.
14087 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14088
9113ea1f
UD
140892011-06-28 Ulrich Drepper <drepper@gmail.com>
14090
5c0b8d90
UD
14091 [BZ #12935]
14092 * malloc/memusage.sh: Fix quoting in message.
14093 * debug/xtrace.sh: Likewise.
14094
9113ea1f
UD
14095 * configure.in: Remove support for --experimental-malloc option, make
14096 it the default.
14097 * config.make.in: Likewise.
14098 * malloc/Makefile: Likewise.
14099
a4172181
AS
141002011-06-27 Andreas Schwab <schwab@redhat.com>
14101
14102 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14103 two-byte characters.
14104
78a7eee7
RM
141052011-06-27 Roland McGrath <roland@hack.frob.com>
14106
62bede13
RM
14107 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14108 AC_CACHE_CHECK invocation.
14109 * configure: Regenerated.
14110
78a7eee7
RM
14111 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14112
5ce33a62
UD
141132011-06-27 Ulrich Drepper <drepper@gmail.com>
14114
034807a9
UD
14115 [BZ #12350]
14116 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14117 bit from old_res_options.
14118
4902da17
UD
14119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14120
5ce33a62
UD
14121 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14122 value type for setfct.
14123
c2344f56
L
141242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14125
14126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14127 __gettimeofday instead of gettimeofday.
14128
68468076
UD
141292011-06-26 Ulrich Drepper <drepper@gmail.com>
14130
14131 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14132
acb0d739
L
141332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14134
14135 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14136
14137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14138 info.
14139
8912479f
L
141402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14143 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14144 strcpy-sse2-unaligned strncpy-sse2-unaligned
14145 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14146 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14147 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14148 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14149 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14151 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14152 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14153 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14154 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14155 (STRCPY): Support SSE2 and SSSE3 versions.
14156
d5495a11
UD
141572011-06-24 Ulrich Drepper <drepper@gmail.com>
14158
14159 [BZ #12874]
14160 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14161 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14162 kernels which artificially limit size of requests.
14163
0b1cbaae
L
141642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14165
14166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14167 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14168 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14169 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14170 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14171 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14172 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14173 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14176 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14177 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14178 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14179 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14180 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14182 Enable unaligned load optimization for Intel Core i3, i5 and i7
14183 processors.
14184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14185 Define.
14186 (index_Fast_Unaligned_Load): Define.
14187 (HAS_FAST_UNALIGNED_LOAD): Define.
14188
07f494a0
MP
141892011-06-23 Marek Polacek <mpolacek@redhat.com>
14190
14191 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14192
fa3fc0fe
UD
141932011-06-22 Ulrich Drepper <drepper@gmail.com>
14194
14195 [BZ #12907]
14196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14197 until it is clear that the information is realy needed.
14198 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14199
e12df166
AS
142002011-06-22 Andreas Schwab <schwab@redhat.com>
14201
14202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14203
852eb34d
UD
142042011-06-22 Ulrich Drepper <drepper@gmail.com>
14205
84e2a551
UD
14206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14207 /sys/devices/system/cpu/online if it is usable.
14208
852eb34d
UD
14209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14210 reading the information from the /proc filesystem to once a second.
14211
6e502e19
UD
142122011-06-21 Andreas Jaeger <aj@suse.de>
14213
14214 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14215 NULL after inclusion of kernel headers.
14216
75d39ff2
UD
142172011-06-21 Ulrich Drepper <drepper@gmail.com>
14218
51f9aa6a
UD
14219 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14220 calls to internal_setent.
14221
c0244a9d
UD
14222 [BZ #12885]
14223 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14224 addresses using gethostbyname4_r ignore IPv4 addresses.
14225
c5e3c2ae
UD
14226 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14227 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14228
75d39ff2
UD
14229 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14230
42675c6f
DM
142312011-06-20 David S. Miller <davem@davemloft.net>
14232
14233 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14234 inclusions.
14235 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14236
14237 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14238 (elf_irel): Use it.
14239 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14240 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14241 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14242 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14243 * sysdeps/x86_64/dl-irel.h: Likewise.
14244
14245 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14246 * elf/dl-sym.c: Likewise.
14247
57912a71
UD
142482011-06-15 Ulrich Drepper <drepper@gmail.com>
14249
14250 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14251 need to dereference resplen2.
14252
ee22793d
AS
142532011-06-14 Andreas Schwab <schwab@redhat.com>
14254
14255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14256
a9e836b0
UD
142572011-06-15 Ulrich Drepper <drepper@gmail.com>
14258
77fb9117
UD
14259 * Makeconfig: Define vardbdir and inst_vardbdir.
14260 * nss/Makefile: Add rules to install db-Makefile.
14261
40c1b22c
UD
14262 * nss/nss_db/db-XXX.c: Cleanup.
14263
9f2da732
UD
14264 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14265 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14266 GLIBC_PRIVATE.
14267 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14268 * nss/makedb.c: Implement -g option to specify that value strings
14269 are generated and should not be added to table iterated over for
14270 get*ent calls.
14271 * nss/nss_db/db-initgroups.c: New file.
14272
82e9a1f7
UD
14273 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14274 interface.
14275
c41af17e
UD
14276 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14277 (internal_getgrouplist): Adjust to name change.
14278 Update use_initgroups_entry if this is not the first call.
14279 * nss/databases.def: Add initgroups entry.
14280
a9e836b0
UD
14281 * nss/makedb.c (compute_tables): Check result of multiple hash table
14282 sizes to minimize maximum chain length.
14283
2666d441
UD
142842011-06-14 Ulrich Drepper <drepper@gmail.com>
14285
14286 * Versions.def: Add entry for libnss_db.
14287 * shlib-versions: Likewise.
14288 * nss/Makefile: Add rules to build libnss_db.
14289 * nss/Versions: Add libnss_db information. Organize libnss_files
14290 entries better.
14291 * nss/db-Makefile: Add gshadow support. Change rules for the new
14292 makedb progra. Some minor improvements to generate smaller files.
14293 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14294 here from...
14295 * nss/makedb.c: ...here.
14296 Improve database format to be smaller and require less memory at
14297 runtime.
14298 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14299 db anymore.
14300 * nss/nss_db/db-netgrp.c: Likewise.
14301 * nss/nss_db/db-open.c: Likewise.
14302 * nss/nss_files/flies-XXX.x: Adjust comments.
14303 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14304 * nss/nss_files/files-grp.c: Likewise.
14305 * nss/nss_files/files-hosts.c: Likewise.
14306 * nss/nss_files/files-network.c: Likewise.
14307 * nss/nss_files/files-proto.c: Likewise.
14308 * nss/nss_files/files-pwd.c: Likewise.
14309 * nss/nss_files/files-rpc.c: Likewise.
14310 * nss/nss_files/files-service.c: Likewise.
14311 * nss/nss_files/files-sgrp.c: Likewise.
14312 * nss/nss_files/files-spwd.c: Likewise.
14313 * nss/nss_db/db-alias.c: Removed.
14314 * nss/nss_db/dummy-db.h: Removed.
14315
9ee76b5a
UD
143162011-06-02 Ulrich Drepper <drepper@gmail.com>
14317
14318 * nss/makedb.c: Rewritten to not use database library.
14319 * nss/Makefile: Update to build new makedb program.
14320
c71ca1f8
AJ
143212011-06-14 Andreas Jaeger <aj@suse.de>
14322
14323 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14324 memset declaration.
14325
3154bfb8
UD
143262011-06-10 Andreas Schwab <schwab@redhat.com>
14327
14328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14329 tmpbuf.
14330
b350afab
RM
143312011-06-10 Roland McGrath <roland@hack.frob.com>
14332
decd4e50
RM
14333 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14334 * elf/Makefile ($(objpfx)ld.so): Likewise.
14335
5615eaf2
RM
14336 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14337 Don't list ld.so twice in dependencies.
14338
14339 * posix/bug-regex31.c: Include <stdlib.h>.
14340
14341 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14342
14343 * nis/nss_compat/compat-spwd.c
14344 (getspent_next_nss_netgr): Remove unused variable.
14345 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14346
14347 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14348 nonmembers" output to use the right array.
14349
14350 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14351
14352 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14353
14354 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14355 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14356 * catgets/gencat.c (read_input_file): Likewise.
14357 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14358
14359 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14360 variable definition inside #if's controlling its use.
14361
14362 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14363
14364 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14365
14366 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14367
14368 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14369 unreachable code.
14370
14371 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14372
b68e08db
RM
14373 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14374 * configure: Regenerated.
14375
b350afab
RM
14376 * Makerules: Revert last change.
14377 * elf/Makefile: Likewise.
14378
28368601
RM
143792011-06-09 Roland McGrath <roland@hack.frob.com>
14380
14381 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14382 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14383 (reloc-link): Likewise.
14384
11988f8f
UD
143852011-06-09 Ulrich Drepper <drepper@gmail.com>
14386
14387 * elf/Makefile: Add rules to build pldd.
14388 * elf/pldd.c: New file.
14389 * elf/pldd-xx.c: New file.
14390
e80fab37
UD
143912011-06-07 Ulrich Drepper <drepper@gmail.com>
14392
14393 * version.h: Update for 2.15 development version.
14394
9b849836
DM
143952011-06-07 David S. Miller <davem@davemloft.net>
14396
14397 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14398 ifuncs.
14399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14400 elf_machine_lazy_rel): Likewise.
14401 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14403 elf_machine_lazy_rel): Likewise.
14404 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14405 dl_hwcap via passed in argument.
14406 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14407 Likewise.
14408
5a31b283
AK
144092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14410
14411 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14412
069e52f8
RM
144132011-06-06 Roland McGrath <roland@hack.frob.com>
14414
14415 [BZ #12849]
14416 * manual/fdl-1.1.texi: New file, verbatim from:
14417 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14418 * manual/lgpl-2.1.texi: New file, verbatim from:
14419 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14420 * manual/Makefile (licenses): New variable, list those new file names.
14421 (texis): Use it.
14422 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14423
14424 * manual/fdl.texi: File removed.
14425 * manual/lesser.texi: File removed.
14426 * manual/libc.texinfo (Copying, Documentation License):
14427 Use new @include file names, put @appendix directive before @include.
14428
f16846a5
JJ
144292011-06-04 Jakub Jelinek <jakub@redhat.com>
14430
14431 [BZ #12841]
14432 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14433 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14434 (mq_open): Add __NTH.
14435
3d29045b
L
144362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14437
14438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14439 Assume Intel Core i3/i5/i7 processor if AVX is available.
14440
8c297311
UD
144412011-05-31 Ulrich Drepper <drepper@gmail.com>
14442
14443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14444 typo.
14445
c8fc0c91
UD
144462011-05-31 Andreas Schwab <schwab@redhat.com>
14447
14448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14449 memory. Use alloca_account. Fix memory leak when retrying.
14450
5b27a807
UD
144512011-05-31 Ulrich Drepper <drepper@gmail.com>
14452
356f8bc6
UD
14453 * version.h (RELEASE): Bump for 2.14 release.
14454 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14455
5b27a807
UD
14456 * config.make.in (RANLIB): Remove entry.
14457
01f16ab0
UD
144582011-05-30 Ulrich Drepper <drepper@gmail.com>
14459
41fce8bd
UD
14460 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14461 (libc.pot): Work around missing support for .ksh extension in xgettext.
14462
4769ae77
UD
14463 [BZ #12684]
14464 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14465 if both request failed.
14466 (send_dg): In case of server errors clear resplen or *resplen2.
14467
6b1e7d19
UD
14468 [BZ #12454]
14469 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14470 when there are multiple maps.
14471 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14472 (_dl_fini): Remove test here.
14473
01f16ab0
UD
14474 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14475
b1ebd700
UD
144762011-05-29 Ulrich Drepper <drepper@gmail.com>
14477
7ae22829
UD
14478 [BZ #12350]
14479 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14480 bit from old_res_options.
14481 (gaih_inet): Likewise.
14482
553149f6 14483 [BZ #11099]
18a84741 14484 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14485 as signed.
14486
652ffab1
UD
14487 * resolv/res_init.c (res_setoptions): Make the code more compact.
14488
16985fd0
UD
14489 [BZ #11558]
14490 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14491 set RES_USEVC.
14492
0464f746
UD
14493 [BZ #11634]
14494 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14495
7d17596c
UD
14496 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14497
cf6bbbd7
UD
14498 [BZ #11781]
14499 * malloc/malloc.h: Declare malloc hook variables as volatile.
14500
13f1ab36
UD
14501 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14502 in last patch.
14503
b1ebd700
UD
14504 [BZ #11799]
14505 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14506 raise in the comment.
80e2212d
UD
14507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14509 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14510
ce67228d
UD
145112011-05-28 Ulrich Drepper <drepper@gmail.com>
14512
8887a920
UD
14513 [BZ #12811]
14514 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14515 grow the buffers more if it already has to be sufficient.
14516 (build_wcs_upper_buffer): Likewise.
14517 * posix/regexec.c (check_matching): Likewise.
14518 (clean_state_log_if_needed): Likewise.
14519 (extend_buffers): Don't enlarge buffers beyond size of the input
14520 buffer.
14521 Patches mostly by Emil Wojak <emil@wojak.eu>.
14522 * posix/bug-regex32.c: New file.
14523 * posix/Makefile (tests): Add bug-regex32.
14524
4f031072
UD
14525 * locale/findlocale.c (_nl_find_locale): Return right away if
14526 _nl_explode_name failed.
14527 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14528
d0478f0c
UD
14529 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14530
de81b246
UD
14531 * debug/xtrace.sh: Unify messages.
14532 * malloc/memusage.sh: Likewise.
14533
c738465a
UD
14534 [BZ #12813]
14535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14536 time symbol from vDSO. Substitute with vsyscall if not available.
14537 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14538 __vdso_time.
14539
f1f929d7
UD
14540 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14541 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14542 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14543 Add sendmmsg and internal_sendmmsg.
14544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14547
ce67228d
UD
14548 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14549 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14551
e57420c6
UD
145522011-05-27 Ulrich Drepper <drepper@gmail.com>
14553
a8509ca5
UD
14554 [BZ #12813]
14555 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14556 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14557 available.
14558 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14559 __vdso_getcpu.
14560
e57420c6
UD
14561 [BZ #12814]
14562 * iconvdata/Makefile (tests): Add bug-iconv9.
14563 * iconvdata/bug-iconv9.c: New file.
14564
4d07db15
AS
145652011-05-27 Andreas Schwab <schwab@redhat.com>
14566
14567 [BZ #12814]
14568 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14569
ea486f69
JJ
145702011-05-25 Jakub Jelinek <jakub@redhat.com>
14571
14572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14573 (struct user_regs_struct): Change intcs field back to cs.
14574
6f038433
UD
145752011-05-25 Ulrich Drepper <drepper@gmail.com>
14576
14577 * po/ja.po: Update from translation team.
14578
67f86a25
UD
145792011-05-23 Ulrich Drepper <drepper@gmail.com>
14580
14581 [BZ #12795]
14582 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14583 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14584
def7fbd6
AS
145852011-05-20 Andreas Schwab <schwab@redhat.com>
14586
14587 * stdlib/longlong.h: Update from GCC.
14588
f50ef8f1
AS
145892011-05-23 Andreas Schwab <schwab@redhat.com>
14590
14591 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14592 parameter name.
14593 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14594 Add parameter name.
14595 (__sysconf): Pass it down.
14596
de7ce8f1
UD
145972011-05-22 Ulrich Drepper <drepper@gmail.com>
14598
f2962a71
UD
14599 [BZ #12671]
14600 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14601 some situations.
14602 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14603 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14604 add in in __libc_use_alloca calls. Adjust callers.
14605 (glob): Use malloc in some situations.
14606
de7ce8f1
UD
14607 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14608 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14609 pltexit.
14610
aec84f53
UD
146112011-05-21 Ulrich Drepper <drepper@gmail.com>
14612
05bb4a68
UD
14613 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14614 and CLOCK_BOOTTIME_ALARM.
14615
7ea72f99
UD
14616 [BZ #12782]
14617 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14618 is returned.
14619
7e4afad5
UD
14620 * string/_strerror.c (__strerror_r): Print negative errors as signed
14621 numbers.
14622
8e211fec
UD
14623 [BZ #12777]
14624 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14625 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14626 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14627
f7d82dc9
UD
14628 * configure.in: Fix typo in redirection and correct removal of test
14629 files in two cases.
14630
cc9e536d
UD
14631 [BZ #12788]
14632 * locale/setlocale.c (new_composite_name): Fix test to check for
14633 identical name of all categories.
14634
aec84f53
UD
14635 [BZ #12792]
14636 * libio/filedoalloc.c (local_isatty): New function.
14637 (_IO_file_doallocate): Use local_isatty.
14638 * stdio-common/perror.c (perror): In case a new stream is used
14639 forward the stream error.
14640 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14641 error flag.
14642
78e64fdc
RT
146432011-05-20 Ulrich Drepper <drepper@gmail.com>
14644
34a9094f
UD
14645 [BZ #11869]
14646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14647 alloca.
14648 * include/alloca.h (extend_alloca_account): Define.
14649
78e64fdc
RT
14650 [BZ #11857]
14651 * posix/regex.h: Fix comments with documentation of user-accessible
14652 fields after compilation and describe correct free'ing of pattern
14653 after re_compile_pattern.
14654 Patch by Reuben Thomas <rrt@sc3d.org>.
14655
457bddfc
RA
146562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14657
14658 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14659 and -mno-altivec to prevent the compiler from using Altivec and/or
14660 VSX instructions when the corresponding registers are not available.
14661
a4527b51
AS
146622011-05-19 Andreas Schwab <schwab@redhat.com>
14663
14664 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14665
ed690b2f
UD
146662011-05-19 Ulrich Drepper <drepper@gmail.com>
14667
14668 * libio/freopen.c (freopen): Use __dup2, not dup2.
14669 * libio/freopen64.c (freopen64): Likewise.
14670
8db73634
L
146712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 [BZ #12775]
14674 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14675 * math/Makefile (tests): Add test-powl.
14676 (CFLAGS-test-powl.c): Define.
14677 * math/test-powl.c: New file.
14678
0a197a9d
L
146792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14682
ee30c380
UD
146832011-05-17 Ulrich Drepper <drepper@gmail.com>
14684
14685 [BZ #11837]
14686 * iconvdata/gb18030.c: Update to GB18020-2005.
14687
6ce75379
UD
146882011-05-16 Ulrich Drepper <drepper@gmail.com>
14689
a4b89fd8
AR
14690 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14691 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14692 Patch by Aharon Robbins <arnold@skeeve.com>.
14693
ea389b12
UD
14694 [BZ #11892]
14695 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14696 on the stack.
14697
68a3f91f
UD
14698 [BZ #11895]
14699 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14700 through underflows.
14701
15cc7dd1
UD
14702 [BZ #12766]
14703 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14704 point to strings before performing equality test for error_one_per_line
14705 mode.
14706
f3799213
UD
14707 [BZ #11697]
14708 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14709
d79a9c94
UD
14710 [BZ #11820]
14711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14712 (struct user_fpregs_struct): Avoid __uint*_t types.
14713
56e5eb46
UD
14714 [BZ #6420]
14715 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14716 symbol info. Use it instead of calling _dl_addr locally.
14717 (lock_and_info): New function.
14718 (tr_freehook): Call lock_and_info and pass symbol info as additional
14719 parameter to tr_where.
14720 (tr_mallochook): Likewise.
14721 (tr_reallochook): Likewise.
14722 (tr_memalignhook): Likewise.
14723
6ce75379
UD
14724 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14725 used and couldn't be at all thread-safe.
14726
f8a3b5bf
UD
147272011-05-15 Ulrich Drepper <drepper@gmail.com>
14728
94b7cc37
UD
14729 * libio/freopen.c (freopen): Don't close old file descriptor
14730 before the new one is opened. Instead dup the new file descriptor
14731 to the old one after the new stream is created.
14732 * libio/freopen64.c (freopen64): Likewise.
14733 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14734 * libio/fileops.c (_IO_new_file_close_it): Handle new
14735 _IO_FLAGS2_NOCLOSE flag.
14736 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14737 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14738 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14739 _IO_FLAGS2_NOCLOSE flag.
14740 * include/unistd.h: Add hidden_proto for dup3.
14741 Define __have_dup3.
14742 * io/dup3.c: Define hidden symbol.
14743 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14744
bd25564e
UD
14745 [BZ #7101]
14746 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14747 when an incomplete long option is used.
14748 * posix/tst-getopt_long1.c: New file.
14749 * posix/Makefile (tests): Add tst-getopt_long1.
14750
c84cfef4
UD
14751 [BZ #10138]
14752 * scripts/config.guess: Update from autoconf-2.68.
14753 * scripts/config.sub: Likewise.
14754
3b85df27
UD
14755 [BZ #10157]
14756 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14757 tests into ...
14758 (has_cpuclock): ...this. New function.
14759 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14760 macro here based on has_cpuclock code.
14761
15a856b1
UD
14762 [BZ #10149]
14763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14764 First byte (not low byte) is now always NUL.
14765 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14766
05f399e6
UD
14767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14768 Use non-cancelable interfaces.
14769
10a52685 14770 [BZ #9809]
94ecc67d
UD
14771 * locale/iso-639.def: Add entry for Sorani.
14772
f8a3b5bf
UD
14773 [BZ #11901]
14774 * include/stdlib.h: Move include protection to the right place.
14775 Define abort_msg_s. Declare __abort_msg with it.
14776 * stdlib/abort.c (__abort_msg): Adjust type.
14777 * assert/assert.c (__assert_fail_base): New function. Majority
14778 of code from __assert_fail. Allocate memory for __abort_msg with
14779 mmap.
14780 (__assert_fail): Now call __assert_fail_base.
14781 * assert/assert-perr.c: Remove bulk of implementation. Use
14782 __assert_fail_base.
14783 * include/assert.hL Declare __assert_fail_base.
14784 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14785 mmap.
14786 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14787
1af4e298
UD
147882011-05-14 Ulrich Drepper <drepper@gmail.com>
14789
f8a3b5bf 14790 [BZ #11952]
d26dfc60
MG
14791 [BZ #12453]
14792 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14793 until all modules are registered in the DTV.
14794 * elf/Makefile: Add rules to build and run tst-tls19.
14795 * elf/tst-tls19.c: New file.
14796 * elf/tst-tls19mod1.c: New file.
14797 * elf/tst-tls19mod2.c: New file.
14798 * elf/tst-tls19mod3.c: New file.
14799 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14800
2fc54d6f
UD
14801 [BZ #12083]
14802 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14803 correctly.
14804
98d76b46
UD
14805 [BZ #12601]
14806 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14807 two-byte sequence errors.
14808 * iconvdata/Makefile (tests): Add bug-iconv8.
14809 * iconvdata/bug-iconv8.c: New file.
14810
da3c19ef
UD
14811 [BZ #12626]
14812 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14813 buf2 definition.
14814
ca408c15
UD
14815 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14816
d6f67f7d
UD
14817 [BZ #12432]
14818 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14819 (dummy_getcfa): New function.
14820 (init): Get _Unwind_GetCFA address, use dummy if not found.
14821 (backtrace_helper): In recursion check, also check whether CFA changes.
14822 (__backtrace): Completely initialize arg.
14823
1af4e298 14824 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14825 storing incomplete byte sequence in state object. Avoid testing for
14826 guaranteed too small input if we know there is enough data available.
1af4e298 14827
da62f81b
AS
148282011-05-11 Andreas Schwab <schwab@redhat.com>
14829
14830 * Makeconfig (+link-pie): Indent.
14831 * Rules (binaries-pie): Define if $(have-fpie) and
14832 $(build-shared).
14833 (binaries-shared): Also filter out $(binaries-pie).
14834 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14835 * nscd/Makefile (others-pie): Add nscd.
14836 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14837 ($(objpfx)nscd): Remove command override.
14838 * login/Makefile (others-pie): Add pt_chown.
14839 ($(objpfx)pt_chown): Remove command override.
14840 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14841 remove command overrides.
14842
fcabc0f8
UD
148432011-05-13 Ulrich Drepper <drepper@gmail.com>
14844
20030ae6
UD
14845 * libio/tst_putwc.c: Fix error messages.
14846
fcabc0f8
UD
14847 [BZ #12724]
14848 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14849 currently writing and seek to current position when not.
14850 * libio/Makefile (tests): Add bug-fclose1.
14851 * libio/bug-fclose1.c: New file.
14852
320a5dc0
PB
148532011-05-12 Ulrich Drepper <drepper@gmail.com>
14854
14855 [BZ #12511]
14856 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14857 don't set DF_1_NODELETE here.
14858 (do_lookup_x): When entering new entry test for copy relocation
14859 and if necessary set DF_1_NODELETE flag.
14860 * elf/tst-unique4.cc: New file.
14861 * elf/tst-unique4.h: New file.
14862 * elf/tst-unique4lib.cc: New file.
14863 * elf/Makefile: Add rules to build and run tst-unique4.
14864 Patch by Piotr Bury <pbury@goahead.com>.
14865
22836f52
UD
148662011-05-11 Ulrich Drepper <drepper@gmail.com>
14867
f574184a
UD
14868 [BZ #12052]
14869 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14870
e1fb097f
UD
14871 [BZ #12625]
14872 * misc/mntent_r.c (addmntent): Flush the stream after the output
14873
22836f52
UD
14874 [BZ #12393]
14875 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14876 (is_trusted_path_normalize): Skip initial colon. Append slash
14877 to empty buffer. Duplicate is_trusted_path code but allow
14878 constructed patch to be prefix.
14879 (is_dst): Allow $ORIGIN followed by /.
14880 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14881 Correct testing of result of is_trusted_path_normalize
14882 (decompose_rpath): Fix warning.
14883
7b3b0b2a
UD
148842011-05-10 Ulrich Drepper <drepper@gmail.com>
14885
14886 [BZ #11257]
14887 * grp/initgroups.c (internal_getgrouplist): When we found the service
14888 list through the initgroups entry in nsswitch.conf do not always
14889 continue on a successful lookup. Don't always use the
eac80ce2 14890 __nss_group_database value if it is set.
7b3b0b2a
UD
14891 * nss/nsswitch.conf (initgroups): Change action for successful db
14892 lookup to continue for compatibility.
14893
2a81eaa5
UD
148942011-05-09 Ulrich Drepper <drepper@gmail.com>
14895
be97a69e
UD
14896 [BZ #11532]
14897 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14898 and CP774 modules.
14899 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14900 and CP774 modules.
14901 * iconvdata/tst-tables.sh: Likewise.
14902 * iconvdata/cp770.c: New file.
14903 * iconvdata/cp771.c: New file.
14904 * iconvdata/cp772.c: New file.
14905 * iconvdata/cp773.c: New file.
14906 * iconvdata/cp774.c: New file.
14907 * iconvdata/testdata/CP770: New file.
14908 * iconvdata/testdata/CP770..UTF8: New file.
14909 * iconvdata/testdata/CP771: New file.
14910 * iconvdata/testdata/CP771..UTF8: New file.
14911 * iconvdata/testdata/CP772: New file.
14912 * iconvdata/testdata/CP772..UTF8: New file.
14913 * iconvdata/testdata/CP773: New file.
14914 * iconvdata/testdata/CP773..UTF8: New file.
14915 * iconvdata/testdata/CP774: New file.
14916 * iconvdata/testdata/CP774..UTF8: New file.
14917
14918 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14919 END CHARMAP line.
14920 * iconvdata/gen-8bit-gap.sh: Likewise.
14921 * iconvdata/gen-8bit.sh: Likewise.
14922
c1e9e399
UD
14923 * locale/iso-639.def: Add ary entry.
14924
24c55fb3 14925 [BZ #11258]
96b4b1b0
UD
14926 * locale/C-translit.h.in: Add U20A1 transliteration.
14927
bdc2f971
KB
14928 [BZ #12178]
14929 * locale/iso-639.def: Add wae entry.
14930 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14931
2952b117
UD
14932 [BZ #12545]
14933 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14934 for n.
14935
2a81eaa5
UD
14936 [BZ #12711]
14937 * locale/C-translit.h.in: Add entry for U20B9.
14938 Patch by pravin.d.s@gmail.com.
14939
28377d1b
UD
149402011-05-08 Ulrich Drepper <drepper@gmail.com>
14941
7fb90fb8
UD
14942 [BZ #12713]
14943 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14944 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14945 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14946 in rtld. Use *stat64.
7fb90fb8 14947 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14948 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14949 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14950 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14951 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14952 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14953 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14954 __fstatat64 macros.
7fb90fb8
UD
14955 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14956 * dirent/rewinddir.c: Add libc_hidden_def.
14957 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14958 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14959
28377d1b
UD
14960 * include/dirent.h (__alloc_dir): Add flags parameter.
14961 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14962 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14963 __alloc_dir.
14964 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14965 from fdopendir if O_CLOEXEC is already set.
14966
66bdbaa4
AM
149672011-03-15 Alan Modra <amodra@gmail.com>
14968
14969 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14970 l_tls_firstbyte_offset non-zero. Save padding offset in
14971 l_tls_firstbyte_offset for later use.
14972 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14973 freeing static tls block.
14974
95721191
JN
149752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14976
14977 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14978 where #ifdef was intended. The intent is to prevent ARG_MAX from
14979 being defined by the kernel headers.
14980
f87dfb1f
UD
149812011-05-07 Ulrich Drepper <drepper@gmail.com>
14982
14983 [BZ #12734]
14984 * resolv/resolv.h: Define RES_NOTLDQUERY.
14985 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14986 no-tld-query and set RES_NOTLDQUERY.
14987 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14988 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14989 modern BIND to search name as TLD unless forbidden.
14990
47c3cd7a
UD
149912011-05-07 Petr Baudis <pasky@suse.cz>
14992 Ulrich Drepper <drepper@gmail.com>
14993
14994 [BZ #12393]
14995 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14996 (is_trusted_path): ...to here.
c1e9ea35 14997 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14998 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14999 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15000
8a35c912
PP
150012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15002
15003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15004 __BEGIN/__END_DECLS.
15005
acd41f47
UD
150062011-05-06 Ulrich Drepper <drepper@gmail.com>
15007
15008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15009 NSS_STATUS_NOTFOUND if no record was found.
15010
597df647
AS
150112011-05-05 Andreas Schwab <schwab@redhat.com>
15012
15013 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15014 (headers-not-in-tirpc): Remove rpc/netdb.h
15015 * resolv/netdb.h: Revert last change.
15016
b9af1301
PP
150172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15018
15019 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15020 circular dependency between libgcc.a and libc.a.
15021
4e34d5f5
AS
150222011-05-05 Andreas Schwab <schwab@redhat.com>
15023
15024 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15025 * nis/Makefile: Don't install rpcsvc/*.
15026 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15027 instead of <rpc/types.h>.
15028 (MAXHOSTNAMELEN): Define.
15029
00ee369c
AS
150302011-05-03 Andreas Schwab <schwab@redhat.com>
15031
15032 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15033
0b592a30
MB
150342011-04-28 Maciej Babinski <mbabinski@google.com>
15035
15036 [BZ #12714]
15037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15038 gethostbyname4_r when IPv6 results are possible.
15039
6e04cbbe
UD
150402011-05-02 Ulrich Drepper <drepper@gmail.com>
15041
15042 [BZ #12723]
15043 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15044 _PC_PIPE_BUF handling.
15045
e4ecafe0
BH
150462011-04-30 Bruno Haible <bruno@clisp.org>
15047
15048 [BZ #12717]
15049 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15050 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15051 to 'int'.
15052 * inet/getnameinfo.c (getnameinfo): Likewise.
15053
125ee683
UD
150542011-04-29 Ulrich Drepper <drepper@gmail.com>
15055
15056 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15057 to groups setting in database lookup.
15058 * nss/nsswitch.conf: Add initgroups entry.
15059
b722481a
EB
150602011-04-22 Ulrich Drepper <drepper@gmail.com>
15061
15062 [BZ #12685]
15063 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15064 mode string.
15065 Patch by Eric Blake <eblake@redhat.com>.
15066
4df46dbd
L
150672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15068
15069 * sunrpc/Makefile (need-export-routines): Add svc_run.
15070 (routines): Remove svc_run.
15071 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15072 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15073 * sunrpc/svc_run.c (svc_run): Likewise.
15074 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15075
e84142d2
UD
150762011-04-21 Ulrich Drepper <drepper@gmail.com>
15077
15078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15079 problem in reallocation in last patch.
15080
877175d8
UD
150812011-04-20 Ulrich Drepper <drepper@gmail.com>
15082
15083 * sunrpc/Makefile: Move inclusion of Rules.
15084
ab8eed78
UD
150852011-04-19 Ulrich Drepper <drepper@gmail.com>
15086
15087 * nss/nss_files/files-initgroups.c: New file.
15088 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15089 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15090 _nss_files_initgroups_dyn.
15091
e3d8f584
RS
150922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15093
15094 * elf/elf.h (R_ARM_IRELATIVE): Define.
15095
af190f45
UD
150962011-04-19 Ulrich Drepper <drepper@gmail.com>
15097
15098 * po/ru.po: Update from translation team.
15099
53cf59ef
UD
151002011-04-17 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15103 dependencies.
15104
4c559bcd
MF
151052011-02-06 Mike Frysinger <vapier@gentoo.org>
15106
15107 [BZ #12653]
15108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15109 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15113
4420675c
AS
151142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15115
15116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15117 differing bytes.
15118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15121
75ea32ab
UD
151222011-04-17 Ulrich Drepper <drepper@gmail.com>
15123
15124 [BZ #12420]
15125 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15126 storing it.
15127 * stdlib/bug-getcontext.c: New file.
15128 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15129
27390476
AK
151302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15131
15132 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15133 instructions into .machine "z9-109".
15134 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15136
10442705
AK
151372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15138
15139 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15140 between environment variables and auxiliary vector.
15141
7b57bfe5
UD
151422011-04-16 Ulrich Drepper <drepper@gmail.com>
15143
15144 * Makefile: Add rules to build linkobj/libc.so.
15145 * include/libc-symbols.h: Define libc_hidden_nolink.
15146 * include/rpc/auth.h: Mark functions which are to be hidden.
15147 * include/rpc/auth_des.h: Likewise.
15148 * include/rpc/auth_unix.h: Likewise.
15149 * include/rpc/clnt.h: Likewise.
15150 * include/rpc/des_crypt.h: Likewise.
15151 * include/rpc/key_prot.h: Likewise.
15152 * include/rpc/pmap_clnt.h: Likewise.
15153 * include/rpc/pmap_prot.h: Likewise.
15154 * include/rpc/pmap_rmt.h: Likewise.
15155 * include/rpc/rpc_msg.h: Likewise.
15156 * include/rpc/svc.h: Likewise.
15157 * include/rpc/svc_auth.h: Likewise.
15158 * include/rpc/xdr.h: Likewise.
15159 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15160 * nss/Makefile: Likewise.
15161 * sunrpc/Makefile: Don't install headers. Build library with normal
15162 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15163 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15164 for the compat linking library. Remove use of INTDEF/INTUSE.
15165 * sunrpc/auth_none.c: Likewise.
15166 * sunrpc/auth_unix.c: Likewise.
15167 * sunrpc/authdes_prot.c: Likewise.
15168 * sunrpc/authuxprot.c: Likewise.
15169 * sunrpc/clnt_gen.c: Likewise.
15170 * sunrpc/clnt_perr.c: Likewise.
15171 * sunrpc/clnt_raw.c: Likewise.
15172 * sunrpc/clnt_simp.c: Likewise.
15173 * sunrpc/clnt_tcp.c: Likewise.
15174 * sunrpc/clnt_udp.c: Likewise.
15175 * sunrpc/clnt_unix.c: Likewise.
15176 * sunrpc/des_crypt.c: Likewise.
15177 * sunrpc/des_soft.c: Likewise.
15178 * sunrpc/get_myaddr.c: Likewise.
15179 * sunrpc/key_call.c: Likewise.
15180 * sunrpc/key_prot.c: Likewise.
15181 * sunrpc/netname.c: Likewise.
15182 * sunrpc/pm_getmaps.c: Likewise.
15183 * sunrpc/pm_getport.c: Likewise.
15184 * sunrpc/pmap_clnt.c: Likewise.
15185 * sunrpc/pmap_prot.c: Likewise.
15186 * sunrpc/pmap_prot2.c: Likewise.
15187 * sunrpc/pmap_rmt.c: Likewise.
15188 * sunrpc/publickey.c: Likewise.
15189 * sunrpc/rpc_cmsg.c: Likewise.
15190 * sunrpc/rpc_common.c: Likewise.
15191 * sunrpc/rpc_dtable.c: Likewise.
15192 * sunrpc/rpc_prot.c: Likewise.
15193 * sunrpc/rpc_thread.c: Likewise.
15194 * sunrpc/rtime.c: Likewise.
15195 * sunrpc/svc.c: Likewise.
15196 * sunrpc/svc_auth.c: Likewise.
15197 * sunrpc/svc_authux.c: Likewise.
15198 * sunrpc/svc_raw.c: Likewise.
15199 * sunrpc/svc_run.c: Likewise.
15200 * sunrpc/svc_simple.c: Likewise.
15201 * sunrpc/svc_tcp.c: Likewise.
15202 * sunrpc/svc_udp.c: Likewise.
15203 * sunrpc/svc_unix.c: Likewise.
15204 * sunrpc/svcauth_des.c: Likewise.
15205 * sunrpc/xcrypt.c: Likewise.
15206 * sunrpc/xdr.c: Likewise.
15207 * sunrpc/xdr_array.c: Likewise.
15208 * sunrpc/xdr_float.c: Likewise.
15209 * sunrpc/xdr_intXX_t.c: Likewise.
15210 * sunrpc/xdr_mem.c: Likewise.
15211 * sunrpc/xdr_rec.c: Likewise.
15212 * sunrpc/xdr_ref.c: Likewise.
15213 * sunrpc/xdr_sizeof.c: Likewise.
15214 * sunrpc/xdr_stdio.c: Likewise.
15215
e6c61494
UD
152162011-04-10 Ulrich Drepper <drepper@gmail.com>
15217
15218 [BZ #12650]
15219 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15220 * sysdeps/ia64/dl-tls.h: Likewise.
15221 * sysdeps/powerpc/dl-tls.h: Likewise.
15222 * sysdeps/s390/dl-tls.h: Likewise.
15223 * sysdeps/sh/dl-tls.h: Likewise.
15224 * sysdeps/sparc/dl-tls.h: Likewise.
15225 * sysdeps/x86_64/dl-tls.h: Likewise.
15226 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15227
34fe483e
AS
152282011-03-14 Andreas Schwab <schwab@redhat.com>
15229
15230 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15231 rpath element also skip the following colon.
15232 (expand_dynamic_string_token): Add is_path parameter and pass
15233 down to DL_DST_REQUIRED and _dl_dst_substitute.
15234 (decompose_rpath): Call expand_dynamic_string_token with
15235 non-zero is_path. Ignore empty rpaths.
15236 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15237 with zero is_path.
15238
f12a32e6
AS
152392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15240
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15242 Make cancelable.
15243
38a7d692
UD
152442011-04-09 Ulrich Drepper <drepper@gmail.com>
15245
15246 [BZ #12655]
15247 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15248 Patch by Filipe David Manana <fdmanana@apache.org>.
15249
e451d22b
AS
152502011-04-07 Andreas Schwab <schwab@redhat.com>
15251
15252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15253 Maintain aligned stack.
15254 (CHECK_RSP): Remove unused macro.
15255
dedc7c7b
UD
152562011-04-03 Ulrich Drepper <drepper@gmail.com>
15257
15258 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15260
94521213
UD
152612011-04-02 Ulrich Drepper <drepper@gmail.com>
15262
15263 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15264
8cb700c0 15265 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15266
0354e355
L
152672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 [BZ #12518]
15270 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15271 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15272 * sysdeps/x86_64/memmove.c: New file.
15273 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15274 (memcpy): Renamed to ...
15275 (__new_memcpy): This.
15276 (memcpy): Provide GLIBC_2_14 memcpy.
15277 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15278 (memcpy): Provide GLIBC_2_2_5 memcpy.
15279
8593482f
UD
152802011-04-01 Ulrich Drepper <drepper@gmail.com>
15281
15282 [BZ #12631]
15283 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15284
81a5726b
AS
152852011-03-30 Andreas Schwab <schwab@redhat.com>
15286
15287 * misc/syncfs.c: New file.
15288 * misc/Makefile (routines): Add syncfs.
15289 * posix/unistd.h: Declare syncfs.
15290 * sysdeps/unix/syscalls.list: Add syncfs.
15291
00e5419f
AS
152922011-04-01 Andreas Schwab <schwab@redhat.com>
15293
15294 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15295 open_by_handle_at.
15296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15301 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15303
748876bf
UD
153042011-04-01 Ulrich Drepper <drepper@gmail.com>
15305
658e451d
UD
15306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15307 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15308 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15313
748876bf
UD
15314 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15315 sync_file_range.c with -fexceptions.
15316 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15317 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15318 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15319 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15320 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15321 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15323 sync_file_range as cancellation point
15324 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15325 now a wrapper around __call_sync_file_range with cancellation handling.
15326 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15328 function name to __call_sync_file_range.
15329 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15330 Add call_sync_file_range.
748876bf 15331
6e63d5e1
AS
153322011-04-01 Andreas Schwab <schwab@redhat.com>
15333
15334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15335 bits/timex.h.
6e63d5e1 15336
46998f74
UD
153372011-04-01 Ulrich Drepper <drepper@gmail.com>
15338
4c1423ed
UD
15339 * iconv/iconv.h: Fix typo in comment.
15340 * io/fcntl.h: Likewise.
15341 * libio/stdio.h: Likewise.
15342 * posix/spawn.h: Likewise.
15343 * posix/unistd.h: Likewise.
15344 * stdlib/stdlib.h: Likewise.
15345 * time/time.h: Likewise.
15346 * wcsmbs/wchar.h: Likewise.
15347
158648c0
UD
15348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15349 open_by_handle): Add.
15350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15351 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15352 Augment a few comments.
15353 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15358 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15359 open_by_handle.
15360
46998f74
UD
15361 * io/fcntl.h (AT_EMPTY_PATH): Define.
15362
83fe108b
UD
153632011-03-30 Ulrich Drepper <drepper@gmail.com>
15364
15365 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15366 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15367 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15368 to...
15369 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15370 * Versions.def: Add GLIBC_2.14.
15371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15372 Export.
83fe108b 15373
bb242059
UD
153742011-03-22 Ulrich Drepper <drepper@gmail.com>
15375
15376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15377 round counter.
15378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15379
c97a1282
L
153802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15381
15382 [BZ #12597]
15383 * string/test-strncmp.c (do_page_test): New function.
15384 (check2): Likewise.
15385 (test_main): Call check2.
15386 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15387
2a115601
UD
153882011-03-20 Ulrich Drepper <drepper@gmail.com>
15389
15390 [BZ #12587]
15391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15392 Handle cache information in CPU leaf 4.
15393 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15394
8126d904
UD
153952011-03-18 Ulrich Drepper <drepper@gmail.com>
15396
042c49c6 15397 [BZ #12583]
8126d904
UD
15398 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15399 character representation.
15400 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15401
ccfe366e
RA
154022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15403
15404 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15405 END(__isnan) to END(__isnanf) to match function entry point/label
15406 EALIGN(__isnanf,...).
15407
c6e13027
JJ
154082011-03-10 Jakub Jelinek <jakub@redhat.com>
15409
15410 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15411
33f85a3f
UD
154122011-03-10 Ulrich Drepper <drepper@gmail.com>
15413
028478fa
UD
15414 [BZ #12510]
15415 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15416 copy from the symbol referenced in the relocation to initialize the
15417 used variable.
15418 Patch by Piotr Bury <pbury@goahead.com>.
15419 * elf/Makefile: Add rules to build and tst-unique3.
15420 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15421 * elf/tst-unique3.cc: New file.
15422 * elf/tst-unique3.h: New file.
15423 * elf/tst-unique3lib.cc: New file.
15424 * elf/tst-unique3lib2.cc: New file.
15425
33f85a3f
UD
15426 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15427
03592fc7
MF
154282011-03-10 Mike Frysinger <vapier@gentoo.org>
15429
15430 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15431 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15432 to _start.
03592fc7 15433
6a5ee102
UD
154342011-03-06 Ulrich Drepper <drepper@gmail.com>
15435
15436 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15437 to-be-loaded object along a path to loader is ld.so.
15438
7e4ba49c
HJ
154392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15440 Ulrich Drepper <drepper@gmail.com>
15441
15442 * sysdeps/x86_64/memset.S: After aligning destination, code
15443 branches to different locations depending on the value of
15444 misalignment, when multiarch is enabled. Fix this.
15445
154462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15447
15448 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15449 Set _x86_64_preferred_memory_instruction for AMD processsors.
15450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15451 Set bit_Prefer_SSE_for_memop for AMD processors.
15452
13a804de
UD
154532011-03-04 Ulrich Drepper <drepper@gmail.com>
15454
15455 * libio/fmemopen.c (fmemopen): Optimize a bit.
15456
9d25c392
AS
154572011-03-03 Andreas Schwab <schwab@redhat.com>
15458
15459 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15460
a5543c6a
RM
154612011-03-03 Roland McGrath <roland@redhat.com>
15462
15463 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15464
012d35f7
DM
154652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15466
7e4ba49c 15467 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15468 __bzero_ultra1 instead of __memset_ultra1.
15469
4bff6e01
AS
154702011-02-23 Andreas Schwab <schwab@redhat.com>
15471 Ulrich Drepper <drepper@gmail.com>
15472
15473 [BZ #12509]
15474 * include/link.h (struct link_map): Add l_orig_initfini.
15475 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15476 returning unsuccessfully.
15477 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15478 close of a file loaded at startup, restore the original l_initfini
15479 list.
15480 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15481 list, store the pointer.
15482 * elf/Makefile ($(objpfx)noload-mem): New rule.
15483 (noload-ENV): Define.
15484 (tests): Add $(objpfx)noload-mem.
15485 * elf/noload.c: Include <memcheck.h>.
15486 (main): Call mtrace. Close all opened handles.
15487
f2092faf
AS
154882011-02-17 Andreas Schwab <schwab@redhat.com>
15489
15490 [BZ #12454]
15491 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15492 dependencies are missing.
15493
6c8a2e88
ST
154942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15495
f2092faf 15496 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15497 Hurd needs munmap.
15498 * sysdeps/mach/hurd/ifreq.h: New file.
15499
84a42118
PB
155002011-01-27 Petr Baudis <pasky@suse.cz>
15501 Ulrich Drepper <drepper@gmail.com>
15502
071f805e 15503 [BZ 12445]#
84a42118
PB
15504 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15505 to extend_alloca().
15506 * stdio-common/bug23.c: New file.
15507 * stdio-common/Makefile (tests): Add bug23.
15508
e23fe25b
AS
155092010-09-28 Andreas Schwab <schwab@redhat.com>
15510 Ulrich Drepper <drepper@gmail.com>
15511
15512 [BZ #12489]
15513 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15514 before performing relro protection. At old place add assertion
15515 to make sure nothing changed.
15516
d3f02e10
NS
155172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15518 Glauber de Oliveira Costa <glommer@gmail.com>
15519
15520 * elf/elf.h: Add new ARM TLS relocs.
15521
d55fd7a5
RA
155222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15523
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15525 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15526 cast from r3.
15527 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15528 'tests' variable.
15529 * sysdeps/wordsize-64/tst-writev.c: New file.
15530
2206397e
RA
155312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15532
15533 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15534 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15535 insns in _dl_start to prevent a TOC reference before relocs are
15536 resolved.
15537
e9433893
UD
155382011-02-15 Ulrich Drepper <drepper@gmail.com>
15539
15540 [BZ #12469]
15541 * Makeconfig: Remove RANLIB definition.
15542 * Makerules: Don't use RANLIB.
15543 * aclocal.m4: Remove ranlib test.
15544 * configure.in: No need to check for ranlib.
15545 * elf/rtld-Rules: Don't use RANLIB.
15546
f75286c6
ST
155472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15548
8e31c82d
ST
15549 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15550 protection macro.
15551 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15552 inclusion protection macro.
15553
f75286c6
ST
15554 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15555 SIGRTMIN and SIGRTMAX and print information in that case only when
15556 SIGRTMIN is defined.
15557
c1d0e639
JJ
155582011-02-11 Jakub Jelinek <jakub@redhat.com>
15559
15560 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15561 arginfo fn returning -1.
15562
15563 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15564 and thousands string is zero terminated.
15565
edf9294e
AS
155662011-02-03 Andreas Schwab <schwab@redhat.com>
15567
15568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15569 sysdeps/unix/sysv/linux/bits/socket.h.
15570
2b7e92df
ST
155712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15572
edf9294e
AS
15573 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15574 (__CPU_COUNT): Remove old macros.
15575 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15576 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15577 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15578 (__sched_cpualloc, __sched_cpufree): Add declarations.
15579
a4c7ea7b
UD
155802011-02-05 Ulrich Drepper <drepper@gmail.com>
15581
15582 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15583 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15584 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15585 (readdhstai): Return value of addhstaiX call.
15586 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15587 (addgrbyX): Return value returned by cache_addgr.
15588 (readdgrbyname): Return value returned by addgrbyX.
15589 (readdgrbygid): Likewise.
15590 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15591 (addpwbyX): Return value returned by cache_addpw.
15592 (readdpwbyname): Return value returned by addhstbyX.
15593 (readdpwbyuid): Likewise.
15594 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15595 (addservbyX): Return value returned by cache_addserv.
15596 (readdservbyname): Return value returned by addservbyX:
15597 (readdservbyport): Likewise.
15598 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15599 (addhstbyX): Return value returned by cache_addhst.
15600 (readdhstbyname): Return value returned by addhstbyX.
15601 (readdhstbyaddr): Likewise.
15602 (readdhstbynamev6): Likewise.
15603 (readdhstbyaddrv6): Likewise.
15604 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15605 (readdinitgroups): Return value returned by addinitgroupsX.
15606 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15607 (prune_cache): Keep track of timeout value of re-added entries.
15608 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15609 * nscd/nscd.h: Adjust prototypes of readd* functions.
15610
a0bf67cc
RM
156112011-02-04 Roland McGrath <roland@redhat.com>
15612
15613 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15614 (nis_stats): Likewise.
15615 * nis/nis_modify.c (nis_modify): Likewise.
15616 * nis/nis_remove.c (nis_remove): Likewise.
15617 * nis/nis_add.c (nis_add): Likewise.
15618
15619 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15620
15621 * posix/fnmatch_loop.c: Add some consts.
15622
15623 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15624
435b95eb
L
156252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15626
15627 [BZ #12460]
15628 * config.make.in (config-cflags-novzeroupper): Define.
15629 * configure.in: Substitute libc_cv_cc_novzeroupper.
15630 * elf/Makefile (AVX-CFLAGS): Define.
15631 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15632 (CFLAGS-tst-auditmod4a.c): Likewise.
15633 (CFLAGS-tst-auditmod4b.c): Likewise.
15634 (CFLAGS-tst-auditmod6b.c): Likewise.
15635 (CFLAGS-tst-auditmod6c.c): Likewise.
15636 (CFLAGS-tst-auditmod7b.c): Likewise.
15637 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15638
8517b15e
UD
156392011-02-02 Ulrich Drepper <drepper@gmail.com>
15640
15641 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15642 function to the callback.
15643 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15644
10a656fe
AS
156452011-02-02 Andreas Schwab <schwab@redhat.com>
15646
15647 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15648 of errno.
15649
968dad0a
UD
156502011-01-19 Ulrich Drepper <drepper@gmail.com>
15651
9f94d2ea 15652 [BZ #11724]
968dad0a
UD
15653 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15654 of constructors.
15655 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15656 of destructors.
15657 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15658
15659 [BZ #11724]
15660 * elf/Makefile: Add rules to build and run new test.
15661 * elf/tst-initorder.c: New file.
15662 * elf/tst-initorder.exp: New file.
15663 * elf/tst-initordera1.c: New file.
15664 * elf/tst-initordera2.c: New file.
15665 * elf/tst-initordera3.c: New file.
15666 * elf/tst-initordera4.c: New file.
15667 * elf/tst-initorderb1.c: New file.
15668 * elf/tst-initorderb2.c: New file.
15669 * elf/tst-order-a1.c: New file.
15670 * elf/tst-order-a2.c: New file.
15671 * elf/tst-order-a3.c: New file.
15672 * elf/tst-order-a4.c: New file.
15673 * elf/tst-order-b1.c: New file.
15674 * elf/tst-order-b2.c: New file.
15675 * elf/tst-order-main.c: New file.
15676 New test case by George Gensure <werkt0@gmail.com>.
15677
86e92359
UD
156782010-10-01 Andreas Schwab <schwab@redhat.com>
15679
15680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15681 decoding ACE if AI_CANONIDN.
15682
5d5732b0
UD
156832011-01-18 Ulrich Drepper <drepper@gmail.com>
15684
15685 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15686
a77e8cbc
UD
156872011-01-17 Ulrich Drepper <drepper@gmail.com>
15688
6392473f
UD
15689 * version.h (RELEASE): Bump for 2.13 release.
15690 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15691
620a0529
UD
15692 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15693
18ba70a5
UD
15694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15695 MADV_NOHUGEPAGE.
32465c3e
UD
15696 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15702
c0dafcf1
UD
15703 * posix/getconf.c: Update copyright year.
15704 * catgets/gencat.c: Likewise.
15705 * csu/version.c: Likewise.
15706 * debug/catchsegv.sh: Likewise.
15707 * debug/xtrace.sh: Likewise.
15708 * elf/ldconfig.c: Likewise.
15709 * elf/ldd.bash.in: Likewise.
15710 * elf/sprof.c (print_version): Likewise.
15711 * iconv/iconv_prog.c: Likewise.
15712 * iconv/iconvconfig.c: Likewise.
15713 * locale/programs/locale.c: Likewise.
15714 * locale/programs/localedef.c: Likewise.
15715 * malloc/memusage.sh: Likewise.
15716 * malloc/mtrace.pl: Likewise.
15717 * nscd/nscd.c (print_version): Likewise.
15718 * nss/getent.c: Likewise.
15719
a77e8cbc
UD
15720 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15721 PF_CAIF, and PF_ALG.
15722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15723
77e8bddf
AS
157242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15725
1f20b93a
AS
15726 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15727 (modules-names): Use them.
15728 (ifunc-test-modules, ifunc-pie-tests): Define.
15729 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15730 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15731 (test-extras): Likewise.
15732 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15733 $(compile-command.c).
15734 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15735 (all-built-dso): Define.
15736 (check-textrel.out, check-execstack.out): Depend on it.
15737
77e8bddf
AS
15738 * configure.in: Don't override --enable-multi-arch.
15739
bc425b33
UD
157402011-01-15 Ulrich Drepper <drepper@gmail.com>
15741
15742 [BZ #6812]
15743 * nscd/hstcache.c (tryagain): Define.
15744 (cache_addhst): Return tryagain not notfound for temporary errors.
15745 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15746 failed.
15747
794c3ad3
UD
157482011-01-14 Ulrich Drepper <drepper@gmail.com>
15749
70181fdd
UD
15750 [BZ #10563]
15751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15752 to make the syscall.
15753 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15754
794c3ad3
UD
15755 [BZ #12378]
15756 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15757 and fall back to matching as normal character if the string ends before
15758 the matching ']' is found. This is what POSIX requires.
15759 * posix/testfnm.c: Adjust test result.
15760 * posix/globtest.sh: Adjust test result. Add new test.
15761 * posix/tst-fnmatch.input: Likewise.
15762 * posix/tst-fnmatch2.c: Add new test.
15763
68dc9497
AS
157642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15765
15766 * elf/Makefile (check-execstack): Revert last change. Depend on
15767 check-execstack.h.
15768 (check-execstack.h): New target.
15769 (generated): Add check-execstack.h.
15770 * elf/check-execstack.c: Include "check-execstack.h".
15771 (main): Revert last change.
15772 (handle_file): Return zero if GNU_STACK is absent and
15773 DEFAULT_STACK_PERMS doesn't include PF_X.
15774
451f001b
UD
157752011-01-13 Ulrich Drepper <drepper@gmail.com>
15776
cfa28e56
UD
15777 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15778 in child fails because the descriptor is already closed.
8cf8ce17
UD
15779 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15780 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15782
1086d70d
UD
15783 [BZ #12397]
15784 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15785 syscall.
15786
451f001b
UD
15787 [BZ #10484]
15788 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15789 temporary buffer used to handle multi lookups locally.
a85b5cb4 15790 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15791
08769175
UD
157922011-01-12 Ulrich Drepper <drepper@gmail.com>
15793
15794 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15795 loader is ld.so.
15796
5e49c52e
UD
157972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15798
15799 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15800 alignment for SSE2.
15801
60522a5f
UD
158022011-01-12 Ulrich Drepper <drepper@gmail.com>
15803
15804 [BZ #12394]
15805 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15806 characters. When rounding increased number of integer digits recompute
15807 number of groups.
15808 * stdio-common/tst-grouping.c: New file.
15809 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15810
f257bbd7
UD
158112011-01-09 Ulrich Drepper <drepper@gmail.com>
15812
15813 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15814 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15815
15816 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15817 void.
15818 * bits/select.h: Likewise.
15819
fa9c15cb
UD
158202011-01-08 Ulrich Drepper <drepper@gmail.com>
15821
15822 * po/ja.po: Update from translation team.
15823
16c2895f
DM
158242011-01-04 David S. Miller <davem@sunset.davemloft.net>
15825
15826 [BZ #11155]
15827 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15828 implementation just like for lxstat, fxstatat, et al.
15829
2543fef2
JM
158302010-12-27 Jim Meyering <meyering@redhat.com>
15831
15832 [BZ #12348]
15833 * posix/regexec.c (build_trtable): Return failure indication upon
15834 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15835
98727dbe
UD
158362010-12-25 Ulrich Drepper <drepper@gmail.com>
15837
5bd6dc5c
UD
15838 [BZ #12201]
15839 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15840 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15843
97983464
UD
15844 [BZ #12207]
15845 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15846
98727dbe
UD
15847 [BZ #12204]
15848 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15849 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15850
4a531bb0
L
158512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15852
15853 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15854 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15855 script has SORT_BY_INIT_PRIORITY.
15856 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15857 NO_CTORS_DTORS_SECTIONS is defined.
15858 * elf/soinit.c: Likewise.
15859 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15860 NO_CTORS_DTORS_SECTIONS is defined.
15861 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15862 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15863 * sysdeps/sh/init-first.c: Likewise.
15864 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15865
07eb4b71
UD
158662010-12-24 Ulrich Drepper <drepper@gmail.com>
15867
15868 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15869 always use the slow path.
15870
30950a5f
RA
158712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15872
15873 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15874 similar rule which adds the sysdep directories to the header search in
15875 order to pick up the correct platform stackinfo.h.
15876 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15877 perform test if it is, otherwise return successfully without testing.
15878 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15879 DEFAULT_STACK_PERMS define in stackinfo.h.
15880 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15881 defined in stackinfo.h.
15882 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15883 DEFAULT_STACK_PERMS defined in stackinfo.h.
15884 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15885 * sysdeps/ia64/stackinfo.h: Likewise.
15886 * sysdeps/s390/stackinfo.h: Likewise.
15887 * sysdeps/sh/stackinfo.h: Likewise.
15888 * sysdeps/sparc/stackinfo.h: Likewise.
15889 * sysdeps/x86_64/stackinfo.h: Likewise.
15890 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15891 PF_X for powerpc64. Retain PF_X for powerpc32.
15892
db753e2c
UD
158932010-12-19 Ulrich Drepper <drepper@gmail.com>
15894
14b697f7
UD
15895 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15896 accurately.
db753e2c
UD
15897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15898 GETDENTS_64BIT_ALIGNED.
15899
28300719
UD
159002010-12-14 Ulrich Drepper <dreper@gmail.com>
15901
14b697f7 15902 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15903
4f197237
AS
159042010-12-10 Andreas Schwab <schwab@redhat.com>
15905
dbb0472f
AS
15906 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15907 _GNU_SOURCE.
15908
4f197237
AS
15909 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15910 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15911 Remove __restrict.
15912 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15913 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15914
fb88ac72
UD
159152010-12-09 Ulrich Drepper <drepper@gmail.com>
15916
15917 [BZ #11655]
15918 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15919 are initialized.
15920
42acbb92
JJ
159212010-12-09 Jakub Jelinek <jakub@redhat.com>
15922
15923 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15924
c038d98d
UD
159252010-12-03 Ulrich Drepper <drepper@gmail.com>
15926
15927 * po/it.po: Update from translation team.
15928
3a4a2499
L
159292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15930
15931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15932 unused codes.
15933
1e24cf6e
UD
159342010-11-30 Ulrich Drepper <drepper@gmail.com>
15935
15936 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15937
a7690819
AS
159382010-11-24 Andreas Schwab <schwab@redhat.com>
15939
15940 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15941 specially.
15942 (gaih_getanswer_slice): Likewise.
15943
3bf8d1b1
JJ
159442010-10-20 Jakub Jelinek <jakub@redhat.com>
15945
15946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15947
6db52fbb
PB
159482010-05-31 Petr Baudis <pasky@suse.cz>
15949
15950 [BZ #11149]
15951 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15952 silently even in the chroot mode.
15953
eaca7569
UD
159542010-11-22 Ulrich Drepper <drepper@gmail.com>
15955
15956 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15957 last patch a bit. Pretty printing
15958
3056dcdb
UD
159592010-05-31 Petr Baudis <pasky@suse.cz>
15960
15961 [BZ #10085]
15962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15963 initialization of skip_initgroups_dyn.
15964
cf7c9078
UD
159652010-11-19 Ulrich Drepper <drepper@gmail.com>
15966
15967 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15969
a1fb5e3e
UD
159702010-11-16 Ulrich Drepper <drepper@gmail.com>
15971
15972 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15973
3540d66b
AS
159742010-11-11 Andreas Schwab <schwab@redhat.com>
15975
15976 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15977 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15978 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15979 ($(objpfx)tst-fnmatch-mem): New rule.
15980 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15981 * posix/tst-fnmatch.c (main): Call mtrace.
15982
13b69574
L
159832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15984
15985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15986 Support Intel processor model 6 and model 0x2c.
15987
da93d214
LM
159882010-11-10 Luis Machado <luisgpm@br.ibm.com>
15989
15990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15991 signed comparison.
15992
8ca52c6e
L
159932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 [BZ #12205]
15996 * string/test-strncasecmp.c (check_result): New function.
15997 (do_one_test): Use it.
15998 (check1): New function.
15999 (test_main): Use it.
16000 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16001 Support strcasecmp and strncasecmp.
16002
69da074d
UD
160032010-11-08 Ulrich Drepper <drepper@gmail.com>
16004
16005 [BZ #12194]
16006 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16008
ff02d528
L
160092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16010
16011 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16012 IFUNC support.
16013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16014 memset-x86-64.
16015 * sysdeps/x86_64/multiarch/bzero.S: New file.
16016 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16017 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16018 * sysdeps/x86_64/multiarch/memset.S: New file.
16019 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16021 Set bit_Prefer_SSE_for_memop for Intel processors.
16022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16023 Define.
16024 (index_Prefer_SSE_for_memop): Define.
16025 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16026
344d0b54
LM
160272010-11-04 Luis Machado <luisgpm@br.ibm.com>
16028
16029 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16031
c0dde15b
UD
160322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16033
16034 [BZ #12191]
16035 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16036 (__x86_64_raw_data_cache_size_half): Likewise.
16037 (__x86_64_raw_shared_cache_size): Likewise.
16038 (__x86_64_raw_shared_cache_size_half): Likewise.
16039
16040 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16041 (__x86_64_raw_data_cache_size_half): Likewise.
16042 (__x86_64_raw_shared_cache_size): Likewise.
16043 (__x86_64_raw_shared_cache_size_half): Likewise.
16044 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16045 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16046 and __x86_64_raw_shared_cache_size_half. Round
16047 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16048 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16049 to multiple of 256 bytes.
16050
0e516e0e
MS
160512010-11-03 Ulrich Drepper <drepper@gmail.com>
16052
16053 [BZ #12167]
16054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16055 of inacessible symlinks. Verify result of symlink before returning it.
16056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16057 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16058
0e012e87
ER
160592010-10-28 Erich Ritz <erichritz@gmail.com>
16060
16061 * math/math.h (isinf): Fix typo in comment.
16062
de0ff7bc
UD
160632010-11-01 Ulrich Drepper <drepper@gmail.com>
16064
16065 * po/da.po: Update from translation team.
16066
fa41c84d
UD
160672010-10-26 Ulrich Drepper <drepper@gmail.com>
16068
16069 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16070 is added to the list.
16071
f0967738
AK
160722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16073 Ulrich Drepper <drepper@gmail.com>
16074
16075 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16076 the global list here. Move code to...
16077 (_dl_add_to_namespace_list): ...here. New function.
16078 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16079 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16080 * elf/dl-load.c (lose): Don't remove the element from the list.
16081 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16082 (_dl_map_object): Likewise.
16083
160842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16085
16086 [BZ #12159]
16087 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16088 into all bytes of SSE register.
16089 Patch by Richard Li <richardpku@gmail.com>.
16090
f0967738 160912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16092
16093 [BZ #12140]
16094 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16095 perturbing.
16096
d0b9e94f
MB
160972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16098
16099 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16100 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16101 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16104 submachine.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16106
8e9f92e9
AS
161072010-10-22 Andreas Schwab <schwab@redhat.com>
16108
16109 * include/dlfcn.h (__RTLD_SECURE): Define.
16110 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16111 mode & __RTLD_SECURE instead.
16112 (open_path): Rename preloaded parameter to secure.
16113 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16114 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16115 * elf/dl-deps.c (openaux): Likewise.
16116 * elf/rtld.c (struct map_args): Remove is_preloaded.
16117 (map_doit): Don't use it.
16118 (dl_main): Likewise.
16119 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16120 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16121
bc96fbda
AS
161222010-09-09 Andreas Schwab <schwab@redhat.com>
16123
16124 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16125 (sysd-rules-targets): Remove duplicates.
16126 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16127 rtld-%.$o dependency.
16128
22cd1c9b
AS
161292010-10-18 Andreas Schwab <schwab@redhat.com>
16130
16131 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16132 _dl_map_object do it.
16133
18edac48
UD
161342010-10-19 Ulrich Drepper <drepper@gmail.com>
16135
16136 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16137 fast fma builtins, define the macros in the C99 standard.
16138 (FP_FAST_FMAF): Likewise.
16139 (FP_FAST_FMAL): Likewise.
16140 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16141
16142 * bits/mathdef.h: Update copyright year.
16143 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16144
d2050124
MM
161452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16146
16147 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16148 builtins, define the macros in the C99 standard.
16149 (FP_FAST_FMAF): Likewise.
16150 (FP_FAST_FMAL): Likewise.
16151 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16152 multiply/add.
16153 (FP_FAST_FMAF): Likewise.
16154
475facd1
JJ
161552010-10-15 Jakub Jelinek <jakub@redhat.com>
16156
16157 [BZ #3268]
16158 * math/libm-test.inc (fma_test): Some new testcases.
16159 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16160 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16161 y and infinite z. Do multiplication by C already in long double.
16162 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16164 y and infinite z. Do bitwise or of inexact bit into u.d.
16165 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16166 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16167 * sysdeps/i386/fpu/s_fma.S: Removed.
16168 * sysdeps/i386/fpu/s_fmal.S: Removed.
16169
7c08a05c
JJ
161702010-10-16 Jakub Jelinek <jakub@redhat.com>
16171
16172 [BZ #3268]
16173 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16175 computation is not scheduled after fetestexcept. Fix value
16176 of minimum denormal long double.
16177
f3f7372d
JJ
161782010-10-14 Jakub Jelinek <jakub@redhat.com>
16179
16180 [BZ #3268]
16181 * math/libm-test.inc (fma_test): Add some more tests.
16182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16183 correctly.
16184
14d43591
AS
161852010-10-15 Andreas Schwab <schwab@redhat.com>
16186
16187 * scripts/data/localplt-s390-linux-gnu.data: New file.
16188 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16189
5e908464
JJ
161902010-10-13 Jakub Jelinek <jakub@redhat.com>
16191
16192 [BZ #3268]
16193 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16194 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16195 instead of dbl-64.
16196 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16197 inlines.
16198 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16200 if one of x and y is very large and the other is subnormal.
16201 * sysdeps/s390/fpu/s_fmaf.c: New file.
16202 * sysdeps/s390/fpu/s_fma.c: New file.
16203 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16204 * sysdeps/powerpc/fpu/s_fma.S: New file.
16205 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16206 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16207 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16208
162092010-10-12 Jakub Jelinek <jakub@redhat.com>
16210
16211 [BZ #3268]
16212 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16213 fma tests.
16214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16215 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16216 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16217 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16218 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16219 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16220 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16221
b833d51f
UD
162222010-10-12 Ulrich Drepper <drepper@redhat.com>
16223
16224 [BZ #12078]
16225 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16226 * posix/bug-regex31.input: Add test case.
16227
1751705d
UD
162282010-10-11 Ulrich Drepper <drepper@gmail.com>
16229
e9b9cbf5
UD
16230 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16231 * posix/bug-regex31.input: New file.
16232
16233 [BZ #12078]
16234 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16235 (parse_sub_exp): Fix last change, use postorder.
16236
ef06edbe
UD
16237 * posix/bug-regex31.c: New file.
16238 * posix/Makefile: Add rules to build and run bug-regex31.
16239
a129c80d
UD
16240 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16241
16242 [BZ #12078]
16243 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16244
b76b818e
UD
16245 [BZ #12108]
16246 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16247 to have entries in sys_siglist.
16248
1751705d
UD
16249 [BZ #12093]
16250 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16251 be NULL.
16252
9ff8d36f
JJ
162532010-10-07 Jakub Jelinek <jakub@redhat.com>
16254
16255 [BZ #3268]
16256 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16257 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16258 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16259 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16261 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16262 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16263 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16264 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16265 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16266 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16267 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16268 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16269 * math/ftestexcept.c (fetestexcept): Likewise.
16270 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16271 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16272 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16273 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16274 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16275 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16276 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16277
af325969
UD
162782010-10-11 Ulrich Drepper <drepper@gmail.com>
16279
c579b202 16280 [BZ #12107]
af325969
UD
16281 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16282 newline.
16283
67a67b95
UD
162842010-10-06 Ulrich Drepper <drepper@gmail.com>
16285
16286 * string/bug-strstr1.c: New file.
16287 * string/Makefile: Add rules to build and run bug-strstr1.
16288
5fb308bc
EB
162892010-10-05 Eric Blake <eblake@redhat.com>
16290
16291 [BZ #12092]
16292 * string/str-two-way.h (two_way_long_needle): Always clear memory
16293 when skipping input due to the shift table.
16294
45db99c7
UD
162952010-10-03 Ulrich Drepper <drepper@gmail.com>
16296
3b111893
UD
16297 [BZ #12005]
16298 * malloc/mcheck.c: Handle large requests.
16299
45db99c7
UD
16300 [BZ #12077]
16301 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16302 for strncmp and strncasecmp.
16303 * string/stratcliff.c: Add tests for strcmp and strncmp.
16304 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16305
cf7a1eb8
NI
163062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16307
16308 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16309 __set_fpscr.
16310
6484ba5e
AJ
163112010-09-30 Andreas Jaeger <aj@suse.de>
16312
16313 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16314 (CGROUP_SUPER_MAGIC): Define.
16315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16316 Handle btrfs and cgroup file systems.
16317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16318 Likewise.
16319
91c42559
LM
163202010-09-27 Luis Machado <luisgpm@br.ibm.com>
16321
16322 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16323 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16324
87a97932
AK
163252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16326
16327 [BZ #12067]
16328 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16329 trying to locate the ELF header.
16330
c21cc9bc
AS
163312010-09-27 Andreas Schwab <schwab@redhat.com>
16332
16333 [BZ #11611]
16334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16335 Mask out sign-bit copies when constructing f_fsid.
16336
315970f6
PB
163372010-09-24 Petr Baudis <pasky@suse.cz>
16338
16339 * debug/stack_chk_fail_local.c: Add missing licence exception.
16340 * debug/warning-nop.c: Likewise.
16341
1ac7a2c7
JM
163422010-09-15 Joseph Myers <joseph@codesourcery.com>
16343
16344 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16345 implementing getdents64 using getdents syscall, set d_type if
16346 __ASSUME_GETDENTS32_D_TYPE.
16347
56801c50
AS
163482010-09-16 Andreas Schwab <schwab@redhat.com>
16349
16350 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16351 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16352
dda51327
UD
163532010-09-21 Ulrich Drepper <drepper@redhat.com>
16354
16355 [BZ #12037]
16356 * posix/unistd.h: Undo change of feature selection for ftruncate from
16357 2010-01-11.
16358
8ffcee4a
UD
163592010-09-20 Ulrich Drepper <drepper@redhat.com>
16360
a545ecd9 16361 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16362 detection.
16363
e24f0a8b
AS
163642010-09-20 Andreas Schwab <schwab@redhat.com>
16365
16366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16367 fanotify_mark.
16368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16369
7291c56f
AS
163702010-09-14 Andreas Schwab <schwab@redhat.com>
16371
16372 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16373 variables after CHECK_SP call.
16374 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16375
bc5fb037
AS
163762010-09-13 Andreas Schwab <schwab@redhat.com>
16377 Ulrich Drepper <drepper@redhat.com>
16378
16379 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16380 re-relocationg ld.so.
16381 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16382 _dl_init_paths call.
16383 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16384 here anymore.
16385
e66e7419
UD
163862010-09-14 Ulrich Drepper <drepper@redhat.com>
16387
16388 * resolv/res_init.c (__res_vinit): Count the default server we added.
16389
c044aa75
CLT
163902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16391 Ulrich Drepper <drepper@redhat.com>
16392
16393 [BZ #11968]
16394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16395 (____longjmp_chk): Use %ebx for saving value across system call.
16396 Add unwind info.
16397
32cf4069
AS
163982010-09-06 Andreas Schwab <schwab@redhat.com>
16399
16400 * manual/Makefile: Don't mix pattern rules with normal rules.
16401
817328ee
AS
164022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16403
16404 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16405 operation.
16406 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16407 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16408 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16409 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16411 Likewise.
16412
29fddf61
UD
164132010-09-04 Ulrich Drepper <drepper@redhat.com>
16414
16415 [BZ #11979]
16416 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16417 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16418
0959ffc9
UD
164192010-09-02 Ulrich Drepper <drepper@redhat.com>
16420
16421 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16422 * sysdeps/x86_64/addmul_1.S: Likewise.
16423 * sysdeps/x86_64/lshift.S: Likewise.
16424 * sysdeps/x86_64/mul_1.S: Likewise.
16425 * sysdeps/x86_64/rshift.S: Likewise.
16426 * sysdeps/x86_64/sub_n.S: Likewise.
16427 * sysdeps/x86_64/submul_1.S: Likewise.
16428
ece29840
ST
164292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16430
0959ffc9
UD
16431 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16432 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16433 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16434 * bits/sched.h [__need_schedparam]
ece29840 16435 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16436 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16437 (__defined_schedparam): Define to 1.
ece29840
ST
16438 (__sched_param): New structure, identical to sched_param.
16439 (__need_schedparam): Undefine.
16440
e53a31fe
MF
164412010-08-31 Mike Frysinger <vapier@gentoo.org>
16442
fdc0c10d
MF
16443 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16444 (epoll_create1): Declare.
16445
e53a31fe
MF
16446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16447
a726d796
AS
164482010-08-31 Andreas Schwab <schwab@redhat.com>
16449
16450 [BZ #7066]
16451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16452 shifting retval into place.
16453
2f3e3dc7
UD
164542010-09-01 Ulrich Drepper <drepper@redhat.com>
16455
f2933da9
UD
16456 * nis/rpcsvc/nis.h: Update copyright notice.
16457 * nis/rpcsvc/nis.x: Likewise.
16458 * nis/rpcsvc/nis_callback.h: Likewise.
16459 * nis/rpcsvc/nis_callback.x: Likewise.
16460 * nis/rpcsvc/nis_object.x: Likewise.
16461 * nis/rpcsvc/nis_tags.h: Likewise.
16462 * nis/rpcsvc/yp.h: Likewise.
16463 * nis/rpcsvc/yp.x: Likewise.
16464 * nis/rpcsvc/ypupd.h: Likewise.
16465 * nis/yp_xdr.c: Likewise.
16466 * nis/ypupdate_xdr.c: Likewise.
16467
2f3e3dc7
UD
16468 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16469 mainly the body of pmap_getport. Add parameters to specify timeouts.
16470 (pmap_getport): Use __libc_rpc_getport.
16471 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16472 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16473 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16474
f3dcc2f9
AS
164752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16476
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16478 fanotify_mark.
16479
6d34eb5b
RM
164802010-08-27 Roland McGrath <roland@redhat.com>
16481
16482 * sysdeps/i386/i686/multiarch/Makefile
16483 (CFLAGS-varshift.c): New variable.
16484
9ea3de11
UD
164852010-08-27 Ulrich Drepper <drepper@redhat.com>
16486
c96d23fc
UD
16487 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16488 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16489
9ea3de11
UD
16490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16491
16492 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16493
623aac7f
L
164942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16495
16496 * sysdeps/x86_64/strlen.S: Unroll the loop.
16497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16498 strlen-sse2 strlen-sse2-bsf.
16499 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16500 __strlen_no_bsf if bit_Slow_BSF is set.
16501 (__strlen_sse42): Removed.
16502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16503 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16504
8b2b7715
RM
165052010-08-25 Roland McGrath <roland@redhat.com>
16506
16507 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16508 * sysdeps/x86_64/multiarch/varshift.c: New file.
16509 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16510 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16511 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16513
e73015f2
L
165142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16515
16516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16517 strlen-sse2 strlen-sse2-bsf.
16518 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16519 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16520 (__strlen_sse2): Removed.
16521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16524 bit_Slow_BSF for Atom.
16525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16526 (index_Slow_BSF): Define.
16527 (HAS_SLOW_BSF): Define.
16528
df24a73e
UD
165292010-08-25 Ulrich Drepper <drepper@redhat.com>
16530
16531 [BZ #10851]
16532 * resolv/res_init.c (__res_vinit): When no server address at all
16533 is given default to loopback.
16534
f2ac4868
RM
165352010-08-24 Roland McGrath <roland@redhat.com>
16536
09055553
RM
16537 * configure.in: Remove config-name.h generation.
16538 * configure: Regenerated.
16539 * config-name.in: File removed.
16540 * scripts/config-uname.sh: New file.
16541 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16542 ($(objdir)config-name.h): New target.
16543
f2ac4868
RM
16544 * sunrpc/rpc_parse.h: Avoid nested comment.
16545
73f27d5e
RH
165462010-08-24 Richard Henderson <rth@redhat.com>
16547 Ulrich Drepper <drepper@redhat.com>
16548 H.J. Lu <hongjiu.lu@intel.com>
16549
16550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16552 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16553 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16554 _mm_alignr_epi8 with _mm_loadu_si128.
16555 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16556 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16557 (__m128i_shift_right): Removed.
16558 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16559 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16560 * sysdeps/x86_64/multiarch/varshift.h: New file.
16561 * sysdeps/x86_64/multiarch/varshift.S: New file.
16562
84b9230c
MF
165632010-08-21 Mike Frysinger <vapier@gentoo.org>
16564
16565 * configure.in: Move assembler checks to before sysdep dir checking.
16566
9bbd0ddc
PB
165672010-08-20 Petr Baudis <pasky@suse.cz>
16568
16569 * LICENSES: Sync the sunrpc license.
16570
9da4bb31
UD
165712010-08-19 Ulrich Drepper <drepper@redhat.com>
16572
a7ab6ec8
UD
16573 * sunrpc/auth_des.c: Update copyright notice once again.
16574 * sunrpc/auth_none.c: Likewise.
16575 * sunrpc/auth_unix.c: Likewise.
16576 * sunrpc/authdes_prot.c: Likewise.
16577 * sunrpc/authuxprot.c: Likewise.
16578 * sunrpc/bindrsvprt.c: Likewise.
16579 * sunrpc/clnt_gen.c: Likewise.
16580 * sunrpc/clnt_perr.c: Likewise.
16581 * sunrpc/clnt_raw.c: Likewise.
16582 * sunrpc/clnt_simp.c: Likewise.
16583 * sunrpc/clnt_tcp.c: Likewise.
16584 * sunrpc/clnt_udp.c: Likewise.
16585 * sunrpc/clnt_unix.c: Likewise.
16586 * sunrpc/des_crypt.c: Likewise.
16587 * sunrpc/des_soft.c: Likewise.
16588 * sunrpc/get_myaddr.c: Likewise.
16589 * sunrpc/getrpcport.c: Likewise.
16590 * sunrpc/key_call.c: Likewise.
16591 * sunrpc/key_prot.c: Likewise.
16592 * sunrpc/openchild.c: Likewise.
16593 * sunrpc/pm_getmaps.c: Likewise.
16594 * sunrpc/pm_getport.c: Likewise.
16595 * sunrpc/pmap_clnt.c: Likewise.
16596 * sunrpc/pmap_prot.c: Likewise.
16597 * sunrpc/pmap_prot2.c: Likewise.
16598 * sunrpc/pmap_rmt.c: Likewise.
16599 * sunrpc/rpc/auth.h: Likewise.
16600 * sunrpc/rpc/auth_unix.h: Likewise.
16601 * sunrpc/rpc/clnt.h: Likewise.
16602 * sunrpc/rpc/des_crypt.h: Likewise.
16603 * sunrpc/rpc/key_prot.h: Likewise.
16604 * sunrpc/rpc/netdb.h: Likewise.
16605 * sunrpc/rpc/pmap_clnt.h: Likewise.
16606 * sunrpc/rpc/pmap_prot.h: Likewise.
16607 * sunrpc/rpc/pmap_rmt.h: Likewise.
16608 * sunrpc/rpc/rpc.h: Likewise.
16609 * sunrpc/rpc/rpc_des.h: Likewise.
16610 * sunrpc/rpc/rpc_msg.h: Likewise.
16611 * sunrpc/rpc/svc.h: Likewise.
16612 * sunrpc/rpc/svc_auth.h: Likewise.
16613 * sunrpc/rpc/types.h: Likewise.
16614 * sunrpc/rpc/xdr.h: Likewise.
16615 * sunrpc/rpc_clntout.c: Likewise.
16616 * sunrpc/rpc_cmsg.c: Likewise.
16617 * sunrpc/rpc_common.c: Likewise.
16618 * sunrpc/rpc_cout.c: Likewise.
16619 * sunrpc/rpc_dtable.c: Likewise.
16620 * sunrpc/rpc_hout.c: Likewise.
16621 * sunrpc/rpc_main.c: Likewise.
16622 * sunrpc/rpc_parse.c: Likewise.
16623 * sunrpc/rpc_parse.h: Likewise.
16624 * sunrpc/rpc_prot.c: Likewise.
16625 * sunrpc/rpc_sample.c: Likewise.
16626 * sunrpc/rpc_scan.c: Likewise.
16627 * sunrpc/rpc_scan.h: Likewise.
16628 * sunrpc/rpc_svcout.c: Likewise.
16629 * sunrpc/rpc_tblout.c: Likewise.
16630 * sunrpc/rpc_util.c: Likewise.
16631 * sunrpc/rpc_util.h: Likewise.
16632 * sunrpc/rpcinfo.c: Likewise.
16633 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16634 * sunrpc/rpcsvc/key_prot.x: Likewise.
16635 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16636 * sunrpc/rpcsvc/mount.x: Likewise.
16637 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16638 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16639 * sunrpc/rpcsvc/rex.x: Likewise.
16640 * sunrpc/rpcsvc/rstat.x: Likewise.
16641 * sunrpc/rpcsvc/rusers.x: Likewise.
16642 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16643 * sunrpc/rpcsvc/spray.x: Likewise.
16644 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16645 * sunrpc/rtime.c: Likewise.
16646 * sunrpc/svc.c: Likewise.
16647 * sunrpc/svc_auth.c: Likewise.
16648 * sunrpc/svc_authux.c: Likewise.
16649 * sunrpc/svc_raw.c: Likewise.
16650 * sunrpc/svc_run.c: Likewise.
16651 * sunrpc/svc_simple.c: Likewise.
16652 * sunrpc/svc_tcp.c: Likewise.
16653 * sunrpc/svc_udp.c: Likewise.
16654 * sunrpc/svc_unix.c: Likewise.
16655 * sunrpc/svcauth_des.c: Likewise.
16656 * sunrpc/xcrypt.c: Likewise.
16657 * sunrpc/xdr.c: Likewise.
16658 * sunrpc/xdr_array.c: Likewise.
16659 * sunrpc/xdr_float.c: Likewise.
16660 * sunrpc/xdr_mem.c: Likewise.
16661 * sunrpc/xdr_rec.c: Likewise.
16662 * sunrpc/xdr_ref.c: Likewise.
16663 * sunrpc/xdr_sizeof.c: Likewise.
16664 * sunrpc/xdr_stdio.c: Likewise.
16665
9da4bb31
UD
16666 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16667 handling.
16668
bdaa77bc
AS
166692010-08-19 Andreas Schwab <schwab@redhat.com>
16670
16671 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16672
fe2f79db
LM
166732010-08-19 Luis Machado <luisgpm@br.ibm.com>
16674
16675 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16677 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16678 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16679 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16680 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16681 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16682 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16685 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16687 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16688 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16689
b9b42ee0
AB
166902010-07-26 Anton Blanchard <anton@samba.org>
16691
16692 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16693 * malloc/arena.c (heap_trim): Likewise.
16694
1c06ba31
UD
166952010-08-16 Ulrich Drepper <drepper@redhat.com>
16696
16697 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16698 here. Not...
16699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16700 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16701
f8392f40
L
167022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 * sysdeps/i386/elf/Makefile: New file.
16705
3162f12e
AS
167062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16707
16708 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16709 from fanotify_init.
16710 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16712
28c90b2c
UD
167132010-08-15 Ulrich Drepper <drepper@redhat.com>
16714
16715 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16716 of strncasecmp_l.
1feccb6c 16717 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16718
ca6bb004
UD
167192010-08-14 Ulrich Drepper <drepper@redhat.com>
16720
e9f82e0d
UD
16721 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16722 strncase_l-nonascii.
16723 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16724 Add strncase_l-ssse3.
16725 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16726 * sysdeps/x86_64/strcmp.S: Likewise.
16727 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16728 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16729 * sysdeps/x86_64/strncase.S: New file.
16730 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16731 * sysdeps/x86_64/strncase_l.S: New file.
16732 * string/Makefile (strop-tests): Add strncasecmp.
16733 * string/test-strncasecmp.c: New file.
16734
16735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16736 warning.
16737
ca6bb004
UD
16738 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16739 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16740
052fa7b3
AS
167412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16742
16743 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16744
962dba78
UD
167452010-08-12 Ulrich Drepper <drepper@redhat.com>
16746
16747 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16750
bebff237
AM
167512010-05-01 Alan Modra <amodra@gmail.com>
16752
16753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16754 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16755 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16756 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16757 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16758 tidying. Don't tail-call __sigjmp_save for static lib.
16759 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16760 save location.
16761 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16762 (CALL_MCOUNT): Add eh info, and nop after bl.
16763 (TAIL_CALL_SYSCALL_ERROR): New macro.
16764 (PSEUDO_RET): Use it.
16765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16766 Correct save location of integer regs and cr.
16767 (_dl_profile_resolve): Correct cr save location. Delete nops
16768 after bl when SHARED. Reduce cfi size a little by better
16769 placement of cfi directives.
16770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16771 make a stack frame. Instead use parm save area as a temp.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16773 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16775 Don't make a stack frame for parent, use parm save area.
16776 Increase child stack frame to 112 bytes. Don't save unused reg,
16777 and adjust reg usage. Set up cfi on error recovery and
16778 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16780 (__makecontext): Add dummy nop after jump to exit.
16781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16782 Use correct parm save area and cr save, reduce stack frame.
16783 Correct cfi for possible PSEUDO_RET frame setup.
16784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16785 Branch to local label emitted by PSEUDO_RET rather than
16786 __syscall_error.
16787
02637374
AS
167882010-08-12 Andreas Schwab <schwab@redhat.com>
16789
16790 [BZ #11904]
16791 * locale/programs/locale.c (print_assignment): New function.
16792 (show_locale_vars): Use it.
16793
c3e2f19b
UD
167942010-08-11 Ulrich Drepper <drepper@redhat.com>
16795
3cdaa6ad
UD
16796 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16797 field.
16798 (struct statfs64): Likewise.
16799 (_STATFS_F_FLAGS): Define.
16800 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16802 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16803 (ST_VALID): Define locally.
16804 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16805 __statvfs_getflags, use the provided value.
16806 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16807 __ASSUME_STATFS_F_FLAGS.
16808
754f7da3
UD
16809 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16810
10b3bedc
UD
16811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16812 Add sys/fanotify.h.
16813 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16814 fanotify_mask for GLIBC_2.13.
16815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16816 fanotify_init and fanotify_mark.
16817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16818 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16819
c08fb0d7
UD
16820 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16821 Add prlimit.
16822 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16823 prlimit64 for GLIBC_2.13.
16824 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16825 prlimit64.
16826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16827 syscall.
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16830 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16831 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16833 add prlimit alias.
16834 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16835
15bac72b
UD
16836 [BZ #11903]
16837 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16838 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16839
c3e2f19b
UD
16840 * nss/Makefile: Add rules to build and run tst-nss-test1.
16841 * shlib-versions: Add entry for libnss_test1.
16842 * nss/nss_test1.c: New file.
16843 * nss/tst-nss-test1.c: New file.
16844
16845 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16846 (__nss_configure_lookup): Set appropriate entry in
16847 __nss_configure_lookup to true.
16848 * nss/nsswitch.h: Define enum with indeces of databases in
16849 databases and __nss_database_custom arrays. Declare
16850 __nss_database_custom.
16851 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16852 to avoid using nscd when custom rules are installed.
16853 * nss/getXXbyYY_r.c: Likewise.
16854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16855
16856 * nss/nss_files/files-parse.c: Whitespace fixes.
16857
f15ce4d8
UD
168582010-08-09 Ulrich Drepper <drepper@redhat.com>
16859
16860 [BZ #11883]
16861 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16862 * posix/fnmatch_loop.c: Likewise.
16863
d22e4cc9
AK
168642010-07-17 Andi Kleen <ak@linux.intel.com>
16865
16866 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16867 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16868 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16869 * Versions.def [GLIBC_2.13]: Add.
16870
805bc17d
UD
168712010-08-06 Ulrich Drepper <drepper@redhat.com>
16872
16873 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16874 Also fail if tpwd after pwuid call is NULL.
16875
5a42321d
ST
168762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16877
16878 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16879 when converting to ms.
16880
fd3ebeda
ST
168812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16882
16883 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16884 EOPNOTSUPP errors with ENOTTY.
16885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16886 EOPNOTSUPP errors with ENOTTY.
16887
73507d3a
UD
168882010-07-31 Ulrich Drepper <drepper@redhat.com>
16889
16890 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16891 Add strcasecmp_l-ssse3.
16892 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16893 strcasecmp.
16894 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16896 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16897
fe36dd02
UD
168982010-07-30 Ulrich Drepper <drepper@redhat.com>
16899
66f6765a
UD
16900 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16901
42e08a54
UD
16902 * string/Makefile (strop-tests): Add strcasecmp.
16903 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16904 strcasecmp_l-nonascii.
16905 (gen-as-const-headers): Add locale-defines.sym.
16906 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16907 * sysdeps/x86_64/strcasecmp.S: New file.
16908 * sysdeps/x86_64/strcasecmp_l.S: New file.
16909 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16910 * sysdeps/x86_64/locale-defines.sym: New file.
16911 * string/test-strcasecmp.c: New file.
16912
fe36dd02
UD
16913 * string/test-strcasestr.c: Test both ends of the range of characters.
16914 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16915
48cbc0d6
RM
169162010-07-29 Roland McGrath <roland@redhat.com>
16917
76e6d6bc 16918 [BZ #11856]
48cbc0d6
RM
16919 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16920
880113d9
UD
169212010-07-27 Ulrich Drepper <drepper@redhat.com>
16922
16923 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16924 for ld.so.
16925
deb9cabb
AS
169262010-07-27 Andreas Schwab <schwab@redhat.com>
16927
16928 * manual/memory.texi (Malloc Tunable Parameters): Document
16929 M_PERTURB.
16930
1c7570ff
RM
169312010-07-26 Roland McGrath <roland@redhat.com>
16932
16933 [BZ #11840]
16934 * configure.in (-fgnu89-inline check): Set and substitute
16935 gnu89_inline, not libc_cv_gnu89_inline.
16936 * configure: Regenerated.
16937 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16938
24fb0f88
UD
169392010-07-26 Ulrich Drepper <drepper@redhat.com>
16940
16941 * string/test-strnlen.c: New file.
16942 * string/Makefile (strop-tests): Add strnlen.
16943 * string/tester.c (test_strnlen): Add a few more test cases.
16944 * string/tst-strlen.c: Better error reporting.
16945
16946 * sysdeps/x86_64/strnlen.S: New file.
16947
8e96b93a
UD
169482010-07-24 Ulrich Drepper <drepper@redhat.com>
16949
16950 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16951 lower-latency instructions.
16952
dbc676d4
UD
169532010-07-23 Ulrich Drepper <drepper@redhat.com>
16954
16955 * string/test-strcasestr.c: New file.
16956 * string/test-strstr.c: New file.
16957 * string/Makefile (strop-tests): Add strstr and strcasestr.
16958 * string/str-two-way.h: Don't undefine MAX.
16959 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16960
f6a31e0e
AS
169612010-07-21 Andreas Schwab <schwab@redhat.com>
16962
16963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16964 strcasestr-nonascii.
16965 (CFLAGS-strcasestr-nonascii.c): Define.
16966 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16968 Remove unused attribute.
16969
5dbc3b6c
RM
169702010-07-20 Roland McGrath <roland@redhat.com>
16971
16972 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16973 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16974 ld.so.cache was broken. With it, there is no way to disable dsocaps
16975 like LD_HWCAP_MASK can disable hwcaps.
16976
23d101d8
EPM
169772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16978
16979 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16980
cc9f2e47
UD
169812010-07-16 Ulrich Drepper <drepper@redhat.com>
16982
16983 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16984 call in strcasestr.
16985 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16986 __strcasestr_sse42_nonascii.
16987 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16988 strcasestr-nonascii.c.
16989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16990
77c1b069
LM
169912010-06-15 Luis Machado <luisgpm@br.ibm.com>
16992
16993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16997
440566c3
UD
169982010-07-09 Ulrich Drepper <drepper@redhat.com>
16999
17000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17001 fcntl.
17002
5be9d05d
AS
170032010-07-06 Andreas Schwab <schwab@redhat.com>
17004
c30b7ee2 17005 [BZ #11577]
5be9d05d
AS
17006 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17007 dl_signal_cerror.
17008
8a492a67
UD
170092010-07-06 Ulrich Drepper <drepper@redhat.com>
17010
17011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17012 _PC_PIPE_BUF using F_GETPIPE_SZ.
17013
713df3d5
RM
170142010-07-05 Roland McGrath <roland@redhat.com>
17015
17016 * manual/arith.texi (Rounding Functions): Fix rint description
17017 implicit in round description.
17018
702e8f14
UD
170192010-07-02 Ulrich Drepper <drepper@redhat.com>
17020
17021 * elf/Makefile: Fix linking for a few tests to make recent linker
17022 happy.
17023
52ed8be9
AS
170242010-06-30 Andreas Schwab <schwab@redhat.com>
17025
17026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17027 $(common-objpfx)libc_nonshared.a.
17028
f47c9a11
LM
170292010-06-21 Luis Machado <luisgpm@br.ibm.com>
17030
17031 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17032 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17033 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17034 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17035 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17036 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17037 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17038 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17053 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17054 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17055 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17056 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17057 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17058 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17059 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17060 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17061 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17062 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17063 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17064 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17079
6fb8cbcb
L
170802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17083 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17084 * string/memmove.c (memmove): Renamed to ...
17085 (MEMMOVE): ...this. Default to memmove.
17086 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17087 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17088 (END_CHK): Define.
17089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17090 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17091 mempcpy-ssse3-back memmove-ssse3-back.
17092 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17095 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17096 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17097 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17098 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17099 * sysdeps/x86_64/multiarch/memmove.c: New file.
17100 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17101 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17102 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17103 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17104 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17106 Define.
17107 (index_Fast_Copy_Backward): Define.
17108 (HAS_ARCH_FEATURE): Define.
17109 (HAS_FAST_REP_STRING): Define.
17110 (HAS_FAST_COPY_BACKWARD): Define.
17111
4e733bac 171122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17113
17114 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17115 Restore proper fallback handling.
17116
63c4ed22
UD
171172010-06-19 Ulrich Drepper <drepper@redhat.com>
17118
ac2b484c
UD
17119 [BZ #11701]
17120 * posix/group_member.c (__group_member): Correct checking loop.
17121
63c4ed22
UD
17122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17123 OOM in getpwuid_r correctly. Return error number when the caller
17124 should return, otherwise -1.
17125 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17126 call returning > 0 value.
17127 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17128
765ade4b
AS
171292010-06-07 Andreas Schwab <schwab@redhat.com>
17130
17131 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17132 libc_nonshared.a from targets in modules-names.
17133
80da2e09
KS
171342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17135
17136 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17137 requires it.
17138
158db122
LM
171392010-06-10 Luis Machado <luisgpm@br.ibm.com>
17140
17141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17145
caa78cf8
AS
171462010-06-02 Andreas Schwab <schwab@redhat.com>
17147
17148 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17149
b2ef2c01
UD
171502010-06-14 Ulrich Drepper <drepper@redhat.com>
17151
17152 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17153 and F_GETPIPE_SZ.
17154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17160
fbd643b6
RM
171612010-06-14 Roland McGrath <roland@redhat.com>
17162
17163 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17164
f32f2869
JJ
171652010-06-07 Jakub Jelinek <jakub@redhat.com>
17166
17167 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17168 __REDIRECT followed by __THROW.
17169 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17170 * posix/getopt.h (getopt): Likewise.
17171
2a50c078
EPM
171722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17173
17174 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17175 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17176 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17177 in AT_FLAGS.
17178 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17179 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17180
eb5ad2eb
LM
171812010-05-28 Luis Machado <luisgpm@br.ibm.com>
17182
17183 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17184
3c88fe1e
L
171852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 [BZ #11640]
17188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17189 Properly check family and model.
17190
d2f73151
TY
171912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17192
17193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17194
ebd2e13d
LM
171952010-05-24 Luis Machado <luisgpm@br.ibm.com>
17196
17197 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17198
b32b8b45
UD
171992010-05-21 Ulrich Drepper <drepper@redhat.com>
17200
17201 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17202 symbol reference.
17203
9acbe24d
AS
172042010-05-19 Andreas Schwab <schwab@redhat.com>
17205
17206 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17207 symbol reference.
17208
f0ccf6ea
AS
172092010-05-21 Andreas Schwab <schwab@redhat.com>
17210
3d04ff3a
AS
17211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17212 and internal_recvmmsg.
17213 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17214 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17215 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17216 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17217
f0ccf6ea
AS
17218 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17219 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17220 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17221
5b08ac57
AS
172222010-05-20 Andreas Schwab <schwab@redhat.com>
17223
17224 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17225
4828935d
LM
172262010-05-17 Luis Machado <luisgpm@br.ibm.com>
17227
17228 POWER7 optimizations.
17229 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17230 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17231
373d545e
UD
172322010-05-19 Ulrich Drepper <drepper@redhat.com>
17233
17234 * version.h: Update for 2.13 development version.
17235
21a2b1ae
AS
172362010-05-12 Andrew Stubbs <ams@codesourcery.com>
17237
17238 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17239 exceptions. Return 0.
17240
3f7dcb2b
RM
172412010-05-07 Roland McGrath <roland@redhat.com>
17242
17243 * elf/ldconfig.c (main): Add a const.
17244
5f24d53a 172452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17246
a160f8d8
UD
17247 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17248 (args_options): Add no-idn option.
17249 (ahosts_keys_int): Add idn_flags to ai_flags.
17250 (parse_option): Handle 'i' option to clear idn_flags.
17251
5f24d53a
UD
17252 * malloc/malloc.c (_int_free): Possible race in the most recently
17253 added check. Only act on the data if no current modification
17254 happened.
265bb1ce
UD
17255
17256See ChangeLog.17 for earlier changes.