]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix up ChangeLog entries
[glibc.git] / ChangeLog
CommitLineData
84b3fd84
FW
12012-07-25 Florian Weimer <fweimer@redhat.com>
2
3 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6 Introduce __libc_secure_getenv.
0c7936d5
FW
7 * stdlib/Versions (2.17): Add secure_getenv
8 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9 * stdlib/secure-getenv.c: Rename __secure_getenv to
10 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
12 * stdlib/tst-secure-getenv.c: New.
13 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14 * manual/startup.texi (Environment Access): Document
15 secure_getenv.
84b3fd84
FW
16 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17 __libc_secure_getenv.
18 * inet/ruserpass.c (ruserpass): Likewise.
19 * malloc/mtrace.c (mtrace): Likewise.
20 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23 * sysdeps/posix/tempname.c: Likewise. Evaluate
24 HAVE_SECURE_GETENV.
25 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26 __secure_getenv to __libc_secure_getenv.
84b3fd84 27 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29 Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31 Likewise.
32 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39
56e49b71
JM
402012-07-25 Joseph Myers <joseph@codesourcery.com>
41
42 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43 (struct La_i86_retval): Likewise.
44 (struct La_x86_64_regs): Likewise.
45 (struct La_x86_64_retval): Likewise.
46 (struct La_x32_regs): Likewise.
47 (struct La_x32_retval): Likewise.
48 (struct La_ppc32_regs): Likewise.
49 (struct La_ppc32_retval): Likewise.
50 (struct La_ppc64_regs): Likewise.
51 (struct La_ppc64_retval): Likewise.
52 (struct La_sh_regs): Likewise.
53 (struct La_sh_retval): Likewise.
54 (struct La_s390_32_regs): Likewise.
55 (struct La_s390_32_retval): Likewise.
56 (struct La_s390_64_regs): Likewise.
57 (struct La_s390_64_retval): Likewise.
58 (struct La_sparc32_regs): Likewise.
59 (struct La_sparc32_retval): Likewise.
60 (struct La_sparc64_regs): Likewise.
61 (struct La_sparc64_retval): Likewise.
62 (struct audit_ifaces): Remove architecture-specific pltenter and
63 pltexit members.
64 * sysdeps/i386/ldsodefs.h: New file.
65 * sysdeps/powerpc/ldsodefs.h: Likewise.
66 * sysdeps/s390/ldsodefs.h: Likewise.
67 * sysdeps/sh/ldsodefs.h: Likewise.
68 * sysdeps/sparc/ldsodefs.h: Likewise.
69 * sysdeps/x86_64/ldsodefs.h: Likewise.
70
354691b7
MP
712012-07-25 Marek Polacek <polacek@redhat.com>
72
73 [BZ #6808]
74 * math/libm-test.inc (yn_test): Add another test.
75 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76 to ERANGE when the result is +-Inf.
77 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
80 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
81
bf9e2071
JM
822012-07-24 Joseph Myers <joseph@codesourcery.com>
83
84 * conform/data/time.h-data (NULL): Use macro-constant. Require
85 equal to 0.
86 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
87 clock_t.
88 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
89
57633811
TS
902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
91
92 * configure.in <sysdeps resolving>: Correct printing
93 Implies_before.
94 * configure: Regenerate.
95
c23c33b0
TS
962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
97
98 * math/w_ilogb.c: Include <limits.h>.
99 * math/w_ilogbl.c: Likewise.
100
b5982523
JM
1012012-07-20 Joseph Myers <joseph@codesourcery.com>
102
103 * manual/lang.texi (__va_copy): Document primarily as ISO C99
104 va_copy. Document allowing for unavailable va_copy only as
105 pre-C99 compatibility.
106 * manual/string.texi (Copying and Concatenation): Use va_copy
107 instead of __va_copy in concat example.
108
ac4ea442
PT
1092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
110
111 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
112 (__sendto): Use create_address_port. Initialize APORT and deallocate
113 it if not null.
114
f98eafbd
PT
115 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
116 with O_NOLINK passed to __file_name_lookup.
117
898c7aab
PT
118 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
119 with O_NOLINK passed to __file_name_lookup.
120
0ced335a
PT
121 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
122 negative N or less than NGIDS.
123
b3404dbd
PT
124 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
125 type to string_t. Set ERANGE as errno and return it if NAME is not big
126 enough. Use memcpy instead of strncpy.
127
0f48659e
JM
1282012-07-20 Joseph Myers <joseph@codesourcery.com>
129
130 * elf/Makefile (check-data): Remove.
131 (localplt.data): New vpath directive.
132 ($(objpfx)check-localplt.out): Use localplt.data from vpath
133 instead of $(check-data).
134 * scripts/data/localplt-generic.data: Move to ...
135 * sysdeps/generic/localplt.data: ... here.
136 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
137 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
138 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
140 ... here.
141 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
143 ... here.
144 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
146 ... here.
147 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
149 ... here.
150 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
152 ... here.
153 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
155 ... here.
156
d37cbdaa
AZ
1572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
160 PPC32 and PPC64 files.
161 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
162 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
163
46f85fc2
AK
1642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
165
166 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
167 __makecontext_ret to ...
168 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
169 ... here and call exit if uc_link is NULL. New file.
170 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
171 __makecontext_ret.S.
172 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
173 __makecontext_ret to ...
174 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
175 ... here and call exit if uc_link is NULL. New file.
176 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
177 __makecontext_ret.S.
178
08f43f9b
AK
1792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
180
181 * elf/elf.h (R_390_IRELATIVE): New definition.
182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
183 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
184 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
185 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
186 (elf_machine_lazy_rel): Likewise.
187 * sysdeps/s390/dl-irel.h: New file.
188 * sysdeps/s390/s390-64/memcpy.S: New asm code.
189 * sysdeps/s390/s390-64/memset.S: New asm code.
190 * sysdeps/s390/s390-64/memcmp.S: New asm code.
191 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
193 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
194 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
195 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
196 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
197 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
198 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
199 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
200 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
201 * sysdeps/s390/s390-32/memcpy.S: New asm code.
202 * sysdeps/s390/s390-32/memset.S: New asm code.
203 * sysdeps/s390/s390-32/memcmp.S: New asm code.
204
3b05db33
MP
2052012-07-17 Marek Polacek <polacek@redhat.com>
206
207 [BZ #14349]
208 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
209 * sysdeps/s390/s390-64/configure.in: Likewise.
210 * sysdeps/sparc/configure.in: Likewise.
211 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
212 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
213 * sysdeps/i386/configure.in: Likewise.
214 * sysdeps/x86_64/configure.in: Likewise.
215 * sysdeps/sh/configure.in: Likewise.
216 * sysdeps/s390/s390-32/configure: Regenerated.
217 * sysdeps/s390/s390-64/configure: Likewise.
218 * sysdeps/x86_64/configure: Likewise.
219 * sysdeps/sh/configure: Likewise.
220 * sysdeps/powerpc/powerpc64/configure: Likewise.
221 * sysdeps/powerpc/powerpc32/configure: Likewise.
222 * sysdeps/sparc/configure: Likwise.
223 * sysdeps/i386/configure: Likewise.
224
a66877c6
MP
225 * elf/dl-open.c: Comment fixes.
226
cfc82fd8
JM
2272012-07-17 Joseph Myers <joseph@codesourcery.com>
228
bd29910a
JM
229 * Makefile [CXX] (check-data): Remove.
230 [CXX] (c++-types.data): New vpath directive.
231 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
232 vpath. Do not allow for C++ type data being missing.
233 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
234 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
235 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
236 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
237 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
238 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
239 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
241 ... here.
242 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
244 ... here.
245 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
247 ... here.
248 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
250 ... here.
251 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
253 ... here.
254 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
256 ... here.
257 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
259 ... here.
260 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
262
cfc82fd8
JM
263 * elf/tls-macros.h (TLS_LE): Move architecture-specific
264 definitions to architecture-specific files.
265 (TLS_IE): Likewise.
266 (TLS_LD): Likewise.
267 (TLS_GD): Likewise.
268 * sysdeps/i386/tls-macros.h: New file.
269 * sysdeps/powerpc/tls-macros.h: Likewise.
270 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
271 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
272 * sysdeps/sh/tls-macros.h: Likewise.
273 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
274 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
275 * sysdeps/x86_64/tls-macros.h: Likewise.
276
f7db3170
TS
2772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
278
07cbfc23
TS
279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
280 zero value for regular exit case.
281
f7db3170
TS
282 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
283 (__start_context): Preserve zero value for regular exit case.
284
dc97c227
TS
2852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
286 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
287
288 * manual/setjmp.texi (setcontext): Clarify normal process
289 termination when uc_link is the null pointer.
290 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
291 exit call.
292
d0cd7d02
AS
2932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
294
295 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
296 preprocessor. Test for each exception mask separately.
297
dd318934
AJ
2982012-07-16 Andreas Jaeger <aj@suse.de>
299
300 * po/ru.po: Update from translation team.
301
8048311a
JM
3022012-07-15 Joseph Myers <joseph@codesourcery.com>
303
304 * conform/data/string.h-data (NULL): Use macro-constant. Require
305 equal to 0.
306 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
307 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
308 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
309 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
311
b637d46e
AJ
3122012-07-13 Andreas Jaeger <aj@suse.de>
313
314 * po/fr.po: Update from translation team.
315
541428fe
MP
3162012-07-12 Marek Polacek <polacek@redhat.com>
317
318 [BZ #14173]
319 * math/libm-test.inc (yn_test): Add test for BZ #14173.
320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
321 loop condition.
322
ec332e94
JM
3232012-07-12 Joseph Myers <joseph@codesourcery.com>
324
325 [BZ #13717]
326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
327 Change to 2.4.1 where previously 2.4.0.
328 * sysdeps/unix/sysv/linux/configure: Regenerated.
329 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
330 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
331 version.
332 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
333 (__ASSUME_AT_CLKTCK): Remove.
334 (__ASSUME_AT_PAGESIZE): Likewise.
335 (__ASSUME_AT_XID): Likewise.
336 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
337 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
338 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
339 unconditionally.
340 (HAVE_AUX_PAGESIZE): Likewise.
341 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
342 [__ASSUME_AT_CLKTCK]: Make code unconditional.
343 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
344
7b6e99be
JB
3452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
346
347 [BZ #14307]
348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
349 the temporary buffer used to invoke __gethostbyname2_r,
350 __gethostbyaddr_r and gethostbyname4_r to make room for struct
351 host_data / struct gaih_addrtuple.
352 * resolv/nss_dns/dns-host.c (global scope): Move definition of
353 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
354 header file nss/nsswitch.h.
355 * nss/nsswitch.h (global scope): Add definition of implementation
356 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
357 resolv/nss_dns/dns-host.c).
358
608404eb
AJ
3592012-07-11 Andreas Jaeger <aj@suse.de>
360
361 * po/fr.po: Update from translation team.
362
71220aca
AJ
363 * po/sv.po: Update from translation team
364 * po/fr.po: Another update from translation team.
365
28cfe843
AZ
3662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367
368 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
369 for subnormals or multiply small sinh result by itself.
370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
372
6b90f981
DM
3732012-07-11 David S. Miller <davem@davemloft.net>
374
375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
376
c6825772
AS
3772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
378
379 [BZ #14347]
380 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
381 (INTERNAL_MARK): Shift it here.
382
7b8e0d49
MP
3832012-07-10 Marek Polacek <polacek@redhat.com>
384
385 [BZ #14151]
386 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
387 libc_cv_asm_global_directive with .globl.
388 * configure: Regenerated.
389 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
390 with .globl.
391 * sysdeps/i386/configure: Regenerated.
392 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
393 with .globl.
394 * sysdeps/x86_64/configure: Regenerated.
395 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
396 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
397 * elf/tst-unique2mod2.c: Likewise.
398 * elf/tst-unique2mod1.c: Likewise.
399 * elf/tst-unique1mod2.c: Likewise.
400 * elf/tst-unique1mod1.c: Likewise.
401 * sysdeps/s390/s390-32/sysdep.h: Likewise.
402 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
405 * sysdeps/mach/sysdep.h: Likewise.
406 * sysdeps/i386/sysdep.h: Likewise.
407 * sysdeps/i386/i386-mcount.S: Likewise.
408 * sysdeps/x86_64/_mcount.S: Likewise.
409 * sysdeps/x86_64/sysdep.h: Likewise.
410 * sysdeps/sh/_mcount.S: Likewise.
411 * sysdeps/sh/sysdep.h: Likewise.
412 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
413 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
414 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
415 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
416 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
417 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
418 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
419 * locale/localeinfo.h: Likewise.
420 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
421 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
422
6c55cda3
RM
4232012-07-09 Roland McGrath <roland@hack.frob.com>
424
425 [BZ #14336]
426 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
427 system".
428 * manual/message.texi (The Uniforum approach): Likewise.
429 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
430 (glibc iconv Implementation): Likewise.
431
638a572e
JM
4322012-07-09 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #14337]
435 * math/s_clog.c (__clog): Avoid scaling a value down where that
436 could result in underflow.
437 * math/s_clog10.c (__clog10): Likewise.
438 * math/s_clog10f.c (__clog10f): Likewise.
439 * math/s_clog10l.c (__clog10l): Likewise.
440 * math/s_clogf.c (__clogf): Likewise.
441 * math/s_clogl.c (__clogl): Likewise.
442 * math/libm-test.inc (clog_test): Add more tests.
443 (clog10_test): Likewise.
444 * sysdeps/i386/fpu/libm-test-ulps: Update.
445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446
261f4859
AS
4472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
448
0abaf3e4
AS
449 [BZ #14283]
450 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
451 by 7 not 8 to examine high bit of fractional part.
452
261f4859
AS
453 [BZ #14042]
454 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
455 for call to __mcount_internal.
456 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
457 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
458 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
459
f17ac40d
JM
4602012-07-06 Joseph Myers <joseph@codesourcery.com>
461
9ad63c23
JM
462 [BZ #14154]
463 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
464 approximation for values within 0x1p-13f of an odd multiple of
465 pi/4.
466 * math/libm-test.inc (tan_test): Do not allow spurious underflow
467 exception. Add more tests.
468 * sysdeps/i386/fpu/libm-test-ulps: Update.
469
f17ac40d
JM
470 [BZ #6778]
471 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
472 inputs and return -1 for them. Do not check for +Inf in case not
473 reachable for +Inf.
474 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
475 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
477 and return -1 for them. Do not check for +Inf in case not
478 reachable for +Inf.
479 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
480 define.
481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
482 and return -1 for them. Do not check for +Inf in case not
483 reachable for +Inf.
484 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
485 spurious underflow.
486 * sysdeps/i386/fpu/libm-test-ulps: Update.
487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
488
fb21f89b
MF
4892012-07-06 Mike Frysinger <vapier@gentoo.org>
490
491 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
492
cdfe2c5e
JM
4932012-07-05 Joseph Myers <joseph@codesourcery.com>
494
495 [BZ #14157]
496 [BZ #14331]
497 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
498 could result in spurious underflow. Scale down values above
499 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
500 * math/s_csqrtf.c (__csqrtf): Likewise.
501 * math/s_csqrtl.c (__csqrtl): Likewise.
502 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
503 spurious underflow.
504 * sysdeps/i386/fpu/libm-test-ulps: Update.
505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
506
70d35b67
AS
5072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
508
704bc459
AS
509 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
510 xopen-msg.sed.
511 * catgets/xopen-msg.awk: New file.
512 * catgets/xopen-msg.sed: Removed.
513
70d35b67
AS
514 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
515 po2text.sed.
516 * intl/po2test.awk: New file.
517 * intl/po2test.sed: Removed.
518
ca61cf32
JM
5192012-07-04 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #14328]
522 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
523 or multiply small sinh result by itself.
524 * math/s_ctanf.c (__ctanf): Likewise.
525 * math/s_ctanh.c (__ctanh): Likewise.
526 * math/s_ctanhf.c (__ctanhf): Likewise.
527 * math/s_ctanhl.c (__ctanhl): Likewise.
528 * math/s_ctanl.c (__ctanl): Likewise.
529 * math/libm-test.inc (ctan_test_tonearest): New function.
530 (ctan_test_towardzero): Likewise.
531 (ctan_test_downward): Likewise.
532 (ctan_test_upward): Likewise.
533 (ctanh_test_tonearest): Likewise.
534 (ctanh_test_towardzero): Likewise.
535 (ctanh_test_downward): Likewise.
536 (ctanh_test_upward): Likewise.
537 (main): Call these new functions.
538 * sysdeps/i386/fpu/libm-test-ulps: Update.
539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
540
ca48a46a
MF
5412012-07-03 Mike Frysinger <vapier@gentoo.org>
542
543 * .gitignore: Delete /ports entry.
544
9d63d37d
AJ
5452012-07-03 Andreas Jaeger <aj@suse.de>
546
547 * po/bg.po: Update from translation team.
548 * po/cs.po: Likewise.
549 * po/de.po: Likewise.
550 * po/hr.po: Likewise.
551 * po/nl.pl: Likewise.
552 * po/pl.po: Likewise.
553 * po/vi.po: Likewise.
554
370ca3d2
JM
5552012-07-03 Joseph Myers <joseph@codesourcery.com>
556
95f5a9a8
JM
557 * Makeconfig [!+link] (+link-before-libc): New variable.
558 [!+link] (+link-after-libc): Likewise.
559 [!+link] (+link-tests): Likewise.
560 [!+link] (+link): Define in terms of $(+link-before-libc) and
561 $(+link-after-libc).
562 [!+link-static] (+link-static-before-libc): New variable.
563 [!+link-static] (+link-static-after-libc): Likewise.
564 [!+link-static] (+link-static-tests): Likewise.
565 [!+link-static] (+link-static): Define in terms of
566 $(+link-static-before-libc) and $(+link-static-after-libc).
567 [build-shared] (link-libc-before-gnulib): New variable.
568 [build-shared] (link-libc-tests): Likewise.
569 [build-shared] (link-libc): Define in terms of
570 $(link-libc-before-gnulib).
571 [!build-shared] (link-libc-tests): New variable.
572 (link-libc-static-tests): New variable.
573 [!gnulib] (gnulib-arch): New variable.
574 [!gnulib] (gnulib-tests): Likewise.
575 [!gnulib] (static-gnulib-arch): Likewise.
576 [!gnulib] (static-gnulib-tests): Likewise.
577 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
578 Define with "=" instead of ":=".
579 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
580 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
581 * Rules (binaries-all-notests): New variable.
582 (binaries-all-tests): Likewise.
583 (binaries-static-notests): Likewise.
584 (binaries-static-tests): Likewise.
585 (binaries-all): Define using $(binaries-all-notests) and
586 $(binaries-all-tests).
587 (binaries-static): Define using $(binaries-static-notests) and
588 $(binaries-static-tests).
589 (binaries-shared-tests): New variable.
590 (binaries-shared-notests): Likewise.
591 (binaries-shared): Remove variable.
592 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
593 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
594 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
595 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
596 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
597 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
598 * elf/Makefile (sln-modules): New variable.
599 (extra-objs): Add $(sln-modules:=.o).
600 (ldconfig-modules): Add static-stubs.
601 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
602 * elf/static-stubs.c: New file.
603
7a845b2c
JM
604 [BZ #14283]
605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
606 by 7 not 8 to examine high bit of fractional part. Use volatile
607 variables when splitting into final array of floats if
608 __FLT_EVAL_METHOD__ != 0.
609 * math/libm-test.inc (cos_test): Add another test.
610 (sin_test): Likewise.
611 * sysdeps/i386/fpu/libm-test-ulps: Update.
612
e2283f38
JM
613 [BZ #14273]
614 * math/libm-test.inc (cosh_test): Add more tests.
615
370ca3d2
JM
616 * version.h (RELEASE): Set to "development".
617 (VERSION): Set to "2.16.90".
618
ee9247c3
CD
6192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
620
621 * NEWS: Update copyright. Remove last-updated date.
622 Mention math library bug fixes and timezone data changes.
623 * README: Mention GNU/Hurd, x32, and HPPA support status.
624
4648c381
TS
6252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
626
627 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
628
aac78a43
AJ
6292012-06-27 Andreas Jaeger <aj@suse.de>
630
631 * manual/contrib.texi (Contributors): Add Samuel Thibault.
632
ed3dbfad
AJ
6332012-06-25 Andreas Jaeger <aj@suse.de>
634
635 * sysdeps/s390/fpu/libm-test-ulps: Update.
636
4d0ee855
AS
6372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
638 Thomas Schwinge <thomas@codesourcery.com>
639
640 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
641 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
643 fanotify_mark.
644
af1bce34
TS
6452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
646
a9fa33ba
TS
647 * sysdeps/mach/start.c: Remove file.
648 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
649 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
650 * sysdeps/sh/init-first.c: Likewise.
651
58f902b8
TS
652 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
653 registers for frame unwinding purposes, add CFI directives.
654 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
656 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
657 Likewise.
658
1518f58b
TS
659 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
660 __fortify_fail returning.
661 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
662
db9b5059
TS
663 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
664 sysdeps/sh/____longjmp_chk.S.
665 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
666 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
667 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
668 (gen-as-const-headers): Append sigaltstack-offsets.sym.
669
967705fe
TS
670 * sysdeps/sh/abort-instr.h: New file.
671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
672 process in case exit returns.
673
a9def8c4
TS
674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
675 initialize the GOT register before use.
676
2a649725
TS
677 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
678 calculation of ARGC > 4.
679
af1bce34
TS
680 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
681 meaningful names to some local labels.
682
d230f50a
KK
6832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
684 Kaz Kojima <kkojima@rr.iij4u.or.jp>
685
686 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
687 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
688 (__arch_compare_and_exchange_val_16_acq): Likewise.
689 (__arch_compare_and_exchange_val_32_acq): Likewise.
690 (atomic_exchange_and_add): Fix gUSA sequence.
691 (atomic_add): Likewise.
692 (atomic_add_negative): Likewise.
693 (atomic_add_zero): Likewise.
694 (atomic_bit_test_set): Likewise.
695
0479b305
AS
6962012-06-22 Andreas Schwab <schwab@redhat.com>
697
698 [BZ #13579]
699 * include/link.h (struct link_map): Add l_free_initfini.
700 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
701 l_initfini.
702 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
703 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
704 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
705 set.
706
0e3933b9
CD
7072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
708
709 * configure.in: Use AC_LANG_SOURCE.
710 * configure: Regenerate.
711
4248b1b1
RM
7122012-06-22 Roland McGrath <roland@hack.frob.com>
713
714 * configure.in (libc_cv_localstatedir): New substituted variable.
715 * configure: Regenerated.
716 * config.make.in (localstatedir): New variable, substituted from
717 libc_cv_localstatedir.
718 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
719 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
720 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
721 * sysdeps/gnu/configure: Regenerated.
722
006dd861
JL
7232012-06-21 Jeff Law <law@redhat.com>
724
725 [BZ #14277]
726 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
727 free. Simplify list management for _LIBC case.
728
79662d42
JM
7292012-06-21 Joseph Myers <joseph@codesourcery.com>
730
b7abb4bf
JM
731 [BZ #14273]
732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
733 Clear sign bit of 64-bit integer value before comparing against
734 overflow value.
735
79662d42
JM
736 * sysdeps/mach/configure: Regenerated.
737
1f150908
L
7382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
739
740 [BZ #14278]
741 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
742
28363bbf
JL
7432012-06-21 Jeff Law <law@redhat.com>
744
745 [BZ #13882]
746 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
747 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 748 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
749 * elf/dl-open.c (dl_open_worker): Likewise.
750
09615db4
CD
7512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
752
753 * scripts/list-sources.sh: Scan PORTS for translations.
754 * po/libc.pot: Regenerated.
755
2174c6dd
AJ
7562012-06-21 Andreas Jaeger <aj@suse.de>
757
758 [BZ #12194]
759 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
760 warning.
761 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
762 * bits/byteswap-16.h (__bswap_16): Likewise.
763 * bits/byteswap.h (__bswap_constant_16): Likewise.
764
3ee947b1
L
7652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
766
767 [BZ #14117]
a2f34833
L
768 * sysdeps/i386/fpu_control.h: Removed.
769 * sysdeps/x86_64/fpu_control.h: Moved to ...
770 * sysdeps/x86/fpu_control.h: Here.
771
3ee947b1
L
772 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
773 (_FPU_SETCW): Likewise.
774
ed1825f8
L
7752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
776
25f1282a
L
777 [BZ #14117]
778 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
779 * sysdeps/x86/fpu/bits/mathinline.h: This.
780 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
781
ed1825f8
L
782 [BZ #14050]
783 [BZ #14117]
784 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
785 functions if __x86_64__ is defined.
786
36d54b74
CLT
7872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
788
789 * string/endian.h: Add !__ASSEMBLER__ condition for including
790 conversion interfaces.
791
10285c21
JM
7922012-06-15 Joseph Myers <joseph@codesourcery.com>
793
794 [BZ #14241]
795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
796 of ABS(x) in calculating zero to negative powers other than odd
797 integers.
798 * math/libm-test.inc (pow_test): Add more tests.
799
06c5abbd
AJ
8002012-06-15 Andreas Jaeger <aj@suse.de>
801
802 * manual/contrib.texi (Contributors): Update entry of Liubov
803 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
804 Machado Filho.
805
a3aeac40
CH
8062012-06-15 Cyril Hrubis <metan@ucw.cz>
807
808 * string/string.h: Add __wur to GNU version of strerror_r.
809
49bdf4c1
L
8102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
811
812 [BZ #14229]
813 * string/Makefile (tests): Add tst-strtok_r.
814 * string/tst-strtok_r.c: New file.
815 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
816 RAX_LP/RDX_LP on SAVE_PTR.
817
834f9b8d
RM
8182012-06-14 Roland McGrath <roland@hack.frob.com>
819
820 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
821
75fa1921
JM
8222012-06-14 Joseph Myers <joseph@codesourcery.com>
823
824 * libm_test.inc (csqrt_test): Allow more spurious underflow
825 exceptions.
826 (j0_test): Likewise.
827 (j1_test): Likewise.
828 (y0_test): Likewise.
829 (y1_test): Likewise.
830
771766df
CD
8312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
832
833 * po/Makefile (libc.pot): Use UTF-8 charset.
834
ceb9e56b
PP
8352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
836
837 [BZ #14210]
838 Suppress sign-conversion warning from FD_SET.
839 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
840 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
841 not unsigned long int.
842 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
843
ddb28975
L
8442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
845
846 [BZ #14050]
847 [BZ #14117]
848 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
849 __extern_always_inline instead of __extern_inline.
850 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
851 (__signbit): Likewise.
852 (__signbitl): Support C++ namespace.
853 (lrintf): New inline function.
854 (lrint): Likewise.
855 (llrintf): Likewise.
856 (llrint): Likewise.
857 (fmaxf): Likewise.
858 (fmax): Likewise.
859 (fminf): Likewise.
860 (fmin): Likewise.
861 (rint): Likewise.
862 (rintf): Likewise.
863 (ceil): Likewise.
864 (ceilf): Likewise.
865 (floor): Likewise.
866 (floorf): Likewise.
867 (nearbyint): Likewise.
868 (nearbyintf): Likewise.
869
d7b4fb26
TS
8702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
871
872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
873 non-default versions.
874
eb55f5c2
RM
8752012-06-11 Roland McGrath <roland@hack.frob.com>
876
877 [BZ #14218]
878 * manual/argp.texi (Argp): Reword argp_parse description slightly.
879
366af02c
TS
8802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
881
99ff6e5c
TS
882 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
883 (FE_UPWARD, FE_DOWNWARD): Don't define.
884 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
885 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
886
366af02c
TS
887 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
888 reading it.
889 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
891
793ea851
KK
8922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
893
894 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
896 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
898
a728a38f
L
8992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
900
901 [BZ #14117]
c08010c7
L
902 * sysdeps/i386/fpu/bits/fenv.h: Removed.
903 * sysdeps/i386/fpu/Implies: New file.
904 * sysdeps/x86_64/fpu/Implies: Likewise.
905 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
906 * sysdeps/x86/fpu/bits/fenv.h: This.
907
a728a38f
L
908 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
909 __SSE_MATH__.
910
6e230d11
SP
9112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
912
913 [BZ #14134]
914 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
915 character 0xffff that matches the last element of the
916 conversion table.
917
1b671feb
AZ
9182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
921 fmodl commit.
922
6043738b
AZ
9232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
926 values higher than 25.6283.
927
34ae0b32
AZ
9282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
931 subnormal exponent extraction and add some __builtin_expect.
932 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
933 Fix for subnormal mantissa calculation.
934
1214ec8f
MF
9352012-06-04 Mike Frysinger <vapier@gentoo.org>
936
937 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
938 cpu2 is -1 and errno is not ENOSYS.
939
f3d1f93c
L
9402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
941
942 [BZ #14117]
0e4a3cd7
L
943 * sysdeps/i386/i486/bits/string.h: Renamed to ...
944 * sysdeps/x86/bits/string.h: This.
945 * sysdeps/x86_64/bits/string.h: Removed.
946
6704c645
L
947 * sysdeps/i386/i486/bits/string.h: Define inline functions only
948 if not compiling for x86-64, but compiling for >= i486.
949
48495318
L
950 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
951 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
952
14adcbfc
L
953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
954 New macro from Linux kernel 3.4.0.
955 (FP_XSTATE_MAGIC2): Likewise.
956 (FP_XSTATE_MAGIC2_SIZE): Likewise.
957 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
958 (struct _fpx_sw_bytes): New struct.
959 (struct _xsave_hdr): Likewise.
960 (struct _ymmh_state): Likewise.
961 (struct _xstate): Likewise.
962
68e408ab
L
963 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
964 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
966 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
968 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
969
f3d1f93c
L
970 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
971 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
972 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
973 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
974 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
975 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
976
d9dc34cd
TMQMF
9772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
978
979 [BZ #13743]
980 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
981 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
982 (sysdep_headers): Include sys/platform/ppc.h.
983 * sysdeps/powerpc/test-gettimebase.c: Test for
984 __ppc_get_timebase() to catch future ISA opcode/insn changes.
985 * manual/Makefile (appendices): Include platform.texi.
986 * manual/contrib.texi (Contributors): Update @node pointers.
987 * manual/maint.texi (Maintenance): Likewise.
988 (Platform): New node.
989 * manual/platform.texi: New file. Document the new features.
990
4af3879c
SP
9912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
992 Jakub Jelinek <jakub@redhat.com>
993
994 [BZ #14188]
995 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
996 where __builtin_expect is unavailable.
997
2fd6ff13
DM
9982012-06-03 David S. Miller <davem@davemloft.net>
999
1000 * stdlib/longlong.h: Updated from GCC.
1001
173f7220
AS
10022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1003
1004 [BZ #14042]
1005 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1006 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1007 __mcount_internal.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1009 (GLIBC_2.16): Likewise.
1010
f34a1c6f
L
10112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1014
88a4576f
JM
10152012-06-01 Joseph Myers <joseph@codesourcery.com>
1016
ea32bcdd
JM
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1018 (default-abi): New variable.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1020 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1021 variable.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1023 Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1025 Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1027 Likewise.
1028
88a4576f
JM
1029 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1030 definition. Document in comment.
1031
402fe938
DM
10322012-06-01 David S. Miller <davem@davemloft.net>
1033
1034 * stdlib/longlong.h: Updated from GCC.
1035
3553723f
L
10362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 [BZ #14117]
3bd872c4
L
1039 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1040 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1041 sys/debugreg.h sys/io.h here.
1042 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1043 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1044 sys/io.h.
1045 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1046 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1047 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1048 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1049 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1050 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1051
3553723f
L
1052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1053 Define only if __x86_64__ is defined.
1054
4842e4fe
JM
10552012-06-01 Joseph Myers <joseph@codesourcery.com>
1056
c5bfe3d5
JM
1057 [BZ #14048]
1058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1059 Use int64_t for variable i.
1060 * math/libm-test.inc (fmod_test): Add more tests.
1061
4842e4fe
JM
1062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1063 z computation is not scheduled after fetestexcept.
1064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1065 Use math_force_eval instead of asm to ensure calculation scheduled
1066 before exception test.
1067 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1068 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1069
efb73488
AJ
10702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1071
1072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1073 computation is not scheduled after fetestexcept.
1074
29bcce7c
L
10752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 [BZ #14117]
1078 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1079 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1080
73a68f94
AZ
10812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1082
1083 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1085
67b6df78
L
10862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1087
edf2933a 1088 [BZ #14117]
ebc64a18
L
1089 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1090 <bits/wordsize.h>.
1091 (__WCHAR_MIN): Support __WORDSIZE == 64.
1092 (__WCHAR_MAX): Likewise.
1093
edf2933a
L
1094 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1096
57c6cf40
L
1097 [BZ #14183]
1098 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1099 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1100
67b6df78 1101 [BZ #14117]
8eb6281e
L
1102 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1103 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1104
aac639f4
L
1105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1106 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1107
67b6df78
L
1108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1109 Defined to 1 if __x86_64__ isn't defined.
1110 (_STAT_VER_LINUX_OLD): New.
1111 (st_atime): Remove duplicate.
1112 (st_mtime): Likewise.
1113 (st_ctime): Likewise.
1114
1c2cfe81
DM
11152012-05-31 David S. Miller <davem@davemloft.net>
1116
1117 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1118 entries.
1119
5be8418c
AS
11202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1121
e7725326
AS
1122 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1123 gen-libm-test.pl.
1124
5be8418c
AS
1125 [BZ #14132]
1126 * elf/dl-reloc.c: Include <_itoa.h>.
1127 (_dl_reloc_bad_type): Remove use of INTUSE.
1128 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1129 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1130 * stdio-common/psiginfo.c (psiginfo): Likewise.
1131 * stdio-common/psignal.c (psignal): Likewise.
1132 * string/strsignal.c (strsignal): Likewise.
1133 * include/signal.h (_sys_siglist): Declare hidden proto.
1134 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1135 INTVARDEF with libc_hidden_data_def.
1136 * stdio-common/itoa-udigits.c: Likewise.
1137 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1138 (_itoa_lower_digits_internal): Remove declaration.
1139 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1140 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1141 (_sys_sigabbrev_internal): Remove aliases.
1142 (_sys_siglist): Define hidden alias.
1143
507352f1
MT
11442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1145
1146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1147 bits/sysctl.h.
1148
42bbb1c3
L
11492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 [BZ #14117]
6bd784b6
L
1152 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1153 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1154
8bca20f0
L
1155 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1156 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1157 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1158 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1160 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1161
f9e890a9
L
1162 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1165
471101a1
L
1166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1167 with __addr.
1168 (insw): Likewise.
1169 (insl): Likewise.
1170 (outsb): Likewise.
1171 (outsw): Likewise.
1172 (outsl): Likewise.
1173
6451c862
L
1174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1176 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1177
a254b8c9
L
1178 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1179 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1181 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1182 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1183 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1184
b8dfdd92
L
1185 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1186 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1187
578cd270
L
1188 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1189 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1190
de662f5f
L
1191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1194
25653439
L
1195 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1196 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1197 to ...
1198 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1199
6bad24a0
L
1200 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1202 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1203
42bbb1c3
L
1204 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1205 for x86-64.
1206 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1207
2d10d547
JM
12082012-05-31 Joseph Myers <joseph@codesourcery.com>
1209
1210 * math/math.h (M_El): Use two more decimal places.
1211 (M_LOG2El): Likewise.
1212 (M_LOG10El): Likewise.
1213 (M_LN2l): Likewise.
1214 (M_LN10l): Likewise.
1215 (M_PIl): Likewise.
1216 (M_PI_2l): Likewise.
1217 (M_PI_4l): Likewise.
1218 (M_1_PIl): Likewise.
1219 (M_2_PIl): Likewise.
1220 (M_2_SQRTPIl): Likewise.
1221 (M_SQRT2l): Likewise.
1222 (M_SQRT1_2l): Likewise.
1223
f230c29b
DM
12242012-05-31 David S. Miller <davem@davemloft.net>
1225
1226 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1227 values between float registers.
1228 * sysdeps/sparc/sparc64/memset.S: Likewise.
1229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1230
fed806c3
MF
12312012-05-31 Mike Frysinger <vapier@gentoo.org>
1232
1233 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1234 -D_FORTIFY_SOURCE=1.
1235 (CPPFLAGS-tst-longjmp_chk.c): Define.
1236 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1237 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1238 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1239 CFLAGS-tst-wchar-h.c.
1240
30917259
MP
12412012-05-31 Marek Polacek <polacek@redhat.com>
1242
1243 [BZ #14132]
1244 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1245 __endmntent_internal): Remove declaration.
1246 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1247 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1248 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1249
1c58d5dc
DM
12502012-05-30 David S. Miller <davem@davemloft.net>
1251
1252 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1253 (___Q_simulate_exceptions): Use real FP ops rather than writing
1254 into the %fsr.
1255 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1256 Likewise.
1257
7dc00e0d
L
12582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 [BZ #14117]
0bd53985
L
1261 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1262 * sysdeps/x86/bits/xtitypes.h: This.
1263
3a257e66
L
1264 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1265 * sysdeps/x86/bits/wordsize.h: This.
1266
62f62904
L
1267 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1268 * sysdeps/x86/bits/huge_vall.h: This.
1269
404fe9d9
L
1270 * sysdeps/i386/bits/select.h: Removed.
1271 * sysdeps/x86_64/bits/select.h: Renamed to ...
1272 * sysdeps/x86/bits/select.h: This.
1273
d48d0446
L
1274 * sysdeps/i386/bits/setjmp.h: Removed.
1275 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1276 * sysdeps/x86/bits/setjmp.h: This.
1277
7dc00e0d
L
1278 * sysdeps/i386/bits/mathdef.h: Removed.
1279 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1280 * sysdeps/x86/bits/mathdef.h: This.
1281
03277f8f
AS
12822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1283
1284 [BZ #14132]
1285 * include/sys/socket.h (__connect_internal)
1286 (__libc_sa_len_internal): Remove declaration.
1287 (__connect, __libc_sa_len): Declare hidden_proto.
1288 (SA_LEN): Remove use of INTUSE.
1289 * socket/connect.c: Add libc_hidden_def.
1290 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1291 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1292 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1293 alias.
1294 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1295 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1296 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1297 of adding _internal alias.
1298
13764867
L
12992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 [BZ #14117]
6bd97696
L
1302 * sysdeps/i386/bits/link.h: Removed.
1303 * sysdeps/i386/bits/linkmap.h: Likewise.
1304 * sysdeps/x86_64/bits/link.h: Renamed to ...
1305 * sysdeps/x86/bits/link.h: This.
1306 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1307 * sysdeps/x86/bits/linkmap.h: This.
1308
f726f0bb
L
1309 * sysdeps/i386/bits/endian.h: Removed.
1310 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1311 * sysdeps/x86/bits/endian.h: This.
1312
13764867
L
1313 * sysdeps/i386/bits/byteswap.h: Removed.
1314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1315 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1316 * sysdeps/x86/bits/byteswap.h: This.
1317 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1318 * sysdeps/x86/bits/byteswap-16.h: This.
1319 * sysdeps/i386/Implies: Add x86.
1320 * sysdeps/x86_64/Implies: Likewise.
1321
ae251b0b
DM
13222012-05-30 David S. Miller <davem@davemloft.net>
1323
1324 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1325 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1326 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1327 (FP_TRAPPING_EXCEPTIONS): Define.
1328 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1329 (FP_TRAPPING_EXCEPTIONS): Define.
1330 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1331 subnormals only when inexact has been signalled or underflow
1332 exceptions are enabled.
1333 (_FP_PACK_CANONICAL): Likewise.
1334
d5c90867
L
13352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 [BZ #14183]
1338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1339 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1340
63f1549e
RH
13412012-05-30 Richard Henderson <rth@twiddle.net>
1342
8d8f2279
RH
1343 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1344 with #ifndef NOT_IN_libc.
1345
63f1549e
RH
1346 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1347 marked to avoid plt entry.
1348
0ab0291b
L
13492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1350
1351 [BZ #14112]
1352 * Makeconfig (default-abi): New macro.
1353 (abi-includes): Likewise.
1354 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1355 $(abi-$(default-abi)-lib-soname) for soname if defined.
1356 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1357 abi-variants.
1358 * Makefile (installed-stubs): Likewise.
1359 * include/stubs-biarch.h: Removed.
1360 * scripts/lib-names.awk: Only handle one library at a time.
1361 * scripts/soversions.awk: Remove WORDSIZE support.
1362 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1363 entries.
1364 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1365 Removed.
1366 (syscall-list-default-condition): Likewise.
1367 (syscall-list-default-condition): Likewise.
1368 (syscall-list-includes): Likewise.
1369 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1370 syscall-list-* with abi-*. Handle undefined abi-variants.
1371 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1372 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1373 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1374 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1375 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1376 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1377 Removed.
1378 (syscall-list-32-options): Likewise.
1379 (syscall-list-32-condition): Likewise.
1380 (syscall-list-64-options): Likewise.
1381 (syscall-list-64-condition): Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1383 macro.
1384 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1385 Renamed to ...
1386 (abi-*): This.
1387 (abi-64-ld-soname): New macro.
1388 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1389 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1390 Renamed to ...
1391 (abi-*): This.
1392 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1393 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1394
4da0431d
JM
13952012-05-30 Joseph Myers <joseph@codesourcery.com>
1396
3a85279c
JM
1397 * sysdeps/unix/sysv/linux/kernel-features.h
1398 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1399 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1400 include <kernel-features.h>.
1401 [!__NR_ftruncate64]: Remove conditional code.
1402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1403 [__NR_ftruncate64]: Make code unconditional.
1404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1405 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1406 include <kernel-features.h>.
1407 [!__NR_ftruncate64]: Remove conditional code.
1408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1409 [__NR_ftruncate64]: Make code unconditional.
1410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1412 include <kernel-features.h>.
1413 [!__NR_ftruncate64]: Remove conditional code.
1414 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1415 [__NR_ftruncate64]: Make code unconditional.
1416 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1418 include <kernel-features.h>.
1419 [!__NR_ftruncate64]: Remove conditional code.
1420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1421 [__NR_ftruncate64]: Make code unconditional.
1422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1423
4da0431d
JM
1424 * configure.in (libc_cv_fpie): Weaken to a compile test using
1425 LIBC_TRY_CC_OPTION.
1426 * configure: Regenerated.
1427
11ef492c
AK
14282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1429
1430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1434 Refreshed.
1435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1441 Refreshed.
1442
d66ef399
DM
14432012-05-27 David S. Miller <davem@davemloft.net>
1444
1445 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1446 (___Q_zero): New.
1447 (__Q_simulate_exceptions): Return void. Change to simulate
1448 exceptions by writing into the %fsr.
1449 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1450 (__Qp_handle_exceptions): Likewise.
1451 (numbers): Delete.
1452 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1453 __Qp_handle_exceptions.
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1455 __Qp_handle_exceptions.
1456 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1457 as unused and give dummy FP_RND_NEAREST initializer.
1458 (FP_INHIBIT_RESULTS): Define.
1459 (___Q_simulate_exceptions): Update declaration.
1460 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1461 formatting.
1462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1463 as unused and give dummy FP_RND_NEAREST initializer.
1464 (__Qp_handle_exceptions): Update declaration.
1465 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1466 formatting.
1467
04fb54b5
TS
14682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1469
1470 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1471 the temporary FPU control word.
1472 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1473 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1475 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1476 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1477 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1478 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1479 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1480 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1481 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1482 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1483
3f99608f
KK
14842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1485
1486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1487 fields.
1488
65a4de4e
CLT
14892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1490
1491 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1492 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1493 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1494 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1495 Likewise.
1496 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1497 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1498 Likewise.
1499
15749d40
UD
15002012-05-27 Ulrich Drepper <drepper@gmail.com>
1501
1502 * po/h.po: Update from translation team.
1503
25dbcb27
AS
15042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1505
3d3f8e55
AS
1506 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1507
25dbcb27
AS
1508 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1509 handling of denormals.
1510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1511 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1512 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1517 Likewise.
1518
7ad47a80 15192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1520
1521 [BZ #14152]
1522 * math/libm-test.inc (fma_test): Don't always expect underflow
1523 exception.
1524
9c6ea9fa
SP
15252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1526
1527 [BZ #12416]
1528 * elf/tst-execstack.c: Include stackinfo.h.
1529 (do_test): Adjust test case to ensure that pthread_getattr_np
1530 behaviour remains the same after marking stack executable.
1531
a8239222
JM
15322012-05-25 Joseph Myers <joseph@codesourcery.com>
1533
1534 * sysdeps/unix/sysv/linux/kernel-features.h
1535 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1536 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1537 kernel-features.h.
1538 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1539 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1540 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1541 kernel-features.h.
1542 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1543 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1544
918b5606
L
15452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * configure.in: Define the default includes to being none.
1548 * configure: Regenerated.
1549
3a097cc7
RM
15502012-05-25 Roland McGrath <roland@hack.frob.com>
1551
8422c9a5
RM
1552 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1553 * sysdeps/x86_64/setjmp.S: Likewise.
1554 * sysdeps/i386/bsd-setjmp.S: Likewise.
1555 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1556 * sysdeps/i386/setjmp.S: Likewise.
1557 * sysdeps/i386/__longjmp.S: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1559 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1560
3a097cc7
RM
1561 * include/stap-probe.h: New file.
1562 * configure.in: Handle --enable-systemtap.
1563 * configure: Regenerated.
1564 * config.h.in (USE_STAP_PROBE): New #undef.
1565 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1566 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1567 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1568
21708942
JM
15692012-05-25 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #13717]
1572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1573 to 2.4.0 where earlier.
1574 * sysdeps/unix/sysv/linux/configure: Regenerated.
1575 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1576 <kernel-features.h>.
1577 [__ASSUME_32BITUIDS]: Make code unconditional.
1578 [!__ASSUME_32BITUIDS]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1580 <kernel-features.h>.
1581 [__ASSUME_32BITUIDS]: Make code unconditional.
1582 [!__ASSUME_32BITUIDS]: Remove conditional code.
1583 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1584 [__ASSUME_32BITUIDS]: Make code unconditional.
1585 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1586 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/i386/getresuid.c: Do not include
1607 <kernel-features.h>.
1608 [__ASSUME_32BITUIDS]: Make code unconditional.
1609 [!__ASSUME_32BITUIDS]: Remove conditional code.
1610 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1611 <kernel-features.h>.
1612 [__ASSUME_32BITUIDS]: Make code unconditional.
1613 [!__ASSUME_32BITUIDS]: Remove conditional code.
1614 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1615 <kernel-features.h>.
1616 [__ASSUME_32BITUIDS]: Make code unconditional.
1617 [!__ASSUME_32BITUIDS]: Remove conditional code.
1618 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1619 <kernel-features.h>.
1620 [__ASSUME_32BITUIDS]: Make code unconditional.
1621 [!__ASSUME_32BITUIDS]: Remove conditional code.
1622 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1623 <kernel-features.h>.
1624 [__ASSUME_32BITUIDS]: Make code unconditional.
1625 [!__ASSUME_32BITUIDS]: Remove conditional code.
1626 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1627 <kernel-features.h>.
1628 [__NR_setresgid] (__setresgid): Do not declare.
1629 [__ASSUME_32BITUIDS]: Make code unconditional.
1630 [!__ASSUME_32BITUIDS]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1632 <kernel-features.h>.
1633 [__NR_setresuid] (__setresuid): Do not declare.
1634 [__ASSUME_32BITUIDS]: Make code unconditional.
1635 [!__ASSUME_32BITUIDS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1637 <kernel-features.h>.
1638 [__ASSUME_32BITUIDS]: Make code unconditional.
1639 [!__ASSUME_32BITUIDS]: Remove conditional code.
1640 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1641 <kernel-features.h>.
1642 [__ASSUME_32BITUIDS]: Make code unconditional.
1643 [!__ASSUME_32BITUIDS]: Remove conditional code.
1644 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1645 <kernel-features.h>.
1646 [__ASSUME_32BITUIDS]: Make code unconditional.
1647 [!__ASSUME_32BITUIDS]: Remove conditional code.
1648 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1649 <kernel-features.h>.
1650 [__ASSUME_32BITUIDS]: Make code unconditional.
1651 [!__ASSUME_32BITUIDS]: Remove conditional code.
1652 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1653 <kernel-features.h>.
1654 [__ASSUME_32BITUIDS]: Make code unconditional.
1655 [!__ASSUME_32BITUIDS]: Remove conditional code.
1656 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1657 <kernel-features.h>.
1658 [__ASSUME_32BITUIDS]: Make code unconditional.
1659 [!__ASSUME_32BITUIDS]: Remove conditional code.
1660 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1661 <kernel-features.h>.
1662 [__ASSUME_32BITUIDS]: Make code unconditional.
1663 [!__ASSUME_32BITUIDS]: Remove conditional code.
1664 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1665 <kernel-features.h>.
1666 [__ASSUME_32BITUIDS]: Make code unconditional.
1667 [!__ASSUME_32BITUIDS]: Remove conditional code.
1668 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1669 <kernel-features.h>.
1670 [__ASSUME_32BITUIDS]: Make code unconditional.
1671 [!__ASSUME_32BITUIDS]: Remove conditional code.
1672 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1673 <kernel-features.h>.
1674 [__ASSUME_32BITUIDS]: Make code unconditional.
1675 [!__ASSUME_32BITUIDS]: Remove conditional code.
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_SETRESUID_SYSCALL): Remove.
1678 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1679 (__ASSUME_32BITUIDS): Likewise.
1680 (__ASSUME_LDT_WORKS): Likewise.
1681 (__ASSUME_O_DIRECTORY): Likewise.
1682 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1683 architecture but not kernel version.
1684 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1685 (__ASSUME_MMAP2_SYSCALL): Likewise.
1686 (__ASSUME_STAT64_SYSCALL): Likewise.
1687 (__ASSUME_IPC64): Likewise.
1688 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1689 <kernel-features.h>.
1690 [__ASSUME_32BITUIDS]: Make code unconditional.
1691 [!__ASSUME_32BITUIDS]: Remove conditional code.
1692 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1693 <kernel-features.h>.
1694 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1695 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1696 132096]: Remove conditional code.
1697 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1698 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1699 <kernel-features.h>.
1700 [__ASSUME_32BITUIDS]: Make code unconditional.
1701 [!__ASSUME_32BITUIDS]: Remove conditional code.
1702 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1703 <kernel-features.h>.
1704 [__ASSUME_32BITUIDS]: Make code unconditional.
1705 [!__ASSUME_32BITUIDS]: Remove conditional code.
1706 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1707 <kernel-features.h>.
1708 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1709 unconditional.
1710 (__setresgid): Do not declare.
1711 [__ASSUME_32BITUIDS]: Make code unconditional.
1712 [!__ASSUME_32BITUIDS]: Remove conditional code.
1713 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1714 <kernel-features.h>.
1715 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1716 unconditional.
1717 (__setresuid): Do not declare.
1718 [__ASSUME_32BITUIDS]: Make code unconditional.
1719 [!__ASSUME_32BITUIDS]: Remove conditional code.
1720 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1721 <kernel-features.h>.
1722 [__ASSUME_32BITUIDS]: Make code unconditional.
1723 [!__ASSUME_32BITUIDS]: Remove conditional code.
1724 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1725 <kernel-features.h>.
1726 [__ASSUME_32BITUIDS]: Make code unconditional.
1727 [!__ASSUME_32BITUIDS]: Remove conditional code.
1728
a386f1cc
RH
17292012-05-25 Richard Henderson <rth@twiddle.net>
1730
1731 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1732 dl_hwcap to ifunc resolver.
1733 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1734 elf_ifunc_invoke.
1735 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1736 dl_hwcap to ifunc resolver.
1737 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1738
b6550497
JM
17392012-05-24 Joseph Myers <joseph@codesourcery.com>
1740
1741 [BZ #14153]
1742 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1743 for |x| <= 2**-26, not 2**-57.
1744 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1745 exception.
1746
b0bc23a1
JL
17472012-05-24 Jeff Law <law@redhat.com>
1748
1749 * stdio-common/Makefile (tests): Add bug25.
1750 * stdio-common/bug25.c: New test.
1751
347c92e9
L
17522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 [BZ #13576]
1755 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1756 multiple of MALLOC_ALIGNMENT in size.
1757 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1758
6bcc8b3f
JM
17592012-05-24 Joseph Myers <joseph@codesourcery.com>
1760
1761 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1762 Require >= 256.
1763 (FILENAME_MAX): Use macro-int-constant.
1764 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1765 (_IOFBF): Use macro-int-constant.
1766 (_IOLBF): Likewise.
1767 (_IONBF): Likewise.
1768 (SEEK_CUR): Likewise.
1769 (SEEK_END): Likewise.
1770 (SEEK_SET): Likewise.
1771 (TMP_MAX): Likewise.
1772 (EOF): Use macro-int-constant. Require < 0.
1773 (NULL): Use macro-constant. Require == 0.
1774 (stdin): Require type to be FILE *.
1775 (stdout): Likewise.
1776 (stderr): Likewise.
1777 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1778 macro-int-constant.
1779 (EXIT_SUCCESS): Likewise.
1780 (NULL): Use macro-constant. Require == 0.
1781 (RAND_MAX): Use macro-int-constant.
1782 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1783 [C99-based standards] (strtof): Require function.
1784 [C99-based standards] (strtold): Likewise.
1785 [C99-based standards] (strtoll): Likewise.
1786 [C99-based standards] (strtoull): Likewise.
1787 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1788 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1789 [ISO || ISO99 || ISO11] (math.h): Likewise.
1790 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1791 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1793
d18ea0c5
AS
17942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1795
1796 [BZ #14132]
56d25bb8
AS
1797 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1798 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1799 * intl/dgettext.c (DCGETTEXT): Likewise.
1800 * intl/gettext.c (DCGETTEXT): Likewise.
1801 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1802 * posix/regex_internal.h (gettext): Likewise.
1803 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1804 Remove declaration.
1805 * include/argz.h (__argz_count_internal)
1806 (__argz_stringify_internal): Remove declaration.
1807 (__argz_count, __argz_stringify): Declare hidden proto.
1808 * intl/dcgettext.c: Remove use of INTDEF.
1809 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1810 * string/argz-stringify.c: Likewise.
1811 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1812 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1813 Declare hidden proto.
d18ea0c5
AS
1814 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1815 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1816 Declare hidden proto.
1817 * include/stdio.h (__asprintf_internal): Don't declare.
1818 (__asprintf): Don't define as macro. Declare hidden proto.
1819 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1820 (__fsetlocking): Declare hidden proto.
1821 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1822 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1823 hidden proto.
1824 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1825 (_IO_setlinebuf): Remove use of INTUSE.
1826 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1827 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1828 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1829 Remove declaration.
1830 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1831 (_IO_do_flush): Remove use of INTUSE.
1832 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1833 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1834 (_IO_adjust_column, _IO_least_wmarker)
1835 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1836 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1837 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1838 (_IO_default_doallocate, _IO_wdefault_doallocate)
1839 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1840 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1841 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1842 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1843 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1844 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1845 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1846 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1847 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1848 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1849 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1850 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1851 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1852 proto.
1853 (_IO_flush_all_internal, _IO_adjust_column_internal)
1854 (_IO_default_uflow_internal, _IO_default_finish_internal)
1855 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1856 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1857 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1858 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1859 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1860 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1861 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1862 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1863 (_IO_file_close_internal, _IO_file_close_it_internal)
1864 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1865 (_IO_file_init_internal, _IO_file_attach_internal)
1866 (_IO_file_fopen_internal, _IO_file_read_internal)
1867 (_IO_file_sync_internal, _IO_file_seek_internal)
1868 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1869 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1870 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1871 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1872 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1873 (_IO_list_all_internal, _IO_link_in_internal)
1874 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1875 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1876 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1877 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1878 (_IO_do_write_internal, _IO_padn_internal)
1879 (_IO_getline_info_internal, _IO_getline_internal)
1880 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1881 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1882 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1883 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1884 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1885 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1886 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1887 with libc_hidden_ver, remove use of INTUSE.
1888 * libio/genops.c: Likewise.
1889 * libio/freopen.c: Likewise.
1890 * libio/freopen64.c: Likewise.
1891 * libio/iofclose.c: Likewise.
1892 * libio/iofdopen.c: Likewise.
1893 * libio/iofflush.c: Likewise.
1894 * libio/iofflush_u.c: Likewise.
1895 * libio/iofgets.c: Likewise.
1896 * libio/iofgets_u.c: Likewise.
1897 * libio/iofopen.c: Likewise.
1898 * libio/iofopncook.c: Likewise.
1899 * libio/iofread.c: Likewise.
1900 * libio/iofread_u.c: Likewise.
1901 * libio/ioftell.c: Likewise.
1902 * libio/iofwrite.c: Likewise.
1903 * libio/iogetline.c: Likewise.
1904 * libio/iogets.c: Likewise.
1905 * libio/iogetwline.c: Likewise.
1906 * libio/iopadn.c: Likewise.
1907 * libio/iopopen.c: Likewise.
1908 * libio/ioseekoff.c: Likewise.
1909 * libio/ioseekpos.c: Likewise.
1910 * libio/iosetbuffer.c: Likewise.
1911 * libio/iosetvbuf.c: Likewise.
1912 * libio/ioungetc.c: Likewise.
1913 * libio/ioungetwc.c: Likewise.
1914 * libio/iovdprintf.c: Likewise.
1915 * libio/iovsprintf.c: Likewise.
1916 * libio/iovsscanf.c: Likewise.
1917 * libio/memstream.c: Likewise.
1918 * libio/obprintf.c: Likewise.
1919 * libio/oldfileops.c: Likewise.
1920 * libio/oldiofclose.c: Likewise.
1921 * libio/oldiofdopen.c: Likewise.
1922 * libio/oldiofopen.c: Likewise.
1923 * libio/oldiopopen.c: Likewise.
1924 * libio/oldstdfiles.c: Likewise.
1925 * libio/putc.c: Likewise.
1926 * libio/setbuf.c: Likewise.
1927 * libio/setlinebuf.c: Likewise.
1928 * libio/stdfiles.c: Likewise.
1929 * libio/strops.c: Likewise.
1930 * libio/vasprintf.c: Likewise.
1931 * libio/vscanf.c: Likewise.
1932 * libio/vsnprintf.c: Likewise.
1933 * libio/vswprintf.c: Likewise.
1934 * libio/wfiledoalloc.c: Likewise.
1935 * libio/wfileops.c: Likewise.
1936 * libio/wgenops.c: Likewise.
1937 * libio/wmemstream.c: Likewise.
1938 * libio/wstrops.c: Likewise.
1939 * libio/__fpurge.c: Likewise.
1940 * libio/__fsetlocking.c: Likewise.
1941 * assert/assert.c: Likewise.
1942 * debug/fgets_chk.c: Likewise.
1943 * debug/fgets_u_chk.c: Likewise.
1944 * debug/fread_chk.c: Likewise.
1945 * debug/fread_u_chk.c: Likewise.
1946 * debug/gets_chk.c: Likewise.
1947 * debug/obprintf_chk.c: Likewise.
1948 * debug/vasprintf_chk.c: Likewise.
1949 * debug/vdprintf_chk.c: Likewise.
1950 * debug/vsnprintf_chk.c: Likewise.
1951 * debug/vsprintf_chk.c: Likewise.
1952 * malloc/mtrace.c: Likewise.
1953 * misc/error.c: Likewise.
1954 * misc/syslog.c: Likewise.
1955 * stdio-common/asprintf.c: Likewise.
1956 * stdio-common/fxprintf.c: Likewise.
1957 * stdio-common/getw.c: Likewise.
1958 * stdio-common/isoc99_fscanf.c: Likewise.
1959 * stdio-common/isoc99_scanf.c: Likewise.
1960 * stdio-common/isoc99_vfscanf.c: Likewise.
1961 * stdio-common/isoc99_vscanf.c: Likewise.
1962 * stdio-common/isoc99_vsscanf.c: Likewise.
1963 * stdio-common/printf-prs.c: Likewise.
1964 * stdio-common/printf_fp.c: Likewise.
1965 * stdio-common/printf_fphex.c: Likewise.
1966 * stdio-common/printf_size.c: Likewise.
1967 * stdio-common/putw.c: Likewise.
1968 * stdio-common/scanf.c: Likewise.
1969 * stdio-common/sprintf.c: Likewise.
1970 * stdio-common/tmpfile.c: Likewise.
1971 * stdio-common/vfprintf.c: Likewise.
1972 * stdio-common/vfscanf.c: Likewise.
1973 * stdlib/strfmon_l.c: Likewise.
1974 * sunrpc/openchild.c: Likewise.
1975 * sunrpc/xdr_stdio.c: Likewise.
1976 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1977 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1978
d6c33fda
RM
19792012-05-24 Roland McGrath <roland@hack.frob.com>
1980
c1487492
RM
1981 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1982
1983 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1984 in the third column, to generate for the shared library an IFUNC
1985 that uses _dl_vdso_vsym.
1986 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1987 * Makeconfig (object-suffixes-noshared): New variable.
1988
1989 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1990 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1991 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1992 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1993
d6c33fda
RM
1994 [BZ #14132]
1995 * include/sys/time.h (__gettimeofday): Remove macro.
1996 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1997 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1998 Remove INTDEF.
1999 (__gettimeofday): Add libc_hidden_def.
2000 (gettimeofday): Add libc_hidden_weak.
2001 * sysdeps/mach/gettimeofday.c: Likewise.
2002 * sysdeps/posix/gettimeofday.c: Likewise.
2003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2004 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2006 (__gettimeofday_internal): Remove strong_alias.
2007 (__gettimeofday): Add libc_hidden_def.
2008 (gettimeofday): Add libc_hidden_weak.
2009 * sysdeps/unix/syscalls.list (gettimeofday):
2010 Remove __gettimeofday_internal alias.
2011
b5a2bbe6
L
20122012-05-24 Daniel Jacobowitz <drow@false.org>
2013 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 [BZ #12495]
2016 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2017 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2018 (largebin_index_32_big): New.
2019 (largebin_index): Use it for 16-byte alignment.
2020 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2021 correction with front_misalign.
2022
cfba4fda
L
20232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2024
7f907421
L
2025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2027 Likewise.
2028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2029 Likewise.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2031 Likewise.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2033 Likewise.
2034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2035 Likewise.
2036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2037 Likewise.
2038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2039 Likewise.
2040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2041 Likewise.
2042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2043 Likewise.
2044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2045 Likewise.
2046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2047 Likewise.
2048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2049 Likewise.
2050
cfba4fda
L
2051 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2052 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2053
80bad0cc
JM
20542012-05-24 Joseph Myers <joseph@codesourcery.com>
2055
7a25eb06
JM
2056 [BZ #10846]
2057 [BZ #14036]
2058 * math/libm-test.inc (exp_test): Add test from bug 14036.
2059 (pow_test): Add test from bug 10846.
2060
795405f9
JM
2061 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2062 and other flags.
2063 (special_function): Do not include flags in test name.
2064 (parse_args): Likewise.
2065 * sysdeps/i386/fpu/libm-test-ulps: Update.
2066 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2067 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2068 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070
80bad0cc
JM
2071 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2072 exceptions.
2073 * math/libm-test.inc ("Philosophy"): Update comment about
2074 exception testing.
2075 (UNDERFLOW_EXCEPTION): New macro.
2076 (UNDERFLOW_EXCEPTION_OK): Likewise.
2077 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2078 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2079 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2080 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2081 (INVALID_EXCEPTION_OK): Update value.
2082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2083 (OVERFLOW_EXCEPTION_OK): Likewise.
2084 (IGNORE_ZERO_INF_SIGN): Likewise.
2085 (test_exceptions): Handle underflow exceptions.
2086 (acos_test): Update for underflow exception expectations.
2087 (cexp_test): Likewise.
2088 (clog_test): Likewise.
2089 (clog10_test): Likewise.
2090 (csqrt_test): Likewise.
2091 (ctan_test): Likewise.
2092 (ctanh_test): Likewise.
2093 (exp_test): Likewise.
2094 (exp10_test): Likewise.
2095 (exp2_test): Likewise.
2096 (expm1_test): Likewise.
2097 (fma_test): Likewise.
2098 (j0_test): Likewise.
2099 (jn_test): Likewise.
2100 (nexttoward_test): Likewise.
2101 (pow_test): Likewise.
2102 (scalbn_test): Likewise.
2103 (scalbln_test): Likewise.
2104 (tan_test): Likewise.
2105 (y1_test): Likewise.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update.
2107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2108
9e0e3d0b
DM
21092012-05-23 David S. Miller <davem@davemloft.net>
2110
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2112 (__libc_sigaction): Remove unused local variables.
2113
ccd0a08f
L
21142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2117
62bdf9a6
PE
21182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2119
f8591f80
PE
2120 mktime: avoid signed integer overflow
2121 * time/mktime.c (__mktime_internal): Do not mishandle the case
2122 where diff == INT_MIN.
2123
94c7d826
PE
2124 mktime: simplify computation of average
2125 * time/mktime.c (ranged_convert): Use new time_t_avg function
2126 instead of rolling our own (probably-slower) code.
2127
ce73d683
PE
2128 mktime: do not assume signed right shift propagates sign bit
2129 * time/mktime.c (isdst_differ): New static function.
2130 (__mktime_internal): No need to normalize tm_isdst now.
2131 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2132 tm_isdst values.
2133
72a22e59
PE
2134 mktime: merge another wrapv change from gnulib
2135 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2136 from some compilers.
2137
68605433
PE
2138 mktime: remove incorrect attempt at unusual arithmetics
2139 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2140 The code didn't really work on such machines anyway.
2141 (TYPE_MINIMUM): Assume two's complement.
2142 (twos_complement_arithmetic): Verify that long_int and time_t
2143 are two's complement (or unsigned, in the latter case).
2144
03cf7fe3
PE
2145 mktime: check signed shifts on long_int and time_t, too
2146 * time/mktime.c (SHR): Check that shifts work as desired
2147 on the types long_int and time_t too, as SHR is used on
2148 such types.
2149
f04dfbc2
PE
2150 mktime: do not assume 'long' is wide enough
2151 * time/mktime.c (verify): Move decl up.
2152 (long_int): New type.
2153 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2154 to remove assumption in the code that 'long' is wide enough to
2155 store year values. This assumption is not true on x32 and on
2156 some non-glibc platforms.
2157
62bdf9a6
PE
2158 mktime: merge wrapv change from gnulib
2159 * time/mktime.c (WRAPV): New macro.
2160 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2161 (guess_time_tm, __mktime_internal): Do not assume that signed
2162 integer overflow wraps around; modern compilers generate code
2163 where this assumption is no longer valid.
2164
5e292e4f
L
21652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2168 Replace "jmp L(pseudo_end)" with "ret".
2169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2170 Likewise.
2171
8caf8c87
AJ
21722012-05-23 Andreas Jaeger <aj@suse.de>
2173
2174 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2175 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2176
1a09dc56
AJ
21772012-05-23 Andreas Jaeger <aj@suse.de>
2178 Maximilian Attems <max@stro.at>
2179
2180 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2181 New macros.
2182
1c87aba0
L
21832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2184
2185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2186 code so that pseudo_end is just ret and the stack pointer is
2187 correct also for static library in error case.
2188
40e45bd5
JM
21892012-05-23 Joseph Myers <joseph@codesourcery.com>
2190
c2670533
JM
2191 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2192 move to syscalls.list.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2197
40e45bd5
JM
2198 * manual/install.texi (Running make install): Do not mention Linux
2199 kernel version for which pt_chown is not needed.
2200 (Linux): Do not mention problems with nscd with 2.0 kernels.
2201 * INSTALL: Regenerated.
2202
be08eda5
AJ
22032012-05-23 Andreas Jaeger <aj@suse.de>
2204
2205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2206 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2207 macro.
2208 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2210 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2212 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2218 * sysdeps/unix/sysv/linux/bits/in.h
2219 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2220
a6a056bb
RM
22212012-05-22 Roland McGrath <roland@hack.frob.com>
2222
2223 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2224 (PREPARE_VERSION): Just use assert instead, it will be elided
2225 under [NDEBUG] anyway.
2226
c9009328
L
22272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 * sysdeps/unix/sysv/linux/Makefile: Include
2230 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2231 (sysdep_routines): Remove sysctl.
c9009328
L
2232 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2233 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2236 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2237
73338355
AJ
22382012-05-22 Andreas Jaeger <aj@suse.de>
2239
2240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2241 that pseudo_end is just ret and the stack pointer is correct also
2242 for static library in error case.
2243
d44638b0
PP
22442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2245
2246 [BZ #14122]
2247 * nss/nsswitch.c (defconfig_entries): New variable.
2248 (__nss_database_lookup): Don't leak defconfig entries.
2249 (nss_parse_service_list): Don't leak on error paths.
2250 (free_database_entries): New function.
2251 (free_defconfig): New function.
2252 (free_mem): Move common code to free_database_entries.
2253
31a39bd8
L
22542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2255
da0331a8
L
2256 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2257 Add arch_prctl.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2259
31a39bd8
L
2260 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2261 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2263 New macro.
2264 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2265 (INTERNAL_SYSCALL_TYPES): Likewise.
2266 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2267 (LOAD_REGS_TYPES_[1-6]): Likewise.
2268 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2269 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2270
45470df3
AZ
22712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2272
2273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2274 copysignl for GLIBC_2_0.
2275 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2276 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2278 logbl for GLIBC_2_0.
2279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2281
98a61bcb
L
22822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2283
a4f6e481
L
2284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2285 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2286
f63d5db6
L
2287 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2288 Use "neg %eax".
2289
98a61bcb
L
2290 * time/mktime.c: Update copyright years.
2291
95770f14
PE
22922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2293
6226efbd
PE
2294 mktime: merge comment-quoting-style change from gnulib
2295 * time/mktime.c: Quote 'like this' in comments.
2296 The GNU coding standards suggest that we no longer quote `like this',
2297 as "`" and "'" are typically rendered asymmetrically nowadays.
2298 The typical gnulib style is to quote 'like this' when quoting
2299 code, and "like this" when quoting English.
2300
b99e4f78
PE
2301 * time/mktime.c (compile-command): Add "-I.".
2302
643e01e6
PE
2303 mktime: merge mktime-internal.h change from gnulib
2304 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2305
2554247d
PE
2306 mktime: merge time_r change from gnulib
2307 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2308
826dd0ab
PE
2309 mktime: merge DEBUG change from gnulib
2310 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2311 case system <time.h> has a #define.
2312
bd83aabe
PE
2313 mktime: merge <sys/types.h> change from gnulib
2314 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2315 since <time.t> is now guaranteed to define time_t.
2316
95770f14
PE
2317 mktime: merge HAVE_CONFIG_H change from gnulib
2318 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2319
5e1a27a9
L
23202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2321
0e44a77e
L
2322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2323 Use "neg %eax".
2324
5e1a27a9
L
2325 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2326 __rlim_t cast.
2327 (struct rusage): Use anonymous union to pad each field to
2328 __syscall_slong_t.
2329
46259bec
DM
23302012-05-21 David S. Miller <davem@davemloft.net>
2331
2332 * Makefules (o-iterator): Remove .s cases.
2333 (compile-command.s): Delete.
2334 (COMPILE.s): Delete.
2335 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2336
59f0c22e
JM
23372012-05-21 Joseph Myers <joseph@codesourcery.com>
2338
2339 * configure.in (libc_cv_predef_stack_protector): Only consider
2340 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2341 * configure: Regenerated.
2342
20c07380
L
23432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2344
bbb3154b
L
2345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2346 New macro. Use R*LP on int and pointer.
2347 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2348 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2349 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2350 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2351
20c07380
L
2352 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2353 [__WORDSIZE_TIME64_COMPAT32] instead of
2354 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2355 (struct utmp): Likewise.
2356 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2357 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2358 Renamed to ...
2359 (__WORDSIZE_TIME64_COMPAT32): This.
2360 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2361 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2362 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2364 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2365 (__WORDSIZE_TIME64_COMPAT32): New macro.
2366
d8d1017e
AJ
23672012-05-21 Andreas Jaeger <aj@suse.de>
2368
2369 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2370 only if [SHARED]. Add prototype for __wcschr_ia32.
2371
6c7fb145
RM
23722012-05-21 Roland McGrath <roland@hack.frob.com>
2373
2374 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2375 of %rbp unmolested in the jmp_buf while mangling the low bits.
2376 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2377 unmolested high bits of %rbp while demangling the low bits.
2378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2379
66274218
AJ
23802012-05-21 Andreas Jaeger <aj@suse.de>
2381
07c58f8f
AJ
2382 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2383 * sunrpc/svc_simple.c: Use it for registerrpc.
2384 * sunrpc/xcrypt.c: Use it for passwd2des.
2385
66274218
AJ
2386 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2387
61f65140
L
23882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2391 Don't define if [__SYSCALL_WORDSIZE != 32].
2392 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2393 New macro.
2394
5fefb436
AJ
23952012-05-21 Bruno Haible <bruno@clisp.org>
2396 Andreas Jaeger <aj@suse.de>
2397
2398 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2399 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2400 inptr and inend for must_buffer_ch.
2401 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2402 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2403 * stdio-common/Makefile (tests): Remove bug15.
2404 (bug15-ENV): Remove macro.
2405 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2406 anymore.
2407
d8e272ab
AJ
24082012-05-19 Andreas Jaeger <aj@suse.de>
2409 Roland McGrath <roland@hack.frob.com>
2410
2411 * manual/contrib.texi: Completely rewritten. It contains now an
2412 alphabetical list of contributors and their contributions.
2413
4a56a162
RH
24142012-05-21 Richard Henderson <rth@twiddle.net>
2415
2416 * misc/getauxval.c (__getauxval): Use unsigned long int.
2417 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2418 (getauxval): Use unsigned long int.
2419
d024d23c
L
24202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2423
cbc00a03
RM
24242012-05-21 Roland McGrath <roland@hack.frob.com>
2425
2426 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2427 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2428 __alignof__ (long double).
2429
478143fa
AZ
24302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2431
2432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2433
c7683a6d
RH
24342012-05-20 Richard Henderson <rth@twiddle.net>
2435
2436 * misc/getauxval.c: New file.
2437 * misc/sys/auxv.h: New file.
2438 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2439 (routines): Add getauxval.
2440 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2441 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2442 * elf/dl-sysdep.c (_dl_auxv): Remove.
2443 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2444 * elf/dl-support.c (_dl_auxv): New variable.
2445 (_dl_aux_init): Initialize it.
2446 * manual/startup.texi (Auxiliary Vector): New node.
2447 * sysdeps/generic/bits/hwcap.h: New file.
2448 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2449 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2450 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2451 * sysdeps/sparc/sysdep.h: ... here. Include it.
2452 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2453 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2455 Update.
c7683a6d
RH
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2464
a6f1845d
AZ
24652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466
2467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2468
cbcbe830
DM
24692012-05-19 David S. Miller <davem@davemloft.net>
2470
2471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2472
e0b16cc2
JM
24732012-05-19 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #14123]
2476 * math/s_ccosh.c: Include <float.h>
2477 (__ccosh): Avoid internal overflow calculating sinh and cosh
2478 values before multiplying by sin and cos values.
2479 * math/s_ccoshf.c: Likewise.
2480 * math/s_ccoshl.c: Likewise.
2481 * math/s_csin.c: Likewise.
2482 * math/s_csinf.c: Likewise.
2483 * math/s_csinl.c: Likewise.
2484 * math/s_csinh.c: Likewise.
2485 * math/s_csinhf.c: Likewise.
2486 * math/s_csinhl.c: Likewise.
2487 * math/libm-test.inc (ccos_test): Add more tests.
2488 (ccosh_test): Likewise.
2489 (csin_test): Likewise.
2490 (csinh_test): Likewise.
2491 * sysdeps/i386/fpu/libm-test-ulps: Update.
2492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2493
6ad13e08
L
24942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2495
f66f0ce8
L
2496 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2497 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2498
6ad13e08
L
2499 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2500
b1d072a7
JM
25012012-05-19 Joseph Myers <joseph@codesourcery.com>
2502
2503 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2504 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2505 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2506 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2507 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2508 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2509 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2510 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2511 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2512 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2513 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2514 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2515 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2516 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2517 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2518 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2519 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2520 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2521 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2522 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2523 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2524 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2525 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2526 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2527 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2528 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2529 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2530 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2531 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2532 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2533 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2534
9eae47cb
AJ
25352012-05-18 Andreas Jaeger <aj@suse.de>
2536
2537 * csu/.gitignore: Delete.
2538
bb07f69f
L
25392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2542 (timex): Use __syscall_slong_t.
2543
e6bdb741
AJ
25442012-05-18 Andreas Jaeger <aj@suse.de>
2545 Carlos O'Donell <carlos_odonell@mentor.com>
2546
2547 * manual/install.texi (Configuring and compiling): Update
2548 description about files modified in the source directory.
d6c33fda 2549 * INSTALL: Regenerated.
e6bdb741 2550
1b74487e
L
25512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2554 value. Use "or" to set return value to -1.
2555 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2556 negate return value.
2557
a88b64b9
TMQMF
25582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2559
2560 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2561 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2562 failure if the compiler has Graphite support disabled.
2563 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2564 Likewise.
2565 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2566 CFLAGS-memmove.c): Likewise.
2567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2568 Likewise.
2569
3707636e
L
25702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2571
610b8622
L
2572 * sysdeps/x86_64/x32/_itoa.h: New file.
2573
7cd195df
L
2574 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2575 getdents system call only if kernel and user dirents have the
2576 same d_ino and d_off.
2577
94b07d20
L
2578 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2579 LLONG_MAX != LONG_MAX.
2580 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2581 (_fitoa_word): Likewise.
2582
18298070
L
2583 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2584 years.
2585 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2586 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2588
553c7ea4
L
2589 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2590 include <bits/wordsize.h>. Check __x86_64__ instead of
2591 __WORDSIZE.
2592 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2593 if __x86_64__ is defined. Use anonymous union on fpstate.
2594
3707636e
L
2595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2596 anonymous union.
2597
b53ef01a
AS
25982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2599
37fb1dc0
AS
2600 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2601 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2603 Refer to _rtld_local_ro instead of _rtld_global_ro.
2604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2605 Likewise.
2606 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2607 Likewise.
2608 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2609 Likewise.
2610 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2611 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2612 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2613
b53ef01a
AS
2614 * sysdeps/powerpc/powerpc32/dl-machine.c
2615 (__elf_machine_runtime_setup) [PROF]: Don't reference
2616 _dl_prof_resolve.
2617
7a185db2
AJ
26182012-05-18 Andreas Jaeger <aj@suse.de>
2619
2620 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2621 function only available for GCCs before 3.4 since GCC 3.4
2622 introduced a builtin.
2623 (lrint): Likewise.
2624 (llrintf): Likewise.
2625 (llrint): Likewise.
2626 (fmaxf): Likewise.
2627 (fmax): Likewise.
2628 (fminf): Likewise.
2629 (fmin): Likewise.
2630 (rint): Likewise.
2631 (rintf): Likewise.
2632 (nearbyint): Likewise.
2633 (nearbyintf): Likewise.
2634 (ceil): Likewise.
2635 (ceilf): Likewise.
2636 (floor): Likewise.
2637 (floorf): Likewise.
2638
3e5aef87
L
26392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2640
428bd707
L
2641 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2642 on both fields and cast pointer to __syscall_ulong_t.
2643
3e5aef87
L
2644 * bits/types.h (__fsword_t): New type.
2645 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2646 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2648 (__FSWORD_T_TYPE): Likewise.
2649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2650 (__FSWORD_T_TYPE): Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2652 (__FSWORD_T_TYPE): Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2654 (__FSWORD_T_TYPE): Likewise.
2655 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2656 __SWORD_TYPE with __fsword_t.
2657 (statfs64): Likewise.
2658
1ba7c3dc
DM
26592012-05-17 David S. Miller <davem@davemloft.net>
2660
2661 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2662
59910343
AJ
26632012-05-17 Andreas Jaeger <aj@suse.de>
2664
2665 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2666 warning.
2667
2e4c1e9e
L
26682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2671
de7f5ce7
AJ
26722012-05-17 Andreas Jaeger <aj@suse.de>
2673
2674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2675 when it is used.
2676
286abc3d
CM
26772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2678
2679 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2680
477cc68e
L
26812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2682
2683 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2684 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2685
1a0994f5
CD
26862012-05-17 Andreas Jaeger <aj@suse.de>
2687 Carlos O'Donell <carlos_odonell@mentor.com>
2688
2689 [BZ #14059]
2690 * sysdeps/x86_64/multiarch/init-arch.h
2691 (bit_YMM_Usable): Rename to...
2692 (bit_AVX_Usable): ... this.
2693 (bit_FMA4_Usable): New macro.
2694 (bit_XMM_state): New macro.
2695 (bit_YMM_state): New macro.
2696 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2697 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2698 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2699 (CPUID_OSXSAVE): New macro.
2700 (CPUID_AVX): New macro.
2701 (CPUID_FMA4): New macro.
2702 (index_YMM_Usable): Rename to...
2703 (index_AVX_Usable): ... this.
2704 (HAS_AVX): Use HAS_ARCH_FEATURE.
2705 (HAS_FMA4): Likewise.
2706 (HAS_YMM_USABLE): Remove.
2707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2708 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2709 are present.
2710 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2711 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2712 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2713 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2714 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2715
0af797de
CM
27162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2717
2718 * math/libm-test.c: Support platforms without multiple rounding modes.
2719 * math/bug-nextafter.c: Support platforms without FP exceptions.
2720 * math/bug-nexttoward.c: Likewise.
2721 * math/test-fenv.c: Likewise.
2722 * math/test-misc.c: Likewise.
2723 * stdlib/bug-getcontext.c: Likewise.
2724
e39745ff
AJ
27252012-05-17 Andreas Jaeger <aj@suse.de>
2726
2727 * manual/examples/search.c (critter_cmp): Change signature to
2728 avoid warnings.
2729 * manual/string.texi (Collation Functions): Likewise.
2730
48970aba
L
27312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2732
2733 * bits/types.h: Fold copyright years.
2734 * bits/typesizes.h: Likewise.
2735 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2739 * time/time.h: Likewise.
2740
bedee953
PP
27412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2742
2743 [BZ #208]
2744 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2745 in instead of returning them. Return void.
2746 (__libc_mallinfo): Accumulate over all arenas.
2747 (__malloc_stats): Adjust for change in int_mallinfo interface.
2748
61653dfb
RM
27492012-05-16 Roland McGrath <roland@hack.frob.com>
2750
30b99d79
RM
2751 [BZ #10375]
2752 * configure.in (NM): Add AC_CHECK_TOOL for it.
2753 (libc_extra_cflags): New substituted variable.
2754 Check for -fstack-protector being used implicitly.
2755 * configure: Regenerated.
2756 * config.make.in (config-extra-cflags): New variable,
2757 gets @libc_extra_cflags@.
2758 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2759
61653dfb
RM
2760 [BZ #10375]
2761 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2762 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2763 * configure: Regenerated.
2764 * config.make.in (CPPUNDEFS): New substituted variable.
2765 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2766 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2767 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2768
661768bb
L
27692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2770
2771 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2772 (mq_attr): Use __syscall_slong_t.
2773
d4261567
L
27742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2777 Check __x86_64__ instead of __WORDSIZE.
2778 (_STAT_VER_LINUX): Likewise.
2779 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2780 __syscall_ulong_t and __syscall_slong_t.
2781 (stat64): Likewise.
2782
cf3ff365
L
27832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2786
76cf3e4d
L
27872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2790
a637753a
L
27912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2792
2793 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2794 __syscall_ulong_t.
2795
d5e05119
L
2796 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2797 include <bits/wordsize.h>. Check __x86_64__ instead of
2798 __WORDSIZE.
2799 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2800 defined.
2801 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2802
f62ee380
L
2803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2804 include <bits/wordsize.h>. Check __x86_64__ instead of
2805 __WORDSIZE.
2806 (user_regs_struct): Use "__extension__ unsigned long long"
2807 instead of "unsigned long" if __x86_64__ is defined.
2808 (user): Likewise. Pad after pointer field if __ILP32__ is
2809 defined.
2810
4e124ced
JM
28112012-05-16 Joseph Myers <joseph@codesourcery.com>
2812
6a3951a0
JM
2813 * configure.in (makeinfo): Require version 4.5 or later. Allow
2814 versions 5 to 9.
2815 * configure: Regenerated.
2816 * manual/install.texi (texinfo): Increase version requirement to
2817 4.5 or later.
2818 * INSTALL: Regenerated.
2819
4e124ced
JM
2820 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2821
953ca31a
L
28222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2825
617aca05
L
2826 * sysdeps/x86_64/x32/ffs.c: New file.
2827
5762f7ae
L
2828 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2829 __syscall_ulong_t.
2830 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2831 defined. Use __syscall_ulong_t.
2832 (shminfo): Use __syscall_ulong_t.
2833 (shm_info): Likewise.
2834
a26b6856
L
2835 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2836 __syscall_ulong_t.
2837
cb2b9ef7
L
2838 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2839 <bits/wordsize.h>.
2840 (msgqnum_t): Use __syscall_ulong_t.
2841 (msglen_t): Likewise.
2842 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2843 __syscall_ulong_t.
2844
34683bb0
L
2845 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2847
84a68786
L
2848 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2849
48baa5f1
L
2850 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2851 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2852
180be88b
L
2853 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2854 __syscall_slong_t.
2855
5e90c8ad
L
2856 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2857 include <bits/wordsize.h>. Check __x86_64__ instead of
2858 __WORDSIZE.
2859
23dfb58b
L
2860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2861 "unsigned long long int" if __x86_64__ is defined.
2862 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2863
ce5d54b0
L
2864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2866 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2867
13dc9eac
L
2868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2869 <stdint.h>.
2870 (GET_PC): Cast to uintptr_t first.
2871 (GET_FRAME): Likewise.
2872 (GET_STACK): Likewise.
2873
a7895d15
L
2874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2877 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2879 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2881 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2882 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2888 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2890 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2903
656416c9
AS
29042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2905
5bd66283
AS
2906 * Makerules (+depfiles): Also collect depfiles from .oS in
2907 $(extra-objs).
2908 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2909 .oS, $(libnldbl-routines)).
2910
656416c9
AS
2911 * Makerules (native-compile-mkdep-flags): Define.
2912 * sunrpc/Makefile (extra-objs): Add $(addprefix
2913 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2914 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2915 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2916 calling $(make-target-directory).
2917
a46f2169
L
29182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 * bits/types.h (__snseconds_t): Removed.
2921 * time/time.h (struct timespec): Replace __snseconds_t with
2922 __syscall_slong_t.
2923 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2924 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2925 Likewise.
2926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2927 (__SNSECONDS_T_TYPE): Likewise.
2928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2929 (__SNSECONDS_T_TYPE): Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2931 (__SNSECONDS_T_TYPE): Likewise.
2932
6af6528b
L
29332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 * sysdeps/mach/hurd/bits/typesizes.h
2936 (__SYSCALL_SLONG_TYPE): New macro.
2937 (__SYSCALL_ULONG_TYPE): Likewise.
2938
de986b56
L
29392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2940
2941 * bits/types.h (__syscall_slong_t): New type.
2942 (__syscall_ulong_t): Likewise.
2943
2944 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2945 (__SYSCALL_ULONG_TYPE): Likewise.
2946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2947 (__SYSCALL_SLONG_TYPE): Likewise.
2948 (__SYSCALL_ULONG_TYPE): Likewise.
2949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2950 (__SYSCALL_SLONG_TYPE): Likewise.
2951 (__SYSCALL_ULONG_TYPE): Likewise.
2952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2953 (__SYSCALL_SLONG_TYPE): Likewise.
2954 (__SYSCALL_ULONG_TYPE): Likewise.
2955
85736dc7
L
29562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2957
2958 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2959 Add sigaltstack-offsets.sym.
2960 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2961 <sigaltstack-offsets.h>.
2962 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2963 longjmp_msg pointer.
2964 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2965 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2966 signal stack.
2967 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2968
cc03b296
JM
29692012-05-15 Joseph Myers <joseph@codesourcery.com>
2970
a9538892
JM
2971 * elf/stackguard-macros.h: Remove file.
2972 * sysdeps/generic/stackguard-macros.h: New file.
2973 * sysdeps/i386/stackguard-macros.h: Likewise.
2974 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2975 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2976 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2977 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2978 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2979 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2980 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2981 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2982 <elf/stackguard-macros.h>.
2983
cc03b296
JM
2984 [BZ #14109]
2985 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2986 __aligned__ in attribute.
2987 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2988 (gregset_t): Likewise.
2989
93171016
L
29902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2993 * sysdeps/x86_64/64/Implies-after: Here. New file.
2994 * sysdeps/x86_64/x32/Implies-after: New file.
2995
d86813a0
L
29962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2997
2998 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2999 and access return value for _dl_profile_fixup. Use R10_LP to
3000 load frame size.
3001
2953ec75
L
30022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3005
3b550e9e
L
30062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3009 * sysdeps/x86_64/x32/sysdep.h: New file.
3010
eda41706
L
30112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3012
3013 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3014 * sysdeps/x86_64/setjmp.S: Likewise.
3015
9ea01d93
AZ
30162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3017
3018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3020 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3022 remove unused global constant.
3023
02a91938
CM
30242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3025
3026 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3027 include of <not-cancel.h>.
3028
6540185f
RM
30292012-05-15 Roland McGrath <roland@hack.frob.com>
3030
3031 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3032
509072a0
AJ
30332012-05-15 Jeff Law <law@redhat.com>
3034 Andreas Jaeger <aj@suse.de>
3035
3036 [BZ #13594]
3037 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3038 out from...
3039 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3040 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3041 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3042 code changing __hst_map_handle.map.
3043
ba75122d
RM
30442012-05-15 Roland McGrath <roland@hack.frob.com>
3045
3046 * configure.in (sysnames): Look for Implies-before and Implies-after
3047 files.
3048 * configure: Regenerated.
3049
890d8bd8
L
30502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3051
3052 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3053 8-byte data alignment with LP_SIZE alignment.
3054
f6ee6623
L
30552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3058 into R10_LP.
3059
ea2626f6
L
30602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3063
085f715e
L
30642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3067 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3068 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3069 Likewise.
3070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3071
be8498fc
L
30722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3075 (stackinfo_sub_sp): Likewise.
3076
70bc83b9
L
30772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3080 RAX_LP.
3081
9bc0b730
L
30822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3085 into R*_LP.
3086
6d2850e7
L
30872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3090 sizes into R*_LP.
3091
3cb84561
L
30922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3093
3094 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3095
54e2ed81
L
30962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3099 into R11_LP and load __x86_64_shared_cache_size_half into
3100 R8_LP.
3101
8a17f349
L
31022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3103
3104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3105 R8_LP.
3106
777b1eea
AZ
31072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108
3109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3110 logb for POWER7.
3111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3112 logbf for POWER7.
3113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3114 logbl for POWER7.
3115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3116 powerpc32/power7/fpu/s_logb.c via #include.
3117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3118 powerpc32/power7/fpu/s_logbf.c via #include.
3119 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3120 powerpc32/power7/fpu/s_logbl.c via #include.
3121
d20d4ac2
JM
31222012-05-15 Joseph Myers <joseph@codesourcery.com>
3123
3124 * README.libm: Remove file.
3125
6cdef1ab
L
31262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3127
3128 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3129 count for x32. Use R*_LP and omit operand-size suffix.
3130
0b254d8f
L
31312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3134 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3135 * sysdeps/x86_64/x32/shlib-versions: New file.
3136
ceb809dc
RM
31372012-05-14 Roland McGrath <roland@hack.frob.com>
3138
3139 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3140 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3141 Use _dl_fatal_printf instead.
3142
37f1abd4
JM
31432012-05-14 Joseph Myers <joseph@codesourcery.com>
3144
3145 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3146 set if not set by the user. Do not allow for being unset.
3147 * sysdeps/unix/sysv/linux/configure: Regenerated.
3148
11de3a33
L
31492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3150
3151 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3152 the `q' suffix from lea and replace .quad with ASM_ADDR.
3153
e02f153a
L
31542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3157 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3158 instead of $17.
3159 (PTR_DEMANGLE): Likewise.
3160
520ae0fd
L
31612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3164 (LP_OP): Likewise.
3165 (ASM_ADDR): Likewise.
3166 (RAX_LP): Likewise.
3167 (RBP_LP): Likewise.
3168 (RBX_LP): Likewise.
3169 (RCX_LP): Likewise.
3170 (RDI_LP): Likewise.
3171 (RSI_LP): Likewise.
3172 (RSP_LP): Likewise.
3173 (R8_LP): Likewise.
3174 (R9_LP): Likewise.
3175 (R10_LP): Likewise.
3176 (R10_LP): Likewise.
3177 (R11_LP): Likewise.
3178 (R12_LP): Likewise.
3179 (R13_LP): Likewise.
3180 (R14_LP): Likewise.
3181 (R15_LP): Likewise.
3182
b985be81
L
31832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 * sysdeps/x86_64/x32/dl-machine.h: New file.
3186
6a4888ff
AJ
31872012-05-14 Andreas Jaeger <aj@suse.de>
3188
3189 * manual/Makefile (subdir): Remove export of subdir.
3190 (all): Remove target.
3191 (.PHONY): Remove all from list.
3192 (mkinstalldirs): Remove.
3193 (.PHONY): Remove installdirs from list.
3194 ($(inst_infodir)/libc.info): Use make-target-directory.
3195 (installdirs): Remove.
3196 (subdir_%): Remove.
3197 (glibc-targets): Remove.
3198 (lib): Remove.
3199 (stubs): Remove.
3200 ($(objpfx)stubs ../po/manual.pot): Remove.
3201 ($(objpfx)stamp%): Remove.
3202 (make-target-directory): Remove.
3203 (subdir_install): Remove.
3204 (routines): Remove.
3205 (aux): Remove.
3206 (sources): Remove.
3207 (objects): Remove.
3208 (headers): Remove.
3209
3210 [BZ #13750]
3211 * manual/.gitignore: Remove, it's not needed anymore.
3212 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3213 all files in it.
3214 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3215 directory.
3216 (texis): Renamed to $(objpfx)texis.
3217 (texis-path): New, contains path to generated files.
3218 (chapters.%): Use texis-path for complete path, add extra argument
3219 libc-texinfo.sh.
3220 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3221 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3222 (summary,texi, stamp-summary): Use complete path of
3223 files. Generate files in build dir.
3224 (dir-add.texi): Build in build dir.
3225 (libm-err.texi,stamp-libm-err): Likewise.
3226 (version.texi, stamp-version): Likewise.
3227 (.%c.texi): Likewise.
3228 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3229 (mostlyclean): Remove target.
3230 (realclean): Remove target.
3231 (generated): Add new variable with contents from mostlyclean and
3232 realclean, remove entries duplicated in common-mostlyclean, add
3233 stamp-libm-err and stamp-version.
3234 (generated-dirs): Add libc directory.
3235 ($(inst_infodir)/libc.info): Install files from build dir.
3236
3237 * manual/install.texi (Configuring and compiling): Adjust since
3238 the info files are not part of the tar ball anymore.
3239
7ac77294
AJ
32402012-05-14 Andreas Jaeger <aj@suse.de>
3241
3242 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3243 variable.
3244
ffb7875d
JM
32452012-05-14 Joseph Myers <joseph@codesourcery.com>
3246
3247 [BZ #13717]
3248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3249 to 2.2.0 where earlier.
3250 * sysdeps/unix/sysv/linux/configure: Regenerated.
3251 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3252 Remove conditional code.
3253 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3254 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3255 Remove conditional code.
3256 [!__NR_lchown]: Likewise.
3257 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3258 [__NR_lchown]: Likewise.
3259 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3260 comment referencing __ASSUME_LCHOWN_SYSCALL.
3261 * sysdeps/unix/sysv/linux/i386/sigaction.c
3262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3264 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3265 Remove conditional code.
3266 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3267 (__protocol_available): Remove #if 0 code.
3268 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3269 conditional code.
3270 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3271 * sysdeps/unix/sysv/linux/kernel-features.h
3272 (__ASSUME_GETCWD_SYSCALL): Don't define.
3273 (__ASSUME_REALTIME_SIGNALS): Likewise.
3274 (__ASSUME_PREAD_SYSCALL): Likewise.
3275 (__ASSUME_PWRITE_SYSCALL): Likewise.
3276 (__ASSUME_POLL_SYSCALL): Likewise.
3277 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3278 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3279 non-SPARC.
3280 (__ASSUME_SIOCGIFNAME): Don't define.
3281 (__ASSUME_MSG_NOSIGNAL): Likewise.
3282 (__ASSUME_SENDFILE): Define unconditionally.
3283 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3284 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3285 conditional code.
3286 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3287 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3288 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3289 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3290 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3291 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3292 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3309 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3317 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3318 Remove conditional code.
3319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3320 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3321 Remove conditional code.
3322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3323 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3324 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3325 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3326 Remove conditional code.
3327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3328 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3329 Remove conditional code.
3330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3331 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3332 Remove conditional code.
3333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3334 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3335 Remove conditional code.
3336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3337 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3338 Remove conditional code.
3339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3340 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3343 * sysdeps/unix/sysv/linux/sigaction.c
3344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3346 * sysdeps/unix/sysv/linux/sigpending.c
3347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3349 * sysdeps/unix/sysv/linux/sigprocmask.c
3350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3352 * sysdeps/unix/sysv/linux/sigsuspend.c
3353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3356 (__libc_missing_rt_sigs): Remove.
3357 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3358 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3359 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3360 Remove conditional code.
3361 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3362 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3363 return 1.
3364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3365 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3366 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3367 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3368
1bfb7291
AJ
33692012-05-14 Andreas Jaeger <aj@suse.de>
3370
caae5a81
AJ
3371 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3372 it's not used in glibc.
3373 (__coshm1): Likewise.
3374 (__acosh1p): Likewise.
3375 (__sgn): Likewise.
3376
1bfb7291
AJ
3377 * manual/string.texi (Copying and Concatenation): Add missing
3378 variable in concat example.
3379 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3380
c044d724
L
33812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3382
144c5467 3383 [BZ #14103]
c044d724
L
3384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3385 __builtin_clzl with __builtin_clzll.
3386
2523c62b
L
33872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 [BZ #14104]
3390 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3391 libc_freeres_ptr.
3392
d7bb4c42
LD
33932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3394
3395 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3396 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3397 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3399
9dc4e1fb
MF
34002012-05-14 Mike Frysinger <vapier@gentoo.org>
3401
3402 * NEWS: Update ia64 info.
3403
c7df0112
AS
34042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3405
3406 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3407 used as bcopy.
3408
dc70356c
TS
34092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3410
3411 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3412 * sysdeps/unix/syscalls.list (dup3): Likewise.
3413 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3414 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3415
9fb1a21f
L
34162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3417
3418 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3419 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3420
4822a2a5
L
34212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3424 thread pointer.
3425 (TLS_IE): Use mov/add instead of movq/addq to load thread
3426 pointer.
3427 (TLS_GD_PREFIX): New.
3428 (TLS_GD): Use it.
3429
842b81d6
DM
34302012-05-11 David S. Miller <davem@davemloft.net>
3431
3432 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3433 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3434 (_FPU_SETCW): Likewise.
3435
1cf463cd
L
34362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3437
3438 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3439 is 32-byte aligned.
3440
60cc4a18
AS
34412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3442
3443 [BZ #11837]
3444 * iconvdata/gb18030.c: Update tables.
3445 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3446 characters specially.
3447 (BODY for TO_LOOP): Add encoding of missing ranges.
3448
febb44a4
TS
34492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3450
3451 [BZ #13673]
3452 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3453 * sysdeps/mach/hurd/dup3.c: Likewise.
3454 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3455 * sysdeps/powerpc/memmove.c:: Likewise.
3456
0a10fb9e
L
34572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3458
3459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3460 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3461
df8a552f
L
34622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * elf/elf.h (R_X86_64_RELATIVE64): New.
3465 (R_X86_64_NUM): Updated.
3466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3467 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3468 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3469 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3470 tst-quad1pie tst-quad2pie
3471 (modules-names): Add tst-quadmod1 tst-quadmod2.
3472 ($(objpfx)tst-quad1): New dependency.
3473 ($(objpfx)tst-quad2): Likewise.
3474 ($(objpfx)tst-quad1pie): Likewise.
3475 ($(objpfx)tst-quad2pie): Likewise.
3476 * sysdeps/x86_64/tst-quad1.c: New file.
3477 * sysdeps/x86_64/tst-quad1pie.c: New file.
3478 * sysdeps/x86_64/tst-quad2.c: Likewise.
3479 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3480 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3481 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3482 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3483 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3484
f34d6f84
ST
34852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3486
f42d41d1
ST
3487 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3488 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3489 * streams/stropts.h (t_scalar_t): Define type.
3490
3c3571fc
ST
3491 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3492 (_PATH_PRESERVE): Set to "/var/lib".
3493 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3494
61f06bd3
ST
3495 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3496 instead of int.
3497
918d4d71
ST
3498 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3499 if __dir_mkfile succeeded.
3500
f34d6f84
ST
3501 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3502 checking for _hurd_dtablesize. Unlock it right after having
3503 finished _hurd_dtable allocation.
3504
10589b4a
TS
35052012-05-10 Thomas Schwinge <thomas@schwinge.name>
3506
674cdbc7
TS
3507 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3508 * sysdeps/mach/hurd/configure: Regenerated.
3509 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3510 special-casing to...
3511 * sysdeps/gnu/configure.in: ... this new file.
3512 * sysdeps/unix/sysv/linux/configure: Regenerated.
3513 * sysdeps/gnu/configure: New generated file.
3514
8e41b99f
TS
3515 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3516 for Linux: use nsec instead of usec, as well as:
3517 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3518 members of type struct timespec.
3519 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3520 New macros.
3521 (struct stat64): Likewise.
3522 (_STATBUF_ST_NSEC): New macro.
3523 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3524
10589b4a
TS
3525 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3526 __strtoul_internal rather than strtoul.
3527
63643c85
PT
35282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3529
3530 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3531 and reject them.
3532
3faebe6a
ST
35332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3534
3535 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3536 which preserves existing values.
3537 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3538
c6474b07
PT
35392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3540
3541 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3542 TIMEOUT values. Return EINVAL for NFDS values either negative or
3543 greater than FD_SETSIZE.
3544
1043890b
ST
35452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3546
3547 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3548 allocated, call __vm_protect to finish enabling the existing space, and
3549 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3550 allocate the remainder.
3551
37ed8b9b
PT
35522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3553
3554 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3555 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3556
db653660
ST
35572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3558
37ed8b9b
PT
3559 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3560 sysdeps/mach/hurd/readlink.c.
b29d4053 3561
db653660
ST
3562 * posix/tst-sysconf.c (posix_options): Only use
3563 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3564 _POSIX_SYNCHRONIZED_IO when they are defined
3565 * sysdeps/mach/hurd/bits/posix_opt.h:
3566 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3567 (_XOPEN_REALTIME): Undefine macro.
3568 (_XOPEN_REALTIME_THREADS): Undefine macro.
3569 (_XOPEN_SHM): Undefine macro.
3570 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3571 macro to -1.
3572 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3573 macro to -1.
3574 (_POSIX_ASYNC_IO): Undefine macro.
3575 (_POSIX_PRIORITIZED_IO): Undefine macro.
3576 (_POSIX_SPIN_LOCKS): Define macro to -1.
3577
ee16e894
ST
3578 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3579 SA_NODEFER, SA_RESETHAND.
3580 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3581 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3582 F_DUPFD_CLOEXEC.
3583
6103ae3b
TS
35842012-05-10 Thomas Schwinge <thomas@schwinge.name>
3585
3586 * elf/Makefile (pldd-modules): Define unconditionally.
3587
80b4e5f3
TS
35882012-05-10 Thomas Schwinge <thomas@schwinge.name>
3589
3590 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3591
edadcbd6
ST
35922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3593
3594 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3595 Return ENOENT when name is empty.
3596 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3597
80694780
TS
35982012-05-10 Thomas Schwinge <thomas@schwinge.name>
3599
1792c087
TS
3600 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3601
80694780
TS
3602 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3603
6b645f0d
ST
36042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3605
80694780
TS
3606 Fix mlock in all cases except non-readable pages.
3607 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3608 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3609
6b645f0d
ST
3610 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3611 (__mkdir): When path is `/', just fail with EEXIST.
3612 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3613
e468f8a3
TS
36142012-05-10 Thomas Schwinge <thomas@schwinge.name>
3615
3616 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3617 <sys/uio.h> (for writev).
3618 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3619 and <sys/param.h> (for MIN).
3620
a4186cff
PT
36212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3622
3623 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3624 REQUESTED_TIME. Properly set the remaining time and return EINTR
3625 if interrupted.
3626
510bbf14
TS
36272012-05-10 Thomas Schwinge <thomas@schwinge.name>
3628
3629 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3630 Depend on against $(link-rpcuserlibs).
3631
5d5722e8
ST
36322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3633
a4186cff
PT
3634 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3635 (__libc_stack_end): Do not use attribute_relro.
3636 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3637 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3638 to libthread-provided value.
a4186cff
PT
3639 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3640 attribute_relro.
5d5722e8 3641
37233df9
TS
36422012-05-10 Thomas Schwinge <thomas@schwinge.name>
3643
be971a2b
TS
3644 [BZ #3748]
3645 * bits/libc-lock.h (__libc_once_get): New macro.
3646 * sysdeps/mach/bits/libc-lock.h: Likewise.
3647 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3649 instead of using implementation details.
3650
37233df9
TS
3651 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3652 * libio/freopen.c: Likewise.
3653 * libio/freopen64.c: Likewise.
3654 * misc/syslog.c: Likewise.
3655 * nscd/connections.c: Likewise.
3656 * nscd/netgroupcache.c: Likewise.
3657 * sysdeps/posix/getcwd.c: Likewise.
3658
38de94a5
RM
36592012-05-10 Roland McGrath <roland@hack.frob.com>
3660
3661 * math/w_ilogbf.c: Add #include <limits.h>.
3662
67530489
ST
36632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3664
a4186cff 3665 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3666 path instead of returning without unlocking.
3667
67530489
ST
3668 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3669 immediate-write ioctls.
3670 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3671
5aa3a74a
TS
36722012-05-10 Thomas Schwinge <thomas@schwinge.name>
3673
18bad2ae
TS
3674 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3675 __builtin_frame_address instead of making assumptions about the
3676 location of the return address relative to DATA. Force early load of
3677 the return address.
3678 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3679 __builtin_frame_address.
3680
5aa3a74a
TS
3681 dup3 for GNU Hurd.
3682 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3683 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3684 implement dup3 and do some further code clean-ups.
3685 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3686 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3687
ecd0de9a
ST
36882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3689
cd9fa985
ST
3690 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3691
a4186cff
PT
3692 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3693 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3694 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3695 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3696 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3697 d->port.lock.
802ca5a5 3698
a4186cff
PT
3699 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3700 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3701 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3702
bcf55240
TS
37032012-05-10 Thomas Schwinge <thomas@schwinge.name>
3704
6960eb42
TS
3705 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3706 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3707 definitions.
3708
eb43375f
TS
3709 accept4 for GNU Hurd.
3710 * include/sys/socket.h (__libc_accept4): New prototype.
3711 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3712 to implement __libc_accept4.
3713 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3714 __libc_accept4.
3715 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3716
bcf55240
TS
3717 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3718 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3719 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3720 signal-defines.sym.
3721
6178c55b
ST
37222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3723
a4186cff 3724 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3725
6f080c2f
TS
37262012-05-10 Thomas Schwinge <thomas@schwinge.name>
3727
3728 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3729 assertion on O_CLOEXEC flag.
3730 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3731 * hurd/intern-fd.c: Likewise.
3732 * hurd/port2fd.c: Likewise.
3733
bcfe3a54
ST
37342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3735
3736 [BZ #3906]
3737 * bits/in.h (IPV6_PKTINFO): Define new macro.
3738 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3739
89c9aa49
AZ
37402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3741
3742 [BZ #13954]
3743 [BZ #13955]
3744 [BZ #13956]
3745 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3747 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3748 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3751 * math/libm-test.inc (logb_test) : Additional logb tests.
3752
021db4be
AJ
37532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3754 Andreas Jaeger <aj@suse.de>
3755
3756 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3757 * configure: Regenerated.
3758 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3759 * config.make.in (link-obsolete-rpc): New substituted variable.
3760 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3761 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3762 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3763 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3764 so that libc.a contains the symbols.
3765 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3766 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3767 * sunrpc/auth_none.c: Likewise.
3768 * sunrpc/auth_unix.c: Likewise.
3769 * sunrpc/authdes_prot.c: Likewise.
3770 * sunrpc/authuxprot.c: Likewise.
3771 * sunrpc/clnt_gen.c: Likewise.
3772 * sunrpc/clnt_perr.c: Likewise.
3773 * sunrpc/clnt_raw.c: Likewise.
3774 * sunrpc/clnt_simp.c: Likewise.
3775 * sunrpc/clnt_tcp.c: Likewise.
3776 * sunrpc/clnt_udp.c: Likewise.
3777 * sunrpc/clnt_unix.c: Likewise.
3778 * sunrpc/des_crypt.c: Likewise.
3779 * sunrpc/des_soft.c: Likewise.
3780 * sunrpc/get_myaddr.c: Likewise.
3781 * sunrpc/key_call.c: Likewise.
3782 * sunrpc/key_prot.c: Likewise.
3783 * sunrpc/netname.c: Likewise.
3784 * sunrpc/pm_getmaps.c: Likewise.
3785 * sunrpc/pm_getport.c: Likewise.
3786 * sunrpc/pmap_clnt.c: Likewise.
3787 * sunrpc/pmap_prot.c: Likewise.
3788 * sunrpc/pmap_prot2.c: Likewise.
3789 * sunrpc/pmap_rmt.c: Likewise.
3790 * sunrpc/publickey.c: Likewise.
3791 * sunrpc/rpc_cmsg.c: Likewise.
3792 * sunrpc/rpc_common.c: Likewise.
3793 * sunrpc/rpc_dtable.c: Likewise.
3794 * sunrpc/rpc_prot.c: Likewise.
3795 * sunrpc/rpc_thread.c: Likewise.
3796 * sunrpc/rtime.c: Likewise.
3797 * sunrpc/svc.c: Likewise.
3798 * sunrpc/svc_auth.c: Likewise.
3799 * sunrpc/svc_raw.c: Likewise.
3800 * sunrpc/svc_run.c: Likewise.
3801 * sunrpc/svc_tcp.c: Likewise.
3802 * sunrpc/svc_udp.c: Likewise.
3803 * sunrpc/svc_unix.c: Likewise.
3804 * sunrpc/svcauth_des.c: Likewise.
3805 * sunrpc/xcrypt.c: Likewise.
3806 * sunrpc/xdr.c: Likewise.
3807 * sunrpc/xdr_array.c: Likewise.
3808 * sunrpc/xdr_float.c: Likewise.
3809 * sunrpc/xdr_intXX_t.c: Likewise.
3810 * sunrpc/xdr_mem.c: Likewise.
3811 * sunrpc/xdr_rec.c: Likewise.
3812 * sunrpc/xdr_ref.c: Likewise.
3813 * sunrpc/xdr_sizeof.c: Likewise.
3814 * sunrpc/xdr_stdio.c: Likewise.
3815
b5c086a2
RM
38162012-05-10 Roland McGrath <roland@hack.frob.com>
3817
3818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3819 change. Update copyright years.
3820
6d74dd09
JM
38212012-05-10 Joseph Myers <joseph@codesourcery.com>
3822
3823 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3824
28e72501
MK
38252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3826 Joseph Myers <joseph@codesourcery.com>
3827 Paul Pluzhnikov <ppluzhnikov@google.com>
3828
3829 [BZ #14012]
3830 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3831 requiring rpcgen.
3832 [cross-compiling] (extra-libs): Likewise.
3833 [cross-compiling] (extra-libs-others): Likewise.
3834 [cross-compiling] (librpcsvc-routines): Likewise.
3835 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3836 [cross-compiling] (omit-deps): Likewise.
3837 (sunrpc-CPPFLAGS): New variable.
3838 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3839 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3840 (cross-rpcgen-objs): New variable.
3841 (extra-objs): Append $(cross-rpcgen-objs).
3842 ($(cross-rpcgen-objs)): New rule.
3843 ($(objpfx)cross-rpcgen): Likewise.
3844 (rpcgen-cmd): Define to use $(built-program-file). Expand
3845 comment.
3846 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3847 ($(objpfx)x%.stmp): Likewise.
3848 * sunrpc/proto.h [IS_IN_build] (_): Define.
3849 [IS_IN_build] (_libc_intl_domainname): Likewise.
3850
c8c59454
L
38512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3854 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3855 and R_X86_64_TPOFF64.
3856
6f27cd16
JM
38572012-05-10 Joseph Myers <joseph@codesourcery.com>
3858
3859 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3860 sysdeps/unix/sysv/syscalls.list.
3861 (stime): Likewise.
3862 (utime): Likewise.
3863 * sysdeps/unix/sysv/syscalls.list: Remove file.
3864
02467e1c
PE
38652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3866
3867 [BZ #3440]
3868 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3869 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3870 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3871 (__LC_IDENTIFICATION): Make these macros useful in #if
3872 expressions, as required by C99.
3873
da392631
AS
38742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3875
3876 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3877 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3878 after this.
3879
8115f29b
L
38802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3881
3882 * stdlib/longlong.h: Updated from GCC.
3883
bdd74070
AJ
38842012-05-09 Andreas Jaeger <aj@suse.de>
3885
edfe0dbe
AJ
3886 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3887 default is first entry.
3888 (run_mode): Set type.
3889 (main): Remove informal message about syslog.
3890 (options): Fix typo.
3891
bcfe3a54
ST
3892 [BZ #14053]
3893 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3894 to asm.
bcfe3a54
ST
3895 (lrint): Likewise.
3896 (llrintf): Likewise.
3897 (llrint): Likewise.
3898 (rint): Likewise.
3899 (rintf): Likewise.
3900 (nearbyint): Likewise.
3901 (nearbyintf): Likewise.
bdd74070 3902
91d8d69e
AJ
39032012-05-09 Andreas Jaeger <aj@suse.de>
3904 Pedro Alves <palves@redhat.com>
3905
3906 * nscd/nscd.c (run_mode): Use enum.
3907 (main): Cleanup coding style issue.
3908
bb90b80b
AJ
39092012-05-09 Alexandre Oliva <aoliva@redhat.com>
3910 Andreas Jaeger <aj@suse.de>
3911
bcfe3a54
ST
3912 * nscd/nscd.c (go_background): Replaced with...
3913 (run_mode): ... this.
bb90b80b 3914 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3915 (options): Add -F --foreground.
3916 (main): Implement it.
3917 (parse_opt): Parse it.
bb90b80b 3918
1a4b75a1
AJ
39192012-05-09 Andreas Jaeger <aj@suse.de>
3920
3921 [BZ #14083]
3922 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3923 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3924 -Wconversion warning.
3925 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3926 Likewise.
3927
b1cc2472
JM
39282012-05-09 Joseph Myers <joseph@codesourcery.com>
3929
3930 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3931 == 0.
3932 (LC_ALL): Use macro-int-constant.
3933 (LC_COLLATE): Likewise.
3934 (LC_CTYPE): Likewise.
3935 (LC_MESSAGES): Likewise.
3936 (LC_MONETARY): Likewise.
3937 (LC_NUMERIC): Likewise.
3938 (LC_TIME): Likewise.
3939 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3940 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3942 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3943 Specify type.
3944 [C99-based standards] (float_t): Expect type.
3945 [C99-based standards] (double_t): Expect type.
3946 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3947 type.
3948 [C99-based standards] (HUGE_VALL): Likewise.
3949 [C99-based standards] (INFINITY): Likewise.
3950 [C99-based standards] (NAN): Likewise.
3951 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3952 [C99-based standards] (FP_NAN): Likewise.
3953 [C99-based standards] (FP_NORMAL): Likewise.
3954 [C99-based standards] (FP_SUBNORMAL): Likewise.
3955 [C99-based standards] (FP_ZERO): Likewise.
3956 [C99-based standards] (FP_FAST_FMA): Use
3957 optional-macro-int-constant. Specify type. Require == 1.
3958 [C99-based standards] (FP_FAST_FMAF): Likewise.
3959 [C99-based standards] (FP_FAST_FMAL): Likewise.
3960 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3961 [C99-based standards] (FP_ILOGBNAN): Likewise.
3962 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3963 Specify type.
3964 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3965 [C99-based standards] (math_errhandling): Specify type.
3966 [ISO99 || ISO11] (signgam): Do not allow.
3967 [non-C99-based standards] (copysignf): Do not allow.
3968 [non-C99-based standards] (exp2f): Likewise.
3969 [non-C99-based standards] (log2f): Likewise.
3970 [non-C99-based standards] (modff): Allow.
3971 [non-C99-based standards] (erff): Do not allow.
3972 [non-C99-based standards] (erfcf): Likewise.
3973 [non-C99-based standards] (gammaf): Likewise.
3974 [non-C99-based standards] (hypotf): Likewise.
3975 [non-C99-based standards] (j0f): Likewise.
3976 [non-C99-based standards] (j1f): Likewise.
3977 [non-C99-based standards] (jnf): Likewise.
3978 [non-C99-based standards] (lgammaf): Likewise.
3979 [non-C99-based standards] (tgammaf): Likewise.
3980 [non-C99-based standards] (y0f): Likewise.
3981 [non-C99-based standards] (y1f): Likewise.
3982 [non-C99-based standards] (ynf): Likewise.
3983 [non-C99-based standards] (isnanf): Likewise.
3984 [non-C99-based standards] (acoshf): Likewise.
3985 [non-C99-based standards] (asinhf): Likewise.
3986 [non-C99-based standards] (atanhf): Likewise.
3987 [non-C99-based standards] (cbrtf): Likewise.
3988 [non-C99-based standards] (expm1f): Likewise.
3989 [non-C99-based standards] (ilogbf): Likewise.
3990 [non-C99-based standards] (log1pf): Likewise.
3991 [non-C99-based standards] (logbf): Likewise.
3992 [non-C99-based standards] (nextafterf): Likewise.
3993 [non-C99-based standards] (remainderf): Likewise.
3994 [non-C99-based standards] (rintf): Likewise.
3995 [non-C99-based standards] (scalbf): Likewise.
3996 [non-C99-based standards] (copysignl): Likewise.
3997 [non-C99-based standards] (exp2l): Likewise.
3998 [non-C99-based standards] (log2l): Likewise.
3999 [non-C99-based standards] (modfl): Allow.
4000 [non-C99-based standards] (erfl): Do not allow.
4001 [non-C99-based standards] (erfcl): Likewise.
4002 [non-C99-based standards] (gammal): Likewise.
4003 [non-C99-based standards] (hypotl): Likewise.
4004 [non-C99-based standards] (j0l): Likewise.
4005 [non-C99-based standards] (j1l): Likewise.
4006 [non-C99-based standards] (jnl): Likewise.
4007 [non-C99-based standards] (lgammal): Likewise.
4008 [non-C99-based standards] (tgammal): Likewise.
4009 [non-C99-based standards] (y0l): Likewise.
4010 [non-C99-based standards] (y1l): Likewise.
4011 [non-C99-based standards] (ynl): Likewise.
4012 [non-C99-based standards] (isnanl): Likewise.
4013 [non-C99-based standards] (acoshl): Likewise.
4014 [non-C99-based standards] (asinhl): Likewise.
4015 [non-C99-based standards] (atanhl): Likewise.
4016 [non-C99-based standards] (cbrtl): Likewise.
4017 [non-C99-based standards] (expm1l): Likewise.
4018 [non-C99-based standards] (ilogbl): Likewise.
4019 [non-C99-based standards] (log1pl): Likewise.
4020 [non-C99-based standards] (logbl): Likewise.
4021 [non-C99-based standards] (nextafterl): Likewise.
4022 [non-C99-based standards] (remainderl): Likewise.
4023 [non-C99-based standards] (rintl): Likewise.
4024 [non-C99-based standards] (scalbl): Likewise.
4025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4026 [non-C99-based standards] (FP_*): Do not allow.
4027 [C99-based standards] (FP_*): Change to
4028 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4029 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4030 allow.
4031 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4032 (SIG_ERR): Likewise.
4033 [X/Open-based standards] (SIG_HOLD): Likewise.
4034 (SIG_IGN): Likewise.
4035 (SIGABRT): Use macro-int-constant. Specify type. Require
4036 positive value.
4037 (SIGFPE): Likewise.
4038 (SIGILL): Likewise.
4039 (SIGINT): Likewise.
4040 (SIGSEGV): Likewise.
4041 (SIGTER): Likewise.
4042 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4043 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4044 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4045 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4046 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4047 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4048 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4049 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4050 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4051 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4052 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4053 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4054 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4055 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4056 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4057 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4058 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4059 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4060 [X/Open-based standards] (SIGTRAP): Likewise.
4061 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4062 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4063 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4064 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4065 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4066 allow.
4067
b9f1922d
IW
40682012-05-08 Ian Wienand <ianw@vmware.com>
4069
4070 [BZ #14080]
4071 * time/tzset.c (__tzset_parse_tz): Update default rules for
4072 daylight time changes in the Energy Policy Act of 2005.
4073
1db86e88
AJ
40742012-05-09 Andreas Jaeger <aj@suse.de>
4075
4076 [BZ #13983]
4077 * elf/ldconfig.c (parse_conf): Change string to make clear that
4078 ldconfig only issued a warning if ld.so.conf does not exist.
4079
dee4a4e3
DM
40802012-05-08 David S. Miller <davem@davemloft.net>
4081
ee0db190
DM
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4083 movxtod instead of popping the value on the stack.
4084
dee4a4e3
DM
4085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4086
6a43ec98
CD
40872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4088
4089 * config.h.in: Add HAVE_ARM_PCS_VFP.
4090
05c2c961
RMG
40912012-05-08 Roland Mc Grath <roland@hack.frob.com>
4092
bcfe3a54
ST
4093 [BZ #13979]
4094 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4095 checking but the checks are disabled for any reason.
05c2c961 4096
4b30f61a
L
40972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4098
4099 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4100 and ELF64_R_TYPE with ELFW(R_TYPE).
4101
eee2bc67
JM
41022012-05-08 Joseph Myers <joseph@codesourcery.com>
4103
7ea5391a
JM
4104 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4105 (ulimit): Likewise.
4106
eee2bc67
JM
4107 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4108 (settimeofday): Likewise.
4109
abb66a67
MF
41102012-05-08 Mike Frysinger <vapier@gentoo.org>
4111
4112 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4113 a struct th_u2 inside the union, and move tu_block/tu_code into
4114 a new th_u3 union of tu_block/tu_code inside of that. Move
4115 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4116 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4117 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4118 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4119 (th_stuff): Change to th_u1.tu_stuff.
4120 (th_data): Define.
4121 (th_msg): Change to th_u1.th_u2.tu_data.
4122
7f18b530
DM
41232012-05-07 David S. Miller <davem@davemloft.net>
4124
05760585
DM
4125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4126
7f18b530
DM
4127 [BZ #14074]
4128 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4129 (SETUP_PIC_REG): Use it.
4130 (SETUP_PIC_REG_LEAF): Use it.
4131
495fd99f
JM
41322012-05-07 Joseph Myers <joseph@codesourcery.com>
4133
4134 [BZ #13885]
4135 [BZ #13923]
4136 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4137 USE_AS_EXPM1L.
4138 (EXPL_FINITE): Likewise.
4139 (FLDLOG): Likewise.
4140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4141 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4142 e_expl.S.
4143 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4144 USE_AS_EXPM1L.
4145 (EXPL_FINITE): Likewise.
4146 (FLDLOG): Likewise.
4147 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4148 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4149 e_expl.S.
4150 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4151 test of -max_value argument for long double.
4152 * sysdeps/i386/fpu/libm-test-ulps: Update.
4153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4154
6693d694
DM
41552012-05-06 David S. Miller <davem@davemloft.net>
4156
4157 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4158 quad soft-float symbols whose references which are compiler
4159 generated.
4160 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4161
6c23e11c
JM
41622012-05-06 Joseph Myers <joseph@codesourcery.com>
4163
d8b82cad
JM
4164 [BZ #13884]
4165 [BZ #13914]
4166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4167 USE_AS_EXP10L.
4168 (EXPL_FINITE): Likewise.
4169 (FLDLOG): Likewise.
4170 (c0): Likewise.
4171 (c1): Likewise.
4172 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4173 Adjust comments for base varying.
4174 (__expl_finite): Change alias to EXPL_FINITE.
4175 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4176 e_expl.S.
4177 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4178 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4180 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4181 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4182 USE_AS_EXP10L.
4183 (EXPL_FINITE): Likewise.
4184 (FLDLOG): Likewise.
4185 (c0): Likewise.
4186 (c1): Likewise.
4187 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4188 Adjust comments for base varying.
4189 (__expl_finite): Change alias to EXPL_FINITE.
4190 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4191 tests for bugs.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4193
6c23e11c
JM
4194 [BZ #14064]
4195 * math/libm-test.inc (check_float_internal): Correct ulp
4196 calculation for subnormal expected results.
4197
29ba805c
AJ
41982012-05-06 Andreas Jaeger <aj@suse.de>
4199
4200 * Makeconfig (+math-flags): New, set to -frounding-math.
4201 (+cflags): Add +math-flags so that all of glibc gets compiled with
4202 it.
4203
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4205
7b17aeda
JM
42062012-05-05 Joseph Myers <joseph@codesourcery.com>
4207
5779f134
JM
4208 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4209 Disable one test.
4210
41498f4d
JM
4211 [BZ #13787]
4212 [BZ #13922]
4213 [BZ #14036]
4214 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4215 (__ieee754_expl): Allow for and saturate large arguments.
4216 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4217 (u_threshold): Likewise.
4218 (__exp): Call __ieee754_exp before checking for overflow and
4219 underflow.
4220 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4221 (u_threshold): Likewise.
4222 (__expf): Call __ieee754_expf before checking for overflow and
4223 underflow.
4224 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4225 (u_threshold): Likewise.
4226 (__expl): Call __ieee754_expl before checking for overflow and
4227 underflow.
4228 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4229 (__ieee754_expl): Allow for and saturate large arguments.
4230 * math/libm-test.inc (exp_test): Add another test. Do not allow
4231 missing overflow exception on overflow.
4232 (expm1_test): Do not allow missing overflow exception on overflow.
4233
6698b8bf
JM
4234 * sysdeps/i386/fpu/e_expl.c: Move to ...
4235 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4236 rather than using inline asm.
4237 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4238 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4239 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4240
7b17aeda
JM
4241 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4242 (nice): Likewise.
4243 (poll): Likewise.
4244 (signal): Likewise.
4245 (time): Likewise.
4246 (times): Likewise.
4247
f7c85819
JM
42482012-05-04 Joseph Myers <joseph@codesourcery.com>
4249
4250 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4251 sysdeps/unix/common/syscalls.list.
4252 (fchmod): Likewise.
4253 (fchown): Likewise.
4254 (ftruncate): Likewise.
4255 (getrusage): Likewise.
4256 (gettimeofday): Likewise.
4257 (setpgid): Likewise.
4258 (setregid): Likewise.
4259 (setreuid): Likewise.
4260 (sigaction): Likewise.
4261 (truncate): Likewise.
4262 (vhangup): Likewise.
4263 * sysdeps/unix/common/syscalls.list: Remove file.
4264 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4265 * sysdeps/unix/sysv/linux/Implies: Likewise.
4266
336270d0
L
42672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4271 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4272 Moved to ...
4273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4274 Here.
4275 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4276 to ...
4277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4278 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4279 to ...
4280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4281 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4282 to ...
4283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4284 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4285 to ...
4286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4287 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4288 to ...
4289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4290 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4291 to ...
4292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4293 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4294 to ...
4295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4296 Here.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4298 to ...
4299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4300 Here.
4301 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4302 to ...
4303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4304 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4305 Moved to ...
4306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4307 Here.
4308 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4309 to ...
4310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4311
d128e450
JM
43122012-05-04 Joseph Myers <joseph@codesourcery.com>
4313
fa8ee516
JM
4314 * sysdeps/unix/common/bits/dirent.h: Remove file.
4315 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4316
d128e450
JM
4317 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4318 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4319 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4320 * sysdeps/unix/bsd/isatty.c: Likewise.
4321 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4322 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4323 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4324
ff8faaf0 43252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4326
62881be4 4327 [BZ #13563]
31dc8730
AZ
4328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4329 long double comparison inaccuracies.
4330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4332
6fef930c
AS
43332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4334
4335 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4337
8f203e6c
JM
43382012-05-04 Joseph Myers <joseph@codesourcery.com>
4339
4340 [BZ #14049]
4341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4342 nonzero digits before rounding a hex value.
4343 * stdlib/tst-strtod.c (tests): Add another test.
4344
5197d9c2
AK
43452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4346
4347 * sysdeps/s390/fpu/libm-test-ulps: Update.
4348
f0c1dedf
AJ
43492012-05-03 Andreas Jaeger <aj@suse.de>
4350
4351 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4352 does not get optimized out.
4353 (malloc_opt_barrier): New.
4354
a65ef2ae 43552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4356 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4357
2b942cb7 4358 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4359 intermediate file deletion.
2b942cb7 4360 (generated): Add .symlist files.
a65ef2ae 4361
54b71e02
JM
43622012-05-03 Joseph Myers <joseph@codesourcery.com>
4363
4364 [BZ #13775]
4365 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4366 Redirect under this condition.
4367 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4368 [__USE_GNU] (__dprintf_chk): Not under this condition.
4369 [__USE_GNU] (__vdprintf_chk): Likewise.
4370 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4371 under this condition.
4372 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4373 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4374 [__USE_XOPEN2K8] (vdprintf): Likewise.
4375 [__USE_GNU] (__dprintf_chk): Not under this condition.
4376 [__USE_GNU] (__vdprintf_chk): Likewise.
4377 [__USE_GNU] (dprintf): Likewise.
4378 [__USE_GNU] (vdprintf): Likewise.
4379
d3dfcc41
RM
43802012-05-03 Roland McGrath <roland@hack.frob.com>
4381
4382 * elf/Makefile (common-generated): Set this instead of generated for
4383 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4384 $(all-built-dso)-derived lists.
4385
7ac30cc5
AJ
43862012-05-03 Andreas Jaeger <aj@suse.de>
4387
0c51e550
AJ
4388 * sysdeps/i386/fpu/libm-test-ulps: Update.
4389
7ac30cc5
AJ
4390 * FAQ: Removed.
4391 * FAQ.in: Likewise.
4392 * scripts/gen-FAQ.pl: Likewise.
4393 * manual/install.texi (Installation): Point to online location of
4394 FAQ.
4395 * Makefile (files-for-dist): Remove FAQ.
4396 (FAQ): Remove.
4397
d4c2917f
AM
43982012-05-02 Allan McRae <allan@archlinux.org>
4399
4400 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4401 (LDFLAGS-reldepmod5.so): Likewise.
4402 (LDFLAGS-reldep6mod1.so): Likewise.
4403 (LDFLAGS-reldep6mod4.so): Likewise.
4404 (LDFLAGS-reldep8mod3.so): Likewise.
4405 (LDFLAGS-unload4mod1.so): Likewise.
4406 (LDFLAGS-unload4mod2.so): Likewise.
4407 (LDFLAGS-tst-initorder): Likewise.
4408 (LDFLAGS-tst-initordera2.so): Likewise.
4409 (LDFLAGS-tst-initordera3.so): Likewise.
4410 (LDFLAGS-tst-initordera4.so): Likewise.
4411 (LDFLAGS-tst-initorderb2.so): Likewise.
4412 (LDFLAGS-noload): Likewise.
4413 (LDFLAGS-next): Likewise.
4414 (LDFLAGS-order2mod1.so): Likewise.
4415 (LDFLAGS-order2mod2.so): Likewise.
4416 (LDFLAGS-tst-initorder2): Likewise.
4417 (LDFLAGS-tst-initorder2a.so): Likewise.
4418 (LDFLAGS-tst-initorder2b.so): Likewise.
4419 (LDFLAGS-tst-initorder2c.so): Likewise.
4420 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4421
d77f993f
DM
44222012-05-02 David S. Miller <davem@davemloft.net>
4423
4424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4425
171a70b4
PP
44262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4427
4428 [BZ #14055]
4429 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4430
0be196ad
AJ
44312012-05-02 Andreas Jaeger <aj@suse.de>
4432
4433 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4434 since we manipulate rounding mode.
4435 (CPPFLAGS-test-idouble.c): Likewise.
4436 (CPPFLAGS-test-ifloat.c): Likewise.
4437 (CFLAGS-test-ldouble.c): Likewise.
4438 (CFLAGS-test-double.c): Likewise.
4439 (CFLAGS-test-float.c): Likewise.
4440 (CFLAGS-test-misc.c): Likewise.
4441 (CFLAGS-test-test-fenv.c): Likewise.
4442
4f9d04aa
AZ
44432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444
2b942cb7
RM
4445 [BZ #2550]
4446 [BZ #2570]
4447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4448 comparisons to determine direction to adjust input.
4f9d04aa 4449
82a79e7d
RM
44502012-05-01 Roland McGrath <roland@hack.frob.com>
4451
f5a01ca9
RM
4452 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4453 output to the target.
4454
90fe4186
RM
4455 * scripts/localplt.awk: New file.
4456 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4457 (check-localplt-CFLAGS): Variable removed.
4458 ($(all-built-dso:=.jmprel)): New static pattern rule.
4459 (generated): Add those targets.
4460 (localplt-built-dso): New variable.
4461 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4462
4463 * elf/check-localplt.c: File removed.
4464
82397ed6
RM
4465 * scripts/check-execstack.awk: New file.
4466 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4467 (check-execstack-CFLAGS): Variable removed.
4468 ($(objpfx)check-execstack.h): Target removed.
4469 ($(objpfx)execstack-default): New target.
4470 (generated): Add that instead of check-execstack.h.
4471 ($(all-built-dso:=.phdr)): New static pattern rule.
4472 (generated): Add those targets.
4473 * elf/check-execstack.c: File removed.
4474
82a79e7d
RM
4475 * scripts/check-textrel.awk: New file.
4476 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4477 (check-textrel-CFLAGS): Variable removed.
4478 (all-built-dso): Use := to define.o
4479 ($(all-built-dso:=.dyn)): New static pattern rule.
4480 (generated): Add those targets.
4481 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4482 * config.make.in (READELF): New substituted variable.
4483 * elf/check-textrel.c: File removed.
4484
62fde54f 44852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4486
615605c9
JM
4487 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4488 allow.
4489 * conform/data/ctype.h-data [C99-based standards] (isblank):
4490 Expect function.
4491 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4492 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4494 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4495 Specify type. Require positive value.
4496 (EILSEQ): Likewise.
4497 (ERANGE): Likewise.
4498 [ISO || POSIX] (EILSEQ): Do not expect.
4499 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4500 Specify type. Require positive value.
4501 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4502 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4503 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4504 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4505 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4506 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4507 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4508 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4509 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4510 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4511 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4512 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4513 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4514 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4515 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4516 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4517 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4518 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4519 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4520 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4521 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4523 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4524 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4525 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4526 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4527 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4536 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4541 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4542 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4543 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4544 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4545 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4546 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4547 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4548 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4549 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4550 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4551 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4552 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4553 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4554 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4555 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4556 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4557 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4558 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4559 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4560 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4561 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4562 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4563 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4564 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4565 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4566 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4567 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4568 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4569 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4570 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4571 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4572 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4573 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4574 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4575 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4576 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4577 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4578 Require >= 2.
4579 (FLT_ROUNDS): Expect as macro, not constant.
4580 (FLT_MANT_DIG): Use macro-int-constant.
4581 (DBL_MANT_DIG): Likewise.
4582 (LDBL_MANT_DIG): Likewise.
4583 (FLT_DIG): Likewise.
4584 (DBL_DIG): Likewise.
4585 (LDBL_DIG): Likewise.
4586 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4587 (DBL_MIN_EXP): Likewise.
4588 (LDBL_MIN_EXP): Likewise.
4589 (FLT_MAX_EXP): Use macro-int-constant.
4590 (DBL_MAX_EXP): Likewise.
4591 (LDBL_MAX_EXP): Likewise.
4592 (FLT_MAX_10_EXP): Likewise.
4593 (DBL_MAX_10_EXP): Likewise.
4594 (LDBL_MAX_10_EXP): Likewise.
4595 (FLT_MAX): Use macro-constant.
4596 (DBL_MAX): Likewise.
4597 (LDBL_MAX): Likewise.
4598 (FLT_EPSILON): Use macro-constant. Give upper bound.
4599 (DBL_EPSILON): Likewise.
4600 (LDBL_EPSILON): Likewise.
4601 (FLT_MIN): Likewise.
4602 (DBL_MIN): Likewise.
4603 (LDBL_MIN): Likewise.
4604 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4605 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4606 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4607 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4608 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4609 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4610 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4611 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4612 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4613 [ISO11] (FLT_TRUE_MIN): Likewise.
4614 [ISO11] (LDBL_TRUE_MIN): Likewise.
4615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4616 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4617 (SCHAR_MIN): Use macro-int-constant. Specify type.
4618 (SCHAR_MAX): Likewise.
4619 (UCHAR_MAX): Likewise.
4620 (CHAR_MIN): Likewise.
4621 (CHAR_MAX): Likewise.
4622 (MB_LEN_MAX): Use macro-int-constant.
4623 (SHRT_MIN): Use macro-int-constant. Specify type.
4624 (SHRT_MAX): Likewise.
4625 (USHRT_MAX): Likewise.
4626 (INT_MAX): Likewise.
4627 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4628 bound negative.
4629 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4630 bound with "U".
4631 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4632 bound with "L".
4633 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4634 bound negative. Suffix upper bound with "L".
4635 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4636 bound with "UL".
4637 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4638 Specify type.
4639 [C99-based standards] (LLONG_MAX): Likewise.
4640 [C99-based standards] (ULLONG_MAX): Likewise.
4641 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4642 == 0.
4643 [ISO11] (max_align_t): Require type.
4644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4645
c9140a62
JM
4646 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4647 from $CFLAGS, without defining away __attribute__ calls.
4648 (checknamespace): Use $CFLAGS_namespace.
4649
9af0bf29
JM
4650 * conform/conformtest.pl (@keywords): Only include C99 keywords
4651 for standards based on C99 or C11.
4652
343222a2
JM
4653 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4654 Disable tests.
4655 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4656 UNIX98]: Likewise.
4657
661f8cf0
JM
4658 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4659 usability of symbols in #if.
4660
ee74b9cb
JM
4661 * conform/conformtest.pl: If macro or constant types start
4662 "promoted:", expect the symbol to be of the following type
4663 promoted by the integer promotions.
62fde54f 4664
aafc49b3
JM
4665 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4666 in one place. Also handle "macro-constant".
4667
fefdf574
JM
4668 * conform/conformtest.pl: Only accept expected macro values with
4669 "==". Parse all "macro" lines in one place.
4670 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4671
f2d922fe
JM
4672 * conform/conformtest.pl: Handle braced types on "constant" lines
4673 instead of handling "typed-constant".
4674 * conform/data/signal.h-data: Use "constant" instead of
4675 "typed-constant".
4676
d22956c9
JM
4677 * conform/conformtest.pl: Handle "optional-" at start of lines in
4678 one place rather than duplicating several cases. Handle each
4679 format of "macro" line with initial "optional-".
4680
028e2e38
JM
4681 * conform/conformtest.pl: Only accept expected constant or
4682 optional-constant values with "==". Parse all "constant" lines in
4683 one place. Parse all "optional-constant" lines in one place.
4684 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4685 * conform/data/fmtmsg.h-data: Likewise.
4686 * conform/data/netinet/in.h-data: Likewise.
4687 * conform/data/tar.h-data: Likewise.
4688 * conform/data/limits.h-data: Use "==" form on "constant" and
4689 "optional-constant" lines.
4690
1b8f2850
JM
4691 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4692 Use -std=c99 for XOPEN2K.
4693 (@knownproblems): Remove.
4694 (newtoken): Don't check %isknown.
4695
a05a144b
JM
4696 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4697 Do not expect macro.
4698 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4710 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4711 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4728 [XPG3] (acosh): Likewise.
4729 [XPG3] (asinh): Likewise.
4730 [XPG3] (atanh): Likewise.
4731 [XPG3] (cbrt): Likewise.
4732 [XPG3] (expm1): Likewise.
4733 [XPG3] (ilogb): Likewise.
4734 [XPG3] (log1p): Likewise.
4735 [XPG3] (logb): Likewise.
4736 [XPG3] (nextafter): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4739 [XPG3] (remainder): Likewise.
4740 [XPG3] (rint): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4748 [UNIX98 || XOPEN2K] (scalb): Expect.
4749 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4750 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4755 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4756 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4757 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4758 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4759 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4760 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4797 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4798 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4799 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4800 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4801 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4802 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4803 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4804 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4805 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4807 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4808 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4809 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4810 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4811 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4812 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4813 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4814 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4816 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4817 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4818 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4819 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4820 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4821 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4822 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4823 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4824 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4825 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4826 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4827 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4828 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4829 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4830 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4831 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4832 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4833 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4834 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4835 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4836 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4837 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4838 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4839 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4840 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4841 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4842 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4843 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4844 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4845 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4846 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4847 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4848 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4849 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4850 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4851 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4852 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4853 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4854 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4855 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4856 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4857 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4858 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4859 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4860 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4861 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4862 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4863 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4864 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4865 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4866 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4867 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4868 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4869 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4870 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4871 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4872 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4873 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4874 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4875 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4876 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4877 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4878 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4879 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4880 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4881 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4882 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4883 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4884 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4885 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4886
73c5ebe3
JM
4887 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4888 _XOPEN_SOURCE_EXTENDED for XPG4.
4889
39c33b6c
JM
4890 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4891
62fde54f
JM
4892 * Makeconfig (localtime): Remove variable.
4893 (inst_localtime-file): Likewise.
4894
0741d64c
AS
48952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4896
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4898 Update.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4900 Update.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4902 Update.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4904 Update.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4906 Update.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4908 Update.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4910 Update.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4912 Update.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4914 Update.
4915
7cb029ee
JM
49162012-05-01 Joseph Myers <joseph@codesourcery.com>
4917
4918 [BZ #2550]
4919 [BZ #2570]
4920 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4921 comparisons to determine direction to adjust input.
4922 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4923 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4925 Likewise.
4926 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4927 Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4929 Likewise.
4930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4931 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4932 Likewise.
4933 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4934 Likewise.
4935 * math/libm-test.inc (nexttoward_test): Add more tests.
4936
412bd966
AS
49372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4938
4939 [BZ #14040]
4940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4941 in version GLIBC_2.1, not GLIBC_2.0.
4942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4943 Likewise.
4944
9568c0c2
JM
49452012-04-30 Joseph Myers <joseph@codesourcery.com>
4946
adfbc8ac
JM
4947 [BZ #13942]
4948 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4949 (1 - x) * (1 + x).
4950 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4951 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4952 * math/libm-test.inc (acos_test): Add more tests.
4953 (asin_test): Likewise.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956
5ba3cc69
JM
4957 [BZ #14034]
4958 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4959 of square root.
4960 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4961 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4962 * math/libm-test.inc (acos_test_tonearest): New function.
4963 (acos_test_towardzero): Likewise.
4964 (acos_test_downward): Likewise.
4965 (acos_test_upward): Likewise.
4966 (asin_test_tonearest): Likewise.
4967 (asin_test_towardzero): Likewise.
4968 (asin_test_downward): Likewise.
4969 (asin_test_upward): Likewise.
4970 (main): Call the new functions.
4971 * sysdeps/i386/fpu/libm-test-ulps: Update.
4972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4973
9568c0c2
JM
4974 [BZ #13884]
4975 [BZ #13924]
4976 * math/e_exp10.c: Include <float.h>.
4977 (__ieee754_exp10): Handle underflow here rather than multiplying
4978 large negative argument by M_LN10.
4979 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4980 of __ieee754_expf.
4981 * math/e_exp10l.c: Include <float.h>.
4982 (__ieee754_exp10l): Handle underflow here rather than multiplying
4983 large negative argument by M_LN10l.
4984 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4985 spurious overflow exception on underflow.
4986
5ac3ea17
MP
49872012-04-29 Marek Polacek <polacek@redhat.com>
4988
4989 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4990 (__fortify_function): New macro.
4991 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4992 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4993 __extern_always_inline.
4994 * libio/bits/stdio2.h: Likewise.
4995 * libio/bits/stdio.h: Likewise.
4996 * string/string.h: Likewise.
4997 * string/bits/string3.h: Likewise.
4998 * include/stdio.h: Likewise.
4999 * stdlib/bits/stdlib.h: Likewise.
5000 * stdlib/stdlib.h: Likewise.
5001 * rt/bits/mqueue2.h: Likewise.
5002 * rt/mqueue.h: Likewise.
5003 * posix/bits/unistd.h: Likewise.
5004 * posix/unistd.h: Likewise.
5005 * io/bits/poll2.h: Likewise.
5006 * io/bits/fcntl2.h: Likewise.
5007 * io/fcntl.h: Likewise.
5008 * io/sys/poll.h: Likewise.
5009 * misc/bits/syslog.h: Likewise.
5010 * misc/bits/syslog-ldbl.h: Likewise.
5011 * misc/sys/syslog.h: Likewise.
5012 * socket/bits/socket2.h: Likewise.
5013 * socket/sys/socket.h: Likewise.
5014 * debug/tst-chk1.c: Likewise.
5015 * wcsmbs/bits/wchar2.h: Likewise.
5016 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5017 * wcsmbs/wchar.h: Likewise.
5018
ecf0ebfb
AJ
50192012-04-29 Andreas Jaeger <aj@suse.de>
5020
5021 * Makerules (tests): Remove enable-check-abi protection.
5022 (check-abi-warn): Remove.
5023 (check-abi-%): Remove check-abi-warn usage.
5024
5025 * configure.in: Remove check-abi configure option.
5026 * configure: Regenerated.
5027 * config.make.in (enable-check-abi): Remove.
5028
6d5c57fa
AS
50292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5030
24c5d07e 5031 [BZ #14033]
ded5180a
AS
5032 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5033 double functions to double *_finite functions.
5034
7e0d315d
AS
5035 [BZ #13941]
5036 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5037 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5038 LDBL_MIN_EXP.
5039 * stdio-common/Makefile (tests): Add tst-sprintf3.
5040 * stdio-common/tst-sprintf3.c: New file.
5041
6d5c57fa
AS
5042 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5043 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5044
0749ff8b
JM
50452012-04-28 Joseph Myers <joseph@codesourcery.com>
5046
5047 * conform/conformtest.pl: Remove duplicate typed-constant
5048 handling.
5049
8dbd5d7b
DM
50502012-04-28 David S. Miller <davem@davemloft.net>
5051
5052 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5053 (check-abi-%): Remove AWK script prerequisite and explicit
5054 abilist directory.
5055 (check-abi): Rewrite to just diff the symlist with the abilist.
5056 (config-tls, config-abi-config): Delete, no longer used.
5057 (update-abi-%): Remove AWK script and explicit abilist directory.
5058 (update-abi): Rewrite to simply compare and conditionally copy the
5059 symlist and the sysdep abilist file. Remove update-abi-config
5060 checks.
5061 * abilist/ld.abilist: Remove.
5062 * abilist/libBrokenLocale.abilist: Remove.
5063 * abilist/libanl.abilist: Remove.
5064 * abilist/libcrypt.abilist: Remove.
5065 * abilist/libdl.abilist: Remove.
5066 * abilist/librt.abilist: Remove.
5067 * abilist/libthread_db.abilist: Remove.
5068 * abilist/libutil.abilist: Remove.
5069 * scripts/extract-abilist.awk: Remove.
5070 * scripts/merge-abilist.awk: Remove.
5071 * sysdeps/generic/libcidn.abilist: New file.
5072 * sysdeps/generic/libnss_compat.abilist: New file.
5073 * sysdeps/generic/libnss_db.abilist: New file.
5074 * sysdeps/generic/libnss_dns.abilist: New file.
5075 * sysdeps/generic/libnss_files.abilist: New file.
5076 * sysdeps/generic/libnss_hesiod.abilist: New file.
5077 * sysdeps/generic/libnss_nis.abilist: New file.
5078 * sysdeps/generic/libnss_nisplus.abilist: New file.
5079 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5080 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5081 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5082 file.
5083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5084 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5085 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5086 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5087 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5088 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5089 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5090 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5091 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5092 file.
5093 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5094 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5095 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5096 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5097 file.
5098 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5100 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5101 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5102 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5103 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5104 file.
5105 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5106 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5107 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5108 file.
5109 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5111 New file.
5112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5113 New file.
5114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5115 New file.
5116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5117 New file.
5118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5119 New file.
5120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5121 New file.
5122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5123 New file.
5124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5125 New file.
5126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5127 New file.
5128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5129 New file.
5130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5131 New file.
5132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5133 New file.
5134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5135 New file.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5137 file.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5139 New file.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5141 New file.
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5143 file.
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5145 New file.
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5147 New file.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5149 file.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5151 New file.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5153 New file.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5157 New file.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5161 New file.
5162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5164 file.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5166 New file.
5167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5168 file.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5170 file.
5171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5172 file.
5173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5174 file.
5175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5176 file.
5177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5178 New file.
5179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5180 file.
5181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5182 file.
5183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5184 New file.
5185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5186 file.
5187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5189 file.
5190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5191 New file.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5193 file.
5194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5195 file.
5196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5197 file.
5198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5199 file.
5200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5201 file.
5202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5203 New file.
5204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5205 file.
5206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5207 file.
5208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5209 New file.
5210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5211 file.
5212 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5213 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5214 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5215 file.
5216 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5217 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5218 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5219 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5220 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5221 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5222 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5224 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5225 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5228 file.
5229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5230 New file.
5231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5232 file.
5233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5234 file.
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5236 file.
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5238 file.
5239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5240 file.
5241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5242 New file.
5243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5244 New file.
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5246 file.
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5248 New file.
5249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5250 file.
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5253 file.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5255 New file.
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5257 file.
5258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5259 file.
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5261 file.
5262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5263 file.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5265 file.
5266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5267 New file.
5268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5269 New file.
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5271 file.
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5273 New file.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5275 file.
5276
41d73a1b
JM
52772012-04-28 Joseph Myers <joseph@codesourcery.com>
5278
5279 * conform/conformtest.pl: Fix typo in handling typed-constant from
5280 allow-header.
5281
28aeeda4
JM
52822012-04-27 Joseph Myers <joseph@codesourcery.com>
5283
adae8f5e
JM
5284 * README: Cut down references to pre-2.6 Linux kernels and
5285 Linuxthreads. Update lists of configurations in libc and ports
5286 and sort alphabetically. Say "or newer" with Linux kernel version
5287 requirements.
5288
28aeeda4
JM
5289 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5290
a462cb63
RA
52912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5292
5293 [BZ #887]
5294 * math/libm-test.inc (logb_test_downward): New test to expose
5295 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5296 rounding mode.
5297
6ad3493e
JM
52982012-04-27 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #14027]
5301 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5302 to be done.
5303 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5304 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5305
2ce4f015
JM
53062012-04-26 Joseph Myers <joseph@codesourcery.com>
5307
5aeb141a
JM
5308 * sysdeps/unix/i386/brk.S: Remove file.
5309 * sysdeps/unix/i386/dl-brk.S: Likewise.
5310 * sysdeps/unix/i386/pipe.S: Likewise.
5311 * sysdeps/unix/i386/sigreturn.S: Likewise.
5312 * sysdeps/unix/i386/syscall.S: Likewise.
5313 * sysdeps/unix/i386/vfork.S: Likewise.
5314 * sysdeps/unix/i386/wait.S: Likewise.
5315
7143acae
JM
5316 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5317 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5318
2ce4f015
JM
5319 * configure.in (arm*-none*): Do not allow without
5320 --enable-hacker-mode.
5321 (netbsd*): Remove case setting base_os.
5322 (386bsd*): Likewise.
5323 (freebsd*): Likewise.
5324 (bsdi*): Likewise.
5325 (osf*): Likewise.
5326 (sunos*): Likewise.
5327 (ultrix*): Likewise.
5328 (newsos*): Likewise.
5329 (dynix*): Likewise.
5330 (*bsd*): Likewise.
5331 (sysv*): Likewise.
5332 (isc*): Likewise.
5333 (esix*): Likewise.
5334 (sco*): Likewise.
5335 (minix*): Likewise.
5336 (irix4*): Likewise.
5337 (irix6*): Likewise.
5338 (solaris[2-9]*): Likewise.
5339 (none): Likewise.
5340 * configure: Regenerated.
5341
0ac229c8
AZ
53422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343
5344 [BZ #11521]
5345 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5346 overflow or cancellation in calculating denominator.
5347 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5349 down expression to avoid unexpected rounding in newer GCCs.
5350 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5351
33f244f4
DM
53522012-04-26 David S. Miller <davem@davemloft.net>
5353
5354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5355 long-double compat symbols.
5356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5369
cfa1f3e8
DM
53702012-04-25 David S. Miller <davem@davemloft.net>
5371
5372 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5373 HWCAP_* values only after the memory barriers have been defined.
5374 (atomic_full_barrier): Define.
5375 (atomic_read_barrier): Define.
5376 (atomic_write_barrier): Define.
5377
6e236b92
SP
53782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5379
5380 * shlib-versions: Add libgcc_s version information.
5381 * sysdeps/generic/libgcc_s.h: Remove.
5382 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5383 libgcc_s.h.
5384 * sysdeps/gnu/unwind-resume.c: Likewise.
5385 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5386
aab39a09
DM
53872012-04-25 David S. Miller <davem@davemloft.net>
5388
5389 * sysdeps/unix/sparc/brk.S: Delete.
5390 * sysdeps/unix/sparc/dl-brk.S: Delete.
5391 * sysdeps/unix/sparc/pipe.S: Delete.
5392 * sysdeps/unix/sparc/sysdep.S: Delete.
5393 * sysdeps/unix/sparc/sysdep.h: Delete.
5394 * sysdeps/unix/sparc/vfork.S: Delete.
5395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5396 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5398 ret_ERRVAL, r0, r1, MOVE): Define.
5399 (JUMPTARGET): Remove.
5400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5401 sysdeps/unix/sparc/sysdep.h
5402 (ENTRY, END): Remove.
5403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5404
a3cc4f48
JM
54052012-04-25 Joseph Myers <joseph@codesourcery.com>
5406
2ed8cda2
JM
5407 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5408 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5409 -DIS_IN_build.
5410
35d76d59
JM
5411 * timezone/README: Update upstream location and email address for
5412 tzcode and tzdata.
5413 * timezone/zdump.c: Update from tzcode 2012b.
5414 * timezone/zic.c: Likewise.
5415
a3cc4f48
JM
5416 * configure.in (libc_cv_as_needed): Remove test.
5417 * configure: Regenerated.
5418 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5419 conditional definition.
5420 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5421 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5422 * config.make.in (have-as-needed): Remove variable.
5423
ceab42c3
SP
54242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5425 Paul Pluzhnikov <ppluzhnikov@google.com>
5426
5427 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5428 strings correctly.
5429
3ce2865f
CLT
54302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5431
5432 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5433 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5434 * sysdeps/sh/strlen.S: Likewise.
5435
f37e0d68
JM
54362012-04-24 Joseph Myers <joseph@codesourcery.com>
5437
ae186e9a
JM
5438 * sysdeps/unix/fork.S: Remove file.
5439 * sysdeps/unix/i386/fork.S: Likewise.
5440 * sysdeps/unix/sparc/fork.S: Likewise.
5441
b96914af
JM
5442 * sysdeps/unix/system.c: Remove file.
5443 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5444
f37e0d68
JM
5445 * sysdeps/unix/getegid.S: Remove file.
5446 * sysdeps/unix/geteuid.S: Likewise.
5447
87ef29ca
RM
54482012-04-24 Roland McGrath <roland@hack.frob.com>
5449
83bcd236
RM
5450 * scripts/check-localplt.awk: New file.
5451 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5452 of diff.
5453 * scripts/data/localplt-generic.data: Add a comment.
5454
87ef29ca
RM
5455 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5456 NODE when __dir_mkfile failed.
5457 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5458 Reported by Ludovic Courtès <ludo@gnu.org>.
5459
e5a6e567
AJ
54602012-04-24 Andreas Jaeger <aj@suse.de>
5461
5462 * Makerules (common-clean): Also remove gen-as-const-headers
5463 files.
5464
c1820385
JM
54652012-04-24 Joseph Myers <joseph@codesourcery.com>
5466
5467 * Makerules (native-compile): Do not change working directory for
5468 build. Use $(OUTPUT_OPTION) in command.
5469 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5470
94e02fc4
AZ
54712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
5473 [BZ #13886]
5474 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5475 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5476 * math/libm-test.inc (floor_test): Add more tests.
5477 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5478
3a533ca3
JM
54792012-04-24 Joseph Myers <joseph@codesourcery.com>
5480
940ab4b3
JM
5481 * sysdeps/unix/getdents.c: Remove file.
5482 * sysdeps/unix/sysv/getdents.c: Likewise.
5483 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5484
90e037bd
JM
5485 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5486 sysdeps/unix/mman/syscalls.list.
5487 (mmap): Likewise.
5488 (mprotect): Likewise.
5489 (msync): Likewise.
5490 (munmap): Likewise.
5491 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5492 * sysdeps/unix/mman/syscalls.list: Remove.
5493 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5494
3a533ca3
JM
5495 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5496 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5497 * configure: Regenerated.
5498 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5499 $(libgcc_s_suffix).
5500 * config.make.in (libgcc_s_suffix): Remove variable.
5501
1ad743de
JM
55022012-04-23 Joseph Myers <joseph@codesourcery.com>
5503
4ad451e2
JM
5504 * sysdeps/unix/sysv/gethostname.c: Move to ...
5505 * sysdeps/posix/gethostname.c: ... here.
5506
5e37ce39
JM
5507 * sysdeps/unix/execve.S: Remove file.
5508
1ad743de
JM
5509 * sysdeps/unix/_exit.S: Remove file.
5510
4e681b5b
AJ
55112012-04-23 Andreas Jaeger <aj@suse.de>
5512
5513 [BZ #13739]
5514 * manual/Makefile: Remove make dist support, there's no
5515 need for a stand-alone documentation tar ball.
5516 (TEXI2DVI): Define always, it's not in Makeconfig.
5517 (dist): Removed.
5518 (tar-it): Removed.
5519 (edition): Removed.
5520 (glibc-doc-$(edition).tar): Removed
5521 (%.Z): Removed.
5522 (%.gz): Removed.
5523 (%.uu): Removed.
5524 (ETAGS): Remove, it's in Makeconfig.
5525 (move-if-change): Remove, it's in Makeconfig.
5526
c0baea34
PE
55272013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5528
5529 [BZ #13970]
5530 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5531 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5532 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5533 (strtod_l, strtof_l, strtold_l): Remove __wur.
5534 It is not necessarily an error to ignore strtol's return value.
5535 One can reliably look at the stored endptr to decide whether
5536 the number had valid syntax.
5537
7c0616fa
AJ
55382012-04-21 Andreas Jaeger <aj@suse.de>
5539
803cb6b7 5540 [BZ #13739]
7c0616fa
AJ
5541 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5542
b0fe253f
JM
55432012-04-21 Joseph Myers <joseph@codesourcery.com>
5544
5545 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5546 * sysdeps/unix/sysv/Versions: Remove file.
5547
8280f22d
MT
55482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5549
5550 [BZ #13927]
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5552
75ce411f 55532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5554
5555 [BZ #7064]
5556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5557 version from __vm86.
5558
097d59fa
JM
55592012-04-20 Joseph Myers <joseph@codesourcery.com>
5560
a90f3bcb
JM
5561 * sysdeps/unix/common/lxstat.c: Remove file.
5562 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5563
edc7ea78
JM
5564 * sysdeps/unix/sysv/Makefile: Remove file.
5565
cb78c221
JM
5566 * sysdeps/unix/sysv/direct.h: Remove file.
5567
efa6a45f
JM
5568 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5569 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5570 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5571 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5572 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5573 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5574 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5575
9c9f2d0c
JM
5576 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5577
4541c83b
JM
5578 * sysdeps/unix/xmknod.c: Remove file.
5579 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5580
f5d153a0
JM
5581 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5582
aa746595
JM
5583 * sysdeps/unix/sysv/i386/time.S: Remove file.
5584
cce5905e
JM
5585 * sysdeps/unix/fxstat.c: Remove file.
5586 * sysdeps/unix/xstat.c: Likewise.
5587 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5588
37fa3841
JM
5589 * sysdeps/unix/sysv/sigaction.c: Remove file.
5590
ff1962a3
JM
5591 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5592 (sysdep_headers): Remove variable.
5593 [termio.h not in sysdep_headers] (generated): Likewise.
5594 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5595 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5596 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5597 * sysdeps/unix/sysv/tcflow.c: Likewise.
5598 * sysdeps/unix/sysv/tcflush.c: Likewise.
5599 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5600 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5601 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5602 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5603 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5604
e7740d31
JM
5605 * sysdeps/unix/siglist.c: Remove file.
5606
ee06f18b
JM
5607 * sysdeps/unix/getppid.S: Remove file.
5608
097d59fa
JM
5609 * sysdeps/unix/mkdir.c: Remove file.
5610 * sysdeps/unix/rmdir.c: Likewise.
5611
ff3d51ec
AS
56122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5613
5614 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5615 ERR_MAX value.
5616 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5617 errlist-compat value.
5618
50f81fd7
DM
56192012-04-18 David S. Miller <davem@davemloft.net>
5620
5621 * sysdeps/generic/memcopy.h (reg_char): Delete.
5622 * debug/strcat_chk.c: Use char, not reg_char.
5623 * debug/strcpy_chk.c: Likewise.
5624 * debug/strncat_chk.c: Likewise.
5625 * debug/strncpy_chk.c: Likewise.
5626 * string/memchr.c: Likewise.
5627 * string/memrchr.c: Likewise.
5628 * string/rawmemchr.c: Likewise.
5629 * string/strcat.c: Likewise.
5630 * string/strchr.c: Likewise.
5631 * string/strchrnul.c: Likewise.
5632 * string/strcmp.c: Likewise.
5633 * string/strcpy.c: Likewise.
5634 * string/strncat.c: Likewise.
5635 * string/strncmp.c: Likewise.
5636 * string/strncpy.c: Likewise.
5637
8ff41c46
WS
56382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5639
5640 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5641 __builtin_memcopy is called when src and dest ranges are known to not
5642 overlap.
5643
6b652f46
WS
56442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5645
5646 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5647 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5648 fwd_align_merge macro call.
5649 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5650 bwd_align_merge macro call.
5651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5652
b282631e
WS
56532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5654
5655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5656 bwd_align_merge macros.
5657 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5658 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5659 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5660
95aa737c
DM
56612012-04-18 David S. Miller <davem@davemloft.net>
5662
5663 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5664
7a99a614
AJ
56652012-04-18 Andreas Jaeger <aj@suse.de>
5666
5667 [BZ# 6794]
5668 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5669 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5670 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5671
5672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5673 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5674 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5675
5676 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5677 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5678 Adjust for changed ldbl-128 files.
5679
5680 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5681 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5682 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5683
e5270c23
DM
56842012-04-17 David S. Miller <davem@davemloft.net>
5685
5686 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5687
fb5e92c9
AS
56882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5689
5690 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5691 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5692 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5693 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5695 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5696
76da7265
AZ
56972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698
5699 [BZ #6794]
5700 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5701 * math/libm-test.inc: Add ilogb errno and exception tests.
5702 * math/w_ilogb.c: New file: ilogb wrapper.
5703 * math/w_ilogbf.c: New file: ilogbf wrapper.
5704 * math/w_ilogbl.c: New file: ilogbl wrapper.
5705 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5706 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5707 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5708 exception being thrown with 0.0 as argument.
5709 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5710 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5711 exception being thrown with 0.0 as argument.
5712 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5713 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5714 exception being thrown with 0.0 as argument.
5715 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5716 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5717 exception being thrown with 0.0 as argument.
5718 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5719 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5720 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5721 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5722 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5723 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5724 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5725 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5726 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5727
0396e69d
PB
57282012-04-17 Petr Baudis <pasky@ucw.cz>
5729
5730 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5731 with altivec.
5732
750b5926
MP
57332012-04-16 Marek Polacek <polacek@redhat.com>
5734
5735 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5736
751728a1
MP
57372012-04-16 Marek Polacek <polacek@redhat.com>
5738
5739 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5740 operands of fdivp instruction.
5741
34a27407
L
57422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5743
5744 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5745 * elf/tst-auditmod3b.c: Likewise.
5746 * elf/tst-auditmod4b.c: Likewise.
5747 * elf/tst-auditmod5b.c: Likewise.
5748 * elf/tst-auditmod6b.c: Likewise.
5749 * elf/tst-auditmod6c.c: Likewise.
5750 * elf/tst-auditmod7b.c: Likewise.
5751 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5752 * sysdeps/x86_64/preconfigure.in: Likewise.
5753 * sysdeps/x86_64/preconfigure: Regenerated.
5754
7e73e17d
L
57552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5758 __ILP32__.
5759
c7a6ab72
AB
57602012-04-13 Antoine Balestrat <merkil33@gmail.com>
5761
5762 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5763 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5764
a9e8e0e0
CL
57652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5766
5767 [BZ #13973]
5768 * locale/iso-639.def: Fix gl language name. Spotted by
5769 Yaron Shahrabani.
5770
ec98af7d
RM
57712012-04-12 Roland McGrath <roland@hack.frob.com>
5772
5773 [BZ #2074]
5774 * libio/libio.h (__io_write_fn): Update comment.
5775
247c3ede
PB
57762012-04-12 Petr Baudis <pasky@ucw.cz>
5777
5778 [BZ #2074]
5779 * stdio.texi (Hook Functions): The user provided writer function
5780 is not allowed to return -1.
5781
55939d6d
DM
57822012-04-11 David S. Miller <davem@davemloft.net>
5783
5784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5785
90020f5a
MF
57862012-04-11 Mike Frysinger <vapier@gentoo.org>
5787
5788 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5789 Add a leading slash to rtkaio.
5790
288f9098
JM
57912012-04-11 Jim Meyering <meyering@redhat.com>
5792
90020f5a
MF
5793 [BZ #11959]
5794 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5795 It is not necessarily an error to ignore fwrite's return
5796 value. One can reliably use ferror to test for errors after
5797 the fact.
288f9098 5798
4be2b570
L
57992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5800
5801 * bits/types.h (__snseconds_t): New type.
5802 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5803
5804 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5806 (__SNSECONDS_T_TYPE): Likewise.
5807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5808 (__SNSECONDS_T_TYPE): Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5810 (__SNSECONDS_T_TYPE): Likewise.
5811
288f9098 58122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5813
5814 [BZ #2636]
5815 * manual/time.texi (Processor Time): Return type of times is
5816 elapsed real time since an arbitrary point in the past.
5817 (CPU Time): Move CLK_TCK from here...
5818 (Processor Time): ...to here. Correct description.
5819 * manual/conf.texi (Constants for Sysconf): Correct description of
5820 _SC_CLK_TCK.
5821
d7dd4413
DM
58222012-04-10 David S. Miller <davem@davemloft.net>
5823
5824 [BZ #13967]
5825 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5826 where the is a gap between DT_REL(A) and DT_JMPREL.
5827
b46068fc
L
58282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5831 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5832 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5833
73d65cc3
SP
58342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5835
5836 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5837 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5838 (dl_main): Handle --inhibit-cache.
5839 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5840 _dl_inhibit_cache.
5841 * elf/dl-load.c (_dl_map_object): Use it.
5842 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5843
bcc8d661
JM
58442012-04-09 Joseph Myers <joseph@codesourcery.com>
5845
8f9a2fae
JM
5846 [BZ #13872]
5847 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5848 (__ieee754_powl): Saturate large exponents rather than testing for
5849 overflow of y*log2(x).
5850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5851 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5852 exceptions.
5853
bcc8d661
JM
5854 [BZ #11521]
5855 * math/s_ctan.c: Include <float.h>.
5856 (__ctan): Avoid internal overflow or cancellation in calculating
5857 denominator.
5858 * math/s_ctanf.c: Likewise.
5859 * math/s_ctanl.c: Likewise.
5860 * math/s_ctanh.c: Likewise.
5861 * math/s_ctanhf.c: Likewise.
5862 * math/s_ctanhl.c: Likewise.
5863 * math/libm-test.inc (ctan_test): Add more tests.
5864 (ctanh_test): Likewise.
5865 * sysdeps/i386/fpu/libm-test-ulps: Update.
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867
823fbbb4
AJ
58682012-04-09 Andreas Jaeger <aj@suse.de>
5869
03879793
AJ
5870 [BZ #6894]
5871 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5872 is an optional BSD extension.
5873
823fbbb4
AJ
5874 [BZ #10254]
5875 * manual/stdio.texi (Opening Streams): Document additional fopen
5876 parameters.
5877
8de131cb
RM
58782012-04-09 Roland McGrath <roland@hack.frob.com>
5879
5880 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5881 %eax without telling the compiler.
5882
c0ed9d7d
CD
58832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5884
5885 [BZ # 13963]
5886 * manual/install.texi: Use sourceware.org.
5887
c483f6b4
JM
58882012-04-09 Joseph Myers <joseph@codesourcery.com>
5889
d7dd9453
JM
5890 [BZ #13873]
5891 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5892 (__ieee754_pow): Generate overflow and underflow using huge*huge
5893 and tiny*tiny rather than just returning constant infinity or zero
5894 for large exponents.
5895 * math/libm-test.inc (pow_test): Require overflow exceptions for
5896 applicable cases of large exponents.
5897
c483f6b4
JM
5898 [BZ #706]
5899 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5900 (__ieee754_pow): Use iterative multiplication algorithm only for
5901 integer exponents with absolute value below 1024. Check for odd
5902 integer exponents when using algorithm for real exponents.
5903 * math/libm-test.inc (pow_test): Add more tests.
5904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5905
d2de7579
JM
59062012-04-08 Joseph Myers <joseph@codesourcery.com>
5907
5908 [BZ #13705]
5909 * math/libm-test.inc (exp_test): Do not allow overflow exception
5910 on underflow test.
5911
f77f1232
AJ
59122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5913
5914 [BZ #13705]
5915 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5916 instead of __kernel_standard_f.
5917
3884932b
MF
59182012-04-08 Mike Frysinger <vapier@gentoo.org>
5919
5920 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5921 * sysdeps/x86_64/memset_chk.S: Likewise.
5922
54472e9c
AJ
59232012-04-08 Andreas Jaeger <aj@suse.de>
5924
6ab0fbfc
AJ
5925 [BZ #10153]
5926 * manual/startup.texi (Environment Access): Describe return value
5927 for putenv and setenv.
5928
61efba8c
AJ
5929 [BZ #6895]
5930 * manual/filesys.texi (Directory Entries): Add description for
5931 DT_LNK.
5932
95c3f29a
AJ
5933 [BZ #6890]
5934 * manual/filesys.texi (Directory Entries): Clarify that it's file
5935 system not operating system in the description of DT_UNKNOWN.
5936
54472e9c
AJ
5937 [BZ #6578]
5938 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5939
624254b1
SC
59402012-04-08 Stephen Compall <s11@member.fsf.org>
5941
5942 [BZ #6649]
5943 * manual/llio.texi (Opening and Closing Files): Add cross
5944 reference to explain mode argument.
5945
1e4920e0
MF
59462012-04-07 Mike Frysinger <vapier@gentoo.org>
5947
5948 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5949 * sysdeps/x86_64/memset_chk.S: Likewise.
5950
5ed848f3
DM
59512012-04-07 David S. Miller <davem@davemloft.net>
5952
5953 * elf/elf.h (R_SPARC_WDISP10): Define.
5954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5955 R_SPARC_SIZE32.
5956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5957 R_SPARC_SIZE64 and R_SPARC_H34.
5958
96154cd8
CD
59592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5960
5961 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5962 conditions and remove no longer applicable assertion.
5963
9904dc47
L
59642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5965
5966 * bits/byteswap.h: Include <features.h>.
5967 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5968 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5969
f8887d0a
L
59702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5971
5972 * bits/byteswap.h (__bswap_16): Removed.
5973 Include <bits/byteswap-16.h> to get __bswap_16.
5974 * sysdeps/i386/bits/byteswap.h: Likewise.
5975 * sysdeps/s390/bits/byteswap.h: Likewise.
5976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5977 * bits/byteswap-16.h: New file.
5978 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5979 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5980 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5981 * string/Makefile (headers): Add bits/byteswap-16.h.
5982
62470f60
PP
59832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5984
5985 [BZ #13895]
5986 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5987 extra indirection.
5988 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5989 * nss/tst-nss-static.c: New.
5990
4dad7bab
RM
59912012-04-06 Robert Millan <rmh@gnu.org>
5992
5993 [BZ #6486]
5994 * manual/llio.texi (File Position Primitive): lseek
5995 refers to WHENCE when it really means OFFSET.
5996
e9142a17
AJ
59972012-04-06 Andreas Jaeger <aj@suse.de>
5998
2c040eff
AJ
5999 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6000 strncmp declarations.
6001
e9142a17
AJ
6002 * abilist/libc.abilist: Add __poll and __ppoll.
6003
ff9f1c5f
DM
60042012-04-05 David S. Miller <davem@davemloft.net>
6005
dcd2ae90
DM
6006 * scripts/check-local-headers.sh: Accept a host triplet in the
6007 path matched by the exclude regexp.
6008
993eb054
DM
6009 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6010 definition.
6011 * sysdeps/powerpc/powerpc32/dl-machine.h
6012 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6013 * sysdeps/s390/s390-32/dl-machine.h
6014 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6015 * sysdeps/sparc/sparc32/dl-machine.h
6016 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6017 * sysdeps/sparc/sparc64/dl-machine.h
6018 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6019
ff9f1c5f
DM
6020 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6021 lazy binding.
48e2e132 6022 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6023 undefined symbol errors.
6024
48e2e132 6025 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6026 DT_NEEDED entries.
6027
e80d6f94
MM
60282012-04-05 Michael Matz <matz@suse.de>
6029
6030 [BZ #13592]
6031 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6032
349fa79f
AJ
60332012-04-05 Andreas Jaeger <aj@suse.de>
6034
6035 [BZ #13908]
6036 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6037 comment.
6038
f402708f
KK
60392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6040
6041 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6042 which ROUND is no valid rounding mode.
6043
2ecccfc9
KK
60442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6045
6046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6047 read again.
6048 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6049
8a53f50f
KK
60502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6051
6052 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6053 an exception using FPU order intentionally.
6054
60552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6056
6057 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6058 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6059 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6060 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6061
d653abb7
SJ
60622012-04-05 Simon Josefsson <simon@josefsson.org>
6063
6064 [BZ #12340]
6065 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6066 EINVAL when BUFLEN is too smal.
6067
c3b1bf7d
TS
60682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6069
6070 [BZ #13553]
6071 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6072 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6073
b1aa60f3
AJ
60742012-04-03 Andreas Jaeger <aj@suse.de>
6075
c3b1bf7d 6076 [BZ #13938]
67f60a26
AJ
6077 * manual/setjmp.texi (System V contexts): Fix sentence.
6078
b1aa60f3
AJ
6079 [BZ #13926]
6080 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6081 New macro for this case.
6082 [!__GNUC__] (__bswap_64): New inline function for this case.
6083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6084 * bits/byteswap.h: Likewise.
6085 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6086 ull, guard with __GLIBC_HAVE_LONG_LONG.
6087
6088 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6089 __GLIBC_HAVE_LONG_LONG.
6090
6091 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6092 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6093
39c59c35
TMQMF
60942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6095
6096 [BZ #13691]
6097 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6098 inptr and inend, rather than using last_ch.
6099
135ffda8
DM
61002012-04-02 David S. Miller <davem@davemloft.net>
6101
6102 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6103 * stdio-common/printf-parse.h (read_int): Change return type to
6104 'int', return -1 on INT_MAX overflow.
6105 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6106 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6107 overflows INT_MAX. Check for overflow of in-format-string precision
6108 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6109 SIZE_MAX not INT_MAX for integer overflow test.
6110 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6111 skip the construct in the format string but do not record anything.
6112 * stdio-common/bug22.c: Adjust to test both width/prevision
6113 INT_MAX overflow as well as total length INT_MAX overflow. Check
6114 explicitly for proper errno values.
6115
228c019e
TS
61162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6117
302cadd3
TS
6118 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6119 CHAR_MAX.
6120 * string/test-strcmp.c [! WIDE]: Likewise.
6121 * time/tst-mktime2.c: Likewise for INT_MAX.
6122 * string/test-string.h: #include <sys/param.h> for MIN.
6123
228c019e
TS
6124 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6125 * sysdeps/i386/init-first.c (init): Likewise.
6126 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6127 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6128 * sysdeps/sh/init-first.c (init): Likewise.
6129
cfa633f5
UD
61302012-04-01 Ulrich Drepper <drepper@gmail.com>
6131
6132 * po/ru.po: Update from translation team.
d1635ef8 6133 * po/vi.po: Likewise.
cfa633f5 6134
6cd0a5ea
SP
61352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6136
6137 * resolv/nss_dns/dns-host.c: Merge copyright years.
6138
4b43400f
LD
61392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6140
6141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6142 Optimize memcpy with prefetch if
6143 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6144 src, dst pointers have unequal 16 byte alignments.
6145
48c41d04
SP
61462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6147
6148 [BZ #13928]
6149 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6150 from a CNAME entry and return the minimum ttl for the query.
6151 (gaih_getanswer_slice): Likewise.
6152
b8dc394d
JL
61532012-03-30 Jeff Law <law@redhat.com>
6154
6155 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6156 due to long keys.
6157 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6158 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6159
2f5a5ed0
JL
6160 * resolv/nss_dns/dns-host.c: Update copyright year.
6161
1d39e359
UD
61622012-03-30 Ulrich Drepper <drepper@gmail.com>
6163
c030f70c 6164 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6165 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6166
1d39e359
UD
6167 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6168 comments for sendmmsg.
6169
61702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6171
6172 [BZ #13691]
6173 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6174 with only 1 character between 0x0041 and 0x01b0.
6175 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6176 * wcsmbs/tst-mbsnrtowcs.c: New file.
6177
20fde227
DM
61782012-03-29 David S. Miller <davem@davemloft.net>
6179
6180 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6181 small copies by hand.
6182
984a4237
JL
61832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6184
6185 [BZ #13761]
6186 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6187 _nss_compat_initgroups_dyn): Fall back to malloc/free
6188 for large group memberships.
6189
18c9d62b
DM
61902012-03-28 David S. Miller <davem@davemloft.net>
6191
88d85d4f
DM
6192 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6193 that branches into memcpy.
6194 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6197 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6199 bits.
6200 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6201 implementation too.
6202 * sysdeps/sparc/mempcpy.S: New file.
6203
e5aa83e1
DM
6204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6205 the IFUNC routine in the libc case.
6206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6207
88570753
DM
6208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6209 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6210 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6211 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6212 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6213 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6214 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6215 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6216
249d7567
DM
6217 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6218 loop to 256 bytes instead of 64 bytes and fix test signedness.
6219
18c9d62b
DM
6220 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6221 * sysdeps/sparc/sparc32/Makefile: rather than here...
6222 * sysdeps/sparc/sparc64/Makefile: and here.
6223
05f3d1f6
UD
62242012-03-28 Ulrich Drepper <drepper@gmail.com>
6225
6226 * malloc/mallocbug.c: Avoid warnings about unused variables.
6227
86ae07a8
JL
62282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6229
6230 [BZ #13760]
6231 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6232 in the right place. Discard and retry query if response is
6233 larger than input buffer size.
6234
41bf21a1
JM
62352012-03-28 Joseph Myers <joseph@codesourcery.com>
6236
d6270972
JM
6237 [BZ #369]
6238 [BZ #2678]
6239 [BZ #3866]
6240 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6241 x for large integer exponent.
6242 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6243 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6244 sign of result as needed afterwards.
6245 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6246 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6247 result for underflowing pow the same as for overflow.
6248 (__kernel_standard_l): Handle powl overflow and underflow here
6249 rather than calling __kernel_standard.
6250 * math/libm-test.inc (pow_test): Add more tests.
6251
414fca03 6252 [BZ #3868]
41bf21a1
JM
6253 [BZ #13879]
6254 [BZ #13910]
6255 [BZ #13911]
6256 [BZ #13912]
6257 [BZ #13913]
6258 [BZ #13915]
6259 [BZ #13916]
6260 [BZ #13917]
6261 [BZ #13918]
6262 [BZ #13919]
6263 [BZ #13920]
6264 [BZ #13921]
6265 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6266 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6267 (__kernel_standard_l): New function.
6268 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6269 __kernel_standard.
6270 * math/w_acosl.c (__acosl): Likewise.
6271 * math/w_asinl.c (__asinl): Likewise.
6272 * math/w_atan2l.c (__atan2l): Likewise.
6273 * math/w_atanhl.c (__atanhl): Likewise.
6274 * math/w_coshl.c (__coshl): Likewise.
6275 * math/w_exp10l.c (__exp10l): Likewise.
6276 * math/w_exp2l.c (__exp2l): Likewise.
6277 * math/w_fmodl.c (__fmodl): Likewise.
6278 * math/w_hypotl.c (__hypotl): Likewise.
6279 * math/w_j0l.c (__j0l, __y0l): Likewise.
6280 * math/w_j1l.c (__j1l, __y1l): Likewise.
6281 * math/w_jnl.c (__jnl, __ynl): Likewise.
6282 * math/w_lgammal.c (__lgammal): Likewise.
6283 * math/w_log10l.c (__log10l): Likewise.
6284 * math/w_log2l.c (__log2l): Likewise.
6285 * math/w_logl.c (__logl): Likewise.
6286 * math/w_powl.c (__powl): Likewise.
6287 * math/w_remainderl.c (__remainderl): Likewise.
6288 * math/w_scalbl.c (sysv_scalbl): Likewise.
6289 * math/w_sinhl.c (__sinhl): Likewise.
6290 * math/w_sqrtl.c (__sqrtl): Likewise.
6291 * math/w_tgammal.c (__tgammal): Likewise.
6292 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6293 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6294 * math/libm-test.inc (acos_test): Add more tests.
6295 (acosh_test): Likewise.
6296 (asin_test): Likewise.
6297 (atanh_test): Likewise.
6298 (exp_test): Likewise.
6299 (exp10_test): Likewise.
6300 (exp2_test): Likewise.
6301 (expm1_test): Likewise.
6302 (lgamma_test): Likewise.
6303 (log_test): Likewise.
6304 (log10_test): Likewise.
6305 (log1p_test): Likewise.
6306 (log2_test): Likewise.
6307 (pow_test): Do not allow some spurious overflow exceptions.
6308 (sqrt_test): Add more tests.
6309 (tgamma_test): Likewise.
6310 (y0_test): Likewise.
6311 (y1_test): Likewise.
6312 (yn_test): Likewise.
6313
dd62fda6
AB
63142012-03-27 Anton Blanchard <anton@samba.org>
6315
6316 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6317 MAP_HUGETLB.
6318 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6321
1e3cdfda
AJ
63222012-03-27 David S. Miller <davem@davemloft.net>
6323
b855ab85
DM
6324 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6325
1e3cdfda
AJ
6326 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6327 have-as-vis3 check.
6328
63292012-03-27 Andreas Jaeger <aj@suse.de>
6330
6331 * sysdeps/x86_64/elf/configure.in: Moved to ...
6332 * sysdeps/x86_64/configure.in: ... here.
6333 * sysdeps/x86_64/elf/start.S: Moved to ...
6334 * sysdeps/x86_64/start.S: ... here.
6335 * sysdeps/x86_64/elf/configure: Delete.
6336
6337 * sysdeps/x86_64/configure.in: Merge contents from
6338 sysdeps/i386/configure.in (without i686 check).
6339
6340 * sysdeps/i386/elf/Versions: Merge into ...
6341 * sysdeps/i386/Versions: ... this.
6342 * sysdeps/i386/elf/Versions: Delete file.
6343 * sysdeps/i386/elf/start.S: Moved to ...
6344 * sysdeps/i386/start.S: ...here.
6345 * sysdeps/i386/elf/configure.in: Merge into...
6346 * sysdeps/i386/configure.in: ...here.
6347 * sysdeps/i386/elf/configure.in: Delete file.
6348 * sysdeps/i386/elf/configure: Delete file.
6349
6350 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6351 * debug/backtracesyms.c: ... here.
6352 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6353 * debug/backtracesymsfd.c: ... here.
6354 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6355 * sysdeps/generic/ifunc-sel.h: ... here.
6356
6357 * sysdeps/unix/i386/start.c: Delete file.
6358 * sysdeps/unix/sparc/start.c: Delete file.
6359 * sysdeps/unix/start.c: Delete file.
6360
6361 * sysdeps/sh/elf/configure.in: Moved to ...
6362 * sysdeps/sh/configure.in: ... here.
6363 * sysdeps/sh/elf/start.S: Moved to ...
6364 * sysdeps/sh/start.S: ... here.
6365 * sysdeps/sh/elf/configure: Delete file.
6366
6367 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6368 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6369 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6370 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6371 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6372 * sysdeps/powerpc/powerpc64/start.S: here.
6373 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6374 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6375 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6376 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6377 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6378
6379 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6380 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6381 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6382 * sysdeps/powerpc/powerpc32/start.S: ... here.
6383 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6384 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6385 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6386
6387 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6388 * sysdeps/powerpc/ifunc-sel.h: ... here.
6389 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6390 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6391
6392 * sysdeps/sparc/elf/configure.in: Moved to ...
6393 * sysdeps/sparc/configure.in: ... here.
6394 * sysdeps/sparc/elf/configure: Delete file.
6395 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6396 * sysdeps/sparc/sparc32/start.S: ... here.
6397 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6398 * sysdeps/sparc/sparc64/start.S: ... here.
6399 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6400 * sysdeps/sparc/sparc32/Makefile: ... this.
6401 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6402 * sysdeps/sparc/sparc64/Makefile: ... this.
6403
6404 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6405 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6406 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6407 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6408 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6409 * sysdeps/s390/s390-32/setjmp.S: ... here.
6410 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6411 * sysdeps/s390/s390-32/configure.in: ... here.
6412 * sysdeps/s390/s390-32/elf/configure: Delete file.
6413 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6414 * sysdeps/s390/s390-32/start.S: ... here.
6415
6416 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6417 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6418 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6419 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6420 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6421 * sysdeps/s390/s390-64/setjmp.S: ... here.
6422 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6423 * sysdeps/s390/s390-64/configure.in: ... here
6424 * sysdeps/s390/s390-64/elf/configure: Delete file.
6425 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6426 * sysdeps/s390/s390-64/start.S: ... here.
6427 * sysdeps/s390/s390-64/elf/configure: Delete.
6428
6429 * configure.in: Remove support for elf directories in sysdeps.
6430
6431 * configure: Regenerated.
6432 * sysdeps/i386/configure: Regenerated.
6433 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6434 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6435 * sysdeps/s390/s390-32/configure: Regenerated.
6436 * sysdeps/s390/s390-64/configure: Regenerated.
6437 * sysdeps/sh/configure: Regenerated.
6438 * sysdeps/sparc/configure: Regenerated.
6439 * sysdeps/x86_64/configure: Regenerated.
6440
a3f61311
AS
64412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6442
c876e002
AS
6443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6444
a3f61311
AS
6445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6446 denormal result into account.
6447
ac4c54f0
RM
64482012-03-25 Roland McGrath <roland@hack.frob.com>
6449
6450 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6451 Reported by Allan McRae <allan@archlinux.org>.
6452
6a9b9c02
JL
64532012-03-23 Jeff Law <law@redhat.com>
6454
6455 * nss/getnssent.c (__nss_getent): Fix typo.
6456
4c42a0c1
DM
64572012-03-23 David S. Miller <davem@davemloft.net>
6458
6459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6460
1532c7ac
L
64612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6462
6463 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6464 to pad to uint64_t for each field.
6465 (dl_tls_index): Replace unsigned long with uint64_t.
6466
3ff42526
PP
64672012-03-23 Daniel Jacobowitz <dmj@google.com>
6468 Paul Pluzhnikov <ppluzhnikov@google.com>
6469
6470 [BZ #6528]
6471 * grp/Makefile (otherlibs): Don't set it.
6472 * inet/Makefile (otherlibs): Likewise.
6473 * login/Makefile (otherlibs): Likewise.
6474 * nscd/Makefile (otherlibs): Likewise.
6475 * posix/Makefile (otherlibs): Likewise.
6476 * pwd/Makefile (otherlibs): Likewise.
6477 * rt/Makefile (otherlibs): Likewise.
6478 * sunrpc/Makefile (otherlibs): Likewise.
6479 * nss/Makefile (otherlibs): Likewise.
6480 Add libnss_files to routines and static-only-routines.
6481 ($(objpfx)getent): Remove rule.
6482 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6483 static-only-routines.
6484
7c69cd14
JM
64852012-03-22 Joseph Myers <joseph@codesourcery.com>
6486
6487 [BZ #13892]
6488 * math/s_cexp.c: Include <float.h>.
6489 (__cexp): Handle exp result overflowing not necessarily
6490 overflowing both real and imaginary parts of result.
6491 * math/s_cexpf.c: Likewise.
6492 * math/s_cexpl.c: Likewise.
6493 * math/libm-test.inc (cexp_test): Add more tests.
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6496
81b035fe
L
64972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 * include/link.h (ELFW): New macro.
6500 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6501 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6502
1da7940c
L
65032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6506 with uint64_t.
6507
b749dbb9
L
65082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6509
6510 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6511 declaration.
6512 (struct La_x32_retval): Likewise.
6513
2ff87f3f
L
65142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6515
6516 * sysdeps/x86_64/preconfigure.in: New file.
6517 * sysdeps/x86_64/preconfigure: New generated file.
6518
c0df8e69
JM
65192012-03-22 Joseph Myers <joseph@codesourcery.com>
6520
48e44791
JM
6521 [BZ #13824]
6522 * math/e_exp2l.c: Include <float.h>.
6523 (__ieee754_exp2l): Handle overflow and underflow cases
6524 separately. Only pass fractional part of argument to
6525 __ieee754_expl.
6526 * math/libm-test.inc (exp2_test): Add more tests.
6527
c0df8e69
JM
6528 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6529 negating x to take absolute value.
6530 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6531 Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6534 Likewise.
6535 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6536 computing low part if x was negated.
6537 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6538
c8e43ba7
L
65392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6542 la_x32_gnu_pltexit.
6543 (pltexit): Cast int_retval to ptrdiff_t.
6544 * elf/tst-auditmod3b.c: Likewise.
6545 * elf/tst-auditmod4b.c: Likewise.
6546 * elf/tst-auditmod5b.c: Likewise.
6547 * elf/tst-auditmod6b.c: Likewise.
6548 * elf/tst-auditmod6c.c: Likewise.
6549 * elf/tst-auditmod7b.c: Likewise.
6550
6551 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6552 and x32_gnu_pltexit.
6553
6554 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6555 __ELF_NATIVE_CLASS.
6556 (La_x32_regs): New macro.
6557 (La_x32_retval): Likewise.
6558 (la_x32_gnu_pltenter): New function prototype.
6559 (la_x32_gnu_pltexit): Likewise.
6560
7998fa78
AS
65612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6562
dcb33988
AS
6563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6564 exponent.
6565
233fc563
AS
6566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6567
7998fa78
AS
6568 * configure.in (libc_cv_cc_nofma): Check for option to disable
6569 generation of FMA instructions.
6570 * configure: Regenerate.
6571 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6572 * sysdeps/ieee754/dbl-64/Makefile: New file.
6573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6574 Remove brandred-fma4.
6575 (CFLAGS-brandred-fma4.c): Remove.
6576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6578 define.
6579 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6580 define.
6581
8e95c99a
L
65822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6585 LLONG_MAX != LONG_MAX.
6586 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6587 (_fitoa_word): Likewise.
6588 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6589 LLONG_MAX != LONG_MAX.
6590 * stdio-common/_itowa.h: Include <_itoa.h>.
6591 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6592 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6593 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6594 only if not defined.
6595 (_ITOA_WORD_TYPE): Likewise.
6596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6597 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6598
6f4db457
DM
65992012-03-21 David S. Miller <davem@davemloft.net>
6600
6601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6602
7785fe5a
L
66032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6604
6605 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6606 of x86_64 when setting libc_cv_slibdir, libdir and
6607 libc_cv_localedir.
6608 * sysdeps/unix/sysv/linux/configure: Regenerated.
6609
4535cd55
JM
66102012-03-21 Joseph Myers <joseph@codesourcery.com>
6611
6612 * manual/lang.texi (Old Varargs): Remove section.
6613 (How Variadic): Update menu.
6614 (va_start): Do not mention varargs.h.
6615
17228132
TS
66162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6617 Joseph Myers <joseph@codesourcery.com>
6618
6619 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6620 link test.
6621 * configure: Regenerated.
6622
8149f976
TS
66232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6624
05f3d1f6
UD
6625 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6626 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6627 conformtest.pl
8149f976 6628
1a4ac776
JM
66292012-03-21 Joseph Myers <joseph@codesourcery.com>
6630
be22ce65
JM
6631 * NOTES: Remove.
6632 * Makefile (files-for-dist): Remove NOTES.
6633 (NOTES): Remove rule.
6634 * README: Don't refer to NOTES.
6635 * manual/creature.texi: Don't include macros.texi.
6636 * manual/intro.texi (creature.texi): Remove comment referring to
6637 NOTES.
6638
40b601fb
JM
6639 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6640 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6641 * configure: Regenerated.
6642 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6643 LIBC_TRY_CC_OPTION.
6644 (libc_cv_as_i686): Likewise.
6645 (libc_cv_cc_avx): Likewise.
6646 (libc_cv_cc_sse2avx): Likewise.
6647 (libc_cv_cc_fma4): Likewise.
6648 (libc_cv_cc_novzeroupper): Likewise.
6649 * sysdeps/i386/configure: Regenerated.
6650
1a4ac776
JM
6651 [BZ #13883]
6652 * sysdeps/i386/fpu/s_cexp.S: Remove.
6653 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6655 * math/libm-test.inc (cexp_test): Add more tests.
6656 * sysdeps/i386/fpu/libm-test-ulps: Update.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6658
a458e7fe
AM
66592012-03-21 Allan McRae <allan@archlinux.org>
6660
6661 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6662
0cb7efc5
JM
66632012-03-21 Joseph Myers <joseph@codesourcery.com>
6664
6665 [BZ #13871]
6666 * math/w_exp2.c: Do not include <float.h>.
6667 (o_threshold, u_threshold): Remove.
6668 (__exp2): Calculate result before checking finiteness and calling
6669 __kernel_standard.
6670 * math/w_exp2f.c: Likewise.
6671 * math/w_exp2l.c: Likewise.
6672 * math/libm-test.inc (exp2_test): Require overflow exception for
6673 1e6 input.
2460d3aa
JM
6674
6675 [BZ #3866]
6676 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6677 range of signed 64-bit integers before using fistpll. Remove
6678 checks for whether integers fit in mantissa bits.
6679 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6680 the range of signed 32-bit integers before using fistpl. Remove
6681 checks for whether integers fit in mantissa bits.
6682 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6683 (__ieee754_powl): Test for y outside the range of signed 64-bit
6684 integers before using fistpll. Reduce 64-bit values to 63-bit
6685 ones as needed.
6686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6687 divide-by-zero is raised for zero to large negative powers.
6688 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6689 (__ieee754_powl): Test for y outside the range of signed 64-bit
6690 integers before using fistpll. Reduce 64-bit values to 63-bit
6691 ones as needed.
6692 * math/libm-test.inc (pow_test): Add more tests.
6693
eb96ffb0
L
66942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6695
6696 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6697 <stdio-common/_itoa.h>.
6698 * debug/segfault.c: Likewise.
6699 * elf/dl-cache.c: Likewise.
6700 * elf/dl-minimal.c: Likewise.
6701 * elf/dl-misc.c: Likewise.
6702 * elf/dl-sysdep.c: Likewise.
6703 * elf/dl-version.c: Likewise.
6704 * elf/rtld.c: Likewise.
6705 * hurd/hurdsock.c: Likewise.
6706 * hurd/lookup-retry.c: Likewise.
6707 * malloc/malloc.c: Likewise.
6708 * malloc/mtrace.c: Likewise.
6709 * nscd/nscd_getgr_r.c: Likewise.
6710 * nscd/nscd_getpw_r.c: Likewise.
6711 * nscd/nscd_getserv_r.c: Likewise.
6712 * posix/getopt_init.c: Likewise.
6713 * posix/wordexp.c: Likewise.
6714 * stdio-common/_itoa.c: Likewise.
6715 * stdio-common/printf_fphex.c: Likewise.
6716 * stdio-common/vfprintf.c: Likewise.
6717 * string/_strerror.c: Likewise.
6718 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6719 * sysdeps/i386/i686/hp-timing.h: Likewise.
6720 * sysdeps/mach/_strerror.c: Likewise.
6721 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6722 * sysdeps/mach/hurd/sethostid.c: Likewise.
6723 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6724 * sysdeps/mach/xpg-strerror.c: Likewise.
6725 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6727 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6728 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6729 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6730 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6731 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6732 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6733 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6734 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6735 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6736 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6737 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6738 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6739 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6740 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6742 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6743 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6744 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6745 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6746
6747 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6748
6749 * stdio-common/_itoa.h: Moved to ...
6750 * sysdeps/generic/_itoa.h: Here.
6751
6752 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6753
6754 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6755 instead of "_itoa.h" and "_itowa.h".
6756 * stdio-common/vfprintf.: Likewise.
6757
d1af992d
L
67582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6759
6760 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6761 <bits/wordsize.h>.
6762 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6763 (__signbit): Likwise.
6764 (llrintf): Likwise.
6765 (llrint): Likwise.
6766
114883e0
L
67672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6768
6769 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6770 __WORDSIZE != 64.
6771
c135cc1b
JM
67722012-03-20 Joseph Myers <joseph@codesourcery.com>
6773
6774 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6775 OVERFLOW_EXCEPTION_OK.
6776 * math/libm-test.inc ("Philosophy"): Update comment about
6777 exception testing.
6778 (OVERFLOW_EXCEPTION): Define.
6779 (OVERFLOW_EXCEPTION_OK): Likewise.
6780 (INVALID_EXCEPTION_OK): Renumber.
6781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6782 (IGNORE_ZERO_INF_SIGN): Likewise.
6783 (test_exceptions): Handle FE_OVERFLOW.
6784 (exp10_test): Expect overflow exceptions.
6785 (exp2_test): Likewise.
6786 (expm1_test): Likewise.
6787 (nextafter_test): Likewise.
6788 (pow_test): Likewise.
6789 (scalbn_test): Likewise.
6790 (scalbln_test): Likewise.
6791
95443d88
L
67922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 * sysdeps/x86_64/bits/atomic.h
6795 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6796 64bit integer.
6797 (atomic_exchange_acq): Likewise.
6798 (__arch_exchange_and_add_body): Likewise.
6799 (__arch_add_body): Likewise.
6800 (atomic_add_negative): Likewise.
6801 (atomic_add_zero): Likewise.
6802
490df6c4
L
68032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6804
c2722551 6805 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6806 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6807
5e52b189
L
68082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6809
6810 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6811 Check __x86_64__ instead of __WORDSIZE.
6812
a9879d4c
L
68132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6814
6815 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6816
5df98260
DM
68172012-03-19 David S. Miller <davem@davemloft.net>
6818
e1497744
DM
6819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6820
5df98260
DM
6821 * sysdeps/sparc/fpu/fenv_private.h: New file.
6822 * sysdeps/sparc/fpu/math_private.h: Use it.
6823 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6824 Remove.
6825 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6826 (libc_feholdexcept_setroundl): Remove.
6827 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6828 Remove.
6829 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6830 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6831
b4c35121
L
68322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6835 int64_t instead of long int.
6836 (INSERT_WORDS64): Likwise.
6837
56965fd7
L
68382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6839
6840 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6841 _Unwind_GetCFA return to _Unwind_Ptr first.
6842
83d1aec8
JM
68432012-03-19 Joseph Myers <joseph@codesourcery.com>
6844
1897ad44
JM
6845 [BZ #13629]
6846 * math/s_clog.c: Include <float.h>.
6847 (__clog): Scale large or subnormal inputs.
6848 * math/s_clogf.c: Likewise.
6849 * math/s_clogl.c: Likewise.
6850 * math/s_clog10.c: Include <float.h>.
6851 (M_LOG10_2): Define.
6852 (__clog10): Scale large or subnormal inputs.
6853 * math/s_clog10f.c: Likewise.
6854 * math/s_clog10l.c: Likewise.
6855 * math/libm-test.inc (clog_test): Add more tests.
6856 (clog10_test): Likewise.
6857 * sysdeps/i386/fpu/libm-test-ulps: Update.
6858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6859
7726d6a9
JM
6860 [BZ #11451]
6861 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6862 x and y.
6863 * math/libm-test.inc (atan2_test): Add another test.
6864
83d1aec8
JM
6865 * Makerules (common-objdir-compile): Remove.
6866 * sysdeps/unix/Makefile (config-generated): Do not add
6867 $(unix-generated) to variable.
6868 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6869 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6870 Remove rule.
6871 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6872 Likewise.
6873 [generic bits/local_lim.h] (before-compile): Do not append to
6874 variable.
6875 [generic bits/local_lim.h] (common-generated): Likewise.
6876 [generic sys/param.h] (before-compile): Do not append to variable.
6877 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6878 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6880 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6881 include.
6882 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6883 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6884 [generic sys/param.h] ($(addprefix
6885 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6886 [generic sys/param.h] (common-generated): Do not append to
6887 variable.
6888 [generic sys/param.h] (sysdep_headers): Likewise.
6889 [generic bits/errno.h] (before-compile): Do not append to
6890 variable.
6891 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6892 rule.
6893 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6894 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6895 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6896 [generic bits/errno.h] (common-generated): Do not append to
6897 variable.
6898 [generic bits/ioctls.h] (before-compile): Do not append to
6899 variable.
6900 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6901 rule.
6902 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6903 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6904 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6905 rule.
6906 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6907 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6908 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6909 [generic bits/ioctls.h] (common-generated): Do not append to
6910 variable.
6911 [generic sys/syscall.h] (syscall.h): Remove variable.
6912 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6913 rule.
6914 [generic sys/syscall.h] (before-compile): Do not append to
6915 variable.
6916 [generic sys/syscall.h] (common-generated): Likewise.
6917 * sysdeps/unix/errnos-tmpl.c: Remove file.
6918 * sysdeps/unix/errnos.awk: Likewise.
6919 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6920 * sysdeps/unix/ioctls.awk: Likewise.
6921 * sysdeps/unix/mk-local_lim.c: Likewise.
6922 * sysdeps/unix/snarf-ioctls: Likewise.
6923
4851a949
RH
69242012-03-19 Richard Henderson <rth@twiddle.net>
6925
bd37f2ee
RH
6926 * sysdeps/i386/fpu/fenv_private.h: New file.
6927 * sysdeps/i386/fpu/math_private.h: Use it.
6928 (math_opt_barrier, math_force_eval): Remove.
6929 (libc_feholdexcept_setround_53bit): Remove.
6930 (libc_feupdateenv_53bit): Remove.
6931 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6932 (math_opt_barrier, math_force_eval): Remove.
6933 (libc_feholdexcept): Remove.
6934 (libc_feholdexcept_setround): Remove.
6935 (libc_fetestexcept, libc_fesetenv): Remove.
6936 (libc_feupdateenv_test): Remove.
6937 (libc_feupdateenv, libc_feholdsetround): Remove.
6938 (libc_feresetround): Remove.
6939
d0adc922
RH
6940 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6941 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6942
0fe0f1f8
RH
6943 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6944 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6945 (libc_feupdateenv_testl): New.
6946 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6947 (libc_feupdateenv_testf): New.
6948 (libc_feupdateenv): Use libc_feupdateenv_test.
6949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6951
eb92c487
RH
6952 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6953 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6954 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6955 (libc_feresetround_noex): New.
6956 (libc_feresetround_noexf): New.
6957 (libc_feresetround_noexl): New.
6958 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6959 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6960 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6961 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6962 SET_RESTORE_ROUND.
6963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6965 (__cos): Likewise.
6966 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6968 SET_RESTORE_ROUND_NOEX.
6969 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6970 SET_RESTORE_ROUND_NOEXF.
6971 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6972 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6973 (libc_feholdsetroundf): New.
6974 (libc_feresetround, libc_feresetroundf): New.
6975
7d2e8012
RH
6976 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6977 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6978 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6979
b4dabbb4
RH
6980 * sysdeps/generic/math_private.h: Include <fenv.h>.
6981 (default_libc_feholdexcept): New.
6982 (default_libc_feholdexcept_setround): New.
6983 (default_libc_fesetenv, default_libc_feupdateenv): New.
6984 (libc_feholdexcept): Only define if undefined.
6985 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6986 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6987 (libc_feholdexcept_setroundl): Likewise.
6988 (libc_feholdexcept_setround_53bit): Likewise.
6989 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6990 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6991 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6992 (libc_feupdateenv_53bit): Likewise.
6993 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6994 (libc_feholdexcept): Convert from macro to inline function.
6995 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6996 (libc_fesetenv, libc_feupdateenv): Likewise.
6997
4851a949
RH
6998 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6999 not previously defined.
7000 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7001 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7002 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7003 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7004 * sysdeps/ieee754/flt-32/math_private.h: New file.
7005 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7006 math_private.h below SET_FLOAT_WORD.
7007 (__isnan, __isinf_ns, __finite): Remove.
7008 (__isnanf, __isinf_nsf, __finitef): Remove.
7009
e79d442e
AS
70102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7011
7012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7013
90b80344
DM
70142012-03-17 David S. Miller <davem@davemloft.net>
7015
7016 [BZ #6471]
7017 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7018 for 2.16.
7019
edc21804
DM
70202012-03-16 David S. Miller <davem@davemloft.net>
7021
77e927af
DM
7022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7023 warnings.
7024
374976dd
DM
7025 [BZ #6471]
7026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7027 properly.
7028 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7029 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7030 sysdep_routines when subdir is sysvipc.
7031 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7032 __getshmlba helper.
7033
edc21804
DM
7034 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7035
473c3ef3
L
70362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7037
7038 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7039 [__LP64__].
7040
eb0f39b6
L
70412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7042
7043 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7044 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7045 (__lround): Renamed to ...
7046 (__llround): This. Replace long int with long long int.
7047 Define lround functions as aliases of llround functions.
7048 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7049
6b6cd74b
L
70502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7051
7052 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7053 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7054 adresses to uintptr_t. Replace "long int" and "unsigned long
7055 int" with "greg_t" on va_arg.
7056
f1a77b01
L
70572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7058
7059 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7060 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7061
7062 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7063 Move e_machine check before EI_CLASS check. Handle x32
7064 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7065 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7066 SKIP_EM_IA_64 and include
7067 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7068
7069 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7070 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7071 (add_system_dir): New macro.
7072
7073 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7074 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7075
11b90b9f
JM
70762012-03-16 Joseph Myers <joseph@codesourcery.com>
7077
c36e1d23
JM
7078 [BZ #2551]
7079 [BZ #2552]
7080 [BZ #2553]
7081 [BZ #2554]
7082 [BZ #2562]
7083 [BZ #2563]
7084 [BZ #2565]
7085 [BZ #2566]
7086 [BZ #2576]
7087 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7088 (y0): Likewise.
7089 * math/w_j0f.c (j0f): Likewise.
7090 (y0f): Likewise.
7091 * math/w_j0l.c (__j0l): Likewise.
7092 (__y0l): Likewise.
7093 * math/w_j1.c (j1): Likewise.
7094 (y1): Likewise.
7095 * math/w_j1f.c (j1f): Likewise.
7096 (y1f): Likewise.
7097 * math/w_j1l.c (__j1l): Likewise.
7098 (__y1l): Likewise.
7099 * math/w_jn.c (jn): Likewise.
7100 (yn): Likewise.
7101 * math/w_jnf.c (jnf): Likewise.
7102 (ynf): Likewise.
7103 * math/w_jnl.c (__jnl): Likewise.
7104 (__ynl): Likewise.
7105 * math/libm-test.inc (j0_test): Add more tests.
7106 (j1_test): Likewise.
7107 (jn_test): Likewise. Add trailing semicolon to existing test.
7108 (y0_test): Likewise.
7109 (y1_test): Likewise.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112
11b90b9f
JM
7113 [BZ #13851]
7114 [BZ #13854]
7115 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7116 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7117 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7118 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7119 (__tanl): Set errno for infinite argument.
7120 * sysdeps/i386/fpu/mptan.c: Remove.
7121 * sysdeps/i386/fpu/s_tan.S: Likewise.
7122 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7123 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7124 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7125 * math/libm-test.inc (tan_test): Add more tests and enable more
7126 tests for double and long double.
7127 * sysdeps/i386/fpu/libm-test-ulps: Update.
7128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7129
6a1bd2a1
JK
71302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7131
7132 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7133 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7134
10a803e0
RM
71352012-03-16 Roland McGrath <roland@hack.frob.com>
7136
7137 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7138 * configure.in: Use it for both main tree and add-ons.
7139 * configure: Regenerated.
7140
f196c7f7
L
71412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7144
8848d99d
JM
71452012-03-16 Joseph Myers <joseph@codesourcery.com>
7146
96cbe7f4
JM
7147 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7148 in comment.
7149
8848d99d
JM
7150 [BZ #13851]
7151 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7152 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7156 infinite argument.
7157 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7158 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7159 != 0 for prec == 2.
7160 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7161 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7162 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7163 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7164 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7165 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7166 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7167 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7168 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7169 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7170 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7171 * math/libm-test.inc (cos_test): Add more tests and enable more
7172 tests for long double.
7173 (sin_test): Likewise.
7174 (sincos_test): Likewise.
7175 * sysdeps/i386/fpu/libm-test-ulps: Update.
7176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7177
dd7f4703
DM
71782012-03-16 David S. Miller <davem@davemloft.net>
7179
7180 * sysdeps/sparc/fpu/math_private.h: New file.
7181
006f1daa
DM
71822012-03-15 David S. Miller <davem@davemloft.net>
7183
c0c83bc8
DM
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7185 file.
e6a62e18 7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7188 file.
e6a62e18
DM
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7194 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7195 sysdep routines.
7196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7197
88cb87d9
DM
7198 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7199 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7200
006f1daa 7201 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7203 sparc-ifunc.h
006f1daa 7204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7206 Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7208 Likewise.
006f1daa
DM
7209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7213 Likewise.
006f1daa
DM
7214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7219 Likewise.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7221 Likewise.
006f1daa
DM
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7246
11e0098e
AS
72472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7248
7249 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7250 scaling.
7251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7252
e85b09d0
AJ
72532012-03-15 Andreas Jaeger <aj@suse.de>
7254
7255 [BZ #13852]
7256 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7257 ieee754/flt-32 implementation for sin, cos and sincos.
7258 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7259 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7260 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7261 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7262 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7263 ieee754/flt-32 implementation for tan.
7264
7265 * math/libm-test.inc (cos_test): Enable some large input tests for
7266 float as well
7267 (sin_test): Likewise.
7268 (sincos_test): Likewise.
7269 (tan_test): Add tests for large input.
7270
7271 * sysdeps/i386/fpu/libm-test-ulps: Update.
7272
81c64153
AJ
72732012-03-15 Andreas Jaeger <aj@suse.de>
7274
7275 [BZ #13658]
7276 * math/libm-test.inc (cos_test): Add more test cases.
7277 (sin_test): Likewise.
7278 (sincos_test): Likewise.
7279
7bbfa5c6
AJ
72802012-03-15 Andreas Jaeger <aj@suse.de>
7281
7282 [BZ #13837]
7283 * math/libm-test.inc (cos_test): Add a test case for large input
7284 value.
7285 (sin_test): Likewise.
7286 (sincos_test): Likewise.
7287
72882012-03-15 Andreas Jaeger <aj@suse.de>,
7289 Joseph Myers <joseph@codesourcery.com>
7290
7291 [BZ #13658]
0671f479 7292 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7293 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7294 * sysdeps/i386/fpu/branred.c: Likewise.
7295 * sysdeps/i386/fpu/dosincos.c: Likewise.
7296 * sysdeps/i386/fpu/mpa.c: Likewise.
7297 * sysdeps/i386/fpu/s_cos.S: Likewise.
7298 * sysdeps/i386/fpu/s_sin.S: Likewise.
7299 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7300 * sysdeps/i386/fpu/sincos32.c: Likewise.
7301
7302 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7303 Define.
7304 (libc_feupdateenv_53bit): Define.
7305 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7306 Define.
7307 (libc_feupdateenv_53bit): Define.
7308
7309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7310 53 bit (without extend i386 double precision).
7311
7312 * math/libm-test.inc (sincos_test): Add tests for large input.
7313 (sin): Likewise.
7314 (cos): Likewise.
7315
7316 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7317
9cad04ea
AS
73182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7319
7320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7321
f7062b9a
DM
73222012-03-15 David S. Miller <davem@davemloft.net>
7323
7324 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7325 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7326 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7327 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7340 file.
f7062b9a 7341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7343 file.
f7062b9a 7344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7346 file.
f7062b9a 7347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7349 file.
f7062b9a
DM
7350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7352 fmin/fmax sysdep routines.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7354
7bd951ff
DM
73552012-03-14 David S. Miller <davem@davemloft.net>
7356
559398ab
DM
7357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7386 routines.
7387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7388 file.
559398ab 7389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7391 file.
559398ab 7392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7394 file.
559398ab 7395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7397 file.
559398ab 7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7400 file.
559398ab 7401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7403 file.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7405 file.
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7407 file.
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7409 file.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7411 New file.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7413 file.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7415 file.
559398ab 7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7418 file.
559398ab 7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7421 file.
559398ab 7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7424 file.
559398ab 7425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7427 VIS3 routines.
559398ab
DM
7428
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7430 New file.
7431
5a1c1e32
DM
7432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7433
eae47a36
DM
7434 * sysdeps/sparc/configure.in: New file.
7435 * sysdeps/sparc/configure: Generate.
7436 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7437 * configure: Regenerate.
7438 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7439 * config.make.in (have-as-vis3): New.
7440 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7441 available use -Av9d instead of -Av9a.
7442 * sysdeps/sparc/sparc64/Makefile: Likewise.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7445 New file.
7446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7447 file.
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7449 New file.
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7451 file.
eae47a36
DM
7452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7457
c0c83bc8
DM
7458 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7459 fzeros/fnegs to load 0x80000000 into a float register instead of
7460 using the stack.
7bd951ff
DM
7461 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7462
bd951ccb
JM
74632012-03-14 Joseph Myers <joseph@codesourcery.com>
7464
7465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7466 bits/syscall.h.
7467 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7468 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7469 ($(inst_includedir)/bits/syscall.h): Remove rule.
7470 ($(objpfx)bits/syscall.d): Include instead of
7471 $(objpfx)syscall-list.d.
7472 (generated): Change syscall-list.h and syscall-list.d to
7473 bits/syscall.h and bits/syscall.d.
7474
bb4e6db2
RM
74752012-03-14 Roland McGrath <roland@hack.frob.com>
7476
7477 [BZ #13846]
7478 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7479
aa4a2ae1
JM
74802012-03-14 Joseph Myers <joseph@codesourcery.com>
7481
e456826d
JM
7482 [BZ #13841]
7483 * math/s_csqrt.c: Include <float.h>.
7484 (__csqrt): Scale large or subnormal inputs.
7485 * math/s_csqrtf.c: Likewise.
7486 * math/s_csqrtl.c: Likewise.
7487 * math/libm-test.inc (csqrt_test): Add more tests.
7488 * sysdeps/i386/fpu/libm-test-ulps: Update.
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490
aa4a2ae1
JM
7491 [BZ #13840]
7492 * math/libm-test.inc (hypot_test): Add more tests.
7493
7c10fd35
DM
74942012-03-13 David S. Miller <davem@davemloft.net>
7495
7496 [BZ #13840]
7497 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7498 double-precision for the calculation instead of scaling.
7499
f453b98b
JM
75002012-03-13 Joseph Myers <joseph@codesourcery.com>
7501
7502 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7503 manipulate bits before adding and subtracting TWO52[sx].
7504 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7505 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7506 Likewise.
7507 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7508
09a3453f
DM
75092012-03-13 David S. Miller <davem@davemloft.net>
7510
8e59da90
DM
7511 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7512 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7514 rtld-global-offsets.h
7515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7516
2a8ab7f2
DM
7517 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7518 large parameters.
7519
10f62770
DM
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7521
5f0bdb18
DM
7522 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7523 'err' in the ifdef scope in which it is actually used.
7524
09a3453f
DM
7525 * nss/nss_db/db-init.c: Include string.h
7526
b4b2eb5e
DM
75272012-03-12 David S. Miller <davem@davemloft.net>
7528
98bb2f1c
DM
7529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7530 masking out of the most significant byte of random value used.
7531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7532 Fix coding style in previous change.
7533
b4b2eb5e
DM
7534 * sysdeps/unix/sysv/linux/kernel-features.h
7535 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7536 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7537 expression.
7538 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7539 later.
7540
6e226b09
DM
75412012-03-11 David S. Miller <davem@davemloft.net>
7542
a1bcbd40
DM
7543 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7544 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7546 for 'resultvar' otherwise things get truncated on 64-bit.
7547
cb9d6174
DM
7548 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7549 Fix masking out of the most significant byte of random value used.
7550
6e226b09
DM
7551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7552
058c132d
AS
75532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7554
7555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7556
2d2cd515
DM
75572012-03-09 David S. Miller <davem@davemloft.net>
7558
7559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7560 variables with appropriate CPP guards.
7561 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7562 frame pointer, not the stack pointer. Correct layout comments. Fix test
7563 on resulting framesize and the management of the outregs buffer for pltexit.
7564 Preserve floating point return values across _dl_call_pltexit call.
7565 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7566 framesize and the management of the outregs buffer for pltexit.
7567 Preserve floating point return values across _dl_call_pltexit
7568 call.
7569 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7570 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7571 (print_exit): Fix format string for return register value.
7572
9a07f9d0
JM
75732012-03-10 Joseph Myers <joseph@codesourcery.com>
7574
7575 * sunrpc/Makefile (others): Add rpcgen.
7576 ($(objpfx)rpcgen): Remove special build rule and dependency on
7577 libc.
7578 * sunrpc/rpcgen.c: New file.
7579
547b5e30
PE
75802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7581
c524201a
PE
7582 [BZ #13673]
7583 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7584 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7585 * sysdeps/i386/crti.S: Likewise.
7586 * sysdeps/i386/crtn.S: Likewise.
7587 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7588 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7589 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7590 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7591 * sysdeps/sh/crti.S: Likewise.
7592 * sysdeps/sh/crtn.S: Likewise.
7593 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7594
7b6235f2
PE
7595 [BZ #13673]
7596 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7597 with URL.
7598 * locale/programs/locfile-kw.gperf: Likewise.
7599 * locale/programs/charmap-kw.h: Regenerated.
7600 * locale/programs/locfile-kw.h: Likewise.
7601
547b5e30
PE
7602 [BZ #13673]
7603 * intl/plural.y: Replace FSF snail mail address with URL.
7604 * intl/plural.c: Regenerated.
7605
5f0a5dae
RH
76062012-03-09 Richard Henderson <rth@twiddle.net>
7607
7608 * include/math_private.h: Remove file.
7609 * math/math_private.h: Move file ...
7610 * sysdeps/generic/math_private.h: ... here.
7611
b8c03620
RH
7612 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7613 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7614 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7615
4e234f5d 7616 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7617 and <math_private.h>.
7618 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7619 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7620 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7621 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7622 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7706 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7709 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7710 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7712 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7713 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7714 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7715 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7716 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7718 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7719 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7720 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7721 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7722 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7723 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7724 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7725 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7730 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7731 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7732 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7738 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7740 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7741 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7742 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7743 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7745 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7746 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7747 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7749 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7750 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7753 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7754 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7755 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7766 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7767 * sysdeps/ieee754/k_standard.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7887 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7890 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7928 * sysdeps/ieee754/s_lib_version.c: Likewise.
7929 * sysdeps/ieee754/s_matherr.c: Likewise.
7930 * sysdeps/ieee754/s_signgam.c: Likewise.
7931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7933 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7934 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7935 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7937 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7938 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7939 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7940 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7941 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7942 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7943 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7944 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7945 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7948 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7952
1991fa03
JM
79532012-03-09 Joseph Myers <joseph@codesourcery.com>
7954
7955 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7956 * sunrpc/rpc_main.c: Likewise.
7957 * sunrpc/rpc_svcout.c: Likewise.
7958
60d6f5a6
DM
79592012-03-09 David S. Miller <davem@davemloft.net>
7960
7961 * include/math_private.h: New file.
7962
4962050e
JM
79632012-03-09 Joseph Myers <joseph@codesourcery.com>
7964
02a6f887
JM
7965 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7966 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7967 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7968 from <bits/socket_type.h>.
7969 (enum __socket_type): Don't define here.
7970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7972 bits/socket_type.h.
7973
c6e013c1
JM
7974 [BZ #13566]
7975 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7976 checking __USE_GNU.
7977
4962050e
JM
7978 * Makerules ($(inst_includedir)/%.h): New rule.
7979 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7980 (install-others): Remove variable setting.
7981 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7982
38842f45
RH
79832012-03-08 Richard Henderson <rth@twiddle.net>
7984
67bb6da6
RH
7985 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7986 from macro to inline function; merge with the
7987 !__LIBC_INTERNAL_MATH_INLINES version.
7988 (__ieee754_sqrtf): Likewise.
7989
15194b4b
RH
7990 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7991 to inline function.
7992 (__rintf, __floor, __floorf): Likewise.
7993
64e21ede
RH
7994 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7995 macro to inline function.
7996 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7997
38842f45
RH
7998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7999 not <math/math_private.h>.
8000
c64bf5fe
DM
80012012-03-08 David S. Miller <davem@davemloft.net>
8002
8003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8004 copyright year.
8005 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8006
82d86f28
TS
80072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8008
8009 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8010 normalization.
8011 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8012 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8013
aea5d727
UD
80142012-03-08 Ulrich Drepper <drepper@gmail.com>
8015
8016 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8017 be defined individually, they must be defined as a block. Define
8018 S for printing a string instead of hidint the different by using a
8019 macro for adding the 'l'.
8020 * stdio-common/tst-fphex-wide.c: Adjust.
8021
70bca0a3
MP
80222012-03-07 Marek Polacek <polacek@redhat.com>
8023
8024 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8025
65b81130
MP
80262012-03-08 Marek Polacek <polacek@redhat.com>
8027
8028 [BZ #13806]
8029 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8030 * stdio-common/tst-fphex.c: Define a few macros to make the
8031 test reusable. Use them.
8032 * stdio-common/tst-fphex-wide.c: New file.
8033
07037eeb
JM
80342012-03-08 Joseph Myers <joseph@codesourcery.com>
8035
a7a93d50
JM
8036 [BZ #6911]
8037 * manual/macros.texi (gnusystems): New macro.
8038 (nongnusystems): Likewise.
8039 (gnulinuxhurdsystems): Likewise.
8040 (gnuhurdsystems): Likewise..
8041 (gnulinuxsystems): Likewise.
8042 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8043 variants of the GNU system, not "GNU system".
8044 * manual/conf.texi: Likewise.
8045 * manual/errno.texi: Likewise. Update example of errno macro
8046 expansion.
8047 * manual/filesys.texi: Likewise.
8048 (getumask): Document as specific to GNU/Hurd.
8049 * manual/install.texi: Likewise. Reword some references to
8050 GNU/Linux.
8051 * manual/intro.texi: Likewise.
8052 * manual/io.texi: Likewise.
8053 (File Name Portability): Detail which constraints are inapplicable
8054 to all GNU systems and which are only inapplicable to GNU/Hurd.
8055 * manual/job.texi: Likewise.
8056 * manual/llio.texi: Likewise.
8057 (O_NOCTTY): Document as present on GNU/Linux.
8058 * manual/maint.texi: Likewise.
8059 * manual/memory.texi: Likewise.
8060 * manual/pattern.texi: Likewise.
8061 * manual/pipe.texi: Likewise.
8062 * manual/process.texi: Likewise.
8063 * manual/resource.texi: Likewise.
8064 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8065 child on GNU/Hurd.
8066 * manual/setjmp.texi: Likewise.
8067 * manual/signal.texi: Likewise.
8068 * manual/startup.texi: Likewise.
8069 * manual/stdio.texi: Likewise.
8070 * manual/terminal.texi: Likewise.
8071 (ONLCR): Document as POSIX.
8072 (OXTABS): Document availability on GNU/Linux as XTABS.
8073 (ONOEOT): Document availability separately from other bits.
8074 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8075 * manual/time.texi: Likewise.
8076 * manual/users.texi: Likewise.
8077 * INSTALL: Regenerated.
8078 * sysdeps/gnu/errlist.c: Regenerated.
8079
07037eeb
JM
8080 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8081 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8082 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8083 puts.
8084 * configure: Regenerated.
8085
d1d3431a
JM
80862012-03-07 Joseph Myers <joseph@codesourcery.com>
8087
af6a1e37
JM
8088 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8089 default includes instead of AC_HEADER_CHECK.
8090 * sysdeps/i386/configure: Regenerated.
8091
d1d3431a
JM
8092 [BZ #10716]
8093 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8094 * math/s_cacoshf.c (__cacoshf): Likewise.
8095 * math/s_cacoshl.c (__cacoshl): Likewise.
8096 * math/s_casinh.c (__casinh): Set signs of result from argument.
8097 * math/s_casinhf.c (__casinhf): Likewise.
8098 * math/s_casinhl.c (__casinhl): Likewise.
8099 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8100 (casinh_test): Add more tests.
8101 * sysdeps/i386/fpu/libm-test-ulps: Update.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8103
482ff4da
UD
81042012-03-07 Ulrich Drepper <drepper@gmail.com>
8105
872fda05
UD
8106 * po/zh_TW.po: Update from translation team.
8107
a4300c7a
UD
8108 * login/Makefile (distribute): Remove variable.
8109 * catgets/Makefile: Likewise.
8110 * mach/Makefile: Likewise.
8111 * malloc/Makefile: Likewise.
8112 * misc/Makefile: Likewise.
8113 * iconv/Makefile: Likewise.
8114 * nscd/Makefile: Likewise.
8115 * hurd/Makefile: Likewise.
8116 * manual/Makefile: Likewise.
8117 * locale/Makefile: Likewise.
8118 * intl/Makefile: Likewise.
8119 * conform/Makefile: Likewise.
8120 * nss/Makefile: Likewise.
8121 * time/Makefile: Likewise.
8122 * soft-fp/Makefile: Likewise.
8123 * dirent/Makefile: Likewise.
8124 * gmon/Makefile: Likewise.
8125 * po/Makefile: Likewise.
8126 * rt/Makefile: Likewise.
8127 * socket/Makefile: Likewise.
8128 * math/Makefile: Likewise.
8129 * signal/Makefile: Likewise.
8130 * debug/Makefile: Likewise.
8131 * elf/Makefile: Likewise.
8132 * timezone/Makefile: Likewise.
8133 * stdlib/Makefile: Likewise.
8134 * iconvdata/Makefile: Likewise.
8135 * sunrpc/Makefile: Likewise.
8136 * io/Makefile: Likewise.
8137 * argp/Makefile: Likewise.
8138 * inet/Makefile: Likewise.
8139 * hesiod/Makefile: Likewise.
8140 * grp/Makefile: Likewise.
8141 * csu/Makefile: Likewise.
8142 * wctype/Makefile: Likewise.
8143 * crypt/Makefile: Likewise.
8144 * libio/Makefile: Likewise.
8145 * string/Makefile: Likewise.
8146 * nis/Makefile: Likewise.
8147 * resolv/Makefile: Likewise.
8148 * stdio-common/Makefile: Likewise.
8149 * wcsmbs/Makefile: Likewise.
8150 * dlfcn/Makefile: Likewise.
8151 * posix/Makefile: Likewise.
8152
3b7c4e74 8153 [BZ #6959]
482ff4da
UD
8154 * timezone/Makefile: Don't install timezone files, just the programs
8155 and scripts.
8156
f72ed77d
UD
81572012-03-06 Ulrich Drepper <drepper@gmail.com>
8158
a000466f
UD
8159 * nss/databases.def: Add missing gshadow entry.
8160
f72ed77d
UD
8161 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8162
a53b7a4e
MP
81632012-03-06 Marek Polacek <polacek@redhat.com>
8164
8165 [BZ #13726]
8166 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8167 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8168 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8169 * stdio-common/tst-long-dbl-fphex.c: New file.
8170
e9258400
DM
81712012-03-06 David S. Miller <davem@davemloft.net>
8172
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8174 (set_obp_int): New function.
8175 (get_obp_int): New function.
8176 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8178 Avoid unused variable warnings on 'val' and use builtin_expect.
8179 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8180 __builtin_expect.
e9258400
DM
8181 (INLINE_CLONE_SYSCALL): Likewise.
8182
3bd2c723
DM
81832012-03-05 David S. Miller <davem@davemloft.net>
8184
8185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8186
bbb78d03
AS
81872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8188
884c5db4
AS
8189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8190
bbb78d03
AS
8191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8192 only for |x| >= 40.
8193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8194
1c9f702a 81952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8196
8197 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8198 Replace gettimeofday with __vdso_gettimeofday.
8199
7be16f82
RM
8200 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8201 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8202 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8203
8204 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8205 time with __vdso_time.
8206
ed58a00f
JM
82072012-03-05 Joseph Myers <joseph@codesourcery.com>
8208
8209 * manual/lang.texi (size_t): Note types to which size_t may be
8210 equivalent with the GNU C Library, but do not describe when
8211 differences between them are significant.
8212
30ee4ced
AJ
82132012-03-05 Andreas Jaeger <aj@suse.de>
8214
8215 * sysdeps/i386/fpu/libm-test-ulps: Update.
8216
b7cd39e8
JM
82172012-03-05 Joseph Myers <joseph@codesourcery.com>
8218
8219 [BZ #3976]
8220 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8221 (__ieee754_pow): Save and restore rounding mode and use
8222 round-to-nearest for main computations.
8223 * math/libm-test.inc (pow_test_tonearest): New function.
8224 (pow_test_towardzero): Likewise.
8225 (pow_test_downward): Likewise.
8226 (pow_test_upward): Likewise.
8227 (main): Call the new functions.
8228 * sysdeps/i386/fpu/libm-test-ulps: Update.
8229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8230
8231 [BZ #3976]
8232 * math/libm-test.inc (cosh_test_tonearest): New function.
8233 (cosh_test_towardzero): Likewise.
8234 (cosh_test_downward): Likewise.
8235 (cosh_test_upward): Likewise.
8236 (sinh_test_tonearest): Likewise.
8237 (sinh_test_towardzero): Likewise.
8238 (sinh_test_downward): Likewise.
8239 (sinh_test_upward): Likewise.
8240 (main): Call the new functions.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
6c6a98c9
TV
82442012-03-05 Tom de Vries <tom@codesourcery.com>
8245
8246 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8247 default stack guard is set in last bytes.
8248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8249
21bb2d2e 82502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8251
21bb2d2e 8252 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8253
21bb2d2e
AJ
8254 [BZ #13656]
8255 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8256 possibly allocate from heap instead of stack.
8257 * stdio-common/bug-vfprintf-nargs.c: New file.
8258 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8259
c6922934
AS
82602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8261
8262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8263
bc957d53
MP
82642012-03-03 Marek Polacek <polacek@redhat.com>
8265
8266 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8267 * math/math_private.h: Likewise.
8268 * stdlib/tst-strtod.c: Likewise.
8269 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8270 * sysdeps/x86_64/bits/atomic.h: Likewise.
8271
6358490d
DM
82722012-03-02 David S. Miller <davem@davemloft.net>
8273
8274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8282
01ae168d
RM
82832012-03-02 Roland McGrath <roland@hack.frob.com>
8284
d9a17c07
RM
8285 [BZ #13792]
8286 * manual/examples/README: New file, says the example source files
8287 can be used under GPL>=2.
8288 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8289 line containing just "*/".
8290 * manual/examples/add.c: Add copyright header (GPL>=2).
8291 * manual/examples/argp-ex1.c: Likewise.
8292 * manual/examples/argp-ex2.c: Likewise.
8293 * manual/examples/argp-ex3.c: Likewise.
8294 * manual/examples/argp-ex4.c: Likewise.
8295 * manual/examples/atexit.c: Likewise.
8296 * manual/examples/db.c: Likewise.
8297 * manual/examples/dir.c: Likewise.
8298 * manual/examples/dir2.c: Likewise.
8299 * manual/examples/execinfo.c: Likewise.
8300 * manual/examples/filecli.c: Likewise.
8301 * manual/examples/filesrv.c: Likewise.
8302 * manual/examples/fmtmsgexpl.c: Likewise.
8303 * manual/examples/genpass.c: Likewise.
8304 * manual/examples/inetcli.c: Likewise.
8305 * manual/examples/inetsrv.c: Likewise.
8306 * manual/examples/isockad.c: Likewise.
8307 * manual/examples/longopt.c: Likewise.
8308 * manual/examples/memopen.c: Likewise.
8309 * manual/examples/memstrm.c: Likewise.
8310 * manual/examples/mkfsock.c: Likewise.
8311 * manual/examples/mkisock.c: Likewise.
8312 * manual/examples/mygetpass.c: Likewise.
8313 * manual/examples/pipe.c: Likewise.
8314 * manual/examples/popen.c: Likewise.
8315 * manual/examples/rprintf.c: Likewise.
8316 * manual/examples/search.c: Likewise.
8317 * manual/examples/select.c: Likewise.
8318 * manual/examples/setjmp.c: Likewise.
8319 * manual/examples/sigh1.c: Likewise.
8320 * manual/examples/sigusr.c: Likewise.
8321 * manual/examples/stpcpy.c: Likewise.
8322 * manual/examples/strdupa.c: Likewise.
8323 * manual/examples/strftim.c: Likewise.
8324 * manual/examples/strncat.c: Likewise.
8325 * manual/examples/subopt.c: Likewise.
8326 * manual/examples/swapcontext.c: Likewise.
8327 * manual/examples/termios.c: Likewise.
8328 * manual/examples/testopt.c: Likewise.
8329 * manual/examples/testpass.c: Likewise.
8330 * manual/examples/timeval_subtract.c: Likewise.
8331
01ae168d
RM
8332 [BZ #13792]
8333 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8334 function to ...
8335 * manual/timeval_subtract.c.texi: ... here, new file.
8336
49efa33d
DM
83372012-03-02 David S. Miller <davem@davemloft.net>
8338
8339 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8340
28afd92d
JM
83412012-03-02 Joseph Myers <joseph@codesourcery.com>
8342
804360ed
JM
8343 [BZ #3976]
8344 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8345 (__sin): Save and restore rounding mode and use round-to-nearest
8346 for all computations.
8347 (__cos): Save and restore rounding mode and use round-to-nearest
8348 for all computations.
8349 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8350 <fenv.h>.
8351 (tan): Save and restore rounding mode and use round-to-nearest for
8352 all computations.
8353 * math/libm-test.inc (cos_test_tonearest): New function.
8354 (cos_test_towardzero): Likewise.
8355 (cos_test_downward): Likewise.
8356 (cos_test_upward): Likewise.
8357 (sin_test_tonearest): Likewise.
8358 (sin_test_towardzero): Likewise.
8359 (sin_test_downward): Likewise.
8360 (sin_test_upward): Likewise.
8361 (tan_test_tonearest): Likewise.
8362 (tan_test_towardzero): Likewise.
8363 (tan_test_downward): Likewise.
8364 (tan_test_upward): Likewise.
8365 (main): Call the new functions.
8366 * sysdeps/i386/fpu/libm-test-ulps: Update.
8367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8368
a6d06d7b
JM
8369 [BZ #10135]
8370 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8371 small n, then large n, before computing and testing k+n.
8372 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8374 Likewise.
8375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8376 Likewise.
8377 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8378 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8385 * math/libm-test.inc (scalbn_test): Add more tests.
8386 (scalbln_test): Likewise.
8387
07e12bb3
JM
8388 * manual/filesys.texi (mode_t): Describe constraints on size and
8389 signedness, not exact equivalence to a particular type.
8390 (ino_t): Likewise.
8391 (ino64_t): Likewise.
8392 (dev_t): Likewise.
8393 (nlink_t): Likewise.
8394 (blkcnt_t): Likewise.
8395 (blkcnt64_t): Likewise.
8396 * manual/llio.texi (off_t): Likewise.
8397
28afd92d
JM
8398 [BZ #3976]
8399 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8400 (__ieee754_exp): Save and restore rounding mode and use
8401 round-to-nearest for all computations.
8402 * math/libm-test.inc (exp_test_tonearest): New function.
8403 (exp_test_towardzero): Likewise.
8404 (exp_test_downward): Likewise.
8405 (exp_test_upward): Likewise.
8406 (main): Call the new functions.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409
b1eeb65d
CD
84102012-03-01 Chris Demetriou <cgd@google.com>
8411
8412 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8413 have predictable order.
8414
53362a4b
DM
84152012-03-01 David S. Miller <davem@davemloft.net>
8416
3c969083
DM
8417 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8418
759707de
DM
8419 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8420 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8421 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8422 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8423
dfdb8ff2
DM
8424 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8425 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8426 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8428 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8429 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8430 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8431 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8432 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8433
ead89f96
DM
8434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8435
7f66bd07
DM
8436 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8437 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8438 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8439
53362a4b
DM
8440 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8441 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8447 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8448 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8456 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8457 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8458 * sysdeps/sparc/elf/configure: Regenerated.
8459
7b1902cb
JM
84602012-03-01 Joseph Myers <joseph@codesourcery.com>
8461
bec039bc
JM
8462 * configure.in (AS, LD): Require binutils 2.20 or later.
8463 * configure: Regenerated.
8464 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8465 as required minimum version.
8466 * INSTALL: Regenerated.
8467
7b1902cb
JM
8468 [BZ #2541]
8469 [BZ #4108]
8470 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8471 before squaring exponent.
8472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8473 bottom long double and 27 bits of top long double before squaring
8474 exponent.
8475 * math/libm-test.inc (erfc_test): Add more tests.
8476 * sysdeps/i386/fpu/libm-test-ulps: Update.
8477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
f775c276
KT
84802012-03-01 Kai Tietz <ktietz@redhat.com>
8481
8482 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8483 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8484 containing bit-fields.
8485 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8486 * soft-fp/single.h (_FP_UNION_S): Likewise.
8487 * soft-fp/double.h (_FP_UNION_D): Likewise.
8488
5b8a4d4a
JM
84892012-02-29 Joseph Myers <joseph@codesourcery.com>
8490
0bab47b6
JM
8491 [BZ #13786]
8492 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8493 not include ../strcmp.S.
8494 [USE_AS_STRNCASECMP_L]: Likewise.
8495 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8496 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8497 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8498 (__strncasecmp_l_ia32): Define as alias to
8499 __strncasecmp_l_nonascii.
8500
0fcad3e2
JM
8501 [BZ #5794]
8502 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8503 * sysdeps/i386/fpu/libm-test-ulps: Update.
8504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8505
5b8a4d4a
JM
8506 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8508
8fdceb2e
JL
85092012-02-29 Jeff Law <law@redhat.com>
8510
8511 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8512 out of bounds read.
8513
1f393a11
MP
85142012-02-29 Marek Polacek <polacek@redhat.com>
8515
8516 [BZ #13706]
8517 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8518 * elf/Makefile: Add rules to run tst-unused-dep.out.
8519
8847f037
DM
85202012-02-28 David S. Miller <davem@davemloft.net>
8521
8522 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8523 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8526 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8527 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8528
169d7f11
JM
85292012-02-29 Joseph Myers <joseph@codesourcery.com>
8530
8531 * math/libm-test.inc (llround_test): Move one test from
8532 lround_test. Use TEST_f_L in moved test.
8533 (lround_test): Move misplaced test to llround_test. Add testcase
8534 from bug 2561.
8535
39adf059
UD
85362012-02-28 Ulrich Drepper <drepper@gmail.com>
8537
8538 * sysdeps/x86_64/fpu/e_expf.S: New file.
8539 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8540
71b5d1c5
SB
85412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8542
8543 [BZ #13637]
8544 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8545 of remain_len that may cause incomplete multi-byte character and
8546 false match.
8547 * posix/bug-regex33.c: New file.
8548 * posix/Makefile (tests): Add bug-regex33.
8549
1f77f049
JM
85502012-02-28 Joseph Myers <joseph@codesourcery.com>
8551
8552 * manual/macros.texi: New file.
8553 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8554 * manual/libc.texinfo: Include macros.texi.
8555 * manual/creatute.texi: Likewise.
8556 * manual/install.texi: Likewise.
8557 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8558 @glibcadj{} in references to the GNU C Library.
8559 * manual/charset.texi: Likewise.
8560 * manual/conf.texi: Likewise.
8561 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8562 when not using those macros.
8563 * manual/creature.texi: Likewise.
8564 * manual/crypt.texi: Likewise.
8565 * manual/errno.texi: Likewise.
8566 * manual/filesys.texi: Likewise.
8567 * manual/header.texi: Likewise.
8568 * manual/install.texi: Likewise.
8569 * manual/intro.texi: Likewise.
8570 * manual/io.texi: Likewise.
8571 * manual/job.texi: Likewise.
8572 * manual/lang.texi: Likewise.
8573 * manual/libc.texiinfo: Likewise.
8574 * manual/llio.texi: Likewise.
8575 * manual/locale.texi: Likewise.
8576 * manual/maint.texi: Likewise.
8577 * manual/math.texi: Likewise.
8578 * manual/memory.texi: Likewise.
8579 * manual/message.texi: Likewise.
8580 * manual/nss.texi: Likewise.
8581 * manual/pattern.texi: Likewise.
8582 * manual/process.texi: Likewise.
8583 * manual/resource.texi: Likewise.
8584 * manual/search.texi: Likewise.
8585 * manual/setjmp.texi: Likewise.
8586 * manual/signal.texi: Likewise.
8587 * manual/socket.texi: Likewise.
8588 * manual/startup.texi: Likewise.
8589 * manual/stdio.texi: Likewise.
8590 * manual/string.texi: Likewise.
8591 * manual/sysinfo.texi: Likewise.
8592 * manual/syslog.texi: Likewise.
8593 * manual/terminal.texi: Likewise.
8594 * manual/time.texi: Likewise.
8595 * manual/users.texi: Likewise.
8596 * INSTALL: Regenerated.
8597 * NOTES: Regenerated.
d40c5d54 8598 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8599
450bf206
AS
86002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8601
8602 * include/dirent.h: Include <dirstream.h> before
8603 <dirent/dirent.h>.
8604
741a235b
DM
86052012-02-28 David S. Miller <davem@davemloft.net>
8606
8607 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8608 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8609 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8610 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8611
d6b5aa58
DM
86122012-02-27 David S. Miller <davem@davemloft.net>
8613
1aff59a3
DM
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8616 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8617 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8618
d6b5aa58
DM
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8620 frame pointer instead of stack pointer relative arg slot.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8622 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8623 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8624
433f48bf
CD
86252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8626
8627 [BZ #3992]
8628 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8629
d674b76d
DM
86302012-02-27 David S. Miller <davem@davemloft.net>
8631
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8636 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8637 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8638 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8639 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8640
0e7727f7
JM
86412012-02-27 Joseph Myers <joseph@codesourcery.com>
8642
8643 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8644 later. Allow versions 5-9.
43be4ca2 8645 * configure: Regenerated.
0e7727f7
JM
8646 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8647 required minimum version and 4.6 as recommended version. Do not
8648 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8649 * INSTALL: Regenerated.
0e7727f7 8650
a78bc654
DM
86512012-02-27 David S. Miller <davem@davemloft.net>
8652
428d5830
DM
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8657 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8658 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8659 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8660 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8661
a78bc654
DM
8662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8663 manipulate bits before adding and subtracting TWO112[sx].
8664 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8665
4579f81c
RM
86662012-02-27 Roland McGrath <roland@hack.frob.com>
8667
36c8acb4
RM
8668 [BZ #13775]
8669 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8670 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8671 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8672 being in POSIX, because they are in 1003.1-2008.
8673
84ad622b
RM
8674 * rt/tst-aio.c: Include <fcntl.h>.
8675 * rt/tst-aio7.c: Likewise.
8676 * rt/tst-aio64.c: Likewise.
8677
4579f81c
RM
8678 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8679
abd923db
JM
86802012-02-27 Joseph Myers <joseph@codesourcery.com>
8681
8682 * manual/install.texi (--with-headers): Describe headers as
8683 interface headers, not private headers.
8684 (Specific advice for GNU/Linux systems): Describe use of headers
8685 from "make headers_install", not private headers from older
8686 kernels.
43be4ca2 8687 * INSTALL: Regenerated.
abd923db
JM
8688 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8689 Change to 2.6.19.
8690 * sysdeps/unix/sysv/linux/configure: Regenerated.
8691
6664049b
JM
8692 * manual/llio.texi (fclean): Remove documentation.
8693
bb8b6697
JM
8694 * manual/Makefile (libc-texi-generated): New variable. Include
8695 version.texi.
8696 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8697 $(libc-texi-generated), not duplicated list of files.
8698 (version.texi, stamp-version): New rules.
8699 (realclean): Remove $(libc-texi-generated), not individual files
8700 from that list. Do not remove dir-add.texinfo.
8701 * manual/libc.texinfo: Comment out uses of edition numbers and
8702 references to printed manual. Remove last-updated dates.
8703 (EDITION): Comment out.
8704 (ISBN): Likewise.
8705 (VERSION, UPDATED): Remove.
8706 (version.texi): Include.
8707
12e5c3b9
AS
87082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8709
8710 * sysdeps/posix/spawni.c: Include <signal.h>.
8711 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8712 * sysdeps/pthread/aio_fsync.c: Likewise.
8713
4efeffc1 87142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8715
ba63ba08
UD
8716 * conform/Makefile (tests): Run only when not cross-compiling and
8717 when fast-check is not defined.
8718
d94a4670
UD
8719 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8720 * conform/data/limits.h-data: Fixes for POSIX2008.
8721 * conform/run-conformtest.sh: Run all tests.
8722 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8723 headers.
8724 * include/bits/dlfcn.h: Likewise.
8725 * include/langinfo.h: Likewise.
8726 * include/monetary.h: Likewise.
8727 * include/sys/poll.h: Likewise.
8728
8729 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8730 for __USE_GNU.
8731 * posix/spawn.h: Define __need_sigset_t.
8732 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8733 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8734 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8735 to get sigevent_t only.
8736 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8737 only for __USE_GNU.
8738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8740 process_vm_writev only for __USE_GNU.
8741 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8742
8743 * conform/Makefile: For now ignore errors from run-conformtest.
8744 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8745 POSIX to avoid namespace pollution. Don't prepend headers.
8746 * conform/data/aio.h-data: Fixes for POSIX testing.
8747 * conform/data/fcntl.h-data: Likewise.
8748 * conform/data/glob.h-data: Likewise.
8749 * conform/data/grp.h-data: Likewise.
8750 * conform/data/pthread.h-data: Likewise.
8751 * conform/data/pwd.h-data: Likewise.
8752 * conform/data/signal.h-data: Likewise.
8753 * conform/data/spawn.h-data: Likewise.
8754 * conform/data/stdio.h-data: Likewise.
8755 * conform/data/stdlib.h-data: Likewise.
8756 * conform/data/stropts.h-data: Likewise.
8757 * conform/data/sys/mman.h-data: Likewise.
8758 * conform/data/sys/stat.h-data: Likewise.
8759 * conform/data/sys/types.h-data: Likewise.
8760 * conform/data/sys/wait.h-data: Likewise.
8761 * conform/data/time.h-data: Likewise.
8762 * conform/data/unistd.h-data: Likewise.
8763 * conform/data/utime.h-data: Likewise.
8764
8765 * io/sys/stat.h: fchmod was always in POSIX.
8766 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8767 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8768 * rt/aio.h: Define __need_timespec before including <time.h>.
8769 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8770 struct. Add forward declaration of pthread_attr_t and use it in
8771 sigevent.
8772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8774 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8775 always remove CLK_TCK definition.
8776
c20105c3
AS
87772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8778
8779 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8780
7a270350
UD
87812012-02-25 Ulrich Drepper <drepper@gmail.com>
8782
31341567
UD
8783 * conform/run-conformtest.sh: New file.
8784 * conform/Makefile: Run run-conformtest for tests.
8785 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8786 support.
8787
8788 * conform/data/uchar.h-data: New file.
8789 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8790 * conform/data/arpa/inet.h-data: Likewise.
8791 * conform/data/assert.h-data: Likewise.
8792 * conform/data/complex.h-data: Likewise.
8793 * conform/data/cpio.h-data: Likewise.
8794 * conform/data/ctype.h-data: Likewise.
8795 * conform/data/dirent.h-data: Likewise.
8796 * conform/data/dlfcn.h-data: Likewise.
8797 * conform/data/errno.h-data: Likewise.
8798 * conform/data/fcntl.h-data: Likewise.
8799 * conform/data/float.h-data: Likewise.
8800 * conform/data/fmtmsg.h-data: Likewise.
8801 * conform/data/fnmatch.h-data: Likewise.
8802 * conform/data/ftw.h-data: Likewise.
8803 * conform/data/glob.h-data: Likewise.
8804 * conform/data/grp.h-data: Likewise.
8805 * conform/data/iconv.h-data: Likewise.
8806 * conform/data/inttypes.h-data: Likewise.
8807 * conform/data/langinfo.h-data: Likewise.
8808 * conform/data/libgen.h-data: Likewise.
8809 * conform/data/limits.h-data: Likewise.
8810 * conform/data/locale.h-data: Likewise.
8811 * conform/data/math.h-data: Likewise.
8812 * conform/data/monetary.h-data: Likewise.
8813 * conform/data/mqueue.h-data: Likewise.
8814 * conform/data/ndbm.h-data: Likewise.
8815 * conform/data/net/if.h-data: Likewise.
8816 * conform/data/netdb.h-data: Likewise.
8817 * conform/data/netinet/in.h-data: Likewise.
8818 * conform/data/nl_types.h-data: Likewise.
8819 * conform/data/poll.h-data: Likewise.
8820 * conform/data/pthread.h-data: Likewise.
8821 * conform/data/pwd.h-data: Likewise.
8822 * conform/data/regex.h-data: Likewise.
8823 * conform/data/sched.h-data: Likewise.
8824 * conform/data/search.h-data: Likewise.
8825 * conform/data/semaphore.h-data: Likewise.
8826 * conform/data/setjmp.h-data: Likewise.
8827 * conform/data/signal.h-data: Likewise.
8828 * conform/data/spawn.h-data: Likewise.
8829 * conform/data/stdarg.h-data: Likewise.
8830 * conform/data/stdio.h-data: Likewise.
8831 * conform/data/stdlib.h-data: Likewise.
8832 * conform/data/string.h-data: Likewise.
8833 * conform/data/strings.h-data: Likewise.
8834 * conform/data/stropts.h-data: Likewise.
8835 * conform/data/sys/ipc.h-data: Likewise.
8836 * conform/data/sys/mman.h-data: Likewise.
8837 * conform/data/sys/msg.h-data: Likewise.
8838 * conform/data/sys/resource.h-data: Likewise.
8839 * conform/data/sys/select.h-data: Likewise.
8840 * conform/data/sys/sem.h-data: Likewise.
8841 * conform/data/sys/shm.h-data: Likewise.
8842 * conform/data/sys/socket.h-data: Likewise.
8843 * conform/data/sys/stat.h-data: Likewise.
8844 * conform/data/sys/statvfs.h-data: Likewise.
8845 * conform/data/sys/time.h-data: Likewise.
8846 * conform/data/sys/timeb.h-data: Likewise.
8847 * conform/data/sys/times.h-data: Likewise.
8848 * conform/data/sys/types.h-data: Likewise.
8849 * conform/data/sys/uio.h-data: Likewise.
8850 * conform/data/sys/un.h-data: Likewise.
8851 * conform/data/sys/utsname.h-data: Likewise.
8852 * conform/data/sys/wait.h-data: Likewise.
8853 * conform/data/syslog.h-data: Likewise.
8854 * conform/data/tar.h-data: Likewise.
8855 * conform/data/termios.h-data: Likewise.
8856 * conform/data/utime.h-data: Likewise.
8857 * conform/data/utmpx.h-data: Likewise.
8858 * conform/data/varargs.h-data: Likewise.
8859 * conform/data/wchar.h-data: Likewise.
8860 * conform/data/wctype.h-data: Likewise.
8861 * conform/data/wordexp.h-data: Likewise.
8862
8863 * include/stropts.h: New file.
8864 * include/uchar.h: New file.
8865 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8866 * include/assert.h: Likewise.
8867 * include/ctype.h: Likewise.
8868 * include/dirent.h: Likewise.
8869 * include/dlfcn.h: Likewise.
8870 * include/fcntl.h: Likewise.
8871 * include/fnmatch.h: Likewise.
8872 * include/glob.h: Likewise.
8873 * include/grp.h: Likewise.
8874 * include/libio.h: Likewise.
8875 * include/locale.h: Likewise.
8876 * include/math.h: Likewise.
8877 * include/net/if.h: Likewise.
8878 * include/netdb.h: Likewise.
8879 * include/netinet/in.h: Likewise.
8880 * include/pthread.h: Likewise.
8881 * include/pwd.h: Likewise.
8882 * include/regex.h: Likewise.
8883 * include/sched.h: Likewise.
8884 * include/search.h: Likewise.
8885 * include/setjmp.h: Likewise.
8886 * include/signal.h: Likewise.
8887 * include/stdio.h: Likewise.
8888 * include/stdlib.h: Likewise.
8889 * include/string.h: Likewise.
8890 * include/sys/cdefs.h: Likewise.
8891 * include/sys/mman.h: Likewise.
8892 * include/sys/msg.h: Likewise.
8893 * include/sys/resource.h: Likewise.
8894 * include/sys/select.h: Likewise.
8895 * include/sys/socket.h: Likewise.
8896 * include/sys/stat.h: Likewise.
8897 * include/sys/statvfs.h: Likewise.
8898 * include/sys/time.h: Likewise.
8899 * include/sys/times.h: Likewise.
8900 * include/sys/uio.h: Likewise.
8901 * include/sys/utsname.h: Likewise.
8902 * include/sys/wait.h: Likewise.
8903 * include/termios.h: Likewise.
8904 * include/time.h: Likewise.
8905 * include/ulimit.h: Likewise.
8906 * include/unistd.h: Likewise.
8907 * include/utime.h: Likewise.
8908 * include/wchar.h: Likewise.
8909 * include/wctype.h: Likewise.
8910 * include/wordexp.h: Likewise.
8911
8912 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8913
7a270350
UD
8914 * time/time.h: TIME_UTC must be a macro.
8915 Make timespec_get available for ISO C11 only as well.
8916
7724defc
UD
89172012-02-24 Ulrich Drepper <drepper@gmail.com>
8918
8919 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8920 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8921
6b1d1d46
JM
89222012-02-24 Joseph Myers <joseph@codesourcery.com>
8923
8924 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8925
0f8bbd69
JM
89262012-02-24 Joseph Myers <joseph@codesourcery.com>
8927
8928 * manual/texinfo.tex: Update to version 2012-01-19.16.
8929
66ab80bc
JM
89302012-02-24 Joseph Myers <joseph@codesourcery.com>
8931
8932 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8933
74981cc5
RM
89342012-02-24 Roland McGrath <roland@hack.frob.com>
8935
ee968201
RM
8936 [BZ #13738]
8937 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8938 * manual/fdl-1.3.texi: New file.
8939 * manual/fdl-1.1.texi: File removed.
8940
74981cc5
RM
8941 [BZ #13738]
8942 * manual/libc.texinfo (FDL_VERSION): New @set.
8943 Use it for mention of FDL in cover text.
8944 (Documentation License): Use it in @include file name.
8945
7bb764bc
JM
89462012-02-22 Joseph Myers <joseph@codesourcery.com>
8947 Roland McGrath <roland@hack.frob.com>
8948
8949 [BZ #5461]
8950 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8951 not LONG_LONG_MAX and LONG_LONG_MIN.
8952 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8953 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8954 name.
8955 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8956
6cbeae47
JM
89572012-02-22 Joseph Myers <joseph@codesourcery.com>
8958
8959 [BZ #2547]
8960 [BZ #11365]
8961 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8962 manipulate bits before adding and subtracting TWO23[sx].
8963 * math/libm-test.inc (nearbyint_test): Add more tests.
8964
fe45ce09
JM
89652012-02-22 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #2548]
8968 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8969 bits before adding and subtracting TWO23[sx].
8970 * math/libm-test.inc (rint_test): Add more tests.
8971 (rint_test_tonearest): Likewise.
8972 (rint_test_towardzero): Likewise.
8973 (rint_test_downward): Likewise.
8974 (rint_test_upward: Likewise.
8975
ff3b3d82
JM
89762012-02-22 Joseph Myers <joseph@codesourcery.com>
8977
8978 [BZ #10110]
8979 * include/stdc-predef.h: New file. Extracted from features.h.
8980 * include/features.h: Include stdc-predef.h.
8981 * Makefile (headers): Add stdc-predef.h.
8982 * CONFORMANCE (Compiler limitations): Update.
8983
ef0aab35
JM
89842012-02-22 Joseph Myers <joseph@codesourcery.com>
8985
8986 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8987
58639409
DM
89882012-02-21 David S. Miller <davem@davemloft.net>
8989
8990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8991 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8992
c0e70b25
DM
89932012-02-20 David S. Miller <davem@davemloft.net>
8994
8995 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8996 using a normal save/restore sequence, rather than allocating a
8997 dummy stack frame just to store a frame pointer and restore.
8998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8999
fb06851d
JM
90002012-02-21 Joseph Myers <joseph@codesourcery.com>
9001
9002 * manual/install.texi: Fix stray word in line-wrapped comment.
9003
7a8b71c3
DM
90042012-02-20 David S. Miller <davem@davemloft.net>
9005
d510c123
DM
9006 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9007 both binutils and gcc support GOTDATA.
9008
0722d7c2
DM
9009 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9010 "rd %pc" in the PIC register setup sequences.
9011
3d2b3019
DM
9012 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9013 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9014 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9015 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9016 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9021 (SYSCALL_ERROR_HANDLER): Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9025 (SYSCALL_ERROR_HANDLER): Likewise.
9026
c80098a9
DM
9027 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9028 (HAVE_GCC_GOTDATA): New.
9029 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9030 relocation support in both binutils and gcc.
9031 * sysdeps/sparc/elf/configure: Regenerate.
9032
3a2545a0
DM
9033 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9034 * sysdeps/sparc/sparc32/elf/configure: Delete.
9035 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9036 * sysdeps/sparc/sparc64/elf/configure: Delete.
9037 * sysdeps/sparc/elf/configure.in: New file.
9038 * sysdeps/sparc/elf/configure: Generate.
9039
7a8b71c3
DM
9040 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9041 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9042 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9043 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9044 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9045
f1e86fca
JM
90462012-02-21 Joseph Myers <joseph@codesourcery.com>
9047
9048 * manual/install.texi: Do not mention specific glibc version
9049 numbers.
9050 * manual/libc.texinfo (VERSION, UPDATED): Update.
9051 (@copying): Use @copyright{} and range of years.
9052
0e7dfaef
JM
90532012-02-21 Joseph Myers <joseph@codesourcery.com>
9054
9055 [BZ #13695]
9056 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9057 [crti.S not in sysdirs] (generated): Do not append.
9058 [crti.S not in sysdirs] (omit-deps): Likewise.
9059 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9060 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9061 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9062 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9063 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9064 Likewise.
9065 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9066 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9067 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9068 * csu/defs.awk: Remove file.
9069 * sysdeps/generic/initfini.c: Likewise.
9070 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9071 variable.
9072 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9073 Likewise.
9074
599af3ca
JM
90752012-02-20 Joseph Myers <joseph@codesourcery.com>
9076
9077 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9078 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9079 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9082 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9083 <bits/epoll.h>.
9084 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9085 (__EPOLL_PACKED): Define to empty if not defined by
9086 <bits/epoll.h>.
9087 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9089 bits/epoll.h.
9090
0e499750
JM
90912012-02-20 Joseph Myers <joseph@codesourcery.com>
9092
9093 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9094 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9095 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9096 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9097 <bits/timerfd.h>.
9098 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9100 bits/timerfd.h.
9101
5ad91f6e
JM
91022012-02-20 Joseph Myers <joseph@codesourcery.com>
9103
9104 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9105 in C locale.
9106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9107 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9110
06b99b02
AJ
91112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9112
9113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9115
7638c0fd
AS
91162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9117
9118 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9119 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9120 defined.
9121 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9122 Likewise.
9123 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9124 entry for 2.16.
9125
92221550
AJ
91262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9127
9128 * math/w_acos.c: Use non-signaling floating-point comparisons.
9129 * math/w_acosf.c: Likewise.
9130 * math/w_acosh.c: Likewise.
9131 * math/w_acoshf.c: Likewise.
9132 * math/w_acoshl.c: Likewise.
9133 * math/w_acosl.c: Likewise.
9134 * math/w_asin.c: Likewise.
9135 * math/w_asinf.c: Likewise.
9136 * math/w_asinl.c: Likewise.
9137 * math/w_atanh.c: Likewise.
9138 * math/w_atanhf.c: Likewise.
9139 * math/w_atanhl.c: Likewise.
9140 * math/w_exp2.c: Likewise.
9141 * math/w_exp2f.c: Likewise.
9142 * math/w_exp2l.c: Likewise.
9143 * math/w_j0.c: Likewise.
9144 * math/w_j0f.c: Likewise.
9145 * math/w_j0l.c: Likewise.
9146 * math/w_j1.c: Likewise.
9147 * math/w_j1f.c: Likewise.
9148 * math/w_j1l.c: Likewise.
9149 * math/w_jn.c: Likewise.
9150 * math/w_jnf.c: Likewise.
9151 * math/w_log.c: Likewise.
9152 * math/w_log10.c: Likewise.
9153 * math/w_log10f.c: Likewise.
9154 * math/w_log10l.c: Likewise.
9155 * math/w_log2.c: Likewise.
9156 * math/w_log2f.c: Likewise.
9157 * math/w_log2l.c: Likewise.
9158 * math/w_logf.c: Likewise.
9159 * math/w_logl.c: Likewise.
9160 * math/w_sqrt.c: Likewise.
9161 * math/w_sqrtf.c: Likewise.
9162 * math/w_sqrtl.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9166 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9168
ebaf36eb
JM
91692012-02-19 Joseph Myers <joseph@codesourcery.com>
9170
9171 [BZ #9739]
9172 * manual/string.texi (strnlen): Use correct parameter name in
9173 equivalent expression.
9174
71c254a6
JM
91752012-02-19 Joseph Myers <joseph@codesourcery.com>
9176
9177 [BZ #11174]
9178 * manual/users.texi (seteuid): Consistently use neweuid for
9179 argument name.
9180
16d2c631
JM
91812012-02-19 Joseph Myers <joseph@codesourcery.com>
9182
9183 [BZ #13704]
9184 * manual/nss.texi (Services in the NSS configuration): Correct
9185 list of services in example configuration file.
9186
cd837b09
NB
91872012-02-19 Nick Bowler <nbowler@draconx.ca>
9188
9189 [BZ #11322]
9190 * manual/arith.texi: Remove statements about negative zero
9191 behaving identically to zero.
9192
02c4bbad
JM
91932012-02-18 Joseph Myers <joseph@codesourcery.com>
9194
9195 [BZ #5993]
9196 * manual/install.texi: Do not document upgrading from libc5.
9197
366842e7
JM
91982012-02-18 Joseph Myers <joseph@codesourcery.com>
9199
9200 [BZ #4596]
9201 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9202
dd54084d
DM
92032012-02-18 David S. Miller <davem@davemloft.net>
9204
9205 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9206 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9207 %o7 across the call.
9208 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9209 instead.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9211 SETUP_PIC_REG_LEAF.
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9213 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9214 * sysdeps/sparc/crtn.S: Likewise.
9215
2bcc53a3
UD
92162012-02-17 Ulrich Drepper <drepper@gmail.com>
9217
9218 * aout/Makefile: Remove.
9219
09c093b5
RK
92202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9221
9222 [BZ #13058]
9223 * manual/examples/argp-ex1.c (main): Format definition in GNU
9224 style.
9225 * manual/examples/argp-ex2.c (main): Likewise.
9226 * manual/examples/argp-ex3.c (main): Likewise.
9227 * manual/examples/argp-ex4.c (main): Likewise.
9228 * manual/examples/longopt.c (main): Use new-style prototype
9229 definition.
9230 * manual/examples/strncat.c (main): Specify return type and use
9231 (void) for arguments.
9232 * manual/examples/subopt.c (main): Use char **argv argument.
9233
2ee633a2
JM
92342012-02-17 Joseph Myers <joseph@codesourcery.com>
9235
9236 [BZ #5077]
9237 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9238 rounding modes.
9239
0520adde
FB
92402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9241
9242 [BZ #6907]
9243 * manual/string.texi (strchr): Change when strchrnul is
9244 recommended.
9245
3f4081cd
DGM
92462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9247
9248 [BZ #174]
9249 * manual/locale.texi (setlocale): Document LOCPATH.
9250
d1b10e78
JM
92512012-02-17 Joseph Myers <joseph@codesourcery.com>
9252
9253 [BZ #10210]
9254 * manual/process.texi (execle): Move @dots{} before last argument.
9255
79c6869c
PB
92562012-02-17 Paul Bolle <pebolle@tiscali.nl>
9257
9258 [BZ #12047]
9259 * manual/charset.texi (Generic Charset Conversion): Fix typo
9260 (LC_TYPE -> LC_CTYPE).
9261
cc6e48bc
NB
92622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9263
9264 [BZ #5805]
9265 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9266 (scalbnf): Likewise.
9267 (scalbnl): Likewise.
9268 (scalbln): Likewise.
9269 (scalblnf): Likewise.
9270 (scalblnl): Likewise.
9271 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9272 (vwarnx): Likewise.
9273 (verr): Likewise.
9274 (verrx): Likewise.
9275 * manual/filesys.texi (telldir): Use braces around return type.
9276 * manual/llio.texi (mmap): Add space after comma.
9277 (mmap64): Likewise.
9278 * manual/math.texi (jn): Use @var{} on parameter names.
9279 (jnf): Likewise.
9280 (jnl): Likewise.
9281 (yn): Likewise.
9282 (ynf): Likewise.
9283 (ynl): Likewise.
9284 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9285 line.
9286 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9287 "...".
9288 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9289 (sched_get_priority_max): Likewise.
9290 * manual/signal.texi (sigvec): Add space after comma.
9291 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9292 names.
9293 (if_indextoname): Likewise.
9294 (if_freenameindex): Likewise.
9295 (sendto): Use ',' instead of '.' in prototype.
9296 * manual/startup.texi (syscall): Use @dots{} instead of literal
9297 "...".
9298 * manual/stdio.texi (__fpending): Separate initial words of
9299 paragraph from @deftypefun line.
9300 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9301 "...".
9302 (vsyslog): Use @var{} on parameter names.
9303 * manual/terminal.texi (stty): Use @var{} on parameter names.
9304 * manual/users.texi (getutmp): Use @var{} on parameter names.
9305 (getutmpx): Likewise.
9306
5b23062f
JM
93072012-02-17 Joseph Myers <joseph@codesourcery.com>
9308
9309 [BZ #6884]
9310 * manual/stdio.texi (fopen): Fix typos in description of
9311 ",ccs=STRING".
9312
8dee4833
AJ
93132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9314
9315 [BZ #4026]
9316 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9317 get clock_id definition.
9318
9078ce93
TS
93192012-02-17 Thomas Schwinge <thomas@schwinge.name>
9320
9321 [BZ #4822]
9322 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9323 (madvise): Cast every argument to void on its own.
9324
3835c55f
JM
93252012-02-17 Joseph Myers <joseph@codesourcery.com>
9326
9327 [BZ #9902]
9328 * manual/startup.texi (Exit Status): Fix typo.
9329
35c47e37
JM
93302012-02-17 Joseph Myers <joseph@codesourcery.com>
9331
9332 [BZ #10140]
9333 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9334 * manual/examples/argp-ex2.c: Likewise.
9335 * manual/examples/argp-ex3.c: Likewise.
9336
e3b69ca7
RH
93372012-02-16 Richard Henderson <rth@redhat.com>
9338
9339 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9340 * sysdeps/s390/s390-32/initfini.c: Remove.
9341 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9342 * sysdeps/s390/s390-64/initfini.c: Remove.
9343
df83af67
KK
93442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9345
9346 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9347 compiler output for sysdeps/generic/initfini.c.
9348 * sysdeps/sh/elf/initfini.c: Remove file.
9349
f63f3380
DM
93502012-02-16 David S. Miller <davem@davemloft.net>
9351
fb59b3a4
DM
9352 [BZ #11494]
9353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9354
f63f3380
DM
9355 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9356 * sysdeps/sparc/crti.S: New file.
9357 * sysdeps/sparc/crtn.S: New file.
9358 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9359 * sysdeps/sparc/sparc64/Makefile: Likewise.
9360
df6a4a4a
MF
93612012-02-15 Mike Frysinger <vapier@gentoo.org>
9362
6dd8f3dc 9363 [BZ #3335]
df6a4a4a
MF
9364 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9365
1cac7236
RM
93662012-02-15 Roland McGrath <roland@hack.frob.com>
9367
d2c736f8
RM
9368 [BZ #4822]
9369 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9370
1cac7236
RM
9371 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9372 (write, read, close): Likewise.
9373 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9374
8e475601
JM
93752012-02-15 Joseph Myers <joseph@codesourcery.com>
9376
9377 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9378 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9379 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9380 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9381 <bits/signalfd.h>.
9382 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9384 bits/signalfd.h.
9385
ed656b40
MP
93862012-02-14 Marek Polacek <polacek@redhat.com>
9387
9388 * sysdeps/x86_64/crti.S: New file.
9389 * sysdeps/x86_64/crtn.S: New file.
9390 * sysdeps/x86_64/elf/initfini.c: Remove file.
9391
2a979d3a
JM
93922012-02-13 Joseph Myers <joseph@codesourcery.com>
9393
9394 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9395 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9397 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9398 <bits/inotify.h>.
9399 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9401 bits/inotify.h.
9402
2a418ac3
JM
94032012-02-13 Joseph Myers <joseph@codesourcery.com>
9404
9405 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9406 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9407 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9408 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9409 <bits/eventfd.h>.
9410 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9412 bits/eventfd.h.
9413
fb779be7
TS
94142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9415
e19e83c5
RM
9416 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9417 __feraiseexcept instead of feraiseexcept.
7c35ffed 9418
fb779be7
TS
9419 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9420 nanosleep invocations.
9421 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9422 strings, and add error checking for a nanosleep invocations.
9423
59ba27a6
PE
94242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9425
9426 Replace FSF snail mail address with URLs, as per GNU coding standards.
9427 Most of the snail mail addresses were wrong anyway, and omitting
9428 them makes the source code easier to maintain. Almost all of the
9429 changes are to license notices and to locale LC_IDENTIFICATION
9430 addresses, except for this one:
9431 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9432 not its snail mail address.
9433
57b957eb
RH
94342012-02-09 Richard Henderson <rth@twiddle.net>
9435
af850b1c
RH
9436 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9437 of kernel-features.h.
9438
57b957eb
RH
9439 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9440
6b73181a
MP
94412012-02-08 Marek Polacek <polacek@redhat.com>
9442
9443 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9444 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9445 * sysdeps/gnu/_G_config.h: Likewise.
9446 * sysdeps/generic/_G_config.h: Likewise.
9447
26ecc33a
AS
94482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9449
6c6dbc63
AS
9450 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9451 tests.
9452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9453
e216c012
AS
9454 * sysdeps/powerpc/powerpc32/crti.S: New file.
9455 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9456 * sysdeps/powerpc/powerpc64/crti.S: New file.
9457 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9458
26ecc33a
AS
9459 * Makeconfig (have-initfini): Don't set.
9460 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9461 * configure.in (nopic_initfini): Don't substitute.
9462 * config.h.in (HAVE_INITFINI): Don't #undef.
9463 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9464 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9465
3add8e13
JM
94662012-02-08 Joseph Myers <joseph@codesourcery.com>
9467
9468 Support crti.S and crtn.S provided directly by architectures.
9469 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9470 [crti.S in sysdirs] (omit-deps): Likewise.
9471 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9472 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9473 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9474 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9475 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9476 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9477 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9478 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9479 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9480 compiler output for sysdeps/generic/initfini.c.
9481 * sysdeps/i386/elf/Makefile: Remove file.
9482 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9483
a22f12b4
MP
94842012-02-07 Marek Polacek <polacek@redhat.com>
9485
9486 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9487 * sysdeps/gnu/_G_config.h: Likewise.
9488 * sysdeps/mach/hurd/_G_config.h: Likewise.
9489
148cf100
MP
94902012-02-07 Marek Polacek <polacek@redhat.com>
9491
9492 * math/Makefile (tests): Add tst-CMPLX2.
9493 * math/tst-CMPLX2.c: New file.
9494
cfdc0dd7
AS
94952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9496
84ba42c4
AS
9497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9498
cfdc0dd7
AS
9499 * math/libm-test.inc (jn_test): Add missing L suffix.
9500
622c86f4
MP
95012012-02-06 Marek Polacek <polacek@redhat.com>
9502
9503 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9504 * sysdeps/i386/fpu/e_powf.S: Likewise.
9505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9508 * sysdeps/i386/fpu/e_pow.S: Likewise.
9509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9513 * sysdeps/i386/fpu/e_log2.S: Likewise.
9514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9516 * sysdeps/i386/fpu/e_powl.S: Likewise.
9517 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9518 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9519 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9520 * sysdeps/i386/fpu/e_logl.S: Likewise.
9521 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9522 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9523 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9524 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9526 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9527 * sysdeps/i386/fpu/e_log.S: Likewise.
9528 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9530 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9531 * sysdeps/i386/fpu/e_logf.S: Likewise.
9532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9534 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9535 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9536 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9537 * sysdeps/i386/fpu/e_log10.S: Likewise.
9538 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9539 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9540 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9541 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9542 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9543 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9544 * sysdeps/i386/asm-syntax.h: Likewise.
9545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9547 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9548 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9549 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9551 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9552 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9554 * sysdeps/powerpc/sysdep.h: Likewise.
9555 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9556 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9557
d4a54ac6
JM
95582012-02-06 Joseph Myers <joseph@codesourcery.com>
9559
9560 [BZ #411]
9561 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9562
314054ea
JM
95632012-02-06 Joseph Myers <joseph@codesourcery.com>
9564
9565 * sysdeps/i386/sysdep.h: Include <features.h>.
9566 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9567 version.
9568
d8e0ca50
JM
95692012-02-05 Joseph Myers <joseph@codesourcery.com>
9570
9571 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9572 Define.
9573 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9574 LOAD_PIC_REG_STR.
9575
b1da7dd9
JM
95762012-02-03 Joseph Myers <joseph@codesourcery.com>
9577
9578 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9579 (SETUP_PIC_REG): Use GET_PC_THUNK.
9580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9581 macro.
9582
9a1d9254
JM
95832012-02-03 Joseph Myers <joseph@codesourcery.com>
9584
9585 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9586 for non-PIC compilation.
9587 (SETUP_PIC_REG): Add .p2align directive.
9588 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9589 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9590 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9594 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9596 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9597 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9598 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9599 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9600 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9601 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9602 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9604 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9605 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9606 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9607 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9610 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9611 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9614 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9616 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9617 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9618 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9619 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9621 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9622 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9623 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9624 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9625 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9626 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9627 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9628 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9629
65dc3b75
JM
96302012-02-03 Joseph Myers <joseph@codesourcery.com>
9631
9632 * math/tst-CMPLX.c: Include <stdio.h>.
9633
d55bf177
JM
96342012-01-31 Joseph Myers <joseph@codesourcery.com>
9635
9636 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9637 float.
9638 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9639 * sysdeps/sparc/bits/mathdef.h: Likewise.
9640
69db4f8f
MP
96412012-01-31 Marek Polacek <polacek@redhat.com>
9642
9643 * libio/libio.h: Don't define _PARAMS.
9644 * locale/programs/config.h: Don't define PARAMS.
9645 * stdlib/strtol_l.c: Likewise.
9646 (__strtol_l): Remove PARAMS from the prototype.
9647
41b81892
UD
96482012-01-31 Ulrich Drepper <drepper@gmail.com>
9649
3b49edc0
UD
9650 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9651 names. Just use the correct names. Remove unnecessary wrapper
9652 functions.
9653 * malloc/arena.c: Likewise.
9654 * malloc/hooks.c: Likewise.
9655
41b81892
UD
9656 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9657 ARENA_TEST says not to. Simplify test for creation of a new arena.
9658 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9659
27a25b6e
UD
96602012-01-30 Ulrich Drepper <drepper@gmail.com>
9661
9662 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9663 into tail calls.
9664 (update_get_addr): New function.
9665 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9666 GET_ADDR_MODULE parameter.
9667
c8a89e7d
JM
96682012-01-30 Joseph Myers <joseph@codesourcery.com>
9669
9670 * crypt/cert.c: Remove __STDC__ conditionals.
9671 * crypt/crypt-entry.c: Likewise.
9672 * crypt/crypt_util.c: Likewise.
9673 * libio/filedoalloc.c: Likewise.
9674 * libio/fileops.c: Likewise.
9675 * libio/genops.c: Likewise.
9676 * libio/iofclose.c: Likewise.
9677 * libio/iofdopen.c: Likewise.
9678 * libio/iofopen.c: Likewise.
9679 * libio/iofopen64.c: Likewise.
9680 * libio/iogetdelim.c: Likewise.
9681 * libio/iopopen.c: Likewise.
9682 * libio/obprintf.c: Likewise.
9683 * libio/oldfileops.c: Likewise.
9684 * libio/oldiofclose.c: Likewise.
9685 * libio/oldiofdopen.c: Likewise.
9686 * libio/oldiofopen.c: Likewise.
9687 * libio/oldiopopen.c: Likewise.
9688 * libio/wfiledoalloc.c: Likewise.
9689 * libio/wgenops.c: Likewise.
9690 * locale/programs/xmalloc.c: Likewise.
9691 * misc/syslog.c: Likewise.
9692 * stdio-common/xbug.c: Likewise.
9693 * string/memchr.c: Likewise.
9694 * string/memcmp.c: Likewise.
9695 * string/memrchr.c: Likewise.
9696 * string/rawmemchr.c: Likewise.
9697 * sysdeps/posix/getcwd.c: Likewise.
9698 * time/strftime_l.c: Likewise.
9699
3b100462
JM
97002012-01-30 Joseph Myers <joseph@codesourcery.com>
9701
9702 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9703 * config.make.in (config-cflags-sse2avx): Define.
9704 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9705 Fix typo.
9706
607998af
CM
97072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9708
9709 * scripts/config.guess: Update from upstream config git repository.
9710 * scripts/config.sub: Likewise.
9711
3601428f
CM
97122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9713
3ac8b282
CM
9714 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9715 (EM_NUM): Update.
9716 (R_TILEPRO_*, R_TILEGX_*): New macros.
9717
e034841e
CM
9718 * scripts/firstversions.awk: Fix bug in version range handling.
9719
540d7568
CM
9720 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9721
3601428f
CM
9722 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9723
463de862
CM
9724 * include/sys/epoll.h: New file.
9725 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9726 libc_hidden_def.
9727
73139a76
UD
97282012-01-28 Ulrich Drepper <drepper@gmail.com>
9729
96bc5b45
UD
9730 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9731 Avoid unnecessary __WORDSIZE == 64 test.
9732 (fmaxf): Use VEX format if possible.
9733 (fmax): Likewise.
9734 (fminf): Likewise.
9735 (fmin): Likewise.
9736
56f6f6a2
UD
9737 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9738 * math/math_private.h: Remove libc_fegetround* and
9739 libc_fesetround*.
9740 * sysdeps/i386/configure.in: Check for -msse2avx.
9741 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9742 also if SSE2AVX is defined.
9743 Remove libc_fegetround* and libc_fesetround*.
9744 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9745 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9747 of HAS_YMM_USABLE.
9748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9753
73139a76
UD
9754 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9755
d73f93a4
AZ
97562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757
9758 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9759 size is not set.
9760 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9761
6ee65ed6
UD
97622012-01-27 Ulrich Drepper <drepper@gmail.com>
9763
9764 [BZ #13618]
9765 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9766 relocation.
9767 * Makeconfig (libm): Define.
9768 * elf/Makefile: Add rules to build and run tst-relsort1.
9769 * elf/tst-relsort1.c: New file.
9770 * elf/tst-relsort1mod1.c: New file.
9771 * elf/tst-relsort1mod2.c: New file.
9772
8db21882
JM
97732012-01-27 Joseph Myers <joseph@codesourcery.com>
9774
9775 * math/s_ldexp.c: Remove __STDC__ conditionals.
9776 * math/s_ldexpf.c: Likewise.
9777 * math/s_ldexpl.c: Likewise.
9778 * math/s_nextafter.c: Likewise.
9779 * math/s_nexttowardf.c: Likewise.
9780 * math/s_significand.c: Likewise.
9781 * math/s_significandf.c: Likewise.
9782 * math/s_significandl.c: Likewise.
9783 * math/w_jnl.c: Likewise.
9784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9803 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9804 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9806 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9808 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9809 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9811 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9812 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9814 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9816 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9820 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9822 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9824 * sysdeps/ieee754/k_standard.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9904 * sysdeps/ieee754/s_matherr.c: Likewise.
9905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9909
965a54a4
JM
99102012-01-26 Joseph Myers <joseph@codesourcery.com>
9911
9912 * crypt/md5.h: Remove __STDC__ conditionals.
9913 * libio/libioP.h: Likewise.
9914 * locale/programs/config.h: Likewise.
9915 * sysdeps/generic/sysdep.h: Likewise.
9916 * sysdeps/i386/asm-syntax.h: Likewise.
9917 * sysdeps/s390/asm-syntax.h: Likewise.
9918 * sysdeps/unix/sysdep.h: Likewise.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9921
7071ad79
JM
99222012-01-26 Joseph Myers <joseph@codesourcery.com>
9923
9924 * libio/libio.h: Remove __STDC__ conditionals.
9925 * malloc/obstack.h: Likewise.
9926 * math/complex.h: Likewise.
9927 * math/math.h: Likewise.
9928 * sysdeps/generic/_G_config.h: Likewise.
9929 * sysdeps/gnu/_G_config.h: Likewise.
9930 * sysdeps/mach/hurd/_G_config.h: Likewise.
9931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9932 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9933 * sysdeps/sparc/bits/mathdef.h: Likewise.
9934
afc5ed09
UD
99352012-01-26 Ulrich Drepper <drepper@gmail.com>
9936
9937 [BZ #13583]
9938 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9939 Clean up HAS_* macros.
afc5ed09 9940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9941 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9942 possible.
9943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9944 HAS_AVX.
9945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9950
bdb6de1d
JM
99512012-01-25 Joseph Myers <joseph@codesourcery.com>
9952
9953 * elf/tst-unique3.cc (gets): Remove declaration.
9954 * elf/tst-unique3lib.cc (gets): Likewise.
9955 * elf/tst-unique3lib2.cc (gets): Likewise.
9956 * elf/tst-unique4.cc (gets): Likewise.
9957
b15549e6
UD
99582012-01-24 Ulrich Drepper <drepper@gmail.com>
9959
9960 * include/stdio.h: Add C++ protection. Add gets declarations and
9961 definitions.
9962 * debug/tst-chk1.c: Don't declare gets here.
9963 * stdio-common/tst-gets.c: Likewise.
9964
a037381f
JM
99652012-01-24 Joseph Myers <joseph@codesourcery.com>
9966
9967 * posix/glob: Remove directory.
9968
f1d4aa75
JM
99692012-01-24 Joseph Myers <joseph@codesourcery.com>
9970
9971 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9972
81c0c964
PT
99732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9974
9975 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9976 of the non-standard EPFNOSUPPORT.
9977
0ea698ae
ST
99782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9979
9980 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9981 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9982 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9983
d220b117
UD
99842012-01-21 Ulrich Drepper <drepper@gmail.com>
9985
9986 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9987
3e1aa84e
UD
99882012-01-20 Ulrich Drepper <drepper@gmail.com>
9989
9990 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9991 transient errors.
9992 * nscd/grpcache.c (cache_addgr): Likewise.
9993 * nscd/hstcache.c (cache_addhst): Likewise.
9994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9995 * nscd/pwdcache.c (cache_addpw): Likewise.
9996 * nscd/servicescache.c (cache_addserv): Likewise.
9997
400aa020
UD
99982012-01-16 Ulrich Drepper <drepper@gmail.com>
9999
d77e7869
UD
10000 * malloc/malloc.c: Various cleanups.
10001 * malloc/hooks.c: Likewise.
10002
400aa020
UD
10003 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10004 * stdlib/bug-fmtmsg1.c: New file.
10005
10006 * stdlib/fmtmsg.c (init): Add missing unlock.
10007 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10008
e0a309cf
MP
100092012-01-12 Marek Polacek <polacek@redhat.com>
10010
10011 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10012 and _GNU_SOURCE.
10013
929d11c7
WS
100142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10015
10016 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10017 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10018 macro to ensure uniqueness of label name.
10019 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10020 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10021
41d0e869
UD
100222012-01-11 Ulrich Drepper <drepper@gmail.com>
10023
0cc5ed3b
UD
10024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10025
41d0e869
UD
10026 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10027 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10030
a47a831a
UD
100312012-01-10 Ulrich Drepper <drepper@gmail.com>
10032
daa891c0
UD
10033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10034
10035 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10036 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10038
e58ef0f2
UD
10039 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10040
a47a831a 10041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10042 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10043 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10045
10046 * math/bits/math-finite.h: Add ldexp support.
10047
a0bfc9c7
MP
100482012-01-10 Marek Polacek <polacek@redhat.com>
10049
10050 * locale/programs/localedef.h (show_archive_content): Add noreturn
10051 attribute.
10052
d6e97a1d
UD
100532012-01-09 Ulrich Drepper <drepper@gmail.com>
10054
10055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10056
d5835c26
UD
100572012-01-08 Ulrich Drepper <drepper@gmail.com>
10058
e5f484c6
UD
10059 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10060
d5835c26
UD
10061 * io/Makefile (headers): Add bits/poll2.h.
10062
d1f741e9
WS
100632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10064
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10066 typo #include statement.
10067
ec09c1c4
UD
100682012-01-08 Ulrich Drepper <drepper@gmail.com>
10069
10070 * include/sys/cdefs.h: Define __attribute_alloc_size.
10071 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10072 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10073 * elf/pldd.c: Likewise.
10074 * iconv/iconv_charmap.c: Likewise.
10075 * iconv/iconvconfig.c: Likewise.
10076 * iconv/strtab.c: Likewise.
10077 * locale/programs/locale.c: Likewise.
10078 * locale/programs/localedef.h: Likewise.
10079 * locale/programs/simple-hash.c: Likewise.
10080 * nscd/nscd.h: Likewise.
10081 * nss/makedb.c: Likewise.
10082 * sysdeps/generic/ldconfig.h: Likewise.
10083 * locale/programs/localedef.c: Remove xmalloc prototype.
10084 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10085
20b38e03
PP
100862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10087
10088 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10089 appropriate.
10090
a0da5fe1
UD
100912012-01-08 Ulrich Drepper <drepper@gmail.com>
10092
1d5a644a 10093 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10094 * math/tst-CMPLX.c: New file.
1d5a644a 10095
8784a6db
UD
10096 * math/complex.h (CMPLXL): Fix typo.
10097
d9a216c0
UD
10098 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10099 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10100 GLIBC_2.16.
10101 * debug/tst-chk1.c: Add poll and ppoll tests.
10102 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10103 * include/sys/poll.h: Add hidden proto for ppoll.
10104 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10105 * sysdeps/mach/hurd/ppoll.c: Likewise.
10106 * io/ppoll.c: Likewise.
10107 * debug/poll_chk.c: New file.
10108 * debug/ppoll_chk.c: New file.
10109 * include/bits/poll2.h: New file.
10110 * io/bits/poll2.h: New file.
10111
ac097f5c
UD
10112 [BZ #1350]
10113 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10114
2119dcfa
UD
10115 * configure.in: static is always set to yes. Remove.
10116 * config.make.in: Don't set build-static.
10117 * Makeconfig: Remove use of build-static.
10118 * dlfcn/Makefile: Likewise.
10119 * elf/Makefile: Likewise.
10120 * math/Makefile: Likewise.
10121 * misc/Makefile: Likewise.
10122 * nptl/Makefile: Likewise.
10123 * sysdeps/mach/hurd/Makefile: Likewise.
10124
121766a9
UD
10125 * configure.in: PWD_P is not used anymore.
10126 * config.make.in: Remove PWD_P entry.
10127
51a1d39c 10128 * configure.in: Remove last remnants of RANLIB.
8720d066 10129 No need to check for signed size_t anymore.
215f4bdc
UD
10130 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10131 and IA-64.
3857022a 10132 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10133 * aclocal.m4: Likewise.
10134
d3ed7225
UD
10135 * wcsmbs/mbrtoc16.c: Implement using towc function.
10136 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10137 * wcsmbs/wcsmbsload.c: Likewise.
10138 * iconv/gconv_simple.c: Likewise.
10139 * iconv/gconv_int.h: Likewise.
10140 * iconv/gconv_builtin.h: Likewise.
10141 * iconv/iconv_prog.c: Remove CHAR16 handling.
10142
10143 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10144
10145 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10146
a0da5fe1
UD
10147 * configure.in: Remove --with-elf and --enable-bounded options.
10148 Dont set base_machine for ia64. More non-ELF conditions removed.
10149 Remove testing and setting of leading underscore information.
10150 * config.make.in (build-bounded): Set to no.
10151 * config.h.in: Remove NO_UNDERSCORES entry.
10152 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10153 them.
10154 * csu/start.c: Remove !NO_UNDERSCORE code.
10155 * locale/localeinfo.h: Likewise.
10156 * sysdeps/generic/machine-gmon.h: Likewise.
10157 * sysdeps/generic/sysdep.h: Likewise.
10158 * sysdeps/i386/sysdep.h: Likewise.
10159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10160 * sysdeps/mach/sysdep.h: Likewise.
10161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10163 * sysdeps/sh/sysdep.h: Likewise.
10164 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10165 * sysdeps/unix/i386/sysdep.S: Likewise.
10166 * sysdeps/unix/sparc/start.c: Likewise.
10167 * sysdeps/unix/sparc/sysdep.S: Likewise.
10168 * sysdeps/unix/sparc/sysdep.h: Likewise.
10169 * sysdeps/unix/start.c: Likewise.
10170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10171 * sysdeps/x86_64/sysdep.h: Likewise.
10172
df78418a
UD
101732012-01-07 Ulrich Drepper <drepper@gmail.com>
10174
a784e502
UD
10175 [BZ #13553]
10176 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10177 for non-gcc.
10178 * argp/argp-fmtstream.h: Use const instead __const.
10179 * argp/argp.h: Likewise.
10180 * assert/assert.h: Likewise.
10181 * bits/fenv.h: Likewise.
10182 * bits/sched.h: Likewise.
10183 * bits/sigset.h: Likewise.
10184 * bits/sigthread.h: Likewise.
10185 * catgets/nl_types.h: Likewise.
10186 * conform/data/pthread.h-data: Likewise.
10187 * crypt/crypt-private.h: Likewise.
10188 * crypt/crypt.h: Likewise.
10189 * crypt/crypt_util.c: Likewise.
10190 * ctype/ctype.h: Likewise.
10191 * debug/execinfo.h: Likewise.
10192 * debug/mbsnrtowcs_chk.c: Likewise.
10193 * debug/mbsrtowcs_chk.c: Likewise.
10194 * debug/wcsnrtombs_chk.c: Likewise.
10195 * debug/wcsrtombs_chk.c: Likewise.
10196 * debug/wcstombs_chk.c: Likewise.
10197 * dirent/dirent.h: Likewise.
10198 * dlfcn/dlfcn.h: Likewise.
10199 * elf/neededtest4.c: Likewise.
10200 * grp/grp.h: Likewise.
10201 * gshadow/gshadow.h: Likewise.
10202 * iconv/gconv.h: Likewise.
10203 * iconv/gconv_int.h: Likewise.
10204 * iconv/gconv_simple.c: Likewise.
10205 * iconv/iconv.h: Likewise.
10206 * iconv/loop.c: Likewise.
10207 * iconv/skeleton.c: Likewise.
10208 * include/aio.h: Likewise.
10209 * include/aliases.h: Likewise.
10210 * include/argz.h: Likewise.
10211 * include/arpa/inet.h: Likewise.
10212 * include/assert.h: Likewise.
10213 * include/dirent.h: Likewise.
10214 * include/dlfcn.h: Likewise.
10215 * include/execinfo.h: Likewise.
10216 * include/fcntl.h: Likewise.
10217 * include/fenv.h: Likewise.
10218 * include/glob.h: Likewise.
10219 * include/grp.h: Likewise.
10220 * include/libintl.h: Likewise.
10221 * include/mntent.h: Likewise.
10222 * include/netdb.h: Likewise.
10223 * include/pwd.h: Likewise.
10224 * include/rpc/netdb.h: Likewise.
10225 * include/sched.h: Likewise.
10226 * include/search.h: Likewise.
10227 * include/shadow.h: Likewise.
10228 * include/signal.h: Likewise.
10229 * include/stdio.h: Likewise.
10230 * include/stdlib.h: Likewise.
10231 * include/string.h: Likewise.
10232 * include/sys/socket.h: Likewise.
10233 * include/sys/stat.h: Likewise.
10234 * include/sys/statfs.h: Likewise.
10235 * include/sys/statvfs.h: Likewise.
10236 * include/sys/syslog.h: Likewise.
10237 * include/sys/time.h: Likewise.
10238 * include/sys/uio.h: Likewise.
10239 * include/time.h: Likewise.
10240 * include/unistd.h: Likewise.
10241 * include/utmp.h: Likewise.
10242 * include/wchar.h: Likewise.
10243 * include/wctype.h: Likewise.
10244 * inet/aliases.h: Likewise.
10245 * inet/arpa/inet.h: Likewise.
10246 * inet/netinet/ether.h: Likewise.
10247 * inet/netinet/in.h: Likewise.
10248 * intl/libintl.h: Likewise.
10249 * io/bits/fcntl2.h: Likewise.
10250 * io/fcntl.h: Likewise.
10251 * io/ftw.h: Likewise.
10252 * io/sys/poll.h: Likewise.
10253 * io/sys/stat.h: Likewise.
10254 * io/sys/statfs.h: Likewise.
10255 * io/sys/statvfs.h: Likewise.
10256 * io/utime.h: Likewise.
10257 * libio/bits/stdio.h: Likewise.
10258 * libio/bits/stdio2.h: Likewise.
10259 * libio/libio.h: Likewise.
10260 * libio/libioP.h: Likewise.
10261 * libio/stdio.h: Likewise.
10262 * locale/lc-ctype.c: Likewise.
10263 * locale/locale.h: Likewise.
10264 * login/utmp.h: Likewise.
10265 * malloc/arena.c: Likewise.
10266 * malloc/malloc.c: Likewise.
10267 * malloc/malloc.h: Likewise.
10268 * malloc/mcheck.c: Likewise.
10269 * malloc/mtrace.c: Likewise.
10270 * math/bits/mathcalls.h: Likewise.
10271 * math/fenv.h: Likewise.
10272 * math/math_private.h: Likewise.
10273 * misc/bits/error.h: Likewise.
10274 * misc/bits/syslog.h: Likewise.
10275 * misc/err.h: Likewise.
10276 * misc/error.h: Likewise.
10277 * misc/fstab.h: Likewise.
10278 * misc/mntent.h: Likewise.
10279 * misc/regexp.h: Likewise.
10280 * misc/search.h: Likewise.
10281 * misc/sgtty.h: Likewise.
10282 * misc/sys/mman.h: Likewise.
10283 * misc/sys/syslog.h: Likewise.
10284 * misc/sys/uio.h: Likewise.
10285 * misc/sys/xattr.h: Likewise.
10286 * misc/ttyent.h: Likewise.
10287 * nis/rpcsvc/ypclnt.h: Likewise.
10288 * nss/nss.h: Likewise.
10289 * posix/bits/unistd.h: Likewise.
10290 * posix/fnmatch.h: Likewise.
10291 * posix/glob.h: Likewise.
10292 * posix/sched.h: Likewise.
10293 * posix/spawn.h: Likewise.
10294 * posix/sys/wait.h: Likewise.
10295 * posix/unistd.h: Likewise.
10296 * posix/wordexp.h: Likewise.
10297 * pwd/pwd.h: Likewise.
10298 * resolv/netdb.h: Likewise.
10299 * resource/sys/resource.h: Likewise.
10300 * rt/aio.h: Likewise.
10301 * rt/bits/mqueue2.h: Likewise.
10302 * rt/mqueue.h: Likewise.
10303 * shadow/shadow.h: Likewise.
10304 * signal/signal.h: Likewise.
10305 * socket/send.c: Likewise.
10306 * socket/sendto.c: Likewise.
10307 * socket/sys/socket.h: Likewise.
10308 * stdio-common/printf.h: Likewise.
10309 * stdlib/bits/stdlib.h: Likewise.
10310 * stdlib/fmtmsg.h: Likewise.
10311 * stdlib/monetary.h: Likewise.
10312 * stdlib/stdlib.h: Likewise.
10313 * stdlib/ucontext.h: Likewise.
10314 * streams/stropts.h: Likewise.
10315 * string/argz.h: Likewise.
10316 * string/bits/string2.h: Likewise.
10317 * string/string.h: Likewise.
10318 * string/strings.h: Likewise.
10319 * sunrpc/rpc/auth.h: Likewise.
10320 * sunrpc/rpc/auth_des.h: Likewise.
10321 * sunrpc/rpc/clnt.h: Likewise.
10322 * sunrpc/rpc/netdb.h: Likewise.
10323 * sunrpc/rpc/pmap_clnt.h: Likewise.
10324 * sunrpc/rpc/xdr.h: Likewise.
10325 * sysdeps/generic/inttypes.h: Likewise.
10326 * sysdeps/generic/net/if.h: Likewise.
10327 * sysdeps/generic/sys/swap.h: Likewise.
10328 * sysdeps/gnu/net/if.h: Likewise.
10329 * sysdeps/gnu/utmpx.h: Likewise.
10330 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10331 * sysdeps/i386/i486/bits/string.h: Likewise.
10332 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10333 * sysdeps/s390/bits/string.h: Likewise.
10334 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10335 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10336 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10337 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10338 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10339 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10340 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10341 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10342 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10343 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10344 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10345 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10346 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10347 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10348 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10355 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10356 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10357 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10359 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10362 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10364 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10365 * sysvipc/sys/ipc.h: Likewise.
10366 * sysvipc/sys/msg.h: Likewise.
10367 * sysvipc/sys/sem.h: Likewise.
10368 * sysvipc/sys/shm.h: Likewise.
10369 * termios/termios.h: Likewise.
10370 * time/sys/time.h: Likewise.
10371 * time/time.h: Likewise.
10372 * wcsmbs/bits/wchar2.h: Likewise.
10373 * wcsmbs/uchar.h: Likewise.
10374 * wcsmbs/wchar.h: Likewise.
10375 * wctype/wctype.h: Likewise.
10376
0269750c
UD
10377 [BZ #13551]
10378 * Makeconfig: Remove all but ELF support including AIX support.
10379 * Makerules: Likewise.
10380 * config.h.in: Likewise.
10381 * config.make.in: Likewise.
10382 * configure: Likewise.
10383 * configure.in: Likewise.
10384 * csu/Makefile: Likewise.
10385 * csu/version.c: Likewise.
10386 * debug/Makefile: Likewise.
10387 * dlfcn/Makefile: Likewise.
10388 * elf/Makefile: Likewise.
10389 * extra-lib.mk: Likewise.
10390 * iconv/Makefile: Likewise.
10391 * include/libc-symbols.h: Likewise.
10392 * include/shlib-compat.h: Likewise.
10393 * resolv/Makefile: Likewise.
10394 * resolv/res_libc.c: Likewise.
10395 * rt/Makefile: Likewise.
10396 * sysdeps/i386/asm-syntax.h: Likewise.
10397 * sysdeps/i386/sysdep.h: Likewise.
10398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10399 * sysdeps/mach/sysdep.h: Likewise.
10400 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10401 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10402 * sysdeps/s390/asm-syntax.h: Likewise.
10403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10405 * sysdeps/sh/sysdep.h: Likewise.
10406 * sysdeps/unix/sparc/sysdep.h: Likewise.
10407 * sysdeps/wordsize-32/divdi3.c: Likewise.
10408 * sysdeps/x86_64/sysdep.h: Likewise.
10409
00bbd29b
UD
10410 * argp/Versions: Remove _argp_unlock_xxx.
10411
10412 [BZ #13559]
10413 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10414 * abilist/libBrokenLocale.abilist: Likewise.
10415 * abilist/libanl.abilist: Likewise.
10416 * abilist/libc.abilist: Likewise.
10417 * abilist/libcrypt.abilist: Likewise.
10418 * abilist/libdl.abilist: Likewise.
10419 * abilist/libm.abilist: Likewise.
10420 * abilist/libnsl.abilist: Likewise.
10421 * abilist/libpthread.abilist: Likewise.
10422 * abilist/libresolv.abilist: Likewise.
10423 * abilist/librt.abilist: Likewise.
10424 * abilist/libthread_db.abilist: Likewise.
10425 * abilist/libutil.abilist: Likewise.
10426 * abilist/libnss_db.abilist: New file.
10427
10428 * scripts/abilist.awk: Add support for indirect functions.
10429
a2693a0e
UD
10430 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10431
3f05895f
UD
10432 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10433
ecb6fb48
UD
10434 * shlib-versions: Remove entries for ports architectures.
10435
664f8cb9
UD
10436 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10437 files in ports.
10438 * elf/stackguard-macros.h: Remove support for IA-64.
10439 * elf/tst-auditmod1.c: Likewise.
10440 * sysdeps/generic/ldsodefs.h: Likewise.
10441
7ae81d88
UD
10442 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10443 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10444 configure files.
10445
bdeba135
UD
10446 [BZ #13552]
10447 * configure.in: Remove --enable-omitfp support.
10448 * FAQ.in: Adjust.
10449 * config.make.in: Likewise.
10450 * Makeconfig: Likewise.
10451 * manual/install.texi: Likewise.
10452
d75a0a62
UD
10453 In case anyone cares, the IA-64 architecture could move to ports.
10454 * sysdeps/ia64/*: Removed.
10455 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10456 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10457
dcc9756b
UD
10458 [BZ #13555]
10459 * configure.in: Remove entries for unsupported architectures.
10460
d3761ebc 10461 [BZ #13533]
9954432e
UD
10462 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10463 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10464 routines.
10465 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10466 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10467 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10468 fall back to using wcrtomb.
10469 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10470 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10471 renaming.
10472 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10473 * wcsmbs/tst-c16c32-1.c: New file.
10474
10475 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10476 local variable.
10477
c3a87236
UD
10478 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10479
28926a1b
UD
10480 * elf/tst-unique3.cc: Add explicit declaration of gets.
10481 * elf/tst-unique3lib.cc: Likewise.
10482 * elf/tst-unique3lib2.cc: Likewise.
10483 * elf/tst-unique4.cc: Likewise.
10484
df78418a
UD
10485 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10486
8ecd6b2a
JM
104872012-01-06 Joseph Myers <joseph@codesourcery.com>
10488
10489 [BZ #13566]
10490 * assert/assert.h (static_assert): Don't define for C++.
10491 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10492 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10493
9f115170
UD
104942012-01-03 Ulrich Drepper <drepper@gmail.com>
10495
5e0d0300
UD
10496 * iconv/loop.c (single loop): Fix assertion in storing of
10497 remaining bytes.
10498
9f115170
UD
10499 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10500
81fb02b0
UD
105012012-01-01 Ulrich Drepper <drepper@gmail.com>
10502
10503 * posix/getconf.c: Update copyright year.
10504 * nss/getent.c: Likewise.
a316c1f6 10505 * nss/makedb.c: Likewise.
81fb02b0
UD
10506 * iconv/iconvconfig.c: Likewise.
10507 * iconv/iconv_prog.c: Likewise.
10508 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10509 * elf/pldd.c: Likewise.
10510 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10511 * catgets/gencat.c: Likewise.
10512 * csu/version.c: Likewise.
10513 * elf/ldd.bash.in: Likewise.
10514 * elf/sprof.c (print_version): Likewise.
10515 * locale/programs/locale.c: Likewise.
10516 * locale/programs/localedef.c: Likewise.
a316c1f6 10517 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10518 * nscd/nscd.c (print_version): Likewise.
10519 * debug/xtrace.sh: Likewise.
10520 * malloc/memusage.sh: Likewise.
10521 * malloc/mtrace.pl: Likewise.
10522 * debug/catchsegv.sh: Likewise.
10523
2ba92745
JJ
105242011-12-30 Jakub Jelinek <jakub@redhat.com>
10525
10526 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10527 pure attribute.
10528
dadebdae
UD
105292011-12-24 Ulrich Drepper <drepper@gmail.com>
10530
d3761ebc 10531 [BZ #13533]
db6af3eb
UD
10532 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10533 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10534 transformations.
10535 * iconv/gconv_int.h: Likewise.
10536 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10537 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10538 from libc for GLIBC_2.16.
10539 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10540 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10541 * wcsmbs/uchar.h: Really define mbstate_t.
10542 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10543 * wcsmbs/c16rtomb.c: New file.
10544 * wcsmbs/mbrtoc16.c: New file.
10545 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10546 for C/POSIX locale.
10547 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10548 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10549
dadebdae
UD
10550 * wcsmbs/wchar.h: Add missing __restrict.
10551
67371b56
UD
105522011-12-23 Ulrich Drepper <drepper@gmail.com>
10553
74033a25
UD
10554 [BZ #13532]
10555 * time/Makefile (routines): Add timespec_get.
10556 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10557 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10558 timespec for ISO C11.
10559 * time/timespec_get.c: New file.
10560 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10561 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10562
380d7e87
UD
10563 [BZ #13531]
10564 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10565 * stdlib/stdlib.h: Declare aligned_alloc.
10566 * Versions.def: Add GLIBC_2.16 for libc.
10567 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10568
4e9e7a35
UD
10569 [BZ 13527]
10570 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10571 ISO C11.
10572
380d7e87 10573 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10574 code.
10575
03a71829
UD
10576 [BZ #13528]
10577 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10578
839e283e
UD
10579 [BZ #13529]
10580 * assert/assert.h (static_assert): Define.
10581
ce5294e2 10582 * version.h: Update for 2.16 development version.
90fa7312 10583
8d44e150 10584 [BZ #13526]
d7809905
UD
10585 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10586 _ISOC11_SOURCE.
10587
c0da14cd
UD
10588 * version.h (RELEASE): Bump for 2.15 release.
10589 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10590
530a3249
MP
10591 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10592 Patch by Marek Polacek <mpolacek@redhat.com>.
10593
67371b56
UD
10594 * bits/byteswap.h: Protect long long constants with __extension__.
10595 * sysdeps/i386/bits/byteswap.h: Likewise.
10596 * sysdeps/ia64/bits/byteswap.h: Likewise.
10597 * sysdeps/s390/bits/byteswap.h: Likewise.
10598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10599
15db4de1
LD
106002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10601
10602 [BZ #13540]
bbe315ea
LD
10603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10604 destination buffer.
15db4de1
LD
10605 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10606
2b2596b1
MP
106072011-12-23 Marek Polacek <polacek@redhat.com>
10608
10609 * elf/dl-addr.c (determine_info): Add inline keyword.
10610 * elf/tst-auditmod4b.c (check_avx): Likewise.
10611 * elf/tst-auditmod6b.c (check_avx): Likewise.
10612 * elf/tst-auditmod6c.c (check_avx): Likewise.
10613 * elf/tst-auditmod7b.c (check_avx): Likewise.
10614
70c6c246
UD
106152011-12-23 Ulrich Drepper <drepper@gmail.com>
10616
10617 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10618 !__SSE_MATH__.
10619
c044cf14
LD
106202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10621
15db4de1 10622 [BZ #13540]
c044cf14
LD
10623 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10624 processing for last bytes.
10625
6b13d9d9
BH
106262011-08-06 Bruno Haible <bruno@clisp.org>
10627
d455f537
BH
10628 [BZ #13061]
10629 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10630 U+0385, not to U+1FEE.
10631
6b13d9d9
BH
10632 [BZ #13062]
10633 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10634 entry for U+00A5 U+0301.
10635
db910efd
UD
106362011-12-22 Ulrich Drepper <drepper@gmail.com>
10637
27deeafc
UD
10638 [BZ #13166]
10639 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10640 buffer for the output is too small.
10641
aed9d171
UD
10642 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10643 optimization.
10644
db910efd
UD
10645 [BZ #13185]
10646 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10647 SSE flags if possible.
10648
2bd779ae
LD
106492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10650
e7f9dac3 10651 [BZ #13540]
2bd779ae
LD
10652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10653 processing for last bytes.
10654
154bfc16
JM
106552011-12-22 Joseph Myers <joseph@codesourcery.com>
10656
10657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10658 (syscall-list-default-options, syscall-list-default-condition)
10659 (syscall-list-includes): Define.
10660 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10661 list of ABIs and options and #if conditions for each ABI. Do not
10662 handle common syscalls between ABIs specially.
10663 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10664 Remove.
10665 (syscall-list-variants, syscall-list-32bit-options)
10666 (syscall-list-32bit-condition, syscall-list-64bit-options)
10667 (syscall-list-64bit-condition): Define.
10668 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10669 (syscall-list-variants, syscall-list-32bit-options)
10670 (syscall-list-32bit-condition, syscall-list-64bit-options)
10671 (syscall-list-64bit-condition): Define.
10672 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10673 Remove.
10674 (syscall-list-variants, syscall-list-32bit-options)
10675 (syscall-list-32bit-condition, syscall-list-64bit-options)
10676 (syscall-list-64bit-condition): Define.
10677 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10678 Remove.
10679 (syscall-list-variants, syscall-list-32bit-options)
10680 (syscall-list-32bit-condition, syscall-list-64bit-options)
10681 (syscall-list-64bit-condition): Define.
10682
21eaf3a5
UD
106832011-12-22 Ulrich Drepper <drepper@gmail.com>
10684
16c6f992
UD
10685 * locale/iso-639.def: Add brx entry.
10686
41043168
UD
10687 [BZ #13328]
10688 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10689 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10690
21eaf3a5
UD
10691 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10692 __feraiseexcept_renamed.
10693
e3a851a2
UD
106942011-12-21 Ulrich Drepper <drepper@gmail.com>
10695
4920765e
UD
10696 [BZ #13538]
10697 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10698 EPOLLET with unsigned values.
10699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10701
e3a851a2
UD
10702 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10703 to large cancellation.
10704 * math/s_cacoshf.c: Likewise.
10705 * math/s_cacoshl.c: Likewise.
10706
b27e24b8
RK
107072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10708
10709 [BZ #13305]
aebefeee 10710 [BZ #12786]
b27e24b8
RK
10711 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10712 * math/s_cacoshf.c: Likewise.
10713 * math/s_cacoshl.c: Likewise.
10714
ee190f67
UD
107152011-12-21 Ulrich Drepper <drepper@gmail.com>
10716
10717 [BZ #13439]
10718 * iconv/gconv.h: Define __GCONV_SWAP.
10719 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10720 * iconvdata/utf-16.c: Likewise.
10721 * iconvdata/utf-32.c: Likewise.
10722
707f25df
AS
107232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 [BZ #13524]
10726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10727 numerator after shifting it by one limb.
10728
d2daaa1e
RÁE
107292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10730
10731 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10732 under [__USE_EXTERN_INLINES].
10733
a4647e72
UD
107342011-12-17 Ulrich Drepper <drepper@gmail.com>
10735
10736 [BZ #13446]
10737 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10738
f0b264f1
AZ
107392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10740
10741 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10742 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10743 optimized code.
10744 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10746 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10747 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10748 for strncasecmp/strncasecmp_l compilation.
10749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10750 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10751
8ef4f244
MP
107522011-12-08 Marek Polacek <mpolacek@redhat.com>
10753
10754 [BZ #13484]
10755 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10756 of __asm__.
10757
97ac2654
UD
107582011-12-17 Ulrich Drepper <drepper@gmail.com>
10759
10760 [BZ #13506]
10761 * time/tzfile.c (__tzfile_read): Check values from file header.
10762
91d2a845
WS
107632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10764
10765 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10766 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10767 * powerpc/powerpc32/dl-start.S: Likewise.
10768 * powerpc/powerpc32/elf/start.S: Likewise.
10769 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10770 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10771 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10772 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10773 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10774 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10775 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10776 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10777 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10778 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10779 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10780 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10781 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10782 * powerpc/powerpc32/memset.S: Likewise.
10783 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10784 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10785 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10786 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10787 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10788 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10789 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10790 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10791 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10792 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10794 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10795 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10796
a1267ba1
AZ
107972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10798
10799 * math/libm-test.inc: Added more nearbyint tests.
10800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10804
ad8ac1bd
RL
108052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10806
10807 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10808 FD_CLOEXEC.
10809
1d3e4b61
UD
108102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10811
10812 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10813 Add wcscpy-ssse3 wcscpy-c.
10814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10815 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10816 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10817 * sysdeps/x86_64/wcschr.S: New file.
10818 * sysdeps/x86_64/wcsrchr.S: New file.
10819 * string/test-strcmp.c: Remove checking of wcscmp function for
10820 wrong alignments.
10821 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10822 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10823 wcsrchr-sse2 wcsrchr-c.
10824 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10825 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10826 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10827 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10828 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10829 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10830 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10831 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10833 * wcsmbc/wcschr.c (WCSCHR): New macro.
10834
5b330a2d
UD
108352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10836
10837 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10838 * wcsmbs/test-wcsrchr.c: New file.
10839 * string/test-strrchr.c: Add wcsrchr support.
10840 (WIDE): New macro.
10841 * wcsmbs/test-wcscpy.c: New file.
10842 * string/test-strcpy.c: Add wcscpy support.
10843 (WIDE): New macro.
26428b7c 10844
f039c043
UD
108452011-12-10 Ulrich Drepper <drepper@gmail.com>
10846
10847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10848 the inner loop.
10849
850fb039
AS
108502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10851
10852 [BZ #13472]
10853 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10854
4efbd5cb
UD
108552011-12-04 Ulrich Drepper <drepper@gmail.com>
10856
52ff5dd0 10857 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10858 Minor optimizations.
52ff5dd0 10859
4efbd5cb
UD
10860 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10861 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10862 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10863
8a426e12
UD
108642011-12-03 Ulrich Drepper <drepper@gmail.com>
10865
aff2453d
UD
10866 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10867 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10868 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10869 for gcc to avoid warnings.
10870 * inet/Makefile (tests): Add tst-checks.
10871 * inet/tst-checks.c: New file.
10872
10873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10874 warning.
10875
10876 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10877 __wmemcmp_sse2.
10878
10879 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10880 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10881
8a426e12
UD
10882 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10883
9bea3473
UD
108842011-12-02 Ulrich Drepper <drepper@gmail.com>
10885
3a965496
UD
10886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10887 problem.
10888
9bea3473
UD
10889 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10890
f101631b
UD
108912011-11-29 Joseph Myers <joseph@codesourcery.com>
10892
10893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10894 conditional on GCC version.
10895 (__arch_compare_and_exchange_val_8_acq)
10896 (__arch_compare_and_exchange_val_16_acq)
10897 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10898 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10899 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10900
a98275aa
UD
109012011-12-02 Joseph Myers <joseph@codesourcery.com>
10902
10903 * sysdeps/sh/backtrace.c: New file.
10904
d4cc29a2
AS
109052011-12-02 Andreas Schwab <schwab@redhat.com>
10906
10907 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10908 parenthesis.
10909
6257af2d
AS
109102011-12-01 Andreas Schwab <schwab@redhat.com>
10911
10912 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10913 falling back to utime.
10914
b5f44c1a
AS
109152011-11-30 Andreas Schwab <schwab@redhat.com>
10916
10917 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10918 expectations for float.
10919
f3a6cc0a
AS
109202011-11-29 Andreas Schwab <schwab@redhat.com>
10921
10922 * locale/weight.h (findidx): Add parameter len.
10923 * locale/weightwc.h (findidx): Likewise.
10924 * posix/fnmatch_loop.c (FCT): Adjust caller.
10925 * posix/regcomp.c (build_equiv_class): Likewise.
10926 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10927 * posix/regexec.c (check_node_accept_bytes): Likewise.
10928 * string/strcoll_l.c (STRCOLL): Likewise.
10929 * string/strxfrm_l.c (STRXFRM): Likewise.
10930
9d65ea3a
UD
109312011-11-17 Ulrich Drepper <drepper@gmail.com>
10932
10933 * Makefile.in: Remove CVSOPT handling.
10934 * configure.in: Remove use of AC_REVISION.
10935 * iconvdata/Makefile (distribute): No need to filter out CVS.
10936 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10937 handling.
10938
5583a086
AS
109392011-11-16 Andreas Schwab <schwab@redhat.com>
10940
10941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10942 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10943 [USE_AS_STRNCASECMP_L]: Likewise.
10944 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10945 NO_TLS_DIRECT_SEG_REFS.
10946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10947 Fix argument offsets for non-PIC.
10948 [USE_AS_STRNCASECMP_L]: Likewise.
10949 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10950 NO_TLS_DIRECT_SEG_REFS.
10951
d62a8200
UD
109522011-11-15 Ulrich Drepper <drepper@gmail.com>
10953
9d65ea3a 10954 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10955 O_CLOEXEC.
10956 * locale/loadlocale.c (_nl_load_locale): Likewise.
10957
09f93bd3
AS
109582011-11-15 Andreas Schwab <schwab@redhat.com>
10959
446514f9
AS
10960 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10961 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10963 (SYSCALL_GETTIME): Set errno on error.
10964
09f93bd3
AS
10965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10966 count references to noai6ai_cached.
10967
312be3f9
UD
109682011-11-15 Ulrich Drepper <drepper@gmail.com>
10969
10970 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10971
10972 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10973 FD_CLOEXEC for /proc/self/maps.
10974
10975 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10976 FD_CLOEXEC for /proc/meminfo.
10977
10978 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10979 gai.conf.
10980
10981 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10982 FD_CLOEXEC for given file.
10983
10984 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10985
10986 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10987 FD_CLOEXEC for /etc/hosts.
10988 (_gethtent): Likewise.
10989
10990 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10991
10992 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10993 cancellation and set FD_CLOEXEC for /etc/netgroup.
10994
10995 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10996 reading /etc/publickey.
10997
10998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10999 allow cancellation when reading /etc/group.
11000
11001 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11002 cancellation.
11003 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11004
11005 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11006 when using data file.
11007
11008 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11009
11010 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11011 (write_nis_obj): Use "c" and "e" in fopen.
11012
11013 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11014
11015 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11016
11017 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11018
11019 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11020
11021 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11022 locale.alias.
11023
11024 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11025
11026 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11027
11028 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11029
11030 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11031 file parsing and set FD_CLOEXEC.
11032
82af0fa8
UD
110332011-11-14 Ulrich Drepper <drepper@gmail.com>
11034
11035 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11036
a5fb313c
AS
110372011-11-14 Andreas Schwab <schwab@redhat.com>
11038
11039 * malloc/arena.c (arena_get2): Don't call reused_arena when
11040 _int_new_arena failed.
11041
6abf3465
UD
110422011-11-14 Ulrich Drepper <drepper@gmail.com>
11043
11044 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11045 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11050 to compile strcasecmp and strncasecmp.
11051 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11052 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11053
11054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11055
76e3966e
UD
110562011-11-13 Ulrich Drepper <drepper@gmail.com>
11057
11058 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11059 locale-defines.sym to gen-as-const-headers.
11060 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11061 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11063 to compile strcasecmp and strncasecmp.
11064 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11065 strcasecmp_l and strncasecmp_l.
11066 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11067 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11068 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11069 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11070 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11072 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11073 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11074 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11075 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11076 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11077
ab26144e
UD
110782011-11-12 Ulrich Drepper <drepper@gmail.com>
11079
7edb22ef
UD
11080 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11081 result of SYSDEP_GETTIME_CPU to retval.
11082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11083 parameter list to macro. Remove trailing semicolon. Adjust users.
11084
9694fc44
UD
11085 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11086 variable.
11087
8ad89ef8
UD
11088 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11089 mantissa words.
11090 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11091
0c822ef9
UD
11092 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11093 from unused variable.
11094
874e0564
UD
11095 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11096 DWARF definitions.
11097 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11098 for assembling.
11099
3a2edc79
UD
11100 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11101 over namespaces.
11102
f3c2577f
UD
11103 * sunrpc/rpc_prot.c (rejected): Fix case value.
11104
294ce126
UD
11105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11106 unsigned long long int to avoid warnings in shift.
11107
5e2b63c6
UD
11108 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11109 of use of trans.
11110 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11111 variable tmp.
11112
e7f4b08e
UD
11113 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11114 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11116
ab26144e
UD
11117 * nis/nis_table.c (nis_list): Use variable of correct type for
11118 result of __follow_path call.
11119
8a6d5255
AZ
111202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11121
11122 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11123 of math functions ceil, trunc, floor, round, and sqrt, when
11124 avaliable on the platform.
11125 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11126 name clash.
11127 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11128 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11129 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11130
aaddc98c
MP
111312011-10-30 Marek Polacek <mpolacek@redhat.com>
11132
11133 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11135
95b7042b
RM
111362011-11-11 Roland McGrath <roland@hack.frob.com>
11137
11138 * include/unistd.h: Fix __readlink return type.
11139 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11140
57769839
UD
111412011-11-11 Ulrich Drepper <drepper@gmail.com>
11142
11143 * stdlib/ucontext.h: Undo last change for makecontext.
11144
edc5984d
AS
111452011-11-11 Andreas Schwab <schwab@redhat.com>
11146
98591e58
AS
11147 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11148
edc5984d
AS
11149 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11150 * setjmp/setjmp.h: Mark functions as non-leaf.
11151 * setjmp/bits/setjmp2.h: Likewise.
11152 * stdlib/ucontext.h: Likewise.
11153
77cdc054
AS
111542011-11-10 Andreas Schwab <schwab@redhat.com>
11155
11156 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11157 (reused_arena): Don't check arena limit.
11158 (arena_get2): Atomically check arena limit.
11159
fe72eebd
UD
111602011-11-08 Ulrich Drepper <drepper@gmail.com>
11161
5f078c32
UD
11162 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11163 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11164
fe72eebd
UD
11165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11166 instructions.
11167
ae1bc2fa
AS
111682011-11-07 Andreas Schwab <schwab@redhat.com>
11169
7583a88d
AS
11170 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11171 handler when locking.
11172
ae1bc2fa
AS
11173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11174 Fix size of allocated buffer.
11175
10fb0bfa
AS
111762011-11-04 Andreas Schwab <schwab@redhat.com>
11177
998832a4
AS
11178 [BZ #10103]
11179 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11180 declarations for long double functions.
11181 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11182
10fb0bfa
AS
11183 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11184
3d7ba52b
AS
111852011-11-03 Andreas Schwab <schwab@redhat.com>
11186
a9ae54a1
AS
11187 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11188 installed.
11189
3d7ba52b
AS
11190 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11191 is disabled.
11192
bc8db248
ST
111932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11194
11195 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11196
45b96dd6
AS
111972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11198
647776f6
AS
11199 * include/alloca.h (stackinfo_alloca_round): Define.
11200 (extend_alloca): Use it.
11201 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11202 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11203 here.
11204
d91a8b93
AS
11205 * scripts/check-local-headers.sh: Ignore libaudit.h.
11206
45b96dd6
AS
11207 * nscd/Makefile (extra-objs): Make recursively expanded.
11208
432d41ce
UD
112092011-11-01 Ulrich Drepper <drepper@gmail.com>
11210
34372fc6
UD
11211 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11213
fadb59f8
UD
11214 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11215 * posix/tst-rfc3484-2.c: Likewise.
11216 * posix/tst-rfc3484-3.c: Likewise.
11217
78239589
UD
11218 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11219 process_vm_writev.
11220 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11221 process_vm_writev.
11222 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11223 process_vm_writev from libc using GLIBC_2.15 version.
11224
432d41ce
UD
11225 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11226
02f9c6cf
PP
112272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11228
11229 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11230 stack usage.
11231
3a2c0242
UD
112322011-10-31 Ulrich Drepper <drepper@gmail.com>
11233
f4ec4833
UD
11234 [BZ #13367]
11235 * nss/getent.c (initgroups_keys): Show error message in case no group
11236 names are given.
11237
3a2c0242
UD
11238 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11239 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11240 __bump_nl_timestamp.
11241 * nscd/connections (nscd_init): When host database is served open
11242 netlink socket and request notification about configuration changes.
11243 (main_loop_poll): Track netlink file descriptor and bump timestamp
11244 in case data becomes available.
11245 (main_loop_epoll): Likewise.
11246 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11247 (database_pers_head): Add extra_data fileds.
11248 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11249 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11250 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11251 Adjust caller.
11252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11253 in6ai data, call __free_in6ai.
11254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11255 Add -DHAVE_NETLINK.
11256 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11257 interface information. Reuse previous data if netlink timestamp
11258 is not changed.
11259 (__bump_nl_timestamp): New function.
11260 (__free_in6ai): New function.
11261
636064eb
UD
112622011-10-30 Ulrich Drepper <drepper@gmail.com>
11263
11264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11265 close_not_cancel_no_status here.
11266 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11267
9beb2334
UD
112682011-10-29 Ulrich Drepper <drepper@gmail.com>
11269
6ef76f3b
UD
11270 [BZ #13276]
11271 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11272 return value.
11273
0ffc4f3e 11274 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11275 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11276 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11277
cb95113e
UD
112782011-07-03 Andreas Jaeger <aj@suse.de>
11279
11280 [BZ #10709]
11281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11282 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11283 * math/libm-test.inc (sin_test): Add test case.
11284
a1b560ff
UD
112852011-10-29 Ulrich Drepper <drepper@gmail.com>
11286
c9aaface
UD
11287 [BZ #13337]
11288 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11289 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11290
d272e7f1
UD
11291 * elf/chroot_canon.c (chroot_canon): Cleanups.
11292
1bc33071
UD
11293 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11294
1760874d
TJ
11295 [BZ #13335]
11296 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11297 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11298
51d91b18
UD
11299 * string/test-strchr.c: Make usable for strchrnul testing.
11300 * string/test-strchrnul.c: New file.
11301 * string/Makefile (strop-tests): Add strchrnul.
11302
a1b560ff 11303 * po/it.po: Update from translation team.
b611fb81 11304 * po/es.po: Likewise.
a1b560ff 11305
a5b81e1f
UD
113062011-10-28 Ulrich Drepper <drepper@gmail.com>
11307
fd52bc6d
UD
11308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11309 the three constants needed as parameters. Drop the others.
11310 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11311 __m128i_strloadu_tolower.
52e4b9eb
UD
11312 Create and initialize variable zero and use it in all the places
11313 where _mm_setzero_si128 was used.
fd52bc6d 11314
a5b81e1f
UD
11315 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11316 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11317 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11319 anymore.
11320 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11321 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11322 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11323 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11325 __mpranred, __mptan.
11326 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11327 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11328 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11329 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11330 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11331 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11333 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11334 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11335
b4343346
AS
113362011-10-28 Andreas Schwab <schwab@redhat.com>
11337
0c92d8a8
AS
11338 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11339 redefine if SHARED.
11340 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11341
b4343346
AS
11342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11343 wide char related routines to wcsmbs subdir.
11344
3871f58f
AS
113452011-10-27 Andreas Schwab <schwab@redhat.com>
11346
11347 [BZ #13344]
11348 * misc/sys/cdefs.h (__THROWNL): Define.
11349 * posix/unistd.h: Use __THREADNL instead of __THREAD
11350 for memory synchronization functions.
11351
94d44d9f
RM
113522011-10-26 Roland McGrath <roland@hack.frob.com>
11353
21b64b15 11354 [BZ #13349]
94d44d9f
RM
11355 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11356 doesn't exist.
11357 * manual/stdio.texi (Obstack Streams): Node removed.
11358
f6ce9294
AS
113592011-10-26 Andreas Schwab <schwab@redhat.com>
11360
80479147
AS
11361 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11362 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11364
f6ce9294
AS
11365 * math/math_private.h (math_force_eval): Allow non-addressable
11366 arguments.
11367 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11368
618280a1
UD
113692011-10-25 Ulrich Drepper <drepper@gmail.com>
11370
e0016b11
UD
11371 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11372 file is not needed.
11373
11374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11381 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11382 Add AVX variants.
11383 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11384 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11385 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11386 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11388 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11389 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11391 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11392 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11393 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11394 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11397 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11398 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11399 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11401 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11402
11403 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11404 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11405
618280a1
UD
11406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11407 place. Use VEX encoding when compiling for AVX.
11408
37822576
AS
114092011-10-25 Andreas Schwab <schwab@redhat.com>
11410
1f1e1947
AS
11411 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11412 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11413
37822576
AS
11414 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11415
31ea014d
UD
114162011-10-25 Ulrich Drepper <drepper@gmail.com>
11417
d7826aa1 11418 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11419 useless if() expression.
d7826aa1
UD
11420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11436 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11438 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11439
31ea014d
UD
11440 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11441
16437fec
AS
114422011-10-25 Andreas Schwab <schwab@redhat.com>
11443
11444 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11445 condition.
11446 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11447
31d3cc00
UD
114482011-10-25 Ulrich Drepper <drepper@gmail.com>
11449
11450 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11451 .text section. Avoid duplicate constants.
11452 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11462 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11464 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11469 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11479 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11480 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11482 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11483 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11484 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11485 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11486 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11487 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11488 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11489 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11490 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11491 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11497
58985aa9
UD
114982011-10-24 Ulrich Drepper <drepper@gmail.com>
11499
202c9deb
UD
11500 * sysdeps/x86_64/dla.h: Move to ...
11501 * sysdeps/x86_64/fpu/dla.h: ...here.
11502 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11503 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11504
af968f62
UD
11505 * config.make.in: Add have-mfma4 entry.
11506 * configure.in: Substitute libc_cv_cc_fma4.
11507 * math/Makefile (dbl-only-routines): Add sincostab.
11508 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11509 Use __sincostab not sincos.
11510 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11511 name is a macro.
11512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11516 using __copysign.
11517 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11518 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11519 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11520 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11521 and __inv.
11522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11523 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11524 __copysign.
11525 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11526 define aliases when function name is a macro.
11527 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11528 sysdeps/ieee754/dbl-64/sincos.tbl.
11529 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11530 fma4-enabled routines.
11531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11532 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11533 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11534 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11536 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11541 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11542 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11543 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11544 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11545 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11546 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11547 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11548 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11549 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11551 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11552 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11558 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11559 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11560 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11561
58985aa9
UD
11562 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11563 rename.
11564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11572
a201fbcf
AS
115732011-10-24 Andreas Schwab <schwab@redhat.com>
11574
11575 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11576
fc2ee42a
LD
115772011-10-23 Ulrich Drepper <drepper@gmail.com>
11578
bb3129bd
UD
11579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11580
0275fff8
UD
11581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11582 prediction.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11584
2fa2ae85
UD
11585 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11586 Remove unused variable magic_bits.
11587 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11588
fc2ee42a
LD
11589 * string/strnlen.c: Define and use STRNLEN macro.
11590 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11591 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11593 * wcsmbs/wcslen.c: Define and use WCSLEN.
11594 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11595 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11596 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11597 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11598 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11599 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11601
ce7dd29f
LD
116022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11603
11604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11605 strnlen-sse2-no-bsf.
11606 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11608 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11609 Add strnlen support.
11610 (USE_AS_STRNLEN): New macro.
11611 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11612 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11613 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11614 * sysdeps/x86_64/wcslen.S: New file.
11615
979c70a3
MZ
116162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11617
11618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11619 XMM-moves are used for copying on small sizes.
11620
2d09f82f
LD
116212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11622
11623 * wcsmbs/Makefile (strop-tests): Add wcschr.
11624 * wcsmbs/test-wcschr.c: New file.
11625 * string/test-strchr.c: Update.
11626 Add wcschr support.
11627 (WIDE): New macro.
11628
619fccca
LD
116292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11630
2d09f82f 11631 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11632 * wcsmbs/test-wcslen.c: New file.
11633 * string/test-strlen.c: Update.
11634 Add wcslen support.
11635 (WIDE): New macro.
11636
09f699ea
UD
116372011-10-23 Ulrich Drepper <drepper@gmail.com>
11638
11639 * po/it.po: Update from translation team.
11640
95584d3b
LD
116412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11642
11643 * sysdeps/x86_64/wcscmp.S: Update.
11644 Fix wrong comparison semantics.
11645 wcscmp shall use signed comparison not unsigned.
11646 Don't use substraction to avoid overflow bug.
11647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11648 * wcsmbc/wcscmp.c: Likewise.
11649 * string/test-strcmp.c: Likewise.
11650 Add new tests to check cases with negative values.
11651
c8b3296b
UD
116522011-10-23 Ulrich Drepper <drepper@gmail.com>
11653
11654 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11655 * sysdeps/x86_64/dla.h: ...here. New file.
11656 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11665
246ad57a
AS
116662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11667
11668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11669 __ynl_finite aliases.
11670
a1a87169
UD
116712011-10-22 Ulrich Drepper <drepper@gmail.com>
11672
0d355eb7
UD
11673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11674
a1a87169
UD
11675 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11676 define DLA_FMA.
11677 [DLA_FMA] (EMULV): Use DLA_FMA.
11678 [DLA_FMA] (MUL12): Use EMULV.
11679 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11680 that are not needed.
11681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11688
ee2aafe0
AS
116892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11690
11691 * math/s_nan.c: Undef __nan.
11692 * math/s_nanf.c: Undef __nanf.
11693 * math/s_nanl.c: Undef __nanl.
11694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11695 "math_private.h".
11696
bc62c2fb
UD
116972011-10-22 Ulrich Drepper <drepper@gmail.com>
11698
77425c63
UD
11699 * math/s_catan.c: Add branch predictions.
11700 * math/s_catanf.c: Likewise.
11701 * math/s_catanh.c: Likewise.
11702 * math/s_catanhf.c: Likewise.
11703 * math/s_catanhl.c: Likewise.
11704 * math/s_catanl.c: Likewise.
11705 * math/s_cexp.c: Likewise.
11706 * math/s_cexpf.c: Likewise.
11707 * math/s_cexpl.c: Likewise.
11708 * math/s_clog.c: Likewise.
11709 * math/s_clog10.c: Likewise.
11710 * math/s_clog10f.c: Likewise.
11711 * math/s_clog10l.c: Likewise.
11712 * math/s_clogf.c: Likewise.
11713 * math/s_clogl.c: Likewise.
11714 * math/s_csqrt.c: Likewise.
11715 * math/s_csqrtf.c: Likewise.
11716 * math/s_csqrtl.c: Likewise.
11717 * math/s_ctanf.c: Likewise.
11718 * math/s_ctanh.c: Likewise.
11719 * math/s_ctanhf.c: Likewise.
11720 * math/s_ctanhl.c: Likewise.
11721 * math/s_ctanl.c: Likewise.
11722
bc62c2fb
UD
11723 * math/math_private.h: Define __nan, __nanf, __nanl.
11724 * math/s_cacosh.c: Include <math_private.h>.
11725 * math/s_cacoshl.c: Likewise.
11726 * math/s_casinh.c: Likewise.
11727 * math/s_casinhf.c: Likewise.
11728 * math/s_casinhl.c: Likewise.
11729 * math/s_ccos.c: Rely entire on ccosh.
11730 * math/s_ccosf.c: Rely entire on ccoshf.
11731 * math/s_ccosl.c: Rely entirely on ccoshl.
11732 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11733 Remove tests for FE_INVALID.
11734 * math/s_ccoshf.c: Likewise.
11735 * math/s_ccoshl.c: Likewise.
11736 * math/s_csin.c: Likewise.
11737 * math/s_csinf.c: Likewise.
11738 * math/s_csinh.c Likewise.
11739 * math/s_csinhf.c: Likewise.
11740 * math/s_csinhl.c: Likewise.
11741 * math/s_csinl.c: Likewise.
11742 * math/s_ctan.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11744 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11746
8ec250a4
UD
117472011-10-21 Ulrich Drepper <drepper@gmail.com>
11748
c196fed8
UD
11749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11750 compilation problems.
11751
8ec250a4
UD
11752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11753 __builtin_expect.
11754
8d4f46c6
UD
117552011-10-20 Ulrich Drepper <drepper@gmail.com>
11756
ed72b654
UD
11757 * sysdeps/i386/configure.in: Test for -mfma4 option.
11758 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11759 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11760 COMMON_CPUID_INDEX_80000001.
11761 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11762 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11763 use it if FMA3 is not supported.
11764 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11765
8d4f46c6
UD
11766 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11767 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11768
d45c60c2
AS
117692011-10-20 Andreas Schwab <schwab@redhat.com>
11770
11771 [BZ #12892]
11772 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11773 it would create a cycle with a link time dependency.
11774
d9a4d2ab
UD
117752011-10-19 Ulrich Drepper <drepper@gmail.com>
11776
855d1560
UD
11777 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11778 instruction.
11779 * string/Makefile (strop-tests): Add rawmemchr.
11780 * string/test-rawmemchr.c: New file.
11781
d9a4d2ab
UD
11782 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11783 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11784 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11785 when compiling str{,n}casecmp and when AVX is available. Hook up
11786 new optimized code in initializers.
11787
8f3b1ffe
AS
117882011-10-19 Andreas Schwab <schwab@redhat.com>
11789
11790 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11791 __feraiseexcept instead of feraiseexcept.
11792
d38f1dba
UD
117932011-10-18 Ulrich Drepper <drepper@gmail.com>
11794
d9a8d0ab
UD
11795 * math/math_private.h: Define defaults for libc_fetestexcept and
11796 libc_feupdateenv.
11797 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11798 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11800 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11801 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11802 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11803 libc_fetestexcept and libc_feupdateenv.
11804
4855e3dd
UD
11805 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11806 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11807 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11808 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11809 libc_feholdexcept_setround.
11810
581d30e3
UD
11811 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11812 Add s_nearbyint-c and s_nearbyintf-c.
11813 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11814 nearbyintf inlines.
11815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11819
d38f1dba
UD
11820 * math/math_private.h: Define defaults for libc_fegetround,
11821 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11822 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11823 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11825 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11826 standard functions.
11827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11828 Remove comments and hacks for old compiler versions.
11829 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11830 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11831 libc_feholdexceptl.
11832
caa6c9d8
AS
118332011-10-18 Andreas Schwab <schwab@redhat.com>
11834
11835 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11836 (__feraiseexcept_renamed): Add __NTH.
11837 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11838 namespace violations.
11839
97c066e6
UD
118402011-10-17 Ulrich Drepper <drepper@gmail.com>
11841
99ce7b04
UD
11842 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11843
1004d182
UD
11844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11845
228a984d
UD
11846 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11847 recently added interfaces.
11848 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11849
c8553a6a
UD
11850 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11851 about macro parameter expansion.
11852
ed22dcf6
UD
11853 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11854 __NO_MATH_INLINES is defined. Cleanups.
11855
11856 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11857 and __floorf is target has SSE4.1.
11858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11859 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11862
b171c137
UD
11863 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11864 name.
11865 (floorf): Likewise.
11866
97c066e6
UD
11867 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11868
629f62ef
AS
118692011-10-17 Andreas Schwab <schwab@redhat.com>
11870
49a43d80
AS
11871 * misc/sys/cdefs.h: Fix last change.
11872
629f62ef
AS
11873 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11874 database lookup.
11875
e453f6cd
UD
118762011-10-16 Ulrich Drepper <drepper@gmail.com>
11877
aa78043a
UD
11878 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11879
ad0f5cad
UD
11880 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11887 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11889 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11890 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11891 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11892 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11893 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11894 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11895 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11896 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11897 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11898 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11899 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11900 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11901 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11902
11903 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11904 ceil, ceilf, floor, floorf.
11905
11906 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11907 Perform IRELATIVE relocations last.
11908
e453f6cd
UD
11909 * elf/do-rel.h: Add another parameter nrelative, replacing the
11910 local variable with the same name. Change name of the function
11911 to end in Rel or Rela (uppercase).
11912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11913 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11914 elf_dynamic_do_##reloc function.
11915
fd5bdc09
UD
119162011-10-15 Ulrich Drepper <drepper@gmail.com>
11917
79b195b5
UD
11918 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11919 is sufficient, at least on modern CPUs.
11920
d4a28569
UD
11921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11922
b61099b5
UD
11923 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11924 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11925
bcf01e6d
UD
11926 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11927 __expl_finite.
11928 * math/bits/math-finite.h: Add entries for exp.
11929 * math/e_expl.c: Add __*_finite alias.
11930 * sysdeps/i386/fpu/e_exp.S: Likewise.
11931 * sysdeps/i386/fpu/e_expf.S: Likewise.
11932 * sysdeps/i386/fpu/e_expl.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11934 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11937 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11938 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11939 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11940
ba1a0d59
UD
11941 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11942 is sufficient, at least on modern CPUs.
11943
fd5bdc09
UD
11944 * ctype/ctype-info.c (__ctype_init): Define.
11945 * include/ctype.h (__ctype_init): Declare.
11946 (__ctype_b_loc): The variable is always initialized.
11947 (__ctype_toupper_loc): Likewise.
11948 (__ctype_tolower_loc): Likewise.
11949 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11950 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11951
7872cfb0
AS
119522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11953
b468825a
AS
11954 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11955
7872cfb0
AS
11956 * configure.in: Also look in $cxxmachine/include for C++ system
11957 headers.
11958
be13f7bf
LD
119592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11960
11961 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11962 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11963 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11964 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11965 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11966 (USE_AS_WMEMCMP): New macro.
11967 Fixing indents.
11968 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11969 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11970 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11971 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11973 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11974 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11975 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11976 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11977 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11978 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11979 (USE_AS_WMEMCMP): New macro.
11980 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11981 * sysdeps/string/test-memcmp.c: Update.
11982 Fix simple_wmemcmp.
11983 Add new tests.
11984 * wcsmbs/wmemcmp.c: Update.
11985 (WMEMCMP): New macro.
11986 Fix overflow bug.
11987
556a2007
AJ
119882011-10-12 Andreas Jaeger <aj@suse.de>
11989
11990 [BZ #13268]
11991 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11992
538faaa7
UD
119932011-10-15 Ulrich Drepper <drepper@gmail.com>
11994
ab6737ff
UD
11995 * libio/iofwide.c (do_length): Avoid warning.
11996
538faaa7
UD
11997 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11998
396a21b1
UD
119992011-10-14 Ulrich Drepper <drepper@gmail.com>
12000
cdf2901f
UD
12001 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12002
38ad40ce
UD
12003 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12004 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12005 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12006 * sysdeps/i386/i686/fpu/e_log.S: New file.
12007 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12008 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12009
396a21b1
UD
12010 * ctype/ctype.h: Add support for inlined isXXX functions when
12011 compiling C++ code.
12012
6b1f68c9
AS
120132011-10-14 Andreas Schwab <schwab@redhat.com>
12014
349290c0
AS
12015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12016
6b1f68c9
AS
12017 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12018
f2282d42
RM
120192011-10-13 Roland McGrath <roland@hack.frob.com>
12020
12021 [BZ #13291]
12022 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12023
5298ffa8
AS
120242011-10-13 Andreas Schwab <schwab@redhat.com>
12025
714fad23
AS
12026 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12027 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12028 feraiseexcept.
12029
81dcc7fb
AS
12030 * sysdeps/x86_64/memrchr.S: Check for zero size.
12031
5298ffa8
AS
12032 * string/stratcliff.c: Add memrchr tests.
12033
951fbcec
LD
120342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12035
12036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12037 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12038 rawmemchr-sse2 rawmemchr-sse2-bsf.
12039 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12040 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12041 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12042 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12043 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12044 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12045 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12046 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12049 * string/memrchr.c (MEMRCHR): New macro.
12050
0ac5ae23
UD
120512011-10-12 Ulrich Drepper <drepper@gmail.com>
12052
12053 Add integration with gcc's -ffinite-math-only and optimize wrapper
12054 functions in libm.
12055 * Versions.def: Define GLIBC_2.15 version for libm.
12056 * math/Makefile (headers): Add bits/math-finite.h.
12057 * math/bits/math-finite.h: New file.
12058 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12059 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12060 * math/e_acoshl.c: Add __*_finite alias.
12061 * math/e_acosl.c: Likewise.
12062 * math/e_asinl.c: Likewise.
12063 * math/e_atan2l.c: Likewise.
12064 * math/e_atanhl.c: Likewise.
12065 * math/e_coshl.c: Likewise.
12066 * math/e_exp10.c: Likewise.
12067 * math/e_exp10f.c: Likewise.
12068 * math/e_exp10l.c: Likewise.
12069 * math/e_exp2l.c: Likewise.
12070 * math/e_fmodl.c: Likewise.
12071 * math/e_gammal_r.c: Likewise.
12072 * math/e_hypotl.c: Likewise.
12073 * math/e_j0l.c: Likewise.
12074 * math/e_j1l.c: Likewise.
12075 * math/e_jnl.c: Likewise.
12076 * math/e_lgammal_r.c: Likewise.
12077 * math/e_log10l.c: Likewise.
12078 * math/e_log2l.c: Likewise.
12079 * math/e_logl.c: Likewise.
12080 * math/e_powl.c: Likewise.
12081 * math/e_sinhl.c: Likewise.
12082 * math/e_sqrtl.c: Likewise.
12083 * math/e_scalb.c: Completely rewritten and optimized.
12084 * math/e_scalbf.c: Likewise.
12085 * math/e_scalbl.c: Likewise.
12086 * math/w_acos.c: Likewise.
12087 * math/w_acosf.c: Likewise.
12088 * math/w_acosl.c: Likewise.
12089 * math/w_acosh.c: Likewise.
12090 * math/w_acoshf.c: Likewise.
12091 * math/w_acoshl.c: Likewise.
12092 * math/w_asin.c: Likewise.
12093 * math/w_asinf.c: Likewise.
12094 * math/w_asinl.c: Likewise.
12095 * math/w_atan2.c: Likewise.
12096 * math/w_atan2f.c: Likewise.
12097 * math/w_atan2l.c: Likewise.
12098 * math/w_atanh.c: Likewise.
12099 * math/w_atanhf.c: Likewise.
12100 * math/w_atanhl.c: Likewise.
12101 * math/w_exp10.c: Likewise.
12102 * math/w_exp10f.c: Likewise.
12103 * math/w_exp10l.c: Likewise.
12104 * math/w_fmod.c: Likewise.
12105 * math/w_fmodf.c: Likewise.
12106 * math/w_fmodl.c: Likewise.
12107 * math/w_j0.c: Likewise.
12108 * math/w_j0f.c: Likewise.
12109 * math/w_j0l.c: Likewise.
12110 * math/w_j1.c: Likewise.
12111 * math/w_j1f.c: Likewise.
12112 * math/w_j1l.c: Likewise.
12113 * math/w_jn.c: Likewise.
12114 * math/w_jnf.c: Likewise.
12115 * math/w_log.c: Likewise.
12116 * math/w_logf.c: Likewise.
12117 * math/w_logl.c: Likewise.
12118 * math/w_log10.c: Likewise.
12119 * math/w_log10f.c: Likewise.
12120 * math/w_log10l.c: Likewise.
12121 * math/w_log2.c: Likewise.
12122 * math/w_log2f.c: Likewise.
12123 * math/w_log2l.c: Likewise.
12124 * math/w_pow.c: Likewise.
12125 * math/w_powf.c: Likewise.
12126 * math/w_powl.c: Likewise.
12127 * math/w_remainder.c: Likewise.
12128 * math/w_remainderf.c: Likewise.
12129 * math/w_remainderl.c: Likewise.
12130 * math/w_scalb.c: Likewise.
12131 * math/w_scalbf.c: Likewise.
12132 * math/w_scalbl.c: Likewise.
12133 * math/w_sqrt.c: Likewise.
12134 * math/w_sqrtf.c: Likewise.
12135 * math/w_sqrtl.c: Likewise.
12136 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12137 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12138 used.
12139 * math/math_private.h: Declare __kernel_standard_f.
12140 * math/w_cosh.c: Remove cruft and optimize a bit.
12141 * math/w_coshf.c: Likewise.
12142 * math/w_coshl.c: Likewise.
12143 * math/w_exp2.c: Likewise.
12144 * math/w_exp2f.c: Likewise.
12145 * math/w_exp2l.c: Likewise.
12146 * math/w_hypot.c: Likewise.
12147 * math/w_hypotf.c: Likewise.
12148 * math/w_hypotl.c: Likewise.
12149 * math/w_lgamma.c: Likewise.
12150 * math/w_lgamma_r.c: Likewise.
12151 * math/w_lgammaf.c: Likewise.
12152 * math/w_lgammaf_r.c: Likewise.
12153 * math/w_lgammal.c: Likewise.
12154 * math/w_lgammal_r.c: Likewise.
12155 * math/w_sinh.c: Likewise.
12156 * math/w_sinhf.c: Likewise.
12157 * math/w_sinhl.c: Likewise.
12158 * math/w_tgamma.c: Likewise.
12159 * math/w_tgammaf.c: Likewise.
12160 * math/w_tgammal.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12163 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12164 Minor optimizations. Pretty printing. Remove cruft.
12165 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12166 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12169 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12170 * sysdeps/i386/fpu/e_asin.S: Likewise.
12171 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12172 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12173 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12174 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12177 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12178 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12179 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12180 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12181 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12182 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12183 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12184 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12185 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12186 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12187 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12188 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12189 * sysdeps/i386/fpu/e_log.S: Likewise.
12190 * sysdeps/i386/fpu/e_log10.S: Likewise.
12191 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12193 * sysdeps/i386/fpu/e_log2.S: Likewise.
12194 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12195 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12196 * sysdeps/i386/fpu/e_logf.S: Likewise.
12197 * sysdeps/i386/fpu/e_logl.S: Likewise.
12198 * sysdeps/i386/fpu/e_pow.S: Likewise.
12199 * sysdeps/i386/fpu/e_powf.S: Likewise.
12200 * sysdeps/i386/fpu/e_powl.S: Likewise.
12201 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12202 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12203 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12204 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12205 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12207 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12208 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12209 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12231 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12234 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12235 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12236 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12237 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12238 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12239 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12241 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12244 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12245 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12246 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12247 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12248 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12249 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12250 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12251 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12301 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12302 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12303 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12304 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12305 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12306 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12307 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12308 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12309 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12310 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12311 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12312 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12313 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12315 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12316 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12318 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12320 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12321 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12322 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12323 (__isnanf): Likewise.
12324 (__isinf_ns): Likewise.
12325 (__isinf_nsf): Likewise.
12326 (__finite): Likewise.
12327 (__finitef): Likewise.
12328 (__ieee754_sqrt): Define as macro.
12329 (__ieee754_sqrtf): Define as macro.
12330 (__ieee754_sqrtl): Define as macro.
12331 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12332 inlined copy.
12333 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12334 __FINITE_MATH_ONLY__ consistent.
12335 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12336
12cc2fcd
AS
123372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12338
a843a204
AS
12339 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12340 of rawmemchr.
12341
12cc2fcd
AS
12342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12343
c853acd5
UD
123442011-10-09 Ulrich Drepper <drepper@gmail.com>
12345
12346 * po/ja.po: Update from translation team.
12347
c658d255
RM
123482011-10-08 Roland McGrath <roland@hack.frob.com>
12349
110946e4
RM
12350 * locale/programs/locarchive.c (prepare_address_space): New function.
12351 (create_archive, enlarge_archive, open_archive): Use it.
12352
50604220
RM
12353 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12354 inside [SHARED], where it is used.
12355
c658d255
RM
12356 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12357
12358 * nss/getent.c (netgroup_keys): Remove unused variable.
12359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12360
6a621eb7
UD
123612011-10-08 Ulrich Drepper <drepper@gmail.com>
12362
7edb55ce
UD
12363 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12364 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12366 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12367 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12369 * math/Makefile (libm-calls): Add s_isinf_ns.
12370 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12371 * math/multc3.c: Likewise.
12372 * math/s_casin.c: Likewise.
12373 * math/s_casinf.c: Likewise.
12374 * math/s_casinl.c: Likewise.
12375 * math/s_ccos.c: Likewise.
12376 * math/s_ccosf.c: Likewise.
12377 * math/s_ccosl.c: Likewise.
12378 * math/s_ctan.c: Likewise.
12379 * math/s_ctanf.c: Likewise.
12380 * math/s_ctanh.c: Likewise.
12381 * math/s_ctanhf.c: Likewise.
12382 * math/s_ctanhl.c: Likewise.
12383 * math/s_ctanl.c: Likewise.
12384 * math/w_fmod.c: Likewise.
12385 * math/w_fmodf.c: Likewise.
12386 * math/w_fmodl.c: Likewise.
12387 * math/w_remainder.c: Likewise.
12388 * math/w_remainderf.c: Likewise.
12389 * math/w_remainderl.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12391 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12394 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12395 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12396 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12397 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12398
187da0ae
UD
12399 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12400 of the number.
12401 * stdio-common/printf_fphex.c: Likewise.
12402 * stdio-common/printf_size.c: Likewise.
12403
9277c064
UD
12404 * math/e_exp10.c: Include math_private.h using <...> not "...".
12405 * math/e_exp10f.c: Likewise.
12406 * math/e_exp10l.c: Likewise.
12407 * math/e_exp2l.c: Likewise.
12408 * math/e_j0l.c: Likewise.
12409 * math/e_j1l.c: Likewise.
12410 * math/e_jnl.c: Likewise.
12411 * math/e_lgammal_r.c: Likewise.
12412 * math/e_rem_pio2l.c: Likewise.
12413 * math/e_scalb.c: Likewise.
12414 * math/e_scalbf.c: Likewise.
12415 * math/e_scalbl.c: Likewise.
12416 * math/k_cosl.c: Likewise.
12417 * math/k_sinl.c: Likewise.
12418 * math/k_tanl.c: Likewise.
12419 * math/s_cacoshf.c: Likewise.
12420 * math/s_catan.c: Likewise.
12421 * math/s_catanf.c: Likewise.
12422 * math/s_catanh.c: Likewise.
12423 * math/s_catanhf.c: Likewise.
12424 * math/s_catanhl.c: Likewise.
12425 * math/s_catanl.c: Likewise.
12426 * math/s_ccosh.c: Likewise.
12427 * math/s_ccoshf.c: Likewise.
12428 * math/s_ccoshl.c: Likewise.
12429 * math/s_cexp.c: Likewise.
12430 * math/s_cexpf.c: Likewise.
12431 * math/s_cexpl.c: Likewise.
12432 * math/s_clog.c: Likewise.
12433 * math/s_clog10.c: Likewise.
12434 * math/s_clog10f.c: Likewise.
12435 * math/s_clog10l.c: Likewise.
12436 * math/s_clogf.c: Likewise.
12437 * math/s_clogl.c: Likewise.
12438 * math/s_csin.c: Likewise.
12439 * math/s_csinf.c: Likewise.
12440 * math/s_csinh.c: Likewise.
12441 * math/s_csinhf.c: Likewise.
12442 * math/s_csinhl.c: Likewise.
12443 * math/s_csinl.c: Likewise.
12444 * math/s_csqrt.c: Likewise.
12445 * math/s_csqrtf.c: Likewise.
12446 * math/s_csqrtl.c: Likewise.
12447 * math/s_ctan.c: Likewise.
12448 * math/s_ctanf.c: Likewise.
12449 * math/s_ctanh.c: Likewise.
12450 * math/s_ctanhf.c: Likewise.
12451 * math/s_ctanhl.c: Likewise.
12452 * math/s_ctanl.c: Likewise.
12453 * math/s_ldexp.c: Likewise.
12454 * math/s_ldexpf.c: Likewise.
12455 * math/s_ldexpl.c: Likewise.
12456 * math/s_significand.c: Likewise.
12457 * math/s_significandf.c: Likewise.
12458 * math/s_significandl.c: Likewise.
12459 * math/w_acos.c: Likewise.
12460 * math/w_acosf.c: Likewise.
12461 * math/w_acosh.c: Likewise.
12462 * math/w_acoshf.c: Likewise.
12463 * math/w_acoshl.c: Likewise.
12464 * math/w_acosl.c: Likewise.
12465 * math/w_asin.c: Likewise.
12466 * math/w_asinf.c: Likewise.
12467 * math/w_asinl.c: Likewise.
12468 * math/w_atan2.c: Likewise.
12469 * math/w_atan2f.c: Likewise.
12470 * math/w_atan2l.c: Likewise.
12471 * math/w_atanh.c: Likewise.
12472 * math/w_atanhf.c: Likewise.
12473 * math/w_atanhl.c: Likewise.
12474 * math/w_cosh.c: Likewise.
12475 * math/w_coshf.c: Likewise.
12476 * math/w_coshl.c: Likewise.
12477 * math/w_dremf.c: Likewise.
12478 * math/w_exp10.c: Likewise.
12479 * math/w_exp10f.c: Likewise.
12480 * math/w_exp10l.c: Likewise.
12481 * math/w_exp2.c: Likewise.
12482 * math/w_exp2f.c: Likewise.
12483 * math/w_fmod.c: Likewise.
12484 * math/w_fmodf.c: Likewise.
12485 * math/w_fmodl.c: Likewise.
12486 * math/w_hypot.c: Likewise.
12487 * math/w_hypotf.c: Likewise.
12488 * math/w_hypotl.c: Likewise.
12489 * math/w_j0.c: Likewise.
12490 * math/w_j0f.c: Likewise.
12491 * math/w_j0l.c: Likewise.
12492 * math/w_j1.c: Likewise.
12493 * math/w_j1f.c: Likewise.
12494 * math/w_j1l.c: Likewise.
12495 * math/w_jn.c: Likewise.
12496 * math/w_jnf.c: Likewise.
12497 * math/w_jnl.c: Likewise.
12498 * math/w_lgamma.c: Likewise.
12499 * math/w_lgamma_r.c: Likewise.
12500 * math/w_lgammaf.c: Likewise.
12501 * math/w_lgammaf_r.c: Likewise.
12502 * math/w_lgammal.c: Likewise.
12503 * math/w_lgammal_r.c: Likewise.
12504 * math/w_log.c: Likewise.
12505 * math/w_log10.c: Likewise.
12506 * math/w_log10f.c: Likewise.
12507 * math/w_log10l.c: Likewise.
12508 * math/w_log2.c: Likewise.
12509 * math/w_log2f.c: Likewise.
12510 * math/w_log2l.c: Likewise.
12511 * math/w_logf.c: Likewise.
12512 * math/w_logl.c: Likewise.
12513 * math/w_pow.c: Likewise.
12514 * math/w_powf.c: Likewise.
12515 * math/w_powl.c: Likewise.
12516 * math/w_remainder.c: Likewise.
12517 * math/w_remainderf.c: Likewise.
12518 * math/w_remainderl.c: Likewise.
12519 * math/w_scalb.c: Likewise.
12520 * math/w_scalbf.c: Likewise.
12521 * math/w_scalbl.c: Likewise.
12522 * math/w_sinh.c: Likewise.
12523 * math/w_sinhf.c: Likewise.
12524 * math/w_sinhl.c: Likewise.
12525 * math/w_sqrt.c: Likewise.
12526 * math/w_sqrtf.c: Likewise.
12527 * math/w_sqrtl.c: Likewise.
12528 * math/w_tgamma.c: Likewise.
12529 * math/w_tgammaf.c: Likewise.
12530 * math/w_tgammal.c: Likewise.
12531
6a621eb7
UD
12532 * po/ja.po: Update from translation team.
12533
bf582445
AJ
125342011-09-29 Andreas Jaeger <aj@suse.de>
12535
f9efbf3a
AJ
12536 [BZ #13179]
12537 * sunrpc/netname.c (netname2host): Fix logic.
12538
bf582445
AJ
12539 [BZ #6779]
12540 [BZ #6783]
12541 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12542 correctly.
12543 * math/w_remainder.c (__remainder): Likewise.
12544 * math/w_remainderf.c (__remainderf): Likewise.
12545 * math/libm-test.inc (remainder_test): Add test cases.
12546
48693bea
AK
125472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12548
12549 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12550 sdiv_qrnnd.
12551
42622229
LD
125522011-10-07 Ulrich Drepper <drepper@gmail.com>
12553
12554 * string/test-memcmp.c: Avoid unncessary #defines.
12555 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12556
093ecf92
LD
125572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12558
12559 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12560 Use new sse2 version for core i3 - i7 as it's faster
12561 than sse42 version.
12562 (bit_Prefer_PMINUB_for_stringop): New.
12563 * sysdeps/x86_64/rawmemchr.S: Update.
12564 Replace with faster SSE2 version.
12565 * sysdeps/x86_64/memrchr.S: New file.
12566 * sysdeps/x86_64/memchr.S: Update.
12567 Replace with faster SSE2 version.
12568
fde56e5c
MP
125692011-09-12 Marek Polacek <mpolacek@redhat.com>
12570
12571 * elf/dl-load.c (lose): Add cast to avoid warning.
12572
21fd49a9
UD
125732011-10-07 Ulrich Drepper <drepper@gmail.com>
12574
5a06e643
UD
12575 * po/ca.po: Update from translation team.
12576
684ae515
UD
12577 * inet/getnetgrent_r.c: Hook up nscd.
12578 * nscd/Makefile (routines): Add nscd_netgroup.
12579 (nscd-modules): Add netgroupcache.
12580 (CFLAGS-netgroupcache.c): Define.
12581 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12582 (cache_search): Add const to second parameter.
12583 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12584 INNETGR.
12585 (dbs): Add netgrdb entry.
12586 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12587 (verify_persistent_db): Handle netgrdb.
12588 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12589 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12590 GETFDNETGR.
12591 (netgroup_response_header): Define.
12592 (innetgroup_response_header): Define.
12593 (datahead): Add netgroup_response_header and innetgroup_response_header
12594 elements.
12595 * nscd/nscd.conf: Add entries for netgroup cache.
12596 * nscd/nscd.h (dbtype): Add netgrdb.
12597 (_PATH_NSCD_NETGROUP_DB): Define.
12598 (netgroup_iov_disabled): Declare.
12599 (xmalloc, xcalloc, xrealloc): Move declarations here.
12600 (cache_search): Adjust prototype.
12601 Add netgroup-related prototypes.
12602 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12603 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12604 (__nscd_innetgr): Declare.
12605 * nscd/selinux.c (perms): Use access_vector_t as element type and
12606 add netgroup-related initializers.
12607 * nscd/netgroupcache.c: New file.
12608 * nscd/nscd_netgroup.c: New file.
12609 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12610 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12611 For four parameters use innetgr.
12612 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12613 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12614 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12615 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12616
21fd49a9
UD
12617 * nscd/connections.c (register_traced_file): Don't register file
12618 for disabled databases.
12619
054c0457
UD
126202011-10-06 Ulrich Drepper <drepper@gmail.com>
12621
32b63198
UD
12622 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12623
054c0457
UD
12624 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12625 from tree and freeing node.
12626
64031225
JO
126272011-09-25 Jiri Olsa <jolsa@redhat.com>
12628
12629 * nss/nsswitch.c (__nss_database_lookup): Handle
12630 nss_parse_service_list out of memory case.
12631
0490345c
JO
126322011-09-15 Jiri Olsa <jolsa@redhat.com>
12633
12634 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12635 out of memory case.
12636
3a62d00d
AS
126372011-10-04 Andreas Schwab <schwab@redhat.com>
12638
12639 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12640 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12641 pass it down.
12642 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12643 elf_machine_rela, elf_machine_lazy_rel.
12644 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12645 (ELF_DYNAMIC_DO_REL): Likewise.
12646 (ELF_DYNAMIC_DO_RELA): Likewise.
12647 (ELF_DYNAMIC_RELOCATE): Likewise.
12648 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12649 to ELF_DYNAMIC_DO_REL.
12650 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12651 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12652 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12653 elf_machine_rela.
12654 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12655 skip_ifunc, don't call ifunc function if non-zero.
12656 (elf_machine_rela): Likewise.
12657 (elf_machine_lazy_rel): Likewise.
12658 (elf_machine_lazy_rela): Likewise.
12659 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12660 (elf_machine_lazy_rel): Likewise.
12661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12662 Likewise.
12663 (elf_machine_lazy_rel): Likewise.
12664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12665 Likewise.
12666 (elf_machine_lazy_rel): Likewise.
12667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12668 (elf_machine_lazy_rel): Likewise.
12669 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12670 (elf_machine_lazy_rel): Likewise.
12671 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12672 (elf_machine_lazy_rel): Likewise.
12673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12674 (elf_machine_lazy_rel): Likewise.
12675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12676 (elf_machine_lazy_rel): Likewise.
12677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12678 (elf_machine_lazy_rel): Likewise.
12679
68577918
UD
126802011-09-28 Ulrich Drepper <drepper@gmail.com>
12681
12682 * nss/nss_files/files-init.c (_nss_files_init): Use static
12683 initialization for all the *_traced_file variables.
12684
68822d74
AS
126852011-09-28 Andreas Schwab <schwab@redhat.com>
12686
12687 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12688
2056100b
RM
126892011-09-27 Roland McGrath <roland@hack.frob.com>
12690
12691 [BZ #13226]
12692 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12693
32c76b63
AS
126942011-09-27 Andreas Schwab <schwab@redhat.com>
12695
12696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12697 Reread the line before reparsing it.
12698
bf972c9d
AS
126992011-09-26 Andreas Schwab <schwab@redhat.com>
12700
12701 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12702
e057a1b5
JM
127032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12704 Maxim Kuvyrkov <maxim@codesourcery.com>
12705 Joseph Myers <joseph@codesourcery.com>
12706
12707 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12708 if needed for __stack_chk_guard.
12709
bc7e1c36
RM
127102011-09-19 Roland McGrath <roland@hack.frob.com>
12711
ecb1482f
RM
12712 * sysdeps/posix/spawni.c (script_execute): Always define it.
12713 It will be optimized away if unused.
12714 (maybe_script_execute): New function.
12715 (__spawni): Call it.
12716
bc7e1c36
RM
12717 * Makerules: Don't include tls.make.
12718 (config-tls): Always set to thread.
12719 * tls.make.c: File removed.
12720
1c3b002b
MF
127212011-09-19 Mike Frysinger <vapier@gentoo.org>
12722
12723 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12724 * config.make.in (CPPFLAGS-config): New substituted variable.
12725
2840865d
UD
127262011-09-15 Ulrich Drepper <drepper@gmail.com>
12727
88738eb6
UD
12728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12729
cbf645a6 12730 [BZ #13192]
2840865d
UD
12731 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12732 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12733
b402e91a
RM
127342011-09-15 Roland McGrath <roland@hack.frob.com>
12735
12736 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12737 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12739 (CALL_FAIL): Likewise.
12740 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12741 (CALL_FAIL): Macro removed.
12742 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12743
4c1a1f71
UD
127442011-09-15 Ulrich Drepper <drepper@gmail.com>
12745
12746 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12747 for __FINITE_MATH_ONLY__ == 1.
12748
edc121be
AS
127492011-09-15 Andreas Schwab <schwab@redhat.com>
12750
12751 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12752 __ieee754_sqrt instead of sqrt.
12753 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12754 __ieee754_sqrtf instead of sqrtf.
12755 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12756 __floorf instead of floorf.
12757 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12758 __floorf, __truncf instead of floorf, truncf.
12759
cd205654
UD
127602011-09-14 Ulrich Drepper <drepper@gmail.com>
12761
ee4d0315
UD
12762 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12763
cd205654
UD
12764 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12765 __extern_always_inline.
12766 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12767 32-bit.
12768
48b67d71
AS
127692011-09-14 Andreas Schwab <schwab@redhat.com>
12770
12771 * elf/rtld.c (dl_main): Also relocate in dependency order when
12772 doing symbol dependency testing.
12773
1ae12c75
AS
127742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12775
12776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12777 Always define `refsym'.
12778
995a80df
AS
127792011-09-13 Andreas Schwab <schwab@redhat.com>
12780
e529793b
AS
12781 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12782 (__FD_ELT): Renamed from __FDELT.
12783 * misc/bits/select2.h (__FD_ELT): Likewise.
12784 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12785 __FD_MASK instead of __FDELT, __FDMASK.
12786 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12787 Likewise.
12788 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12789 Likewise.
12790
52d4fef8
AS
12791 * elf/Makefile (gen-ldd): Fix pattern.
12792
995a80df
AS
12793 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12794 (init_tls): Likewise.
12795
8682f8b0
UD
127962011-09-12 Ulrich Drepper <drepper@gmail.com>
12797
12798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12799
de82006d
AS
128002011-09-12 Andreas Schwab <schwab@redhat.com>
12801
a7c8e6a1
AS
12802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12803 `struct cmsghdr *' instead of `void *'.
12804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12805 Likewise.
12806
0f31fe77
AS
128072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12808
12809 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12810 if non-absolute.
12811 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12812 ldd_rewrite_script.
0f31fe77 12813
32b4c839
UD
128142011-09-11 Ulrich Drepper <drepper@gmail.com>
12815
83cd1420
UD
12816 * configure.in: Remove --with-tls option.
12817 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12818 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12819 out in case it is missing.
12820 * sysdeps/ia64/elf/configure.in: Likewise.
12821 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12822 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12823 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12824 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12825 * sysdeps/sh/elf/configure.in: Likewise.
12826 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12827 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12828 * sysdeps/x86_64/elf/configure.in: Likewise.
12829 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12830 * sysdeps/mach/hurd/tls.h: Likewise.
12831
633f745d
UD
12832 [BZ #13067]
12833 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12834
f318beb8
UD
12835 [BZ #13090]
12836 * configure.in: Fix use of AC_INIT.
12837
32b4c839
UD
12838 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12839
3ce1f295
UD
128402011-09-10 Ulrich Drepper <drepper@gmail.com>
12841
bb016596
UD
12842 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12843 __set_errno.
8e58439c
UD
12844 * malloc/hooks.c: Likewise.
12845
aebae053 12846 [BZ #11929]
02d46fc4
UD
12847 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12848 variables statically.
12849 (narenas): Initialize.
12850 (list_lock): Initialize.
bb016596
UD
12851 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12852 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12853 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12854 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12855 Add initializers to main_arena and mp_.
12856 (malloc_state): Remove pagesize member. Change all users to use
12857 GLRO(dl_pagesize).
12858
12859 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12860 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12861 is always initialized.
12862
22a89187
UD
12863 * malloc/malloc.c: Removed unused configurations and dead code.
12864 * malloc/arena.c: Likewise.
12865 * malloc/hooks.c: Likewise.
02d46fc4 12866 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12867
d063d164
UD
12868 * include/tls.h: Removed. USE___THREAD must always be defined.
12869 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12870 * elf/dl-libc.c: Likewise.
12871 * elf/dl-tsd.c: Likewise.
12872 * include/errno.h: Likewise.
12873 * include/netdb.h: Likewise.
12874 * include/resolv.h: Likewise.
12875 * inet/herrno-loc.c: Likewise.
12876 * inet/herrno.c: Likewise.
12877 * malloc/arena.c: Likewise.
12878 * malloc/hooks.c: Likewise.
12879 * malloc/malloc.c: Likewise.
12880 * resolv/res-state.c: Likewise.
12881 * resolv/res_libc.c: Likewise.
12882 * sysdeps/i386/dl-machine.h: Likewise.
12883 * sysdeps/ia64/dl-machine.h: Likewise.
12884 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12885 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12886 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12887 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12888 * sysdeps/sh/dl-machine.h: Likewise.
12889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12891 * sysdeps/unix/i386/sysdep.S: Likewise.
12892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12893 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12898 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12902 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12903 * sysdeps/x86_64/dl-machine.h: Likewise.
12904 * tls.make.c: Likewise.
12905
3ce1f295
UD
12906 * configure.in: Remove --with-__thread option. Make tests for
12907 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12908 tls_model attribute fail if no support is available. Remove
12909 USE_IN_LIBIO.
12910 * Makeconfig: Adjust for dropped configure option. All features are
12911 now mandatory.
12912 * Makerules: Likewise.
12913 * Versions.def: Likewise.
12914 * argp/argp-fmtstream.c: Likewise.
12915 * argp/argp-fmtstream.h: Likewise.
12916 * argp/argp-help.c: Likewise.
12917 * assert/assert.c: Likewise.
12918 * config.h.in: Likewise.
12919 * config.make.in: Likewise.
12920 * configure: Likewise.
12921 * configure.in: Likewise.
12922 * csu/Versions: Likewise.
12923 * csu/init.c: Likewise.
12924 * elf/tst-audit2.c: Likewise.
12925 * elf/tst-tls10.c: Likewise.
12926 * elf/tst-tls10.h: Likewise.
12927 * elf/tst-tls11.c: Likewise.
12928 * elf/tst-tls12.c: Likewise.
12929 * elf/tst-tls14.c: Likewise.
12930 * elf/tst-tlsmod11.c: Likewise.
12931 * elf/tst-tlsmod12.c: Likewise.
12932 * elf/tst-tlsmod13.c: Likewise.
12933 * elf/tst-tlsmod13a.c: Likewise.
12934 * elf/tst-tlsmod14a.c: Likewise.
12935 * elf/tst-tlsmod15b.c: Likewise.
12936 * elf/tst-tlsmod16a.c: Likewise.
12937 * elf/tst-tlsmod16b.c: Likewise.
12938 * elf/tst-tlsmod7.c: Likewise.
12939 * elf/tst-tlsmod8.c: Likewise.
12940 * elf/tst-tlsmod9.c: Likewise.
12941 * gmon/gmon.c: Likewise.
12942 * grp/fgetgrent_r.c: Likewise.
12943 * grp/putgrent.c: Likewise.
12944 * hurd/fopenport.c: Likewise.
12945 * include/libc-symbols.h: Likewise.
12946 * include/tls.h: Likewise.
12947 * intl/gettextP.h: Likewise.
12948 * intl/loadinfo.h: Likewise.
12949 * locale/global-locale.c: Likewise.
12950 * locale/localeinfo.h: Likewise.
12951 * mach/devstream.c: Likewise.
12952 * malloc/arena.c: Likewise.
12953 * malloc/set-freeres.c: Likewise.
12954 * misc/err.c: Likewise.
12955 * misc/getttyent.c: Likewise.
12956 * misc/mntent_r.c: Likewise.
12957 * posix/getopt.c: Likewise.
12958 * posix/wordexp.c: Likewise.
12959 * pwd/fgetpwent_r.c: Likewise.
12960 * resolv/Versions: Likewise.
12961 * resolv/res_hconf.c: Likewise.
12962 * shadow/fgetspent_r.c: Likewise.
12963 * shadow/putspent.c: Likewise.
12964 * stdio-common/printf_fphex.c: Likewise.
12965 * stdio-common/tmpfile.c: Likewise.
12966 * stdlib/abort.c: Likewise.
12967 * stdlib/fmtmsg.c: Likewise.
12968 * sunrpc/auth_unix.c: Likewise.
12969 * sunrpc/clnt_perr.c: Likewise.
12970 * sunrpc/clnt_tcp.c: Likewise.
12971 * sunrpc/clnt_udp.c: Likewise.
12972 * sunrpc/clnt_unix.c: Likewise.
12973 * sunrpc/openchild.c: Likewise.
12974 * sunrpc/svc_simple.c: Likewise.
12975 * sunrpc/svc_tcp.c: Likewise.
12976 * sunrpc/svc_udp.c: Likewise.
12977 * sunrpc/svc_unix.c: Likewise.
12978 * sunrpc/xdr.c: Likewise.
12979 * sunrpc/xdr_array.c: Likewise.
12980 * sunrpc/xdr_rec.c: Likewise.
12981 * sunrpc/xdr_ref.c: Likewise.
12982 * sunrpc/xdr_stdio.c: Likewise.
12983
1248c1c4
PB
129842011-09-09 Ulrich Drepper <drepper@gmail.com>
12985
12986 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12987
129882011-07-03 Andreas Jaeger <aj@suse.de>
12989
12990 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12991 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12992 regenerate with gen-libm-tests.pl.
12993
129942010-05-12 Petr Baudis <pasky@suse.cz>
12995
12996 [BZ #11589]
12997 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12998 around j0() zero points by switching to j1().
12999 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13003
f22e1074
UD
130042011-09-09 Ulrich Drepper <drepper@gmail.com>
13005
f19009c1
UD
13006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13007 instead of 0.
13008 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13009 instead of 0. .
13010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13011 Patch in part by Pavel Roskin <proski@gnu.org>.
13012
3f8cc204
UD
13013 [BZ #13138]
13014 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13015 realloc.
13016 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13017 Free memory block if necessary.
13018
f22e1074
UD
13019 [BZ #12847]
13020 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13021 be NULL. Don't lock in this case.
13022
0a2349f9
RM
130232011-09-09 Roland McGrath <roland@hack.frob.com>
13024
13025 * elf/elf.h (ELFOSABI_GNU): New macro.
13026 (ELFOSABI_LINUX): Define to that.
13027
f3cdd467
DZ
130282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13029
13030 * string/strncat.c (strncat): Undef the symbol in case it has been
13031 defined in bits/string.h.
13032
74718d13
UD
130332011-09-09 Ulrich Drepper <drepper@gmail.com>
13034
633e9e0f
UD
13035 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13036
0a2349f9 13037 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13038 link map.
13039
f9924780
AJ
130402011-08-17 Andreas Jaeger <aj@suse.de>
13041
13042 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13043
7f5517aa
PP
130442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13045 Ian Lance Taylor <iant@google.com>
13046
13047 * math/libm-test.inc (lround_test): New testcase.
13048 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13049
762011fe
UD
130502011-09-08 Ulrich Drepper <drepper@gmail.com>
13051
92963737
UD
13052 * Makefile: Remove support for automatic cvs check-ins.
13053 * Makerules: Likewise.
13054 * config.make.in: Likewise.
13055 * configure.in: Likewise.
13056 * intl/Makefile: Likewise.
13057 * locale/Makefile: Likewise.
13058 * po/Makefile: Likewise.
13059 * posix/Makefile: Likewise.
13060 * sysdeps/gnu/Makefile: Likewise.
13061 * sysdeps/mach/hurd/Makefile: Likewise.
13062 * sysdeps/sparc/sparc32/Makefile: Likewise.
13063
b0727fd8
JS
13064 [BZ #13118]
13065 * posix/Makefile (bug-regex32-ENV): Define.
13066 Patch by John Stanley <jpsinthemix@verizon.net>.
13067
a0f33f99
UD
13068 * misc/Makefile (headers): Add bits/select2.h.
13069 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13070 * misc/bits/select2.h: New file.
13071 * include/bits/select2.h: New file.
13072 * debug/Makefile (routines): Add fdelt_chk.
13073 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13074 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13075 FD_ISSET.
13076 * debug/fdelt_chk.c: New file.
13077
762011fe
UD
13078 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13079 * wcsmbs/test-wmemcmp.c: Likewise.
13080 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13081 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13082
130832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13084
13085 * string/Makefile (strop-tests): Add memcmp.
13086 * string/test-wmemcmp.c: New file.
13087 * string/test-memcmp.c: Add wmemcmp support.
13088
7f513ec8
RM
130892011-09-08 Roland McGrath <roland@hack.frob.com>
13090
0442afb4
RM
13091 [BZ #13153]
13092 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13093 2011-07-19 change.
13094
7f513ec8
RM
13095 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13096 garbage value in a __mach_port_mod_refs call in the cases of the
13097 task-self and thread-self ports.
13098
a12b2239
ST
130992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13100
13101 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13102
610f9ab4
AS
131032011-09-08 Andreas Schwab <schwab@redhat.com>
13104
7f513ec8 13105 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13106
48882a1a
LD
131072011-09-07 Ulrich Drepper <drepper@gmail.com>
13108
b49865be
UD
13109 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13110
fdc86bc9
UD
13111 * elf/dl-libc.c (dlerror_run): Pass back error code from
13112 dl_catch_error.
13113
c966526a
UD
13114 [BZ #13123]
13115 * elf/dl-load.c (lose): Free l_origin if it is valid.
13116
48882a1a
LD
13117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13118 names.
13119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13123 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13124 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13125
77a2a8b4
AZ
131262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13127
13128 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13129 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13131 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13132 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13133 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13134 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13135 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13136 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13137 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13138
24f579d8
AM
131392011-08-15 Alan Modra <amodra@gmail.com>
13140
13141 [BZ #13092]
13142 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13143 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13144 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13145 ppc_mcount to static-only-routines.
13146 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13147 __mcount_internal.
13148 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13149 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13150
3d4837df
UD
131512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13152
13153 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13154 for finite and infinity parameters.
13155
22700377
WS
131562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13157
13158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13159 and add nop instructions for throughput optimization.
13160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13161
5025581e
WS
131622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13163
13164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13165 aligned copy for power7 with vector-scalar instructions.
13166 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13167
08a300c9
L
131682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13171 AVX check.
13172
59178ef9
AS
131732011-09-07 Andreas Schwab <schwab@redhat.com>
13174
13175 [BZ #13144]
13176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13177 last change.
13178
e38ba7ab
UD
131792011-09-07 Ulrich Drepper <drepper@gmail.com>
13180
13181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13182 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13183 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13184 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13185 clock_gettime.
13186
d53a73ac
UD
131872011-09-06 Ulrich Drepper <drepper@gmail.com>
13188
fc8bffcc
UD
13189 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13190 Forgot to demangle the pointer.
13191
ceaa0c5d
UD
13192 * sysdeps/i386/sysdep.h: Define atom_text_section.
13193 * sysdeps/x86_64/sysdep.h: Likewise.
13194 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13195 section with atom_text_section.
13196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13198 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13201
a77d3c17
UD
13202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13204 already be defined. Change to take two parameters and don't assign
13205 result to variable. Adjust all users.
13206 Define INTERNAL_GETTIME if not already defined.
13207 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13208 call.
13209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13210 HAVE_CLOCK_GETTIME_VSYSCALL.
13211 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13212
d53a73ac
UD
13213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13214 gettimeofday vsyscall, just use time.
13215
a8f84144
AS
132162011-09-06 Andreas Schwab <schwab@redhat.com>
13217
13218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13219 <errno.h>.
13220
ef606249
UD
132212011-09-06 Ulrich Drepper <drepper@gmail.com>
13222
13223 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13224 syscall on x86-64.
13225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13226 syscall.
13227 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13229 syscall if possible.
13230
6585cb60
UD
132312011-09-05 Ulrich Drepper <drepper@gmail.com>
13232
13233 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13234 e_ident. Don't pass to find_mapsXX.
13235 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13236
a5f524e4
LD
132372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13238
13239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13240 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13241 * sysdeps/x86_64/multiarch/strchr.S: Update.
13242 Check bit_slow_BSF bit.
13243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13244 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13246
554881ef
UD
132472011-09-05 Ulrich Drepper <drepper@gmail.com>
13248
d96de963
UD
13249 [BZ #13134]
13250 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13251 before glibc 2.15.
13252 (tryshell): Define.
13253 (__spawni): Change last parameter to be flag. Test
13254 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13255 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13256 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13257 * posix/spawni.c: Likewise.
13258 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13259 * posix/spawnp.c: Likewise. Change normal version to use
13260 SPAWN_XFLAGS_USE_PATH.
13261 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13262 SPAWN_XFLAGS_TRY_SHELL.
13263
d48e5868
UD
13264 [BZ #13150]
13265 * posix/glob.h: Remove gcc 1.x support.
13266
554881ef
UD
13267 [BZ #13068]
13268 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13269
693fb948
LD
132702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13271
13272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13273 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13274 strrchr-sse2-bsf
13275 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13276 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13279 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13281
1b48c537
UD
132822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13283
49d42c37
UD
13284 * sysdeps/x86_64/wcscmp.S: New file.
13285
1b48c537
UD
13286 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13287 wcscmp-c wcscmp-sse2
13288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13289 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13290 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13291 * wcsmbs/wcscmp.c: Allow renaming.
13292
15c95c5d
DM
132932011-09-05 David S. Miller <davem@davemloft.net>
13294
13295 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13296 stack slot, rather than the struct return pointer slot.
13297 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13298 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13301
2f0ad8f3
UD
133022011-09-05 Ulrich Drepper <drepper@gmail.com>
13303
d88ae418
UD
13304 * po/ja.po: Update from translation team.
13305
2f0ad8f3
UD
13306 [BZ #13144]
13307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13308 kernel in 64-bit binaries.
13309
5f4318d1
DM
133102011-09-01 David S. Miller <davem@davemloft.net>
13311
13312 * elf/elf.h (HWCAP_SPARC_*): Move to..
13313 * sysdeps/sparc/sysdep.h: this new file and add new values.
13314 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13315 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13316 _DL_HWCAP_COUNT to 24.
13317 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13318 entries.
13319 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13320 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13321 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13323 instead of magic constants.
13324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13325
3ba57516
DM
133262011-08-31 David S. Miller <davem@davemloft.net>
13327
13328 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13330 Reimplement to do errno handling inline.
13331 (SYSCALL_ERROR_HANDLER): New macro.
13332 (__SYSCALL_STRING): Do not do errno handling in asm.
13333 (__CLONE_SYSCALL_STRING): Delete.
13334 (__INTERNAL_SYSCALL_STRING): Delete.
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13336 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13337 (PSEUDO): Reimplement to do errno handling inline.
13338 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13339 (SYSCALL_ERROR_HANDLER): New macro.
13340 (__SYSCALL_STRING): Do not do errno handling in asm.
13341 (__CLONE_SYSCALL_STRING): Delete.
13342 (__INTERNAL_SYSCALL_STRING): Delete.
13343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13344 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13345 i386.
13346 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13347 (inline_syscall*): Add 'err' argument.
13348 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13349 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13350 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13351 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13352
13353 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13354 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13355
2bc17433
AS
133562011-08-30 Andreas Schwab <schwab@redhat.com>
13357
13358 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13359
fbeb5f4d
JO
133602011-08-29 Jiri Olsa <jolsa@redhat.com>
13361
13362 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13363 directive.
13364
ad69cc26
DM
133652011-08-24 David S. Miller <davem@davemloft.net>
13366
13367 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13368
39dd69df
AS
133692011-08-24 Andreas Schwab <schwab@redhat.com>
13370
13371 * elf/Makefile: Add rules to build and run unload8 test.
13372 * elf/unload8.c: New file.
13373 * elf/unload8mod1.c: New file.
13374 * elf/unload8mod1x.c: New file.
13375 * elf/unload8mod2.c: New file.
13376 * elf/unload8mod3.c: New file.
13377
13378 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13379 it wasn't used.
13380
2c0b250a
DM
133812011-08-23 David S. Miller <davem@davemloft.net>
13382
13383 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13384 subtract stack bias.
13385 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13386 %sp not %fp in calculations.
13387 (_JMPBUF_UNWINDS_ADJ): Likewise.
13388
22044b48
DM
13389 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13390 (aio_suspend): Call it to force an exception region around the
13391 AIO_MISC_WAIT() invocation.
13392
2cae4995
AS
133932011-08-23 Andreas Schwab <schwab@redhat.com>
13394
13395 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13396 backslash.
13397
873a772e
AJ
133982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13399
13400 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13401 protection macro.
13402 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13403 and <dl-machine.h>.
13404 (Elf64_FuncDesc): Remove.
13405
25ad0df1
DM
134062011-08-22 David S. Miller <davem@davemloft.net>
13407
13408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13409 sigaltstack check, add missing cfi directives.
13410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13411 missing cfi directives, and sigaltstack handling.
13412
e888bcbe
AS
134132011-08-16 Andreas Schwab <schwab@redhat.com>
13414
13415 [BZ #11724]
13416 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13417 object is seen twice.
13418 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13419
13420 * elf/Makefile (distribute): Add tst-initorder2.c.
13421 (tests): Add tst-initorder2.
13422 (modules-names): Add tst-initorder2a tst-initorder2b
13423 tst-initorder2c tst-initorder2d. Add rules to build them.
13424 ($(objpfx)tst-initorder2.out): New rule.
13425 * elf/tst-initorder2.c: New file.
13426 * elf/tst-initorder2.exp: New file.
13427
87162f46
AS
134282011-08-22 Andreas Schwab <schwab@redhat.com>
13429
70538b7f
AS
13430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13431
f55ffe58
AS
13432 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13433 dependencies back to end of function.
13434
87162f46
AS
13435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13436 $(elfobjdir)/ld.so.
13437
91b392a4
UD
134382011-08-21 Ulrich Drepper <drepper@gmail.com>
13439
13440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13441 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13443 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13444 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13445 of __vdso_gettimeofday.
13446 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13447 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13448 attribute_hidden.
13449 (_libc_vdso_platform_setup): Remove initialization of
13450 __vdso_gettimeofday and __vdso_time.
13451
5c43483f
UD
134522011-08-20 Ulrich Drepper <drepper@gmail.com>
13453
775a77e7
UD
13454 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13455 and fgetc_unlocked.
13456 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13457 getc_unlocked.
89f447ed 13458
49c74ba9
UD
13459 * elf/dl-open.c (add_to_global): Report additions to the global scope
13460 for LD_DEBUG=scopes.
13461 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13462 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13463
5c43483f
UD
13464 [BZ #13114]
13465 * stdio-common/Makefile (tests): Add bug24.
13466 * stdio-common/bug24.c: New file.
13467
a101b025
AJ
134682011-08-19 Andreas Jaeger <aj@suse.de>
13469
13470 [BZ #13114]
13471 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13472 non-existant file when using close-on-exec mode.
13473
c88f1766
UD
134742011-08-20 Ulrich Drepper <drepper@gmail.com>
13475
0276a718
UD
13476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13477 the very first instruction.
13478
c88f1766
UD
13479 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13480 the CFI state in the end.
13481 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13482 inclusion of dl-trampoline.h.
13483 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13484
51ccffa0
AS
134852011-08-19 Andreas Schwab <schwab@redhat.com>
13486
94d7165f
AS
13487 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13488 expectations for long double.
13489
51ccffa0
AS
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13491 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13492
fd708658 134932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13494
13495 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13496 artificual limit depends upon the system page size.
13497
44f0a71e
UD
134982011-08-17 Ulrich Drepper <drepper@gmail.com>
13499
13500 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13501 * resolv/Makefile: Define CFLAGS-libresolv.
13502
8de79a24
AS
135032011-08-17 Andreas Schwab <schwab@redhat.com>
13504
13505 * nss/makedb.c (compute_tables): Make variables used in nested
13506 function static.
13507
27724598
UD
135082011-08-17 Ulrich Drepper <drepper@gmail.com>
13509
c5305d88
UD
13510 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13511 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13512 if buffer was too small.
13513
27724598
UD
13514 * elf/pldd.c (main): Attach to all threads in the process.
13515 Rewrite /proc handling to use *at functions.
13516
076fe015
UD
135172011-08-16 Ulrich Drepper <drepper@gmail.com>
13518
174baab3
UD
13519 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13520 specifies first scope to show.
13521 (dl_open_worker): Update callers. Move printing scope of new
13522 object to before the relocation.
44f0a71e 13523 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13524 * sysdeps/generic/ldsodefs.h: Update declaration.
13525
076fe015
UD
13526 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13527 string for the scope number.
13528
a60df2c3
UD
135292011-08-14 Ulrich Drepper <drepper@gmail.com>
13530
13531 * nscd/servicescache.c (cache_addserv): Make sure written is always
13532 initialized.
13533
5e4287d1
RM
135342011-08-14 Roland McGrath <roland@hack.frob.com>
13535
85ae0589
RM
13536 * sysdeps/i386/i486/bits/atomic.h
13537 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13538 statement expression, so as to suppress "set but not used" warning.
13539 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13540
69f63097
RM
13541 * string/strncat.c (STRNCAT): Use prototype definition.
13542
675456ef
RM
13543 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13544 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13545 -Iprograms here.
13546 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13547 (localedef-modules): Add localedef.
13548 (locale-modules): Add locale.
13549
5e4287d1
RM
13550 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13551 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13552 to avoid a warning.
13553
9c96ff23
DM
135542011-08-14 David S. Miller <davem@davemloft.net>
13555
13556 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13557 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13558
f9ddf089
UD
135592011-08-13 Ulrich Drepper <drepper@gmail.com>
13560
44f0a71e 13561 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13562 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13563 * elf/rtld.c (dl_main): Set l_name of vDSO.
13564 Call _dl_show_scope when DL_DEBUG_SCOPES.
13565 (process_dl_debug): Recognize scopes flag and also set it for all.
13566 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13567 Declare _dl_show_scope.
13568
1dc27704
UD
13569 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13570 (do_dlopen): Pass caller_dlopen to dl_open.
13571 (__libc_dlopen_mode): Initialize caller_dlopen.
13572
f9ddf089
UD
13573 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13574 of libc. Make tolower call locale-independent. Optimize a bit by
13575 using isdigit instead of isalnum.
13576 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13577
9ac533d3
UD
135782011-08-12 Ulrich Drepper <drepper@gmail.com>
13579
13580 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13581 was a dependency or dynamically loaded.
13582
89edf2e9
UD
135832011-08-11 Ulrich Drepper <drepper@gmail.com>
13584
8e999d29
UD
13585 * intl/l10nflist.c: Allow architecture-specific pop function.
13586 * sysdeps/x86_64/l10nflist.c: New file.
13587
89edf2e9
UD
13588 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13589 classification.
13590
14d96785
AS
135912011-08-10 Andreas Schwab <schwab@redhat.com>
13592
13593 * include/dirent.h: Add libc_hidden_proto for scandirat and
13594 scandirat64. Don't declare __scandirat64.
13595 * dirent/scandirat.c: Add libc_hidden_def.
13596 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13597 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13598
6761ac04
DM
135992011-08-10 David S. Miller <davem@davemloft.net>
13600
13601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13602 enum.
13603 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13606
c55fbd1e
UD
136072011-08-09 Ulrich Drepper <drepper@gmail.com>
13608
13609 * Versions.def [libc]: Add GLIBC_2.15.
13610 * dirent/Makefile (routines): Add scandirat and scandirat64.
13611 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13612 GLIBC_2.15.
13613 * dirent/dirent.h: Declare scandirat and scandirat64.
13614 * dirent/scandirat.c: New file.
13615 * dirent/scandirat64.c: New file.
13616 * sysdeps/wordsize-64/scandirat.c: New file.
13617 * sysdeps/wordsize-64/scandirat64.c: New file.
13618 * dirent/opendir.c: Define opendirat.
13619 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13620 using scandirat.
13621 * dirent/scandir64.c: Adjust for scandir.c change.
13622 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13623 __scandirat64, and __scandir_cancel_handler.
13624 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13625 additional parameter and use openat instead of open (outside of ld.so).
13626 Add new __opendir as wrapper around __opendirat.
13627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13628 here without requiring old scandirat implementation.
13629
879165f2
UD
136302011-08-08 Ulrich Drepper <drepper@gmail.com>
13631
13632 * dirent/scandir.c (cancel_handler): Renamed to
13633 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13634 defined. Adjust users.
13635 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13637
cb7e923b
UD
136382011-08-04 Ulrich Drepper <drepper@gmail.com>
13639
16292edd
UD
13640 * string/test-string.h (IMPL): Use __STRING to expand name and then
13641 stringify it.
13642
cb7e923b
UD
13643 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13644 of cleanups.
13645
cff82933
LD
136462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13647
13648 * string/Makefile: Update.
13649 (strop-tests): Append strncat.
13650 * string/test-wcscmp.c: New file.
13651 New comprehensive test for wcscmp.
13652 * string/test-strcmp.c: Update.
13653 (WIDE): New define.
13654
9be9bfcc
AS
136552011-07-22 Andreas Schwab <schwab@redhat.com>
13656
13657 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13658 line.
13659
2e96f1c7
AS
136602011-07-26 Andreas Schwab <schwab@redhat.com>
13661
13662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13663 encoding to ACE if AI_IDN.
13664
85188888
JJ
136652011-08-01 Jakub Jelinek <jakub@redhat.com>
13666
13667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13668 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13669
5fa16e9b
LD
136702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13671
13672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13673 Fix overflow bug in strncat.
13674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13675
13676 * string/test-strncat.c: Update.
13677 Add new tests for checking overflow bugs.
13678
136792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13680
13681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13682 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13683 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13684 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13686 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13687 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13688 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13689 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13690
13691 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13692 (USE_AS_STRCAT): Define.
13693 Add strcat and strncat support.
13694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13695
8c1a459f
AS
136962011-07-25 Andreas Schwab <schwab@redhat.com>
13697
13698 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13699 __n bigger than INT_MAX+1.
13700 (__strncmp_g): Likewise.
13701
bba33c28
UD
137022011-07-23 Ulrich Drepper <drepper@gmail.com>
13703
798be72d
UD
13704 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13705 * libio/stido.h: Likewise.
13706
8accd4dc
UD
13707 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13708 (AF_NFC): Define.
13709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13710 (AF_NFC): Define.
13711
cbff0d96
UD
13712 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13713 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13715 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13717
9191c04a
UD
13718 [BZ #13021]
13719 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13720 installed.
13721
bba33c28
UD
13722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13723 typo.
13724 (_dl_x86_64_save_sse): Likewise.
13725
90f139dd
UD
137262011-07-22 Ulrich Drepper <drepper@gmail.com>
13727
1aae088a
UD
13728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13729 OSXSAVE.
13730 (_dl_x86_64_save_sse): Likewise.
13731
8e2045f5
UD
13732 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13733
90f139dd
UD
13734 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13735
1d002f25
AS
137362011-07-21 Andreas Schwab <schwab@redhat.com>
13737
13738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13739 change.
13740 (_dl_x86_64_save_sse): Use correct AVX check.
13741
21137f89
UD
137422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13743
13744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13745 bug in strncpy/strncat.
13746 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13747
a65c0b7a
UD
137482011-07-21 Ulrich Drepper <drepper@gmail.com>
13749
13750 * string/tester.c (test_strcat): Add tests for different alignments
13751 of source and destination.
13752 (test_strncat): Likewise.
13753
6986b98a
UD
137542011-07-20 Ulrich Drepper <drepper@gmail.com>
13755
90bb2039
UD
13756 [BZ #12852]
13757 * posix/glob.c (glob): Check passed in values before using them in
13758 expressions to avoid some overflows.
13759 (glob_in_dir): Likewise.
13760
5644ef54
UD
13761 [BZ #13007]
13762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13763 check for AVX enablement so that we don't crash with old kernels and
13764 new hardware.
13765 * elf/tst-audit4.c: Add same checks here.
13766 * elf/tst-audit6.c: Likewise.
13767
13768 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13769
bfc9dc9b
AS
137702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13771
13772 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13773
702e64bb
UD
137742011-07-20 Ulrich Drepper <drepper@gmail.com>
13775
13776 * po/cs.po: Update from translation team.
13777 * po/bg.po: Likewise.
13778
295e904f
MP
137792011-07-12 Marek Polacek <mpolacek@redhat.com>
13780
13781 * misc/sys/cdefs.h: Add support for const attribute.
13782 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13783 to gnu_dev_{major,minor,makedev} functions.
13784
3ff94596
MP
137852011-07-20 Marek Polacek <mpolacek@redhat.com>
13786
13787 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13788
28b59fca
AS
137892011-07-20 Andreas Schwab <schwab@redhat.com>
13790
13791 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13792 strlen results.
13793
19df733e
AK
137942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13795
13796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13797 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13798 register in order to avoid conflicts with the soft frame pointer
13799 being held in r11 when necessary.
13800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13801 (INTERNAL_VSYSCALL_NCS): Likewise.
13802
c8835729
MP
138032011-07-14 Marek Polacek <mpolacek@redhat.com>
13804
13805 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13806 * elf/dl-fini.c (_dl_fini): Adjust caller.
13807 * elf/dl-close.c (_dl_close_worker): Likewise.
13808 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13809
b902330c
MP
138102011-07-15 Marek Polacek <mpolacek@redhat.com>
13811
8991e135
MP
13812 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13813 "aux_cache->nlibs < 0".
13814
b902330c
MP
13815 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13816 in the reload-count case.
13817
99710781
LD
138182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13819
13820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13821 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13822 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13823 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13824 * sysdeps/x86_64/multiarch/strcat.S: New file.
13825 * sysdeps/x86_64/multiarch/strncat.S: New file.
13826 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13827 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13828 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13829 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13831 (USE_AS_STRCAT): Define.
13832 Add strcat and strncat support.
13833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13835 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13836 * string/strncat.c: Update.
13837 (USE_AS_STRNCAT): Define.
13838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13839 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13840 and i7.
13841 * sysdeps/x86_64/multiarch/init-arch.h
13842 (bit_Prefer_PMINUB_for_stringop): New.
13843 (index_Prefer_PMINUB_for_stringop): Likewise.
13844 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13845 bit_Prefer_PMINUB_for_stringop.
13846
7dc6bd90
UD
138472011-07-19 Ulrich Drepper <drepper@gmail.com>
13848
13849 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13850 buffer64.
13851 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13852 of casting of buffer.
13853 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13854 buffer32 and buffer64.
13855 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13856 writes instead of casting of buffer.
13857 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13858 buffer32.
13859 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13860 casting of buffer.
13861
e0e72284
AS
138622011-07-19 Andreas Schwab <schwab@redhat.com>
13863
13864 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13865
feb1eb0b
UD
138662011-07-19 Ulrich Drepper <drepper@gmail.com>
13867
13868 * nscd/nscd.c (termination_handler): Don't do anything for a database
13869 if it has not yet been initialized.
13870
298711ff
UD
138712011-07-18 Ulrich Drepper <drepper@gmail.com>
13872
13873 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13874
138752011-07-15 Marek Polacek <mpolacek@redhat.com>
13876
13877 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13878
f9d68389
UD
138792011-07-18 Ulrich Drepper <drepper@gmail.com>
13880
13881 * po/nl.po: Update from translation team.
13882 * po/sv.po: Likewise.
13883
db290cf5
RM
138842011-07-16 Roland McGrath <roland@hack.frob.com>
13885
13886 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13887 now disallowed by GCC.
5c550700 13888
fd5e21c7
RM
13889 * configure.in (use-default-link): Default to yes if a test -shared
13890 link meets our qualifications.
13891 * configure: Regenerated.
13892
5c550700
RM
13893 * config.make.in (output-format): New variable.
13894 * configure.in: Check for ld --print-output-format support.
13895 * configure: Regenerated.
13896 * Makerules ($(common-objpfx)format.lds)
13897 [$(output-format) != unknown]: Just use $(output-format),
13898 instead of the linker-script munging.
13899
9fa2c032
RM
139002011-07-14 Roland McGrath <roland@hack.frob.com>
13901
a6928d51
RM
13902 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13903 of $(common-objpfx)shlib.lds.
13904 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13905
661607b3
RM
13906 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13907 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13908
9fa2c032
RM
13909 * configure.in (-z relro check): Adjust test code to add a large
13910 writable data section after it.
13911 * configure: Regenerated.
13912
defe9061
RM
139132011-07-11 Roland McGrath <roland@hack.frob.com>
13914
13915 * configure.in (-z relro check): Fix test code to make the variable
13916 truly const.
13917 * configure: Regenerated.
13918
319b9ad4
UD
139192011-07-11 Ulrich Drepper <drepper@gmail.com>
13920
13921 * nscd/nscd.h (struct traced_file): Define.
13922 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13923 elements. Add traced_files.
13924 (inotify_fd): Declare.
13925 (register_traced_file): Declare.
13926 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13927 (inotify_fd): Export.
13928 (resolv_conf_descr): Remove.
13929 (nscd_init): Move inotify descriptor creation to main.
13930 Don't register files for notification here.
13931 (register_traced_file): New function.
13932 (invalidate_cache): Don't use reset_res to determine whether to call
13933 res_init, go through the list of registered files.
13934 (main_loop_poll): The inotify descriptors are now stored in the
13935 structures for the traced files.
13936 (main_loop_epoll): Likewise
13937 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13938 to __nss_disable_nscd.
13939 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13940 for a database anymore. Check the records for all the registered
13941 files instead.
13942 * nss/Makefile (libnss_files-routines): Add files-init.
13943 (libnss_db-routines): Add db-init.
13944 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13945 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13946 * nss/nss_db/db-init.c: New file.
13947 * nss/nss_files/files-init.c: New file.
13948 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13949 __nss_lookup_function.
13950 (__nss_lookup_function): Call nss_load_library.
13951 (nss_load_all_libraries): New function.
13952 (__nss_disable_nscd): Take parameter with callback function for files
13953 to register. Set is_nscd. Load all the DSOs for the NSS modules
13954 used for the cached services.
13955 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13956 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13957 options for features to all the files in nscd.
13958
13959 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13960
23bee3e8
RM
139612011-07-10 Roland McGrath <roland@hack.frob.com>
13962
13963 * csu/elf-init.c (__libc_csu_init): Comment typo.
13964
46a5b7f0
UD
139652011-07-09 Ulrich Drepper <drepper@gmail.com>
13966
13967 * po/pl.po: Update from translation team.
13968 * po/ja.po: Likewise.
13969 * po/ru.po: Likewise.
13970 * po/ko.po: Likewise.
13971 * po/fr.po: Likewise.
13972
d30cf5bb
RM
139732011-07-09 Roland McGrath <roland@hack.frob.com>
13974
113ddea4
RM
13975 * configure.in (.ctors/.dtors header and trailer check):
13976 Use an empirical test on a built program.
13977 * configure: Regenerated.
13978
574920b4
RM
13979 * configure.in (-z relro check): Use an empirical test on a built DSO.
13980 Detect, but do not require, on ia64.
13981 * configure: Regenerated.
13982
d30cf5bb
RM
13983 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13984 Update tests that use readelf to use $READELF instead.
13985 * configure: Regenerated.
13986
8538fdb3
UD
139872011-07-08 Ulrich Drepper <drepper@gmail.com>
13988
13989 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13990 if the result is not used.
13991
04d08991
AJ
139922011-07-05 Andreas Jaeger <aj@suse.de>
13993
13994 [BZ#9696]
13995 * stdlib/tst-strtod.c: Add testcase.
13996
de283087
AD
139972011-07-07 Ulrich Drepper <drepper@gmail.com>
13998
4e5f31c8 13999 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14000 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14001 The latter has a higher limit. Take additional parameter to pass to
14002 the new function.
14003 (__pathconf): Pass file to __statfs_link_max.
14004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14005 __statfs_link_max.
14006 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14007 __statfs_link_max.
14008
de283087
AD
14009 [BZ #12868]
14010 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14012 Handle Lustre.
14013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14014 (__statfs_filesize_max): Likewise.
14015 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14016
c75fa153
AJ
140172011-07-05 Andreas Jaeger <aj@suse.de>
14018
14019 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14020
1a544854
UD
140212011-07-06 Marek Polacek <mpolacek@redhat.com>
14022
14023 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14024 `status' variable.
14025 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14026 Likewise.
14027
6f0eec67
UD
140282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14029
14030 * Makefile (strop-tests): Add strncat.
14031 * string/test-strncat.c: New file.
14032
aae30307
UD
140332011-06-30 Marek Polacek <mpolacek@redhat.com>
14034
14035 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14036
c0cfb5eb
UD
140372011-06-21 Andreas Jaeger <aj@suse.de>
14038
14039 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14040 Copy rule from iconvdata/Makefile.
14041
01636b21
UD
140422011-07-06 Ulrich Drepper <drepper@gmail.com>
14043
14044 [BZ #12922]
14045 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14046 but no long options are defined, just return 'W'.
14047
9895c8bc
UD
140482011-06-22 Marek Polacek <mpolacek@redhat.com>
14049
14050 [BZ #9696]
14051 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14052
5d4cf042
UD
140532011-07-06 Ulrich Drepper <drepper@gmail.com>
14054
14055 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14056 netgroups to read.
960e5535 14057 (innetgr): Likewise.
5d4cf042 14058
751eb97e
RM
140592011-07-05 Roland McGrath <roland@hack.frob.com>
14060
14061 * config.make.in (install_root): Default to $(DESTDIR).
14062
f15f1e45
UD
140632011-07-05 Ulrich Drepper <drepper@gmail.com>
14064
14065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14066
4e34ac6a
RM
140672011-07-02 Roland McGrath <roland@hack.frob.com>
14068
5e9b6af4
RM
14069 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14070
84f9ea0f
RM
14071 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14072 containing directory rather than embedding absolute directory names.
14073
ea5ee9f7
RM
14074 * scripts/check-local-headers.sh: Rewritten using awk.
14075 Match by word, not by line. Print error messages for matches.
14076 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14077
1b74661a
RM
14078 * Makerules [shlib-lds-flags empty]:
14079 ($(common-objpfx)libc_pic.opts): New target.
14080 ($(common-objpfx)libc_pic.os.clean): New target.
14081 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14082
14083 * config.make.in (OBJCOPY): New variable.
14084 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14085 * configure: Regenerated.
14086
f781ef40
RM
14087 * config.make.in (use-default-link): New variable.
14088 * configure.in (use_default_link): Grok --with-default-link to set it.
14089 * configure: Regenerated.
14090 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14091 (shlib-lds, shlib-lds-flags): Define to empty.
14092
2d4fa81e
RM
14093 * Makerules (shlib-lds): New variable.
14094 (shlib-lds-flags): New variable.
14095 (build-shlib, build-moduile, build-module-asneeded): Use it.
14096 ($(common-objpfx)libc.so): Use $(shlib-lds).
14097 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14098 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14099
31fffa6b
RM
14100 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14101 DT_FLAGS/DT_FLAGS_1 with zero flags.
14102
4e34ac6a
RM
14103 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14104 linker script munging.
14105
fcfc776b
UD
141062011-07-02 Ulrich Drepper <drepper@gmail.com>
14107
14108 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14109 as 128-bit value.
14110 * crypt/sha512.c (sha512_process_block): Perform total addition using
14111 128-bit if possible.
14112 (__sha512_finish_ctx): Likewise.
14113 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14114 as 64-bit value.
14115 * crypt/sha256.c (SWAP64): Define.
14116 (sha256_process_block): Perform total addition using 64-bit if
14117 possible.
14118 (__sha256_finish_ctx): Likewise.
14119
99231d9a
UD
141202011-07-01 Ulrich Drepper <drepper@gmail.com>
14121
14122 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14124 * nscd/hstcache.c (cache_addhst): Likewise.
14125 * nscd/grpcache.c (cache_addgr): Likewise.
14126 * nscd/aicache.c (addhstaiX): Likewise
14127 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14128
445b4a53
TK
141292011-07-01 Thorsten Kukuk <kukuk@suse.de>
14130
14131 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14133 * nscd/hstcache.c (cache_addhst): Likewise.
14134 * nscd/grpcache.c (cache_addgr): Likewise.
14135 * nscd/aicache.c (addhstaiX): Likewise
14136
6d4d8e8e
AS
141372011-07-01 Andreas Schwab <schwab@redhat.com>
14138
14139 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14140 domain only when needed.
14141
89f654c5
AS
141422011-06-30 Andreas Schwab <schwab@redhat.com>
14143
14144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14145 is always restored.
14146
cf3b23ff
UD
141472011-06-29 Ulrich Drepper <drepper@gmail.com>
14148
14149 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14150 are re-adding the entry.
14151 * nscd/servicescache.c (cache_addserv): Likewise.
14152
751626f9
AJ
141532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14154
14155 * sysdeps/generic/dl-irel.h: fix protection against multiple
14156 inclusions.
14157 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14158
9113ea1f
UD
141592011-06-28 Ulrich Drepper <drepper@gmail.com>
14160
5c0b8d90
UD
14161 [BZ #12935]
14162 * malloc/memusage.sh: Fix quoting in message.
14163 * debug/xtrace.sh: Likewise.
14164
9113ea1f
UD
14165 * configure.in: Remove support for --experimental-malloc option, make
14166 it the default.
14167 * config.make.in: Likewise.
14168 * malloc/Makefile: Likewise.
14169
a4172181
AS
141702011-06-27 Andreas Schwab <schwab@redhat.com>
14171
14172 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14173 two-byte characters.
14174
78a7eee7
RM
141752011-06-27 Roland McGrath <roland@hack.frob.com>
14176
62bede13
RM
14177 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14178 AC_CACHE_CHECK invocation.
14179 * configure: Regenerated.
14180
78a7eee7
RM
14181 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14182
5ce33a62
UD
141832011-06-27 Ulrich Drepper <drepper@gmail.com>
14184
034807a9
UD
14185 [BZ #12350]
14186 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14187 bit from old_res_options.
14188
4902da17
UD
14189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14190
5ce33a62
UD
14191 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14192 value type for setfct.
14193
c2344f56
L
141942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14197 __gettimeofday instead of gettimeofday.
14198
68468076
UD
141992011-06-26 Ulrich Drepper <drepper@gmail.com>
14200
14201 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14202
acb0d739
L
142032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14206
14207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14208 info.
14209
8912479f
L
142102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14213 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14214 strcpy-sse2-unaligned strncpy-sse2-unaligned
14215 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14216 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14217 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14218 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14219 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14222 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14223 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14224 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14225 (STRCPY): Support SSE2 and SSSE3 versions.
14226
d5495a11
UD
142272011-06-24 Ulrich Drepper <drepper@gmail.com>
14228
14229 [BZ #12874]
14230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14231 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14232 kernels which artificially limit size of requests.
14233
0b1cbaae
L
142342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14237 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14238 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14239 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14240 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14241 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14242 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14243 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14246 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14247 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14248 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14249 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14250 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14252 Enable unaligned load optimization for Intel Core i3, i5 and i7
14253 processors.
14254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14255 Define.
14256 (index_Fast_Unaligned_Load): Define.
14257 (HAS_FAST_UNALIGNED_LOAD): Define.
14258
07f494a0
MP
142592011-06-23 Marek Polacek <mpolacek@redhat.com>
14260
14261 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14262
fa3fc0fe
UD
142632011-06-22 Ulrich Drepper <drepper@gmail.com>
14264
14265 [BZ #12907]
14266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14267 until it is clear that the information is realy needed.
14268 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14269
e12df166
AS
142702011-06-22 Andreas Schwab <schwab@redhat.com>
14271
14272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14273
852eb34d
UD
142742011-06-22 Ulrich Drepper <drepper@gmail.com>
14275
84e2a551
UD
14276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14277 /sys/devices/system/cpu/online if it is usable.
14278
852eb34d
UD
14279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14280 reading the information from the /proc filesystem to once a second.
14281
6e502e19
UD
142822011-06-21 Andreas Jaeger <aj@suse.de>
14283
14284 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14285 NULL after inclusion of kernel headers.
14286
75d39ff2
UD
142872011-06-21 Ulrich Drepper <drepper@gmail.com>
14288
51f9aa6a
UD
14289 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14290 calls to internal_setent.
14291
c0244a9d
UD
14292 [BZ #12885]
14293 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14294 addresses using gethostbyname4_r ignore IPv4 addresses.
14295
c5e3c2ae
UD
14296 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14297 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14298
75d39ff2
UD
14299 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14300
42675c6f
DM
143012011-06-20 David S. Miller <davem@davemloft.net>
14302
14303 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14304 inclusions.
14305 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14306
14307 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14308 (elf_irel): Use it.
14309 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14310 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14311 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14312 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14313 * sysdeps/x86_64/dl-irel.h: Likewise.
14314
14315 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14316 * elf/dl-sym.c: Likewise.
14317
57912a71
UD
143182011-06-15 Ulrich Drepper <drepper@gmail.com>
14319
14320 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14321 need to dereference resplen2.
14322
ee22793d
AS
143232011-06-14 Andreas Schwab <schwab@redhat.com>
14324
14325 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14326
a9e836b0
UD
143272011-06-15 Ulrich Drepper <drepper@gmail.com>
14328
77fb9117
UD
14329 * Makeconfig: Define vardbdir and inst_vardbdir.
14330 * nss/Makefile: Add rules to install db-Makefile.
14331
40c1b22c
UD
14332 * nss/nss_db/db-XXX.c: Cleanup.
14333
9f2da732
UD
14334 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14335 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14336 GLIBC_PRIVATE.
14337 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14338 * nss/makedb.c: Implement -g option to specify that value strings
14339 are generated and should not be added to table iterated over for
14340 get*ent calls.
14341 * nss/nss_db/db-initgroups.c: New file.
14342
82e9a1f7
UD
14343 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14344 interface.
14345
c41af17e
UD
14346 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14347 (internal_getgrouplist): Adjust to name change.
14348 Update use_initgroups_entry if this is not the first call.
14349 * nss/databases.def: Add initgroups entry.
14350
a9e836b0
UD
14351 * nss/makedb.c (compute_tables): Check result of multiple hash table
14352 sizes to minimize maximum chain length.
14353
2666d441
UD
143542011-06-14 Ulrich Drepper <drepper@gmail.com>
14355
14356 * Versions.def: Add entry for libnss_db.
14357 * shlib-versions: Likewise.
14358 * nss/Makefile: Add rules to build libnss_db.
14359 * nss/Versions: Add libnss_db information. Organize libnss_files
14360 entries better.
14361 * nss/db-Makefile: Add gshadow support. Change rules for the new
14362 makedb progra. Some minor improvements to generate smaller files.
14363 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14364 here from...
14365 * nss/makedb.c: ...here.
14366 Improve database format to be smaller and require less memory at
14367 runtime.
14368 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14369 db anymore.
14370 * nss/nss_db/db-netgrp.c: Likewise.
14371 * nss/nss_db/db-open.c: Likewise.
14372 * nss/nss_files/flies-XXX.x: Adjust comments.
14373 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14374 * nss/nss_files/files-grp.c: Likewise.
14375 * nss/nss_files/files-hosts.c: Likewise.
14376 * nss/nss_files/files-network.c: Likewise.
14377 * nss/nss_files/files-proto.c: Likewise.
14378 * nss/nss_files/files-pwd.c: Likewise.
14379 * nss/nss_files/files-rpc.c: Likewise.
14380 * nss/nss_files/files-service.c: Likewise.
14381 * nss/nss_files/files-sgrp.c: Likewise.
14382 * nss/nss_files/files-spwd.c: Likewise.
14383 * nss/nss_db/db-alias.c: Removed.
14384 * nss/nss_db/dummy-db.h: Removed.
14385
9ee76b5a
UD
143862011-06-02 Ulrich Drepper <drepper@gmail.com>
14387
14388 * nss/makedb.c: Rewritten to not use database library.
14389 * nss/Makefile: Update to build new makedb program.
14390
c71ca1f8
AJ
143912011-06-14 Andreas Jaeger <aj@suse.de>
14392
14393 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14394 memset declaration.
14395
3154bfb8
UD
143962011-06-10 Andreas Schwab <schwab@redhat.com>
14397
14398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14399 tmpbuf.
14400
b350afab
RM
144012011-06-10 Roland McGrath <roland@hack.frob.com>
14402
decd4e50
RM
14403 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14404 * elf/Makefile ($(objpfx)ld.so): Likewise.
14405
5615eaf2
RM
14406 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14407 Don't list ld.so twice in dependencies.
14408
14409 * posix/bug-regex31.c: Include <stdlib.h>.
14410
14411 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14412
14413 * nis/nss_compat/compat-spwd.c
14414 (getspent_next_nss_netgr): Remove unused variable.
14415 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14416
14417 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14418 nonmembers" output to use the right array.
14419
14420 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14421
14422 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14423
14424 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14425 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14426 * catgets/gencat.c (read_input_file): Likewise.
14427 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14428
14429 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14430 variable definition inside #if's controlling its use.
14431
14432 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14433
14434 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14435
14436 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14437
14438 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14439 unreachable code.
14440
14441 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14442
b68e08db
RM
14443 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14444 * configure: Regenerated.
14445
b350afab
RM
14446 * Makerules: Revert last change.
14447 * elf/Makefile: Likewise.
14448
28368601
RM
144492011-06-09 Roland McGrath <roland@hack.frob.com>
14450
14451 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14452 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14453 (reloc-link): Likewise.
14454
11988f8f
UD
144552011-06-09 Ulrich Drepper <drepper@gmail.com>
14456
14457 * elf/Makefile: Add rules to build pldd.
14458 * elf/pldd.c: New file.
14459 * elf/pldd-xx.c: New file.
14460
e80fab37
UD
144612011-06-07 Ulrich Drepper <drepper@gmail.com>
14462
14463 * version.h: Update for 2.15 development version.
14464
9b849836
DM
144652011-06-07 David S. Miller <davem@davemloft.net>
14466
14467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14468 ifuncs.
14469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14470 elf_machine_lazy_rel): Likewise.
14471 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14473 elf_machine_lazy_rel): Likewise.
14474 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14475 dl_hwcap via passed in argument.
14476 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14477 Likewise.
14478
5a31b283
AK
144792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14480
14481 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14482
069e52f8
RM
144832011-06-06 Roland McGrath <roland@hack.frob.com>
14484
14485 [BZ #12849]
14486 * manual/fdl-1.1.texi: New file, verbatim from:
14487 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14488 * manual/lgpl-2.1.texi: New file, verbatim from:
14489 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14490 * manual/Makefile (licenses): New variable, list those new file names.
14491 (texis): Use it.
14492 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14493
14494 * manual/fdl.texi: File removed.
14495 * manual/lesser.texi: File removed.
14496 * manual/libc.texinfo (Copying, Documentation License):
14497 Use new @include file names, put @appendix directive before @include.
14498
f16846a5
JJ
144992011-06-04 Jakub Jelinek <jakub@redhat.com>
14500
14501 [BZ #12841]
14502 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14503 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14504 (mq_open): Add __NTH.
14505
3d29045b
L
145062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14507
14508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14509 Assume Intel Core i3/i5/i7 processor if AVX is available.
14510
8c297311
UD
145112011-05-31 Ulrich Drepper <drepper@gmail.com>
14512
14513 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14514 typo.
14515
c8fc0c91
UD
145162011-05-31 Andreas Schwab <schwab@redhat.com>
14517
14518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14519 memory. Use alloca_account. Fix memory leak when retrying.
14520
5b27a807
UD
145212011-05-31 Ulrich Drepper <drepper@gmail.com>
14522
356f8bc6
UD
14523 * version.h (RELEASE): Bump for 2.14 release.
14524 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14525
5b27a807
UD
14526 * config.make.in (RANLIB): Remove entry.
14527
01f16ab0
UD
145282011-05-30 Ulrich Drepper <drepper@gmail.com>
14529
41fce8bd
UD
14530 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14531 (libc.pot): Work around missing support for .ksh extension in xgettext.
14532
4769ae77
UD
14533 [BZ #12684]
14534 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14535 if both request failed.
14536 (send_dg): In case of server errors clear resplen or *resplen2.
14537
6b1e7d19
UD
14538 [BZ #12454]
14539 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14540 when there are multiple maps.
14541 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14542 (_dl_fini): Remove test here.
14543
01f16ab0
UD
14544 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14545
b1ebd700
UD
145462011-05-29 Ulrich Drepper <drepper@gmail.com>
14547
7ae22829
UD
14548 [BZ #12350]
14549 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14550 bit from old_res_options.
14551 (gaih_inet): Likewise.
14552
553149f6 14553 [BZ #11099]
18a84741 14554 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14555 as signed.
14556
652ffab1
UD
14557 * resolv/res_init.c (res_setoptions): Make the code more compact.
14558
16985fd0
UD
14559 [BZ #11558]
14560 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14561 set RES_USEVC.
14562
0464f746
UD
14563 [BZ #11634]
14564 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14565
7d17596c
UD
14566 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14567
cf6bbbd7
UD
14568 [BZ #11781]
14569 * malloc/malloc.h: Declare malloc hook variables as volatile.
14570
13f1ab36
UD
14571 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14572 in last patch.
14573
b1ebd700
UD
14574 [BZ #11799]
14575 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14576 raise in the comment.
80e2212d
UD
14577 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14579 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14580
ce67228d
UD
145812011-05-28 Ulrich Drepper <drepper@gmail.com>
14582
8887a920
UD
14583 [BZ #12811]
14584 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14585 grow the buffers more if it already has to be sufficient.
14586 (build_wcs_upper_buffer): Likewise.
14587 * posix/regexec.c (check_matching): Likewise.
14588 (clean_state_log_if_needed): Likewise.
14589 (extend_buffers): Don't enlarge buffers beyond size of the input
14590 buffer.
14591 Patches mostly by Emil Wojak <emil@wojak.eu>.
14592 * posix/bug-regex32.c: New file.
14593 * posix/Makefile (tests): Add bug-regex32.
14594
4f031072
UD
14595 * locale/findlocale.c (_nl_find_locale): Return right away if
14596 _nl_explode_name failed.
14597 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14598
d0478f0c
UD
14599 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14600
de81b246
UD
14601 * debug/xtrace.sh: Unify messages.
14602 * malloc/memusage.sh: Likewise.
14603
c738465a
UD
14604 [BZ #12813]
14605 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14606 time symbol from vDSO. Substitute with vsyscall if not available.
14607 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14608 __vdso_time.
14609
f1f929d7
UD
14610 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14611 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14612 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14613 Add sendmmsg and internal_sendmmsg.
14614 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14617
ce67228d
UD
14618 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14619 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14621
e57420c6
UD
146222011-05-27 Ulrich Drepper <drepper@gmail.com>
14623
a8509ca5
UD
14624 [BZ #12813]
14625 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14626 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14627 available.
14628 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14629 __vdso_getcpu.
14630
e57420c6
UD
14631 [BZ #12814]
14632 * iconvdata/Makefile (tests): Add bug-iconv9.
14633 * iconvdata/bug-iconv9.c: New file.
14634
4d07db15
AS
146352011-05-27 Andreas Schwab <schwab@redhat.com>
14636
14637 [BZ #12814]
14638 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14639
ea486f69
JJ
146402011-05-25 Jakub Jelinek <jakub@redhat.com>
14641
14642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14643 (struct user_regs_struct): Change intcs field back to cs.
14644
6f038433
UD
146452011-05-25 Ulrich Drepper <drepper@gmail.com>
14646
14647 * po/ja.po: Update from translation team.
14648
67f86a25
UD
146492011-05-23 Ulrich Drepper <drepper@gmail.com>
14650
14651 [BZ #12795]
14652 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14653 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14654
def7fbd6
AS
146552011-05-20 Andreas Schwab <schwab@redhat.com>
14656
14657 * stdlib/longlong.h: Update from GCC.
14658
f50ef8f1
AS
146592011-05-23 Andreas Schwab <schwab@redhat.com>
14660
14661 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14662 parameter name.
14663 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14664 Add parameter name.
14665 (__sysconf): Pass it down.
14666
de7ce8f1
UD
146672011-05-22 Ulrich Drepper <drepper@gmail.com>
14668
f2962a71
UD
14669 [BZ #12671]
14670 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14671 some situations.
14672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14673 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14674 add in in __libc_use_alloca calls. Adjust callers.
14675 (glob): Use malloc in some situations.
14676
de7ce8f1
UD
14677 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14678 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14679 pltexit.
14680
aec84f53
UD
146812011-05-21 Ulrich Drepper <drepper@gmail.com>
14682
05bb4a68
UD
14683 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14684 and CLOCK_BOOTTIME_ALARM.
14685
7ea72f99
UD
14686 [BZ #12782]
14687 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14688 is returned.
14689
7e4afad5
UD
14690 * string/_strerror.c (__strerror_r): Print negative errors as signed
14691 numbers.
14692
8e211fec
UD
14693 [BZ #12777]
14694 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14695 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14696 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14697
f7d82dc9
UD
14698 * configure.in: Fix typo in redirection and correct removal of test
14699 files in two cases.
14700
cc9e536d
UD
14701 [BZ #12788]
14702 * locale/setlocale.c (new_composite_name): Fix test to check for
14703 identical name of all categories.
14704
aec84f53
UD
14705 [BZ #12792]
14706 * libio/filedoalloc.c (local_isatty): New function.
14707 (_IO_file_doallocate): Use local_isatty.
14708 * stdio-common/perror.c (perror): In case a new stream is used
14709 forward the stream error.
14710 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14711 error flag.
14712
78e64fdc
RT
147132011-05-20 Ulrich Drepper <drepper@gmail.com>
14714
34a9094f
UD
14715 [BZ #11869]
14716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14717 alloca.
14718 * include/alloca.h (extend_alloca_account): Define.
14719
78e64fdc
RT
14720 [BZ #11857]
14721 * posix/regex.h: Fix comments with documentation of user-accessible
14722 fields after compilation and describe correct free'ing of pattern
14723 after re_compile_pattern.
14724 Patch by Reuben Thomas <rrt@sc3d.org>.
14725
457bddfc
RA
147262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14727
14728 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14729 and -mno-altivec to prevent the compiler from using Altivec and/or
14730 VSX instructions when the corresponding registers are not available.
14731
a4527b51
AS
147322011-05-19 Andreas Schwab <schwab@redhat.com>
14733
14734 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14735
ed690b2f
UD
147362011-05-19 Ulrich Drepper <drepper@gmail.com>
14737
14738 * libio/freopen.c (freopen): Use __dup2, not dup2.
14739 * libio/freopen64.c (freopen64): Likewise.
14740
8db73634
L
147412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14742
14743 [BZ #12775]
14744 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14745 * math/Makefile (tests): Add test-powl.
14746 (CFLAGS-test-powl.c): Define.
14747 * math/test-powl.c: New file.
14748
0a197a9d
L
147492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14750
14751 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14752
ee30c380
UD
147532011-05-17 Ulrich Drepper <drepper@gmail.com>
14754
14755 [BZ #11837]
14756 * iconvdata/gb18030.c: Update to GB18020-2005.
14757
6ce75379
UD
147582011-05-16 Ulrich Drepper <drepper@gmail.com>
14759
a4b89fd8
AR
14760 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14761 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14762 Patch by Aharon Robbins <arnold@skeeve.com>.
14763
ea389b12
UD
14764 [BZ #11892]
14765 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14766 on the stack.
14767
68a3f91f
UD
14768 [BZ #11895]
14769 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14770 through underflows.
14771
15cc7dd1
UD
14772 [BZ #12766]
14773 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14774 point to strings before performing equality test for error_one_per_line
14775 mode.
14776
f3799213
UD
14777 [BZ #11697]
14778 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14779
d79a9c94
UD
14780 [BZ #11820]
14781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14782 (struct user_fpregs_struct): Avoid __uint*_t types.
14783
56e5eb46
UD
14784 [BZ #6420]
14785 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14786 symbol info. Use it instead of calling _dl_addr locally.
14787 (lock_and_info): New function.
14788 (tr_freehook): Call lock_and_info and pass symbol info as additional
14789 parameter to tr_where.
14790 (tr_mallochook): Likewise.
14791 (tr_reallochook): Likewise.
14792 (tr_memalignhook): Likewise.
14793
6ce75379
UD
14794 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14795 used and couldn't be at all thread-safe.
14796
f8a3b5bf
UD
147972011-05-15 Ulrich Drepper <drepper@gmail.com>
14798
94b7cc37
UD
14799 * libio/freopen.c (freopen): Don't close old file descriptor
14800 before the new one is opened. Instead dup the new file descriptor
14801 to the old one after the new stream is created.
14802 * libio/freopen64.c (freopen64): Likewise.
14803 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14804 * libio/fileops.c (_IO_new_file_close_it): Handle new
14805 _IO_FLAGS2_NOCLOSE flag.
14806 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14807 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14808 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14809 _IO_FLAGS2_NOCLOSE flag.
14810 * include/unistd.h: Add hidden_proto for dup3.
14811 Define __have_dup3.
14812 * io/dup3.c: Define hidden symbol.
14813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14814
bd25564e
UD
14815 [BZ #7101]
14816 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14817 when an incomplete long option is used.
14818 * posix/tst-getopt_long1.c: New file.
14819 * posix/Makefile (tests): Add tst-getopt_long1.
14820
c84cfef4
UD
14821 [BZ #10138]
14822 * scripts/config.guess: Update from autoconf-2.68.
14823 * scripts/config.sub: Likewise.
14824
3b85df27
UD
14825 [BZ #10157]
14826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14827 tests into ...
14828 (has_cpuclock): ...this. New function.
14829 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14830 macro here based on has_cpuclock code.
14831
15a856b1
UD
14832 [BZ #10149]
14833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14834 First byte (not low byte) is now always NUL.
14835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14836
05f399e6
UD
14837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14838 Use non-cancelable interfaces.
14839
10a52685 14840 [BZ #9809]
94ecc67d
UD
14841 * locale/iso-639.def: Add entry for Sorani.
14842
f8a3b5bf
UD
14843 [BZ #11901]
14844 * include/stdlib.h: Move include protection to the right place.
14845 Define abort_msg_s. Declare __abort_msg with it.
14846 * stdlib/abort.c (__abort_msg): Adjust type.
14847 * assert/assert.c (__assert_fail_base): New function. Majority
14848 of code from __assert_fail. Allocate memory for __abort_msg with
14849 mmap.
14850 (__assert_fail): Now call __assert_fail_base.
14851 * assert/assert-perr.c: Remove bulk of implementation. Use
14852 __assert_fail_base.
14853 * include/assert.hL Declare __assert_fail_base.
14854 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14855 mmap.
14856 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14857
1af4e298
UD
148582011-05-14 Ulrich Drepper <drepper@gmail.com>
14859
f8a3b5bf 14860 [BZ #11952]
d26dfc60
MG
14861 [BZ #12453]
14862 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14863 until all modules are registered in the DTV.
14864 * elf/Makefile: Add rules to build and run tst-tls19.
14865 * elf/tst-tls19.c: New file.
14866 * elf/tst-tls19mod1.c: New file.
14867 * elf/tst-tls19mod2.c: New file.
14868 * elf/tst-tls19mod3.c: New file.
14869 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14870
2fc54d6f
UD
14871 [BZ #12083]
14872 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14873 correctly.
14874
98d76b46
UD
14875 [BZ #12601]
14876 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14877 two-byte sequence errors.
14878 * iconvdata/Makefile (tests): Add bug-iconv8.
14879 * iconvdata/bug-iconv8.c: New file.
14880
da3c19ef
UD
14881 [BZ #12626]
14882 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14883 buf2 definition.
14884
ca408c15
UD
14885 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14886
d6f67f7d
UD
14887 [BZ #12432]
14888 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14889 (dummy_getcfa): New function.
14890 (init): Get _Unwind_GetCFA address, use dummy if not found.
14891 (backtrace_helper): In recursion check, also check whether CFA changes.
14892 (__backtrace): Completely initialize arg.
14893
1af4e298 14894 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14895 storing incomplete byte sequence in state object. Avoid testing for
14896 guaranteed too small input if we know there is enough data available.
1af4e298 14897
da62f81b
AS
148982011-05-11 Andreas Schwab <schwab@redhat.com>
14899
14900 * Makeconfig (+link-pie): Indent.
14901 * Rules (binaries-pie): Define if $(have-fpie) and
14902 $(build-shared).
14903 (binaries-shared): Also filter out $(binaries-pie).
14904 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14905 * nscd/Makefile (others-pie): Add nscd.
14906 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14907 ($(objpfx)nscd): Remove command override.
14908 * login/Makefile (others-pie): Add pt_chown.
14909 ($(objpfx)pt_chown): Remove command override.
14910 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14911 remove command overrides.
14912
fcabc0f8
UD
149132011-05-13 Ulrich Drepper <drepper@gmail.com>
14914
20030ae6
UD
14915 * libio/tst_putwc.c: Fix error messages.
14916
fcabc0f8
UD
14917 [BZ #12724]
14918 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14919 currently writing and seek to current position when not.
14920 * libio/Makefile (tests): Add bug-fclose1.
14921 * libio/bug-fclose1.c: New file.
14922
320a5dc0
PB
149232011-05-12 Ulrich Drepper <drepper@gmail.com>
14924
14925 [BZ #12511]
14926 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14927 don't set DF_1_NODELETE here.
14928 (do_lookup_x): When entering new entry test for copy relocation
14929 and if necessary set DF_1_NODELETE flag.
14930 * elf/tst-unique4.cc: New file.
14931 * elf/tst-unique4.h: New file.
14932 * elf/tst-unique4lib.cc: New file.
14933 * elf/Makefile: Add rules to build and run tst-unique4.
14934 Patch by Piotr Bury <pbury@goahead.com>.
14935
22836f52
UD
149362011-05-11 Ulrich Drepper <drepper@gmail.com>
14937
f574184a
UD
14938 [BZ #12052]
14939 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14940
e1fb097f
UD
14941 [BZ #12625]
14942 * misc/mntent_r.c (addmntent): Flush the stream after the output
14943
22836f52
UD
14944 [BZ #12393]
14945 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14946 (is_trusted_path_normalize): Skip initial colon. Append slash
14947 to empty buffer. Duplicate is_trusted_path code but allow
14948 constructed patch to be prefix.
14949 (is_dst): Allow $ORIGIN followed by /.
14950 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14951 Correct testing of result of is_trusted_path_normalize
14952 (decompose_rpath): Fix warning.
14953
7b3b0b2a
UD
149542011-05-10 Ulrich Drepper <drepper@gmail.com>
14955
14956 [BZ #11257]
14957 * grp/initgroups.c (internal_getgrouplist): When we found the service
14958 list through the initgroups entry in nsswitch.conf do not always
14959 continue on a successful lookup. Don't always use the
eac80ce2 14960 __nss_group_database value if it is set.
7b3b0b2a
UD
14961 * nss/nsswitch.conf (initgroups): Change action for successful db
14962 lookup to continue for compatibility.
14963
2a81eaa5
UD
149642011-05-09 Ulrich Drepper <drepper@gmail.com>
14965
be97a69e
UD
14966 [BZ #11532]
14967 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14968 and CP774 modules.
14969 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14970 and CP774 modules.
14971 * iconvdata/tst-tables.sh: Likewise.
14972 * iconvdata/cp770.c: New file.
14973 * iconvdata/cp771.c: New file.
14974 * iconvdata/cp772.c: New file.
14975 * iconvdata/cp773.c: New file.
14976 * iconvdata/cp774.c: New file.
14977 * iconvdata/testdata/CP770: New file.
14978 * iconvdata/testdata/CP770..UTF8: New file.
14979 * iconvdata/testdata/CP771: New file.
14980 * iconvdata/testdata/CP771..UTF8: New file.
14981 * iconvdata/testdata/CP772: New file.
14982 * iconvdata/testdata/CP772..UTF8: New file.
14983 * iconvdata/testdata/CP773: New file.
14984 * iconvdata/testdata/CP773..UTF8: New file.
14985 * iconvdata/testdata/CP774: New file.
14986 * iconvdata/testdata/CP774..UTF8: New file.
14987
14988 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14989 END CHARMAP line.
14990 * iconvdata/gen-8bit-gap.sh: Likewise.
14991 * iconvdata/gen-8bit.sh: Likewise.
14992
c1e9e399
UD
14993 * locale/iso-639.def: Add ary entry.
14994
24c55fb3 14995 [BZ #11258]
96b4b1b0
UD
14996 * locale/C-translit.h.in: Add U20A1 transliteration.
14997
bdc2f971
KB
14998 [BZ #12178]
14999 * locale/iso-639.def: Add wae entry.
15000 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15001
2952b117
UD
15002 [BZ #12545]
15003 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15004 for n.
15005
2a81eaa5
UD
15006 [BZ #12711]
15007 * locale/C-translit.h.in: Add entry for U20B9.
15008 Patch by pravin.d.s@gmail.com.
15009
28377d1b
UD
150102011-05-08 Ulrich Drepper <drepper@gmail.com>
15011
7fb90fb8
UD
15012 [BZ #12713]
15013 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15014 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15015 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15016 in rtld. Use *stat64.
7fb90fb8 15017 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15018 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15019 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15020 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15021 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15022 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15023 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15024 __fstatat64 macros.
7fb90fb8
UD
15025 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15026 * dirent/rewinddir.c: Add libc_hidden_def.
15027 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15028 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15029
28377d1b
UD
15030 * include/dirent.h (__alloc_dir): Add flags parameter.
15031 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15032 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15033 __alloc_dir.
15034 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15035 from fdopendir if O_CLOEXEC is already set.
15036
66bdbaa4
AM
150372011-03-15 Alan Modra <amodra@gmail.com>
15038
15039 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15040 l_tls_firstbyte_offset non-zero. Save padding offset in
15041 l_tls_firstbyte_offset for later use.
15042 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15043 freeing static tls block.
15044
95721191
JN
150452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15046
15047 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15048 where #ifdef was intended. The intent is to prevent ARG_MAX from
15049 being defined by the kernel headers.
15050
f87dfb1f
UD
150512011-05-07 Ulrich Drepper <drepper@gmail.com>
15052
15053 [BZ #12734]
15054 * resolv/resolv.h: Define RES_NOTLDQUERY.
15055 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15056 no-tld-query and set RES_NOTLDQUERY.
15057 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15058 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15059 modern BIND to search name as TLD unless forbidden.
15060
47c3cd7a
UD
150612011-05-07 Petr Baudis <pasky@suse.cz>
15062 Ulrich Drepper <drepper@gmail.com>
15063
15064 [BZ #12393]
15065 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15066 (is_trusted_path): ...to here.
c1e9ea35 15067 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15068 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15069 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15070
8a35c912
PP
150712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15072
15073 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15074 __BEGIN/__END_DECLS.
15075
acd41f47
UD
150762011-05-06 Ulrich Drepper <drepper@gmail.com>
15077
15078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15079 NSS_STATUS_NOTFOUND if no record was found.
15080
597df647
AS
150812011-05-05 Andreas Schwab <schwab@redhat.com>
15082
15083 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15084 (headers-not-in-tirpc): Remove rpc/netdb.h
15085 * resolv/netdb.h: Revert last change.
15086
b9af1301
PP
150872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15088
15089 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15090 circular dependency between libgcc.a and libc.a.
15091
4e34d5f5
AS
150922011-05-05 Andreas Schwab <schwab@redhat.com>
15093
15094 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15095 * nis/Makefile: Don't install rpcsvc/*.
15096 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15097 instead of <rpc/types.h>.
15098 (MAXHOSTNAMELEN): Define.
15099
00ee369c
AS
151002011-05-03 Andreas Schwab <schwab@redhat.com>
15101
15102 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15103
0b592a30
MB
151042011-04-28 Maciej Babinski <mbabinski@google.com>
15105
15106 [BZ #12714]
15107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15108 gethostbyname4_r when IPv6 results are possible.
15109
6e04cbbe
UD
151102011-05-02 Ulrich Drepper <drepper@gmail.com>
15111
15112 [BZ #12723]
15113 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15114 _PC_PIPE_BUF handling.
15115
e4ecafe0
BH
151162011-04-30 Bruno Haible <bruno@clisp.org>
15117
15118 [BZ #12717]
15119 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15120 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15121 to 'int'.
15122 * inet/getnameinfo.c (getnameinfo): Likewise.
15123
125ee683
UD
151242011-04-29 Ulrich Drepper <drepper@gmail.com>
15125
15126 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15127 to groups setting in database lookup.
15128 * nss/nsswitch.conf: Add initgroups entry.
15129
b722481a
EB
151302011-04-22 Ulrich Drepper <drepper@gmail.com>
15131
15132 [BZ #12685]
15133 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15134 mode string.
15135 Patch by Eric Blake <eblake@redhat.com>.
15136
4df46dbd
L
151372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15138
15139 * sunrpc/Makefile (need-export-routines): Add svc_run.
15140 (routines): Remove svc_run.
15141 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15142 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15143 * sunrpc/svc_run.c (svc_run): Likewise.
15144 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15145
e84142d2
UD
151462011-04-21 Ulrich Drepper <drepper@gmail.com>
15147
15148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15149 problem in reallocation in last patch.
15150
877175d8
UD
151512011-04-20 Ulrich Drepper <drepper@gmail.com>
15152
15153 * sunrpc/Makefile: Move inclusion of Rules.
15154
ab8eed78
UD
151552011-04-19 Ulrich Drepper <drepper@gmail.com>
15156
15157 * nss/nss_files/files-initgroups.c: New file.
15158 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15159 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15160 _nss_files_initgroups_dyn.
15161
e3d8f584
RS
151622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15163
15164 * elf/elf.h (R_ARM_IRELATIVE): Define.
15165
af190f45
UD
151662011-04-19 Ulrich Drepper <drepper@gmail.com>
15167
15168 * po/ru.po: Update from translation team.
15169
53cf59ef
UD
151702011-04-17 Ulrich Drepper <drepper@gmail.com>
15171
15172 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15173 dependencies.
15174
4c559bcd
MF
151752011-02-06 Mike Frysinger <vapier@gentoo.org>
15176
15177 [BZ #12653]
15178 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15179 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15183
4420675c
AS
151842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15185
15186 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15187 differing bytes.
15188 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15191
75ea32ab
UD
151922011-04-17 Ulrich Drepper <drepper@gmail.com>
15193
15194 [BZ #12420]
15195 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15196 storing it.
15197 * stdlib/bug-getcontext.c: New file.
15198 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15199
27390476
AK
152002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15201
15202 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15203 instructions into .machine "z9-109".
15204 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15205 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15206
10442705
AK
152072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15208
15209 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15210 between environment variables and auxiliary vector.
15211
7b57bfe5
UD
152122011-04-16 Ulrich Drepper <drepper@gmail.com>
15213
15214 * Makefile: Add rules to build linkobj/libc.so.
15215 * include/libc-symbols.h: Define libc_hidden_nolink.
15216 * include/rpc/auth.h: Mark functions which are to be hidden.
15217 * include/rpc/auth_des.h: Likewise.
15218 * include/rpc/auth_unix.h: Likewise.
15219 * include/rpc/clnt.h: Likewise.
15220 * include/rpc/des_crypt.h: Likewise.
15221 * include/rpc/key_prot.h: Likewise.
15222 * include/rpc/pmap_clnt.h: Likewise.
15223 * include/rpc/pmap_prot.h: Likewise.
15224 * include/rpc/pmap_rmt.h: Likewise.
15225 * include/rpc/rpc_msg.h: Likewise.
15226 * include/rpc/svc.h: Likewise.
15227 * include/rpc/svc_auth.h: Likewise.
15228 * include/rpc/xdr.h: Likewise.
15229 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15230 * nss/Makefile: Likewise.
15231 * sunrpc/Makefile: Don't install headers. Build library with normal
15232 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15233 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15234 for the compat linking library. Remove use of INTDEF/INTUSE.
15235 * sunrpc/auth_none.c: Likewise.
15236 * sunrpc/auth_unix.c: Likewise.
15237 * sunrpc/authdes_prot.c: Likewise.
15238 * sunrpc/authuxprot.c: Likewise.
15239 * sunrpc/clnt_gen.c: Likewise.
15240 * sunrpc/clnt_perr.c: Likewise.
15241 * sunrpc/clnt_raw.c: Likewise.
15242 * sunrpc/clnt_simp.c: Likewise.
15243 * sunrpc/clnt_tcp.c: Likewise.
15244 * sunrpc/clnt_udp.c: Likewise.
15245 * sunrpc/clnt_unix.c: Likewise.
15246 * sunrpc/des_crypt.c: Likewise.
15247 * sunrpc/des_soft.c: Likewise.
15248 * sunrpc/get_myaddr.c: Likewise.
15249 * sunrpc/key_call.c: Likewise.
15250 * sunrpc/key_prot.c: Likewise.
15251 * sunrpc/netname.c: Likewise.
15252 * sunrpc/pm_getmaps.c: Likewise.
15253 * sunrpc/pm_getport.c: Likewise.
15254 * sunrpc/pmap_clnt.c: Likewise.
15255 * sunrpc/pmap_prot.c: Likewise.
15256 * sunrpc/pmap_prot2.c: Likewise.
15257 * sunrpc/pmap_rmt.c: Likewise.
15258 * sunrpc/publickey.c: Likewise.
15259 * sunrpc/rpc_cmsg.c: Likewise.
15260 * sunrpc/rpc_common.c: Likewise.
15261 * sunrpc/rpc_dtable.c: Likewise.
15262 * sunrpc/rpc_prot.c: Likewise.
15263 * sunrpc/rpc_thread.c: Likewise.
15264 * sunrpc/rtime.c: Likewise.
15265 * sunrpc/svc.c: Likewise.
15266 * sunrpc/svc_auth.c: Likewise.
15267 * sunrpc/svc_authux.c: Likewise.
15268 * sunrpc/svc_raw.c: Likewise.
15269 * sunrpc/svc_run.c: Likewise.
15270 * sunrpc/svc_simple.c: Likewise.
15271 * sunrpc/svc_tcp.c: Likewise.
15272 * sunrpc/svc_udp.c: Likewise.
15273 * sunrpc/svc_unix.c: Likewise.
15274 * sunrpc/svcauth_des.c: Likewise.
15275 * sunrpc/xcrypt.c: Likewise.
15276 * sunrpc/xdr.c: Likewise.
15277 * sunrpc/xdr_array.c: Likewise.
15278 * sunrpc/xdr_float.c: Likewise.
15279 * sunrpc/xdr_intXX_t.c: Likewise.
15280 * sunrpc/xdr_mem.c: Likewise.
15281 * sunrpc/xdr_rec.c: Likewise.
15282 * sunrpc/xdr_ref.c: Likewise.
15283 * sunrpc/xdr_sizeof.c: Likewise.
15284 * sunrpc/xdr_stdio.c: Likewise.
15285
e6c61494
UD
152862011-04-10 Ulrich Drepper <drepper@gmail.com>
15287
15288 [BZ #12650]
15289 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15290 * sysdeps/ia64/dl-tls.h: Likewise.
15291 * sysdeps/powerpc/dl-tls.h: Likewise.
15292 * sysdeps/s390/dl-tls.h: Likewise.
15293 * sysdeps/sh/dl-tls.h: Likewise.
15294 * sysdeps/sparc/dl-tls.h: Likewise.
15295 * sysdeps/x86_64/dl-tls.h: Likewise.
15296 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15297
34fe483e
AS
152982011-03-14 Andreas Schwab <schwab@redhat.com>
15299
15300 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15301 rpath element also skip the following colon.
15302 (expand_dynamic_string_token): Add is_path parameter and pass
15303 down to DL_DST_REQUIRED and _dl_dst_substitute.
15304 (decompose_rpath): Call expand_dynamic_string_token with
15305 non-zero is_path. Ignore empty rpaths.
15306 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15307 with zero is_path.
15308
f12a32e6
AS
153092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15310
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15312 Make cancelable.
15313
38a7d692
UD
153142011-04-09 Ulrich Drepper <drepper@gmail.com>
15315
15316 [BZ #12655]
15317 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15318 Patch by Filipe David Manana <fdmanana@apache.org>.
15319
e451d22b
AS
153202011-04-07 Andreas Schwab <schwab@redhat.com>
15321
15322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15323 Maintain aligned stack.
15324 (CHECK_RSP): Remove unused macro.
15325
dedc7c7b
UD
153262011-04-03 Ulrich Drepper <drepper@gmail.com>
15327
15328 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15330
94521213
UD
153312011-04-02 Ulrich Drepper <drepper@gmail.com>
15332
15333 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15334
8cb700c0 15335 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15336
0354e355
L
153372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15338
15339 [BZ #12518]
15340 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15341 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15342 * sysdeps/x86_64/memmove.c: New file.
15343 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15344 (memcpy): Renamed to ...
15345 (__new_memcpy): This.
15346 (memcpy): Provide GLIBC_2_14 memcpy.
15347 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15348 (memcpy): Provide GLIBC_2_2_5 memcpy.
15349
8593482f
UD
153502011-04-01 Ulrich Drepper <drepper@gmail.com>
15351
15352 [BZ #12631]
15353 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15354
81a5726b
AS
153552011-03-30 Andreas Schwab <schwab@redhat.com>
15356
15357 * misc/syncfs.c: New file.
15358 * misc/Makefile (routines): Add syncfs.
15359 * posix/unistd.h: Declare syncfs.
15360 * sysdeps/unix/syscalls.list: Add syncfs.
15361
00e5419f
AS
153622011-04-01 Andreas Schwab <schwab@redhat.com>
15363
15364 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15365 open_by_handle_at.
15366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15371 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15373
748876bf
UD
153742011-04-01 Ulrich Drepper <drepper@gmail.com>
15375
658e451d
UD
15376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15383
748876bf
UD
15384 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15385 sync_file_range.c with -fexceptions.
15386 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15387 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15389 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15390 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15391 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15393 sync_file_range as cancellation point
15394 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15395 now a wrapper around __call_sync_file_range with cancellation handling.
15396 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15397 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15398 function name to __call_sync_file_range.
15399 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15400 Add call_sync_file_range.
748876bf 15401
6e63d5e1
AS
154022011-04-01 Andreas Schwab <schwab@redhat.com>
15403
15404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15405 bits/timex.h.
6e63d5e1 15406
46998f74
UD
154072011-04-01 Ulrich Drepper <drepper@gmail.com>
15408
4c1423ed
UD
15409 * iconv/iconv.h: Fix typo in comment.
15410 * io/fcntl.h: Likewise.
15411 * libio/stdio.h: Likewise.
15412 * posix/spawn.h: Likewise.
15413 * posix/unistd.h: Likewise.
15414 * stdlib/stdlib.h: Likewise.
15415 * time/time.h: Likewise.
15416 * wcsmbs/wchar.h: Likewise.
15417
158648c0
UD
15418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15419 open_by_handle): Add.
15420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15421 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15422 Augment a few comments.
15423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15428 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15429 open_by_handle.
15430
46998f74
UD
15431 * io/fcntl.h (AT_EMPTY_PATH): Define.
15432
83fe108b
UD
154332011-03-30 Ulrich Drepper <drepper@gmail.com>
15434
15435 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15436 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15437 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15438 to...
15439 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15440 * Versions.def: Add GLIBC_2.14.
15441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15442 Export.
83fe108b 15443
bb242059
UD
154442011-03-22 Ulrich Drepper <drepper@gmail.com>
15445
15446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15447 round counter.
15448 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15449
c97a1282
L
154502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 [BZ #12597]
15453 * string/test-strncmp.c (do_page_test): New function.
15454 (check2): Likewise.
15455 (test_main): Call check2.
15456 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15457
2a115601
UD
154582011-03-20 Ulrich Drepper <drepper@gmail.com>
15459
15460 [BZ #12587]
15461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15462 Handle cache information in CPU leaf 4.
15463 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15464
8126d904
UD
154652011-03-18 Ulrich Drepper <drepper@gmail.com>
15466
042c49c6 15467 [BZ #12583]
8126d904
UD
15468 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15469 character representation.
15470 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15471
ccfe366e
RA
154722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15473
15474 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15475 END(__isnan) to END(__isnanf) to match function entry point/label
15476 EALIGN(__isnanf,...).
15477
c6e13027
JJ
154782011-03-10 Jakub Jelinek <jakub@redhat.com>
15479
15480 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15481
33f85a3f
UD
154822011-03-10 Ulrich Drepper <drepper@gmail.com>
15483
028478fa
UD
15484 [BZ #12510]
15485 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15486 copy from the symbol referenced in the relocation to initialize the
15487 used variable.
15488 Patch by Piotr Bury <pbury@goahead.com>.
15489 * elf/Makefile: Add rules to build and tst-unique3.
15490 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15491 * elf/tst-unique3.cc: New file.
15492 * elf/tst-unique3.h: New file.
15493 * elf/tst-unique3lib.cc: New file.
15494 * elf/tst-unique3lib2.cc: New file.
15495
33f85a3f
UD
15496 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15497
03592fc7
MF
154982011-03-10 Mike Frysinger <vapier@gentoo.org>
15499
15500 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15501 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15502 to _start.
03592fc7 15503
6a5ee102
UD
155042011-03-06 Ulrich Drepper <drepper@gmail.com>
15505
15506 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15507 to-be-loaded object along a path to loader is ld.so.
15508
7e4ba49c
HJ
155092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15510 Ulrich Drepper <drepper@gmail.com>
15511
15512 * sysdeps/x86_64/memset.S: After aligning destination, code
15513 branches to different locations depending on the value of
15514 misalignment, when multiarch is enabled. Fix this.
15515
155162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15517
15518 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15519 Set _x86_64_preferred_memory_instruction for AMD processsors.
15520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15521 Set bit_Prefer_SSE_for_memop for AMD processors.
15522
13a804de
UD
155232011-03-04 Ulrich Drepper <drepper@gmail.com>
15524
15525 * libio/fmemopen.c (fmemopen): Optimize a bit.
15526
9d25c392
AS
155272011-03-03 Andreas Schwab <schwab@redhat.com>
15528
15529 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15530
a5543c6a
RM
155312011-03-03 Roland McGrath <roland@redhat.com>
15532
15533 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15534
012d35f7
DM
155352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15536
7e4ba49c 15537 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15538 __bzero_ultra1 instead of __memset_ultra1.
15539
4bff6e01
AS
155402011-02-23 Andreas Schwab <schwab@redhat.com>
15541 Ulrich Drepper <drepper@gmail.com>
15542
15543 [BZ #12509]
15544 * include/link.h (struct link_map): Add l_orig_initfini.
15545 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15546 returning unsuccessfully.
15547 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15548 close of a file loaded at startup, restore the original l_initfini
15549 list.
15550 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15551 list, store the pointer.
15552 * elf/Makefile ($(objpfx)noload-mem): New rule.
15553 (noload-ENV): Define.
15554 (tests): Add $(objpfx)noload-mem.
15555 * elf/noload.c: Include <memcheck.h>.
15556 (main): Call mtrace. Close all opened handles.
15557
f2092faf
AS
155582011-02-17 Andreas Schwab <schwab@redhat.com>
15559
15560 [BZ #12454]
15561 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15562 dependencies are missing.
15563
6c8a2e88
ST
155642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15565
f2092faf 15566 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15567 Hurd needs munmap.
15568 * sysdeps/mach/hurd/ifreq.h: New file.
15569
84a42118
PB
155702011-01-27 Petr Baudis <pasky@suse.cz>
15571 Ulrich Drepper <drepper@gmail.com>
15572
071f805e 15573 [BZ 12445]#
84a42118
PB
15574 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15575 to extend_alloca().
15576 * stdio-common/bug23.c: New file.
15577 * stdio-common/Makefile (tests): Add bug23.
15578
e23fe25b
AS
155792010-09-28 Andreas Schwab <schwab@redhat.com>
15580 Ulrich Drepper <drepper@gmail.com>
15581
15582 [BZ #12489]
15583 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15584 before performing relro protection. At old place add assertion
15585 to make sure nothing changed.
15586
d3f02e10
NS
155872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15588 Glauber de Oliveira Costa <glommer@gmail.com>
15589
15590 * elf/elf.h: Add new ARM TLS relocs.
15591
d55fd7a5
RA
155922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15593
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15595 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15596 cast from r3.
15597 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15598 'tests' variable.
15599 * sysdeps/wordsize-64/tst-writev.c: New file.
15600
2206397e
RA
156012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15602
15603 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15604 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15605 insns in _dl_start to prevent a TOC reference before relocs are
15606 resolved.
15607
e9433893
UD
156082011-02-15 Ulrich Drepper <drepper@gmail.com>
15609
15610 [BZ #12469]
15611 * Makeconfig: Remove RANLIB definition.
15612 * Makerules: Don't use RANLIB.
15613 * aclocal.m4: Remove ranlib test.
15614 * configure.in: No need to check for ranlib.
15615 * elf/rtld-Rules: Don't use RANLIB.
15616
f75286c6
ST
156172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15618
8e31c82d
ST
15619 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15620 protection macro.
15621 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15622 inclusion protection macro.
15623
f75286c6
ST
15624 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15625 SIGRTMIN and SIGRTMAX and print information in that case only when
15626 SIGRTMIN is defined.
15627
c1d0e639
JJ
156282011-02-11 Jakub Jelinek <jakub@redhat.com>
15629
15630 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15631 arginfo fn returning -1.
15632
15633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15634 and thousands string is zero terminated.
15635
edf9294e
AS
156362011-02-03 Andreas Schwab <schwab@redhat.com>
15637
15638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15639 sysdeps/unix/sysv/linux/bits/socket.h.
15640
2b7e92df
ST
156412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15642
edf9294e
AS
15643 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15644 (__CPU_COUNT): Remove old macros.
15645 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15646 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15647 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15648 (__sched_cpualloc, __sched_cpufree): Add declarations.
15649
a4c7ea7b
UD
156502011-02-05 Ulrich Drepper <drepper@gmail.com>
15651
15652 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15653 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15654 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15655 (readdhstai): Return value of addhstaiX call.
15656 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15657 (addgrbyX): Return value returned by cache_addgr.
15658 (readdgrbyname): Return value returned by addgrbyX.
15659 (readdgrbygid): Likewise.
15660 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15661 (addpwbyX): Return value returned by cache_addpw.
15662 (readdpwbyname): Return value returned by addhstbyX.
15663 (readdpwbyuid): Likewise.
15664 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15665 (addservbyX): Return value returned by cache_addserv.
15666 (readdservbyname): Return value returned by addservbyX:
15667 (readdservbyport): Likewise.
15668 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15669 (addhstbyX): Return value returned by cache_addhst.
15670 (readdhstbyname): Return value returned by addhstbyX.
15671 (readdhstbyaddr): Likewise.
15672 (readdhstbynamev6): Likewise.
15673 (readdhstbyaddrv6): Likewise.
15674 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15675 (readdinitgroups): Return value returned by addinitgroupsX.
15676 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15677 (prune_cache): Keep track of timeout value of re-added entries.
15678 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15679 * nscd/nscd.h: Adjust prototypes of readd* functions.
15680
a0bf67cc
RM
156812011-02-04 Roland McGrath <roland@redhat.com>
15682
15683 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15684 (nis_stats): Likewise.
15685 * nis/nis_modify.c (nis_modify): Likewise.
15686 * nis/nis_remove.c (nis_remove): Likewise.
15687 * nis/nis_add.c (nis_add): Likewise.
15688
15689 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15690
15691 * posix/fnmatch_loop.c: Add some consts.
15692
15693 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15694
435b95eb
L
156952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15696
15697 [BZ #12460]
15698 * config.make.in (config-cflags-novzeroupper): Define.
15699 * configure.in: Substitute libc_cv_cc_novzeroupper.
15700 * elf/Makefile (AVX-CFLAGS): Define.
15701 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15702 (CFLAGS-tst-auditmod4a.c): Likewise.
15703 (CFLAGS-tst-auditmod4b.c): Likewise.
15704 (CFLAGS-tst-auditmod6b.c): Likewise.
15705 (CFLAGS-tst-auditmod6c.c): Likewise.
15706 (CFLAGS-tst-auditmod7b.c): Likewise.
15707 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15708
8517b15e
UD
157092011-02-02 Ulrich Drepper <drepper@gmail.com>
15710
15711 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15712 function to the callback.
15713 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15714
10a656fe
AS
157152011-02-02 Andreas Schwab <schwab@redhat.com>
15716
15717 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15718 of errno.
15719
968dad0a
UD
157202011-01-19 Ulrich Drepper <drepper@gmail.com>
15721
9f94d2ea 15722 [BZ #11724]
968dad0a
UD
15723 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15724 of constructors.
15725 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15726 of destructors.
15727 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15728
15729 [BZ #11724]
15730 * elf/Makefile: Add rules to build and run new test.
15731 * elf/tst-initorder.c: New file.
15732 * elf/tst-initorder.exp: New file.
15733 * elf/tst-initordera1.c: New file.
15734 * elf/tst-initordera2.c: New file.
15735 * elf/tst-initordera3.c: New file.
15736 * elf/tst-initordera4.c: New file.
15737 * elf/tst-initorderb1.c: New file.
15738 * elf/tst-initorderb2.c: New file.
15739 * elf/tst-order-a1.c: New file.
15740 * elf/tst-order-a2.c: New file.
15741 * elf/tst-order-a3.c: New file.
15742 * elf/tst-order-a4.c: New file.
15743 * elf/tst-order-b1.c: New file.
15744 * elf/tst-order-b2.c: New file.
15745 * elf/tst-order-main.c: New file.
15746 New test case by George Gensure <werkt0@gmail.com>.
15747
86e92359
UD
157482010-10-01 Andreas Schwab <schwab@redhat.com>
15749
15750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15751 decoding ACE if AI_CANONIDN.
15752
5d5732b0
UD
157532011-01-18 Ulrich Drepper <drepper@gmail.com>
15754
15755 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15756
a77e8cbc
UD
157572011-01-17 Ulrich Drepper <drepper@gmail.com>
15758
6392473f
UD
15759 * version.h (RELEASE): Bump for 2.13 release.
15760 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15761
620a0529
UD
15762 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15763
18ba70a5
UD
15764 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15765 MADV_NOHUGEPAGE.
32465c3e
UD
15766 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15772
c0dafcf1
UD
15773 * posix/getconf.c: Update copyright year.
15774 * catgets/gencat.c: Likewise.
15775 * csu/version.c: Likewise.
15776 * debug/catchsegv.sh: Likewise.
15777 * debug/xtrace.sh: Likewise.
15778 * elf/ldconfig.c: Likewise.
15779 * elf/ldd.bash.in: Likewise.
15780 * elf/sprof.c (print_version): Likewise.
15781 * iconv/iconv_prog.c: Likewise.
15782 * iconv/iconvconfig.c: Likewise.
15783 * locale/programs/locale.c: Likewise.
15784 * locale/programs/localedef.c: Likewise.
15785 * malloc/memusage.sh: Likewise.
15786 * malloc/mtrace.pl: Likewise.
15787 * nscd/nscd.c (print_version): Likewise.
15788 * nss/getent.c: Likewise.
15789
a77e8cbc
UD
15790 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15791 PF_CAIF, and PF_ALG.
15792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15793
77e8bddf
AS
157942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15795
1f20b93a
AS
15796 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15797 (modules-names): Use them.
15798 (ifunc-test-modules, ifunc-pie-tests): Define.
15799 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15800 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15801 (test-extras): Likewise.
15802 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15803 $(compile-command.c).
15804 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15805 (all-built-dso): Define.
15806 (check-textrel.out, check-execstack.out): Depend on it.
15807
77e8bddf
AS
15808 * configure.in: Don't override --enable-multi-arch.
15809
bc425b33
UD
158102011-01-15 Ulrich Drepper <drepper@gmail.com>
15811
15812 [BZ #6812]
15813 * nscd/hstcache.c (tryagain): Define.
15814 (cache_addhst): Return tryagain not notfound for temporary errors.
15815 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15816 failed.
15817
794c3ad3
UD
158182011-01-14 Ulrich Drepper <drepper@gmail.com>
15819
70181fdd
UD
15820 [BZ #10563]
15821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15822 to make the syscall.
15823 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15824
794c3ad3
UD
15825 [BZ #12378]
15826 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15827 and fall back to matching as normal character if the string ends before
15828 the matching ']' is found. This is what POSIX requires.
15829 * posix/testfnm.c: Adjust test result.
15830 * posix/globtest.sh: Adjust test result. Add new test.
15831 * posix/tst-fnmatch.input: Likewise.
15832 * posix/tst-fnmatch2.c: Add new test.
15833
68dc9497
AS
158342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15835
15836 * elf/Makefile (check-execstack): Revert last change. Depend on
15837 check-execstack.h.
15838 (check-execstack.h): New target.
15839 (generated): Add check-execstack.h.
15840 * elf/check-execstack.c: Include "check-execstack.h".
15841 (main): Revert last change.
15842 (handle_file): Return zero if GNU_STACK is absent and
15843 DEFAULT_STACK_PERMS doesn't include PF_X.
15844
451f001b
UD
158452011-01-13 Ulrich Drepper <drepper@gmail.com>
15846
cfa28e56
UD
15847 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15848 in child fails because the descriptor is already closed.
8cf8ce17
UD
15849 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15850 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15851 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15852
1086d70d
UD
15853 [BZ #12397]
15854 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15855 syscall.
15856
451f001b
UD
15857 [BZ #10484]
15858 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15859 temporary buffer used to handle multi lookups locally.
a85b5cb4 15860 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15861
08769175
UD
158622011-01-12 Ulrich Drepper <drepper@gmail.com>
15863
15864 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15865 loader is ld.so.
15866
5e49c52e
UD
158672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15868
15869 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15870 alignment for SSE2.
15871
60522a5f
UD
158722011-01-12 Ulrich Drepper <drepper@gmail.com>
15873
15874 [BZ #12394]
15875 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15876 characters. When rounding increased number of integer digits recompute
15877 number of groups.
15878 * stdio-common/tst-grouping.c: New file.
15879 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15880
f257bbd7
UD
158812011-01-09 Ulrich Drepper <drepper@gmail.com>
15882
15883 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15884 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15885
15886 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15887 void.
15888 * bits/select.h: Likewise.
15889
fa9c15cb
UD
158902011-01-08 Ulrich Drepper <drepper@gmail.com>
15891
15892 * po/ja.po: Update from translation team.
15893
16c2895f
DM
158942011-01-04 David S. Miller <davem@sunset.davemloft.net>
15895
15896 [BZ #11155]
15897 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15898 implementation just like for lxstat, fxstatat, et al.
15899
2543fef2
JM
159002010-12-27 Jim Meyering <meyering@redhat.com>
15901
15902 [BZ #12348]
15903 * posix/regexec.c (build_trtable): Return failure indication upon
15904 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15905
98727dbe
UD
159062010-12-25 Ulrich Drepper <drepper@gmail.com>
15907
5bd6dc5c
UD
15908 [BZ #12201]
15909 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15910 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15911 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15912 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15913
97983464
UD
15914 [BZ #12207]
15915 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15916
98727dbe
UD
15917 [BZ #12204]
15918 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15919 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15920
4a531bb0
L
159212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15922
15923 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15924 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15925 script has SORT_BY_INIT_PRIORITY.
15926 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15927 NO_CTORS_DTORS_SECTIONS is defined.
15928 * elf/soinit.c: Likewise.
15929 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15930 NO_CTORS_DTORS_SECTIONS is defined.
15931 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15932 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15933 * sysdeps/sh/init-first.c: Likewise.
15934 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15935
07eb4b71
UD
159362010-12-24 Ulrich Drepper <drepper@gmail.com>
15937
15938 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15939 always use the slow path.
15940
30950a5f
RA
159412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15942
15943 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15944 similar rule which adds the sysdep directories to the header search in
15945 order to pick up the correct platform stackinfo.h.
15946 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15947 perform test if it is, otherwise return successfully without testing.
15948 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15949 DEFAULT_STACK_PERMS define in stackinfo.h.
15950 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15951 defined in stackinfo.h.
15952 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15953 DEFAULT_STACK_PERMS defined in stackinfo.h.
15954 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15955 * sysdeps/ia64/stackinfo.h: Likewise.
15956 * sysdeps/s390/stackinfo.h: Likewise.
15957 * sysdeps/sh/stackinfo.h: Likewise.
15958 * sysdeps/sparc/stackinfo.h: Likewise.
15959 * sysdeps/x86_64/stackinfo.h: Likewise.
15960 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15961 PF_X for powerpc64. Retain PF_X for powerpc32.
15962
db753e2c
UD
159632010-12-19 Ulrich Drepper <drepper@gmail.com>
15964
14b697f7
UD
15965 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15966 accurately.
db753e2c
UD
15967 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15968 GETDENTS_64BIT_ALIGNED.
15969
28300719
UD
159702010-12-14 Ulrich Drepper <dreper@gmail.com>
15971
14b697f7 15972 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15973
4f197237
AS
159742010-12-10 Andreas Schwab <schwab@redhat.com>
15975
dbb0472f
AS
15976 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15977 _GNU_SOURCE.
15978
4f197237
AS
15979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15980 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15981 Remove __restrict.
15982 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15983 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15984
fb88ac72
UD
159852010-12-09 Ulrich Drepper <drepper@gmail.com>
15986
15987 [BZ #11655]
15988 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15989 are initialized.
15990
42acbb92
JJ
159912010-12-09 Jakub Jelinek <jakub@redhat.com>
15992
15993 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15994
c038d98d
UD
159952010-12-03 Ulrich Drepper <drepper@gmail.com>
15996
15997 * po/it.po: Update from translation team.
15998
3a4a2499
L
159992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16002 unused codes.
16003
1e24cf6e
UD
160042010-11-30 Ulrich Drepper <drepper@gmail.com>
16005
16006 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16007
a7690819
AS
160082010-11-24 Andreas Schwab <schwab@redhat.com>
16009
16010 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16011 specially.
16012 (gaih_getanswer_slice): Likewise.
16013
3bf8d1b1
JJ
160142010-10-20 Jakub Jelinek <jakub@redhat.com>
16015
16016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16017
6db52fbb
PB
160182010-05-31 Petr Baudis <pasky@suse.cz>
16019
16020 [BZ #11149]
16021 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16022 silently even in the chroot mode.
16023
eaca7569
UD
160242010-11-22 Ulrich Drepper <drepper@gmail.com>
16025
16026 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16027 last patch a bit. Pretty printing
16028
3056dcdb
UD
160292010-05-31 Petr Baudis <pasky@suse.cz>
16030
16031 [BZ #10085]
16032 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16033 initialization of skip_initgroups_dyn.
16034
cf7c9078
UD
160352010-11-19 Ulrich Drepper <drepper@gmail.com>
16036
16037 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16039
a1fb5e3e
UD
160402010-11-16 Ulrich Drepper <drepper@gmail.com>
16041
16042 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16043
3540d66b
AS
160442010-11-11 Andreas Schwab <schwab@redhat.com>
16045
16046 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16047 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16048 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16049 ($(objpfx)tst-fnmatch-mem): New rule.
16050 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16051 * posix/tst-fnmatch.c (main): Call mtrace.
16052
13b69574
L
160532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16056 Support Intel processor model 6 and model 0x2c.
16057
da93d214
LM
160582010-11-10 Luis Machado <luisgpm@br.ibm.com>
16059
16060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16061 signed comparison.
16062
8ca52c6e
L
160632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16064
16065 [BZ #12205]
16066 * string/test-strncasecmp.c (check_result): New function.
16067 (do_one_test): Use it.
16068 (check1): New function.
16069 (test_main): Use it.
16070 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16071 Support strcasecmp and strncasecmp.
16072
69da074d
UD
160732010-11-08 Ulrich Drepper <drepper@gmail.com>
16074
16075 [BZ #12194]
16076 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16078
ff02d528
L
160792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16082 IFUNC support.
16083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16084 memset-x86-64.
16085 * sysdeps/x86_64/multiarch/bzero.S: New file.
16086 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16087 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16088 * sysdeps/x86_64/multiarch/memset.S: New file.
16089 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16091 Set bit_Prefer_SSE_for_memop for Intel processors.
16092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16093 Define.
16094 (index_Prefer_SSE_for_memop): Define.
16095 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16096
344d0b54
LM
160972010-11-04 Luis Machado <luisgpm@br.ibm.com>
16098
16099 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16100 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16101
c0dde15b
UD
161022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16103
16104 [BZ #12191]
16105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16106 (__x86_64_raw_data_cache_size_half): Likewise.
16107 (__x86_64_raw_shared_cache_size): Likewise.
16108 (__x86_64_raw_shared_cache_size_half): Likewise.
16109
16110 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16111 (__x86_64_raw_data_cache_size_half): Likewise.
16112 (__x86_64_raw_shared_cache_size): Likewise.
16113 (__x86_64_raw_shared_cache_size_half): Likewise.
16114 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16115 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16116 and __x86_64_raw_shared_cache_size_half. Round
16117 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16118 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16119 to multiple of 256 bytes.
16120
0e516e0e
MS
161212010-11-03 Ulrich Drepper <drepper@gmail.com>
16122
16123 [BZ #12167]
16124 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16125 of inacessible symlinks. Verify result of symlink before returning it.
16126 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16127 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16128
0e012e87
ER
161292010-10-28 Erich Ritz <erichritz@gmail.com>
16130
16131 * math/math.h (isinf): Fix typo in comment.
16132
de0ff7bc
UD
161332010-11-01 Ulrich Drepper <drepper@gmail.com>
16134
16135 * po/da.po: Update from translation team.
16136
fa41c84d
UD
161372010-10-26 Ulrich Drepper <drepper@gmail.com>
16138
16139 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16140 is added to the list.
16141
f0967738
AK
161422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16143 Ulrich Drepper <drepper@gmail.com>
16144
16145 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16146 the global list here. Move code to...
16147 (_dl_add_to_namespace_list): ...here. New function.
16148 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16149 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16150 * elf/dl-load.c (lose): Don't remove the element from the list.
16151 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16152 (_dl_map_object): Likewise.
16153
161542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16155
16156 [BZ #12159]
16157 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16158 into all bytes of SSE register.
16159 Patch by Richard Li <richardpku@gmail.com>.
16160
f0967738 161612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16162
16163 [BZ #12140]
16164 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16165 perturbing.
16166
d0b9e94f
MB
161672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16168
16169 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16170 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16172 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16174 submachine.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16176
8e9f92e9
AS
161772010-10-22 Andreas Schwab <schwab@redhat.com>
16178
16179 * include/dlfcn.h (__RTLD_SECURE): Define.
16180 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16181 mode & __RTLD_SECURE instead.
16182 (open_path): Rename preloaded parameter to secure.
16183 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16184 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16185 * elf/dl-deps.c (openaux): Likewise.
16186 * elf/rtld.c (struct map_args): Remove is_preloaded.
16187 (map_doit): Don't use it.
16188 (dl_main): Likewise.
16189 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16190 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16191
bc96fbda
AS
161922010-09-09 Andreas Schwab <schwab@redhat.com>
16193
16194 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16195 (sysd-rules-targets): Remove duplicates.
16196 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16197 rtld-%.$o dependency.
16198
22cd1c9b
AS
161992010-10-18 Andreas Schwab <schwab@redhat.com>
16200
16201 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16202 _dl_map_object do it.
16203
18edac48
UD
162042010-10-19 Ulrich Drepper <drepper@gmail.com>
16205
16206 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16207 fast fma builtins, define the macros in the C99 standard.
16208 (FP_FAST_FMAF): Likewise.
16209 (FP_FAST_FMAL): Likewise.
16210 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16211
16212 * bits/mathdef.h: Update copyright year.
16213 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16214
d2050124
MM
162152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16216
16217 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16218 builtins, define the macros in the C99 standard.
16219 (FP_FAST_FMAF): Likewise.
16220 (FP_FAST_FMAL): Likewise.
16221 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16222 multiply/add.
16223 (FP_FAST_FMAF): Likewise.
16224
475facd1
JJ
162252010-10-15 Jakub Jelinek <jakub@redhat.com>
16226
16227 [BZ #3268]
16228 * math/libm-test.inc (fma_test): Some new testcases.
16229 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16231 y and infinite z. Do multiplication by C already in long double.
16232 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16234 y and infinite z. Do bitwise or of inexact bit into u.d.
16235 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16236 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16237 * sysdeps/i386/fpu/s_fma.S: Removed.
16238 * sysdeps/i386/fpu/s_fmal.S: Removed.
16239
7c08a05c
JJ
162402010-10-16 Jakub Jelinek <jakub@redhat.com>
16241
16242 [BZ #3268]
16243 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16245 computation is not scheduled after fetestexcept. Fix value
16246 of minimum denormal long double.
16247
f3f7372d
JJ
162482010-10-14 Jakub Jelinek <jakub@redhat.com>
16249
16250 [BZ #3268]
16251 * math/libm-test.inc (fma_test): Add some more tests.
16252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16253 correctly.
16254
14d43591
AS
162552010-10-15 Andreas Schwab <schwab@redhat.com>
16256
16257 * scripts/data/localplt-s390-linux-gnu.data: New file.
16258 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16259
5e908464
JJ
162602010-10-13 Jakub Jelinek <jakub@redhat.com>
16261
16262 [BZ #3268]
16263 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16264 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16265 instead of dbl-64.
16266 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16267 inlines.
16268 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16270 if one of x and y is very large and the other is subnormal.
16271 * sysdeps/s390/fpu/s_fmaf.c: New file.
16272 * sysdeps/s390/fpu/s_fma.c: New file.
16273 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16274 * sysdeps/powerpc/fpu/s_fma.S: New file.
16275 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16276 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16277 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16278
162792010-10-12 Jakub Jelinek <jakub@redhat.com>
16280
16281 [BZ #3268]
16282 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16283 fma tests.
16284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16285 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16286 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16287 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16288 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16289 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16291
b833d51f
UD
162922010-10-12 Ulrich Drepper <drepper@redhat.com>
16293
16294 [BZ #12078]
16295 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16296 * posix/bug-regex31.input: Add test case.
16297
1751705d
UD
162982010-10-11 Ulrich Drepper <drepper@gmail.com>
16299
e9b9cbf5
UD
16300 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16301 * posix/bug-regex31.input: New file.
16302
16303 [BZ #12078]
16304 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16305 (parse_sub_exp): Fix last change, use postorder.
16306
ef06edbe
UD
16307 * posix/bug-regex31.c: New file.
16308 * posix/Makefile: Add rules to build and run bug-regex31.
16309
a129c80d
UD
16310 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16311
16312 [BZ #12078]
16313 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16314
b76b818e
UD
16315 [BZ #12108]
16316 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16317 to have entries in sys_siglist.
16318
1751705d
UD
16319 [BZ #12093]
16320 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16321 be NULL.
16322
9ff8d36f
JJ
163232010-10-07 Jakub Jelinek <jakub@redhat.com>
16324
16325 [BZ #3268]
16326 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16327 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16328 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16329 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16331 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16332 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16333 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16334 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16335 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16336 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16337 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16338 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16339 * math/ftestexcept.c (fetestexcept): Likewise.
16340 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16341 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16342 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16343 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16344 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16345 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16347
af325969
UD
163482010-10-11 Ulrich Drepper <drepper@gmail.com>
16349
c579b202 16350 [BZ #12107]
af325969
UD
16351 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16352 newline.
16353
67a67b95
UD
163542010-10-06 Ulrich Drepper <drepper@gmail.com>
16355
16356 * string/bug-strstr1.c: New file.
16357 * string/Makefile: Add rules to build and run bug-strstr1.
16358
5fb308bc
EB
163592010-10-05 Eric Blake <eblake@redhat.com>
16360
16361 [BZ #12092]
16362 * string/str-two-way.h (two_way_long_needle): Always clear memory
16363 when skipping input due to the shift table.
16364
45db99c7
UD
163652010-10-03 Ulrich Drepper <drepper@gmail.com>
16366
3b111893
UD
16367 [BZ #12005]
16368 * malloc/mcheck.c: Handle large requests.
16369
45db99c7
UD
16370 [BZ #12077]
16371 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16372 for strncmp and strncasecmp.
16373 * string/stratcliff.c: Add tests for strcmp and strncmp.
16374 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16375
cf7a1eb8
NI
163762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16377
16378 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16379 __set_fpscr.
16380
6484ba5e
AJ
163812010-09-30 Andreas Jaeger <aj@suse.de>
16382
16383 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16384 (CGROUP_SUPER_MAGIC): Define.
16385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16386 Handle btrfs and cgroup file systems.
16387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16388 Likewise.
16389
91c42559
LM
163902010-09-27 Luis Machado <luisgpm@br.ibm.com>
16391
16392 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16393 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16394
87a97932
AK
163952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16396
16397 [BZ #12067]
16398 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16399 trying to locate the ELF header.
16400
c21cc9bc
AS
164012010-09-27 Andreas Schwab <schwab@redhat.com>
16402
16403 [BZ #11611]
16404 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16405 Mask out sign-bit copies when constructing f_fsid.
16406
315970f6
PB
164072010-09-24 Petr Baudis <pasky@suse.cz>
16408
16409 * debug/stack_chk_fail_local.c: Add missing licence exception.
16410 * debug/warning-nop.c: Likewise.
16411
1ac7a2c7
JM
164122010-09-15 Joseph Myers <joseph@codesourcery.com>
16413
16414 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16415 implementing getdents64 using getdents syscall, set d_type if
16416 __ASSUME_GETDENTS32_D_TYPE.
16417
56801c50
AS
164182010-09-16 Andreas Schwab <schwab@redhat.com>
16419
16420 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16421 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16422
dda51327
UD
164232010-09-21 Ulrich Drepper <drepper@redhat.com>
16424
16425 [BZ #12037]
16426 * posix/unistd.h: Undo change of feature selection for ftruncate from
16427 2010-01-11.
16428
8ffcee4a
UD
164292010-09-20 Ulrich Drepper <drepper@redhat.com>
16430
a545ecd9 16431 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16432 detection.
16433
e24f0a8b
AS
164342010-09-20 Andreas Schwab <schwab@redhat.com>
16435
16436 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16437 fanotify_mark.
16438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16439
7291c56f
AS
164402010-09-14 Andreas Schwab <schwab@redhat.com>
16441
16442 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16443 variables after CHECK_SP call.
16444 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16445
bc5fb037
AS
164462010-09-13 Andreas Schwab <schwab@redhat.com>
16447 Ulrich Drepper <drepper@redhat.com>
16448
16449 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16450 re-relocationg ld.so.
16451 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16452 _dl_init_paths call.
16453 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16454 here anymore.
16455
e66e7419
UD
164562010-09-14 Ulrich Drepper <drepper@redhat.com>
16457
16458 * resolv/res_init.c (__res_vinit): Count the default server we added.
16459
c044aa75
CLT
164602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16461 Ulrich Drepper <drepper@redhat.com>
16462
16463 [BZ #11968]
16464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16465 (____longjmp_chk): Use %ebx for saving value across system call.
16466 Add unwind info.
16467
32cf4069
AS
164682010-09-06 Andreas Schwab <schwab@redhat.com>
16469
16470 * manual/Makefile: Don't mix pattern rules with normal rules.
16471
817328ee
AS
164722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16473
16474 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16475 operation.
16476 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16477 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16478 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16479 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16481 Likewise.
16482
29fddf61
UD
164832010-09-04 Ulrich Drepper <drepper@redhat.com>
16484
16485 [BZ #11979]
16486 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16487 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16488
0959ffc9
UD
164892010-09-02 Ulrich Drepper <drepper@redhat.com>
16490
16491 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16492 * sysdeps/x86_64/addmul_1.S: Likewise.
16493 * sysdeps/x86_64/lshift.S: Likewise.
16494 * sysdeps/x86_64/mul_1.S: Likewise.
16495 * sysdeps/x86_64/rshift.S: Likewise.
16496 * sysdeps/x86_64/sub_n.S: Likewise.
16497 * sysdeps/x86_64/submul_1.S: Likewise.
16498
ece29840
ST
164992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16500
0959ffc9
UD
16501 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16502 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16503 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16504 * bits/sched.h [__need_schedparam]
ece29840 16505 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16506 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16507 (__defined_schedparam): Define to 1.
ece29840
ST
16508 (__sched_param): New structure, identical to sched_param.
16509 (__need_schedparam): Undefine.
16510
e53a31fe
MF
165112010-08-31 Mike Frysinger <vapier@gentoo.org>
16512
fdc0c10d
MF
16513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16514 (epoll_create1): Declare.
16515
e53a31fe
MF
16516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16517
a726d796
AS
165182010-08-31 Andreas Schwab <schwab@redhat.com>
16519
16520 [BZ #7066]
16521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16522 shifting retval into place.
16523
2f3e3dc7
UD
165242010-09-01 Ulrich Drepper <drepper@redhat.com>
16525
f2933da9
UD
16526 * nis/rpcsvc/nis.h: Update copyright notice.
16527 * nis/rpcsvc/nis.x: Likewise.
16528 * nis/rpcsvc/nis_callback.h: Likewise.
16529 * nis/rpcsvc/nis_callback.x: Likewise.
16530 * nis/rpcsvc/nis_object.x: Likewise.
16531 * nis/rpcsvc/nis_tags.h: Likewise.
16532 * nis/rpcsvc/yp.h: Likewise.
16533 * nis/rpcsvc/yp.x: Likewise.
16534 * nis/rpcsvc/ypupd.h: Likewise.
16535 * nis/yp_xdr.c: Likewise.
16536 * nis/ypupdate_xdr.c: Likewise.
16537
2f3e3dc7
UD
16538 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16539 mainly the body of pmap_getport. Add parameters to specify timeouts.
16540 (pmap_getport): Use __libc_rpc_getport.
16541 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16542 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16543 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16544
f3dcc2f9
AS
165452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16546
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16548 fanotify_mark.
16549
6d34eb5b
RM
165502010-08-27 Roland McGrath <roland@redhat.com>
16551
16552 * sysdeps/i386/i686/multiarch/Makefile
16553 (CFLAGS-varshift.c): New variable.
16554
9ea3de11
UD
165552010-08-27 Ulrich Drepper <drepper@redhat.com>
16556
c96d23fc
UD
16557 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16558 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16559
9ea3de11
UD
16560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16561
16562 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16563
623aac7f
L
165642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16565
16566 * sysdeps/x86_64/strlen.S: Unroll the loop.
16567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16568 strlen-sse2 strlen-sse2-bsf.
16569 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16570 __strlen_no_bsf if bit_Slow_BSF is set.
16571 (__strlen_sse42): Removed.
16572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16573 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16574
8b2b7715
RM
165752010-08-25 Roland McGrath <roland@redhat.com>
16576
16577 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16578 * sysdeps/x86_64/multiarch/varshift.c: New file.
16579 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16580 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16581 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16582 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16583
e73015f2
L
165842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16587 strlen-sse2 strlen-sse2-bsf.
16588 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16589 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16590 (__strlen_sse2): Removed.
16591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16594 bit_Slow_BSF for Atom.
16595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16596 (index_Slow_BSF): Define.
16597 (HAS_SLOW_BSF): Define.
16598
df24a73e
UD
165992010-08-25 Ulrich Drepper <drepper@redhat.com>
16600
16601 [BZ #10851]
16602 * resolv/res_init.c (__res_vinit): When no server address at all
16603 is given default to loopback.
16604
f2ac4868
RM
166052010-08-24 Roland McGrath <roland@redhat.com>
16606
09055553
RM
16607 * configure.in: Remove config-name.h generation.
16608 * configure: Regenerated.
16609 * config-name.in: File removed.
16610 * scripts/config-uname.sh: New file.
16611 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16612 ($(objdir)config-name.h): New target.
16613
f2ac4868
RM
16614 * sunrpc/rpc_parse.h: Avoid nested comment.
16615
73f27d5e
RH
166162010-08-24 Richard Henderson <rth@redhat.com>
16617 Ulrich Drepper <drepper@redhat.com>
16618 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16622 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16623 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16624 _mm_alignr_epi8 with _mm_loadu_si128.
16625 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16626 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16627 (__m128i_shift_right): Removed.
16628 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16629 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16630 * sysdeps/x86_64/multiarch/varshift.h: New file.
16631 * sysdeps/x86_64/multiarch/varshift.S: New file.
16632
84b9230c
MF
166332010-08-21 Mike Frysinger <vapier@gentoo.org>
16634
16635 * configure.in: Move assembler checks to before sysdep dir checking.
16636
9bbd0ddc
PB
166372010-08-20 Petr Baudis <pasky@suse.cz>
16638
16639 * LICENSES: Sync the sunrpc license.
16640
9da4bb31
UD
166412010-08-19 Ulrich Drepper <drepper@redhat.com>
16642
a7ab6ec8
UD
16643 * sunrpc/auth_des.c: Update copyright notice once again.
16644 * sunrpc/auth_none.c: Likewise.
16645 * sunrpc/auth_unix.c: Likewise.
16646 * sunrpc/authdes_prot.c: Likewise.
16647 * sunrpc/authuxprot.c: Likewise.
16648 * sunrpc/bindrsvprt.c: Likewise.
16649 * sunrpc/clnt_gen.c: Likewise.
16650 * sunrpc/clnt_perr.c: Likewise.
16651 * sunrpc/clnt_raw.c: Likewise.
16652 * sunrpc/clnt_simp.c: Likewise.
16653 * sunrpc/clnt_tcp.c: Likewise.
16654 * sunrpc/clnt_udp.c: Likewise.
16655 * sunrpc/clnt_unix.c: Likewise.
16656 * sunrpc/des_crypt.c: Likewise.
16657 * sunrpc/des_soft.c: Likewise.
16658 * sunrpc/get_myaddr.c: Likewise.
16659 * sunrpc/getrpcport.c: Likewise.
16660 * sunrpc/key_call.c: Likewise.
16661 * sunrpc/key_prot.c: Likewise.
16662 * sunrpc/openchild.c: Likewise.
16663 * sunrpc/pm_getmaps.c: Likewise.
16664 * sunrpc/pm_getport.c: Likewise.
16665 * sunrpc/pmap_clnt.c: Likewise.
16666 * sunrpc/pmap_prot.c: Likewise.
16667 * sunrpc/pmap_prot2.c: Likewise.
16668 * sunrpc/pmap_rmt.c: Likewise.
16669 * sunrpc/rpc/auth.h: Likewise.
16670 * sunrpc/rpc/auth_unix.h: Likewise.
16671 * sunrpc/rpc/clnt.h: Likewise.
16672 * sunrpc/rpc/des_crypt.h: Likewise.
16673 * sunrpc/rpc/key_prot.h: Likewise.
16674 * sunrpc/rpc/netdb.h: Likewise.
16675 * sunrpc/rpc/pmap_clnt.h: Likewise.
16676 * sunrpc/rpc/pmap_prot.h: Likewise.
16677 * sunrpc/rpc/pmap_rmt.h: Likewise.
16678 * sunrpc/rpc/rpc.h: Likewise.
16679 * sunrpc/rpc/rpc_des.h: Likewise.
16680 * sunrpc/rpc/rpc_msg.h: Likewise.
16681 * sunrpc/rpc/svc.h: Likewise.
16682 * sunrpc/rpc/svc_auth.h: Likewise.
16683 * sunrpc/rpc/types.h: Likewise.
16684 * sunrpc/rpc/xdr.h: Likewise.
16685 * sunrpc/rpc_clntout.c: Likewise.
16686 * sunrpc/rpc_cmsg.c: Likewise.
16687 * sunrpc/rpc_common.c: Likewise.
16688 * sunrpc/rpc_cout.c: Likewise.
16689 * sunrpc/rpc_dtable.c: Likewise.
16690 * sunrpc/rpc_hout.c: Likewise.
16691 * sunrpc/rpc_main.c: Likewise.
16692 * sunrpc/rpc_parse.c: Likewise.
16693 * sunrpc/rpc_parse.h: Likewise.
16694 * sunrpc/rpc_prot.c: Likewise.
16695 * sunrpc/rpc_sample.c: Likewise.
16696 * sunrpc/rpc_scan.c: Likewise.
16697 * sunrpc/rpc_scan.h: Likewise.
16698 * sunrpc/rpc_svcout.c: Likewise.
16699 * sunrpc/rpc_tblout.c: Likewise.
16700 * sunrpc/rpc_util.c: Likewise.
16701 * sunrpc/rpc_util.h: Likewise.
16702 * sunrpc/rpcinfo.c: Likewise.
16703 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16704 * sunrpc/rpcsvc/key_prot.x: Likewise.
16705 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16706 * sunrpc/rpcsvc/mount.x: Likewise.
16707 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16708 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16709 * sunrpc/rpcsvc/rex.x: Likewise.
16710 * sunrpc/rpcsvc/rstat.x: Likewise.
16711 * sunrpc/rpcsvc/rusers.x: Likewise.
16712 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16713 * sunrpc/rpcsvc/spray.x: Likewise.
16714 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16715 * sunrpc/rtime.c: Likewise.
16716 * sunrpc/svc.c: Likewise.
16717 * sunrpc/svc_auth.c: Likewise.
16718 * sunrpc/svc_authux.c: Likewise.
16719 * sunrpc/svc_raw.c: Likewise.
16720 * sunrpc/svc_run.c: Likewise.
16721 * sunrpc/svc_simple.c: Likewise.
16722 * sunrpc/svc_tcp.c: Likewise.
16723 * sunrpc/svc_udp.c: Likewise.
16724 * sunrpc/svc_unix.c: Likewise.
16725 * sunrpc/svcauth_des.c: Likewise.
16726 * sunrpc/xcrypt.c: Likewise.
16727 * sunrpc/xdr.c: Likewise.
16728 * sunrpc/xdr_array.c: Likewise.
16729 * sunrpc/xdr_float.c: Likewise.
16730 * sunrpc/xdr_mem.c: Likewise.
16731 * sunrpc/xdr_rec.c: Likewise.
16732 * sunrpc/xdr_ref.c: Likewise.
16733 * sunrpc/xdr_sizeof.c: Likewise.
16734 * sunrpc/xdr_stdio.c: Likewise.
16735
9da4bb31
UD
16736 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16737 handling.
16738
bdaa77bc
AS
167392010-08-19 Andreas Schwab <schwab@redhat.com>
16740
16741 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16742
fe2f79db
LM
167432010-08-19 Luis Machado <luisgpm@br.ibm.com>
16744
16745 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16746 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16748 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16750 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16751 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16752 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16754 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16755 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16757 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16758 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16759
b9b42ee0
AB
167602010-07-26 Anton Blanchard <anton@samba.org>
16761
16762 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16763 * malloc/arena.c (heap_trim): Likewise.
16764
1c06ba31
UD
167652010-08-16 Ulrich Drepper <drepper@redhat.com>
16766
16767 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16768 here. Not...
16769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16770 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16771
f8392f40
L
167722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16773
16774 * sysdeps/i386/elf/Makefile: New file.
16775
3162f12e
AS
167762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16777
16778 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16779 from fanotify_init.
16780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16782
28c90b2c
UD
167832010-08-15 Ulrich Drepper <drepper@redhat.com>
16784
16785 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16786 of strncasecmp_l.
1feccb6c 16787 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16788
ca6bb004
UD
167892010-08-14 Ulrich Drepper <drepper@redhat.com>
16790
e9f82e0d
UD
16791 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16792 strncase_l-nonascii.
16793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16794 Add strncase_l-ssse3.
16795 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16796 * sysdeps/x86_64/strcmp.S: Likewise.
16797 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16798 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16799 * sysdeps/x86_64/strncase.S: New file.
16800 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16801 * sysdeps/x86_64/strncase_l.S: New file.
16802 * string/Makefile (strop-tests): Add strncasecmp.
16803 * string/test-strncasecmp.c: New file.
16804
16805 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16806 warning.
16807
ca6bb004
UD
16808 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16809 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16810
052fa7b3
AS
168112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16812
16813 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16814
962dba78
UD
168152010-08-12 Ulrich Drepper <drepper@redhat.com>
16816
16817 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16818 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16820
bebff237
AM
168212010-05-01 Alan Modra <amodra@gmail.com>
16822
16823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16824 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16825 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16826 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16827 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16828 tidying. Don't tail-call __sigjmp_save for static lib.
16829 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16830 save location.
16831 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16832 (CALL_MCOUNT): Add eh info, and nop after bl.
16833 (TAIL_CALL_SYSCALL_ERROR): New macro.
16834 (PSEUDO_RET): Use it.
16835 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16836 Correct save location of integer regs and cr.
16837 (_dl_profile_resolve): Correct cr save location. Delete nops
16838 after bl when SHARED. Reduce cfi size a little by better
16839 placement of cfi directives.
16840 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16841 make a stack frame. Instead use parm save area as a temp.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16843 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16845 Don't make a stack frame for parent, use parm save area.
16846 Increase child stack frame to 112 bytes. Don't save unused reg,
16847 and adjust reg usage. Set up cfi on error recovery and
16848 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16850 (__makecontext): Add dummy nop after jump to exit.
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16852 Use correct parm save area and cr save, reduce stack frame.
16853 Correct cfi for possible PSEUDO_RET frame setup.
16854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16855 Branch to local label emitted by PSEUDO_RET rather than
16856 __syscall_error.
16857
02637374
AS
168582010-08-12 Andreas Schwab <schwab@redhat.com>
16859
16860 [BZ #11904]
16861 * locale/programs/locale.c (print_assignment): New function.
16862 (show_locale_vars): Use it.
16863
c3e2f19b
UD
168642010-08-11 Ulrich Drepper <drepper@redhat.com>
16865
3cdaa6ad
UD
16866 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16867 field.
16868 (struct statfs64): Likewise.
16869 (_STATFS_F_FLAGS): Define.
16870 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16872 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16873 (ST_VALID): Define locally.
16874 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16875 __statvfs_getflags, use the provided value.
16876 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16877 __ASSUME_STATFS_F_FLAGS.
16878
754f7da3
UD
16879 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16880
10b3bedc
UD
16881 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16882 Add sys/fanotify.h.
16883 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16884 fanotify_mask for GLIBC_2.13.
16885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16886 fanotify_init and fanotify_mark.
16887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16888 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16889
c08fb0d7
UD
16890 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16891 Add prlimit.
16892 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16893 prlimit64 for GLIBC_2.13.
16894 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16895 prlimit64.
16896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16897 syscall.
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16899 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16900 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16903 add prlimit alias.
16904 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16905
15bac72b
UD
16906 [BZ #11903]
16907 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16908 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16909
c3e2f19b
UD
16910 * nss/Makefile: Add rules to build and run tst-nss-test1.
16911 * shlib-versions: Add entry for libnss_test1.
16912 * nss/nss_test1.c: New file.
16913 * nss/tst-nss-test1.c: New file.
16914
16915 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16916 (__nss_configure_lookup): Set appropriate entry in
16917 __nss_configure_lookup to true.
16918 * nss/nsswitch.h: Define enum with indeces of databases in
16919 databases and __nss_database_custom arrays. Declare
16920 __nss_database_custom.
16921 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16922 to avoid using nscd when custom rules are installed.
16923 * nss/getXXbyYY_r.c: Likewise.
16924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16925
16926 * nss/nss_files/files-parse.c: Whitespace fixes.
16927
f15ce4d8
UD
169282010-08-09 Ulrich Drepper <drepper@redhat.com>
16929
16930 [BZ #11883]
16931 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16932 * posix/fnmatch_loop.c: Likewise.
16933
d22e4cc9
AK
169342010-07-17 Andi Kleen <ak@linux.intel.com>
16935
16936 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16937 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16938 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16939 * Versions.def [GLIBC_2.13]: Add.
16940
805bc17d
UD
169412010-08-06 Ulrich Drepper <drepper@redhat.com>
16942
16943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16944 Also fail if tpwd after pwuid call is NULL.
16945
5a42321d
ST
169462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16947
16948 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16949 when converting to ms.
16950
fd3ebeda
ST
169512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16952
16953 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16954 EOPNOTSUPP errors with ENOTTY.
16955 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16956 EOPNOTSUPP errors with ENOTTY.
16957
73507d3a
UD
169582010-07-31 Ulrich Drepper <drepper@redhat.com>
16959
16960 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16961 Add strcasecmp_l-ssse3.
16962 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16963 strcasecmp.
16964 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16965 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16966 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16967
fe36dd02
UD
169682010-07-30 Ulrich Drepper <drepper@redhat.com>
16969
66f6765a
UD
16970 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16971
42e08a54
UD
16972 * string/Makefile (strop-tests): Add strcasecmp.
16973 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16974 strcasecmp_l-nonascii.
16975 (gen-as-const-headers): Add locale-defines.sym.
16976 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16977 * sysdeps/x86_64/strcasecmp.S: New file.
16978 * sysdeps/x86_64/strcasecmp_l.S: New file.
16979 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16980 * sysdeps/x86_64/locale-defines.sym: New file.
16981 * string/test-strcasecmp.c: New file.
16982
fe36dd02
UD
16983 * string/test-strcasestr.c: Test both ends of the range of characters.
16984 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16985
48cbc0d6
RM
169862010-07-29 Roland McGrath <roland@redhat.com>
16987
76e6d6bc 16988 [BZ #11856]
48cbc0d6
RM
16989 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16990
880113d9
UD
169912010-07-27 Ulrich Drepper <drepper@redhat.com>
16992
16993 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16994 for ld.so.
16995
deb9cabb
AS
169962010-07-27 Andreas Schwab <schwab@redhat.com>
16997
16998 * manual/memory.texi (Malloc Tunable Parameters): Document
16999 M_PERTURB.
17000
1c7570ff
RM
170012010-07-26 Roland McGrath <roland@redhat.com>
17002
17003 [BZ #11840]
17004 * configure.in (-fgnu89-inline check): Set and substitute
17005 gnu89_inline, not libc_cv_gnu89_inline.
17006 * configure: Regenerated.
17007 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17008
24fb0f88
UD
170092010-07-26 Ulrich Drepper <drepper@redhat.com>
17010
17011 * string/test-strnlen.c: New file.
17012 * string/Makefile (strop-tests): Add strnlen.
17013 * string/tester.c (test_strnlen): Add a few more test cases.
17014 * string/tst-strlen.c: Better error reporting.
17015
17016 * sysdeps/x86_64/strnlen.S: New file.
17017
8e96b93a
UD
170182010-07-24 Ulrich Drepper <drepper@redhat.com>
17019
17020 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17021 lower-latency instructions.
17022
dbc676d4
UD
170232010-07-23 Ulrich Drepper <drepper@redhat.com>
17024
17025 * string/test-strcasestr.c: New file.
17026 * string/test-strstr.c: New file.
17027 * string/Makefile (strop-tests): Add strstr and strcasestr.
17028 * string/str-two-way.h: Don't undefine MAX.
17029 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17030
f6a31e0e
AS
170312010-07-21 Andreas Schwab <schwab@redhat.com>
17032
17033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17034 strcasestr-nonascii.
17035 (CFLAGS-strcasestr-nonascii.c): Define.
17036 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17038 Remove unused attribute.
17039
5dbc3b6c
RM
170402010-07-20 Roland McGrath <roland@redhat.com>
17041
17042 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17043 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17044 ld.so.cache was broken. With it, there is no way to disable dsocaps
17045 like LD_HWCAP_MASK can disable hwcaps.
17046
23d101d8
EPM
170472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17048
17049 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17050
cc9f2e47
UD
170512010-07-16 Ulrich Drepper <drepper@redhat.com>
17052
17053 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17054 call in strcasestr.
17055 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17056 __strcasestr_sse42_nonascii.
17057 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17058 strcasestr-nonascii.c.
17059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17060
77c1b069
LM
170612010-06-15 Luis Machado <luisgpm@br.ibm.com>
17062
17063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17067
440566c3
UD
170682010-07-09 Ulrich Drepper <drepper@redhat.com>
17069
17070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17071 fcntl.
17072
5be9d05d
AS
170732010-07-06 Andreas Schwab <schwab@redhat.com>
17074
c30b7ee2 17075 [BZ #11577]
5be9d05d
AS
17076 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17077 dl_signal_cerror.
17078
8a492a67
UD
170792010-07-06 Ulrich Drepper <drepper@redhat.com>
17080
17081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17082 _PC_PIPE_BUF using F_GETPIPE_SZ.
17083
713df3d5
RM
170842010-07-05 Roland McGrath <roland@redhat.com>
17085
17086 * manual/arith.texi (Rounding Functions): Fix rint description
17087 implicit in round description.
17088
702e8f14
UD
170892010-07-02 Ulrich Drepper <drepper@redhat.com>
17090
17091 * elf/Makefile: Fix linking for a few tests to make recent linker
17092 happy.
17093
52ed8be9
AS
170942010-06-30 Andreas Schwab <schwab@redhat.com>
17095
17096 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17097 $(common-objpfx)libc_nonshared.a.
17098
f47c9a11
LM
170992010-06-21 Luis Machado <luisgpm@br.ibm.com>
17100
17101 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17102 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17103 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17104 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17105 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17106 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17107 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17108 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17123 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17124 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17125 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17126 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17127 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17128 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17129 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17130 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17131 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17132 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17133 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17134 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17149
6fb8cbcb
L
171502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17151
17152 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17153 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17154 * string/memmove.c (memmove): Renamed to ...
17155 (MEMMOVE): ...this. Default to memmove.
17156 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17157 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17158 (END_CHK): Define.
17159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17160 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17161 mempcpy-ssse3-back memmove-ssse3-back.
17162 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17165 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17166 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17167 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17168 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17169 * sysdeps/x86_64/multiarch/memmove.c: New file.
17170 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17171 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17172 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17173 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17176 Define.
17177 (index_Fast_Copy_Backward): Define.
17178 (HAS_ARCH_FEATURE): Define.
17179 (HAS_FAST_REP_STRING): Define.
17180 (HAS_FAST_COPY_BACKWARD): Define.
17181
4e733bac 171822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17183
17184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17185 Restore proper fallback handling.
17186
63c4ed22
UD
171872010-06-19 Ulrich Drepper <drepper@redhat.com>
17188
ac2b484c
UD
17189 [BZ #11701]
17190 * posix/group_member.c (__group_member): Correct checking loop.
17191
63c4ed22
UD
17192 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17193 OOM in getpwuid_r correctly. Return error number when the caller
17194 should return, otherwise -1.
17195 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17196 call returning > 0 value.
17197 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17198
765ade4b
AS
171992010-06-07 Andreas Schwab <schwab@redhat.com>
17200
17201 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17202 libc_nonshared.a from targets in modules-names.
17203
80da2e09
KS
172042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17205
17206 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17207 requires it.
17208
158db122
LM
172092010-06-10 Luis Machado <luisgpm@br.ibm.com>
17210
17211 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17215
caa78cf8
AS
172162010-06-02 Andreas Schwab <schwab@redhat.com>
17217
17218 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17219
b2ef2c01
UD
172202010-06-14 Ulrich Drepper <drepper@redhat.com>
17221
17222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17223 and F_GETPIPE_SZ.
17224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17230
fbd643b6
RM
172312010-06-14 Roland McGrath <roland@redhat.com>
17232
17233 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17234
f32f2869
JJ
172352010-06-07 Jakub Jelinek <jakub@redhat.com>
17236
17237 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17238 __REDIRECT followed by __THROW.
17239 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17240 * posix/getopt.h (getopt): Likewise.
17241
2a50c078
EPM
172422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17243
17244 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17245 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17246 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17247 in AT_FLAGS.
17248 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17249 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17250
eb5ad2eb
LM
172512010-05-28 Luis Machado <luisgpm@br.ibm.com>
17252
17253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17254
3c88fe1e
L
172552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 [BZ #11640]
17258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17259 Properly check family and model.
17260
d2f73151
TY
172612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17262
17263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17264
ebd2e13d
LM
172652010-05-24 Luis Machado <luisgpm@br.ibm.com>
17266
17267 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17268
b32b8b45
UD
172692010-05-21 Ulrich Drepper <drepper@redhat.com>
17270
17271 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17272 symbol reference.
17273
9acbe24d
AS
172742010-05-19 Andreas Schwab <schwab@redhat.com>
17275
17276 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17277 symbol reference.
17278
f0ccf6ea
AS
172792010-05-21 Andreas Schwab <schwab@redhat.com>
17280
3d04ff3a
AS
17281 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17282 and internal_recvmmsg.
17283 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17284 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17286 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17287
f0ccf6ea
AS
17288 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17289 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17290 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17291
5b08ac57
AS
172922010-05-20 Andreas Schwab <schwab@redhat.com>
17293
17294 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17295
4828935d
LM
172962010-05-17 Luis Machado <luisgpm@br.ibm.com>
17297
17298 POWER7 optimizations.
17299 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17300 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17301
373d545e
UD
173022010-05-19 Ulrich Drepper <drepper@redhat.com>
17303
17304 * version.h: Update for 2.13 development version.
17305
21a2b1ae
AS
173062010-05-12 Andrew Stubbs <ams@codesourcery.com>
17307
17308 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17309 exceptions. Return 0.
17310
3f7dcb2b
RM
173112010-05-07 Roland McGrath <roland@redhat.com>
17312
17313 * elf/ldconfig.c (main): Add a const.
17314
5f24d53a 173152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17316
a160f8d8
UD
17317 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17318 (args_options): Add no-idn option.
17319 (ahosts_keys_int): Add idn_flags to ai_flags.
17320 (parse_option): Handle 'i' option to clear idn_flags.
17321
5f24d53a
UD
17322 * malloc/malloc.c (_int_free): Possible race in the most recently
17323 added check. Only act on the data if no current modification
17324 happened.
265bb1ce
UD
17325
17326See ChangeLog.17 for earlier changes.
This page took 2.125997 seconds and 5 git commands to generate.