]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Rename __secure_getenv to secure_getenv
[thirdparty/glibc.git] / ChangeLog
CommitLineData
84b3fd84
FW
12012-07-25 Florian Weimer <fweimer@redhat.com>
2
3 * Versions.def: Add GLIBC_2.17.
4
5 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7 Introduce __libc_secure_getenv.
8 * stdlib/Versions: Add secure_getenv and __libc_secure_getenv.
9 * stdlib/secure-getenv.c: Likewise. Update copyright years.
10 * stdlib/tst-secure-getenv.c: New.
11 * stdlib/Makefile (tests): Add testcase.
12
13 * manual/startup.texi (Environment Access): Document
14 secure_getenv.
15
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.
21 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. Update
22 copyright years.
23 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24 * sysdeps/posix/tempname.c: Likewise. Evaluate
25 HAVE_SECURE_GETENV.
26 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27 __secure_getenv to __libc_secure_getenv. Update copyright years.
28
29 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32 Likewise.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34 Likewise.
35 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42 * ports/sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Likewise.
43 * ports/sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Likewise.
44 * ports/sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Likewise.
45 * ports/sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist:
46 Likewise.
47 * ports/sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist:
48 Likewise.
49 * ports/sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist:
50 Likewise.
51 * ports/sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
52 Likewise.
53 * ports/sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
54 Likewise.
55 * ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56 Likewise.
57 * ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
58 Likewise.
59 * ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
60 Likewise.
61 * ports/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist:
62 Likewise.
63
56e49b71
JM
642012-07-25 Joseph Myers <joseph@codesourcery.com>
65
66 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67 (struct La_i86_retval): Likewise.
68 (struct La_x86_64_regs): Likewise.
69 (struct La_x86_64_retval): Likewise.
70 (struct La_x32_regs): Likewise.
71 (struct La_x32_retval): Likewise.
72 (struct La_ppc32_regs): Likewise.
73 (struct La_ppc32_retval): Likewise.
74 (struct La_ppc64_regs): Likewise.
75 (struct La_ppc64_retval): Likewise.
76 (struct La_sh_regs): Likewise.
77 (struct La_sh_retval): Likewise.
78 (struct La_s390_32_regs): Likewise.
79 (struct La_s390_32_retval): Likewise.
80 (struct La_s390_64_regs): Likewise.
81 (struct La_s390_64_retval): Likewise.
82 (struct La_sparc32_regs): Likewise.
83 (struct La_sparc32_retval): Likewise.
84 (struct La_sparc64_regs): Likewise.
85 (struct La_sparc64_retval): Likewise.
86 (struct audit_ifaces): Remove architecture-specific pltenter and
87 pltexit members.
88 * sysdeps/i386/ldsodefs.h: New file.
89 * sysdeps/powerpc/ldsodefs.h: Likewise.
90 * sysdeps/s390/ldsodefs.h: Likewise.
91 * sysdeps/sh/ldsodefs.h: Likewise.
92 * sysdeps/sparc/ldsodefs.h: Likewise.
93 * sysdeps/x86_64/ldsodefs.h: Likewise.
94
354691b7
MP
952012-07-25 Marek Polacek <polacek@redhat.com>
96
97 [BZ #6808]
98 * math/libm-test.inc (yn_test): Add another test.
99 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
100 to ERANGE when the result is +-Inf.
101 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
104 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
105
bf9e2071
JM
1062012-07-24 Joseph Myers <joseph@codesourcery.com>
107
108 * conform/data/time.h-data (NULL): Use macro-constant. Require
109 equal to 0.
110 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
111 clock_t.
112 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
113
57633811
TS
1142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
115
116 * configure.in <sysdeps resolving>: Correct printing
117 Implies_before.
118 * configure: Regenerate.
119
c23c33b0
TS
1202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
121
122 * math/w_ilogb.c: Include <limits.h>.
123 * math/w_ilogbl.c: Likewise.
124
b5982523
JM
1252012-07-20 Joseph Myers <joseph@codesourcery.com>
126
127 * manual/lang.texi (__va_copy): Document primarily as ISO C99
128 va_copy. Document allowing for unavailable va_copy only as
129 pre-C99 compatibility.
130 * manual/string.texi (Copying and Concatenation): Use va_copy
131 instead of __va_copy in concat example.
132
ac4ea442
PT
1332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
134
135 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
136 (__sendto): Use create_address_port. Initialize APORT and deallocate
137 it if not null.
138
f98eafbd
PT
139 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
140 with O_NOLINK passed to __file_name_lookup.
141
898c7aab
PT
142 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
143 with O_NOLINK passed to __file_name_lookup.
144
0ced335a
PT
145 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
146 negative N or less than NGIDS.
147
b3404dbd
PT
148 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
149 type to string_t. Set ERANGE as errno and return it if NAME is not big
150 enough. Use memcpy instead of strncpy.
151
0f48659e
JM
1522012-07-20 Joseph Myers <joseph@codesourcery.com>
153
154 * elf/Makefile (check-data): Remove.
155 (localplt.data): New vpath directive.
156 ($(objpfx)check-localplt.out): Use localplt.data from vpath
157 instead of $(check-data).
158 * scripts/data/localplt-generic.data: Move to ...
159 * sysdeps/generic/localplt.data: ... here.
160 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
161 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
162 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
164 ... here.
165 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
167 ... here.
168 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
170 ... here.
171 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
173 ... here.
174 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
176 ... here.
177 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
179 ... here.
180
d37cbdaa
AZ
1812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182
183 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
184 PPC32 and PPC64 files.
185 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
186 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
187
46f85fc2
AK
1882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
189
190 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
191 __makecontext_ret to ...
192 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
193 ... here and call exit if uc_link is NULL. New file.
194 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
195 __makecontext_ret.S.
196 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
197 __makecontext_ret to ...
198 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
199 ... here and call exit if uc_link is NULL. New file.
200 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
201 __makecontext_ret.S.
202
08f43f9b
AK
2032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
204
205 * elf/elf.h (R_390_IRELATIVE): New definition.
206 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
207 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
208 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
210 (elf_machine_lazy_rel): Likewise.
211 * sysdeps/s390/dl-irel.h: New file.
212 * sysdeps/s390/s390-64/memcpy.S: New asm code.
213 * sysdeps/s390/s390-64/memset.S: New asm code.
214 * sysdeps/s390/s390-64/memcmp.S: New asm code.
215 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
217 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
218 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
219 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
221 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
222 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
223 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
224 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
225 * sysdeps/s390/s390-32/memcpy.S: New asm code.
226 * sysdeps/s390/s390-32/memset.S: New asm code.
227 * sysdeps/s390/s390-32/memcmp.S: New asm code.
228
3b05db33
MP
2292012-07-17 Marek Polacek <polacek@redhat.com>
230
231 [BZ #14349]
232 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
233 * sysdeps/s390/s390-64/configure.in: Likewise.
234 * sysdeps/sparc/configure.in: Likewise.
235 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
236 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
237 * sysdeps/i386/configure.in: Likewise.
238 * sysdeps/x86_64/configure.in: Likewise.
239 * sysdeps/sh/configure.in: Likewise.
240 * sysdeps/s390/s390-32/configure: Regenerated.
241 * sysdeps/s390/s390-64/configure: Likewise.
242 * sysdeps/x86_64/configure: Likewise.
243 * sysdeps/sh/configure: Likewise.
244 * sysdeps/powerpc/powerpc64/configure: Likewise.
245 * sysdeps/powerpc/powerpc32/configure: Likewise.
246 * sysdeps/sparc/configure: Likwise.
247 * sysdeps/i386/configure: Likewise.
248
a66877c6
MP
249 * elf/dl-open.c: Comment fixes.
250
cfc82fd8
JM
2512012-07-17 Joseph Myers <joseph@codesourcery.com>
252
bd29910a
JM
253 * Makefile [CXX] (check-data): Remove.
254 [CXX] (c++-types.data): New vpath directive.
255 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
256 vpath. Do not allow for C++ type data being missing.
257 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
258 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
259 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
260 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
261 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
262 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
263 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
265 ... here.
266 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
268 ... here.
269 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
271 ... here.
272 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
274 ... here.
275 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
277 ... here.
278 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
280 ... here.
281 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
283 ... here.
284 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
286
cfc82fd8
JM
287 * elf/tls-macros.h (TLS_LE): Move architecture-specific
288 definitions to architecture-specific files.
289 (TLS_IE): Likewise.
290 (TLS_LD): Likewise.
291 (TLS_GD): Likewise.
292 * sysdeps/i386/tls-macros.h: New file.
293 * sysdeps/powerpc/tls-macros.h: Likewise.
294 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
295 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
296 * sysdeps/sh/tls-macros.h: Likewise.
297 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
298 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
299 * sysdeps/x86_64/tls-macros.h: Likewise.
300
f7db3170
TS
3012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
302
07cbfc23
TS
303 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
304 zero value for regular exit case.
305
f7db3170
TS
306 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
307 (__start_context): Preserve zero value for regular exit case.
308
dc97c227
TS
3092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
310 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
311
312 * manual/setjmp.texi (setcontext): Clarify normal process
313 termination when uc_link is the null pointer.
314 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
315 exit call.
316
d0cd7d02
AS
3172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
318
319 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
320 preprocessor. Test for each exception mask separately.
321
dd318934
AJ
3222012-07-16 Andreas Jaeger <aj@suse.de>
323
324 * po/ru.po: Update from translation team.
325
8048311a
JM
3262012-07-15 Joseph Myers <joseph@codesourcery.com>
327
328 * conform/data/string.h-data (NULL): Use macro-constant. Require
329 equal to 0.
330 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
331 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
332 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
333 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
335
b637d46e
AJ
3362012-07-13 Andreas Jaeger <aj@suse.de>
337
338 * po/fr.po: Update from translation team.
339
541428fe
MP
3402012-07-12 Marek Polacek <polacek@redhat.com>
341
342 [BZ #14173]
343 * math/libm-test.inc (yn_test): Add test for BZ #14173.
344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
345 loop condition.
346
ec332e94
JM
3472012-07-12 Joseph Myers <joseph@codesourcery.com>
348
349 [BZ #13717]
350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
351 Change to 2.4.1 where previously 2.4.0.
352 * sysdeps/unix/sysv/linux/configure: Regenerated.
353 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
354 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
355 version.
356 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
357 (__ASSUME_AT_CLKTCK): Remove.
358 (__ASSUME_AT_PAGESIZE): Likewise.
359 (__ASSUME_AT_XID): Likewise.
360 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
361 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
362 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
363 unconditionally.
364 (HAVE_AUX_PAGESIZE): Likewise.
365 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
366 [__ASSUME_AT_CLKTCK]: Make code unconditional.
367 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
368
7b6e99be
JB
3692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
370
371 [BZ #14307]
372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
373 the temporary buffer used to invoke __gethostbyname2_r,
374 __gethostbyaddr_r and gethostbyname4_r to make room for struct
375 host_data / struct gaih_addrtuple.
376 * resolv/nss_dns/dns-host.c (global scope): Move definition of
377 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
378 header file nss/nsswitch.h.
379 * nss/nsswitch.h (global scope): Add definition of implementation
380 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
381 resolv/nss_dns/dns-host.c).
382
608404eb
AJ
3832012-07-11 Andreas Jaeger <aj@suse.de>
384
385 * po/fr.po: Update from translation team.
386
71220aca
AJ
387 * po/sv.po: Update from translation team
388 * po/fr.po: Another update from translation team.
389
28cfe843
AZ
3902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
393 for subnormals or multiply small sinh result by itself.
394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
396
6b90f981
DM
3972012-07-11 David S. Miller <davem@davemloft.net>
398
399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
400
c6825772
AS
4012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
402
403 [BZ #14347]
404 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
405 (INTERNAL_MARK): Shift it here.
406
7b8e0d49
MP
4072012-07-10 Marek Polacek <polacek@redhat.com>
408
409 [BZ #14151]
410 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
411 libc_cv_asm_global_directive with .globl.
412 * configure: Regenerated.
413 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
414 with .globl.
415 * sysdeps/i386/configure: Regenerated.
416 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
417 with .globl.
418 * sysdeps/x86_64/configure: Regenerated.
419 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
420 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
421 * elf/tst-unique2mod2.c: Likewise.
422 * elf/tst-unique2mod1.c: Likewise.
423 * elf/tst-unique1mod2.c: Likewise.
424 * elf/tst-unique1mod1.c: Likewise.
425 * sysdeps/s390/s390-32/sysdep.h: Likewise.
426 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
428 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
429 * sysdeps/mach/sysdep.h: Likewise.
430 * sysdeps/i386/sysdep.h: Likewise.
431 * sysdeps/i386/i386-mcount.S: Likewise.
432 * sysdeps/x86_64/_mcount.S: Likewise.
433 * sysdeps/x86_64/sysdep.h: Likewise.
434 * sysdeps/sh/_mcount.S: Likewise.
435 * sysdeps/sh/sysdep.h: Likewise.
436 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
437 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
438 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
439 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
440 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
441 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
442 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
443 * locale/localeinfo.h: Likewise.
444 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
445 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
446
6c55cda3
RM
4472012-07-09 Roland McGrath <roland@hack.frob.com>
448
449 [BZ #14336]
450 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
451 system".
452 * manual/message.texi (The Uniforum approach): Likewise.
453 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
454 (glibc iconv Implementation): Likewise.
455
638a572e
JM
4562012-07-09 Joseph Myers <joseph@codesourcery.com>
457
458 [BZ #14337]
459 * math/s_clog.c (__clog): Avoid scaling a value down where that
460 could result in underflow.
461 * math/s_clog10.c (__clog10): Likewise.
462 * math/s_clog10f.c (__clog10f): Likewise.
463 * math/s_clog10l.c (__clog10l): Likewise.
464 * math/s_clogf.c (__clogf): Likewise.
465 * math/s_clogl.c (__clogl): Likewise.
466 * math/libm-test.inc (clog_test): Add more tests.
467 (clog10_test): Likewise.
468 * sysdeps/i386/fpu/libm-test-ulps: Update.
469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470
261f4859
AS
4712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
472
0abaf3e4
AS
473 [BZ #14283]
474 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
475 by 7 not 8 to examine high bit of fractional part.
476
261f4859
AS
477 [BZ #14042]
478 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
479 for call to __mcount_internal.
480 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
481 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
482 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
483
f17ac40d
JM
4842012-07-06 Joseph Myers <joseph@codesourcery.com>
485
9ad63c23
JM
486 [BZ #14154]
487 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
488 approximation for values within 0x1p-13f of an odd multiple of
489 pi/4.
490 * math/libm-test.inc (tan_test): Do not allow spurious underflow
491 exception. Add more tests.
492 * sysdeps/i386/fpu/libm-test-ulps: Update.
493
f17ac40d
JM
494 [BZ #6778]
495 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
496 inputs and return -1 for them. Do not check for +Inf in case not
497 reachable for +Inf.
498 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
499 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
500 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
501 and return -1 for them. Do not check for +Inf in case not
502 reachable for +Inf.
503 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
504 define.
505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
506 and return -1 for them. Do not check for +Inf in case not
507 reachable for +Inf.
508 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
509 spurious underflow.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512
fb21f89b
MF
5132012-07-06 Mike Frysinger <vapier@gentoo.org>
514
515 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
516
cdfe2c5e
JM
5172012-07-05 Joseph Myers <joseph@codesourcery.com>
518
519 [BZ #14157]
520 [BZ #14331]
521 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
522 could result in spurious underflow. Scale down values above
523 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
524 * math/s_csqrtf.c (__csqrtf): Likewise.
525 * math/s_csqrtl.c (__csqrtl): Likewise.
526 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
527 spurious underflow.
528 * sysdeps/i386/fpu/libm-test-ulps: Update.
529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
530
70d35b67
AS
5312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
532
704bc459
AS
533 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
534 xopen-msg.sed.
535 * catgets/xopen-msg.awk: New file.
536 * catgets/xopen-msg.sed: Removed.
537
70d35b67
AS
538 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
539 po2text.sed.
540 * intl/po2test.awk: New file.
541 * intl/po2test.sed: Removed.
542
ca61cf32
JM
5432012-07-04 Joseph Myers <joseph@codesourcery.com>
544
545 [BZ #14328]
546 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
547 or multiply small sinh result by itself.
548 * math/s_ctanf.c (__ctanf): Likewise.
549 * math/s_ctanh.c (__ctanh): Likewise.
550 * math/s_ctanhf.c (__ctanhf): Likewise.
551 * math/s_ctanhl.c (__ctanhl): Likewise.
552 * math/s_ctanl.c (__ctanl): Likewise.
553 * math/libm-test.inc (ctan_test_tonearest): New function.
554 (ctan_test_towardzero): Likewise.
555 (ctan_test_downward): Likewise.
556 (ctan_test_upward): Likewise.
557 (ctanh_test_tonearest): Likewise.
558 (ctanh_test_towardzero): Likewise.
559 (ctanh_test_downward): Likewise.
560 (ctanh_test_upward): Likewise.
561 (main): Call these new functions.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564
ca48a46a
MF
5652012-07-03 Mike Frysinger <vapier@gentoo.org>
566
567 * .gitignore: Delete /ports entry.
568
9d63d37d
AJ
5692012-07-03 Andreas Jaeger <aj@suse.de>
570
571 * po/bg.po: Update from translation team.
572 * po/cs.po: Likewise.
573 * po/de.po: Likewise.
574 * po/hr.po: Likewise.
575 * po/nl.pl: Likewise.
576 * po/pl.po: Likewise.
577 * po/vi.po: Likewise.
578
370ca3d2
JM
5792012-07-03 Joseph Myers <joseph@codesourcery.com>
580
95f5a9a8
JM
581 * Makeconfig [!+link] (+link-before-libc): New variable.
582 [!+link] (+link-after-libc): Likewise.
583 [!+link] (+link-tests): Likewise.
584 [!+link] (+link): Define in terms of $(+link-before-libc) and
585 $(+link-after-libc).
586 [!+link-static] (+link-static-before-libc): New variable.
587 [!+link-static] (+link-static-after-libc): Likewise.
588 [!+link-static] (+link-static-tests): Likewise.
589 [!+link-static] (+link-static): Define in terms of
590 $(+link-static-before-libc) and $(+link-static-after-libc).
591 [build-shared] (link-libc-before-gnulib): New variable.
592 [build-shared] (link-libc-tests): Likewise.
593 [build-shared] (link-libc): Define in terms of
594 $(link-libc-before-gnulib).
595 [!build-shared] (link-libc-tests): New variable.
596 (link-libc-static-tests): New variable.
597 [!gnulib] (gnulib-arch): New variable.
598 [!gnulib] (gnulib-tests): Likewise.
599 [!gnulib] (static-gnulib-arch): Likewise.
600 [!gnulib] (static-gnulib-tests): Likewise.
601 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
602 Define with "=" instead of ":=".
603 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
604 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
605 * Rules (binaries-all-notests): New variable.
606 (binaries-all-tests): Likewise.
607 (binaries-static-notests): Likewise.
608 (binaries-static-tests): Likewise.
609 (binaries-all): Define using $(binaries-all-notests) and
610 $(binaries-all-tests).
611 (binaries-static): Define using $(binaries-static-notests) and
612 $(binaries-static-tests).
613 (binaries-shared-tests): New variable.
614 (binaries-shared-notests): Likewise.
615 (binaries-shared): Remove variable.
616 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
617 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
618 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
619 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
620 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
621 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
622 * elf/Makefile (sln-modules): New variable.
623 (extra-objs): Add $(sln-modules:=.o).
624 (ldconfig-modules): Add static-stubs.
625 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
626 * elf/static-stubs.c: New file.
627
7a845b2c
JM
628 [BZ #14283]
629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
630 by 7 not 8 to examine high bit of fractional part. Use volatile
631 variables when splitting into final array of floats if
632 __FLT_EVAL_METHOD__ != 0.
633 * math/libm-test.inc (cos_test): Add another test.
634 (sin_test): Likewise.
635 * sysdeps/i386/fpu/libm-test-ulps: Update.
636
e2283f38
JM
637 [BZ #14273]
638 * math/libm-test.inc (cosh_test): Add more tests.
639
370ca3d2
JM
640 * version.h (RELEASE): Set to "development".
641 (VERSION): Set to "2.16.90".
642
ee9247c3
CD
6432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
644
645 * NEWS: Update copyright. Remove last-updated date.
646 Mention math library bug fixes and timezone data changes.
647 * README: Mention GNU/Hurd, x32, and HPPA support status.
648
4648c381
TS
6492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
650
651 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
652
aac78a43
AJ
6532012-06-27 Andreas Jaeger <aj@suse.de>
654
655 * manual/contrib.texi (Contributors): Add Samuel Thibault.
656
ed3dbfad
AJ
6572012-06-25 Andreas Jaeger <aj@suse.de>
658
659 * sysdeps/s390/fpu/libm-test-ulps: Update.
660
4d0ee855
AS
6612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
662 Thomas Schwinge <thomas@codesourcery.com>
663
664 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
665 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
667 fanotify_mark.
668
af1bce34
TS
6692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
670
a9fa33ba
TS
671 * sysdeps/mach/start.c: Remove file.
672 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
673 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
674 * sysdeps/sh/init-first.c: Likewise.
675
58f902b8
TS
676 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
677 registers for frame unwinding purposes, add CFI directives.
678 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
679 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
680 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
681 Likewise.
682
1518f58b
TS
683 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
684 __fortify_fail returning.
685 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
686
db9b5059
TS
687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
688 sysdeps/sh/____longjmp_chk.S.
689 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
690 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
691 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
692 (gen-as-const-headers): Append sigaltstack-offsets.sym.
693
967705fe
TS
694 * sysdeps/sh/abort-instr.h: New file.
695 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
696 process in case exit returns.
697
a9def8c4
TS
698 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
699 initialize the GOT register before use.
700
2a649725
TS
701 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
702 calculation of ARGC > 4.
703
af1bce34
TS
704 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
705 meaningful names to some local labels.
706
d230f50a
KK
7072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
708 Kaz Kojima <kkojima@rr.iij4u.or.jp>
709
710 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
711 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
712 (__arch_compare_and_exchange_val_16_acq): Likewise.
713 (__arch_compare_and_exchange_val_32_acq): Likewise.
714 (atomic_exchange_and_add): Fix gUSA sequence.
715 (atomic_add): Likewise.
716 (atomic_add_negative): Likewise.
717 (atomic_add_zero): Likewise.
718 (atomic_bit_test_set): Likewise.
719
0479b305
AS
7202012-06-22 Andreas Schwab <schwab@redhat.com>
721
722 [BZ #13579]
723 * include/link.h (struct link_map): Add l_free_initfini.
724 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
725 l_initfini.
726 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
727 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
728 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
729 set.
730
0e3933b9
CD
7312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
732
733 * configure.in: Use AC_LANG_SOURCE.
734 * configure: Regenerate.
735
4248b1b1
RM
7362012-06-22 Roland McGrath <roland@hack.frob.com>
737
738 * configure.in (libc_cv_localstatedir): New substituted variable.
739 * configure: Regenerated.
740 * config.make.in (localstatedir): New variable, substituted from
741 libc_cv_localstatedir.
742 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
743 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
744 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
745 * sysdeps/gnu/configure: Regenerated.
746
006dd861
JL
7472012-06-21 Jeff Law <law@redhat.com>
748
749 [BZ #14277]
750 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
751 free. Simplify list management for _LIBC case.
752
79662d42
JM
7532012-06-21 Joseph Myers <joseph@codesourcery.com>
754
b7abb4bf
JM
755 [BZ #14273]
756 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
757 Clear sign bit of 64-bit integer value before comparing against
758 overflow value.
759
79662d42
JM
760 * sysdeps/mach/configure: Regenerated.
761
1f150908
L
7622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
763
764 [BZ #14278]
765 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
766
28363bbf
JL
7672012-06-21 Jeff Law <law@redhat.com>
768
769 [BZ #13882]
770 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
771 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
773 * elf/dl-open.c (dl_open_worker): Likewise.
774
09615db4
CD
7752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
776
777 * scripts/list-sources.sh: Scan PORTS for translations.
778 * po/libc.pot: Regenerated.
779
2174c6dd
AJ
7802012-06-21 Andreas Jaeger <aj@suse.de>
781
782 [BZ #12194]
783 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
784 warning.
785 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
786 * bits/byteswap-16.h (__bswap_16): Likewise.
787 * bits/byteswap.h (__bswap_constant_16): Likewise.
788
3ee947b1
L
7892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
790
791 [BZ #14117]
a2f34833
L
792 * sysdeps/i386/fpu_control.h: Removed.
793 * sysdeps/x86_64/fpu_control.h: Moved to ...
794 * sysdeps/x86/fpu_control.h: Here.
795
3ee947b1
L
796 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
797 (_FPU_SETCW): Likewise.
798
ed1825f8
L
7992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
800
25f1282a
L
801 [BZ #14117]
802 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
803 * sysdeps/x86/fpu/bits/mathinline.h: This.
804 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
805
ed1825f8
L
806 [BZ #14050]
807 [BZ #14117]
808 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
809 functions if __x86_64__ is defined.
810
36d54b74
CLT
8112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
812
813 * string/endian.h: Add !__ASSEMBLER__ condition for including
814 conversion interfaces.
815
10285c21
JM
8162012-06-15 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #14241]
819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
820 of ABS(x) in calculating zero to negative powers other than odd
821 integers.
822 * math/libm-test.inc (pow_test): Add more tests.
823
06c5abbd
AJ
8242012-06-15 Andreas Jaeger <aj@suse.de>
825
826 * manual/contrib.texi (Contributors): Update entry of Liubov
827 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
828 Machado Filho.
829
a3aeac40
CH
8302012-06-15 Cyril Hrubis <metan@ucw.cz>
831
832 * string/string.h: Add __wur to GNU version of strerror_r.
833
49bdf4c1
L
8342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
835
836 [BZ #14229]
837 * string/Makefile (tests): Add tst-strtok_r.
838 * string/tst-strtok_r.c: New file.
839 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
840 RAX_LP/RDX_LP on SAVE_PTR.
841
834f9b8d
RM
8422012-06-14 Roland McGrath <roland@hack.frob.com>
843
844 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
845
75fa1921
JM
8462012-06-14 Joseph Myers <joseph@codesourcery.com>
847
848 * libm_test.inc (csqrt_test): Allow more spurious underflow
849 exceptions.
850 (j0_test): Likewise.
851 (j1_test): Likewise.
852 (y0_test): Likewise.
853 (y1_test): Likewise.
854
771766df
CD
8552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
856
857 * po/Makefile (libc.pot): Use UTF-8 charset.
858
ceb9e56b
PP
8592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
860
861 [BZ #14210]
862 Suppress sign-conversion warning from FD_SET.
863 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
864 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
865 not unsigned long int.
866 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
867
ddb28975
L
8682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
869
870 [BZ #14050]
871 [BZ #14117]
872 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
873 __extern_always_inline instead of __extern_inline.
874 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
875 (__signbit): Likewise.
876 (__signbitl): Support C++ namespace.
877 (lrintf): New inline function.
878 (lrint): Likewise.
879 (llrintf): Likewise.
880 (llrint): Likewise.
881 (fmaxf): Likewise.
882 (fmax): Likewise.
883 (fminf): Likewise.
884 (fmin): Likewise.
885 (rint): Likewise.
886 (rintf): Likewise.
887 (ceil): Likewise.
888 (ceilf): Likewise.
889 (floor): Likewise.
890 (floorf): Likewise.
891 (nearbyint): Likewise.
892 (nearbyintf): Likewise.
893
d7b4fb26
TS
8942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
895
896 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
897 non-default versions.
898
eb55f5c2
RM
8992012-06-11 Roland McGrath <roland@hack.frob.com>
900
901 [BZ #14218]
902 * manual/argp.texi (Argp): Reword argp_parse description slightly.
903
366af02c
TS
9042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
905
99ff6e5c
TS
906 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
907 (FE_UPWARD, FE_DOWNWARD): Don't define.
908 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
909 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
910
366af02c
TS
911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
912 reading it.
913 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
914 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
915
793ea851
KK
9162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
917
918 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
920 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
921 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
922
a728a38f
L
9232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #14117]
c08010c7
L
926 * sysdeps/i386/fpu/bits/fenv.h: Removed.
927 * sysdeps/i386/fpu/Implies: New file.
928 * sysdeps/x86_64/fpu/Implies: Likewise.
929 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
930 * sysdeps/x86/fpu/bits/fenv.h: This.
931
a728a38f
L
932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
933 __SSE_MATH__.
934
6e230d11
SP
9352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
936
937 [BZ #14134]
938 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
939 character 0xffff that matches the last element of the
940 conversion table.
941
1b671feb
AZ
9422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943
944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
945 fmodl commit.
946
6043738b
AZ
9472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948
949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
950 values higher than 25.6283.
951
34ae0b32
AZ
9522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953
954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
955 subnormal exponent extraction and add some __builtin_expect.
956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
957 Fix for subnormal mantissa calculation.
958
1214ec8f
MF
9592012-06-04 Mike Frysinger <vapier@gentoo.org>
960
961 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
962 cpu2 is -1 and errno is not ENOSYS.
963
f3d1f93c
L
9642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
965
966 [BZ #14117]
0e4a3cd7
L
967 * sysdeps/i386/i486/bits/string.h: Renamed to ...
968 * sysdeps/x86/bits/string.h: This.
969 * sysdeps/x86_64/bits/string.h: Removed.
970
6704c645
L
971 * sysdeps/i386/i486/bits/string.h: Define inline functions only
972 if not compiling for x86-64, but compiling for >= i486.
973
48495318
L
974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
975 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
976
14adcbfc
L
977 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
978 New macro from Linux kernel 3.4.0.
979 (FP_XSTATE_MAGIC2): Likewise.
980 (FP_XSTATE_MAGIC2_SIZE): Likewise.
981 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
982 (struct _fpx_sw_bytes): New struct.
983 (struct _xsave_hdr): Likewise.
984 (struct _ymmh_state): Likewise.
985 (struct _xstate): Likewise.
986
68e408ab
L
987 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
988 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
990 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
991 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
992 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
993
f3d1f93c
L
994 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
995 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
996 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
997 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
998 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
999 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1000
d9dc34cd
TMQMF
10012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1002
1003 [BZ #13743]
1004 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1005 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1006 (sysdep_headers): Include sys/platform/ppc.h.
1007 * sysdeps/powerpc/test-gettimebase.c: Test for
1008 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1009 * manual/Makefile (appendices): Include platform.texi.
1010 * manual/contrib.texi (Contributors): Update @node pointers.
1011 * manual/maint.texi (Maintenance): Likewise.
1012 (Platform): New node.
1013 * manual/platform.texi: New file. Document the new features.
1014
4af3879c
SP
10152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1016 Jakub Jelinek <jakub@redhat.com>
1017
1018 [BZ #14188]
1019 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1020 where __builtin_expect is unavailable.
1021
2fd6ff13
DM
10222012-06-03 David S. Miller <davem@davemloft.net>
1023
1024 * stdlib/longlong.h: Updated from GCC.
1025
173f7220
AS
10262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1027
1028 [BZ #14042]
1029 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1030 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1031 __mcount_internal.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1033 (GLIBC_2.16): Likewise.
1034
f34a1c6f
L
10352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1038
88a4576f
JM
10392012-06-01 Joseph Myers <joseph@codesourcery.com>
1040
ea32bcdd
JM
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1042 (default-abi): New variable.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1044 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1045 variable.
1046 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1047 Likewise.
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1051 Likewise.
1052
88a4576f
JM
1053 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1054 definition. Document in comment.
1055
402fe938
DM
10562012-06-01 David S. Miller <davem@davemloft.net>
1057
1058 * stdlib/longlong.h: Updated from GCC.
1059
3553723f
L
10602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 [BZ #14117]
3bd872c4
L
1063 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1064 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1065 sys/debugreg.h sys/io.h here.
1066 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1067 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1068 sys/io.h.
1069 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1070 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1071 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1072 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1073 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1074 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1075
3553723f
L
1076 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1077 Define only if __x86_64__ is defined.
1078
4842e4fe
JM
10792012-06-01 Joseph Myers <joseph@codesourcery.com>
1080
c5bfe3d5
JM
1081 [BZ #14048]
1082 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1083 Use int64_t for variable i.
1084 * math/libm-test.inc (fmod_test): Add more tests.
1085
4842e4fe
JM
1086 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1087 z computation is not scheduled after fetestexcept.
1088 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1089 Use math_force_eval instead of asm to ensure calculation scheduled
1090 before exception test.
1091 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1092 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1093
efb73488
AJ
10942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1095
1096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1097 computation is not scheduled after fetestexcept.
1098
29bcce7c
L
10992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 [BZ #14117]
1102 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1103 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1104
73a68f94
AZ
11052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106
1107 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1108 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1109
67b6df78
L
11102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1111
edf2933a 1112 [BZ #14117]
ebc64a18
L
1113 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1114 <bits/wordsize.h>.
1115 (__WCHAR_MIN): Support __WORDSIZE == 64.
1116 (__WCHAR_MAX): Likewise.
1117
edf2933a
L
1118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1120
57c6cf40
L
1121 [BZ #14183]
1122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1123 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1124
67b6df78 1125 [BZ #14117]
8eb6281e
L
1126 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1127 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1128
aac639f4
L
1129 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1130 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1131
67b6df78
L
1132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1133 Defined to 1 if __x86_64__ isn't defined.
1134 (_STAT_VER_LINUX_OLD): New.
1135 (st_atime): Remove duplicate.
1136 (st_mtime): Likewise.
1137 (st_ctime): Likewise.
1138
1c2cfe81
DM
11392012-05-31 David S. Miller <davem@davemloft.net>
1140
1141 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1142 entries.
1143
5be8418c
AS
11442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1145
e7725326
AS
1146 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1147 gen-libm-test.pl.
1148
5be8418c
AS
1149 [BZ #14132]
1150 * elf/dl-reloc.c: Include <_itoa.h>.
1151 (_dl_reloc_bad_type): Remove use of INTUSE.
1152 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1153 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1154 * stdio-common/psiginfo.c (psiginfo): Likewise.
1155 * stdio-common/psignal.c (psignal): Likewise.
1156 * string/strsignal.c (strsignal): Likewise.
1157 * include/signal.h (_sys_siglist): Declare hidden proto.
1158 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1159 INTVARDEF with libc_hidden_data_def.
1160 * stdio-common/itoa-udigits.c: Likewise.
1161 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1162 (_itoa_lower_digits_internal): Remove declaration.
1163 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1164 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1165 (_sys_sigabbrev_internal): Remove aliases.
1166 (_sys_siglist): Define hidden alias.
1167
507352f1
MT
11682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1169
1170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1171 bits/sysctl.h.
1172
42bbb1c3
L
11732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 [BZ #14117]
6bd784b6
L
1176 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1177 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1178
8bca20f0
L
1179 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1180 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1181 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1182 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1183 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1184 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1185
f9e890a9
L
1186 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1188 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1189
471101a1
L
1190 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1191 with __addr.
1192 (insw): Likewise.
1193 (insl): Likewise.
1194 (outsb): Likewise.
1195 (outsw): Likewise.
1196 (outsl): Likewise.
1197
6451c862
L
1198 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1200 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1201
a254b8c9
L
1202 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1203 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1204 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1205 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1206 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1207 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1208
b8dfdd92
L
1209 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1210 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1211
578cd270
L
1212 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1213 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1214
de662f5f
L
1215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1217 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1218
25653439
L
1219 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1220 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1221 to ...
1222 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1223
6bad24a0
L
1224 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1225 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1226 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1227
42bbb1c3
L
1228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1229 for x86-64.
1230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1231
2d10d547
JM
12322012-05-31 Joseph Myers <joseph@codesourcery.com>
1233
1234 * math/math.h (M_El): Use two more decimal places.
1235 (M_LOG2El): Likewise.
1236 (M_LOG10El): Likewise.
1237 (M_LN2l): Likewise.
1238 (M_LN10l): Likewise.
1239 (M_PIl): Likewise.
1240 (M_PI_2l): Likewise.
1241 (M_PI_4l): Likewise.
1242 (M_1_PIl): Likewise.
1243 (M_2_PIl): Likewise.
1244 (M_2_SQRTPIl): Likewise.
1245 (M_SQRT2l): Likewise.
1246 (M_SQRT1_2l): Likewise.
1247
f230c29b
DM
12482012-05-31 David S. Miller <davem@davemloft.net>
1249
1250 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1251 values between float registers.
1252 * sysdeps/sparc/sparc64/memset.S: Likewise.
1253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1254
fed806c3
MF
12552012-05-31 Mike Frysinger <vapier@gentoo.org>
1256
1257 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1258 -D_FORTIFY_SOURCE=1.
1259 (CPPFLAGS-tst-longjmp_chk.c): Define.
1260 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1261 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1262 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1263 CFLAGS-tst-wchar-h.c.
1264
30917259
MP
12652012-05-31 Marek Polacek <polacek@redhat.com>
1266
1267 [BZ #14132]
1268 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1269 __endmntent_internal): Remove declaration.
1270 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1271 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1272 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1273
1c58d5dc
DM
12742012-05-30 David S. Miller <davem@davemloft.net>
1275
1276 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1277 (___Q_simulate_exceptions): Use real FP ops rather than writing
1278 into the %fsr.
1279 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1280 Likewise.
1281
7dc00e0d
L
12822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 [BZ #14117]
0bd53985
L
1285 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1286 * sysdeps/x86/bits/xtitypes.h: This.
1287
3a257e66
L
1288 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1289 * sysdeps/x86/bits/wordsize.h: This.
1290
62f62904
L
1291 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1292 * sysdeps/x86/bits/huge_vall.h: This.
1293
404fe9d9
L
1294 * sysdeps/i386/bits/select.h: Removed.
1295 * sysdeps/x86_64/bits/select.h: Renamed to ...
1296 * sysdeps/x86/bits/select.h: This.
1297
d48d0446
L
1298 * sysdeps/i386/bits/setjmp.h: Removed.
1299 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1300 * sysdeps/x86/bits/setjmp.h: This.
1301
7dc00e0d
L
1302 * sysdeps/i386/bits/mathdef.h: Removed.
1303 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1304 * sysdeps/x86/bits/mathdef.h: This.
1305
03277f8f
AS
13062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1307
1308 [BZ #14132]
1309 * include/sys/socket.h (__connect_internal)
1310 (__libc_sa_len_internal): Remove declaration.
1311 (__connect, __libc_sa_len): Declare hidden_proto.
1312 (SA_LEN): Remove use of INTUSE.
1313 * socket/connect.c: Add libc_hidden_def.
1314 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1315 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1316 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1317 alias.
1318 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1320 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1321 of adding _internal alias.
1322
13764867
L
13232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 [BZ #14117]
6bd97696
L
1326 * sysdeps/i386/bits/link.h: Removed.
1327 * sysdeps/i386/bits/linkmap.h: Likewise.
1328 * sysdeps/x86_64/bits/link.h: Renamed to ...
1329 * sysdeps/x86/bits/link.h: This.
1330 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1331 * sysdeps/x86/bits/linkmap.h: This.
1332
f726f0bb
L
1333 * sysdeps/i386/bits/endian.h: Removed.
1334 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1335 * sysdeps/x86/bits/endian.h: This.
1336
13764867
L
1337 * sysdeps/i386/bits/byteswap.h: Removed.
1338 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1339 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1340 * sysdeps/x86/bits/byteswap.h: This.
1341 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1342 * sysdeps/x86/bits/byteswap-16.h: This.
1343 * sysdeps/i386/Implies: Add x86.
1344 * sysdeps/x86_64/Implies: Likewise.
1345
ae251b0b
DM
13462012-05-30 David S. Miller <davem@davemloft.net>
1347
1348 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1349 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1351 (FP_TRAPPING_EXCEPTIONS): Define.
1352 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1353 (FP_TRAPPING_EXCEPTIONS): Define.
1354 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1355 subnormals only when inexact has been signalled or underflow
1356 exceptions are enabled.
1357 (_FP_PACK_CANONICAL): Likewise.
1358
d5c90867
L
13592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1360
1361 [BZ #14183]
1362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1363 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1364
63f1549e
RH
13652012-05-30 Richard Henderson <rth@twiddle.net>
1366
8d8f2279
RH
1367 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1368 with #ifndef NOT_IN_libc.
1369
63f1549e
RH
1370 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1371 marked to avoid plt entry.
1372
0ab0291b
L
13732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1374
1375 [BZ #14112]
1376 * Makeconfig (default-abi): New macro.
1377 (abi-includes): Likewise.
1378 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1379 $(abi-$(default-abi)-lib-soname) for soname if defined.
1380 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1381 abi-variants.
1382 * Makefile (installed-stubs): Likewise.
1383 * include/stubs-biarch.h: Removed.
1384 * scripts/lib-names.awk: Only handle one library at a time.
1385 * scripts/soversions.awk: Remove WORDSIZE support.
1386 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1387 entries.
1388 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1389 Removed.
1390 (syscall-list-default-condition): Likewise.
1391 (syscall-list-default-condition): Likewise.
1392 (syscall-list-includes): Likewise.
1393 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1394 syscall-list-* with abi-*. Handle undefined abi-variants.
1395 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1396 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1397 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1398 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1399 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1400 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1401 Removed.
1402 (syscall-list-32-options): Likewise.
1403 (syscall-list-32-condition): Likewise.
1404 (syscall-list-64-options): Likewise.
1405 (syscall-list-64-condition): Likewise.
1406 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1407 macro.
1408 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1409 Renamed to ...
1410 (abi-*): This.
1411 (abi-64-ld-soname): New macro.
1412 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1414 Renamed to ...
1415 (abi-*): This.
1416 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1417 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1418
4da0431d
JM
14192012-05-30 Joseph Myers <joseph@codesourcery.com>
1420
3a85279c
JM
1421 * sysdeps/unix/sysv/linux/kernel-features.h
1422 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1423 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1424 include <kernel-features.h>.
1425 [!__NR_ftruncate64]: Remove conditional code.
1426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1427 [__NR_ftruncate64]: Make code unconditional.
1428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1429 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1430 include <kernel-features.h>.
1431 [!__NR_ftruncate64]: Remove conditional code.
1432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1433 [__NR_ftruncate64]: Make code unconditional.
1434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1436 include <kernel-features.h>.
1437 [!__NR_ftruncate64]: Remove conditional code.
1438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1439 [__NR_ftruncate64]: Make code unconditional.
1440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1442 include <kernel-features.h>.
1443 [!__NR_ftruncate64]: Remove conditional code.
1444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1445 [__NR_ftruncate64]: Make code unconditional.
1446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1447
4da0431d
JM
1448 * configure.in (libc_cv_fpie): Weaken to a compile test using
1449 LIBC_TRY_CC_OPTION.
1450 * configure: Regenerated.
1451
11ef492c
AK
14522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1453
1454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1458 Refreshed.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1465 Refreshed.
1466
d66ef399
DM
14672012-05-27 David S. Miller <davem@davemloft.net>
1468
1469 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1470 (___Q_zero): New.
1471 (__Q_simulate_exceptions): Return void. Change to simulate
1472 exceptions by writing into the %fsr.
1473 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1474 (__Qp_handle_exceptions): Likewise.
1475 (numbers): Delete.
1476 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1477 __Qp_handle_exceptions.
1478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1479 __Qp_handle_exceptions.
1480 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1481 as unused and give dummy FP_RND_NEAREST initializer.
1482 (FP_INHIBIT_RESULTS): Define.
1483 (___Q_simulate_exceptions): Update declaration.
1484 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1485 formatting.
1486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1487 as unused and give dummy FP_RND_NEAREST initializer.
1488 (__Qp_handle_exceptions): Update declaration.
1489 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1490 formatting.
1491
04fb54b5
TS
14922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1493
1494 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1495 the temporary FPU control word.
1496 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1497 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1499 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1500 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1501 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1502 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1503 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1504 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1505 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1506 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1507
3f99608f
KK
15082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1509
1510 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1511 fields.
1512
65a4de4e
CLT
15132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1514
1515 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1516 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1517 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1518 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1519 Likewise.
1520 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1521 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1522 Likewise.
1523
15749d40
UD
15242012-05-27 Ulrich Drepper <drepper@gmail.com>
1525
1526 * po/h.po: Update from translation team.
1527
25dbcb27
AS
15282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1529
3d3f8e55
AS
1530 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1531
25dbcb27
AS
1532 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1533 handling of denormals.
1534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1535 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1536 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1537 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1541 Likewise.
1542
7ad47a80 15432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1544
1545 [BZ #14152]
1546 * math/libm-test.inc (fma_test): Don't always expect underflow
1547 exception.
1548
9c6ea9fa
SP
15492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1550
1551 [BZ #12416]
1552 * elf/tst-execstack.c: Include stackinfo.h.
1553 (do_test): Adjust test case to ensure that pthread_getattr_np
1554 behaviour remains the same after marking stack executable.
1555
a8239222
JM
15562012-05-25 Joseph Myers <joseph@codesourcery.com>
1557
1558 * sysdeps/unix/sysv/linux/kernel-features.h
1559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1560 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1561 kernel-features.h.
1562 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1563 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1564 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1565 kernel-features.h.
1566 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1567 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1568
918b5606
L
15692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * configure.in: Define the default includes to being none.
1572 * configure: Regenerated.
1573
3a097cc7
RM
15742012-05-25 Roland McGrath <roland@hack.frob.com>
1575
8422c9a5
RM
1576 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1577 * sysdeps/x86_64/setjmp.S: Likewise.
1578 * sysdeps/i386/bsd-setjmp.S: Likewise.
1579 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1580 * sysdeps/i386/setjmp.S: Likewise.
1581 * sysdeps/i386/__longjmp.S: Likewise.
1582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1584
3a097cc7
RM
1585 * include/stap-probe.h: New file.
1586 * configure.in: Handle --enable-systemtap.
1587 * configure: Regenerated.
1588 * config.h.in (USE_STAP_PROBE): New #undef.
1589 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1590 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1591 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1592
21708942
JM
15932012-05-25 Joseph Myers <joseph@codesourcery.com>
1594
1595 [BZ #13717]
1596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1597 to 2.4.0 where earlier.
1598 * sysdeps/unix/sysv/linux/configure: Regenerated.
1599 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1600 <kernel-features.h>.
1601 [__ASSUME_32BITUIDS]: Make code unconditional.
1602 [!__ASSUME_32BITUIDS]: Remove conditional code.
1603 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1604 <kernel-features.h>.
1605 [__ASSUME_32BITUIDS]: Make code unconditional.
1606 [!__ASSUME_32BITUIDS]: Remove conditional code.
1607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1608 [__ASSUME_32BITUIDS]: Make code unconditional.
1609 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1610 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
1627 <kernel-features.h>.
1628 [__ASSUME_32BITUIDS]: Make code unconditional.
1629 [!__ASSUME_32BITUIDS]: Remove conditional code.
1630 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1631 <kernel-features.h>.
1632 [__ASSUME_32BITUIDS]: Make code unconditional.
1633 [!__ASSUME_32BITUIDS]: Remove conditional code.
1634 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1635 <kernel-features.h>.
1636 [__ASSUME_32BITUIDS]: Make code unconditional.
1637 [!__ASSUME_32BITUIDS]: Remove conditional code.
1638 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1639 <kernel-features.h>.
1640 [__ASSUME_32BITUIDS]: Make code unconditional.
1641 [!__ASSUME_32BITUIDS]: Remove conditional code.
1642 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1643 <kernel-features.h>.
1644 [__ASSUME_32BITUIDS]: Make code unconditional.
1645 [!__ASSUME_32BITUIDS]: Remove conditional code.
1646 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1647 <kernel-features.h>.
1648 [__ASSUME_32BITUIDS]: Make code unconditional.
1649 [!__ASSUME_32BITUIDS]: Remove conditional code.
1650 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1651 <kernel-features.h>.
1652 [__NR_setresgid] (__setresgid): Do not declare.
1653 [__ASSUME_32BITUIDS]: Make code unconditional.
1654 [!__ASSUME_32BITUIDS]: Remove conditional code.
1655 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1656 <kernel-features.h>.
1657 [__NR_setresuid] (__setresuid): Do not declare.
1658 [__ASSUME_32BITUIDS]: Make code unconditional.
1659 [!__ASSUME_32BITUIDS]: Remove conditional code.
1660 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
1677 <kernel-features.h>.
1678 [__ASSUME_32BITUIDS]: Make code unconditional.
1679 [!__ASSUME_32BITUIDS]: Remove conditional code.
1680 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1681 <kernel-features.h>.
1682 [__ASSUME_32BITUIDS]: Make code unconditional.
1683 [!__ASSUME_32BITUIDS]: Remove conditional code.
1684 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1685 <kernel-features.h>.
1686 [__ASSUME_32BITUIDS]: Make code unconditional.
1687 [!__ASSUME_32BITUIDS]: Remove conditional code.
1688 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1689 <kernel-features.h>.
1690 [__ASSUME_32BITUIDS]: Make code unconditional.
1691 [!__ASSUME_32BITUIDS]: Remove conditional code.
1692 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1693 <kernel-features.h>.
1694 [__ASSUME_32BITUIDS]: Make code unconditional.
1695 [!__ASSUME_32BITUIDS]: Remove conditional code.
1696 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1697 <kernel-features.h>.
1698 [__ASSUME_32BITUIDS]: Make code unconditional.
1699 [!__ASSUME_32BITUIDS]: Remove conditional code.
1700 * sysdeps/unix/sysv/linux/kernel-features.h
1701 (__ASSUME_SETRESUID_SYSCALL): Remove.
1702 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1703 (__ASSUME_32BITUIDS): Likewise.
1704 (__ASSUME_LDT_WORKS): Likewise.
1705 (__ASSUME_O_DIRECTORY): Likewise.
1706 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1707 architecture but not kernel version.
1708 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1709 (__ASSUME_MMAP2_SYSCALL): Likewise.
1710 (__ASSUME_STAT64_SYSCALL): Likewise.
1711 (__ASSUME_IPC64): Likewise.
1712 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1713 <kernel-features.h>.
1714 [__ASSUME_32BITUIDS]: Make code unconditional.
1715 [!__ASSUME_32BITUIDS]: Remove conditional code.
1716 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1717 <kernel-features.h>.
1718 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1719 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1720 132096]: Remove conditional code.
1721 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1722 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1723 <kernel-features.h>.
1724 [__ASSUME_32BITUIDS]: Make code unconditional.
1725 [!__ASSUME_32BITUIDS]: Remove conditional code.
1726 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1727 <kernel-features.h>.
1728 [__ASSUME_32BITUIDS]: Make code unconditional.
1729 [!__ASSUME_32BITUIDS]: Remove conditional code.
1730 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1731 <kernel-features.h>.
1732 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1733 unconditional.
1734 (__setresgid): Do not declare.
1735 [__ASSUME_32BITUIDS]: Make code unconditional.
1736 [!__ASSUME_32BITUIDS]: Remove conditional code.
1737 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1738 <kernel-features.h>.
1739 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1740 unconditional.
1741 (__setresuid): Do not declare.
1742 [__ASSUME_32BITUIDS]: Make code unconditional.
1743 [!__ASSUME_32BITUIDS]: Remove conditional code.
1744 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1745 <kernel-features.h>.
1746 [__ASSUME_32BITUIDS]: Make code unconditional.
1747 [!__ASSUME_32BITUIDS]: Remove conditional code.
1748 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1749 <kernel-features.h>.
1750 [__ASSUME_32BITUIDS]: Make code unconditional.
1751 [!__ASSUME_32BITUIDS]: Remove conditional code.
1752
a386f1cc
RH
17532012-05-25 Richard Henderson <rth@twiddle.net>
1754
1755 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1756 dl_hwcap to ifunc resolver.
1757 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1758 elf_ifunc_invoke.
1759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1760 dl_hwcap to ifunc resolver.
1761 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1762
b6550497
JM
17632012-05-24 Joseph Myers <joseph@codesourcery.com>
1764
1765 [BZ #14153]
1766 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1767 for |x| <= 2**-26, not 2**-57.
1768 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1769 exception.
1770
b0bc23a1
JL
17712012-05-24 Jeff Law <law@redhat.com>
1772
1773 * stdio-common/Makefile (tests): Add bug25.
1774 * stdio-common/bug25.c: New test.
1775
347c92e9
L
17762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1777
1778 [BZ #13576]
1779 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1780 multiple of MALLOC_ALIGNMENT in size.
1781 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1782
6bcc8b3f
JM
17832012-05-24 Joseph Myers <joseph@codesourcery.com>
1784
1785 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1786 Require >= 256.
1787 (FILENAME_MAX): Use macro-int-constant.
1788 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1789 (_IOFBF): Use macro-int-constant.
1790 (_IOLBF): Likewise.
1791 (_IONBF): Likewise.
1792 (SEEK_CUR): Likewise.
1793 (SEEK_END): Likewise.
1794 (SEEK_SET): Likewise.
1795 (TMP_MAX): Likewise.
1796 (EOF): Use macro-int-constant. Require < 0.
1797 (NULL): Use macro-constant. Require == 0.
1798 (stdin): Require type to be FILE *.
1799 (stdout): Likewise.
1800 (stderr): Likewise.
1801 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1802 macro-int-constant.
1803 (EXIT_SUCCESS): Likewise.
1804 (NULL): Use macro-constant. Require == 0.
1805 (RAND_MAX): Use macro-int-constant.
1806 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1807 [C99-based standards] (strtof): Require function.
1808 [C99-based standards] (strtold): Likewise.
1809 [C99-based standards] (strtoll): Likewise.
1810 [C99-based standards] (strtoull): Likewise.
1811 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1812 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1813 [ISO || ISO99 || ISO11] (math.h): Likewise.
1814 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1815 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1817
d18ea0c5
AS
18182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1819
1820 [BZ #14132]
56d25bb8
AS
1821 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1822 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1823 * intl/dgettext.c (DCGETTEXT): Likewise.
1824 * intl/gettext.c (DCGETTEXT): Likewise.
1825 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1826 * posix/regex_internal.h (gettext): Likewise.
1827 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1828 Remove declaration.
1829 * include/argz.h (__argz_count_internal)
1830 (__argz_stringify_internal): Remove declaration.
1831 (__argz_count, __argz_stringify): Declare hidden proto.
1832 * intl/dcgettext.c: Remove use of INTDEF.
1833 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1834 * string/argz-stringify.c: Likewise.
1835 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1836 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1837 Declare hidden proto.
d18ea0c5
AS
1838 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1839 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1840 Declare hidden proto.
1841 * include/stdio.h (__asprintf_internal): Don't declare.
1842 (__asprintf): Don't define as macro. Declare hidden proto.
1843 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1844 (__fsetlocking): Declare hidden proto.
1845 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1846 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1847 hidden proto.
1848 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1849 (_IO_setlinebuf): Remove use of INTUSE.
1850 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1851 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1852 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1853 Remove declaration.
1854 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1855 (_IO_do_flush): Remove use of INTUSE.
1856 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1857 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1858 (_IO_adjust_column, _IO_least_wmarker)
1859 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1860 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1861 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1862 (_IO_default_doallocate, _IO_wdefault_doallocate)
1863 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1864 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1865 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1866 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1867 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1868 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1869 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1870 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1871 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1872 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1873 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1874 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1875 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1876 proto.
1877 (_IO_flush_all_internal, _IO_adjust_column_internal)
1878 (_IO_default_uflow_internal, _IO_default_finish_internal)
1879 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1880 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1881 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1882 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1883 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1884 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1885 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1886 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1887 (_IO_file_close_internal, _IO_file_close_it_internal)
1888 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1889 (_IO_file_init_internal, _IO_file_attach_internal)
1890 (_IO_file_fopen_internal, _IO_file_read_internal)
1891 (_IO_file_sync_internal, _IO_file_seek_internal)
1892 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1893 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1894 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1895 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1896 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1897 (_IO_list_all_internal, _IO_link_in_internal)
1898 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1899 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1900 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1901 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1902 (_IO_do_write_internal, _IO_padn_internal)
1903 (_IO_getline_info_internal, _IO_getline_internal)
1904 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1905 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1906 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1907 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1908 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1909 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1910 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1911 with libc_hidden_ver, remove use of INTUSE.
1912 * libio/genops.c: Likewise.
1913 * libio/freopen.c: Likewise.
1914 * libio/freopen64.c: Likewise.
1915 * libio/iofclose.c: Likewise.
1916 * libio/iofdopen.c: Likewise.
1917 * libio/iofflush.c: Likewise.
1918 * libio/iofflush_u.c: Likewise.
1919 * libio/iofgets.c: Likewise.
1920 * libio/iofgets_u.c: Likewise.
1921 * libio/iofopen.c: Likewise.
1922 * libio/iofopncook.c: Likewise.
1923 * libio/iofread.c: Likewise.
1924 * libio/iofread_u.c: Likewise.
1925 * libio/ioftell.c: Likewise.
1926 * libio/iofwrite.c: Likewise.
1927 * libio/iogetline.c: Likewise.
1928 * libio/iogets.c: Likewise.
1929 * libio/iogetwline.c: Likewise.
1930 * libio/iopadn.c: Likewise.
1931 * libio/iopopen.c: Likewise.
1932 * libio/ioseekoff.c: Likewise.
1933 * libio/ioseekpos.c: Likewise.
1934 * libio/iosetbuffer.c: Likewise.
1935 * libio/iosetvbuf.c: Likewise.
1936 * libio/ioungetc.c: Likewise.
1937 * libio/ioungetwc.c: Likewise.
1938 * libio/iovdprintf.c: Likewise.
1939 * libio/iovsprintf.c: Likewise.
1940 * libio/iovsscanf.c: Likewise.
1941 * libio/memstream.c: Likewise.
1942 * libio/obprintf.c: Likewise.
1943 * libio/oldfileops.c: Likewise.
1944 * libio/oldiofclose.c: Likewise.
1945 * libio/oldiofdopen.c: Likewise.
1946 * libio/oldiofopen.c: Likewise.
1947 * libio/oldiopopen.c: Likewise.
1948 * libio/oldstdfiles.c: Likewise.
1949 * libio/putc.c: Likewise.
1950 * libio/setbuf.c: Likewise.
1951 * libio/setlinebuf.c: Likewise.
1952 * libio/stdfiles.c: Likewise.
1953 * libio/strops.c: Likewise.
1954 * libio/vasprintf.c: Likewise.
1955 * libio/vscanf.c: Likewise.
1956 * libio/vsnprintf.c: Likewise.
1957 * libio/vswprintf.c: Likewise.
1958 * libio/wfiledoalloc.c: Likewise.
1959 * libio/wfileops.c: Likewise.
1960 * libio/wgenops.c: Likewise.
1961 * libio/wmemstream.c: Likewise.
1962 * libio/wstrops.c: Likewise.
1963 * libio/__fpurge.c: Likewise.
1964 * libio/__fsetlocking.c: Likewise.
1965 * assert/assert.c: Likewise.
1966 * debug/fgets_chk.c: Likewise.
1967 * debug/fgets_u_chk.c: Likewise.
1968 * debug/fread_chk.c: Likewise.
1969 * debug/fread_u_chk.c: Likewise.
1970 * debug/gets_chk.c: Likewise.
1971 * debug/obprintf_chk.c: Likewise.
1972 * debug/vasprintf_chk.c: Likewise.
1973 * debug/vdprintf_chk.c: Likewise.
1974 * debug/vsnprintf_chk.c: Likewise.
1975 * debug/vsprintf_chk.c: Likewise.
1976 * malloc/mtrace.c: Likewise.
1977 * misc/error.c: Likewise.
1978 * misc/syslog.c: Likewise.
1979 * stdio-common/asprintf.c: Likewise.
1980 * stdio-common/fxprintf.c: Likewise.
1981 * stdio-common/getw.c: Likewise.
1982 * stdio-common/isoc99_fscanf.c: Likewise.
1983 * stdio-common/isoc99_scanf.c: Likewise.
1984 * stdio-common/isoc99_vfscanf.c: Likewise.
1985 * stdio-common/isoc99_vscanf.c: Likewise.
1986 * stdio-common/isoc99_vsscanf.c: Likewise.
1987 * stdio-common/printf-prs.c: Likewise.
1988 * stdio-common/printf_fp.c: Likewise.
1989 * stdio-common/printf_fphex.c: Likewise.
1990 * stdio-common/printf_size.c: Likewise.
1991 * stdio-common/putw.c: Likewise.
1992 * stdio-common/scanf.c: Likewise.
1993 * stdio-common/sprintf.c: Likewise.
1994 * stdio-common/tmpfile.c: Likewise.
1995 * stdio-common/vfprintf.c: Likewise.
1996 * stdio-common/vfscanf.c: Likewise.
1997 * stdlib/strfmon_l.c: Likewise.
1998 * sunrpc/openchild.c: Likewise.
1999 * sunrpc/xdr_stdio.c: Likewise.
2000 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2001 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2002
d6c33fda
RM
20032012-05-24 Roland McGrath <roland@hack.frob.com>
2004
c1487492
RM
2005 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2006
2007 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2008 in the third column, to generate for the shared library an IFUNC
2009 that uses _dl_vdso_vsym.
2010 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2011 * Makeconfig (object-suffixes-noshared): New variable.
2012
2013 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2014 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2015 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2016 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2017
d6c33fda
RM
2018 [BZ #14132]
2019 * include/sys/time.h (__gettimeofday): Remove macro.
2020 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2021 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2022 Remove INTDEF.
2023 (__gettimeofday): Add libc_hidden_def.
2024 (gettimeofday): Add libc_hidden_weak.
2025 * sysdeps/mach/gettimeofday.c: Likewise.
2026 * sysdeps/posix/gettimeofday.c: Likewise.
2027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2028 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2030 (__gettimeofday_internal): Remove strong_alias.
2031 (__gettimeofday): Add libc_hidden_def.
2032 (gettimeofday): Add libc_hidden_weak.
2033 * sysdeps/unix/syscalls.list (gettimeofday):
2034 Remove __gettimeofday_internal alias.
2035
b5a2bbe6
L
20362012-05-24 Daniel Jacobowitz <drow@false.org>
2037 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 [BZ #12495]
2040 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2041 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2042 (largebin_index_32_big): New.
2043 (largebin_index): Use it for 16-byte alignment.
2044 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2045 correction with front_misalign.
2046
cfba4fda
L
20472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2048
7f907421
L
2049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2051 Likewise.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2053 Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2057 Likewise.
2058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2059 Likewise.
2060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2063 Likewise.
2064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2065 Likewise.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2067 Likewise.
2068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2069 Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2071 Likewise.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2073 Likewise.
2074
cfba4fda
L
2075 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2076 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2077
80bad0cc
JM
20782012-05-24 Joseph Myers <joseph@codesourcery.com>
2079
7a25eb06
JM
2080 [BZ #10846]
2081 [BZ #14036]
2082 * math/libm-test.inc (exp_test): Add test from bug 14036.
2083 (pow_test): Add test from bug 10846.
2084
795405f9
JM
2085 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2086 and other flags.
2087 (special_function): Do not include flags in test name.
2088 (parse_args): Likewise.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2091 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2092 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2094
80bad0cc
JM
2095 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2096 exceptions.
2097 * math/libm-test.inc ("Philosophy"): Update comment about
2098 exception testing.
2099 (UNDERFLOW_EXCEPTION): New macro.
2100 (UNDERFLOW_EXCEPTION_OK): Likewise.
2101 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2102 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2103 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2104 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2105 (INVALID_EXCEPTION_OK): Update value.
2106 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2107 (OVERFLOW_EXCEPTION_OK): Likewise.
2108 (IGNORE_ZERO_INF_SIGN): Likewise.
2109 (test_exceptions): Handle underflow exceptions.
2110 (acos_test): Update for underflow exception expectations.
2111 (cexp_test): Likewise.
2112 (clog_test): Likewise.
2113 (clog10_test): Likewise.
2114 (csqrt_test): Likewise.
2115 (ctan_test): Likewise.
2116 (ctanh_test): Likewise.
2117 (exp_test): Likewise.
2118 (exp10_test): Likewise.
2119 (exp2_test): Likewise.
2120 (expm1_test): Likewise.
2121 (fma_test): Likewise.
2122 (j0_test): Likewise.
2123 (jn_test): Likewise.
2124 (nexttoward_test): Likewise.
2125 (pow_test): Likewise.
2126 (scalbn_test): Likewise.
2127 (scalbln_test): Likewise.
2128 (tan_test): Likewise.
2129 (y1_test): Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
9e0e3d0b
DM
21332012-05-23 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2136 (__libc_sigaction): Remove unused local variables.
2137
ccd0a08f
L
21382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2141
62bdf9a6
PE
21422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2143
f8591f80
PE
2144 mktime: avoid signed integer overflow
2145 * time/mktime.c (__mktime_internal): Do not mishandle the case
2146 where diff == INT_MIN.
2147
94c7d826
PE
2148 mktime: simplify computation of average
2149 * time/mktime.c (ranged_convert): Use new time_t_avg function
2150 instead of rolling our own (probably-slower) code.
2151
ce73d683
PE
2152 mktime: do not assume signed right shift propagates sign bit
2153 * time/mktime.c (isdst_differ): New static function.
2154 (__mktime_internal): No need to normalize tm_isdst now.
2155 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2156 tm_isdst values.
2157
72a22e59
PE
2158 mktime: merge another wrapv change from gnulib
2159 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2160 from some compilers.
2161
68605433
PE
2162 mktime: remove incorrect attempt at unusual arithmetics
2163 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2164 The code didn't really work on such machines anyway.
2165 (TYPE_MINIMUM): Assume two's complement.
2166 (twos_complement_arithmetic): Verify that long_int and time_t
2167 are two's complement (or unsigned, in the latter case).
2168
03cf7fe3
PE
2169 mktime: check signed shifts on long_int and time_t, too
2170 * time/mktime.c (SHR): Check that shifts work as desired
2171 on the types long_int and time_t too, as SHR is used on
2172 such types.
2173
f04dfbc2
PE
2174 mktime: do not assume 'long' is wide enough
2175 * time/mktime.c (verify): Move decl up.
2176 (long_int): New type.
2177 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2178 to remove assumption in the code that 'long' is wide enough to
2179 store year values. This assumption is not true on x32 and on
2180 some non-glibc platforms.
2181
62bdf9a6
PE
2182 mktime: merge wrapv change from gnulib
2183 * time/mktime.c (WRAPV): New macro.
2184 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2185 (guess_time_tm, __mktime_internal): Do not assume that signed
2186 integer overflow wraps around; modern compilers generate code
2187 where this assumption is no longer valid.
2188
5e292e4f
L
21892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2192 Replace "jmp L(pseudo_end)" with "ret".
2193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2194 Likewise.
2195
8caf8c87
AJ
21962012-05-23 Andreas Jaeger <aj@suse.de>
2197
2198 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2199 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2200
1a09dc56
AJ
22012012-05-23 Andreas Jaeger <aj@suse.de>
2202 Maximilian Attems <max@stro.at>
2203
2204 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2205 New macros.
2206
1c87aba0
L
22072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2208
2209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2210 code so that pseudo_end is just ret and the stack pointer is
2211 correct also for static library in error case.
2212
40e45bd5
JM
22132012-05-23 Joseph Myers <joseph@codesourcery.com>
2214
c2670533
JM
2215 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2216 move to syscalls.list.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2221
40e45bd5
JM
2222 * manual/install.texi (Running make install): Do not mention Linux
2223 kernel version for which pt_chown is not needed.
2224 (Linux): Do not mention problems with nscd with 2.0 kernels.
2225 * INSTALL: Regenerated.
2226
be08eda5
AJ
22272012-05-23 Andreas Jaeger <aj@suse.de>
2228
2229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2230 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2231 macro.
2232 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2234 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2236 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2242 * sysdeps/unix/sysv/linux/bits/in.h
2243 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2244
a6a056bb
RM
22452012-05-22 Roland McGrath <roland@hack.frob.com>
2246
2247 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2248 (PREPARE_VERSION): Just use assert instead, it will be elided
2249 under [NDEBUG] anyway.
2250
c9009328
L
22512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/unix/sysv/linux/Makefile: Include
2254 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2255 (sysdep_routines): Remove sysctl.
c9009328
L
2256 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2257 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2260 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2261
73338355
AJ
22622012-05-22 Andreas Jaeger <aj@suse.de>
2263
2264 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2265 that pseudo_end is just ret and the stack pointer is correct also
2266 for static library in error case.
2267
d44638b0
PP
22682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2269
2270 [BZ #14122]
2271 * nss/nsswitch.c (defconfig_entries): New variable.
2272 (__nss_database_lookup): Don't leak defconfig entries.
2273 (nss_parse_service_list): Don't leak on error paths.
2274 (free_database_entries): New function.
2275 (free_defconfig): New function.
2276 (free_mem): Move common code to free_database_entries.
2277
31a39bd8
L
22782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2279
da0331a8
L
2280 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2281 Add arch_prctl.
2282 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2283
31a39bd8
L
2284 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2285 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2287 New macro.
2288 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2289 (INTERNAL_SYSCALL_TYPES): Likewise.
2290 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2291 (LOAD_REGS_TYPES_[1-6]): Likewise.
2292 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2293 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2294
45470df3
AZ
22952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296
2297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2298 copysignl for GLIBC_2_0.
2299 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2300 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2302 logbl for GLIBC_2_0.
2303 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2305
98a61bcb
L
23062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2307
a4f6e481
L
2308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2309 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2310
f63d5db6
L
2311 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2312 Use "neg %eax".
2313
98a61bcb
L
2314 * time/mktime.c: Update copyright years.
2315
95770f14
PE
23162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2317
6226efbd
PE
2318 mktime: merge comment-quoting-style change from gnulib
2319 * time/mktime.c: Quote 'like this' in comments.
2320 The GNU coding standards suggest that we no longer quote `like this',
2321 as "`" and "'" are typically rendered asymmetrically nowadays.
2322 The typical gnulib style is to quote 'like this' when quoting
2323 code, and "like this" when quoting English.
2324
b99e4f78
PE
2325 * time/mktime.c (compile-command): Add "-I.".
2326
643e01e6
PE
2327 mktime: merge mktime-internal.h change from gnulib
2328 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2329
2554247d
PE
2330 mktime: merge time_r change from gnulib
2331 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2332
826dd0ab
PE
2333 mktime: merge DEBUG change from gnulib
2334 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2335 case system <time.h> has a #define.
2336
bd83aabe
PE
2337 mktime: merge <sys/types.h> change from gnulib
2338 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2339 since <time.t> is now guaranteed to define time_t.
2340
95770f14
PE
2341 mktime: merge HAVE_CONFIG_H change from gnulib
2342 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2343
5e1a27a9
L
23442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2345
0e44a77e
L
2346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2347 Use "neg %eax".
2348
5e1a27a9
L
2349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2350 __rlim_t cast.
2351 (struct rusage): Use anonymous union to pad each field to
2352 __syscall_slong_t.
2353
46259bec
DM
23542012-05-21 David S. Miller <davem@davemloft.net>
2355
2356 * Makefules (o-iterator): Remove .s cases.
2357 (compile-command.s): Delete.
2358 (COMPILE.s): Delete.
2359 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2360
59f0c22e
JM
23612012-05-21 Joseph Myers <joseph@codesourcery.com>
2362
2363 * configure.in (libc_cv_predef_stack_protector): Only consider
2364 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2365 * configure: Regenerated.
2366
20c07380
L
23672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2368
bbb3154b
L
2369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2370 New macro. Use R*LP on int and pointer.
2371 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2372 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2374 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2375
20c07380
L
2376 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2377 [__WORDSIZE_TIME64_COMPAT32] instead of
2378 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2379 (struct utmp): Likewise.
2380 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2381 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2382 Renamed to ...
2383 (__WORDSIZE_TIME64_COMPAT32): This.
2384 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2385 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2386 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2387 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2389 (__WORDSIZE_TIME64_COMPAT32): New macro.
2390
d8d1017e
AJ
23912012-05-21 Andreas Jaeger <aj@suse.de>
2392
2393 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2394 only if [SHARED]. Add prototype for __wcschr_ia32.
2395
6c7fb145
RM
23962012-05-21 Roland McGrath <roland@hack.frob.com>
2397
2398 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2399 of %rbp unmolested in the jmp_buf while mangling the low bits.
2400 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2401 unmolested high bits of %rbp while demangling the low bits.
2402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2403
66274218
AJ
24042012-05-21 Andreas Jaeger <aj@suse.de>
2405
07c58f8f
AJ
2406 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2407 * sunrpc/svc_simple.c: Use it for registerrpc.
2408 * sunrpc/xcrypt.c: Use it for passwd2des.
2409
66274218
AJ
2410 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2411
61f65140
L
24122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2413
2414 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2415 Don't define if [__SYSCALL_WORDSIZE != 32].
2416 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2417 New macro.
2418
5fefb436
AJ
24192012-05-21 Bruno Haible <bruno@clisp.org>
2420 Andreas Jaeger <aj@suse.de>
2421
2422 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2423 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2424 inptr and inend for must_buffer_ch.
2425 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2426 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2427 * stdio-common/Makefile (tests): Remove bug15.
2428 (bug15-ENV): Remove macro.
2429 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2430 anymore.
2431
d8e272ab
AJ
24322012-05-19 Andreas Jaeger <aj@suse.de>
2433 Roland McGrath <roland@hack.frob.com>
2434
2435 * manual/contrib.texi: Completely rewritten. It contains now an
2436 alphabetical list of contributors and their contributions.
2437
4a56a162
RH
24382012-05-21 Richard Henderson <rth@twiddle.net>
2439
2440 * misc/getauxval.c (__getauxval): Use unsigned long int.
2441 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2442 (getauxval): Use unsigned long int.
2443
d024d23c
L
24442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2447
cbc00a03
RM
24482012-05-21 Roland McGrath <roland@hack.frob.com>
2449
2450 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2451 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2452 __alignof__ (long double).
2453
478143fa
AZ
24542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2455
2456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2457
c7683a6d
RH
24582012-05-20 Richard Henderson <rth@twiddle.net>
2459
2460 * misc/getauxval.c: New file.
2461 * misc/sys/auxv.h: New file.
2462 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2463 (routines): Add getauxval.
2464 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2465 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2466 * elf/dl-sysdep.c (_dl_auxv): Remove.
2467 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2468 * elf/dl-support.c (_dl_auxv): New variable.
2469 (_dl_aux_init): Initialize it.
2470 * manual/startup.texi (Auxiliary Vector): New node.
2471 * sysdeps/generic/bits/hwcap.h: New file.
2472 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2473 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2474 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2475 * sysdeps/sparc/sysdep.h: ... here. Include it.
2476 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2477 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2479 Update.
c7683a6d
RH
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2488
a6f1845d
AZ
24892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490
2491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2492
cbcbe830
DM
24932012-05-19 David S. Miller <davem@davemloft.net>
2494
2495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2496
e0b16cc2
JM
24972012-05-19 Joseph Myers <joseph@codesourcery.com>
2498
2499 [BZ #14123]
2500 * math/s_ccosh.c: Include <float.h>
2501 (__ccosh): Avoid internal overflow calculating sinh and cosh
2502 values before multiplying by sin and cos values.
2503 * math/s_ccoshf.c: Likewise.
2504 * math/s_ccoshl.c: Likewise.
2505 * math/s_csin.c: Likewise.
2506 * math/s_csinf.c: Likewise.
2507 * math/s_csinl.c: Likewise.
2508 * math/s_csinh.c: Likewise.
2509 * math/s_csinhf.c: Likewise.
2510 * math/s_csinhl.c: Likewise.
2511 * math/libm-test.inc (ccos_test): Add more tests.
2512 (ccosh_test): Likewise.
2513 (csin_test): Likewise.
2514 (csinh_test): Likewise.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517
6ad13e08
L
25182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2519
f66f0ce8
L
2520 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2521 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2522
6ad13e08
L
2523 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2524
b1d072a7
JM
25252012-05-19 Joseph Myers <joseph@codesourcery.com>
2526
2527 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2528 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2529 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2530 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2531 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2532 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2533 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2534 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2535 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2536 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2537 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2538 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2539 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2540 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2541 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2542 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2543 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2544 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2545 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2546 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2547 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2548 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2549 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2550 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2551 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2552 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2553 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2554 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2555 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2556 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2557 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2558
9eae47cb
AJ
25592012-05-18 Andreas Jaeger <aj@suse.de>
2560
2561 * csu/.gitignore: Delete.
2562
bb07f69f
L
25632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2564
2565 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2566 (timex): Use __syscall_slong_t.
2567
e6bdb741
AJ
25682012-05-18 Andreas Jaeger <aj@suse.de>
2569 Carlos O'Donell <carlos_odonell@mentor.com>
2570
2571 * manual/install.texi (Configuring and compiling): Update
2572 description about files modified in the source directory.
d6c33fda 2573 * INSTALL: Regenerated.
e6bdb741 2574
1b74487e
L
25752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2576
2577 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2578 value. Use "or" to set return value to -1.
2579 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2580 negate return value.
2581
a88b64b9
TMQMF
25822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2583
2584 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2585 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2586 failure if the compiler has Graphite support disabled.
2587 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2588 Likewise.
2589 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2590 CFLAGS-memmove.c): Likewise.
2591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2592 Likewise.
2593
3707636e
L
25942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2595
610b8622
L
2596 * sysdeps/x86_64/x32/_itoa.h: New file.
2597
7cd195df
L
2598 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2599 getdents system call only if kernel and user dirents have the
2600 same d_ino and d_off.
2601
94b07d20
L
2602 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2603 LLONG_MAX != LONG_MAX.
2604 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2605 (_fitoa_word): Likewise.
2606
18298070
L
2607 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2608 years.
2609 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2610 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2612
553c7ea4
L
2613 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2614 include <bits/wordsize.h>. Check __x86_64__ instead of
2615 __WORDSIZE.
2616 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2617 if __x86_64__ is defined. Use anonymous union on fpstate.
2618
3707636e
L
2619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2620 anonymous union.
2621
b53ef01a
AS
26222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2623
37fb1dc0
AS
2624 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2625 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2626 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2627 Refer to _rtld_local_ro instead of _rtld_global_ro.
2628 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2629 Likewise.
2630 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2631 Likewise.
2632 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2633 Likewise.
2634 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2635 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2636 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2637
b53ef01a
AS
2638 * sysdeps/powerpc/powerpc32/dl-machine.c
2639 (__elf_machine_runtime_setup) [PROF]: Don't reference
2640 _dl_prof_resolve.
2641
7a185db2
AJ
26422012-05-18 Andreas Jaeger <aj@suse.de>
2643
2644 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2645 function only available for GCCs before 3.4 since GCC 3.4
2646 introduced a builtin.
2647 (lrint): Likewise.
2648 (llrintf): Likewise.
2649 (llrint): Likewise.
2650 (fmaxf): Likewise.
2651 (fmax): Likewise.
2652 (fminf): Likewise.
2653 (fmin): Likewise.
2654 (rint): Likewise.
2655 (rintf): Likewise.
2656 (nearbyint): Likewise.
2657 (nearbyintf): Likewise.
2658 (ceil): Likewise.
2659 (ceilf): Likewise.
2660 (floor): Likewise.
2661 (floorf): Likewise.
2662
3e5aef87
L
26632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2664
428bd707
L
2665 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2666 on both fields and cast pointer to __syscall_ulong_t.
2667
3e5aef87
L
2668 * bits/types.h (__fsword_t): New type.
2669 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2670 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2672 (__FSWORD_T_TYPE): Likewise.
2673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2674 (__FSWORD_T_TYPE): Likewise.
2675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2676 (__FSWORD_T_TYPE): Likewise.
2677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2678 (__FSWORD_T_TYPE): Likewise.
2679 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2680 __SWORD_TYPE with __fsword_t.
2681 (statfs64): Likewise.
2682
1ba7c3dc
DM
26832012-05-17 David S. Miller <davem@davemloft.net>
2684
2685 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2686
59910343
AJ
26872012-05-17 Andreas Jaeger <aj@suse.de>
2688
2689 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2690 warning.
2691
2e4c1e9e
L
26922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2693
2694 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2695
de7f5ce7
AJ
26962012-05-17 Andreas Jaeger <aj@suse.de>
2697
2698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2699 when it is used.
2700
286abc3d
CM
27012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2702
2703 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2704
477cc68e
L
27052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2708 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2709
1a0994f5
CD
27102012-05-17 Andreas Jaeger <aj@suse.de>
2711 Carlos O'Donell <carlos_odonell@mentor.com>
2712
2713 [BZ #14059]
2714 * sysdeps/x86_64/multiarch/init-arch.h
2715 (bit_YMM_Usable): Rename to...
2716 (bit_AVX_Usable): ... this.
2717 (bit_FMA4_Usable): New macro.
2718 (bit_XMM_state): New macro.
2719 (bit_YMM_state): New macro.
2720 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2721 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2722 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2723 (CPUID_OSXSAVE): New macro.
2724 (CPUID_AVX): New macro.
2725 (CPUID_FMA4): New macro.
2726 (index_YMM_Usable): Rename to...
2727 (index_AVX_Usable): ... this.
2728 (HAS_AVX): Use HAS_ARCH_FEATURE.
2729 (HAS_FMA4): Likewise.
2730 (HAS_YMM_USABLE): Remove.
2731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2732 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2733 are present.
2734 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2735 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2736 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2737 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2738 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2739
0af797de
CM
27402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2741
2742 * math/libm-test.c: Support platforms without multiple rounding modes.
2743 * math/bug-nextafter.c: Support platforms without FP exceptions.
2744 * math/bug-nexttoward.c: Likewise.
2745 * math/test-fenv.c: Likewise.
2746 * math/test-misc.c: Likewise.
2747 * stdlib/bug-getcontext.c: Likewise.
2748
e39745ff
AJ
27492012-05-17 Andreas Jaeger <aj@suse.de>
2750
2751 * manual/examples/search.c (critter_cmp): Change signature to
2752 avoid warnings.
2753 * manual/string.texi (Collation Functions): Likewise.
2754
48970aba
L
27552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * bits/types.h: Fold copyright years.
2758 * bits/typesizes.h: Likewise.
2759 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2763 * time/time.h: Likewise.
2764
bedee953
PP
27652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2766
2767 [BZ #208]
2768 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2769 in instead of returning them. Return void.
2770 (__libc_mallinfo): Accumulate over all arenas.
2771 (__malloc_stats): Adjust for change in int_mallinfo interface.
2772
61653dfb
RM
27732012-05-16 Roland McGrath <roland@hack.frob.com>
2774
30b99d79
RM
2775 [BZ #10375]
2776 * configure.in (NM): Add AC_CHECK_TOOL for it.
2777 (libc_extra_cflags): New substituted variable.
2778 Check for -fstack-protector being used implicitly.
2779 * configure: Regenerated.
2780 * config.make.in (config-extra-cflags): New variable,
2781 gets @libc_extra_cflags@.
2782 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2783
61653dfb
RM
2784 [BZ #10375]
2785 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2786 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2787 * configure: Regenerated.
2788 * config.make.in (CPPUNDEFS): New substituted variable.
2789 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2790 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2791 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2792
661768bb
L
27932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2796 (mq_attr): Use __syscall_slong_t.
2797
d4261567
L
27982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2799
2800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2801 Check __x86_64__ instead of __WORDSIZE.
2802 (_STAT_VER_LINUX): Likewise.
2803 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2804 __syscall_ulong_t and __syscall_slong_t.
2805 (stat64): Likewise.
2806
cf3ff365
L
28072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2810
76cf3e4d
L
28112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2814
a637753a
L
28152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2816
2817 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2818 __syscall_ulong_t.
2819
d5e05119
L
2820 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2821 include <bits/wordsize.h>. Check __x86_64__ instead of
2822 __WORDSIZE.
2823 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2824 defined.
2825 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2826
f62ee380
L
2827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2828 include <bits/wordsize.h>. Check __x86_64__ instead of
2829 __WORDSIZE.
2830 (user_regs_struct): Use "__extension__ unsigned long long"
2831 instead of "unsigned long" if __x86_64__ is defined.
2832 (user): Likewise. Pad after pointer field if __ILP32__ is
2833 defined.
2834
4e124ced
JM
28352012-05-16 Joseph Myers <joseph@codesourcery.com>
2836
6a3951a0
JM
2837 * configure.in (makeinfo): Require version 4.5 or later. Allow
2838 versions 5 to 9.
2839 * configure: Regenerated.
2840 * manual/install.texi (texinfo): Increase version requirement to
2841 4.5 or later.
2842 * INSTALL: Regenerated.
2843
4e124ced
JM
2844 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2845
953ca31a
L
28462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2849
617aca05
L
2850 * sysdeps/x86_64/x32/ffs.c: New file.
2851
5762f7ae
L
2852 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2853 __syscall_ulong_t.
2854 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2855 defined. Use __syscall_ulong_t.
2856 (shminfo): Use __syscall_ulong_t.
2857 (shm_info): Likewise.
2858
a26b6856
L
2859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2860 __syscall_ulong_t.
2861
cb2b9ef7
L
2862 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2863 <bits/wordsize.h>.
2864 (msgqnum_t): Use __syscall_ulong_t.
2865 (msglen_t): Likewise.
2866 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2867 __syscall_ulong_t.
2868
34683bb0
L
2869 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2870 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2871
84a68786
L
2872 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2873
48baa5f1
L
2874 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2875 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2876
180be88b
L
2877 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2878 __syscall_slong_t.
2879
5e90c8ad
L
2880 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2881 include <bits/wordsize.h>. Check __x86_64__ instead of
2882 __WORDSIZE.
2883
23dfb58b
L
2884 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2885 "unsigned long long int" if __x86_64__ is defined.
2886 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2887
ce5d54b0
L
2888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2889 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2890 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2891
13dc9eac
L
2892 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2893 <stdint.h>.
2894 (GET_PC): Cast to uintptr_t first.
2895 (GET_FRAME): Likewise.
2896 (GET_STACK): Likewise.
2897
a7895d15
L
2898 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2904 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2912 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2918 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2927
656416c9
AS
29282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2929
5bd66283
AS
2930 * Makerules (+depfiles): Also collect depfiles from .oS in
2931 $(extra-objs).
2932 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2933 .oS, $(libnldbl-routines)).
2934
656416c9
AS
2935 * Makerules (native-compile-mkdep-flags): Define.
2936 * sunrpc/Makefile (extra-objs): Add $(addprefix
2937 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2938 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2939 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2940 calling $(make-target-directory).
2941
a46f2169
L
29422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 * bits/types.h (__snseconds_t): Removed.
2945 * time/time.h (struct timespec): Replace __snseconds_t with
2946 __syscall_slong_t.
2947 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2948 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2949 Likewise.
2950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2951 (__SNSECONDS_T_TYPE): Likewise.
2952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2953 (__SNSECONDS_T_TYPE): Likewise.
2954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2955 (__SNSECONDS_T_TYPE): Likewise.
2956
6af6528b
L
29572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/mach/hurd/bits/typesizes.h
2960 (__SYSCALL_SLONG_TYPE): New macro.
2961 (__SYSCALL_ULONG_TYPE): Likewise.
2962
de986b56
L
29632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 * bits/types.h (__syscall_slong_t): New type.
2966 (__syscall_ulong_t): Likewise.
2967
2968 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2969 (__SYSCALL_ULONG_TYPE): Likewise.
2970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2971 (__SYSCALL_SLONG_TYPE): Likewise.
2972 (__SYSCALL_ULONG_TYPE): Likewise.
2973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2974 (__SYSCALL_SLONG_TYPE): Likewise.
2975 (__SYSCALL_ULONG_TYPE): Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2977 (__SYSCALL_SLONG_TYPE): Likewise.
2978 (__SYSCALL_ULONG_TYPE): Likewise.
2979
85736dc7
L
29802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2983 Add sigaltstack-offsets.sym.
2984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2985 <sigaltstack-offsets.h>.
2986 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2987 longjmp_msg pointer.
2988 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2989 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2990 signal stack.
2991 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2992
cc03b296
JM
29932012-05-15 Joseph Myers <joseph@codesourcery.com>
2994
a9538892
JM
2995 * elf/stackguard-macros.h: Remove file.
2996 * sysdeps/generic/stackguard-macros.h: New file.
2997 * sysdeps/i386/stackguard-macros.h: Likewise.
2998 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2999 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3000 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3001 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3002 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3003 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3004 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3005 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3006 <elf/stackguard-macros.h>.
3007
cc03b296
JM
3008 [BZ #14109]
3009 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3010 __aligned__ in attribute.
3011 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3012 (gregset_t): Likewise.
3013
93171016
L
30142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3015
3016 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3017 * sysdeps/x86_64/64/Implies-after: Here. New file.
3018 * sysdeps/x86_64/x32/Implies-after: New file.
3019
d86813a0
L
30202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3021
3022 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3023 and access return value for _dl_profile_fixup. Use R10_LP to
3024 load frame size.
3025
2953ec75
L
30262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3029
3b550e9e
L
30302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3031
3032 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3033 * sysdeps/x86_64/x32/sysdep.h: New file.
3034
eda41706
L
30352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3038 * sysdeps/x86_64/setjmp.S: Likewise.
3039
9ea01d93
AZ
30402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3041
3042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3043 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3044 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3045 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3046 remove unused global constant.
3047
02a91938
CM
30482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3049
3050 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3051 include of <not-cancel.h>.
3052
6540185f
RM
30532012-05-15 Roland McGrath <roland@hack.frob.com>
3054
3055 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3056
509072a0
AJ
30572012-05-15 Jeff Law <law@redhat.com>
3058 Andreas Jaeger <aj@suse.de>
3059
3060 [BZ #13594]
3061 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3062 out from...
3063 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3064 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3066 code changing __hst_map_handle.map.
3067
ba75122d
RM
30682012-05-15 Roland McGrath <roland@hack.frob.com>
3069
3070 * configure.in (sysnames): Look for Implies-before and Implies-after
3071 files.
3072 * configure: Regenerated.
3073
890d8bd8
L
30742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3077 8-byte data alignment with LP_SIZE alignment.
3078
f6ee6623
L
30792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3080
3081 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3082 into R10_LP.
3083
ea2626f6
L
30842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3087
085f715e
L
30882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3095
be8498fc
L
30962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3099 (stackinfo_sub_sp): Likewise.
3100
70bc83b9
L
31012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3102
3103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3104 RAX_LP.
3105
9bc0b730
L
31062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3109 into R*_LP.
3110
6d2850e7
L
31112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3112
3113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3114 sizes into R*_LP.
3115
3cb84561
L
31162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3119
54e2ed81
L
31202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3123 into R11_LP and load __x86_64_shared_cache_size_half into
3124 R8_LP.
3125
8a17f349
L
31262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3127
3128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3129 R8_LP.
3130
777b1eea
AZ
31312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3132
3133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3134 logb for POWER7.
3135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3136 logbf for POWER7.
3137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3138 logbl for POWER7.
3139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3140 powerpc32/power7/fpu/s_logb.c via #include.
3141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3142 powerpc32/power7/fpu/s_logbf.c via #include.
3143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3144 powerpc32/power7/fpu/s_logbl.c via #include.
3145
d20d4ac2
JM
31462012-05-15 Joseph Myers <joseph@codesourcery.com>
3147
3148 * README.libm: Remove file.
3149
6cdef1ab
L
31502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3153 count for x32. Use R*_LP and omit operand-size suffix.
3154
0b254d8f
L
31552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3158 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3159 * sysdeps/x86_64/x32/shlib-versions: New file.
3160
ceb809dc
RM
31612012-05-14 Roland McGrath <roland@hack.frob.com>
3162
3163 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3164 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3165 Use _dl_fatal_printf instead.
3166
37f1abd4
JM
31672012-05-14 Joseph Myers <joseph@codesourcery.com>
3168
3169 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3170 set if not set by the user. Do not allow for being unset.
3171 * sysdeps/unix/sysv/linux/configure: Regenerated.
3172
11de3a33
L
31732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3176 the `q' suffix from lea and replace .quad with ASM_ADDR.
3177
e02f153a
L
31782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3179
3180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3181 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3182 instead of $17.
3183 (PTR_DEMANGLE): Likewise.
3184
520ae0fd
L
31852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3186
3187 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3188 (LP_OP): Likewise.
3189 (ASM_ADDR): Likewise.
3190 (RAX_LP): Likewise.
3191 (RBP_LP): Likewise.
3192 (RBX_LP): Likewise.
3193 (RCX_LP): Likewise.
3194 (RDI_LP): Likewise.
3195 (RSI_LP): Likewise.
3196 (RSP_LP): Likewise.
3197 (R8_LP): Likewise.
3198 (R9_LP): Likewise.
3199 (R10_LP): Likewise.
3200 (R10_LP): Likewise.
3201 (R11_LP): Likewise.
3202 (R12_LP): Likewise.
3203 (R13_LP): Likewise.
3204 (R14_LP): Likewise.
3205 (R15_LP): Likewise.
3206
b985be81
L
32072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 * sysdeps/x86_64/x32/dl-machine.h: New file.
3210
6a4888ff
AJ
32112012-05-14 Andreas Jaeger <aj@suse.de>
3212
3213 * manual/Makefile (subdir): Remove export of subdir.
3214 (all): Remove target.
3215 (.PHONY): Remove all from list.
3216 (mkinstalldirs): Remove.
3217 (.PHONY): Remove installdirs from list.
3218 ($(inst_infodir)/libc.info): Use make-target-directory.
3219 (installdirs): Remove.
3220 (subdir_%): Remove.
3221 (glibc-targets): Remove.
3222 (lib): Remove.
3223 (stubs): Remove.
3224 ($(objpfx)stubs ../po/manual.pot): Remove.
3225 ($(objpfx)stamp%): Remove.
3226 (make-target-directory): Remove.
3227 (subdir_install): Remove.
3228 (routines): Remove.
3229 (aux): Remove.
3230 (sources): Remove.
3231 (objects): Remove.
3232 (headers): Remove.
3233
3234 [BZ #13750]
3235 * manual/.gitignore: Remove, it's not needed anymore.
3236 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3237 all files in it.
3238 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3239 directory.
3240 (texis): Renamed to $(objpfx)texis.
3241 (texis-path): New, contains path to generated files.
3242 (chapters.%): Use texis-path for complete path, add extra argument
3243 libc-texinfo.sh.
3244 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3245 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3246 (summary,texi, stamp-summary): Use complete path of
3247 files. Generate files in build dir.
3248 (dir-add.texi): Build in build dir.
3249 (libm-err.texi,stamp-libm-err): Likewise.
3250 (version.texi, stamp-version): Likewise.
3251 (.%c.texi): Likewise.
3252 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3253 (mostlyclean): Remove target.
3254 (realclean): Remove target.
3255 (generated): Add new variable with contents from mostlyclean and
3256 realclean, remove entries duplicated in common-mostlyclean, add
3257 stamp-libm-err and stamp-version.
3258 (generated-dirs): Add libc directory.
3259 ($(inst_infodir)/libc.info): Install files from build dir.
3260
3261 * manual/install.texi (Configuring and compiling): Adjust since
3262 the info files are not part of the tar ball anymore.
3263
7ac77294
AJ
32642012-05-14 Andreas Jaeger <aj@suse.de>
3265
3266 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3267 variable.
3268
ffb7875d
JM
32692012-05-14 Joseph Myers <joseph@codesourcery.com>
3270
3271 [BZ #13717]
3272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3273 to 2.2.0 where earlier.
3274 * sysdeps/unix/sysv/linux/configure: Regenerated.
3275 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3276 Remove conditional code.
3277 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3278 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3279 Remove conditional code.
3280 [!__NR_lchown]: Likewise.
3281 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3282 [__NR_lchown]: Likewise.
3283 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3284 comment referencing __ASSUME_LCHOWN_SYSCALL.
3285 * sysdeps/unix/sysv/linux/i386/sigaction.c
3286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3288 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3289 Remove conditional code.
3290 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3291 (__protocol_available): Remove #if 0 code.
3292 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3293 conditional code.
3294 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3295 * sysdeps/unix/sysv/linux/kernel-features.h
3296 (__ASSUME_GETCWD_SYSCALL): Don't define.
3297 (__ASSUME_REALTIME_SIGNALS): Likewise.
3298 (__ASSUME_PREAD_SYSCALL): Likewise.
3299 (__ASSUME_PWRITE_SYSCALL): Likewise.
3300 (__ASSUME_POLL_SYSCALL): Likewise.
3301 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3302 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3303 non-SPARC.
3304 (__ASSUME_SIOCGIFNAME): Don't define.
3305 (__ASSUME_MSG_NOSIGNAL): Likewise.
3306 (__ASSUME_SENDFILE): Define unconditionally.
3307 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3308 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3309 conditional code.
3310 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3311 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3312 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3313 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3314 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3315 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3316 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3321 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3327 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3333 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3339 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3341 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3342 Remove conditional code.
3343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3344 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3345 Remove conditional code.
3346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3347 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3348 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3349 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3350 Remove conditional code.
3351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3352 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3353 Remove conditional code.
3354 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3355 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3356 Remove conditional code.
3357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3358 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3359 Remove conditional code.
3360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3361 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3362 Remove conditional code.
3363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3364 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3365 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3367 * sysdeps/unix/sysv/linux/sigaction.c
3368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3370 * sysdeps/unix/sysv/linux/sigpending.c
3371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3373 * sysdeps/unix/sysv/linux/sigprocmask.c
3374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3376 * sysdeps/unix/sysv/linux/sigsuspend.c
3377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3380 (__libc_missing_rt_sigs): Remove.
3381 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3382 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3383 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3384 Remove conditional code.
3385 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3386 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3387 return 1.
3388 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3389 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3390 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3391 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3392
1bfb7291
AJ
33932012-05-14 Andreas Jaeger <aj@suse.de>
3394
caae5a81
AJ
3395 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3396 it's not used in glibc.
3397 (__coshm1): Likewise.
3398 (__acosh1p): Likewise.
3399 (__sgn): Likewise.
3400
1bfb7291
AJ
3401 * manual/string.texi (Copying and Concatenation): Add missing
3402 variable in concat example.
3403 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3404
c044d724
L
34052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3406
144c5467 3407 [BZ #14103]
c044d724
L
3408 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3409 __builtin_clzl with __builtin_clzll.
3410
2523c62b
L
34112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 [BZ #14104]
3414 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3415 libc_freeres_ptr.
3416
d7bb4c42
LD
34172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3418
3419 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3420 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3421 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3423
9dc4e1fb
MF
34242012-05-14 Mike Frysinger <vapier@gentoo.org>
3425
3426 * NEWS: Update ia64 info.
3427
c7df0112
AS
34282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3431 used as bcopy.
3432
dc70356c
TS
34332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3434
3435 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3436 * sysdeps/unix/syscalls.list (dup3): Likewise.
3437 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3438 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3439
9fb1a21f
L
34402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3443 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3444
4822a2a5
L
34452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3448 thread pointer.
3449 (TLS_IE): Use mov/add instead of movq/addq to load thread
3450 pointer.
3451 (TLS_GD_PREFIX): New.
3452 (TLS_GD): Use it.
3453
842b81d6
DM
34542012-05-11 David S. Miller <davem@davemloft.net>
3455
3456 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3457 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3458 (_FPU_SETCW): Likewise.
3459
1cf463cd
L
34602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3463 is 32-byte aligned.
3464
60cc4a18
AS
34652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3466
3467 [BZ #11837]
3468 * iconvdata/gb18030.c: Update tables.
3469 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3470 characters specially.
3471 (BODY for TO_LOOP): Add encoding of missing ranges.
3472
febb44a4
TS
34732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3474
3475 [BZ #13673]
3476 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3477 * sysdeps/mach/hurd/dup3.c: Likewise.
3478 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3479 * sysdeps/powerpc/memmove.c:: Likewise.
3480
0a10fb9e
L
34812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3484 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3485
df8a552f
L
34862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * elf/elf.h (R_X86_64_RELATIVE64): New.
3489 (R_X86_64_NUM): Updated.
3490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3491 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3492 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3493 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3494 tst-quad1pie tst-quad2pie
3495 (modules-names): Add tst-quadmod1 tst-quadmod2.
3496 ($(objpfx)tst-quad1): New dependency.
3497 ($(objpfx)tst-quad2): Likewise.
3498 ($(objpfx)tst-quad1pie): Likewise.
3499 ($(objpfx)tst-quad2pie): Likewise.
3500 * sysdeps/x86_64/tst-quad1.c: New file.
3501 * sysdeps/x86_64/tst-quad1pie.c: New file.
3502 * sysdeps/x86_64/tst-quad2.c: Likewise.
3503 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3504 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3505 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3506 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3507 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3508
f34d6f84
ST
35092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3510
f42d41d1
ST
3511 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3512 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3513 * streams/stropts.h (t_scalar_t): Define type.
3514
3c3571fc
ST
3515 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3516 (_PATH_PRESERVE): Set to "/var/lib".
3517 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3518
61f06bd3
ST
3519 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3520 instead of int.
3521
918d4d71
ST
3522 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3523 if __dir_mkfile succeeded.
3524
f34d6f84
ST
3525 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3526 checking for _hurd_dtablesize. Unlock it right after having
3527 finished _hurd_dtable allocation.
3528
10589b4a
TS
35292012-05-10 Thomas Schwinge <thomas@schwinge.name>
3530
674cdbc7
TS
3531 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3532 * sysdeps/mach/hurd/configure: Regenerated.
3533 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3534 special-casing to...
3535 * sysdeps/gnu/configure.in: ... this new file.
3536 * sysdeps/unix/sysv/linux/configure: Regenerated.
3537 * sysdeps/gnu/configure: New generated file.
3538
8e41b99f
TS
3539 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3540 for Linux: use nsec instead of usec, as well as:
3541 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3542 members of type struct timespec.
3543 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3544 New macros.
3545 (struct stat64): Likewise.
3546 (_STATBUF_ST_NSEC): New macro.
3547 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3548
10589b4a
TS
3549 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3550 __strtoul_internal rather than strtoul.
3551
63643c85
PT
35522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3553
3554 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3555 and reject them.
3556
3faebe6a
ST
35572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3558
3559 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3560 which preserves existing values.
3561 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3562
c6474b07
PT
35632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3564
3565 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3566 TIMEOUT values. Return EINVAL for NFDS values either negative or
3567 greater than FD_SETSIZE.
3568
1043890b
ST
35692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3570
3571 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3572 allocated, call __vm_protect to finish enabling the existing space, and
3573 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3574 allocate the remainder.
3575
37ed8b9b
PT
35762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3577
3578 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3579 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3580
db653660
ST
35812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3582
37ed8b9b
PT
3583 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3584 sysdeps/mach/hurd/readlink.c.
b29d4053 3585
db653660
ST
3586 * posix/tst-sysconf.c (posix_options): Only use
3587 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3588 _POSIX_SYNCHRONIZED_IO when they are defined
3589 * sysdeps/mach/hurd/bits/posix_opt.h:
3590 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3591 (_XOPEN_REALTIME): Undefine macro.
3592 (_XOPEN_REALTIME_THREADS): Undefine macro.
3593 (_XOPEN_SHM): Undefine macro.
3594 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3595 macro to -1.
3596 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3597 macro to -1.
3598 (_POSIX_ASYNC_IO): Undefine macro.
3599 (_POSIX_PRIORITIZED_IO): Undefine macro.
3600 (_POSIX_SPIN_LOCKS): Define macro to -1.
3601
ee16e894
ST
3602 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3603 SA_NODEFER, SA_RESETHAND.
3604 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3605 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3606 F_DUPFD_CLOEXEC.
3607
6103ae3b
TS
36082012-05-10 Thomas Schwinge <thomas@schwinge.name>
3609
3610 * elf/Makefile (pldd-modules): Define unconditionally.
3611
80b4e5f3
TS
36122012-05-10 Thomas Schwinge <thomas@schwinge.name>
3613
3614 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3615
edadcbd6
ST
36162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3617
3618 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3619 Return ENOENT when name is empty.
3620 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3621
80694780
TS
36222012-05-10 Thomas Schwinge <thomas@schwinge.name>
3623
1792c087
TS
3624 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3625
80694780
TS
3626 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3627
6b645f0d
ST
36282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3629
80694780
TS
3630 Fix mlock in all cases except non-readable pages.
3631 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3632 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3633
6b645f0d
ST
3634 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3635 (__mkdir): When path is `/', just fail with EEXIST.
3636 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3637
e468f8a3
TS
36382012-05-10 Thomas Schwinge <thomas@schwinge.name>
3639
3640 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3641 <sys/uio.h> (for writev).
3642 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3643 and <sys/param.h> (for MIN).
3644
a4186cff
PT
36452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3646
3647 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3648 REQUESTED_TIME. Properly set the remaining time and return EINTR
3649 if interrupted.
3650
510bbf14
TS
36512012-05-10 Thomas Schwinge <thomas@schwinge.name>
3652
3653 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3654 Depend on against $(link-rpcuserlibs).
3655
5d5722e8
ST
36562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3657
a4186cff
PT
3658 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3659 (__libc_stack_end): Do not use attribute_relro.
3660 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3661 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3662 to libthread-provided value.
a4186cff
PT
3663 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3664 attribute_relro.
5d5722e8 3665
37233df9
TS
36662012-05-10 Thomas Schwinge <thomas@schwinge.name>
3667
be971a2b
TS
3668 [BZ #3748]
3669 * bits/libc-lock.h (__libc_once_get): New macro.
3670 * sysdeps/mach/bits/libc-lock.h: Likewise.
3671 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3673 instead of using implementation details.
3674
37233df9
TS
3675 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3676 * libio/freopen.c: Likewise.
3677 * libio/freopen64.c: Likewise.
3678 * misc/syslog.c: Likewise.
3679 * nscd/connections.c: Likewise.
3680 * nscd/netgroupcache.c: Likewise.
3681 * sysdeps/posix/getcwd.c: Likewise.
3682
38de94a5
RM
36832012-05-10 Roland McGrath <roland@hack.frob.com>
3684
3685 * math/w_ilogbf.c: Add #include <limits.h>.
3686
67530489
ST
36872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3688
a4186cff 3689 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3690 path instead of returning without unlocking.
3691
67530489
ST
3692 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3693 immediate-write ioctls.
3694 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3695
5aa3a74a
TS
36962012-05-10 Thomas Schwinge <thomas@schwinge.name>
3697
18bad2ae
TS
3698 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3699 __builtin_frame_address instead of making assumptions about the
3700 location of the return address relative to DATA. Force early load of
3701 the return address.
3702 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3703 __builtin_frame_address.
3704
5aa3a74a
TS
3705 dup3 for GNU Hurd.
3706 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3707 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3708 implement dup3 and do some further code clean-ups.
3709 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3710 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3711
ecd0de9a
ST
37122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3713
cd9fa985
ST
3714 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3715
a4186cff
PT
3716 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3717 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3718 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3719 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3720 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3721 d->port.lock.
802ca5a5 3722
a4186cff
PT
3723 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3724 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3725 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3726
bcf55240
TS
37272012-05-10 Thomas Schwinge <thomas@schwinge.name>
3728
6960eb42
TS
3729 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3730 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3731 definitions.
3732
eb43375f
TS
3733 accept4 for GNU Hurd.
3734 * include/sys/socket.h (__libc_accept4): New prototype.
3735 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3736 to implement __libc_accept4.
3737 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3738 __libc_accept4.
3739 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3740
bcf55240
TS
3741 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3742 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3743 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3744 signal-defines.sym.
3745
6178c55b
ST
37462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3747
a4186cff 3748 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3749
6f080c2f
TS
37502012-05-10 Thomas Schwinge <thomas@schwinge.name>
3751
3752 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3753 assertion on O_CLOEXEC flag.
3754 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3755 * hurd/intern-fd.c: Likewise.
3756 * hurd/port2fd.c: Likewise.
3757
bcfe3a54
ST
37582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3759
3760 [BZ #3906]
3761 * bits/in.h (IPV6_PKTINFO): Define new macro.
3762 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3763
89c9aa49
AZ
37642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3765
3766 [BZ #13954]
3767 [BZ #13955]
3768 [BZ #13956]
3769 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3771 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3772 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3774 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3775 * math/libm-test.inc (logb_test) : Additional logb tests.
3776
021db4be
AJ
37772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3778 Andreas Jaeger <aj@suse.de>
3779
3780 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3781 * configure: Regenerated.
3782 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3783 * config.make.in (link-obsolete-rpc): New substituted variable.
3784 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3785 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3786 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3787 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3788 so that libc.a contains the symbols.
3789 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3790 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3791 * sunrpc/auth_none.c: Likewise.
3792 * sunrpc/auth_unix.c: Likewise.
3793 * sunrpc/authdes_prot.c: Likewise.
3794 * sunrpc/authuxprot.c: Likewise.
3795 * sunrpc/clnt_gen.c: Likewise.
3796 * sunrpc/clnt_perr.c: Likewise.
3797 * sunrpc/clnt_raw.c: Likewise.
3798 * sunrpc/clnt_simp.c: Likewise.
3799 * sunrpc/clnt_tcp.c: Likewise.
3800 * sunrpc/clnt_udp.c: Likewise.
3801 * sunrpc/clnt_unix.c: Likewise.
3802 * sunrpc/des_crypt.c: Likewise.
3803 * sunrpc/des_soft.c: Likewise.
3804 * sunrpc/get_myaddr.c: Likewise.
3805 * sunrpc/key_call.c: Likewise.
3806 * sunrpc/key_prot.c: Likewise.
3807 * sunrpc/netname.c: Likewise.
3808 * sunrpc/pm_getmaps.c: Likewise.
3809 * sunrpc/pm_getport.c: Likewise.
3810 * sunrpc/pmap_clnt.c: Likewise.
3811 * sunrpc/pmap_prot.c: Likewise.
3812 * sunrpc/pmap_prot2.c: Likewise.
3813 * sunrpc/pmap_rmt.c: Likewise.
3814 * sunrpc/publickey.c: Likewise.
3815 * sunrpc/rpc_cmsg.c: Likewise.
3816 * sunrpc/rpc_common.c: Likewise.
3817 * sunrpc/rpc_dtable.c: Likewise.
3818 * sunrpc/rpc_prot.c: Likewise.
3819 * sunrpc/rpc_thread.c: Likewise.
3820 * sunrpc/rtime.c: Likewise.
3821 * sunrpc/svc.c: Likewise.
3822 * sunrpc/svc_auth.c: Likewise.
3823 * sunrpc/svc_raw.c: Likewise.
3824 * sunrpc/svc_run.c: Likewise.
3825 * sunrpc/svc_tcp.c: Likewise.
3826 * sunrpc/svc_udp.c: Likewise.
3827 * sunrpc/svc_unix.c: Likewise.
3828 * sunrpc/svcauth_des.c: Likewise.
3829 * sunrpc/xcrypt.c: Likewise.
3830 * sunrpc/xdr.c: Likewise.
3831 * sunrpc/xdr_array.c: Likewise.
3832 * sunrpc/xdr_float.c: Likewise.
3833 * sunrpc/xdr_intXX_t.c: Likewise.
3834 * sunrpc/xdr_mem.c: Likewise.
3835 * sunrpc/xdr_rec.c: Likewise.
3836 * sunrpc/xdr_ref.c: Likewise.
3837 * sunrpc/xdr_sizeof.c: Likewise.
3838 * sunrpc/xdr_stdio.c: Likewise.
3839
b5c086a2
RM
38402012-05-10 Roland McGrath <roland@hack.frob.com>
3841
3842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3843 change. Update copyright years.
3844
6d74dd09
JM
38452012-05-10 Joseph Myers <joseph@codesourcery.com>
3846
3847 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3848
28e72501
MK
38492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3850 Joseph Myers <joseph@codesourcery.com>
3851 Paul Pluzhnikov <ppluzhnikov@google.com>
3852
3853 [BZ #14012]
3854 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3855 requiring rpcgen.
3856 [cross-compiling] (extra-libs): Likewise.
3857 [cross-compiling] (extra-libs-others): Likewise.
3858 [cross-compiling] (librpcsvc-routines): Likewise.
3859 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3860 [cross-compiling] (omit-deps): Likewise.
3861 (sunrpc-CPPFLAGS): New variable.
3862 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3863 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3864 (cross-rpcgen-objs): New variable.
3865 (extra-objs): Append $(cross-rpcgen-objs).
3866 ($(cross-rpcgen-objs)): New rule.
3867 ($(objpfx)cross-rpcgen): Likewise.
3868 (rpcgen-cmd): Define to use $(built-program-file). Expand
3869 comment.
3870 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3871 ($(objpfx)x%.stmp): Likewise.
3872 * sunrpc/proto.h [IS_IN_build] (_): Define.
3873 [IS_IN_build] (_libc_intl_domainname): Likewise.
3874
c8c59454
L
38752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3878 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3879 and R_X86_64_TPOFF64.
3880
6f27cd16
JM
38812012-05-10 Joseph Myers <joseph@codesourcery.com>
3882
3883 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3884 sysdeps/unix/sysv/syscalls.list.
3885 (stime): Likewise.
3886 (utime): Likewise.
3887 * sysdeps/unix/sysv/syscalls.list: Remove file.
3888
02467e1c
PE
38892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3890
3891 [BZ #3440]
3892 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3893 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3894 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3895 (__LC_IDENTIFICATION): Make these macros useful in #if
3896 expressions, as required by C99.
3897
da392631
AS
38982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3899
3900 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3901 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3902 after this.
3903
8115f29b
L
39042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3905
3906 * stdlib/longlong.h: Updated from GCC.
3907
bdd74070
AJ
39082012-05-09 Andreas Jaeger <aj@suse.de>
3909
edfe0dbe
AJ
3910 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3911 default is first entry.
3912 (run_mode): Set type.
3913 (main): Remove informal message about syslog.
3914 (options): Fix typo.
3915
bcfe3a54
ST
3916 [BZ #14053]
3917 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3918 to asm.
bcfe3a54
ST
3919 (lrint): Likewise.
3920 (llrintf): Likewise.
3921 (llrint): Likewise.
3922 (rint): Likewise.
3923 (rintf): Likewise.
3924 (nearbyint): Likewise.
3925 (nearbyintf): Likewise.
bdd74070 3926
91d8d69e
AJ
39272012-05-09 Andreas Jaeger <aj@suse.de>
3928 Pedro Alves <palves@redhat.com>
3929
3930 * nscd/nscd.c (run_mode): Use enum.
3931 (main): Cleanup coding style issue.
3932
bb90b80b
AJ
39332012-05-09 Alexandre Oliva <aoliva@redhat.com>
3934 Andreas Jaeger <aj@suse.de>
3935
bcfe3a54
ST
3936 * nscd/nscd.c (go_background): Replaced with...
3937 (run_mode): ... this.
bb90b80b 3938 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3939 (options): Add -F --foreground.
3940 (main): Implement it.
3941 (parse_opt): Parse it.
bb90b80b 3942
1a4b75a1
AJ
39432012-05-09 Andreas Jaeger <aj@suse.de>
3944
3945 [BZ #14083]
3946 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3947 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3948 -Wconversion warning.
3949 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3950 Likewise.
3951
b1cc2472
JM
39522012-05-09 Joseph Myers <joseph@codesourcery.com>
3953
3954 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3955 == 0.
3956 (LC_ALL): Use macro-int-constant.
3957 (LC_COLLATE): Likewise.
3958 (LC_CTYPE): Likewise.
3959 (LC_MESSAGES): Likewise.
3960 (LC_MONETARY): Likewise.
3961 (LC_NUMERIC): Likewise.
3962 (LC_TIME): Likewise.
3963 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3964 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3966 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3967 Specify type.
3968 [C99-based standards] (float_t): Expect type.
3969 [C99-based standards] (double_t): Expect type.
3970 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3971 type.
3972 [C99-based standards] (HUGE_VALL): Likewise.
3973 [C99-based standards] (INFINITY): Likewise.
3974 [C99-based standards] (NAN): Likewise.
3975 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3976 [C99-based standards] (FP_NAN): Likewise.
3977 [C99-based standards] (FP_NORMAL): Likewise.
3978 [C99-based standards] (FP_SUBNORMAL): Likewise.
3979 [C99-based standards] (FP_ZERO): Likewise.
3980 [C99-based standards] (FP_FAST_FMA): Use
3981 optional-macro-int-constant. Specify type. Require == 1.
3982 [C99-based standards] (FP_FAST_FMAF): Likewise.
3983 [C99-based standards] (FP_FAST_FMAL): Likewise.
3984 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3985 [C99-based standards] (FP_ILOGBNAN): Likewise.
3986 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3987 Specify type.
3988 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3989 [C99-based standards] (math_errhandling): Specify type.
3990 [ISO99 || ISO11] (signgam): Do not allow.
3991 [non-C99-based standards] (copysignf): Do not allow.
3992 [non-C99-based standards] (exp2f): Likewise.
3993 [non-C99-based standards] (log2f): Likewise.
3994 [non-C99-based standards] (modff): Allow.
3995 [non-C99-based standards] (erff): Do not allow.
3996 [non-C99-based standards] (erfcf): Likewise.
3997 [non-C99-based standards] (gammaf): Likewise.
3998 [non-C99-based standards] (hypotf): Likewise.
3999 [non-C99-based standards] (j0f): Likewise.
4000 [non-C99-based standards] (j1f): Likewise.
4001 [non-C99-based standards] (jnf): Likewise.
4002 [non-C99-based standards] (lgammaf): Likewise.
4003 [non-C99-based standards] (tgammaf): Likewise.
4004 [non-C99-based standards] (y0f): Likewise.
4005 [non-C99-based standards] (y1f): Likewise.
4006 [non-C99-based standards] (ynf): Likewise.
4007 [non-C99-based standards] (isnanf): Likewise.
4008 [non-C99-based standards] (acoshf): Likewise.
4009 [non-C99-based standards] (asinhf): Likewise.
4010 [non-C99-based standards] (atanhf): Likewise.
4011 [non-C99-based standards] (cbrtf): Likewise.
4012 [non-C99-based standards] (expm1f): Likewise.
4013 [non-C99-based standards] (ilogbf): Likewise.
4014 [non-C99-based standards] (log1pf): Likewise.
4015 [non-C99-based standards] (logbf): Likewise.
4016 [non-C99-based standards] (nextafterf): Likewise.
4017 [non-C99-based standards] (remainderf): Likewise.
4018 [non-C99-based standards] (rintf): Likewise.
4019 [non-C99-based standards] (scalbf): Likewise.
4020 [non-C99-based standards] (copysignl): Likewise.
4021 [non-C99-based standards] (exp2l): Likewise.
4022 [non-C99-based standards] (log2l): Likewise.
4023 [non-C99-based standards] (modfl): Allow.
4024 [non-C99-based standards] (erfl): Do not allow.
4025 [non-C99-based standards] (erfcl): Likewise.
4026 [non-C99-based standards] (gammal): Likewise.
4027 [non-C99-based standards] (hypotl): Likewise.
4028 [non-C99-based standards] (j0l): Likewise.
4029 [non-C99-based standards] (j1l): Likewise.
4030 [non-C99-based standards] (jnl): Likewise.
4031 [non-C99-based standards] (lgammal): Likewise.
4032 [non-C99-based standards] (tgammal): Likewise.
4033 [non-C99-based standards] (y0l): Likewise.
4034 [non-C99-based standards] (y1l): Likewise.
4035 [non-C99-based standards] (ynl): Likewise.
4036 [non-C99-based standards] (isnanl): Likewise.
4037 [non-C99-based standards] (acoshl): Likewise.
4038 [non-C99-based standards] (asinhl): Likewise.
4039 [non-C99-based standards] (atanhl): Likewise.
4040 [non-C99-based standards] (cbrtl): Likewise.
4041 [non-C99-based standards] (expm1l): Likewise.
4042 [non-C99-based standards] (ilogbl): Likewise.
4043 [non-C99-based standards] (log1pl): Likewise.
4044 [non-C99-based standards] (logbl): Likewise.
4045 [non-C99-based standards] (nextafterl): Likewise.
4046 [non-C99-based standards] (remainderl): Likewise.
4047 [non-C99-based standards] (rintl): Likewise.
4048 [non-C99-based standards] (scalbl): Likewise.
4049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4050 [non-C99-based standards] (FP_*): Do not allow.
4051 [C99-based standards] (FP_*): Change to
4052 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4053 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4054 allow.
4055 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4056 (SIG_ERR): Likewise.
4057 [X/Open-based standards] (SIG_HOLD): Likewise.
4058 (SIG_IGN): Likewise.
4059 (SIGABRT): Use macro-int-constant. Specify type. Require
4060 positive value.
4061 (SIGFPE): Likewise.
4062 (SIGILL): Likewise.
4063 (SIGINT): Likewise.
4064 (SIGSEGV): Likewise.
4065 (SIGTER): Likewise.
4066 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4067 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4068 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4069 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4070 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4073 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4075 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4076 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4077 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4078 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4079 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4080 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4084 [X/Open-based standards] (SIGTRAP): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4086 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4089 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4090 allow.
4091
b9f1922d
IW
40922012-05-08 Ian Wienand <ianw@vmware.com>
4093
4094 [BZ #14080]
4095 * time/tzset.c (__tzset_parse_tz): Update default rules for
4096 daylight time changes in the Energy Policy Act of 2005.
4097
1db86e88
AJ
40982012-05-09 Andreas Jaeger <aj@suse.de>
4099
4100 [BZ #13983]
4101 * elf/ldconfig.c (parse_conf): Change string to make clear that
4102 ldconfig only issued a warning if ld.so.conf does not exist.
4103
dee4a4e3
DM
41042012-05-08 David S. Miller <davem@davemloft.net>
4105
ee0db190
DM
4106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4107 movxtod instead of popping the value on the stack.
4108
dee4a4e3
DM
4109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4110
6a43ec98
CD
41112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4112
4113 * config.h.in: Add HAVE_ARM_PCS_VFP.
4114
05c2c961
RMG
41152012-05-08 Roland Mc Grath <roland@hack.frob.com>
4116
bcfe3a54
ST
4117 [BZ #13979]
4118 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4119 checking but the checks are disabled for any reason.
05c2c961 4120
4b30f61a
L
41212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4124 and ELF64_R_TYPE with ELFW(R_TYPE).
4125
eee2bc67
JM
41262012-05-08 Joseph Myers <joseph@codesourcery.com>
4127
7ea5391a
JM
4128 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4129 (ulimit): Likewise.
4130
eee2bc67
JM
4131 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4132 (settimeofday): Likewise.
4133
abb66a67
MF
41342012-05-08 Mike Frysinger <vapier@gentoo.org>
4135
4136 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4137 a struct th_u2 inside the union, and move tu_block/tu_code into
4138 a new th_u3 union of tu_block/tu_code inside of that. Move
4139 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4140 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4141 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4142 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4143 (th_stuff): Change to th_u1.tu_stuff.
4144 (th_data): Define.
4145 (th_msg): Change to th_u1.th_u2.tu_data.
4146
7f18b530
DM
41472012-05-07 David S. Miller <davem@davemloft.net>
4148
05760585
DM
4149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4150
7f18b530
DM
4151 [BZ #14074]
4152 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4153 (SETUP_PIC_REG): Use it.
4154 (SETUP_PIC_REG_LEAF): Use it.
4155
495fd99f
JM
41562012-05-07 Joseph Myers <joseph@codesourcery.com>
4157
4158 [BZ #13885]
4159 [BZ #13923]
4160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4161 USE_AS_EXPM1L.
4162 (EXPL_FINITE): Likewise.
4163 (FLDLOG): Likewise.
4164 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4165 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4166 e_expl.S.
4167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4168 USE_AS_EXPM1L.
4169 (EXPL_FINITE): Likewise.
4170 (FLDLOG): Likewise.
4171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4172 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4173 e_expl.S.
4174 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4175 test of -max_value argument for long double.
4176 * sysdeps/i386/fpu/libm-test-ulps: Update.
4177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4178
6693d694
DM
41792012-05-06 David S. Miller <davem@davemloft.net>
4180
4181 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4182 quad soft-float symbols whose references which are compiler
4183 generated.
4184 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4185
6c23e11c
JM
41862012-05-06 Joseph Myers <joseph@codesourcery.com>
4187
d8b82cad
JM
4188 [BZ #13884]
4189 [BZ #13914]
4190 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4191 USE_AS_EXP10L.
4192 (EXPL_FINITE): Likewise.
4193 (FLDLOG): Likewise.
4194 (c0): Likewise.
4195 (c1): Likewise.
4196 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4197 Adjust comments for base varying.
4198 (__expl_finite): Change alias to EXPL_FINITE.
4199 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4200 e_expl.S.
4201 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4202 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4204 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4206 USE_AS_EXP10L.
4207 (EXPL_FINITE): Likewise.
4208 (FLDLOG): Likewise.
4209 (c0): Likewise.
4210 (c1): Likewise.
4211 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4212 Adjust comments for base varying.
4213 (__expl_finite): Change alias to EXPL_FINITE.
4214 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4215 tests for bugs.
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4217
6c23e11c
JM
4218 [BZ #14064]
4219 * math/libm-test.inc (check_float_internal): Correct ulp
4220 calculation for subnormal expected results.
4221
29ba805c
AJ
42222012-05-06 Andreas Jaeger <aj@suse.de>
4223
4224 * Makeconfig (+math-flags): New, set to -frounding-math.
4225 (+cflags): Add +math-flags so that all of glibc gets compiled with
4226 it.
4227
4228 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4229
7b17aeda
JM
42302012-05-05 Joseph Myers <joseph@codesourcery.com>
4231
5779f134
JM
4232 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4233 Disable one test.
4234
41498f4d
JM
4235 [BZ #13787]
4236 [BZ #13922]
4237 [BZ #14036]
4238 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4239 (__ieee754_expl): Allow for and saturate large arguments.
4240 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4241 (u_threshold): Likewise.
4242 (__exp): Call __ieee754_exp before checking for overflow and
4243 underflow.
4244 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4245 (u_threshold): Likewise.
4246 (__expf): Call __ieee754_expf before checking for overflow and
4247 underflow.
4248 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4249 (u_threshold): Likewise.
4250 (__expl): Call __ieee754_expl before checking for overflow and
4251 underflow.
4252 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4253 (__ieee754_expl): Allow for and saturate large arguments.
4254 * math/libm-test.inc (exp_test): Add another test. Do not allow
4255 missing overflow exception on overflow.
4256 (expm1_test): Do not allow missing overflow exception on overflow.
4257
6698b8bf
JM
4258 * sysdeps/i386/fpu/e_expl.c: Move to ...
4259 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4260 rather than using inline asm.
4261 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4262 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4263 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4264
7b17aeda
JM
4265 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4266 (nice): Likewise.
4267 (poll): Likewise.
4268 (signal): Likewise.
4269 (time): Likewise.
4270 (times): Likewise.
4271
f7c85819
JM
42722012-05-04 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4275 sysdeps/unix/common/syscalls.list.
4276 (fchmod): Likewise.
4277 (fchown): Likewise.
4278 (ftruncate): Likewise.
4279 (getrusage): Likewise.
4280 (gettimeofday): Likewise.
4281 (setpgid): Likewise.
4282 (setregid): Likewise.
4283 (setreuid): Likewise.
4284 (sigaction): Likewise.
4285 (truncate): Likewise.
4286 (vhangup): Likewise.
4287 * sysdeps/unix/common/syscalls.list: Remove file.
4288 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4289 * sysdeps/unix/sysv/linux/Implies: Likewise.
4290
336270d0
L
42912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4295 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4296 Moved to ...
4297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4298 Here.
4299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4300 to ...
4301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4303 to ...
4304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4305 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4306 to ...
4307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4308 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4309 to ...
4310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4311 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4312 to ...
4313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4314 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4315 to ...
4316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4317 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4318 to ...
4319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4320 Here.
4321 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4322 to ...
4323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4324 Here.
4325 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4326 to ...
4327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4329 Moved to ...
4330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4331 Here.
4332 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4333 to ...
4334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4335
d128e450
JM
43362012-05-04 Joseph Myers <joseph@codesourcery.com>
4337
fa8ee516
JM
4338 * sysdeps/unix/common/bits/dirent.h: Remove file.
4339 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4340
d128e450
JM
4341 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4342 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4343 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4344 * sysdeps/unix/bsd/isatty.c: Likewise.
4345 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4346 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4347 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4348
ff8faaf0 43492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4350
62881be4 4351 [BZ #13563]
31dc8730
AZ
4352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4353 long double comparison inaccuracies.
4354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4356
6fef930c
AS
43572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4358
4359 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4361
8f203e6c
JM
43622012-05-04 Joseph Myers <joseph@codesourcery.com>
4363
4364 [BZ #14049]
4365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4366 nonzero digits before rounding a hex value.
4367 * stdlib/tst-strtod.c (tests): Add another test.
4368
5197d9c2
AK
43692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4370
4371 * sysdeps/s390/fpu/libm-test-ulps: Update.
4372
f0c1dedf
AJ
43732012-05-03 Andreas Jaeger <aj@suse.de>
4374
4375 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4376 does not get optimized out.
4377 (malloc_opt_barrier): New.
4378
a65ef2ae 43792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4380 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4381
2b942cb7 4382 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4383 intermediate file deletion.
2b942cb7 4384 (generated): Add .symlist files.
a65ef2ae 4385
54b71e02
JM
43862012-05-03 Joseph Myers <joseph@codesourcery.com>
4387
4388 [BZ #13775]
4389 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4390 Redirect under this condition.
4391 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4392 [__USE_GNU] (__dprintf_chk): Not under this condition.
4393 [__USE_GNU] (__vdprintf_chk): Likewise.
4394 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4395 under this condition.
4396 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4397 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4398 [__USE_XOPEN2K8] (vdprintf): Likewise.
4399 [__USE_GNU] (__dprintf_chk): Not under this condition.
4400 [__USE_GNU] (__vdprintf_chk): Likewise.
4401 [__USE_GNU] (dprintf): Likewise.
4402 [__USE_GNU] (vdprintf): Likewise.
4403
d3dfcc41
RM
44042012-05-03 Roland McGrath <roland@hack.frob.com>
4405
4406 * elf/Makefile (common-generated): Set this instead of generated for
4407 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4408 $(all-built-dso)-derived lists.
4409
7ac30cc5
AJ
44102012-05-03 Andreas Jaeger <aj@suse.de>
4411
0c51e550
AJ
4412 * sysdeps/i386/fpu/libm-test-ulps: Update.
4413
7ac30cc5
AJ
4414 * FAQ: Removed.
4415 * FAQ.in: Likewise.
4416 * scripts/gen-FAQ.pl: Likewise.
4417 * manual/install.texi (Installation): Point to online location of
4418 FAQ.
4419 * Makefile (files-for-dist): Remove FAQ.
4420 (FAQ): Remove.
4421
d4c2917f
AM
44222012-05-02 Allan McRae <allan@archlinux.org>
4423
4424 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4425 (LDFLAGS-reldepmod5.so): Likewise.
4426 (LDFLAGS-reldep6mod1.so): Likewise.
4427 (LDFLAGS-reldep6mod4.so): Likewise.
4428 (LDFLAGS-reldep8mod3.so): Likewise.
4429 (LDFLAGS-unload4mod1.so): Likewise.
4430 (LDFLAGS-unload4mod2.so): Likewise.
4431 (LDFLAGS-tst-initorder): Likewise.
4432 (LDFLAGS-tst-initordera2.so): Likewise.
4433 (LDFLAGS-tst-initordera3.so): Likewise.
4434 (LDFLAGS-tst-initordera4.so): Likewise.
4435 (LDFLAGS-tst-initorderb2.so): Likewise.
4436 (LDFLAGS-noload): Likewise.
4437 (LDFLAGS-next): Likewise.
4438 (LDFLAGS-order2mod1.so): Likewise.
4439 (LDFLAGS-order2mod2.so): Likewise.
4440 (LDFLAGS-tst-initorder2): Likewise.
4441 (LDFLAGS-tst-initorder2a.so): Likewise.
4442 (LDFLAGS-tst-initorder2b.so): Likewise.
4443 (LDFLAGS-tst-initorder2c.so): Likewise.
4444 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4445
d77f993f
DM
44462012-05-02 David S. Miller <davem@davemloft.net>
4447
4448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4449
171a70b4
PP
44502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4451
4452 [BZ #14055]
4453 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4454
0be196ad
AJ
44552012-05-02 Andreas Jaeger <aj@suse.de>
4456
4457 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4458 since we manipulate rounding mode.
4459 (CPPFLAGS-test-idouble.c): Likewise.
4460 (CPPFLAGS-test-ifloat.c): Likewise.
4461 (CFLAGS-test-ldouble.c): Likewise.
4462 (CFLAGS-test-double.c): Likewise.
4463 (CFLAGS-test-float.c): Likewise.
4464 (CFLAGS-test-misc.c): Likewise.
4465 (CFLAGS-test-test-fenv.c): Likewise.
4466
4f9d04aa
AZ
44672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468
2b942cb7
RM
4469 [BZ #2550]
4470 [BZ #2570]
4471 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4472 comparisons to determine direction to adjust input.
4f9d04aa 4473
82a79e7d
RM
44742012-05-01 Roland McGrath <roland@hack.frob.com>
4475
f5a01ca9
RM
4476 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4477 output to the target.
4478
90fe4186
RM
4479 * scripts/localplt.awk: New file.
4480 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4481 (check-localplt-CFLAGS): Variable removed.
4482 ($(all-built-dso:=.jmprel)): New static pattern rule.
4483 (generated): Add those targets.
4484 (localplt-built-dso): New variable.
4485 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4486
4487 * elf/check-localplt.c: File removed.
4488
82397ed6
RM
4489 * scripts/check-execstack.awk: New file.
4490 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4491 (check-execstack-CFLAGS): Variable removed.
4492 ($(objpfx)check-execstack.h): Target removed.
4493 ($(objpfx)execstack-default): New target.
4494 (generated): Add that instead of check-execstack.h.
4495 ($(all-built-dso:=.phdr)): New static pattern rule.
4496 (generated): Add those targets.
4497 * elf/check-execstack.c: File removed.
4498
82a79e7d
RM
4499 * scripts/check-textrel.awk: New file.
4500 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4501 (check-textrel-CFLAGS): Variable removed.
4502 (all-built-dso): Use := to define.o
4503 ($(all-built-dso:=.dyn)): New static pattern rule.
4504 (generated): Add those targets.
4505 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4506 * config.make.in (READELF): New substituted variable.
4507 * elf/check-textrel.c: File removed.
4508
62fde54f 45092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4510
615605c9
JM
4511 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4512 allow.
4513 * conform/data/ctype.h-data [C99-based standards] (isblank):
4514 Expect function.
4515 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4516 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4518 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4519 Specify type. Require positive value.
4520 (EILSEQ): Likewise.
4521 (ERANGE): Likewise.
4522 [ISO || POSIX] (EILSEQ): Do not expect.
4523 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4524 Specify type. Require positive value.
4525 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4526 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4527 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4536 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4541 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4542 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4543 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4544 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4545 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4546 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4547 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4548 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4549 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4550 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4551 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4552 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4553 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4554 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4555 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4556 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4557 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4558 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4559 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4560 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4561 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4562 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4563 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4564 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4565 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4566 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4567 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4568 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4569 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4570 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4571 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4572 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4573 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4574 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4575 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4576 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4577 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4578 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4579 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4580 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4581 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4582 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4583 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4584 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4585 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4586 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4587 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4588 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4589 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4590 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4591 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4592 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4593 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4594 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4595 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4596 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4597 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4598 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4599 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4600 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4601 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4602 Require >= 2.
4603 (FLT_ROUNDS): Expect as macro, not constant.
4604 (FLT_MANT_DIG): Use macro-int-constant.
4605 (DBL_MANT_DIG): Likewise.
4606 (LDBL_MANT_DIG): Likewise.
4607 (FLT_DIG): Likewise.
4608 (DBL_DIG): Likewise.
4609 (LDBL_DIG): Likewise.
4610 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4611 (DBL_MIN_EXP): Likewise.
4612 (LDBL_MIN_EXP): Likewise.
4613 (FLT_MAX_EXP): Use macro-int-constant.
4614 (DBL_MAX_EXP): Likewise.
4615 (LDBL_MAX_EXP): Likewise.
4616 (FLT_MAX_10_EXP): Likewise.
4617 (DBL_MAX_10_EXP): Likewise.
4618 (LDBL_MAX_10_EXP): Likewise.
4619 (FLT_MAX): Use macro-constant.
4620 (DBL_MAX): Likewise.
4621 (LDBL_MAX): Likewise.
4622 (FLT_EPSILON): Use macro-constant. Give upper bound.
4623 (DBL_EPSILON): Likewise.
4624 (LDBL_EPSILON): Likewise.
4625 (FLT_MIN): Likewise.
4626 (DBL_MIN): Likewise.
4627 (LDBL_MIN): Likewise.
4628 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4629 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4630 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4631 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4632 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4633 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4634 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4635 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4636 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4637 [ISO11] (FLT_TRUE_MIN): Likewise.
4638 [ISO11] (LDBL_TRUE_MIN): Likewise.
4639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4640 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4641 (SCHAR_MIN): Use macro-int-constant. Specify type.
4642 (SCHAR_MAX): Likewise.
4643 (UCHAR_MAX): Likewise.
4644 (CHAR_MIN): Likewise.
4645 (CHAR_MAX): Likewise.
4646 (MB_LEN_MAX): Use macro-int-constant.
4647 (SHRT_MIN): Use macro-int-constant. Specify type.
4648 (SHRT_MAX): Likewise.
4649 (USHRT_MAX): Likewise.
4650 (INT_MAX): Likewise.
4651 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4652 bound negative.
4653 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4654 bound with "U".
4655 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4656 bound with "L".
4657 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4658 bound negative. Suffix upper bound with "L".
4659 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4660 bound with "UL".
4661 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4662 Specify type.
4663 [C99-based standards] (LLONG_MAX): Likewise.
4664 [C99-based standards] (ULLONG_MAX): Likewise.
4665 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4666 == 0.
4667 [ISO11] (max_align_t): Require type.
4668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4669
c9140a62
JM
4670 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4671 from $CFLAGS, without defining away __attribute__ calls.
4672 (checknamespace): Use $CFLAGS_namespace.
4673
9af0bf29
JM
4674 * conform/conformtest.pl (@keywords): Only include C99 keywords
4675 for standards based on C99 or C11.
4676
343222a2
JM
4677 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4678 Disable tests.
4679 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4680 UNIX98]: Likewise.
4681
661f8cf0
JM
4682 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4683 usability of symbols in #if.
4684
ee74b9cb
JM
4685 * conform/conformtest.pl: If macro or constant types start
4686 "promoted:", expect the symbol to be of the following type
4687 promoted by the integer promotions.
62fde54f 4688
aafc49b3
JM
4689 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4690 in one place. Also handle "macro-constant".
4691
fefdf574
JM
4692 * conform/conformtest.pl: Only accept expected macro values with
4693 "==". Parse all "macro" lines in one place.
4694 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4695
f2d922fe
JM
4696 * conform/conformtest.pl: Handle braced types on "constant" lines
4697 instead of handling "typed-constant".
4698 * conform/data/signal.h-data: Use "constant" instead of
4699 "typed-constant".
4700
d22956c9
JM
4701 * conform/conformtest.pl: Handle "optional-" at start of lines in
4702 one place rather than duplicating several cases. Handle each
4703 format of "macro" line with initial "optional-".
4704
028e2e38
JM
4705 * conform/conformtest.pl: Only accept expected constant or
4706 optional-constant values with "==". Parse all "constant" lines in
4707 one place. Parse all "optional-constant" lines in one place.
4708 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4709 * conform/data/fmtmsg.h-data: Likewise.
4710 * conform/data/netinet/in.h-data: Likewise.
4711 * conform/data/tar.h-data: Likewise.
4712 * conform/data/limits.h-data: Use "==" form on "constant" and
4713 "optional-constant" lines.
4714
1b8f2850
JM
4715 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4716 Use -std=c99 for XOPEN2K.
4717 (@knownproblems): Remove.
4718 (newtoken): Don't check %isknown.
4719
a05a144b
JM
4720 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4721 Do not expect macro.
4722 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4734 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4735 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4736 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4752 [XPG3] (acosh): Likewise.
4753 [XPG3] (asinh): Likewise.
4754 [XPG3] (atanh): Likewise.
4755 [XPG3] (cbrt): Likewise.
4756 [XPG3] (expm1): Likewise.
4757 [XPG3] (ilogb): Likewise.
4758 [XPG3] (log1p): Likewise.
4759 [XPG3] (logb): Likewise.
4760 [XPG3] (nextafter): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4763 [XPG3] (remainder): Likewise.
4764 [XPG3] (rint): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4772 [UNIX98 || XOPEN2K] (scalb): Expect.
4773 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4774 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4797 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4798 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4799 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4800 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4801 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4802 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4803 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4804 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4805 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4807 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4808 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4809 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4810 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4811 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4812 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4813 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4814 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4816 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4817 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4818 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4819 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4820 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4821 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4822 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4823 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4824 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4825 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4826 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4827 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4828 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4829 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4830 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4831 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4832 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4833 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4834 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4835 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4836 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4837 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4838 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4839 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4840 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4841 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4842 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4843 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4844 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4845 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4846 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4847 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4848 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4849 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4850 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4851 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4852 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4853 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4854 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4855 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4856 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4857 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4858 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4859 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4860 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4861 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4862 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4863 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4864 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4865 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4866 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4867 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4868 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4869 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4870 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4871 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4872 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4873 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4874 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4875 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4876 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4877 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4878 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4879 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4880 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4881 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4882 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4883 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4884 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4885 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4886 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4887 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4888 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4889 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4890 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4891 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4892 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4893 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4894 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4895 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4896 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4897 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4898 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4899 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4900 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4901 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4902 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4903 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4904 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4905 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4906 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4907 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4908 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4909 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4910
73c5ebe3
JM
4911 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4912 _XOPEN_SOURCE_EXTENDED for XPG4.
4913
39c33b6c
JM
4914 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4915
62fde54f
JM
4916 * Makeconfig (localtime): Remove variable.
4917 (inst_localtime-file): Likewise.
4918
0741d64c
AS
49192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4920
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4922 Update.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4924 Update.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4926 Update.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4928 Update.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4930 Update.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4932 Update.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4934 Update.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4936 Update.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4938 Update.
4939
7cb029ee
JM
49402012-05-01 Joseph Myers <joseph@codesourcery.com>
4941
4942 [BZ #2550]
4943 [BZ #2570]
4944 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4945 comparisons to determine direction to adjust input.
4946 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4947 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4949 Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4951 Likewise.
4952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4953 Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4956 Likewise.
4957 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4958 Likewise.
4959 * math/libm-test.inc (nexttoward_test): Add more tests.
4960
412bd966
AS
49612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4962
4963 [BZ #14040]
4964 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4965 in version GLIBC_2.1, not GLIBC_2.0.
4966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4967 Likewise.
4968
9568c0c2
JM
49692012-04-30 Joseph Myers <joseph@codesourcery.com>
4970
adfbc8ac
JM
4971 [BZ #13942]
4972 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4973 (1 - x) * (1 + x).
4974 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4975 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4976 * math/libm-test.inc (acos_test): Add more tests.
4977 (asin_test): Likewise.
4978 * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4980
5ba3cc69
JM
4981 [BZ #14034]
4982 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4983 of square root.
4984 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4985 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4986 * math/libm-test.inc (acos_test_tonearest): New function.
4987 (acos_test_towardzero): Likewise.
4988 (acos_test_downward): Likewise.
4989 (acos_test_upward): Likewise.
4990 (asin_test_tonearest): Likewise.
4991 (asin_test_towardzero): Likewise.
4992 (asin_test_downward): Likewise.
4993 (asin_test_upward): Likewise.
4994 (main): Call the new functions.
4995 * sysdeps/i386/fpu/libm-test-ulps: Update.
4996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4997
9568c0c2
JM
4998 [BZ #13884]
4999 [BZ #13924]
5000 * math/e_exp10.c: Include <float.h>.
5001 (__ieee754_exp10): Handle underflow here rather than multiplying
5002 large negative argument by M_LN10.
5003 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5004 of __ieee754_expf.
5005 * math/e_exp10l.c: Include <float.h>.
5006 (__ieee754_exp10l): Handle underflow here rather than multiplying
5007 large negative argument by M_LN10l.
5008 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5009 spurious overflow exception on underflow.
5010
5ac3ea17
MP
50112012-04-29 Marek Polacek <polacek@redhat.com>
5012
5013 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5014 (__fortify_function): New macro.
5015 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5016 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5017 __extern_always_inline.
5018 * libio/bits/stdio2.h: Likewise.
5019 * libio/bits/stdio.h: Likewise.
5020 * string/string.h: Likewise.
5021 * string/bits/string3.h: Likewise.
5022 * include/stdio.h: Likewise.
5023 * stdlib/bits/stdlib.h: Likewise.
5024 * stdlib/stdlib.h: Likewise.
5025 * rt/bits/mqueue2.h: Likewise.
5026 * rt/mqueue.h: Likewise.
5027 * posix/bits/unistd.h: Likewise.
5028 * posix/unistd.h: Likewise.
5029 * io/bits/poll2.h: Likewise.
5030 * io/bits/fcntl2.h: Likewise.
5031 * io/fcntl.h: Likewise.
5032 * io/sys/poll.h: Likewise.
5033 * misc/bits/syslog.h: Likewise.
5034 * misc/bits/syslog-ldbl.h: Likewise.
5035 * misc/sys/syslog.h: Likewise.
5036 * socket/bits/socket2.h: Likewise.
5037 * socket/sys/socket.h: Likewise.
5038 * debug/tst-chk1.c: Likewise.
5039 * wcsmbs/bits/wchar2.h: Likewise.
5040 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5041 * wcsmbs/wchar.h: Likewise.
5042
ecf0ebfb
AJ
50432012-04-29 Andreas Jaeger <aj@suse.de>
5044
5045 * Makerules (tests): Remove enable-check-abi protection.
5046 (check-abi-warn): Remove.
5047 (check-abi-%): Remove check-abi-warn usage.
5048
5049 * configure.in: Remove check-abi configure option.
5050 * configure: Regenerated.
5051 * config.make.in (enable-check-abi): Remove.
5052
6d5c57fa
AS
50532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5054
24c5d07e 5055 [BZ #14033]
ded5180a
AS
5056 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5057 double functions to double *_finite functions.
5058
7e0d315d
AS
5059 [BZ #13941]
5060 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5061 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5062 LDBL_MIN_EXP.
5063 * stdio-common/Makefile (tests): Add tst-sprintf3.
5064 * stdio-common/tst-sprintf3.c: New file.
5065
6d5c57fa
AS
5066 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5067 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5068
0749ff8b
JM
50692012-04-28 Joseph Myers <joseph@codesourcery.com>
5070
5071 * conform/conformtest.pl: Remove duplicate typed-constant
5072 handling.
5073
8dbd5d7b
DM
50742012-04-28 David S. Miller <davem@davemloft.net>
5075
5076 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5077 (check-abi-%): Remove AWK script prerequisite and explicit
5078 abilist directory.
5079 (check-abi): Rewrite to just diff the symlist with the abilist.
5080 (config-tls, config-abi-config): Delete, no longer used.
5081 (update-abi-%): Remove AWK script and explicit abilist directory.
5082 (update-abi): Rewrite to simply compare and conditionally copy the
5083 symlist and the sysdep abilist file. Remove update-abi-config
5084 checks.
5085 * abilist/ld.abilist: Remove.
5086 * abilist/libBrokenLocale.abilist: Remove.
5087 * abilist/libanl.abilist: Remove.
5088 * abilist/libcrypt.abilist: Remove.
5089 * abilist/libdl.abilist: Remove.
5090 * abilist/librt.abilist: Remove.
5091 * abilist/libthread_db.abilist: Remove.
5092 * abilist/libutil.abilist: Remove.
5093 * scripts/extract-abilist.awk: Remove.
5094 * scripts/merge-abilist.awk: Remove.
5095 * sysdeps/generic/libcidn.abilist: New file.
5096 * sysdeps/generic/libnss_compat.abilist: New file.
5097 * sysdeps/generic/libnss_db.abilist: New file.
5098 * sysdeps/generic/libnss_dns.abilist: New file.
5099 * sysdeps/generic/libnss_files.abilist: New file.
5100 * sysdeps/generic/libnss_hesiod.abilist: New file.
5101 * sysdeps/generic/libnss_nis.abilist: New file.
5102 * sysdeps/generic/libnss_nisplus.abilist: New file.
5103 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5104 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5105 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5106 file.
5107 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5108 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5109 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5110 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5111 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5113 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5114 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5115 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5116 file.
5117 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5118 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5119 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5120 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5121 file.
5122 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5123 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5124 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5125 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5127 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5128 file.
5129 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5130 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5131 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5132 file.
5133 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5135 New file.
5136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5137 New file.
5138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5139 New file.
5140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5141 New file.
5142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5143 New file.
5144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5145 New file.
5146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5147 New file.
5148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5149 New file.
5150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5151 New file.
5152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5153 New file.
5154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5157 New file.
5158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5161 file.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5163 New file.
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5165 New file.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5167 file.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5169 New file.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5171 New file.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5173 file.
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5175 New file.
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5177 New file.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5179 New file.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5181 New file.
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5183 New file.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5185 New file.
5186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5188 file.
5189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5190 New file.
5191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5192 file.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5194 file.
5195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5196 file.
5197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5198 file.
5199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5200 file.
5201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5202 New file.
5203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5204 file.
5205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5206 file.
5207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5208 New file.
5209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5210 file.
5211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5213 file.
5214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5215 New file.
5216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5217 file.
5218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5219 file.
5220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5221 file.
5222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5223 file.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5225 file.
5226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5227 New file.
5228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5229 file.
5230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5231 file.
5232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5233 New file.
5234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5235 file.
5236 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5237 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5238 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5239 file.
5240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5241 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5242 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5243 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5244 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5245 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5246 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5247 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5248 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5249 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5252 file.
5253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5254 New file.
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5256 file.
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5258 file.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5260 file.
5261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5262 file.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5264 file.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5266 New file.
5267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5268 New file.
5269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5270 file.
5271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5272 New file.
5273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5274 file.
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5277 file.
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5279 New file.
5280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5281 file.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5283 file.
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5285 file.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5287 file.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5289 file.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5291 New file.
5292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5293 New file.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5295 file.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5297 New file.
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5299 file.
5300
41d73a1b
JM
53012012-04-28 Joseph Myers <joseph@codesourcery.com>
5302
5303 * conform/conformtest.pl: Fix typo in handling typed-constant from
5304 allow-header.
5305
28aeeda4
JM
53062012-04-27 Joseph Myers <joseph@codesourcery.com>
5307
adae8f5e
JM
5308 * README: Cut down references to pre-2.6 Linux kernels and
5309 Linuxthreads. Update lists of configurations in libc and ports
5310 and sort alphabetically. Say "or newer" with Linux kernel version
5311 requirements.
5312
28aeeda4
JM
5313 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5314
a462cb63
RA
53152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5316
5317 [BZ #887]
5318 * math/libm-test.inc (logb_test_downward): New test to expose
5319 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5320 rounding mode.
5321
6ad3493e
JM
53222012-04-27 Joseph Myers <joseph@codesourcery.com>
5323
5324 [BZ #14027]
5325 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5326 to be done.
5327 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5328 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5329
2ce4f015
JM
53302012-04-26 Joseph Myers <joseph@codesourcery.com>
5331
5aeb141a
JM
5332 * sysdeps/unix/i386/brk.S: Remove file.
5333 * sysdeps/unix/i386/dl-brk.S: Likewise.
5334 * sysdeps/unix/i386/pipe.S: Likewise.
5335 * sysdeps/unix/i386/sigreturn.S: Likewise.
5336 * sysdeps/unix/i386/syscall.S: Likewise.
5337 * sysdeps/unix/i386/vfork.S: Likewise.
5338 * sysdeps/unix/i386/wait.S: Likewise.
5339
7143acae
JM
5340 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5341 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5342
2ce4f015
JM
5343 * configure.in (arm*-none*): Do not allow without
5344 --enable-hacker-mode.
5345 (netbsd*): Remove case setting base_os.
5346 (386bsd*): Likewise.
5347 (freebsd*): Likewise.
5348 (bsdi*): Likewise.
5349 (osf*): Likewise.
5350 (sunos*): Likewise.
5351 (ultrix*): Likewise.
5352 (newsos*): Likewise.
5353 (dynix*): Likewise.
5354 (*bsd*): Likewise.
5355 (sysv*): Likewise.
5356 (isc*): Likewise.
5357 (esix*): Likewise.
5358 (sco*): Likewise.
5359 (minix*): Likewise.
5360 (irix4*): Likewise.
5361 (irix6*): Likewise.
5362 (solaris[2-9]*): Likewise.
5363 (none): Likewise.
5364 * configure: Regenerated.
5365
0ac229c8
AZ
53662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 [BZ #11521]
5369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5370 overflow or cancellation in calculating denominator.
5371 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5373 down expression to avoid unexpected rounding in newer GCCs.
5374 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5375
33f244f4
DM
53762012-04-26 David S. Miller <davem@davemloft.net>
5377
5378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5379 long-double compat symbols.
5380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5393
cfa1f3e8
DM
53942012-04-25 David S. Miller <davem@davemloft.net>
5395
5396 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5397 HWCAP_* values only after the memory barriers have been defined.
5398 (atomic_full_barrier): Define.
5399 (atomic_read_barrier): Define.
5400 (atomic_write_barrier): Define.
5401
6e236b92
SP
54022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5403
5404 * shlib-versions: Add libgcc_s version information.
5405 * sysdeps/generic/libgcc_s.h: Remove.
5406 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5407 libgcc_s.h.
5408 * sysdeps/gnu/unwind-resume.c: Likewise.
5409 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5410
aab39a09
DM
54112012-04-25 David S. Miller <davem@davemloft.net>
5412
5413 * sysdeps/unix/sparc/brk.S: Delete.
5414 * sysdeps/unix/sparc/dl-brk.S: Delete.
5415 * sysdeps/unix/sparc/pipe.S: Delete.
5416 * sysdeps/unix/sparc/sysdep.S: Delete.
5417 * sysdeps/unix/sparc/sysdep.h: Delete.
5418 * sysdeps/unix/sparc/vfork.S: Delete.
5419 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5420 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5422 ret_ERRVAL, r0, r1, MOVE): Define.
5423 (JUMPTARGET): Remove.
5424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5425 sysdeps/unix/sparc/sysdep.h
5426 (ENTRY, END): Remove.
5427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5428
a3cc4f48
JM
54292012-04-25 Joseph Myers <joseph@codesourcery.com>
5430
2ed8cda2
JM
5431 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5432 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5433 -DIS_IN_build.
5434
35d76d59
JM
5435 * timezone/README: Update upstream location and email address for
5436 tzcode and tzdata.
5437 * timezone/zdump.c: Update from tzcode 2012b.
5438 * timezone/zic.c: Likewise.
5439
a3cc4f48
JM
5440 * configure.in (libc_cv_as_needed): Remove test.
5441 * configure: Regenerated.
5442 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5443 conditional definition.
5444 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5445 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5446 * config.make.in (have-as-needed): Remove variable.
5447
ceab42c3
SP
54482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5449 Paul Pluzhnikov <ppluzhnikov@google.com>
5450
5451 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5452 strings correctly.
5453
3ce2865f
CLT
54542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5455
5456 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5457 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5458 * sysdeps/sh/strlen.S: Likewise.
5459
f37e0d68
JM
54602012-04-24 Joseph Myers <joseph@codesourcery.com>
5461
ae186e9a
JM
5462 * sysdeps/unix/fork.S: Remove file.
5463 * sysdeps/unix/i386/fork.S: Likewise.
5464 * sysdeps/unix/sparc/fork.S: Likewise.
5465
b96914af
JM
5466 * sysdeps/unix/system.c: Remove file.
5467 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5468
f37e0d68
JM
5469 * sysdeps/unix/getegid.S: Remove file.
5470 * sysdeps/unix/geteuid.S: Likewise.
5471
87ef29ca
RM
54722012-04-24 Roland McGrath <roland@hack.frob.com>
5473
83bcd236
RM
5474 * scripts/check-localplt.awk: New file.
5475 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5476 of diff.
5477 * scripts/data/localplt-generic.data: Add a comment.
5478
87ef29ca
RM
5479 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5480 NODE when __dir_mkfile failed.
5481 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5482 Reported by Ludovic Courtès <ludo@gnu.org>.
5483
e5a6e567
AJ
54842012-04-24 Andreas Jaeger <aj@suse.de>
5485
5486 * Makerules (common-clean): Also remove gen-as-const-headers
5487 files.
5488
c1820385
JM
54892012-04-24 Joseph Myers <joseph@codesourcery.com>
5490
5491 * Makerules (native-compile): Do not change working directory for
5492 build. Use $(OUTPUT_OPTION) in command.
5493 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5494
94e02fc4
AZ
54952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496
5497 [BZ #13886]
5498 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5499 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5500 * math/libm-test.inc (floor_test): Add more tests.
5501 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5502
3a533ca3
JM
55032012-04-24 Joseph Myers <joseph@codesourcery.com>
5504
940ab4b3
JM
5505 * sysdeps/unix/getdents.c: Remove file.
5506 * sysdeps/unix/sysv/getdents.c: Likewise.
5507 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5508
90e037bd
JM
5509 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5510 sysdeps/unix/mman/syscalls.list.
5511 (mmap): Likewise.
5512 (mprotect): Likewise.
5513 (msync): Likewise.
5514 (munmap): Likewise.
5515 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5516 * sysdeps/unix/mman/syscalls.list: Remove.
5517 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5518
3a533ca3
JM
5519 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5520 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5521 * configure: Regenerated.
5522 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5523 $(libgcc_s_suffix).
5524 * config.make.in (libgcc_s_suffix): Remove variable.
5525
1ad743de
JM
55262012-04-23 Joseph Myers <joseph@codesourcery.com>
5527
4ad451e2
JM
5528 * sysdeps/unix/sysv/gethostname.c: Move to ...
5529 * sysdeps/posix/gethostname.c: ... here.
5530
5e37ce39
JM
5531 * sysdeps/unix/execve.S: Remove file.
5532
1ad743de
JM
5533 * sysdeps/unix/_exit.S: Remove file.
5534
4e681b5b
AJ
55352012-04-23 Andreas Jaeger <aj@suse.de>
5536
5537 [BZ #13739]
5538 * manual/Makefile: Remove make dist support, there's no
5539 need for a stand-alone documentation tar ball.
5540 (TEXI2DVI): Define always, it's not in Makeconfig.
5541 (dist): Removed.
5542 (tar-it): Removed.
5543 (edition): Removed.
5544 (glibc-doc-$(edition).tar): Removed
5545 (%.Z): Removed.
5546 (%.gz): Removed.
5547 (%.uu): Removed.
5548 (ETAGS): Remove, it's in Makeconfig.
5549 (move-if-change): Remove, it's in Makeconfig.
5550
c0baea34
PE
55512013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 [BZ #13970]
5554 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5555 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5556 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5557 (strtod_l, strtof_l, strtold_l): Remove __wur.
5558 It is not necessarily an error to ignore strtol's return value.
5559 One can reliably look at the stored endptr to decide whether
5560 the number had valid syntax.
5561
7c0616fa
AJ
55622012-04-21 Andreas Jaeger <aj@suse.de>
5563
803cb6b7 5564 [BZ #13739]
7c0616fa
AJ
5565 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5566
b0fe253f
JM
55672012-04-21 Joseph Myers <joseph@codesourcery.com>
5568
5569 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5570 * sysdeps/unix/sysv/Versions: Remove file.
5571
8280f22d
MT
55722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5573
5574 [BZ #13927]
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5576
75ce411f 55772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5578
5579 [BZ #7064]
5580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5581 version from __vm86.
5582
097d59fa
JM
55832012-04-20 Joseph Myers <joseph@codesourcery.com>
5584
a90f3bcb
JM
5585 * sysdeps/unix/common/lxstat.c: Remove file.
5586 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5587
edc7ea78
JM
5588 * sysdeps/unix/sysv/Makefile: Remove file.
5589
cb78c221
JM
5590 * sysdeps/unix/sysv/direct.h: Remove file.
5591
efa6a45f
JM
5592 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5593 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5594 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5595 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5596 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5597 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5598 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5599
9c9f2d0c
JM
5600 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5601
4541c83b
JM
5602 * sysdeps/unix/xmknod.c: Remove file.
5603 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5604
f5d153a0
JM
5605 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5606
aa746595
JM
5607 * sysdeps/unix/sysv/i386/time.S: Remove file.
5608
cce5905e
JM
5609 * sysdeps/unix/fxstat.c: Remove file.
5610 * sysdeps/unix/xstat.c: Likewise.
5611 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5612
37fa3841
JM
5613 * sysdeps/unix/sysv/sigaction.c: Remove file.
5614
ff1962a3
JM
5615 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5616 (sysdep_headers): Remove variable.
5617 [termio.h not in sysdep_headers] (generated): Likewise.
5618 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5619 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5620 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5621 * sysdeps/unix/sysv/tcflow.c: Likewise.
5622 * sysdeps/unix/sysv/tcflush.c: Likewise.
5623 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5624 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5625 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5626 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5627 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5628
e7740d31
JM
5629 * sysdeps/unix/siglist.c: Remove file.
5630
ee06f18b
JM
5631 * sysdeps/unix/getppid.S: Remove file.
5632
097d59fa
JM
5633 * sysdeps/unix/mkdir.c: Remove file.
5634 * sysdeps/unix/rmdir.c: Likewise.
5635
ff3d51ec
AS
56362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5637
5638 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5639 ERR_MAX value.
5640 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5641 errlist-compat value.
5642
50f81fd7
DM
56432012-04-18 David S. Miller <davem@davemloft.net>
5644
5645 * sysdeps/generic/memcopy.h (reg_char): Delete.
5646 * debug/strcat_chk.c: Use char, not reg_char.
5647 * debug/strcpy_chk.c: Likewise.
5648 * debug/strncat_chk.c: Likewise.
5649 * debug/strncpy_chk.c: Likewise.
5650 * string/memchr.c: Likewise.
5651 * string/memrchr.c: Likewise.
5652 * string/rawmemchr.c: Likewise.
5653 * string/strcat.c: Likewise.
5654 * string/strchr.c: Likewise.
5655 * string/strchrnul.c: Likewise.
5656 * string/strcmp.c: Likewise.
5657 * string/strcpy.c: Likewise.
5658 * string/strncat.c: Likewise.
5659 * string/strncmp.c: Likewise.
5660 * string/strncpy.c: Likewise.
5661
8ff41c46
WS
56622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5663
5664 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5665 __builtin_memcopy is called when src and dest ranges are known to not
5666 overlap.
5667
6b652f46
WS
56682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5669
5670 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5671 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5672 fwd_align_merge macro call.
5673 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5674 bwd_align_merge macro call.
5675 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5676
b282631e
WS
56772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5678
5679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5680 bwd_align_merge macros.
5681 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5682 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5683 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5684
95aa737c
DM
56852012-04-18 David S. Miller <davem@davemloft.net>
5686
5687 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5688
7a99a614
AJ
56892012-04-18 Andreas Jaeger <aj@suse.de>
5690
5691 [BZ# 6794]
5692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5693 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5694 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5695
5696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5697 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5698 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5699
5700 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5701 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5702 Adjust for changed ldbl-128 files.
5703
5704 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5705 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5706 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5707
e5270c23
DM
57082012-04-17 David S. Miller <davem@davemloft.net>
5709
5710 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5711
fb5e92c9
AS
57122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5713
5714 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5715 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5716 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5717 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5718 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5719 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5720
76da7265
AZ
57212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5722
5723 [BZ #6794]
5724 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5725 * math/libm-test.inc: Add ilogb errno and exception tests.
5726 * math/w_ilogb.c: New file: ilogb wrapper.
5727 * math/w_ilogbf.c: New file: ilogbf wrapper.
5728 * math/w_ilogbl.c: New file: ilogbl wrapper.
5729 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5730 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5731 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5732 exception being thrown with 0.0 as argument.
5733 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5734 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5735 exception being thrown with 0.0 as argument.
5736 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5737 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5738 exception being thrown with 0.0 as argument.
5739 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5740 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5741 exception being thrown with 0.0 as argument.
5742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5743 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5745 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5747 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5748 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5749 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5750 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5751
0396e69d
PB
57522012-04-17 Petr Baudis <pasky@ucw.cz>
5753
5754 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5755 with altivec.
5756
750b5926
MP
57572012-04-16 Marek Polacek <polacek@redhat.com>
5758
5759 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5760
751728a1
MP
57612012-04-16 Marek Polacek <polacek@redhat.com>
5762
5763 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5764 operands of fdivp instruction.
5765
34a27407
L
57662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5769 * elf/tst-auditmod3b.c: Likewise.
5770 * elf/tst-auditmod4b.c: Likewise.
5771 * elf/tst-auditmod5b.c: Likewise.
5772 * elf/tst-auditmod6b.c: Likewise.
5773 * elf/tst-auditmod6c.c: Likewise.
5774 * elf/tst-auditmod7b.c: Likewise.
5775 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5776 * sysdeps/x86_64/preconfigure.in: Likewise.
5777 * sysdeps/x86_64/preconfigure: Regenerated.
5778
7e73e17d
L
57792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5780
5781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5782 __ILP32__.
5783
c7a6ab72
AB
57842012-04-13 Antoine Balestrat <merkil33@gmail.com>
5785
5786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5787 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5788
a9e8e0e0
CL
57892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5790
5791 [BZ #13973]
5792 * locale/iso-639.def: Fix gl language name. Spotted by
5793 Yaron Shahrabani.
5794
ec98af7d
RM
57952012-04-12 Roland McGrath <roland@hack.frob.com>
5796
5797 [BZ #2074]
5798 * libio/libio.h (__io_write_fn): Update comment.
5799
247c3ede
PB
58002012-04-12 Petr Baudis <pasky@ucw.cz>
5801
5802 [BZ #2074]
5803 * stdio.texi (Hook Functions): The user provided writer function
5804 is not allowed to return -1.
5805
55939d6d
DM
58062012-04-11 David S. Miller <davem@davemloft.net>
5807
5808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5809
90020f5a
MF
58102012-04-11 Mike Frysinger <vapier@gentoo.org>
5811
5812 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5813 Add a leading slash to rtkaio.
5814
288f9098
JM
58152012-04-11 Jim Meyering <meyering@redhat.com>
5816
90020f5a
MF
5817 [BZ #11959]
5818 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5819 It is not necessarily an error to ignore fwrite's return
5820 value. One can reliably use ferror to test for errors after
5821 the fact.
288f9098 5822
4be2b570
L
58232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 * bits/types.h (__snseconds_t): New type.
5826 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5827
5828 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5830 (__SNSECONDS_T_TYPE): Likewise.
5831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5832 (__SNSECONDS_T_TYPE): Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5834 (__SNSECONDS_T_TYPE): Likewise.
5835
288f9098 58362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5837
5838 [BZ #2636]
5839 * manual/time.texi (Processor Time): Return type of times is
5840 elapsed real time since an arbitrary point in the past.
5841 (CPU Time): Move CLK_TCK from here...
5842 (Processor Time): ...to here. Correct description.
5843 * manual/conf.texi (Constants for Sysconf): Correct description of
5844 _SC_CLK_TCK.
5845
d7dd4413
DM
58462012-04-10 David S. Miller <davem@davemloft.net>
5847
5848 [BZ #13967]
5849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5850 where the is a gap between DT_REL(A) and DT_JMPREL.
5851
b46068fc
L
58522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5853
5854 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5855 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5856 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5857
73d65cc3
SP
58582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5859
5860 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5861 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5862 (dl_main): Handle --inhibit-cache.
5863 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5864 _dl_inhibit_cache.
5865 * elf/dl-load.c (_dl_map_object): Use it.
5866 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5867
bcc8d661
JM
58682012-04-09 Joseph Myers <joseph@codesourcery.com>
5869
8f9a2fae
JM
5870 [BZ #13872]
5871 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5872 (__ieee754_powl): Saturate large exponents rather than testing for
5873 overflow of y*log2(x).
5874 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5875 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5876 exceptions.
5877
bcc8d661
JM
5878 [BZ #11521]
5879 * math/s_ctan.c: Include <float.h>.
5880 (__ctan): Avoid internal overflow or cancellation in calculating
5881 denominator.
5882 * math/s_ctanf.c: Likewise.
5883 * math/s_ctanl.c: Likewise.
5884 * math/s_ctanh.c: Likewise.
5885 * math/s_ctanhf.c: Likewise.
5886 * math/s_ctanhl.c: Likewise.
5887 * math/libm-test.inc (ctan_test): Add more tests.
5888 (ctanh_test): Likewise.
5889 * sysdeps/i386/fpu/libm-test-ulps: Update.
5890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5891
823fbbb4
AJ
58922012-04-09 Andreas Jaeger <aj@suse.de>
5893
03879793
AJ
5894 [BZ #6894]
5895 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5896 is an optional BSD extension.
5897
823fbbb4
AJ
5898 [BZ #10254]
5899 * manual/stdio.texi (Opening Streams): Document additional fopen
5900 parameters.
5901
8de131cb
RM
59022012-04-09 Roland McGrath <roland@hack.frob.com>
5903
5904 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5905 %eax without telling the compiler.
5906
c0ed9d7d
CD
59072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5908
5909 [BZ # 13963]
5910 * manual/install.texi: Use sourceware.org.
5911
c483f6b4
JM
59122012-04-09 Joseph Myers <joseph@codesourcery.com>
5913
d7dd9453
JM
5914 [BZ #13873]
5915 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5916 (__ieee754_pow): Generate overflow and underflow using huge*huge
5917 and tiny*tiny rather than just returning constant infinity or zero
5918 for large exponents.
5919 * math/libm-test.inc (pow_test): Require overflow exceptions for
5920 applicable cases of large exponents.
5921
c483f6b4
JM
5922 [BZ #706]
5923 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5924 (__ieee754_pow): Use iterative multiplication algorithm only for
5925 integer exponents with absolute value below 1024. Check for odd
5926 integer exponents when using algorithm for real exponents.
5927 * math/libm-test.inc (pow_test): Add more tests.
5928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5929
d2de7579
JM
59302012-04-08 Joseph Myers <joseph@codesourcery.com>
5931
5932 [BZ #13705]
5933 * math/libm-test.inc (exp_test): Do not allow overflow exception
5934 on underflow test.
5935
f77f1232
AJ
59362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5937
5938 [BZ #13705]
5939 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5940 instead of __kernel_standard_f.
5941
3884932b
MF
59422012-04-08 Mike Frysinger <vapier@gentoo.org>
5943
5944 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5945 * sysdeps/x86_64/memset_chk.S: Likewise.
5946
54472e9c
AJ
59472012-04-08 Andreas Jaeger <aj@suse.de>
5948
6ab0fbfc
AJ
5949 [BZ #10153]
5950 * manual/startup.texi (Environment Access): Describe return value
5951 for putenv and setenv.
5952
61efba8c
AJ
5953 [BZ #6895]
5954 * manual/filesys.texi (Directory Entries): Add description for
5955 DT_LNK.
5956
95c3f29a
AJ
5957 [BZ #6890]
5958 * manual/filesys.texi (Directory Entries): Clarify that it's file
5959 system not operating system in the description of DT_UNKNOWN.
5960
54472e9c
AJ
5961 [BZ #6578]
5962 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5963
624254b1
SC
59642012-04-08 Stephen Compall <s11@member.fsf.org>
5965
5966 [BZ #6649]
5967 * manual/llio.texi (Opening and Closing Files): Add cross
5968 reference to explain mode argument.
5969
1e4920e0
MF
59702012-04-07 Mike Frysinger <vapier@gentoo.org>
5971
5972 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5973 * sysdeps/x86_64/memset_chk.S: Likewise.
5974
5ed848f3
DM
59752012-04-07 David S. Miller <davem@davemloft.net>
5976
5977 * elf/elf.h (R_SPARC_WDISP10): Define.
5978 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5979 R_SPARC_SIZE32.
5980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5981 R_SPARC_SIZE64 and R_SPARC_H34.
5982
96154cd8
CD
59832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5984
5985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5986 conditions and remove no longer applicable assertion.
5987
9904dc47
L
59882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * bits/byteswap.h: Include <features.h>.
5991 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5992 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5993
f8887d0a
L
59942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * bits/byteswap.h (__bswap_16): Removed.
5997 Include <bits/byteswap-16.h> to get __bswap_16.
5998 * sysdeps/i386/bits/byteswap.h: Likewise.
5999 * sysdeps/s390/bits/byteswap.h: Likewise.
6000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6001 * bits/byteswap-16.h: New file.
6002 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6003 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6004 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6005 * string/Makefile (headers): Add bits/byteswap-16.h.
6006
62470f60
PP
60072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6008
6009 [BZ #13895]
6010 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6011 extra indirection.
6012 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6013 * nss/tst-nss-static.c: New.
6014
4dad7bab
RM
60152012-04-06 Robert Millan <rmh@gnu.org>
6016
6017 [BZ #6486]
6018 * manual/llio.texi (File Position Primitive): lseek
6019 refers to WHENCE when it really means OFFSET.
6020
e9142a17
AJ
60212012-04-06 Andreas Jaeger <aj@suse.de>
6022
2c040eff
AJ
6023 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6024 strncmp declarations.
6025
e9142a17
AJ
6026 * abilist/libc.abilist: Add __poll and __ppoll.
6027
ff9f1c5f
DM
60282012-04-05 David S. Miller <davem@davemloft.net>
6029
dcd2ae90
DM
6030 * scripts/check-local-headers.sh: Accept a host triplet in the
6031 path matched by the exclude regexp.
6032
993eb054
DM
6033 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6034 definition.
6035 * sysdeps/powerpc/powerpc32/dl-machine.h
6036 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6037 * sysdeps/s390/s390-32/dl-machine.h
6038 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6039 * sysdeps/sparc/sparc32/dl-machine.h
6040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6041 * sysdeps/sparc/sparc64/dl-machine.h
6042 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6043
ff9f1c5f
DM
6044 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6045 lazy binding.
48e2e132 6046 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6047 undefined symbol errors.
6048
48e2e132 6049 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6050 DT_NEEDED entries.
6051
e80d6f94
MM
60522012-04-05 Michael Matz <matz@suse.de>
6053
6054 [BZ #13592]
6055 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6056
349fa79f
AJ
60572012-04-05 Andreas Jaeger <aj@suse.de>
6058
6059 [BZ #13908]
6060 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6061 comment.
6062
f402708f
KK
60632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6064
6065 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6066 which ROUND is no valid rounding mode.
6067
2ecccfc9
KK
60682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6069
6070 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6071 read again.
6072 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6073
8a53f50f
KK
60742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6075
6076 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6077 an exception using FPU order intentionally.
6078
60792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6080
6081 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6082 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6083 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6084 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6085
d653abb7
SJ
60862012-04-05 Simon Josefsson <simon@josefsson.org>
6087
6088 [BZ #12340]
6089 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6090 EINVAL when BUFLEN is too smal.
6091
c3b1bf7d
TS
60922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6093
6094 [BZ #13553]
6095 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6096 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6097
b1aa60f3
AJ
60982012-04-03 Andreas Jaeger <aj@suse.de>
6099
c3b1bf7d 6100 [BZ #13938]
67f60a26
AJ
6101 * manual/setjmp.texi (System V contexts): Fix sentence.
6102
b1aa60f3
AJ
6103 [BZ #13926]
6104 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6105 New macro for this case.
6106 [!__GNUC__] (__bswap_64): New inline function for this case.
6107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6108 * bits/byteswap.h: Likewise.
6109 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6110 ull, guard with __GLIBC_HAVE_LONG_LONG.
6111
6112 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6113 __GLIBC_HAVE_LONG_LONG.
6114
6115 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6116 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6117
39c59c35
TMQMF
61182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6119
6120 [BZ #13691]
6121 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6122 inptr and inend, rather than using last_ch.
6123
135ffda8
DM
61242012-04-02 David S. Miller <davem@davemloft.net>
6125
6126 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6127 * stdio-common/printf-parse.h (read_int): Change return type to
6128 'int', return -1 on INT_MAX overflow.
6129 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6130 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6131 overflows INT_MAX. Check for overflow of in-format-string precision
6132 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6133 SIZE_MAX not INT_MAX for integer overflow test.
6134 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6135 skip the construct in the format string but do not record anything.
6136 * stdio-common/bug22.c: Adjust to test both width/prevision
6137 INT_MAX overflow as well as total length INT_MAX overflow. Check
6138 explicitly for proper errno values.
6139
228c019e
TS
61402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6141
302cadd3
TS
6142 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6143 CHAR_MAX.
6144 * string/test-strcmp.c [! WIDE]: Likewise.
6145 * time/tst-mktime2.c: Likewise for INT_MAX.
6146 * string/test-string.h: #include <sys/param.h> for MIN.
6147
228c019e
TS
6148 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6149 * sysdeps/i386/init-first.c (init): Likewise.
6150 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6151 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6152 * sysdeps/sh/init-first.c (init): Likewise.
6153
cfa633f5
UD
61542012-04-01 Ulrich Drepper <drepper@gmail.com>
6155
6156 * po/ru.po: Update from translation team.
d1635ef8 6157 * po/vi.po: Likewise.
cfa633f5 6158
6cd0a5ea
SP
61592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6160
6161 * resolv/nss_dns/dns-host.c: Merge copyright years.
6162
4b43400f
LD
61632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6164
6165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6166 Optimize memcpy with prefetch if
6167 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6168 src, dst pointers have unequal 16 byte alignments.
6169
48c41d04
SP
61702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6171
6172 [BZ #13928]
6173 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6174 from a CNAME entry and return the minimum ttl for the query.
6175 (gaih_getanswer_slice): Likewise.
6176
b8dc394d
JL
61772012-03-30 Jeff Law <law@redhat.com>
6178
6179 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6180 due to long keys.
6181 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6182 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6183
2f5a5ed0
JL
6184 * resolv/nss_dns/dns-host.c: Update copyright year.
6185
1d39e359
UD
61862012-03-30 Ulrich Drepper <drepper@gmail.com>
6187
c030f70c 6188 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6189 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6190
1d39e359
UD
6191 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6192 comments for sendmmsg.
6193
61942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6195
6196 [BZ #13691]
6197 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6198 with only 1 character between 0x0041 and 0x01b0.
6199 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6200 * wcsmbs/tst-mbsnrtowcs.c: New file.
6201
20fde227
DM
62022012-03-29 David S. Miller <davem@davemloft.net>
6203
6204 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6205 small copies by hand.
6206
984a4237
JL
62072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6208
6209 [BZ #13761]
6210 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6211 _nss_compat_initgroups_dyn): Fall back to malloc/free
6212 for large group memberships.
6213
18c9d62b
DM
62142012-03-28 David S. Miller <davem@davemloft.net>
6215
88d85d4f
DM
6216 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6217 that branches into memcpy.
6218 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6221 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6223 bits.
6224 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6225 implementation too.
6226 * sysdeps/sparc/mempcpy.S: New file.
6227
e5aa83e1
DM
6228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6229 the IFUNC routine in the libc case.
6230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6231
88570753
DM
6232 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6233 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6234 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6235 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6236 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6237 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6238 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6239 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6240
249d7567
DM
6241 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6242 loop to 256 bytes instead of 64 bytes and fix test signedness.
6243
18c9d62b
DM
6244 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6245 * sysdeps/sparc/sparc32/Makefile: rather than here...
6246 * sysdeps/sparc/sparc64/Makefile: and here.
6247
05f3d1f6
UD
62482012-03-28 Ulrich Drepper <drepper@gmail.com>
6249
6250 * malloc/mallocbug.c: Avoid warnings about unused variables.
6251
86ae07a8
JL
62522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6253
6254 [BZ #13760]
6255 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6256 in the right place. Discard and retry query if response is
6257 larger than input buffer size.
6258
41bf21a1
JM
62592012-03-28 Joseph Myers <joseph@codesourcery.com>
6260
d6270972
JM
6261 [BZ #369]
6262 [BZ #2678]
6263 [BZ #3866]
6264 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6265 x for large integer exponent.
6266 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6267 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6268 sign of result as needed afterwards.
6269 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6270 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6271 result for underflowing pow the same as for overflow.
6272 (__kernel_standard_l): Handle powl overflow and underflow here
6273 rather than calling __kernel_standard.
6274 * math/libm-test.inc (pow_test): Add more tests.
6275
414fca03 6276 [BZ #3868]
41bf21a1
JM
6277 [BZ #13879]
6278 [BZ #13910]
6279 [BZ #13911]
6280 [BZ #13912]
6281 [BZ #13913]
6282 [BZ #13915]
6283 [BZ #13916]
6284 [BZ #13917]
6285 [BZ #13918]
6286 [BZ #13919]
6287 [BZ #13920]
6288 [BZ #13921]
6289 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6290 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6291 (__kernel_standard_l): New function.
6292 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6293 __kernel_standard.
6294 * math/w_acosl.c (__acosl): Likewise.
6295 * math/w_asinl.c (__asinl): Likewise.
6296 * math/w_atan2l.c (__atan2l): Likewise.
6297 * math/w_atanhl.c (__atanhl): Likewise.
6298 * math/w_coshl.c (__coshl): Likewise.
6299 * math/w_exp10l.c (__exp10l): Likewise.
6300 * math/w_exp2l.c (__exp2l): Likewise.
6301 * math/w_fmodl.c (__fmodl): Likewise.
6302 * math/w_hypotl.c (__hypotl): Likewise.
6303 * math/w_j0l.c (__j0l, __y0l): Likewise.
6304 * math/w_j1l.c (__j1l, __y1l): Likewise.
6305 * math/w_jnl.c (__jnl, __ynl): Likewise.
6306 * math/w_lgammal.c (__lgammal): Likewise.
6307 * math/w_log10l.c (__log10l): Likewise.
6308 * math/w_log2l.c (__log2l): Likewise.
6309 * math/w_logl.c (__logl): Likewise.
6310 * math/w_powl.c (__powl): Likewise.
6311 * math/w_remainderl.c (__remainderl): Likewise.
6312 * math/w_scalbl.c (sysv_scalbl): Likewise.
6313 * math/w_sinhl.c (__sinhl): Likewise.
6314 * math/w_sqrtl.c (__sqrtl): Likewise.
6315 * math/w_tgammal.c (__tgammal): Likewise.
6316 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6317 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6318 * math/libm-test.inc (acos_test): Add more tests.
6319 (acosh_test): Likewise.
6320 (asin_test): Likewise.
6321 (atanh_test): Likewise.
6322 (exp_test): Likewise.
6323 (exp10_test): Likewise.
6324 (exp2_test): Likewise.
6325 (expm1_test): Likewise.
6326 (lgamma_test): Likewise.
6327 (log_test): Likewise.
6328 (log10_test): Likewise.
6329 (log1p_test): Likewise.
6330 (log2_test): Likewise.
6331 (pow_test): Do not allow some spurious overflow exceptions.
6332 (sqrt_test): Add more tests.
6333 (tgamma_test): Likewise.
6334 (y0_test): Likewise.
6335 (y1_test): Likewise.
6336 (yn_test): Likewise.
6337
dd62fda6
AB
63382012-03-27 Anton Blanchard <anton@samba.org>
6339
6340 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6341 MAP_HUGETLB.
6342 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6343 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6344 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6345
1e3cdfda
AJ
63462012-03-27 David S. Miller <davem@davemloft.net>
6347
b855ab85
DM
6348 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6349
1e3cdfda
AJ
6350 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6351 have-as-vis3 check.
6352
63532012-03-27 Andreas Jaeger <aj@suse.de>
6354
6355 * sysdeps/x86_64/elf/configure.in: Moved to ...
6356 * sysdeps/x86_64/configure.in: ... here.
6357 * sysdeps/x86_64/elf/start.S: Moved to ...
6358 * sysdeps/x86_64/start.S: ... here.
6359 * sysdeps/x86_64/elf/configure: Delete.
6360
6361 * sysdeps/x86_64/configure.in: Merge contents from
6362 sysdeps/i386/configure.in (without i686 check).
6363
6364 * sysdeps/i386/elf/Versions: Merge into ...
6365 * sysdeps/i386/Versions: ... this.
6366 * sysdeps/i386/elf/Versions: Delete file.
6367 * sysdeps/i386/elf/start.S: Moved to ...
6368 * sysdeps/i386/start.S: ...here.
6369 * sysdeps/i386/elf/configure.in: Merge into...
6370 * sysdeps/i386/configure.in: ...here.
6371 * sysdeps/i386/elf/configure.in: Delete file.
6372 * sysdeps/i386/elf/configure: Delete file.
6373
6374 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6375 * debug/backtracesyms.c: ... here.
6376 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6377 * debug/backtracesymsfd.c: ... here.
6378 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6379 * sysdeps/generic/ifunc-sel.h: ... here.
6380
6381 * sysdeps/unix/i386/start.c: Delete file.
6382 * sysdeps/unix/sparc/start.c: Delete file.
6383 * sysdeps/unix/start.c: Delete file.
6384
6385 * sysdeps/sh/elf/configure.in: Moved to ...
6386 * sysdeps/sh/configure.in: ... here.
6387 * sysdeps/sh/elf/start.S: Moved to ...
6388 * sysdeps/sh/start.S: ... here.
6389 * sysdeps/sh/elf/configure: Delete file.
6390
6391 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6392 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6393 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6394 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6395 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6396 * sysdeps/powerpc/powerpc64/start.S: here.
6397 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6398 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6399 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6400 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6401 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6402
6403 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6404 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6405 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6406 * sysdeps/powerpc/powerpc32/start.S: ... here.
6407 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6408 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6409 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6410
6411 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6412 * sysdeps/powerpc/ifunc-sel.h: ... here.
6413 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6414 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6415
6416 * sysdeps/sparc/elf/configure.in: Moved to ...
6417 * sysdeps/sparc/configure.in: ... here.
6418 * sysdeps/sparc/elf/configure: Delete file.
6419 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6420 * sysdeps/sparc/sparc32/start.S: ... here.
6421 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6422 * sysdeps/sparc/sparc64/start.S: ... here.
6423 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6424 * sysdeps/sparc/sparc32/Makefile: ... this.
6425 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6426 * sysdeps/sparc/sparc64/Makefile: ... this.
6427
6428 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6429 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6430 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6431 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6432 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6433 * sysdeps/s390/s390-32/setjmp.S: ... here.
6434 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6435 * sysdeps/s390/s390-32/configure.in: ... here.
6436 * sysdeps/s390/s390-32/elf/configure: Delete file.
6437 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6438 * sysdeps/s390/s390-32/start.S: ... here.
6439
6440 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6441 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6442 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6443 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6444 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6445 * sysdeps/s390/s390-64/setjmp.S: ... here.
6446 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6447 * sysdeps/s390/s390-64/configure.in: ... here
6448 * sysdeps/s390/s390-64/elf/configure: Delete file.
6449 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6450 * sysdeps/s390/s390-64/start.S: ... here.
6451 * sysdeps/s390/s390-64/elf/configure: Delete.
6452
6453 * configure.in: Remove support for elf directories in sysdeps.
6454
6455 * configure: Regenerated.
6456 * sysdeps/i386/configure: Regenerated.
6457 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6458 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6459 * sysdeps/s390/s390-32/configure: Regenerated.
6460 * sysdeps/s390/s390-64/configure: Regenerated.
6461 * sysdeps/sh/configure: Regenerated.
6462 * sysdeps/sparc/configure: Regenerated.
6463 * sysdeps/x86_64/configure: Regenerated.
6464
a3f61311
AS
64652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6466
c876e002
AS
6467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6468
a3f61311
AS
6469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6470 denormal result into account.
6471
ac4c54f0
RM
64722012-03-25 Roland McGrath <roland@hack.frob.com>
6473
6474 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6475 Reported by Allan McRae <allan@archlinux.org>.
6476
6a9b9c02
JL
64772012-03-23 Jeff Law <law@redhat.com>
6478
6479 * nss/getnssent.c (__nss_getent): Fix typo.
6480
4c42a0c1
DM
64812012-03-23 David S. Miller <davem@davemloft.net>
6482
6483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6484
1532c7ac
L
64852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6486
6487 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6488 to pad to uint64_t for each field.
6489 (dl_tls_index): Replace unsigned long with uint64_t.
6490
3ff42526
PP
64912012-03-23 Daniel Jacobowitz <dmj@google.com>
6492 Paul Pluzhnikov <ppluzhnikov@google.com>
6493
6494 [BZ #6528]
6495 * grp/Makefile (otherlibs): Don't set it.
6496 * inet/Makefile (otherlibs): Likewise.
6497 * login/Makefile (otherlibs): Likewise.
6498 * nscd/Makefile (otherlibs): Likewise.
6499 * posix/Makefile (otherlibs): Likewise.
6500 * pwd/Makefile (otherlibs): Likewise.
6501 * rt/Makefile (otherlibs): Likewise.
6502 * sunrpc/Makefile (otherlibs): Likewise.
6503 * nss/Makefile (otherlibs): Likewise.
6504 Add libnss_files to routines and static-only-routines.
6505 ($(objpfx)getent): Remove rule.
6506 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6507 static-only-routines.
6508
7c69cd14
JM
65092012-03-22 Joseph Myers <joseph@codesourcery.com>
6510
6511 [BZ #13892]
6512 * math/s_cexp.c: Include <float.h>.
6513 (__cexp): Handle exp result overflowing not necessarily
6514 overflowing both real and imaginary parts of result.
6515 * math/s_cexpf.c: Likewise.
6516 * math/s_cexpl.c: Likewise.
6517 * math/libm-test.inc (cexp_test): Add more tests.
6518 * sysdeps/i386/fpu/libm-test-ulps: Update.
6519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6520
81b035fe
L
65212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6522
6523 * include/link.h (ELFW): New macro.
6524 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6525 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6526
1da7940c
L
65272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6528
6529 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6530 with uint64_t.
6531
b749dbb9
L
65322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6535 declaration.
6536 (struct La_x32_retval): Likewise.
6537
2ff87f3f
L
65382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 * sysdeps/x86_64/preconfigure.in: New file.
6541 * sysdeps/x86_64/preconfigure: New generated file.
6542
c0df8e69
JM
65432012-03-22 Joseph Myers <joseph@codesourcery.com>
6544
48e44791
JM
6545 [BZ #13824]
6546 * math/e_exp2l.c: Include <float.h>.
6547 (__ieee754_exp2l): Handle overflow and underflow cases
6548 separately. Only pass fractional part of argument to
6549 __ieee754_expl.
6550 * math/libm-test.inc (exp2_test): Add more tests.
6551
c0df8e69
JM
6552 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6553 negating x to take absolute value.
6554 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6555 Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6558 Likewise.
6559 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6560 computing low part if x was negated.
6561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6562
c8e43ba7
L
65632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6566 la_x32_gnu_pltexit.
6567 (pltexit): Cast int_retval to ptrdiff_t.
6568 * elf/tst-auditmod3b.c: Likewise.
6569 * elf/tst-auditmod4b.c: Likewise.
6570 * elf/tst-auditmod5b.c: Likewise.
6571 * elf/tst-auditmod6b.c: Likewise.
6572 * elf/tst-auditmod6c.c: Likewise.
6573 * elf/tst-auditmod7b.c: Likewise.
6574
6575 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6576 and x32_gnu_pltexit.
6577
6578 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6579 __ELF_NATIVE_CLASS.
6580 (La_x32_regs): New macro.
6581 (La_x32_retval): Likewise.
6582 (la_x32_gnu_pltenter): New function prototype.
6583 (la_x32_gnu_pltexit): Likewise.
6584
7998fa78
AS
65852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6586
dcb33988
AS
6587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6588 exponent.
6589
233fc563
AS
6590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6591
7998fa78
AS
6592 * configure.in (libc_cv_cc_nofma): Check for option to disable
6593 generation of FMA instructions.
6594 * configure: Regenerate.
6595 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6596 * sysdeps/ieee754/dbl-64/Makefile: New file.
6597 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6598 Remove brandred-fma4.
6599 (CFLAGS-brandred-fma4.c): Remove.
6600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6602 define.
6603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6604 define.
6605
8e95c99a
L
66062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6607
6608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6609 LLONG_MAX != LONG_MAX.
6610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6611 (_fitoa_word): Likewise.
6612 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6613 LLONG_MAX != LONG_MAX.
6614 * stdio-common/_itowa.h: Include <_itoa.h>.
6615 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6616 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6617 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6618 only if not defined.
6619 (_ITOA_WORD_TYPE): Likewise.
6620 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6621 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6622
6f4db457
DM
66232012-03-21 David S. Miller <davem@davemloft.net>
6624
6625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6626
7785fe5a
L
66272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6628
6629 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6630 of x86_64 when setting libc_cv_slibdir, libdir and
6631 libc_cv_localedir.
6632 * sysdeps/unix/sysv/linux/configure: Regenerated.
6633
4535cd55
JM
66342012-03-21 Joseph Myers <joseph@codesourcery.com>
6635
6636 * manual/lang.texi (Old Varargs): Remove section.
6637 (How Variadic): Update menu.
6638 (va_start): Do not mention varargs.h.
6639
17228132
TS
66402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6641 Joseph Myers <joseph@codesourcery.com>
6642
6643 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6644 link test.
6645 * configure: Regenerated.
6646
8149f976
TS
66472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6648
05f3d1f6
UD
6649 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6650 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6651 conformtest.pl
8149f976 6652
1a4ac776
JM
66532012-03-21 Joseph Myers <joseph@codesourcery.com>
6654
be22ce65
JM
6655 * NOTES: Remove.
6656 * Makefile (files-for-dist): Remove NOTES.
6657 (NOTES): Remove rule.
6658 * README: Don't refer to NOTES.
6659 * manual/creature.texi: Don't include macros.texi.
6660 * manual/intro.texi (creature.texi): Remove comment referring to
6661 NOTES.
6662
40b601fb
JM
6663 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6664 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6665 * configure: Regenerated.
6666 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6667 LIBC_TRY_CC_OPTION.
6668 (libc_cv_as_i686): Likewise.
6669 (libc_cv_cc_avx): Likewise.
6670 (libc_cv_cc_sse2avx): Likewise.
6671 (libc_cv_cc_fma4): Likewise.
6672 (libc_cv_cc_novzeroupper): Likewise.
6673 * sysdeps/i386/configure: Regenerated.
6674
1a4ac776
JM
6675 [BZ #13883]
6676 * sysdeps/i386/fpu/s_cexp.S: Remove.
6677 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6678 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6679 * math/libm-test.inc (cexp_test): Add more tests.
6680 * sysdeps/i386/fpu/libm-test-ulps: Update.
6681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6682
a458e7fe
AM
66832012-03-21 Allan McRae <allan@archlinux.org>
6684
6685 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6686
0cb7efc5
JM
66872012-03-21 Joseph Myers <joseph@codesourcery.com>
6688
6689 [BZ #13871]
6690 * math/w_exp2.c: Do not include <float.h>.
6691 (o_threshold, u_threshold): Remove.
6692 (__exp2): Calculate result before checking finiteness and calling
6693 __kernel_standard.
6694 * math/w_exp2f.c: Likewise.
6695 * math/w_exp2l.c: Likewise.
6696 * math/libm-test.inc (exp2_test): Require overflow exception for
6697 1e6 input.
2460d3aa
JM
6698
6699 [BZ #3866]
6700 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6701 range of signed 64-bit integers before using fistpll. Remove
6702 checks for whether integers fit in mantissa bits.
6703 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6704 the range of signed 32-bit integers before using fistpl. Remove
6705 checks for whether integers fit in mantissa bits.
6706 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6707 (__ieee754_powl): Test for y outside the range of signed 64-bit
6708 integers before using fistpll. Reduce 64-bit values to 63-bit
6709 ones as needed.
6710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6711 divide-by-zero is raised for zero to large negative powers.
6712 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6713 (__ieee754_powl): Test for y outside the range of signed 64-bit
6714 integers before using fistpll. Reduce 64-bit values to 63-bit
6715 ones as needed.
6716 * math/libm-test.inc (pow_test): Add more tests.
6717
eb96ffb0
L
67182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6719
6720 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6721 <stdio-common/_itoa.h>.
6722 * debug/segfault.c: Likewise.
6723 * elf/dl-cache.c: Likewise.
6724 * elf/dl-minimal.c: Likewise.
6725 * elf/dl-misc.c: Likewise.
6726 * elf/dl-sysdep.c: Likewise.
6727 * elf/dl-version.c: Likewise.
6728 * elf/rtld.c: Likewise.
6729 * hurd/hurdsock.c: Likewise.
6730 * hurd/lookup-retry.c: Likewise.
6731 * malloc/malloc.c: Likewise.
6732 * malloc/mtrace.c: Likewise.
6733 * nscd/nscd_getgr_r.c: Likewise.
6734 * nscd/nscd_getpw_r.c: Likewise.
6735 * nscd/nscd_getserv_r.c: Likewise.
6736 * posix/getopt_init.c: Likewise.
6737 * posix/wordexp.c: Likewise.
6738 * stdio-common/_itoa.c: Likewise.
6739 * stdio-common/printf_fphex.c: Likewise.
6740 * stdio-common/vfprintf.c: Likewise.
6741 * string/_strerror.c: Likewise.
6742 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6743 * sysdeps/i386/i686/hp-timing.h: Likewise.
6744 * sysdeps/mach/_strerror.c: Likewise.
6745 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6746 * sysdeps/mach/hurd/sethostid.c: Likewise.
6747 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6748 * sysdeps/mach/xpg-strerror.c: Likewise.
6749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6751 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6752 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6754 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6755 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6756 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6757 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6758 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6759 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6760 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6761 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6762 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6763 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6764 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6767 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6768 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6769 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6770
6771 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6772
6773 * stdio-common/_itoa.h: Moved to ...
6774 * sysdeps/generic/_itoa.h: Here.
6775
6776 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6777
6778 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6779 instead of "_itoa.h" and "_itowa.h".
6780 * stdio-common/vfprintf.: Likewise.
6781
d1af992d
L
67822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6783
6784 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6785 <bits/wordsize.h>.
6786 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6787 (__signbit): Likwise.
6788 (llrintf): Likwise.
6789 (llrint): Likwise.
6790
114883e0
L
67912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6792
6793 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6794 __WORDSIZE != 64.
6795
c135cc1b
JM
67962012-03-20 Joseph Myers <joseph@codesourcery.com>
6797
6798 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6799 OVERFLOW_EXCEPTION_OK.
6800 * math/libm-test.inc ("Philosophy"): Update comment about
6801 exception testing.
6802 (OVERFLOW_EXCEPTION): Define.
6803 (OVERFLOW_EXCEPTION_OK): Likewise.
6804 (INVALID_EXCEPTION_OK): Renumber.
6805 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6806 (IGNORE_ZERO_INF_SIGN): Likewise.
6807 (test_exceptions): Handle FE_OVERFLOW.
6808 (exp10_test): Expect overflow exceptions.
6809 (exp2_test): Likewise.
6810 (expm1_test): Likewise.
6811 (nextafter_test): Likewise.
6812 (pow_test): Likewise.
6813 (scalbn_test): Likewise.
6814 (scalbln_test): Likewise.
6815
95443d88
L
68162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 * sysdeps/x86_64/bits/atomic.h
6819 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6820 64bit integer.
6821 (atomic_exchange_acq): Likewise.
6822 (__arch_exchange_and_add_body): Likewise.
6823 (__arch_add_body): Likewise.
6824 (atomic_add_negative): Likewise.
6825 (atomic_add_zero): Likewise.
6826
490df6c4
L
68272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6828
c2722551 6829 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6830 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6831
5e52b189
L
68322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6835 Check __x86_64__ instead of __WORDSIZE.
6836
a9879d4c
L
68372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6840
5df98260
DM
68412012-03-19 David S. Miller <davem@davemloft.net>
6842
e1497744
DM
6843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6844
5df98260
DM
6845 * sysdeps/sparc/fpu/fenv_private.h: New file.
6846 * sysdeps/sparc/fpu/math_private.h: Use it.
6847 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6848 Remove.
6849 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6850 (libc_feholdexcept_setroundl): Remove.
6851 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6852 Remove.
6853 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6854 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6855
b4c35121
L
68562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6857
6858 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6859 int64_t instead of long int.
6860 (INSERT_WORDS64): Likwise.
6861
56965fd7
L
68622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6863
6864 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6865 _Unwind_GetCFA return to _Unwind_Ptr first.
6866
83d1aec8
JM
68672012-03-19 Joseph Myers <joseph@codesourcery.com>
6868
1897ad44
JM
6869 [BZ #13629]
6870 * math/s_clog.c: Include <float.h>.
6871 (__clog): Scale large or subnormal inputs.
6872 * math/s_clogf.c: Likewise.
6873 * math/s_clogl.c: Likewise.
6874 * math/s_clog10.c: Include <float.h>.
6875 (M_LOG10_2): Define.
6876 (__clog10): Scale large or subnormal inputs.
6877 * math/s_clog10f.c: Likewise.
6878 * math/s_clog10l.c: Likewise.
6879 * math/libm-test.inc (clog_test): Add more tests.
6880 (clog10_test): Likewise.
6881 * sysdeps/i386/fpu/libm-test-ulps: Update.
6882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6883
7726d6a9
JM
6884 [BZ #11451]
6885 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6886 x and y.
6887 * math/libm-test.inc (atan2_test): Add another test.
6888
83d1aec8
JM
6889 * Makerules (common-objdir-compile): Remove.
6890 * sysdeps/unix/Makefile (config-generated): Do not add
6891 $(unix-generated) to variable.
6892 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6893 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6894 Remove rule.
6895 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6896 Likewise.
6897 [generic bits/local_lim.h] (before-compile): Do not append to
6898 variable.
6899 [generic bits/local_lim.h] (common-generated): Likewise.
6900 [generic sys/param.h] (before-compile): Do not append to variable.
6901 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6902 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6903 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6904 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6905 include.
6906 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6907 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6908 [generic sys/param.h] ($(addprefix
6909 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6910 [generic sys/param.h] (common-generated): Do not append to
6911 variable.
6912 [generic sys/param.h] (sysdep_headers): Likewise.
6913 [generic bits/errno.h] (before-compile): Do not append to
6914 variable.
6915 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6916 rule.
6917 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6918 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6919 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6920 [generic bits/errno.h] (common-generated): Do not append to
6921 variable.
6922 [generic bits/ioctls.h] (before-compile): Do not append to
6923 variable.
6924 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6925 rule.
6926 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6927 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6928 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6929 rule.
6930 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6931 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6932 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6933 [generic bits/ioctls.h] (common-generated): Do not append to
6934 variable.
6935 [generic sys/syscall.h] (syscall.h): Remove variable.
6936 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6937 rule.
6938 [generic sys/syscall.h] (before-compile): Do not append to
6939 variable.
6940 [generic sys/syscall.h] (common-generated): Likewise.
6941 * sysdeps/unix/errnos-tmpl.c: Remove file.
6942 * sysdeps/unix/errnos.awk: Likewise.
6943 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6944 * sysdeps/unix/ioctls.awk: Likewise.
6945 * sysdeps/unix/mk-local_lim.c: Likewise.
6946 * sysdeps/unix/snarf-ioctls: Likewise.
6947
4851a949
RH
69482012-03-19 Richard Henderson <rth@twiddle.net>
6949
bd37f2ee
RH
6950 * sysdeps/i386/fpu/fenv_private.h: New file.
6951 * sysdeps/i386/fpu/math_private.h: Use it.
6952 (math_opt_barrier, math_force_eval): Remove.
6953 (libc_feholdexcept_setround_53bit): Remove.
6954 (libc_feupdateenv_53bit): Remove.
6955 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6956 (math_opt_barrier, math_force_eval): Remove.
6957 (libc_feholdexcept): Remove.
6958 (libc_feholdexcept_setround): Remove.
6959 (libc_fetestexcept, libc_fesetenv): Remove.
6960 (libc_feupdateenv_test): Remove.
6961 (libc_feupdateenv, libc_feholdsetround): Remove.
6962 (libc_feresetround): Remove.
6963
d0adc922
RH
6964 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6965 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6966
0fe0f1f8
RH
6967 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6968 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6969 (libc_feupdateenv_testl): New.
6970 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6971 (libc_feupdateenv_testf): New.
6972 (libc_feupdateenv): Use libc_feupdateenv_test.
6973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6975
eb92c487
RH
6976 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6977 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6978 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6979 (libc_feresetround_noex): New.
6980 (libc_feresetround_noexf): New.
6981 (libc_feresetround_noexl): New.
6982 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6983 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6984 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6986 SET_RESTORE_ROUND.
6987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6989 (__cos): Likewise.
6990 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6991 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6992 SET_RESTORE_ROUND_NOEX.
6993 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6994 SET_RESTORE_ROUND_NOEXF.
6995 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6996 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6997 (libc_feholdsetroundf): New.
6998 (libc_feresetround, libc_feresetroundf): New.
6999
7d2e8012
RH
7000 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7001 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7002 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7003
b4dabbb4
RH
7004 * sysdeps/generic/math_private.h: Include <fenv.h>.
7005 (default_libc_feholdexcept): New.
7006 (default_libc_feholdexcept_setround): New.
7007 (default_libc_fesetenv, default_libc_feupdateenv): New.
7008 (libc_feholdexcept): Only define if undefined.
7009 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7010 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7011 (libc_feholdexcept_setroundl): Likewise.
7012 (libc_feholdexcept_setround_53bit): Likewise.
7013 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7014 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7015 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7016 (libc_feupdateenv_53bit): Likewise.
7017 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7018 (libc_feholdexcept): Convert from macro to inline function.
7019 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7020 (libc_fesetenv, libc_feupdateenv): Likewise.
7021
4851a949
RH
7022 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7023 not previously defined.
7024 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7025 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7026 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7027 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7028 * sysdeps/ieee754/flt-32/math_private.h: New file.
7029 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7030 math_private.h below SET_FLOAT_WORD.
7031 (__isnan, __isinf_ns, __finite): Remove.
7032 (__isnanf, __isinf_nsf, __finitef): Remove.
7033
e79d442e
AS
70342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7035
7036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7037
90b80344
DM
70382012-03-17 David S. Miller <davem@davemloft.net>
7039
7040 [BZ #6471]
7041 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7042 for 2.16.
7043
edc21804
DM
70442012-03-16 David S. Miller <davem@davemloft.net>
7045
77e927af
DM
7046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7047 warnings.
7048
374976dd
DM
7049 [BZ #6471]
7050 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7051 properly.
7052 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7053 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7054 sysdep_routines when subdir is sysvipc.
7055 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7056 __getshmlba helper.
7057
edc21804
DM
7058 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7059
473c3ef3
L
70602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7063 [__LP64__].
7064
eb0f39b6
L
70652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7066
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7069 (__lround): Renamed to ...
7070 (__llround): This. Replace long int with long long int.
7071 Define lround functions as aliases of llround functions.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7073
6b6cd74b
L
70742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7075
7076 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7077 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7078 adresses to uintptr_t. Replace "long int" and "unsigned long
7079 int" with "greg_t" on va_arg.
7080
f1a77b01
L
70812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7082
7083 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7084 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7085
7086 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7087 Move e_machine check before EI_CLASS check. Handle x32
7088 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7089 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7090 SKIP_EM_IA_64 and include
7091 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7092
7093 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7094 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7095 (add_system_dir): New macro.
7096
7097 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7098 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7099
11b90b9f
JM
71002012-03-16 Joseph Myers <joseph@codesourcery.com>
7101
c36e1d23
JM
7102 [BZ #2551]
7103 [BZ #2552]
7104 [BZ #2553]
7105 [BZ #2554]
7106 [BZ #2562]
7107 [BZ #2563]
7108 [BZ #2565]
7109 [BZ #2566]
7110 [BZ #2576]
7111 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7112 (y0): Likewise.
7113 * math/w_j0f.c (j0f): Likewise.
7114 (y0f): Likewise.
7115 * math/w_j0l.c (__j0l): Likewise.
7116 (__y0l): Likewise.
7117 * math/w_j1.c (j1): Likewise.
7118 (y1): Likewise.
7119 * math/w_j1f.c (j1f): Likewise.
7120 (y1f): Likewise.
7121 * math/w_j1l.c (__j1l): Likewise.
7122 (__y1l): Likewise.
7123 * math/w_jn.c (jn): Likewise.
7124 (yn): Likewise.
7125 * math/w_jnf.c (jnf): Likewise.
7126 (ynf): Likewise.
7127 * math/w_jnl.c (__jnl): Likewise.
7128 (__ynl): Likewise.
7129 * math/libm-test.inc (j0_test): Add more tests.
7130 (j1_test): Likewise.
7131 (jn_test): Likewise. Add trailing semicolon to existing test.
7132 (y0_test): Likewise.
7133 (y1_test): Likewise.
7134 * sysdeps/i386/fpu/libm-test-ulps: Update.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7136
11b90b9f
JM
7137 [BZ #13851]
7138 [BZ #13854]
7139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7140 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7141 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7142 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7143 (__tanl): Set errno for infinite argument.
7144 * sysdeps/i386/fpu/mptan.c: Remove.
7145 * sysdeps/i386/fpu/s_tan.S: Likewise.
7146 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7147 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7148 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7149 * math/libm-test.inc (tan_test): Add more tests and enable more
7150 tests for double and long double.
7151 * sysdeps/i386/fpu/libm-test-ulps: Update.
7152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7153
6a1bd2a1
JK
71542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7157 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7158
10a803e0
RM
71592012-03-16 Roland McGrath <roland@hack.frob.com>
7160
7161 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7162 * configure.in: Use it for both main tree and add-ons.
7163 * configure: Regenerated.
7164
f196c7f7
L
71652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7168
8848d99d
JM
71692012-03-16 Joseph Myers <joseph@codesourcery.com>
7170
96cbe7f4
JM
7171 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7172 in comment.
7173
8848d99d
JM
7174 [BZ #13851]
7175 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7176 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7180 infinite argument.
7181 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7183 != 0 for prec == 2.
7184 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7185 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7186 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7187 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7188 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7189 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7190 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7191 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7192 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7193 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7194 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7195 * math/libm-test.inc (cos_test): Add more tests and enable more
7196 tests for long double.
7197 (sin_test): Likewise.
7198 (sincos_test): Likewise.
7199 * sysdeps/i386/fpu/libm-test-ulps: Update.
7200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201
dd7f4703
DM
72022012-03-16 David S. Miller <davem@davemloft.net>
7203
7204 * sysdeps/sparc/fpu/math_private.h: New file.
7205
006f1daa
DM
72062012-03-15 David S. Miller <davem@davemloft.net>
7207
c0c83bc8
DM
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7209 file.
e6a62e18 7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7212 file.
e6a62e18
DM
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7219 sysdep routines.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7221
88cb87d9
DM
7222 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7223 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7224
006f1daa 7225 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7227 sparc-ifunc.h
006f1daa 7228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7230 Likewise.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7232 Likewise.
006f1daa
DM
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7237 Likewise.
006f1daa
DM
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7243 Likewise.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7245 Likewise.
006f1daa
DM
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7252 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7270
11e0098e
AS
72712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7272
7273 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7274 scaling.
7275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7276
e85b09d0
AJ
72772012-03-15 Andreas Jaeger <aj@suse.de>
7278
7279 [BZ #13852]
7280 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7281 ieee754/flt-32 implementation for sin, cos and sincos.
7282 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7283 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7284 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7285 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7286 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7287 ieee754/flt-32 implementation for tan.
7288
7289 * math/libm-test.inc (cos_test): Enable some large input tests for
7290 float as well
7291 (sin_test): Likewise.
7292 (sincos_test): Likewise.
7293 (tan_test): Add tests for large input.
7294
7295 * sysdeps/i386/fpu/libm-test-ulps: Update.
7296
81c64153
AJ
72972012-03-15 Andreas Jaeger <aj@suse.de>
7298
7299 [BZ #13658]
7300 * math/libm-test.inc (cos_test): Add more test cases.
7301 (sin_test): Likewise.
7302 (sincos_test): Likewise.
7303
7bbfa5c6
AJ
73042012-03-15 Andreas Jaeger <aj@suse.de>
7305
7306 [BZ #13837]
7307 * math/libm-test.inc (cos_test): Add a test case for large input
7308 value.
7309 (sin_test): Likewise.
7310 (sincos_test): Likewise.
7311
73122012-03-15 Andreas Jaeger <aj@suse.de>,
7313 Joseph Myers <joseph@codesourcery.com>
7314
7315 [BZ #13658]
0671f479 7316 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7317 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7318 * sysdeps/i386/fpu/branred.c: Likewise.
7319 * sysdeps/i386/fpu/dosincos.c: Likewise.
7320 * sysdeps/i386/fpu/mpa.c: Likewise.
7321 * sysdeps/i386/fpu/s_cos.S: Likewise.
7322 * sysdeps/i386/fpu/s_sin.S: Likewise.
7323 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7324 * sysdeps/i386/fpu/sincos32.c: Likewise.
7325
7326 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7327 Define.
7328 (libc_feupdateenv_53bit): Define.
7329 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7330 Define.
7331 (libc_feupdateenv_53bit): Define.
7332
7333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7334 53 bit (without extend i386 double precision).
7335
7336 * math/libm-test.inc (sincos_test): Add tests for large input.
7337 (sin): Likewise.
7338 (cos): Likewise.
7339
7340 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7341
9cad04ea
AS
73422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7343
7344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7345
f7062b9a
DM
73462012-03-15 David S. Miller <davem@davemloft.net>
7347
7348 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7349 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7350 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7351 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7364 file.
f7062b9a 7365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7367 file.
f7062b9a 7368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7370 file.
f7062b9a 7371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7373 file.
f7062b9a
DM
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7376 fmin/fmax sysdep routines.
7377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7378
7bd951ff
DM
73792012-03-14 David S. Miller <davem@davemloft.net>
7380
559398ab
DM
7381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7410 routines.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7412 file.
559398ab 7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7415 file.
559398ab 7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7418 file.
559398ab 7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7421 file.
559398ab 7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7424 file.
559398ab 7425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7427 file.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7429 file.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7431 file.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7433 file.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7435 New file.
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7437 file.
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7439 file.
559398ab 7440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7442 file.
559398ab 7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7445 file.
559398ab 7446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7448 file.
559398ab 7449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7451 VIS3 routines.
559398ab
DM
7452
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7454 New file.
7455
5a1c1e32
DM
7456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7457
eae47a36
DM
7458 * sysdeps/sparc/configure.in: New file.
7459 * sysdeps/sparc/configure: Generate.
7460 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7461 * configure: Regenerate.
7462 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7463 * config.make.in (have-as-vis3): New.
7464 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7465 available use -Av9d instead of -Av9a.
7466 * sysdeps/sparc/sparc64/Makefile: Likewise.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7469 New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7471 file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7473 New file.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7475 file.
eae47a36
DM
7476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7481
c0c83bc8
DM
7482 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7483 fzeros/fnegs to load 0x80000000 into a float register instead of
7484 using the stack.
7bd951ff
DM
7485 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7486
bd951ccb
JM
74872012-03-14 Joseph Myers <joseph@codesourcery.com>
7488
7489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7490 bits/syscall.h.
7491 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7492 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7493 ($(inst_includedir)/bits/syscall.h): Remove rule.
7494 ($(objpfx)bits/syscall.d): Include instead of
7495 $(objpfx)syscall-list.d.
7496 (generated): Change syscall-list.h and syscall-list.d to
7497 bits/syscall.h and bits/syscall.d.
7498
bb4e6db2
RM
74992012-03-14 Roland McGrath <roland@hack.frob.com>
7500
7501 [BZ #13846]
7502 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7503
aa4a2ae1
JM
75042012-03-14 Joseph Myers <joseph@codesourcery.com>
7505
e456826d
JM
7506 [BZ #13841]
7507 * math/s_csqrt.c: Include <float.h>.
7508 (__csqrt): Scale large or subnormal inputs.
7509 * math/s_csqrtf.c: Likewise.
7510 * math/s_csqrtl.c: Likewise.
7511 * math/libm-test.inc (csqrt_test): Add more tests.
7512 * sysdeps/i386/fpu/libm-test-ulps: Update.
7513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514
aa4a2ae1
JM
7515 [BZ #13840]
7516 * math/libm-test.inc (hypot_test): Add more tests.
7517
7c10fd35
DM
75182012-03-13 David S. Miller <davem@davemloft.net>
7519
7520 [BZ #13840]
7521 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7522 double-precision for the calculation instead of scaling.
7523
f453b98b
JM
75242012-03-13 Joseph Myers <joseph@codesourcery.com>
7525
7526 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7527 manipulate bits before adding and subtracting TWO52[sx].
7528 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7530 Likewise.
7531 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7532
09a3453f
DM
75332012-03-13 David S. Miller <davem@davemloft.net>
7534
8e59da90
DM
7535 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7536 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7538 rtld-global-offsets.h
7539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7540
2a8ab7f2
DM
7541 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7542 large parameters.
7543
10f62770
DM
7544 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7545
5f0bdb18
DM
7546 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7547 'err' in the ifdef scope in which it is actually used.
7548
09a3453f
DM
7549 * nss/nss_db/db-init.c: Include string.h
7550
b4b2eb5e
DM
75512012-03-12 David S. Miller <davem@davemloft.net>
7552
98bb2f1c
DM
7553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7554 masking out of the most significant byte of random value used.
7555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7556 Fix coding style in previous change.
7557
b4b2eb5e
DM
7558 * sysdeps/unix/sysv/linux/kernel-features.h
7559 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7560 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7561 expression.
7562 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7563 later.
7564
6e226b09
DM
75652012-03-11 David S. Miller <davem@davemloft.net>
7566
a1bcbd40
DM
7567 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7568 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7570 for 'resultvar' otherwise things get truncated on 64-bit.
7571
cb9d6174
DM
7572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7573 Fix masking out of the most significant byte of random value used.
7574
6e226b09
DM
7575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7576
058c132d
AS
75772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7578
7579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7580
2d2cd515
DM
75812012-03-09 David S. Miller <davem@davemloft.net>
7582
7583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7584 variables with appropriate CPP guards.
7585 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7586 frame pointer, not the stack pointer. Correct layout comments. Fix test
7587 on resulting framesize and the management of the outregs buffer for pltexit.
7588 Preserve floating point return values across _dl_call_pltexit call.
7589 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7590 framesize and the management of the outregs buffer for pltexit.
7591 Preserve floating point return values across _dl_call_pltexit
7592 call.
7593 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7594 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7595 (print_exit): Fix format string for return register value.
7596
9a07f9d0
JM
75972012-03-10 Joseph Myers <joseph@codesourcery.com>
7598
7599 * sunrpc/Makefile (others): Add rpcgen.
7600 ($(objpfx)rpcgen): Remove special build rule and dependency on
7601 libc.
7602 * sunrpc/rpcgen.c: New file.
7603
547b5e30
PE
76042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7605
c524201a
PE
7606 [BZ #13673]
7607 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7608 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7609 * sysdeps/i386/crti.S: Likewise.
7610 * sysdeps/i386/crtn.S: Likewise.
7611 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7612 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7613 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7614 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7615 * sysdeps/sh/crti.S: Likewise.
7616 * sysdeps/sh/crtn.S: Likewise.
7617 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7618
7b6235f2
PE
7619 [BZ #13673]
7620 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7621 with URL.
7622 * locale/programs/locfile-kw.gperf: Likewise.
7623 * locale/programs/charmap-kw.h: Regenerated.
7624 * locale/programs/locfile-kw.h: Likewise.
7625
547b5e30
PE
7626 [BZ #13673]
7627 * intl/plural.y: Replace FSF snail mail address with URL.
7628 * intl/plural.c: Regenerated.
7629
5f0a5dae
RH
76302012-03-09 Richard Henderson <rth@twiddle.net>
7631
7632 * include/math_private.h: Remove file.
7633 * math/math_private.h: Move file ...
7634 * sysdeps/generic/math_private.h: ... here.
7635
b8c03620
RH
7636 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7637 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7638 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7639
4e234f5d 7640 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7641 and <math_private.h>.
7642 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7643 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7644 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7645 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7646 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7730 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7731 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7732 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7733 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7735 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7736 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7737 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7742 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7743 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7744 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7745 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7747 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7749 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7754 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7766 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7767 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7769 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7772 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7780 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7781 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7783 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7784 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7785 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7786 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7787 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7788 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7789 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7790 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7791 * sysdeps/ieee754/k_standard.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7929 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7930 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7935 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7942 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7944 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7952 * sysdeps/ieee754/s_lib_version.c: Likewise.
7953 * sysdeps/ieee754/s_matherr.c: Likewise.
7954 * sysdeps/ieee754/s_signgam.c: Likewise.
7955 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7956 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7957 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7958 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7959 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7961 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7962 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7963 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7964 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7965 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7966 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7967 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7969 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7970 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7972 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7973 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7976
1991fa03
JM
79772012-03-09 Joseph Myers <joseph@codesourcery.com>
7978
7979 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7980 * sunrpc/rpc_main.c: Likewise.
7981 * sunrpc/rpc_svcout.c: Likewise.
7982
60d6f5a6
DM
79832012-03-09 David S. Miller <davem@davemloft.net>
7984
7985 * include/math_private.h: New file.
7986
4962050e
JM
79872012-03-09 Joseph Myers <joseph@codesourcery.com>
7988
02a6f887
JM
7989 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7990 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7991 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7992 from <bits/socket_type.h>.
7993 (enum __socket_type): Don't define here.
7994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7996 bits/socket_type.h.
7997
c6e013c1
JM
7998 [BZ #13566]
7999 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8000 checking __USE_GNU.
8001
4962050e
JM
8002 * Makerules ($(inst_includedir)/%.h): New rule.
8003 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8004 (install-others): Remove variable setting.
8005 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8006
38842f45
RH
80072012-03-08 Richard Henderson <rth@twiddle.net>
8008
67bb6da6
RH
8009 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8010 from macro to inline function; merge with the
8011 !__LIBC_INTERNAL_MATH_INLINES version.
8012 (__ieee754_sqrtf): Likewise.
8013
15194b4b
RH
8014 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8015 to inline function.
8016 (__rintf, __floor, __floorf): Likewise.
8017
64e21ede
RH
8018 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8019 macro to inline function.
8020 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8021
38842f45
RH
8022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8023 not <math/math_private.h>.
8024
c64bf5fe
DM
80252012-03-08 David S. Miller <davem@davemloft.net>
8026
8027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8028 copyright year.
8029 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8030
82d86f28
TS
80312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8032
8033 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8034 normalization.
8035 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8036 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8037
aea5d727
UD
80382012-03-08 Ulrich Drepper <drepper@gmail.com>
8039
8040 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8041 be defined individually, they must be defined as a block. Define
8042 S for printing a string instead of hidint the different by using a
8043 macro for adding the 'l'.
8044 * stdio-common/tst-fphex-wide.c: Adjust.
8045
70bca0a3
MP
80462012-03-07 Marek Polacek <polacek@redhat.com>
8047
8048 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8049
65b81130
MP
80502012-03-08 Marek Polacek <polacek@redhat.com>
8051
8052 [BZ #13806]
8053 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8054 * stdio-common/tst-fphex.c: Define a few macros to make the
8055 test reusable. Use them.
8056 * stdio-common/tst-fphex-wide.c: New file.
8057
07037eeb
JM
80582012-03-08 Joseph Myers <joseph@codesourcery.com>
8059
a7a93d50
JM
8060 [BZ #6911]
8061 * manual/macros.texi (gnusystems): New macro.
8062 (nongnusystems): Likewise.
8063 (gnulinuxhurdsystems): Likewise.
8064 (gnuhurdsystems): Likewise..
8065 (gnulinuxsystems): Likewise.
8066 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8067 variants of the GNU system, not "GNU system".
8068 * manual/conf.texi: Likewise.
8069 * manual/errno.texi: Likewise. Update example of errno macro
8070 expansion.
8071 * manual/filesys.texi: Likewise.
8072 (getumask): Document as specific to GNU/Hurd.
8073 * manual/install.texi: Likewise. Reword some references to
8074 GNU/Linux.
8075 * manual/intro.texi: Likewise.
8076 * manual/io.texi: Likewise.
8077 (File Name Portability): Detail which constraints are inapplicable
8078 to all GNU systems and which are only inapplicable to GNU/Hurd.
8079 * manual/job.texi: Likewise.
8080 * manual/llio.texi: Likewise.
8081 (O_NOCTTY): Document as present on GNU/Linux.
8082 * manual/maint.texi: Likewise.
8083 * manual/memory.texi: Likewise.
8084 * manual/pattern.texi: Likewise.
8085 * manual/pipe.texi: Likewise.
8086 * manual/process.texi: Likewise.
8087 * manual/resource.texi: Likewise.
8088 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8089 child on GNU/Hurd.
8090 * manual/setjmp.texi: Likewise.
8091 * manual/signal.texi: Likewise.
8092 * manual/startup.texi: Likewise.
8093 * manual/stdio.texi: Likewise.
8094 * manual/terminal.texi: Likewise.
8095 (ONLCR): Document as POSIX.
8096 (OXTABS): Document availability on GNU/Linux as XTABS.
8097 (ONOEOT): Document availability separately from other bits.
8098 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8099 * manual/time.texi: Likewise.
8100 * manual/users.texi: Likewise.
8101 * INSTALL: Regenerated.
8102 * sysdeps/gnu/errlist.c: Regenerated.
8103
07037eeb
JM
8104 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8105 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8106 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8107 puts.
8108 * configure: Regenerated.
8109
d1d3431a
JM
81102012-03-07 Joseph Myers <joseph@codesourcery.com>
8111
af6a1e37
JM
8112 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8113 default includes instead of AC_HEADER_CHECK.
8114 * sysdeps/i386/configure: Regenerated.
8115
d1d3431a
JM
8116 [BZ #10716]
8117 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8118 * math/s_cacoshf.c (__cacoshf): Likewise.
8119 * math/s_cacoshl.c (__cacoshl): Likewise.
8120 * math/s_casinh.c (__casinh): Set signs of result from argument.
8121 * math/s_casinhf.c (__casinhf): Likewise.
8122 * math/s_casinhl.c (__casinhl): Likewise.
8123 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8124 (casinh_test): Add more tests.
8125 * sysdeps/i386/fpu/libm-test-ulps: Update.
8126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8127
482ff4da
UD
81282012-03-07 Ulrich Drepper <drepper@gmail.com>
8129
872fda05
UD
8130 * po/zh_TW.po: Update from translation team.
8131
a4300c7a
UD
8132 * login/Makefile (distribute): Remove variable.
8133 * catgets/Makefile: Likewise.
8134 * mach/Makefile: Likewise.
8135 * malloc/Makefile: Likewise.
8136 * misc/Makefile: Likewise.
8137 * iconv/Makefile: Likewise.
8138 * nscd/Makefile: Likewise.
8139 * hurd/Makefile: Likewise.
8140 * manual/Makefile: Likewise.
8141 * locale/Makefile: Likewise.
8142 * intl/Makefile: Likewise.
8143 * conform/Makefile: Likewise.
8144 * nss/Makefile: Likewise.
8145 * time/Makefile: Likewise.
8146 * soft-fp/Makefile: Likewise.
8147 * dirent/Makefile: Likewise.
8148 * gmon/Makefile: Likewise.
8149 * po/Makefile: Likewise.
8150 * rt/Makefile: Likewise.
8151 * socket/Makefile: Likewise.
8152 * math/Makefile: Likewise.
8153 * signal/Makefile: Likewise.
8154 * debug/Makefile: Likewise.
8155 * elf/Makefile: Likewise.
8156 * timezone/Makefile: Likewise.
8157 * stdlib/Makefile: Likewise.
8158 * iconvdata/Makefile: Likewise.
8159 * sunrpc/Makefile: Likewise.
8160 * io/Makefile: Likewise.
8161 * argp/Makefile: Likewise.
8162 * inet/Makefile: Likewise.
8163 * hesiod/Makefile: Likewise.
8164 * grp/Makefile: Likewise.
8165 * csu/Makefile: Likewise.
8166 * wctype/Makefile: Likewise.
8167 * crypt/Makefile: Likewise.
8168 * libio/Makefile: Likewise.
8169 * string/Makefile: Likewise.
8170 * nis/Makefile: Likewise.
8171 * resolv/Makefile: Likewise.
8172 * stdio-common/Makefile: Likewise.
8173 * wcsmbs/Makefile: Likewise.
8174 * dlfcn/Makefile: Likewise.
8175 * posix/Makefile: Likewise.
8176
3b7c4e74 8177 [BZ #6959]
482ff4da
UD
8178 * timezone/Makefile: Don't install timezone files, just the programs
8179 and scripts.
8180
f72ed77d
UD
81812012-03-06 Ulrich Drepper <drepper@gmail.com>
8182
a000466f
UD
8183 * nss/databases.def: Add missing gshadow entry.
8184
f72ed77d
UD
8185 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8186
a53b7a4e
MP
81872012-03-06 Marek Polacek <polacek@redhat.com>
8188
8189 [BZ #13726]
8190 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8191 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8192 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8193 * stdio-common/tst-long-dbl-fphex.c: New file.
8194
e9258400
DM
81952012-03-06 David S. Miller <davem@davemloft.net>
8196
8197 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8198 (set_obp_int): New function.
8199 (get_obp_int): New function.
8200 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8202 Avoid unused variable warnings on 'val' and use builtin_expect.
8203 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8204 __builtin_expect.
e9258400
DM
8205 (INLINE_CLONE_SYSCALL): Likewise.
8206
3bd2c723
DM
82072012-03-05 David S. Miller <davem@davemloft.net>
8208
8209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8210
bbb78d03
AS
82112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8212
884c5db4
AS
8213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8214
bbb78d03
AS
8215 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8216 only for |x| >= 40.
8217 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8218
1c9f702a 82192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8220
8221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8222 Replace gettimeofday with __vdso_gettimeofday.
8223
7be16f82
RM
8224 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8225 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8226 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8227
8228 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8229 time with __vdso_time.
8230
ed58a00f
JM
82312012-03-05 Joseph Myers <joseph@codesourcery.com>
8232
8233 * manual/lang.texi (size_t): Note types to which size_t may be
8234 equivalent with the GNU C Library, but do not describe when
8235 differences between them are significant.
8236
30ee4ced
AJ
82372012-03-05 Andreas Jaeger <aj@suse.de>
8238
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240
b7cd39e8
JM
82412012-03-05 Joseph Myers <joseph@codesourcery.com>
8242
8243 [BZ #3976]
8244 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8245 (__ieee754_pow): Save and restore rounding mode and use
8246 round-to-nearest for main computations.
8247 * math/libm-test.inc (pow_test_tonearest): New function.
8248 (pow_test_towardzero): Likewise.
8249 (pow_test_downward): Likewise.
8250 (pow_test_upward): Likewise.
8251 (main): Call the new functions.
8252 * sysdeps/i386/fpu/libm-test-ulps: Update.
8253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8254
8255 [BZ #3976]
8256 * math/libm-test.inc (cosh_test_tonearest): New function.
8257 (cosh_test_towardzero): Likewise.
8258 (cosh_test_downward): Likewise.
8259 (cosh_test_upward): Likewise.
8260 (sinh_test_tonearest): Likewise.
8261 (sinh_test_towardzero): Likewise.
8262 (sinh_test_downward): Likewise.
8263 (sinh_test_upward): Likewise.
8264 (main): Call the new functions.
8265 * sysdeps/i386/fpu/libm-test-ulps: Update.
8266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267
6c6a98c9
TV
82682012-03-05 Tom de Vries <tom@codesourcery.com>
8269
8270 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8271 default stack guard is set in last bytes.
8272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8273
21bb2d2e 82742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8275
21bb2d2e 8276 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8277
21bb2d2e
AJ
8278 [BZ #13656]
8279 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8280 possibly allocate from heap instead of stack.
8281 * stdio-common/bug-vfprintf-nargs.c: New file.
8282 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8283
c6922934
AS
82842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8285
8286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8287
bc957d53
MP
82882012-03-03 Marek Polacek <polacek@redhat.com>
8289
8290 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8291 * math/math_private.h: Likewise.
8292 * stdlib/tst-strtod.c: Likewise.
8293 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8294 * sysdeps/x86_64/bits/atomic.h: Likewise.
8295
6358490d
DM
82962012-03-02 David S. Miller <davem@davemloft.net>
8297
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8302 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8306
01ae168d
RM
83072012-03-02 Roland McGrath <roland@hack.frob.com>
8308
d9a17c07
RM
8309 [BZ #13792]
8310 * manual/examples/README: New file, says the example source files
8311 can be used under GPL>=2.
8312 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8313 line containing just "*/".
8314 * manual/examples/add.c: Add copyright header (GPL>=2).
8315 * manual/examples/argp-ex1.c: Likewise.
8316 * manual/examples/argp-ex2.c: Likewise.
8317 * manual/examples/argp-ex3.c: Likewise.
8318 * manual/examples/argp-ex4.c: Likewise.
8319 * manual/examples/atexit.c: Likewise.
8320 * manual/examples/db.c: Likewise.
8321 * manual/examples/dir.c: Likewise.
8322 * manual/examples/dir2.c: Likewise.
8323 * manual/examples/execinfo.c: Likewise.
8324 * manual/examples/filecli.c: Likewise.
8325 * manual/examples/filesrv.c: Likewise.
8326 * manual/examples/fmtmsgexpl.c: Likewise.
8327 * manual/examples/genpass.c: Likewise.
8328 * manual/examples/inetcli.c: Likewise.
8329 * manual/examples/inetsrv.c: Likewise.
8330 * manual/examples/isockad.c: Likewise.
8331 * manual/examples/longopt.c: Likewise.
8332 * manual/examples/memopen.c: Likewise.
8333 * manual/examples/memstrm.c: Likewise.
8334 * manual/examples/mkfsock.c: Likewise.
8335 * manual/examples/mkisock.c: Likewise.
8336 * manual/examples/mygetpass.c: Likewise.
8337 * manual/examples/pipe.c: Likewise.
8338 * manual/examples/popen.c: Likewise.
8339 * manual/examples/rprintf.c: Likewise.
8340 * manual/examples/search.c: Likewise.
8341 * manual/examples/select.c: Likewise.
8342 * manual/examples/setjmp.c: Likewise.
8343 * manual/examples/sigh1.c: Likewise.
8344 * manual/examples/sigusr.c: Likewise.
8345 * manual/examples/stpcpy.c: Likewise.
8346 * manual/examples/strdupa.c: Likewise.
8347 * manual/examples/strftim.c: Likewise.
8348 * manual/examples/strncat.c: Likewise.
8349 * manual/examples/subopt.c: Likewise.
8350 * manual/examples/swapcontext.c: Likewise.
8351 * manual/examples/termios.c: Likewise.
8352 * manual/examples/testopt.c: Likewise.
8353 * manual/examples/testpass.c: Likewise.
8354 * manual/examples/timeval_subtract.c: Likewise.
8355
01ae168d
RM
8356 [BZ #13792]
8357 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8358 function to ...
8359 * manual/timeval_subtract.c.texi: ... here, new file.
8360
49efa33d
DM
83612012-03-02 David S. Miller <davem@davemloft.net>
8362
8363 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8364
28afd92d
JM
83652012-03-02 Joseph Myers <joseph@codesourcery.com>
8366
804360ed
JM
8367 [BZ #3976]
8368 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8369 (__sin): Save and restore rounding mode and use round-to-nearest
8370 for all computations.
8371 (__cos): Save and restore rounding mode and use round-to-nearest
8372 for all computations.
8373 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8374 <fenv.h>.
8375 (tan): Save and restore rounding mode and use round-to-nearest for
8376 all computations.
8377 * math/libm-test.inc (cos_test_tonearest): New function.
8378 (cos_test_towardzero): Likewise.
8379 (cos_test_downward): Likewise.
8380 (cos_test_upward): Likewise.
8381 (sin_test_tonearest): Likewise.
8382 (sin_test_towardzero): Likewise.
8383 (sin_test_downward): Likewise.
8384 (sin_test_upward): Likewise.
8385 (tan_test_tonearest): Likewise.
8386 (tan_test_towardzero): Likewise.
8387 (tan_test_downward): Likewise.
8388 (tan_test_upward): Likewise.
8389 (main): Call the new functions.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8392
a6d06d7b
JM
8393 [BZ #10135]
8394 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8395 small n, then large n, before computing and testing k+n.
8396 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8398 Likewise.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8400 Likewise.
8401 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8402 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8409 * math/libm-test.inc (scalbn_test): Add more tests.
8410 (scalbln_test): Likewise.
8411
07e12bb3
JM
8412 * manual/filesys.texi (mode_t): Describe constraints on size and
8413 signedness, not exact equivalence to a particular type.
8414 (ino_t): Likewise.
8415 (ino64_t): Likewise.
8416 (dev_t): Likewise.
8417 (nlink_t): Likewise.
8418 (blkcnt_t): Likewise.
8419 (blkcnt64_t): Likewise.
8420 * manual/llio.texi (off_t): Likewise.
8421
28afd92d
JM
8422 [BZ #3976]
8423 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8424 (__ieee754_exp): Save and restore rounding mode and use
8425 round-to-nearest for all computations.
8426 * math/libm-test.inc (exp_test_tonearest): New function.
8427 (exp_test_towardzero): Likewise.
8428 (exp_test_downward): Likewise.
8429 (exp_test_upward): Likewise.
8430 (main): Call the new functions.
8431 * sysdeps/i386/fpu/libm-test-ulps: Update.
8432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8433
b1eeb65d
CD
84342012-03-01 Chris Demetriou <cgd@google.com>
8435
8436 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8437 have predictable order.
8438
53362a4b
DM
84392012-03-01 David S. Miller <davem@davemloft.net>
8440
3c969083
DM
8441 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8442
759707de
DM
8443 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8444 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8445 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8447
dfdb8ff2
DM
8448 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8449 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8450 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8452 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8453 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8457
ead89f96
DM
8458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8459
7f66bd07
DM
8460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8461 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8463
53362a4b
DM
8464 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8465 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8466 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8467 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8468 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8471 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8472 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8480 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8481 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8482 * sysdeps/sparc/elf/configure: Regenerated.
8483
7b1902cb
JM
84842012-03-01 Joseph Myers <joseph@codesourcery.com>
8485
bec039bc
JM
8486 * configure.in (AS, LD): Require binutils 2.20 or later.
8487 * configure: Regenerated.
8488 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8489 as required minimum version.
8490 * INSTALL: Regenerated.
8491
7b1902cb
JM
8492 [BZ #2541]
8493 [BZ #4108]
8494 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8495 before squaring exponent.
8496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8497 bottom long double and 27 bits of top long double before squaring
8498 exponent.
8499 * math/libm-test.inc (erfc_test): Add more tests.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update.
8501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503
f775c276
KT
85042012-03-01 Kai Tietz <ktietz@redhat.com>
8505
8506 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8507 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8508 containing bit-fields.
8509 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8510 * soft-fp/single.h (_FP_UNION_S): Likewise.
8511 * soft-fp/double.h (_FP_UNION_D): Likewise.
8512
5b8a4d4a
JM
85132012-02-29 Joseph Myers <joseph@codesourcery.com>
8514
0bab47b6
JM
8515 [BZ #13786]
8516 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8517 not include ../strcmp.S.
8518 [USE_AS_STRNCASECMP_L]: Likewise.
8519 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8520 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8521 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8522 (__strncasecmp_l_ia32): Define as alias to
8523 __strncasecmp_l_nonascii.
8524
0fcad3e2
JM
8525 [BZ #5794]
8526 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8527 * sysdeps/i386/fpu/libm-test-ulps: Update.
8528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8529
5b8a4d4a
JM
8530 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8532
8fdceb2e
JL
85332012-02-29 Jeff Law <law@redhat.com>
8534
8535 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8536 out of bounds read.
8537
1f393a11
MP
85382012-02-29 Marek Polacek <polacek@redhat.com>
8539
8540 [BZ #13706]
8541 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8542 * elf/Makefile: Add rules to run tst-unused-dep.out.
8543
8847f037
DM
85442012-02-28 David S. Miller <davem@davemloft.net>
8545
8546 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8547 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8552
169d7f11
JM
85532012-02-29 Joseph Myers <joseph@codesourcery.com>
8554
8555 * math/libm-test.inc (llround_test): Move one test from
8556 lround_test. Use TEST_f_L in moved test.
8557 (lround_test): Move misplaced test to llround_test. Add testcase
8558 from bug 2561.
8559
39adf059
UD
85602012-02-28 Ulrich Drepper <drepper@gmail.com>
8561
8562 * sysdeps/x86_64/fpu/e_expf.S: New file.
8563 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8564
71b5d1c5
SB
85652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8566
8567 [BZ #13637]
8568 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8569 of remain_len that may cause incomplete multi-byte character and
8570 false match.
8571 * posix/bug-regex33.c: New file.
8572 * posix/Makefile (tests): Add bug-regex33.
8573
1f77f049
JM
85742012-02-28 Joseph Myers <joseph@codesourcery.com>
8575
8576 * manual/macros.texi: New file.
8577 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8578 * manual/libc.texinfo: Include macros.texi.
8579 * manual/creatute.texi: Likewise.
8580 * manual/install.texi: Likewise.
8581 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8582 @glibcadj{} in references to the GNU C Library.
8583 * manual/charset.texi: Likewise.
8584 * manual/conf.texi: Likewise.
8585 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8586 when not using those macros.
8587 * manual/creature.texi: Likewise.
8588 * manual/crypt.texi: Likewise.
8589 * manual/errno.texi: Likewise.
8590 * manual/filesys.texi: Likewise.
8591 * manual/header.texi: Likewise.
8592 * manual/install.texi: Likewise.
8593 * manual/intro.texi: Likewise.
8594 * manual/io.texi: Likewise.
8595 * manual/job.texi: Likewise.
8596 * manual/lang.texi: Likewise.
8597 * manual/libc.texiinfo: Likewise.
8598 * manual/llio.texi: Likewise.
8599 * manual/locale.texi: Likewise.
8600 * manual/maint.texi: Likewise.
8601 * manual/math.texi: Likewise.
8602 * manual/memory.texi: Likewise.
8603 * manual/message.texi: Likewise.
8604 * manual/nss.texi: Likewise.
8605 * manual/pattern.texi: Likewise.
8606 * manual/process.texi: Likewise.
8607 * manual/resource.texi: Likewise.
8608 * manual/search.texi: Likewise.
8609 * manual/setjmp.texi: Likewise.
8610 * manual/signal.texi: Likewise.
8611 * manual/socket.texi: Likewise.
8612 * manual/startup.texi: Likewise.
8613 * manual/stdio.texi: Likewise.
8614 * manual/string.texi: Likewise.
8615 * manual/sysinfo.texi: Likewise.
8616 * manual/syslog.texi: Likewise.
8617 * manual/terminal.texi: Likewise.
8618 * manual/time.texi: Likewise.
8619 * manual/users.texi: Likewise.
8620 * INSTALL: Regenerated.
8621 * NOTES: Regenerated.
d40c5d54 8622 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8623
450bf206
AS
86242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8625
8626 * include/dirent.h: Include <dirstream.h> before
8627 <dirent/dirent.h>.
8628
741a235b
DM
86292012-02-28 David S. Miller <davem@davemloft.net>
8630
8631 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8632 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8633 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8634 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8635
d6b5aa58
DM
86362012-02-27 David S. Miller <davem@davemloft.net>
8637
1aff59a3
DM
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8640 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8641 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8642
d6b5aa58
DM
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8644 frame pointer instead of stack pointer relative arg slot.
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8648
433f48bf
CD
86492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8650
8651 [BZ #3992]
8652 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8653
d674b76d
DM
86542012-02-27 David S. Miller <davem@davemloft.net>
8655
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8662 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8663 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8664
0e7727f7
JM
86652012-02-27 Joseph Myers <joseph@codesourcery.com>
8666
8667 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8668 later. Allow versions 5-9.
43be4ca2 8669 * configure: Regenerated.
0e7727f7
JM
8670 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8671 required minimum version and 4.6 as recommended version. Do not
8672 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8673 * INSTALL: Regenerated.
0e7727f7 8674
a78bc654
DM
86752012-02-27 David S. Miller <davem@davemloft.net>
8676
428d5830
DM
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8683 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8685
a78bc654
DM
8686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8687 manipulate bits before adding and subtracting TWO112[sx].
8688 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8689
4579f81c
RM
86902012-02-27 Roland McGrath <roland@hack.frob.com>
8691
36c8acb4
RM
8692 [BZ #13775]
8693 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8694 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8695 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8696 being in POSIX, because they are in 1003.1-2008.
8697
84ad622b
RM
8698 * rt/tst-aio.c: Include <fcntl.h>.
8699 * rt/tst-aio7.c: Likewise.
8700 * rt/tst-aio64.c: Likewise.
8701
4579f81c
RM
8702 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8703
abd923db
JM
87042012-02-27 Joseph Myers <joseph@codesourcery.com>
8705
8706 * manual/install.texi (--with-headers): Describe headers as
8707 interface headers, not private headers.
8708 (Specific advice for GNU/Linux systems): Describe use of headers
8709 from "make headers_install", not private headers from older
8710 kernels.
43be4ca2 8711 * INSTALL: Regenerated.
abd923db
JM
8712 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8713 Change to 2.6.19.
8714 * sysdeps/unix/sysv/linux/configure: Regenerated.
8715
6664049b
JM
8716 * manual/llio.texi (fclean): Remove documentation.
8717
bb8b6697
JM
8718 * manual/Makefile (libc-texi-generated): New variable. Include
8719 version.texi.
8720 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8721 $(libc-texi-generated), not duplicated list of files.
8722 (version.texi, stamp-version): New rules.
8723 (realclean): Remove $(libc-texi-generated), not individual files
8724 from that list. Do not remove dir-add.texinfo.
8725 * manual/libc.texinfo: Comment out uses of edition numbers and
8726 references to printed manual. Remove last-updated dates.
8727 (EDITION): Comment out.
8728 (ISBN): Likewise.
8729 (VERSION, UPDATED): Remove.
8730 (version.texi): Include.
8731
12e5c3b9
AS
87322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8733
8734 * sysdeps/posix/spawni.c: Include <signal.h>.
8735 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8736 * sysdeps/pthread/aio_fsync.c: Likewise.
8737
4efeffc1 87382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8739
ba63ba08
UD
8740 * conform/Makefile (tests): Run only when not cross-compiling and
8741 when fast-check is not defined.
8742
d94a4670
UD
8743 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8744 * conform/data/limits.h-data: Fixes for POSIX2008.
8745 * conform/run-conformtest.sh: Run all tests.
8746 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8747 headers.
8748 * include/bits/dlfcn.h: Likewise.
8749 * include/langinfo.h: Likewise.
8750 * include/monetary.h: Likewise.
8751 * include/sys/poll.h: Likewise.
8752
8753 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8754 for __USE_GNU.
8755 * posix/spawn.h: Define __need_sigset_t.
8756 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8757 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8758 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8759 to get sigevent_t only.
8760 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8761 only for __USE_GNU.
8762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8763 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8764 process_vm_writev only for __USE_GNU.
8765 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8766
8767 * conform/Makefile: For now ignore errors from run-conformtest.
8768 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8769 POSIX to avoid namespace pollution. Don't prepend headers.
8770 * conform/data/aio.h-data: Fixes for POSIX testing.
8771 * conform/data/fcntl.h-data: Likewise.
8772 * conform/data/glob.h-data: Likewise.
8773 * conform/data/grp.h-data: Likewise.
8774 * conform/data/pthread.h-data: Likewise.
8775 * conform/data/pwd.h-data: Likewise.
8776 * conform/data/signal.h-data: Likewise.
8777 * conform/data/spawn.h-data: Likewise.
8778 * conform/data/stdio.h-data: Likewise.
8779 * conform/data/stdlib.h-data: Likewise.
8780 * conform/data/stropts.h-data: Likewise.
8781 * conform/data/sys/mman.h-data: Likewise.
8782 * conform/data/sys/stat.h-data: Likewise.
8783 * conform/data/sys/types.h-data: Likewise.
8784 * conform/data/sys/wait.h-data: Likewise.
8785 * conform/data/time.h-data: Likewise.
8786 * conform/data/unistd.h-data: Likewise.
8787 * conform/data/utime.h-data: Likewise.
8788
8789 * io/sys/stat.h: fchmod was always in POSIX.
8790 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8791 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8792 * rt/aio.h: Define __need_timespec before including <time.h>.
8793 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8794 struct. Add forward declaration of pthread_attr_t and use it in
8795 sigevent.
8796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8798 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8799 always remove CLK_TCK definition.
8800
c20105c3
AS
88012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8802
8803 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8804
7a270350
UD
88052012-02-25 Ulrich Drepper <drepper@gmail.com>
8806
31341567
UD
8807 * conform/run-conformtest.sh: New file.
8808 * conform/Makefile: Run run-conformtest for tests.
8809 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8810 support.
8811
8812 * conform/data/uchar.h-data: New file.
8813 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8814 * conform/data/arpa/inet.h-data: Likewise.
8815 * conform/data/assert.h-data: Likewise.
8816 * conform/data/complex.h-data: Likewise.
8817 * conform/data/cpio.h-data: Likewise.
8818 * conform/data/ctype.h-data: Likewise.
8819 * conform/data/dirent.h-data: Likewise.
8820 * conform/data/dlfcn.h-data: Likewise.
8821 * conform/data/errno.h-data: Likewise.
8822 * conform/data/fcntl.h-data: Likewise.
8823 * conform/data/float.h-data: Likewise.
8824 * conform/data/fmtmsg.h-data: Likewise.
8825 * conform/data/fnmatch.h-data: Likewise.
8826 * conform/data/ftw.h-data: Likewise.
8827 * conform/data/glob.h-data: Likewise.
8828 * conform/data/grp.h-data: Likewise.
8829 * conform/data/iconv.h-data: Likewise.
8830 * conform/data/inttypes.h-data: Likewise.
8831 * conform/data/langinfo.h-data: Likewise.
8832 * conform/data/libgen.h-data: Likewise.
8833 * conform/data/limits.h-data: Likewise.
8834 * conform/data/locale.h-data: Likewise.
8835 * conform/data/math.h-data: Likewise.
8836 * conform/data/monetary.h-data: Likewise.
8837 * conform/data/mqueue.h-data: Likewise.
8838 * conform/data/ndbm.h-data: Likewise.
8839 * conform/data/net/if.h-data: Likewise.
8840 * conform/data/netdb.h-data: Likewise.
8841 * conform/data/netinet/in.h-data: Likewise.
8842 * conform/data/nl_types.h-data: Likewise.
8843 * conform/data/poll.h-data: Likewise.
8844 * conform/data/pthread.h-data: Likewise.
8845 * conform/data/pwd.h-data: Likewise.
8846 * conform/data/regex.h-data: Likewise.
8847 * conform/data/sched.h-data: Likewise.
8848 * conform/data/search.h-data: Likewise.
8849 * conform/data/semaphore.h-data: Likewise.
8850 * conform/data/setjmp.h-data: Likewise.
8851 * conform/data/signal.h-data: Likewise.
8852 * conform/data/spawn.h-data: Likewise.
8853 * conform/data/stdarg.h-data: Likewise.
8854 * conform/data/stdio.h-data: Likewise.
8855 * conform/data/stdlib.h-data: Likewise.
8856 * conform/data/string.h-data: Likewise.
8857 * conform/data/strings.h-data: Likewise.
8858 * conform/data/stropts.h-data: Likewise.
8859 * conform/data/sys/ipc.h-data: Likewise.
8860 * conform/data/sys/mman.h-data: Likewise.
8861 * conform/data/sys/msg.h-data: Likewise.
8862 * conform/data/sys/resource.h-data: Likewise.
8863 * conform/data/sys/select.h-data: Likewise.
8864 * conform/data/sys/sem.h-data: Likewise.
8865 * conform/data/sys/shm.h-data: Likewise.
8866 * conform/data/sys/socket.h-data: Likewise.
8867 * conform/data/sys/stat.h-data: Likewise.
8868 * conform/data/sys/statvfs.h-data: Likewise.
8869 * conform/data/sys/time.h-data: Likewise.
8870 * conform/data/sys/timeb.h-data: Likewise.
8871 * conform/data/sys/times.h-data: Likewise.
8872 * conform/data/sys/types.h-data: Likewise.
8873 * conform/data/sys/uio.h-data: Likewise.
8874 * conform/data/sys/un.h-data: Likewise.
8875 * conform/data/sys/utsname.h-data: Likewise.
8876 * conform/data/sys/wait.h-data: Likewise.
8877 * conform/data/syslog.h-data: Likewise.
8878 * conform/data/tar.h-data: Likewise.
8879 * conform/data/termios.h-data: Likewise.
8880 * conform/data/utime.h-data: Likewise.
8881 * conform/data/utmpx.h-data: Likewise.
8882 * conform/data/varargs.h-data: Likewise.
8883 * conform/data/wchar.h-data: Likewise.
8884 * conform/data/wctype.h-data: Likewise.
8885 * conform/data/wordexp.h-data: Likewise.
8886
8887 * include/stropts.h: New file.
8888 * include/uchar.h: New file.
8889 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8890 * include/assert.h: Likewise.
8891 * include/ctype.h: Likewise.
8892 * include/dirent.h: Likewise.
8893 * include/dlfcn.h: Likewise.
8894 * include/fcntl.h: Likewise.
8895 * include/fnmatch.h: Likewise.
8896 * include/glob.h: Likewise.
8897 * include/grp.h: Likewise.
8898 * include/libio.h: Likewise.
8899 * include/locale.h: Likewise.
8900 * include/math.h: Likewise.
8901 * include/net/if.h: Likewise.
8902 * include/netdb.h: Likewise.
8903 * include/netinet/in.h: Likewise.
8904 * include/pthread.h: Likewise.
8905 * include/pwd.h: Likewise.
8906 * include/regex.h: Likewise.
8907 * include/sched.h: Likewise.
8908 * include/search.h: Likewise.
8909 * include/setjmp.h: Likewise.
8910 * include/signal.h: Likewise.
8911 * include/stdio.h: Likewise.
8912 * include/stdlib.h: Likewise.
8913 * include/string.h: Likewise.
8914 * include/sys/cdefs.h: Likewise.
8915 * include/sys/mman.h: Likewise.
8916 * include/sys/msg.h: Likewise.
8917 * include/sys/resource.h: Likewise.
8918 * include/sys/select.h: Likewise.
8919 * include/sys/socket.h: Likewise.
8920 * include/sys/stat.h: Likewise.
8921 * include/sys/statvfs.h: Likewise.
8922 * include/sys/time.h: Likewise.
8923 * include/sys/times.h: Likewise.
8924 * include/sys/uio.h: Likewise.
8925 * include/sys/utsname.h: Likewise.
8926 * include/sys/wait.h: Likewise.
8927 * include/termios.h: Likewise.
8928 * include/time.h: Likewise.
8929 * include/ulimit.h: Likewise.
8930 * include/unistd.h: Likewise.
8931 * include/utime.h: Likewise.
8932 * include/wchar.h: Likewise.
8933 * include/wctype.h: Likewise.
8934 * include/wordexp.h: Likewise.
8935
8936 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8937
7a270350
UD
8938 * time/time.h: TIME_UTC must be a macro.
8939 Make timespec_get available for ISO C11 only as well.
8940
7724defc
UD
89412012-02-24 Ulrich Drepper <drepper@gmail.com>
8942
8943 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8944 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8945
6b1d1d46
JM
89462012-02-24 Joseph Myers <joseph@codesourcery.com>
8947
8948 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8949
0f8bbd69
JM
89502012-02-24 Joseph Myers <joseph@codesourcery.com>
8951
8952 * manual/texinfo.tex: Update to version 2012-01-19.16.
8953
66ab80bc
JM
89542012-02-24 Joseph Myers <joseph@codesourcery.com>
8955
8956 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8957
74981cc5
RM
89582012-02-24 Roland McGrath <roland@hack.frob.com>
8959
ee968201
RM
8960 [BZ #13738]
8961 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8962 * manual/fdl-1.3.texi: New file.
8963 * manual/fdl-1.1.texi: File removed.
8964
74981cc5
RM
8965 [BZ #13738]
8966 * manual/libc.texinfo (FDL_VERSION): New @set.
8967 Use it for mention of FDL in cover text.
8968 (Documentation License): Use it in @include file name.
8969
7bb764bc
JM
89702012-02-22 Joseph Myers <joseph@codesourcery.com>
8971 Roland McGrath <roland@hack.frob.com>
8972
8973 [BZ #5461]
8974 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8975 not LONG_LONG_MAX and LONG_LONG_MIN.
8976 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8977 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8978 name.
8979 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8980
6cbeae47
JM
89812012-02-22 Joseph Myers <joseph@codesourcery.com>
8982
8983 [BZ #2547]
8984 [BZ #11365]
8985 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8986 manipulate bits before adding and subtracting TWO23[sx].
8987 * math/libm-test.inc (nearbyint_test): Add more tests.
8988
fe45ce09
JM
89892012-02-22 Joseph Myers <joseph@codesourcery.com>
8990
8991 [BZ #2548]
8992 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8993 bits before adding and subtracting TWO23[sx].
8994 * math/libm-test.inc (rint_test): Add more tests.
8995 (rint_test_tonearest): Likewise.
8996 (rint_test_towardzero): Likewise.
8997 (rint_test_downward): Likewise.
8998 (rint_test_upward: Likewise.
8999
ff3b3d82
JM
90002012-02-22 Joseph Myers <joseph@codesourcery.com>
9001
9002 [BZ #10110]
9003 * include/stdc-predef.h: New file. Extracted from features.h.
9004 * include/features.h: Include stdc-predef.h.
9005 * Makefile (headers): Add stdc-predef.h.
9006 * CONFORMANCE (Compiler limitations): Update.
9007
ef0aab35
JM
90082012-02-22 Joseph Myers <joseph@codesourcery.com>
9009
9010 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9011
58639409
DM
90122012-02-21 David S. Miller <davem@davemloft.net>
9013
9014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9015 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9016
c0e70b25
DM
90172012-02-20 David S. Miller <davem@davemloft.net>
9018
9019 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9020 using a normal save/restore sequence, rather than allocating a
9021 dummy stack frame just to store a frame pointer and restore.
9022 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9023
fb06851d
JM
90242012-02-21 Joseph Myers <joseph@codesourcery.com>
9025
9026 * manual/install.texi: Fix stray word in line-wrapped comment.
9027
7a8b71c3
DM
90282012-02-20 David S. Miller <davem@davemloft.net>
9029
d510c123
DM
9030 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9031 both binutils and gcc support GOTDATA.
9032
0722d7c2
DM
9033 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9034 "rd %pc" in the PIC register setup sequences.
9035
3d2b3019
DM
9036 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9037 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9038 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9039 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9040 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9045 (SYSCALL_ERROR_HANDLER): Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9049 (SYSCALL_ERROR_HANDLER): Likewise.
9050
c80098a9
DM
9051 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9052 (HAVE_GCC_GOTDATA): New.
9053 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9054 relocation support in both binutils and gcc.
9055 * sysdeps/sparc/elf/configure: Regenerate.
9056
3a2545a0
DM
9057 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9058 * sysdeps/sparc/sparc32/elf/configure: Delete.
9059 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9060 * sysdeps/sparc/sparc64/elf/configure: Delete.
9061 * sysdeps/sparc/elf/configure.in: New file.
9062 * sysdeps/sparc/elf/configure: Generate.
9063
7a8b71c3
DM
9064 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9065 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9066 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9067 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9068 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9069
f1e86fca
JM
90702012-02-21 Joseph Myers <joseph@codesourcery.com>
9071
9072 * manual/install.texi: Do not mention specific glibc version
9073 numbers.
9074 * manual/libc.texinfo (VERSION, UPDATED): Update.
9075 (@copying): Use @copyright{} and range of years.
9076
0e7dfaef
JM
90772012-02-21 Joseph Myers <joseph@codesourcery.com>
9078
9079 [BZ #13695]
9080 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9081 [crti.S not in sysdirs] (generated): Do not append.
9082 [crti.S not in sysdirs] (omit-deps): Likewise.
9083 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9084 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9085 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9086 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9087 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9088 Likewise.
9089 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9090 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9091 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9092 * csu/defs.awk: Remove file.
9093 * sysdeps/generic/initfini.c: Likewise.
9094 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9095 variable.
9096 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9097 Likewise.
9098
599af3ca
JM
90992012-02-20 Joseph Myers <joseph@codesourcery.com>
9100
9101 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9102 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9105 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9106 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9107 <bits/epoll.h>.
9108 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9109 (__EPOLL_PACKED): Define to empty if not defined by
9110 <bits/epoll.h>.
9111 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9113 bits/epoll.h.
9114
0e499750
JM
91152012-02-20 Joseph Myers <joseph@codesourcery.com>
9116
9117 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9118 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9120 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9121 <bits/timerfd.h>.
9122 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9124 bits/timerfd.h.
9125
5ad91f6e
JM
91262012-02-20 Joseph Myers <joseph@codesourcery.com>
9127
9128 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9129 in C locale.
9130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9134
06b99b02
AJ
91352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9136
9137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9138 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9139
7638c0fd
AS
91402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9141
9142 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9143 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9144 defined.
9145 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9146 Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9148 entry for 2.16.
9149
92221550
AJ
91502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9151
9152 * math/w_acos.c: Use non-signaling floating-point comparisons.
9153 * math/w_acosf.c: Likewise.
9154 * math/w_acosh.c: Likewise.
9155 * math/w_acoshf.c: Likewise.
9156 * math/w_acoshl.c: Likewise.
9157 * math/w_acosl.c: Likewise.
9158 * math/w_asin.c: Likewise.
9159 * math/w_asinf.c: Likewise.
9160 * math/w_asinl.c: Likewise.
9161 * math/w_atanh.c: Likewise.
9162 * math/w_atanhf.c: Likewise.
9163 * math/w_atanhl.c: Likewise.
9164 * math/w_exp2.c: Likewise.
9165 * math/w_exp2f.c: Likewise.
9166 * math/w_exp2l.c: Likewise.
9167 * math/w_j0.c: Likewise.
9168 * math/w_j0f.c: Likewise.
9169 * math/w_j0l.c: Likewise.
9170 * math/w_j1.c: Likewise.
9171 * math/w_j1f.c: Likewise.
9172 * math/w_j1l.c: Likewise.
9173 * math/w_jn.c: Likewise.
9174 * math/w_jnf.c: Likewise.
9175 * math/w_log.c: Likewise.
9176 * math/w_log10.c: Likewise.
9177 * math/w_log10f.c: Likewise.
9178 * math/w_log10l.c: Likewise.
9179 * math/w_log2.c: Likewise.
9180 * math/w_log2f.c: Likewise.
9181 * math/w_log2l.c: Likewise.
9182 * math/w_logf.c: Likewise.
9183 * math/w_logl.c: Likewise.
9184 * math/w_sqrt.c: Likewise.
9185 * math/w_sqrtf.c: Likewise.
9186 * math/w_sqrtl.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9191 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9192
ebaf36eb
JM
91932012-02-19 Joseph Myers <joseph@codesourcery.com>
9194
9195 [BZ #9739]
9196 * manual/string.texi (strnlen): Use correct parameter name in
9197 equivalent expression.
9198
71c254a6
JM
91992012-02-19 Joseph Myers <joseph@codesourcery.com>
9200
9201 [BZ #11174]
9202 * manual/users.texi (seteuid): Consistently use neweuid for
9203 argument name.
9204
16d2c631
JM
92052012-02-19 Joseph Myers <joseph@codesourcery.com>
9206
9207 [BZ #13704]
9208 * manual/nss.texi (Services in the NSS configuration): Correct
9209 list of services in example configuration file.
9210
cd837b09
NB
92112012-02-19 Nick Bowler <nbowler@draconx.ca>
9212
9213 [BZ #11322]
9214 * manual/arith.texi: Remove statements about negative zero
9215 behaving identically to zero.
9216
02c4bbad
JM
92172012-02-18 Joseph Myers <joseph@codesourcery.com>
9218
9219 [BZ #5993]
9220 * manual/install.texi: Do not document upgrading from libc5.
9221
366842e7
JM
92222012-02-18 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #4596]
9225 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9226
dd54084d
DM
92272012-02-18 David S. Miller <davem@davemloft.net>
9228
9229 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9230 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9231 %o7 across the call.
9232 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9233 instead.
9234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9235 SETUP_PIC_REG_LEAF.
9236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9237 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9238 * sysdeps/sparc/crtn.S: Likewise.
9239
2bcc53a3
UD
92402012-02-17 Ulrich Drepper <drepper@gmail.com>
9241
9242 * aout/Makefile: Remove.
9243
09c093b5
RK
92442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9245
9246 [BZ #13058]
9247 * manual/examples/argp-ex1.c (main): Format definition in GNU
9248 style.
9249 * manual/examples/argp-ex2.c (main): Likewise.
9250 * manual/examples/argp-ex3.c (main): Likewise.
9251 * manual/examples/argp-ex4.c (main): Likewise.
9252 * manual/examples/longopt.c (main): Use new-style prototype
9253 definition.
9254 * manual/examples/strncat.c (main): Specify return type and use
9255 (void) for arguments.
9256 * manual/examples/subopt.c (main): Use char **argv argument.
9257
2ee633a2
JM
92582012-02-17 Joseph Myers <joseph@codesourcery.com>
9259
9260 [BZ #5077]
9261 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9262 rounding modes.
9263
0520adde
FB
92642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9265
9266 [BZ #6907]
9267 * manual/string.texi (strchr): Change when strchrnul is
9268 recommended.
9269
3f4081cd
DGM
92702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9271
9272 [BZ #174]
9273 * manual/locale.texi (setlocale): Document LOCPATH.
9274
d1b10e78
JM
92752012-02-17 Joseph Myers <joseph@codesourcery.com>
9276
9277 [BZ #10210]
9278 * manual/process.texi (execle): Move @dots{} before last argument.
9279
79c6869c
PB
92802012-02-17 Paul Bolle <pebolle@tiscali.nl>
9281
9282 [BZ #12047]
9283 * manual/charset.texi (Generic Charset Conversion): Fix typo
9284 (LC_TYPE -> LC_CTYPE).
9285
cc6e48bc
NB
92862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9287
9288 [BZ #5805]
9289 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9290 (scalbnf): Likewise.
9291 (scalbnl): Likewise.
9292 (scalbln): Likewise.
9293 (scalblnf): Likewise.
9294 (scalblnl): Likewise.
9295 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9296 (vwarnx): Likewise.
9297 (verr): Likewise.
9298 (verrx): Likewise.
9299 * manual/filesys.texi (telldir): Use braces around return type.
9300 * manual/llio.texi (mmap): Add space after comma.
9301 (mmap64): Likewise.
9302 * manual/math.texi (jn): Use @var{} on parameter names.
9303 (jnf): Likewise.
9304 (jnl): Likewise.
9305 (yn): Likewise.
9306 (ynf): Likewise.
9307 (ynl): Likewise.
9308 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9309 line.
9310 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9311 "...".
9312 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9313 (sched_get_priority_max): Likewise.
9314 * manual/signal.texi (sigvec): Add space after comma.
9315 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9316 names.
9317 (if_indextoname): Likewise.
9318 (if_freenameindex): Likewise.
9319 (sendto): Use ',' instead of '.' in prototype.
9320 * manual/startup.texi (syscall): Use @dots{} instead of literal
9321 "...".
9322 * manual/stdio.texi (__fpending): Separate initial words of
9323 paragraph from @deftypefun line.
9324 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9325 "...".
9326 (vsyslog): Use @var{} on parameter names.
9327 * manual/terminal.texi (stty): Use @var{} on parameter names.
9328 * manual/users.texi (getutmp): Use @var{} on parameter names.
9329 (getutmpx): Likewise.
9330
5b23062f
JM
93312012-02-17 Joseph Myers <joseph@codesourcery.com>
9332
9333 [BZ #6884]
9334 * manual/stdio.texi (fopen): Fix typos in description of
9335 ",ccs=STRING".
9336
8dee4833
AJ
93372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9338
9339 [BZ #4026]
9340 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9341 get clock_id definition.
9342
9078ce93
TS
93432012-02-17 Thomas Schwinge <thomas@schwinge.name>
9344
9345 [BZ #4822]
9346 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9347 (madvise): Cast every argument to void on its own.
9348
3835c55f
JM
93492012-02-17 Joseph Myers <joseph@codesourcery.com>
9350
9351 [BZ #9902]
9352 * manual/startup.texi (Exit Status): Fix typo.
9353
35c47e37
JM
93542012-02-17 Joseph Myers <joseph@codesourcery.com>
9355
9356 [BZ #10140]
9357 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9358 * manual/examples/argp-ex2.c: Likewise.
9359 * manual/examples/argp-ex3.c: Likewise.
9360
e3b69ca7
RH
93612012-02-16 Richard Henderson <rth@redhat.com>
9362
9363 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9364 * sysdeps/s390/s390-32/initfini.c: Remove.
9365 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9366 * sysdeps/s390/s390-64/initfini.c: Remove.
9367
df83af67
KK
93682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9369
9370 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9371 compiler output for sysdeps/generic/initfini.c.
9372 * sysdeps/sh/elf/initfini.c: Remove file.
9373
f63f3380
DM
93742012-02-16 David S. Miller <davem@davemloft.net>
9375
fb59b3a4
DM
9376 [BZ #11494]
9377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9378
f63f3380
DM
9379 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9380 * sysdeps/sparc/crti.S: New file.
9381 * sysdeps/sparc/crtn.S: New file.
9382 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9383 * sysdeps/sparc/sparc64/Makefile: Likewise.
9384
df6a4a4a
MF
93852012-02-15 Mike Frysinger <vapier@gentoo.org>
9386
6dd8f3dc 9387 [BZ #3335]
df6a4a4a
MF
9388 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9389
1cac7236
RM
93902012-02-15 Roland McGrath <roland@hack.frob.com>
9391
d2c736f8
RM
9392 [BZ #4822]
9393 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9394
1cac7236
RM
9395 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9396 (write, read, close): Likewise.
9397 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9398
8e475601
JM
93992012-02-15 Joseph Myers <joseph@codesourcery.com>
9400
9401 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9402 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9404 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9405 <bits/signalfd.h>.
9406 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9408 bits/signalfd.h.
9409
ed656b40
MP
94102012-02-14 Marek Polacek <polacek@redhat.com>
9411
9412 * sysdeps/x86_64/crti.S: New file.
9413 * sysdeps/x86_64/crtn.S: New file.
9414 * sysdeps/x86_64/elf/initfini.c: Remove file.
9415
2a979d3a
JM
94162012-02-13 Joseph Myers <joseph@codesourcery.com>
9417
9418 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9419 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9421 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9422 <bits/inotify.h>.
9423 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9425 bits/inotify.h.
9426
2a418ac3
JM
94272012-02-13 Joseph Myers <joseph@codesourcery.com>
9428
9429 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9430 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9431 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9432 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9433 <bits/eventfd.h>.
9434 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9436 bits/eventfd.h.
9437
fb779be7
TS
94382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9439
e19e83c5
RM
9440 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9441 __feraiseexcept instead of feraiseexcept.
7c35ffed 9442
fb779be7
TS
9443 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9444 nanosleep invocations.
9445 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9446 strings, and add error checking for a nanosleep invocations.
9447
59ba27a6
PE
94482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9449
9450 Replace FSF snail mail address with URLs, as per GNU coding standards.
9451 Most of the snail mail addresses were wrong anyway, and omitting
9452 them makes the source code easier to maintain. Almost all of the
9453 changes are to license notices and to locale LC_IDENTIFICATION
9454 addresses, except for this one:
9455 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9456 not its snail mail address.
9457
57b957eb
RH
94582012-02-09 Richard Henderson <rth@twiddle.net>
9459
af850b1c
RH
9460 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9461 of kernel-features.h.
9462
57b957eb
RH
9463 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9464
6b73181a
MP
94652012-02-08 Marek Polacek <polacek@redhat.com>
9466
9467 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9468 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9469 * sysdeps/gnu/_G_config.h: Likewise.
9470 * sysdeps/generic/_G_config.h: Likewise.
9471
26ecc33a
AS
94722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9473
6c6dbc63
AS
9474 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9475 tests.
9476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9477
e216c012
AS
9478 * sysdeps/powerpc/powerpc32/crti.S: New file.
9479 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9480 * sysdeps/powerpc/powerpc64/crti.S: New file.
9481 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9482
26ecc33a
AS
9483 * Makeconfig (have-initfini): Don't set.
9484 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9485 * configure.in (nopic_initfini): Don't substitute.
9486 * config.h.in (HAVE_INITFINI): Don't #undef.
9487 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9488 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9489
3add8e13
JM
94902012-02-08 Joseph Myers <joseph@codesourcery.com>
9491
9492 Support crti.S and crtn.S provided directly by architectures.
9493 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9494 [crti.S in sysdirs] (omit-deps): Likewise.
9495 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9496 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9497 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9498 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9499 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9500 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9501 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9502 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9503 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9504 compiler output for sysdeps/generic/initfini.c.
9505 * sysdeps/i386/elf/Makefile: Remove file.
9506 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9507
a22f12b4
MP
95082012-02-07 Marek Polacek <polacek@redhat.com>
9509
9510 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9511 * sysdeps/gnu/_G_config.h: Likewise.
9512 * sysdeps/mach/hurd/_G_config.h: Likewise.
9513
148cf100
MP
95142012-02-07 Marek Polacek <polacek@redhat.com>
9515
9516 * math/Makefile (tests): Add tst-CMPLX2.
9517 * math/tst-CMPLX2.c: New file.
9518
cfdc0dd7
AS
95192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9520
84ba42c4
AS
9521 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9522
cfdc0dd7
AS
9523 * math/libm-test.inc (jn_test): Add missing L suffix.
9524
622c86f4
MP
95252012-02-06 Marek Polacek <polacek@redhat.com>
9526
9527 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9528 * sysdeps/i386/fpu/e_powf.S: Likewise.
9529 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9531 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9532 * sysdeps/i386/fpu/e_pow.S: Likewise.
9533 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9534 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9535 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9536 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9537 * sysdeps/i386/fpu/e_log2.S: Likewise.
9538 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9539 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9540 * sysdeps/i386/fpu/e_powl.S: Likewise.
9541 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9542 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9543 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9544 * sysdeps/i386/fpu/e_logl.S: Likewise.
9545 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9546 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9547 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9548 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9549 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9551 * sysdeps/i386/fpu/e_log.S: Likewise.
9552 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9554 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9555 * sysdeps/i386/fpu/e_logf.S: Likewise.
9556 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9557 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9558 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9559 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9560 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9561 * sysdeps/i386/fpu/e_log10.S: Likewise.
9562 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9563 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9564 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9565 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9566 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9567 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9568 * sysdeps/i386/asm-syntax.h: Likewise.
9569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9572 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9573 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9574 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9575 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9576 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9578 * sysdeps/powerpc/sysdep.h: Likewise.
9579 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9580 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9581
d4a54ac6
JM
95822012-02-06 Joseph Myers <joseph@codesourcery.com>
9583
9584 [BZ #411]
9585 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9586
314054ea
JM
95872012-02-06 Joseph Myers <joseph@codesourcery.com>
9588
9589 * sysdeps/i386/sysdep.h: Include <features.h>.
9590 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9591 version.
9592
d8e0ca50
JM
95932012-02-05 Joseph Myers <joseph@codesourcery.com>
9594
9595 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9596 Define.
9597 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9598 LOAD_PIC_REG_STR.
9599
b1da7dd9
JM
96002012-02-03 Joseph Myers <joseph@codesourcery.com>
9601
9602 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9603 (SETUP_PIC_REG): Use GET_PC_THUNK.
9604 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9605 macro.
9606
9a1d9254
JM
96072012-02-03 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9610 for non-PIC compilation.
9611 (SETUP_PIC_REG): Add .p2align directive.
9612 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9613 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9614 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9616 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9617 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9618 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9620 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9621 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9622 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9623 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9624 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9625 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9626 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9627 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9628 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9638 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9644 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9647 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9648 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9649 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9650 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9651 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9652 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9653
65dc3b75
JM
96542012-02-03 Joseph Myers <joseph@codesourcery.com>
9655
9656 * math/tst-CMPLX.c: Include <stdio.h>.
9657
d55bf177
JM
96582012-01-31 Joseph Myers <joseph@codesourcery.com>
9659
9660 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9661 float.
9662 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9663 * sysdeps/sparc/bits/mathdef.h: Likewise.
9664
69db4f8f
MP
96652012-01-31 Marek Polacek <polacek@redhat.com>
9666
9667 * libio/libio.h: Don't define _PARAMS.
9668 * locale/programs/config.h: Don't define PARAMS.
9669 * stdlib/strtol_l.c: Likewise.
9670 (__strtol_l): Remove PARAMS from the prototype.
9671
41b81892
UD
96722012-01-31 Ulrich Drepper <drepper@gmail.com>
9673
3b49edc0
UD
9674 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9675 names. Just use the correct names. Remove unnecessary wrapper
9676 functions.
9677 * malloc/arena.c: Likewise.
9678 * malloc/hooks.c: Likewise.
9679
41b81892
UD
9680 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9681 ARENA_TEST says not to. Simplify test for creation of a new arena.
9682 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9683
27a25b6e
UD
96842012-01-30 Ulrich Drepper <drepper@gmail.com>
9685
9686 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9687 into tail calls.
9688 (update_get_addr): New function.
9689 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9690 GET_ADDR_MODULE parameter.
9691
c8a89e7d
JM
96922012-01-30 Joseph Myers <joseph@codesourcery.com>
9693
9694 * crypt/cert.c: Remove __STDC__ conditionals.
9695 * crypt/crypt-entry.c: Likewise.
9696 * crypt/crypt_util.c: Likewise.
9697 * libio/filedoalloc.c: Likewise.
9698 * libio/fileops.c: Likewise.
9699 * libio/genops.c: Likewise.
9700 * libio/iofclose.c: Likewise.
9701 * libio/iofdopen.c: Likewise.
9702 * libio/iofopen.c: Likewise.
9703 * libio/iofopen64.c: Likewise.
9704 * libio/iogetdelim.c: Likewise.
9705 * libio/iopopen.c: Likewise.
9706 * libio/obprintf.c: Likewise.
9707 * libio/oldfileops.c: Likewise.
9708 * libio/oldiofclose.c: Likewise.
9709 * libio/oldiofdopen.c: Likewise.
9710 * libio/oldiofopen.c: Likewise.
9711 * libio/oldiopopen.c: Likewise.
9712 * libio/wfiledoalloc.c: Likewise.
9713 * libio/wgenops.c: Likewise.
9714 * locale/programs/xmalloc.c: Likewise.
9715 * misc/syslog.c: Likewise.
9716 * stdio-common/xbug.c: Likewise.
9717 * string/memchr.c: Likewise.
9718 * string/memcmp.c: Likewise.
9719 * string/memrchr.c: Likewise.
9720 * string/rawmemchr.c: Likewise.
9721 * sysdeps/posix/getcwd.c: Likewise.
9722 * time/strftime_l.c: Likewise.
9723
3b100462
JM
97242012-01-30 Joseph Myers <joseph@codesourcery.com>
9725
9726 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9727 * config.make.in (config-cflags-sse2avx): Define.
9728 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9729 Fix typo.
9730
607998af
CM
97312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9732
9733 * scripts/config.guess: Update from upstream config git repository.
9734 * scripts/config.sub: Likewise.
9735
3601428f
CM
97362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9737
3ac8b282
CM
9738 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9739 (EM_NUM): Update.
9740 (R_TILEPRO_*, R_TILEGX_*): New macros.
9741
e034841e
CM
9742 * scripts/firstversions.awk: Fix bug in version range handling.
9743
540d7568
CM
9744 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9745
3601428f
CM
9746 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9747
463de862
CM
9748 * include/sys/epoll.h: New file.
9749 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9750 libc_hidden_def.
9751
73139a76
UD
97522012-01-28 Ulrich Drepper <drepper@gmail.com>
9753
96bc5b45
UD
9754 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9755 Avoid unnecessary __WORDSIZE == 64 test.
9756 (fmaxf): Use VEX format if possible.
9757 (fmax): Likewise.
9758 (fminf): Likewise.
9759 (fmin): Likewise.
9760
56f6f6a2
UD
9761 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9762 * math/math_private.h: Remove libc_fegetround* and
9763 libc_fesetround*.
9764 * sysdeps/i386/configure.in: Check for -msse2avx.
9765 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9766 also if SSE2AVX is defined.
9767 Remove libc_fegetround* and libc_fesetround*.
9768 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9769 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9770 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9771 of HAS_YMM_USABLE.
9772 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9773 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9775 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9776 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9777
73139a76
UD
9778 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9779
d73f93a4
AZ
97802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9781
9782 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9783 size is not set.
9784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9785
6ee65ed6
UD
97862012-01-27 Ulrich Drepper <drepper@gmail.com>
9787
9788 [BZ #13618]
9789 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9790 relocation.
9791 * Makeconfig (libm): Define.
9792 * elf/Makefile: Add rules to build and run tst-relsort1.
9793 * elf/tst-relsort1.c: New file.
9794 * elf/tst-relsort1mod1.c: New file.
9795 * elf/tst-relsort1mod2.c: New file.
9796
8db21882
JM
97972012-01-27 Joseph Myers <joseph@codesourcery.com>
9798
9799 * math/s_ldexp.c: Remove __STDC__ conditionals.
9800 * math/s_ldexpf.c: Likewise.
9801 * math/s_ldexpl.c: Likewise.
9802 * math/s_nextafter.c: Likewise.
9803 * math/s_nexttowardf.c: Likewise.
9804 * math/s_significand.c: Likewise.
9805 * math/s_significandf.c: Likewise.
9806 * math/s_significandl.c: Likewise.
9807 * math/w_jnl.c: Likewise.
9808 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9809 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9810 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9811 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9812 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9828 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9830 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9837 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9838 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9848 * sysdeps/ieee754/k_standard.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9910 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9915 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9928 * sysdeps/ieee754/s_matherr.c: Likewise.
9929 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9930 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9933
965a54a4
JM
99342012-01-26 Joseph Myers <joseph@codesourcery.com>
9935
9936 * crypt/md5.h: Remove __STDC__ conditionals.
9937 * libio/libioP.h: Likewise.
9938 * locale/programs/config.h: Likewise.
9939 * sysdeps/generic/sysdep.h: Likewise.
9940 * sysdeps/i386/asm-syntax.h: Likewise.
9941 * sysdeps/s390/asm-syntax.h: Likewise.
9942 * sysdeps/unix/sysdep.h: Likewise.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9945
7071ad79
JM
99462012-01-26 Joseph Myers <joseph@codesourcery.com>
9947
9948 * libio/libio.h: Remove __STDC__ conditionals.
9949 * malloc/obstack.h: Likewise.
9950 * math/complex.h: Likewise.
9951 * math/math.h: Likewise.
9952 * sysdeps/generic/_G_config.h: Likewise.
9953 * sysdeps/gnu/_G_config.h: Likewise.
9954 * sysdeps/mach/hurd/_G_config.h: Likewise.
9955 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9956 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9957 * sysdeps/sparc/bits/mathdef.h: Likewise.
9958
afc5ed09
UD
99592012-01-26 Ulrich Drepper <drepper@gmail.com>
9960
9961 [BZ #13583]
9962 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9963 Clean up HAS_* macros.
afc5ed09 9964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9965 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9966 possible.
9967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9968 HAS_AVX.
9969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9974
bdb6de1d
JM
99752012-01-25 Joseph Myers <joseph@codesourcery.com>
9976
9977 * elf/tst-unique3.cc (gets): Remove declaration.
9978 * elf/tst-unique3lib.cc (gets): Likewise.
9979 * elf/tst-unique3lib2.cc (gets): Likewise.
9980 * elf/tst-unique4.cc (gets): Likewise.
9981
b15549e6
UD
99822012-01-24 Ulrich Drepper <drepper@gmail.com>
9983
9984 * include/stdio.h: Add C++ protection. Add gets declarations and
9985 definitions.
9986 * debug/tst-chk1.c: Don't declare gets here.
9987 * stdio-common/tst-gets.c: Likewise.
9988
a037381f
JM
99892012-01-24 Joseph Myers <joseph@codesourcery.com>
9990
9991 * posix/glob: Remove directory.
9992
f1d4aa75
JM
99932012-01-24 Joseph Myers <joseph@codesourcery.com>
9994
9995 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9996
81c0c964
PT
99972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9998
9999 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10000 of the non-standard EPFNOSUPPORT.
10001
0ea698ae
ST
100022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10003
10004 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10005 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10006 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10007
d220b117
UD
100082012-01-21 Ulrich Drepper <drepper@gmail.com>
10009
10010 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10011
3e1aa84e
UD
100122012-01-20 Ulrich Drepper <drepper@gmail.com>
10013
10014 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10015 transient errors.
10016 * nscd/grpcache.c (cache_addgr): Likewise.
10017 * nscd/hstcache.c (cache_addhst): Likewise.
10018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10019 * nscd/pwdcache.c (cache_addpw): Likewise.
10020 * nscd/servicescache.c (cache_addserv): Likewise.
10021
400aa020
UD
100222012-01-16 Ulrich Drepper <drepper@gmail.com>
10023
d77e7869
UD
10024 * malloc/malloc.c: Various cleanups.
10025 * malloc/hooks.c: Likewise.
10026
400aa020
UD
10027 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10028 * stdlib/bug-fmtmsg1.c: New file.
10029
10030 * stdlib/fmtmsg.c (init): Add missing unlock.
10031 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10032
e0a309cf
MP
100332012-01-12 Marek Polacek <polacek@redhat.com>
10034
10035 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10036 and _GNU_SOURCE.
10037
929d11c7
WS
100382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10039
10040 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10041 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10042 macro to ensure uniqueness of label name.
10043 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10044 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10045
41d0e869
UD
100462012-01-11 Ulrich Drepper <drepper@gmail.com>
10047
0cc5ed3b
UD
10048 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10049
41d0e869
UD
10050 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10051 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10054
a47a831a
UD
100552012-01-10 Ulrich Drepper <drepper@gmail.com>
10056
daa891c0
UD
10057 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10058
10059 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10060 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10061 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10062
e58ef0f2
UD
10063 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10064
a47a831a 10065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10066 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10067 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10069
10070 * math/bits/math-finite.h: Add ldexp support.
10071
a0bfc9c7
MP
100722012-01-10 Marek Polacek <polacek@redhat.com>
10073
10074 * locale/programs/localedef.h (show_archive_content): Add noreturn
10075 attribute.
10076
d6e97a1d
UD
100772012-01-09 Ulrich Drepper <drepper@gmail.com>
10078
10079 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10080
d5835c26
UD
100812012-01-08 Ulrich Drepper <drepper@gmail.com>
10082
e5f484c6
UD
10083 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10084
d5835c26
UD
10085 * io/Makefile (headers): Add bits/poll2.h.
10086
d1f741e9
WS
100872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10088
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10090 typo #include statement.
10091
ec09c1c4
UD
100922012-01-08 Ulrich Drepper <drepper@gmail.com>
10093
10094 * include/sys/cdefs.h: Define __attribute_alloc_size.
10095 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10096 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10097 * elf/pldd.c: Likewise.
10098 * iconv/iconv_charmap.c: Likewise.
10099 * iconv/iconvconfig.c: Likewise.
10100 * iconv/strtab.c: Likewise.
10101 * locale/programs/locale.c: Likewise.
10102 * locale/programs/localedef.h: Likewise.
10103 * locale/programs/simple-hash.c: Likewise.
10104 * nscd/nscd.h: Likewise.
10105 * nss/makedb.c: Likewise.
10106 * sysdeps/generic/ldconfig.h: Likewise.
10107 * locale/programs/localedef.c: Remove xmalloc prototype.
10108 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10109
20b38e03
PP
101102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10111
10112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10113 appropriate.
10114
a0da5fe1
UD
101152012-01-08 Ulrich Drepper <drepper@gmail.com>
10116
1d5a644a 10117 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10118 * math/tst-CMPLX.c: New file.
1d5a644a 10119
8784a6db
UD
10120 * math/complex.h (CMPLXL): Fix typo.
10121
d9a216c0
UD
10122 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10123 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10124 GLIBC_2.16.
10125 * debug/tst-chk1.c: Add poll and ppoll tests.
10126 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10127 * include/sys/poll.h: Add hidden proto for ppoll.
10128 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10129 * sysdeps/mach/hurd/ppoll.c: Likewise.
10130 * io/ppoll.c: Likewise.
10131 * debug/poll_chk.c: New file.
10132 * debug/ppoll_chk.c: New file.
10133 * include/bits/poll2.h: New file.
10134 * io/bits/poll2.h: New file.
10135
ac097f5c
UD
10136 [BZ #1350]
10137 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10138
2119dcfa
UD
10139 * configure.in: static is always set to yes. Remove.
10140 * config.make.in: Don't set build-static.
10141 * Makeconfig: Remove use of build-static.
10142 * dlfcn/Makefile: Likewise.
10143 * elf/Makefile: Likewise.
10144 * math/Makefile: Likewise.
10145 * misc/Makefile: Likewise.
10146 * nptl/Makefile: Likewise.
10147 * sysdeps/mach/hurd/Makefile: Likewise.
10148
121766a9
UD
10149 * configure.in: PWD_P is not used anymore.
10150 * config.make.in: Remove PWD_P entry.
10151
51a1d39c 10152 * configure.in: Remove last remnants of RANLIB.
8720d066 10153 No need to check for signed size_t anymore.
215f4bdc
UD
10154 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10155 and IA-64.
3857022a 10156 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10157 * aclocal.m4: Likewise.
10158
d3ed7225
UD
10159 * wcsmbs/mbrtoc16.c: Implement using towc function.
10160 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10161 * wcsmbs/wcsmbsload.c: Likewise.
10162 * iconv/gconv_simple.c: Likewise.
10163 * iconv/gconv_int.h: Likewise.
10164 * iconv/gconv_builtin.h: Likewise.
10165 * iconv/iconv_prog.c: Remove CHAR16 handling.
10166
10167 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10168
10169 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10170
a0da5fe1
UD
10171 * configure.in: Remove --with-elf and --enable-bounded options.
10172 Dont set base_machine for ia64. More non-ELF conditions removed.
10173 Remove testing and setting of leading underscore information.
10174 * config.make.in (build-bounded): Set to no.
10175 * config.h.in: Remove NO_UNDERSCORES entry.
10176 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10177 them.
10178 * csu/start.c: Remove !NO_UNDERSCORE code.
10179 * locale/localeinfo.h: Likewise.
10180 * sysdeps/generic/machine-gmon.h: Likewise.
10181 * sysdeps/generic/sysdep.h: Likewise.
10182 * sysdeps/i386/sysdep.h: Likewise.
10183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10184 * sysdeps/mach/sysdep.h: Likewise.
10185 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10187 * sysdeps/sh/sysdep.h: Likewise.
10188 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10189 * sysdeps/unix/i386/sysdep.S: Likewise.
10190 * sysdeps/unix/sparc/start.c: Likewise.
10191 * sysdeps/unix/sparc/sysdep.S: Likewise.
10192 * sysdeps/unix/sparc/sysdep.h: Likewise.
10193 * sysdeps/unix/start.c: Likewise.
10194 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10195 * sysdeps/x86_64/sysdep.h: Likewise.
10196
df78418a
UD
101972012-01-07 Ulrich Drepper <drepper@gmail.com>
10198
a784e502
UD
10199 [BZ #13553]
10200 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10201 for non-gcc.
10202 * argp/argp-fmtstream.h: Use const instead __const.
10203 * argp/argp.h: Likewise.
10204 * assert/assert.h: Likewise.
10205 * bits/fenv.h: Likewise.
10206 * bits/sched.h: Likewise.
10207 * bits/sigset.h: Likewise.
10208 * bits/sigthread.h: Likewise.
10209 * catgets/nl_types.h: Likewise.
10210 * conform/data/pthread.h-data: Likewise.
10211 * crypt/crypt-private.h: Likewise.
10212 * crypt/crypt.h: Likewise.
10213 * crypt/crypt_util.c: Likewise.
10214 * ctype/ctype.h: Likewise.
10215 * debug/execinfo.h: Likewise.
10216 * debug/mbsnrtowcs_chk.c: Likewise.
10217 * debug/mbsrtowcs_chk.c: Likewise.
10218 * debug/wcsnrtombs_chk.c: Likewise.
10219 * debug/wcsrtombs_chk.c: Likewise.
10220 * debug/wcstombs_chk.c: Likewise.
10221 * dirent/dirent.h: Likewise.
10222 * dlfcn/dlfcn.h: Likewise.
10223 * elf/neededtest4.c: Likewise.
10224 * grp/grp.h: Likewise.
10225 * gshadow/gshadow.h: Likewise.
10226 * iconv/gconv.h: Likewise.
10227 * iconv/gconv_int.h: Likewise.
10228 * iconv/gconv_simple.c: Likewise.
10229 * iconv/iconv.h: Likewise.
10230 * iconv/loop.c: Likewise.
10231 * iconv/skeleton.c: Likewise.
10232 * include/aio.h: Likewise.
10233 * include/aliases.h: Likewise.
10234 * include/argz.h: Likewise.
10235 * include/arpa/inet.h: Likewise.
10236 * include/assert.h: Likewise.
10237 * include/dirent.h: Likewise.
10238 * include/dlfcn.h: Likewise.
10239 * include/execinfo.h: Likewise.
10240 * include/fcntl.h: Likewise.
10241 * include/fenv.h: Likewise.
10242 * include/glob.h: Likewise.
10243 * include/grp.h: Likewise.
10244 * include/libintl.h: Likewise.
10245 * include/mntent.h: Likewise.
10246 * include/netdb.h: Likewise.
10247 * include/pwd.h: Likewise.
10248 * include/rpc/netdb.h: Likewise.
10249 * include/sched.h: Likewise.
10250 * include/search.h: Likewise.
10251 * include/shadow.h: Likewise.
10252 * include/signal.h: Likewise.
10253 * include/stdio.h: Likewise.
10254 * include/stdlib.h: Likewise.
10255 * include/string.h: Likewise.
10256 * include/sys/socket.h: Likewise.
10257 * include/sys/stat.h: Likewise.
10258 * include/sys/statfs.h: Likewise.
10259 * include/sys/statvfs.h: Likewise.
10260 * include/sys/syslog.h: Likewise.
10261 * include/sys/time.h: Likewise.
10262 * include/sys/uio.h: Likewise.
10263 * include/time.h: Likewise.
10264 * include/unistd.h: Likewise.
10265 * include/utmp.h: Likewise.
10266 * include/wchar.h: Likewise.
10267 * include/wctype.h: Likewise.
10268 * inet/aliases.h: Likewise.
10269 * inet/arpa/inet.h: Likewise.
10270 * inet/netinet/ether.h: Likewise.
10271 * inet/netinet/in.h: Likewise.
10272 * intl/libintl.h: Likewise.
10273 * io/bits/fcntl2.h: Likewise.
10274 * io/fcntl.h: Likewise.
10275 * io/ftw.h: Likewise.
10276 * io/sys/poll.h: Likewise.
10277 * io/sys/stat.h: Likewise.
10278 * io/sys/statfs.h: Likewise.
10279 * io/sys/statvfs.h: Likewise.
10280 * io/utime.h: Likewise.
10281 * libio/bits/stdio.h: Likewise.
10282 * libio/bits/stdio2.h: Likewise.
10283 * libio/libio.h: Likewise.
10284 * libio/libioP.h: Likewise.
10285 * libio/stdio.h: Likewise.
10286 * locale/lc-ctype.c: Likewise.
10287 * locale/locale.h: Likewise.
10288 * login/utmp.h: Likewise.
10289 * malloc/arena.c: Likewise.
10290 * malloc/malloc.c: Likewise.
10291 * malloc/malloc.h: Likewise.
10292 * malloc/mcheck.c: Likewise.
10293 * malloc/mtrace.c: Likewise.
10294 * math/bits/mathcalls.h: Likewise.
10295 * math/fenv.h: Likewise.
10296 * math/math_private.h: Likewise.
10297 * misc/bits/error.h: Likewise.
10298 * misc/bits/syslog.h: Likewise.
10299 * misc/err.h: Likewise.
10300 * misc/error.h: Likewise.
10301 * misc/fstab.h: Likewise.
10302 * misc/mntent.h: Likewise.
10303 * misc/regexp.h: Likewise.
10304 * misc/search.h: Likewise.
10305 * misc/sgtty.h: Likewise.
10306 * misc/sys/mman.h: Likewise.
10307 * misc/sys/syslog.h: Likewise.
10308 * misc/sys/uio.h: Likewise.
10309 * misc/sys/xattr.h: Likewise.
10310 * misc/ttyent.h: Likewise.
10311 * nis/rpcsvc/ypclnt.h: Likewise.
10312 * nss/nss.h: Likewise.
10313 * posix/bits/unistd.h: Likewise.
10314 * posix/fnmatch.h: Likewise.
10315 * posix/glob.h: Likewise.
10316 * posix/sched.h: Likewise.
10317 * posix/spawn.h: Likewise.
10318 * posix/sys/wait.h: Likewise.
10319 * posix/unistd.h: Likewise.
10320 * posix/wordexp.h: Likewise.
10321 * pwd/pwd.h: Likewise.
10322 * resolv/netdb.h: Likewise.
10323 * resource/sys/resource.h: Likewise.
10324 * rt/aio.h: Likewise.
10325 * rt/bits/mqueue2.h: Likewise.
10326 * rt/mqueue.h: Likewise.
10327 * shadow/shadow.h: Likewise.
10328 * signal/signal.h: Likewise.
10329 * socket/send.c: Likewise.
10330 * socket/sendto.c: Likewise.
10331 * socket/sys/socket.h: Likewise.
10332 * stdio-common/printf.h: Likewise.
10333 * stdlib/bits/stdlib.h: Likewise.
10334 * stdlib/fmtmsg.h: Likewise.
10335 * stdlib/monetary.h: Likewise.
10336 * stdlib/stdlib.h: Likewise.
10337 * stdlib/ucontext.h: Likewise.
10338 * streams/stropts.h: Likewise.
10339 * string/argz.h: Likewise.
10340 * string/bits/string2.h: Likewise.
10341 * string/string.h: Likewise.
10342 * string/strings.h: Likewise.
10343 * sunrpc/rpc/auth.h: Likewise.
10344 * sunrpc/rpc/auth_des.h: Likewise.
10345 * sunrpc/rpc/clnt.h: Likewise.
10346 * sunrpc/rpc/netdb.h: Likewise.
10347 * sunrpc/rpc/pmap_clnt.h: Likewise.
10348 * sunrpc/rpc/xdr.h: Likewise.
10349 * sysdeps/generic/inttypes.h: Likewise.
10350 * sysdeps/generic/net/if.h: Likewise.
10351 * sysdeps/generic/sys/swap.h: Likewise.
10352 * sysdeps/gnu/net/if.h: Likewise.
10353 * sysdeps/gnu/utmpx.h: Likewise.
10354 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10355 * sysdeps/i386/i486/bits/string.h: Likewise.
10356 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10357 * sysdeps/s390/bits/string.h: Likewise.
10358 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10359 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10360 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10361 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10362 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10363 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10364 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10365 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10366 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10367 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10368 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10369 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10370 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10371 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10372 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10373 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10374 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10380 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10383 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10384 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10386 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10387 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10388 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10389 * sysvipc/sys/ipc.h: Likewise.
10390 * sysvipc/sys/msg.h: Likewise.
10391 * sysvipc/sys/sem.h: Likewise.
10392 * sysvipc/sys/shm.h: Likewise.
10393 * termios/termios.h: Likewise.
10394 * time/sys/time.h: Likewise.
10395 * time/time.h: Likewise.
10396 * wcsmbs/bits/wchar2.h: Likewise.
10397 * wcsmbs/uchar.h: Likewise.
10398 * wcsmbs/wchar.h: Likewise.
10399 * wctype/wctype.h: Likewise.
10400
0269750c
UD
10401 [BZ #13551]
10402 * Makeconfig: Remove all but ELF support including AIX support.
10403 * Makerules: Likewise.
10404 * config.h.in: Likewise.
10405 * config.make.in: Likewise.
10406 * configure: Likewise.
10407 * configure.in: Likewise.
10408 * csu/Makefile: Likewise.
10409 * csu/version.c: Likewise.
10410 * debug/Makefile: Likewise.
10411 * dlfcn/Makefile: Likewise.
10412 * elf/Makefile: Likewise.
10413 * extra-lib.mk: Likewise.
10414 * iconv/Makefile: Likewise.
10415 * include/libc-symbols.h: Likewise.
10416 * include/shlib-compat.h: Likewise.
10417 * resolv/Makefile: Likewise.
10418 * resolv/res_libc.c: Likewise.
10419 * rt/Makefile: Likewise.
10420 * sysdeps/i386/asm-syntax.h: Likewise.
10421 * sysdeps/i386/sysdep.h: Likewise.
10422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10423 * sysdeps/mach/sysdep.h: Likewise.
10424 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10425 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10426 * sysdeps/s390/asm-syntax.h: Likewise.
10427 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10429 * sysdeps/sh/sysdep.h: Likewise.
10430 * sysdeps/unix/sparc/sysdep.h: Likewise.
10431 * sysdeps/wordsize-32/divdi3.c: Likewise.
10432 * sysdeps/x86_64/sysdep.h: Likewise.
10433
00bbd29b
UD
10434 * argp/Versions: Remove _argp_unlock_xxx.
10435
10436 [BZ #13559]
10437 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10438 * abilist/libBrokenLocale.abilist: Likewise.
10439 * abilist/libanl.abilist: Likewise.
10440 * abilist/libc.abilist: Likewise.
10441 * abilist/libcrypt.abilist: Likewise.
10442 * abilist/libdl.abilist: Likewise.
10443 * abilist/libm.abilist: Likewise.
10444 * abilist/libnsl.abilist: Likewise.
10445 * abilist/libpthread.abilist: Likewise.
10446 * abilist/libresolv.abilist: Likewise.
10447 * abilist/librt.abilist: Likewise.
10448 * abilist/libthread_db.abilist: Likewise.
10449 * abilist/libutil.abilist: Likewise.
10450 * abilist/libnss_db.abilist: New file.
10451
10452 * scripts/abilist.awk: Add support for indirect functions.
10453
a2693a0e
UD
10454 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10455
3f05895f
UD
10456 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10457
ecb6fb48
UD
10458 * shlib-versions: Remove entries for ports architectures.
10459
664f8cb9
UD
10460 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10461 files in ports.
10462 * elf/stackguard-macros.h: Remove support for IA-64.
10463 * elf/tst-auditmod1.c: Likewise.
10464 * sysdeps/generic/ldsodefs.h: Likewise.
10465
7ae81d88
UD
10466 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10467 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10468 configure files.
10469
bdeba135
UD
10470 [BZ #13552]
10471 * configure.in: Remove --enable-omitfp support.
10472 * FAQ.in: Adjust.
10473 * config.make.in: Likewise.
10474 * Makeconfig: Likewise.
10475 * manual/install.texi: Likewise.
10476
d75a0a62
UD
10477 In case anyone cares, the IA-64 architecture could move to ports.
10478 * sysdeps/ia64/*: Removed.
10479 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10480 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10481
dcc9756b
UD
10482 [BZ #13555]
10483 * configure.in: Remove entries for unsupported architectures.
10484
d3761ebc 10485 [BZ #13533]
9954432e
UD
10486 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10487 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10488 routines.
10489 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10490 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10491 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10492 fall back to using wcrtomb.
10493 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10494 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10495 renaming.
10496 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10497 * wcsmbs/tst-c16c32-1.c: New file.
10498
10499 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10500 local variable.
10501
c3a87236
UD
10502 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10503
28926a1b
UD
10504 * elf/tst-unique3.cc: Add explicit declaration of gets.
10505 * elf/tst-unique3lib.cc: Likewise.
10506 * elf/tst-unique3lib2.cc: Likewise.
10507 * elf/tst-unique4.cc: Likewise.
10508
df78418a
UD
10509 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10510
8ecd6b2a
JM
105112012-01-06 Joseph Myers <joseph@codesourcery.com>
10512
10513 [BZ #13566]
10514 * assert/assert.h (static_assert): Don't define for C++.
10515 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10516 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10517
9f115170
UD
105182012-01-03 Ulrich Drepper <drepper@gmail.com>
10519
5e0d0300
UD
10520 * iconv/loop.c (single loop): Fix assertion in storing of
10521 remaining bytes.
10522
9f115170
UD
10523 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10524
81fb02b0
UD
105252012-01-01 Ulrich Drepper <drepper@gmail.com>
10526
10527 * posix/getconf.c: Update copyright year.
10528 * nss/getent.c: Likewise.
a316c1f6 10529 * nss/makedb.c: Likewise.
81fb02b0
UD
10530 * iconv/iconvconfig.c: Likewise.
10531 * iconv/iconv_prog.c: Likewise.
10532 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10533 * elf/pldd.c: Likewise.
10534 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10535 * catgets/gencat.c: Likewise.
10536 * csu/version.c: Likewise.
10537 * elf/ldd.bash.in: Likewise.
10538 * elf/sprof.c (print_version): Likewise.
10539 * locale/programs/locale.c: Likewise.
10540 * locale/programs/localedef.c: Likewise.
a316c1f6 10541 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10542 * nscd/nscd.c (print_version): Likewise.
10543 * debug/xtrace.sh: Likewise.
10544 * malloc/memusage.sh: Likewise.
10545 * malloc/mtrace.pl: Likewise.
10546 * debug/catchsegv.sh: Likewise.
10547
2ba92745
JJ
105482011-12-30 Jakub Jelinek <jakub@redhat.com>
10549
10550 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10551 pure attribute.
10552
dadebdae
UD
105532011-12-24 Ulrich Drepper <drepper@gmail.com>
10554
d3761ebc 10555 [BZ #13533]
db6af3eb
UD
10556 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10557 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10558 transformations.
10559 * iconv/gconv_int.h: Likewise.
10560 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10561 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10562 from libc for GLIBC_2.16.
10563 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10564 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10565 * wcsmbs/uchar.h: Really define mbstate_t.
10566 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10567 * wcsmbs/c16rtomb.c: New file.
10568 * wcsmbs/mbrtoc16.c: New file.
10569 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10570 for C/POSIX locale.
10571 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10572 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10573
dadebdae
UD
10574 * wcsmbs/wchar.h: Add missing __restrict.
10575
67371b56
UD
105762011-12-23 Ulrich Drepper <drepper@gmail.com>
10577
74033a25
UD
10578 [BZ #13532]
10579 * time/Makefile (routines): Add timespec_get.
10580 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10581 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10582 timespec for ISO C11.
10583 * time/timespec_get.c: New file.
10584 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10585 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10586
380d7e87
UD
10587 [BZ #13531]
10588 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10589 * stdlib/stdlib.h: Declare aligned_alloc.
10590 * Versions.def: Add GLIBC_2.16 for libc.
10591 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10592
4e9e7a35
UD
10593 [BZ 13527]
10594 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10595 ISO C11.
10596
380d7e87 10597 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10598 code.
10599
03a71829
UD
10600 [BZ #13528]
10601 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10602
839e283e
UD
10603 [BZ #13529]
10604 * assert/assert.h (static_assert): Define.
10605
ce5294e2 10606 * version.h: Update for 2.16 development version.
90fa7312 10607
8d44e150 10608 [BZ #13526]
d7809905
UD
10609 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10610 _ISOC11_SOURCE.
10611
c0da14cd
UD
10612 * version.h (RELEASE): Bump for 2.15 release.
10613 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10614
530a3249
MP
10615 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10616 Patch by Marek Polacek <mpolacek@redhat.com>.
10617
67371b56
UD
10618 * bits/byteswap.h: Protect long long constants with __extension__.
10619 * sysdeps/i386/bits/byteswap.h: Likewise.
10620 * sysdeps/ia64/bits/byteswap.h: Likewise.
10621 * sysdeps/s390/bits/byteswap.h: Likewise.
10622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10623
15db4de1
LD
106242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10625
10626 [BZ #13540]
bbe315ea
LD
10627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10628 destination buffer.
15db4de1
LD
10629 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10630
2b2596b1
MP
106312011-12-23 Marek Polacek <polacek@redhat.com>
10632
10633 * elf/dl-addr.c (determine_info): Add inline keyword.
10634 * elf/tst-auditmod4b.c (check_avx): Likewise.
10635 * elf/tst-auditmod6b.c (check_avx): Likewise.
10636 * elf/tst-auditmod6c.c (check_avx): Likewise.
10637 * elf/tst-auditmod7b.c (check_avx): Likewise.
10638
70c6c246
UD
106392011-12-23 Ulrich Drepper <drepper@gmail.com>
10640
10641 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10642 !__SSE_MATH__.
10643
c044cf14
LD
106442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10645
15db4de1 10646 [BZ #13540]
c044cf14
LD
10647 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10648 processing for last bytes.
10649
6b13d9d9
BH
106502011-08-06 Bruno Haible <bruno@clisp.org>
10651
d455f537
BH
10652 [BZ #13061]
10653 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10654 U+0385, not to U+1FEE.
10655
6b13d9d9
BH
10656 [BZ #13062]
10657 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10658 entry for U+00A5 U+0301.
10659
db910efd
UD
106602011-12-22 Ulrich Drepper <drepper@gmail.com>
10661
27deeafc
UD
10662 [BZ #13166]
10663 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10664 buffer for the output is too small.
10665
aed9d171
UD
10666 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10667 optimization.
10668
db910efd
UD
10669 [BZ #13185]
10670 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10671 SSE flags if possible.
10672
2bd779ae
LD
106732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10674
e7f9dac3 10675 [BZ #13540]
2bd779ae
LD
10676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10677 processing for last bytes.
10678
154bfc16
JM
106792011-12-22 Joseph Myers <joseph@codesourcery.com>
10680
10681 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10682 (syscall-list-default-options, syscall-list-default-condition)
10683 (syscall-list-includes): Define.
10684 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10685 list of ABIs and options and #if conditions for each ABI. Do not
10686 handle common syscalls between ABIs specially.
10687 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10688 Remove.
10689 (syscall-list-variants, syscall-list-32bit-options)
10690 (syscall-list-32bit-condition, syscall-list-64bit-options)
10691 (syscall-list-64bit-condition): Define.
10692 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10693 (syscall-list-variants, syscall-list-32bit-options)
10694 (syscall-list-32bit-condition, syscall-list-64bit-options)
10695 (syscall-list-64bit-condition): Define.
10696 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10697 Remove.
10698 (syscall-list-variants, syscall-list-32bit-options)
10699 (syscall-list-32bit-condition, syscall-list-64bit-options)
10700 (syscall-list-64bit-condition): Define.
10701 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10702 Remove.
10703 (syscall-list-variants, syscall-list-32bit-options)
10704 (syscall-list-32bit-condition, syscall-list-64bit-options)
10705 (syscall-list-64bit-condition): Define.
10706
21eaf3a5
UD
107072011-12-22 Ulrich Drepper <drepper@gmail.com>
10708
16c6f992
UD
10709 * locale/iso-639.def: Add brx entry.
10710
41043168
UD
10711 [BZ #13328]
10712 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10713 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10714
21eaf3a5
UD
10715 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10716 __feraiseexcept_renamed.
10717
e3a851a2
UD
107182011-12-21 Ulrich Drepper <drepper@gmail.com>
10719
4920765e
UD
10720 [BZ #13538]
10721 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10722 EPOLLET with unsigned values.
10723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10725
e3a851a2
UD
10726 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10727 to large cancellation.
10728 * math/s_cacoshf.c: Likewise.
10729 * math/s_cacoshl.c: Likewise.
10730
b27e24b8
RK
107312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10732
10733 [BZ #13305]
aebefeee 10734 [BZ #12786]
b27e24b8
RK
10735 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10736 * math/s_cacoshf.c: Likewise.
10737 * math/s_cacoshl.c: Likewise.
10738
ee190f67
UD
107392011-12-21 Ulrich Drepper <drepper@gmail.com>
10740
10741 [BZ #13439]
10742 * iconv/gconv.h: Define __GCONV_SWAP.
10743 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10744 * iconvdata/utf-16.c: Likewise.
10745 * iconvdata/utf-32.c: Likewise.
10746
707f25df
AS
107472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10748
10749 [BZ #13524]
10750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10751 numerator after shifting it by one limb.
10752
d2daaa1e
RÁE
107532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10754
10755 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10756 under [__USE_EXTERN_INLINES].
10757
a4647e72
UD
107582011-12-17 Ulrich Drepper <drepper@gmail.com>
10759
10760 [BZ #13446]
10761 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10762
f0b264f1
AZ
107632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10764
10765 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10766 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10767 optimized code.
10768 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10770 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10771 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10772 for strncasecmp/strncasecmp_l compilation.
10773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10774 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10775
8ef4f244
MP
107762011-12-08 Marek Polacek <mpolacek@redhat.com>
10777
10778 [BZ #13484]
10779 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10780 of __asm__.
10781
97ac2654
UD
107822011-12-17 Ulrich Drepper <drepper@gmail.com>
10783
10784 [BZ #13506]
10785 * time/tzfile.c (__tzfile_read): Check values from file header.
10786
91d2a845
WS
107872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10788
10789 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10790 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10791 * powerpc/powerpc32/dl-start.S: Likewise.
10792 * powerpc/powerpc32/elf/start.S: Likewise.
10793 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10794 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10795 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10796 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10797 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10798 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10799 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10800 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10801 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10802 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10803 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10804 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10805 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10806 * powerpc/powerpc32/memset.S: Likewise.
10807 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10808 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10809 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10810 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10811 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10812 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10813 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10814 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10815 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10816 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10817 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10818 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10819 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10820
a1267ba1
AZ
108212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822
10823 * math/libm-test.inc: Added more nearbyint tests.
10824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10828
ad8ac1bd
RL
108292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10830
10831 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10832 FD_CLOEXEC.
10833
1d3e4b61
UD
108342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10835
10836 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10837 Add wcscpy-ssse3 wcscpy-c.
10838 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10839 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10840 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10841 * sysdeps/x86_64/wcschr.S: New file.
10842 * sysdeps/x86_64/wcsrchr.S: New file.
10843 * string/test-strcmp.c: Remove checking of wcscmp function for
10844 wrong alignments.
10845 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10846 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10847 wcsrchr-sse2 wcsrchr-c.
10848 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10849 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10850 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10851 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10852 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10853 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10854 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10855 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10856 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10857 * wcsmbc/wcschr.c (WCSCHR): New macro.
10858
5b330a2d
UD
108592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10860
10861 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10862 * wcsmbs/test-wcsrchr.c: New file.
10863 * string/test-strrchr.c: Add wcsrchr support.
10864 (WIDE): New macro.
10865 * wcsmbs/test-wcscpy.c: New file.
10866 * string/test-strcpy.c: Add wcscpy support.
10867 (WIDE): New macro.
26428b7c 10868
f039c043
UD
108692011-12-10 Ulrich Drepper <drepper@gmail.com>
10870
10871 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10872 the inner loop.
10873
850fb039
AS
108742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10875
10876 [BZ #13472]
10877 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10878
4efbd5cb
UD
108792011-12-04 Ulrich Drepper <drepper@gmail.com>
10880
52ff5dd0 10881 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10882 Minor optimizations.
52ff5dd0 10883
4efbd5cb
UD
10884 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10885 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10886 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10887
8a426e12
UD
108882011-12-03 Ulrich Drepper <drepper@gmail.com>
10889
aff2453d
UD
10890 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10891 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10892 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10893 for gcc to avoid warnings.
10894 * inet/Makefile (tests): Add tst-checks.
10895 * inet/tst-checks.c: New file.
10896
10897 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10898 warning.
10899
10900 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10901 __wmemcmp_sse2.
10902
10903 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10904 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10905
8a426e12
UD
10906 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10907
9bea3473
UD
109082011-12-02 Ulrich Drepper <drepper@gmail.com>
10909
3a965496
UD
10910 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10911 problem.
10912
9bea3473
UD
10913 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10914
f101631b
UD
109152011-11-29 Joseph Myers <joseph@codesourcery.com>
10916
10917 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10918 conditional on GCC version.
10919 (__arch_compare_and_exchange_val_8_acq)
10920 (__arch_compare_and_exchange_val_16_acq)
10921 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10922 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10923 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10924
a98275aa
UD
109252011-12-02 Joseph Myers <joseph@codesourcery.com>
10926
10927 * sysdeps/sh/backtrace.c: New file.
10928
d4cc29a2
AS
109292011-12-02 Andreas Schwab <schwab@redhat.com>
10930
10931 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10932 parenthesis.
10933
6257af2d
AS
109342011-12-01 Andreas Schwab <schwab@redhat.com>
10935
10936 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10937 falling back to utime.
10938
b5f44c1a
AS
109392011-11-30 Andreas Schwab <schwab@redhat.com>
10940
10941 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10942 expectations for float.
10943
f3a6cc0a
AS
109442011-11-29 Andreas Schwab <schwab@redhat.com>
10945
10946 * locale/weight.h (findidx): Add parameter len.
10947 * locale/weightwc.h (findidx): Likewise.
10948 * posix/fnmatch_loop.c (FCT): Adjust caller.
10949 * posix/regcomp.c (build_equiv_class): Likewise.
10950 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10951 * posix/regexec.c (check_node_accept_bytes): Likewise.
10952 * string/strcoll_l.c (STRCOLL): Likewise.
10953 * string/strxfrm_l.c (STRXFRM): Likewise.
10954
9d65ea3a
UD
109552011-11-17 Ulrich Drepper <drepper@gmail.com>
10956
10957 * Makefile.in: Remove CVSOPT handling.
10958 * configure.in: Remove use of AC_REVISION.
10959 * iconvdata/Makefile (distribute): No need to filter out CVS.
10960 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10961 handling.
10962
5583a086
AS
109632011-11-16 Andreas Schwab <schwab@redhat.com>
10964
10965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10966 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10967 [USE_AS_STRNCASECMP_L]: Likewise.
10968 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10969 NO_TLS_DIRECT_SEG_REFS.
10970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10971 Fix argument offsets for non-PIC.
10972 [USE_AS_STRNCASECMP_L]: Likewise.
10973 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10974 NO_TLS_DIRECT_SEG_REFS.
10975
d62a8200
UD
109762011-11-15 Ulrich Drepper <drepper@gmail.com>
10977
9d65ea3a 10978 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10979 O_CLOEXEC.
10980 * locale/loadlocale.c (_nl_load_locale): Likewise.
10981
09f93bd3
AS
109822011-11-15 Andreas Schwab <schwab@redhat.com>
10983
446514f9
AS
10984 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10985 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10986 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10987 (SYSCALL_GETTIME): Set errno on error.
10988
09f93bd3
AS
10989 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10990 count references to noai6ai_cached.
10991
312be3f9
UD
109922011-11-15 Ulrich Drepper <drepper@gmail.com>
10993
10994 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10995
10996 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10997 FD_CLOEXEC for /proc/self/maps.
10998
10999 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11000 FD_CLOEXEC for /proc/meminfo.
11001
11002 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11003 gai.conf.
11004
11005 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11006 FD_CLOEXEC for given file.
11007
11008 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11009
11010 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11011 FD_CLOEXEC for /etc/hosts.
11012 (_gethtent): Likewise.
11013
11014 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11015
11016 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11017 cancellation and set FD_CLOEXEC for /etc/netgroup.
11018
11019 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11020 reading /etc/publickey.
11021
11022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11023 allow cancellation when reading /etc/group.
11024
11025 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11026 cancellation.
11027 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11028
11029 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11030 when using data file.
11031
11032 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11033
11034 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11035 (write_nis_obj): Use "c" and "e" in fopen.
11036
11037 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11038
11039 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11040
11041 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11042
11043 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11044
11045 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11046 locale.alias.
11047
11048 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11049
11050 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11051
11052 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11053
11054 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11055 file parsing and set FD_CLOEXEC.
11056
82af0fa8
UD
110572011-11-14 Ulrich Drepper <drepper@gmail.com>
11058
11059 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11060
a5fb313c
AS
110612011-11-14 Andreas Schwab <schwab@redhat.com>
11062
11063 * malloc/arena.c (arena_get2): Don't call reused_arena when
11064 _int_new_arena failed.
11065
6abf3465
UD
110662011-11-14 Ulrich Drepper <drepper@gmail.com>
11067
11068 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11069 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11071 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11074 to compile strcasecmp and strncasecmp.
11075 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11076 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11077
11078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11079
76e3966e
UD
110802011-11-13 Ulrich Drepper <drepper@gmail.com>
11081
11082 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11083 locale-defines.sym to gen-as-const-headers.
11084 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11085 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11087 to compile strcasecmp and strncasecmp.
11088 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11089 strcasecmp_l and strncasecmp_l.
11090 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11091 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11092 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11094 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11095 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11096 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11097 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11098 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11099 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11100 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11101
ab26144e
UD
111022011-11-12 Ulrich Drepper <drepper@gmail.com>
11103
7edb22ef
UD
11104 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11105 result of SYSDEP_GETTIME_CPU to retval.
11106 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11107 parameter list to macro. Remove trailing semicolon. Adjust users.
11108
9694fc44
UD
11109 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11110 variable.
11111
8ad89ef8
UD
11112 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11113 mantissa words.
11114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11115
0c822ef9
UD
11116 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11117 from unused variable.
11118
874e0564
UD
11119 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11120 DWARF definitions.
11121 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11122 for assembling.
11123
3a2edc79
UD
11124 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11125 over namespaces.
11126
f3c2577f
UD
11127 * sunrpc/rpc_prot.c (rejected): Fix case value.
11128
294ce126
UD
11129 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11130 unsigned long long int to avoid warnings in shift.
11131
5e2b63c6
UD
11132 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11133 of use of trans.
11134 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11135 variable tmp.
11136
e7f4b08e
UD
11137 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11138 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11139 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11140
ab26144e
UD
11141 * nis/nis_table.c (nis_list): Use variable of correct type for
11142 result of __follow_path call.
11143
8a6d5255
AZ
111442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11145
11146 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11147 of math functions ceil, trunc, floor, round, and sqrt, when
11148 avaliable on the platform.
11149 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11150 name clash.
11151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11154
aaddc98c
MP
111552011-10-30 Marek Polacek <mpolacek@redhat.com>
11156
11157 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11158 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11159
95b7042b
RM
111602011-11-11 Roland McGrath <roland@hack.frob.com>
11161
11162 * include/unistd.h: Fix __readlink return type.
11163 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11164
57769839
UD
111652011-11-11 Ulrich Drepper <drepper@gmail.com>
11166
11167 * stdlib/ucontext.h: Undo last change for makecontext.
11168
edc5984d
AS
111692011-11-11 Andreas Schwab <schwab@redhat.com>
11170
98591e58
AS
11171 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11172
edc5984d
AS
11173 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11174 * setjmp/setjmp.h: Mark functions as non-leaf.
11175 * setjmp/bits/setjmp2.h: Likewise.
11176 * stdlib/ucontext.h: Likewise.
11177
77cdc054
AS
111782011-11-10 Andreas Schwab <schwab@redhat.com>
11179
11180 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11181 (reused_arena): Don't check arena limit.
11182 (arena_get2): Atomically check arena limit.
11183
fe72eebd
UD
111842011-11-08 Ulrich Drepper <drepper@gmail.com>
11185
5f078c32
UD
11186 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11187 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11188
fe72eebd
UD
11189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11190 instructions.
11191
ae1bc2fa
AS
111922011-11-07 Andreas Schwab <schwab@redhat.com>
11193
7583a88d
AS
11194 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11195 handler when locking.
11196
ae1bc2fa
AS
11197 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11198 Fix size of allocated buffer.
11199
10fb0bfa
AS
112002011-11-04 Andreas Schwab <schwab@redhat.com>
11201
998832a4
AS
11202 [BZ #10103]
11203 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11204 declarations for long double functions.
11205 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11206
10fb0bfa
AS
11207 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11208
3d7ba52b
AS
112092011-11-03 Andreas Schwab <schwab@redhat.com>
11210
a9ae54a1
AS
11211 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11212 installed.
11213
3d7ba52b
AS
11214 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11215 is disabled.
11216
bc8db248
ST
112172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11218
11219 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11220
45b96dd6
AS
112212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11222
647776f6
AS
11223 * include/alloca.h (stackinfo_alloca_round): Define.
11224 (extend_alloca): Use it.
11225 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11226 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11227 here.
11228
d91a8b93
AS
11229 * scripts/check-local-headers.sh: Ignore libaudit.h.
11230
45b96dd6
AS
11231 * nscd/Makefile (extra-objs): Make recursively expanded.
11232
432d41ce
UD
112332011-11-01 Ulrich Drepper <drepper@gmail.com>
11234
34372fc6
UD
11235 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11237
fadb59f8
UD
11238 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11239 * posix/tst-rfc3484-2.c: Likewise.
11240 * posix/tst-rfc3484-3.c: Likewise.
11241
78239589
UD
11242 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11243 process_vm_writev.
11244 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11245 process_vm_writev.
11246 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11247 process_vm_writev from libc using GLIBC_2.15 version.
11248
432d41ce
UD
11249 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11250
02f9c6cf
PP
112512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11252
11253 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11254 stack usage.
11255
3a2c0242
UD
112562011-10-31 Ulrich Drepper <drepper@gmail.com>
11257
f4ec4833
UD
11258 [BZ #13367]
11259 * nss/getent.c (initgroups_keys): Show error message in case no group
11260 names are given.
11261
3a2c0242
UD
11262 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11263 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11264 __bump_nl_timestamp.
11265 * nscd/connections (nscd_init): When host database is served open
11266 netlink socket and request notification about configuration changes.
11267 (main_loop_poll): Track netlink file descriptor and bump timestamp
11268 in case data becomes available.
11269 (main_loop_epoll): Likewise.
11270 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11271 (database_pers_head): Add extra_data fileds.
11272 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11273 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11274 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11275 Adjust caller.
11276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11277 in6ai data, call __free_in6ai.
11278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11279 Add -DHAVE_NETLINK.
11280 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11281 interface information. Reuse previous data if netlink timestamp
11282 is not changed.
11283 (__bump_nl_timestamp): New function.
11284 (__free_in6ai): New function.
11285
636064eb
UD
112862011-10-30 Ulrich Drepper <drepper@gmail.com>
11287
11288 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11289 close_not_cancel_no_status here.
11290 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11291
9beb2334
UD
112922011-10-29 Ulrich Drepper <drepper@gmail.com>
11293
6ef76f3b
UD
11294 [BZ #13276]
11295 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11296 return value.
11297
0ffc4f3e 11298 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11299 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11300 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11301
cb95113e
UD
113022011-07-03 Andreas Jaeger <aj@suse.de>
11303
11304 [BZ #10709]
11305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11306 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11307 * math/libm-test.inc (sin_test): Add test case.
11308
a1b560ff
UD
113092011-10-29 Ulrich Drepper <drepper@gmail.com>
11310
c9aaface
UD
11311 [BZ #13337]
11312 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11313 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11314
d272e7f1
UD
11315 * elf/chroot_canon.c (chroot_canon): Cleanups.
11316
1bc33071
UD
11317 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11318
1760874d
TJ
11319 [BZ #13335]
11320 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11321 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11322
51d91b18
UD
11323 * string/test-strchr.c: Make usable for strchrnul testing.
11324 * string/test-strchrnul.c: New file.
11325 * string/Makefile (strop-tests): Add strchrnul.
11326
a1b560ff 11327 * po/it.po: Update from translation team.
b611fb81 11328 * po/es.po: Likewise.
a1b560ff 11329
a5b81e1f
UD
113302011-10-28 Ulrich Drepper <drepper@gmail.com>
11331
fd52bc6d
UD
11332 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11333 the three constants needed as parameters. Drop the others.
11334 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11335 __m128i_strloadu_tolower.
52e4b9eb
UD
11336 Create and initialize variable zero and use it in all the places
11337 where _mm_setzero_si128 was used.
fd52bc6d 11338
a5b81e1f
UD
11339 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11340 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11341 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11342 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11343 anymore.
11344 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11345 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11346 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11347 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11348 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11349 __mpranred, __mptan.
11350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11354 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11355 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11357 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11358 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11359
b4343346
AS
113602011-10-28 Andreas Schwab <schwab@redhat.com>
11361
0c92d8a8
AS
11362 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11363 redefine if SHARED.
11364 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11365
b4343346
AS
11366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11367 wide char related routines to wcsmbs subdir.
11368
3871f58f
AS
113692011-10-27 Andreas Schwab <schwab@redhat.com>
11370
11371 [BZ #13344]
11372 * misc/sys/cdefs.h (__THROWNL): Define.
11373 * posix/unistd.h: Use __THREADNL instead of __THREAD
11374 for memory synchronization functions.
11375
94d44d9f
RM
113762011-10-26 Roland McGrath <roland@hack.frob.com>
11377
21b64b15 11378 [BZ #13349]
94d44d9f
RM
11379 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11380 doesn't exist.
11381 * manual/stdio.texi (Obstack Streams): Node removed.
11382
f6ce9294
AS
113832011-10-26 Andreas Schwab <schwab@redhat.com>
11384
80479147
AS
11385 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11386 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11388
f6ce9294
AS
11389 * math/math_private.h (math_force_eval): Allow non-addressable
11390 arguments.
11391 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11392
618280a1
UD
113932011-10-25 Ulrich Drepper <drepper@gmail.com>
11394
e0016b11
UD
11395 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11396 file is not needed.
11397
11398 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11399 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11406 Add AVX variants.
11407 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11408 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11409 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11410 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11411 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11412 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11413 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11414 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11417 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11418 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11420 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11421 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11422 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11423 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11424 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11425 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11426
11427 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11428 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11429
618280a1
UD
11430 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11431 place. Use VEX encoding when compiling for AVX.
11432
37822576
AS
114332011-10-25 Andreas Schwab <schwab@redhat.com>
11434
1f1e1947
AS
11435 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11436 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11437
37822576
AS
11438 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11439
31ea014d
UD
114402011-10-25 Ulrich Drepper <drepper@gmail.com>
11441
d7826aa1 11442 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11443 useless if() expression.
d7826aa1
UD
11444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11453 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11462 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11463
31ea014d
UD
11464 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11465
16437fec
AS
114662011-10-25 Andreas Schwab <schwab@redhat.com>
11467
11468 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11469 condition.
11470 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11471
31d3cc00
UD
114722011-10-25 Ulrich Drepper <drepper@gmail.com>
11473
11474 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11475 .text section. Avoid duplicate constants.
11476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11486 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11488 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11491 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11493 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11500 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11501 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11502 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11504 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11505 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11507 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11508 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11509 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11510 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11511 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11512 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11514 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11515 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11518 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11519 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11520 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11521
58985aa9
UD
115222011-10-24 Ulrich Drepper <drepper@gmail.com>
11523
202c9deb
UD
11524 * sysdeps/x86_64/dla.h: Move to ...
11525 * sysdeps/x86_64/fpu/dla.h: ...here.
11526 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11527 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11528
af968f62
UD
11529 * config.make.in: Add have-mfma4 entry.
11530 * configure.in: Substitute libc_cv_cc_fma4.
11531 * math/Makefile (dbl-only-routines): Add sincostab.
11532 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11533 Use __sincostab not sincos.
11534 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11535 name is a macro.
11536 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11540 using __copysign.
11541 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11542 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11543 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11544 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11545 and __inv.
11546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11547 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11548 __copysign.
11549 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11550 define aliases when function name is a macro.
11551 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11552 sysdeps/ieee754/dbl-64/sincos.tbl.
11553 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11554 fma4-enabled routines.
11555 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11556 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11557 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11558 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11560 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11561 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11562 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11563 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11564 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11565 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11566 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11567 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11577 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11582 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11585
58985aa9
UD
11586 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11587 rename.
11588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11596
a201fbcf
AS
115972011-10-24 Andreas Schwab <schwab@redhat.com>
11598
11599 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11600
fc2ee42a
LD
116012011-10-23 Ulrich Drepper <drepper@gmail.com>
11602
bb3129bd
UD
11603 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11604
0275fff8
UD
11605 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11606 prediction.
11607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11608
2fa2ae85
UD
11609 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11610 Remove unused variable magic_bits.
11611 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11612
fc2ee42a
LD
11613 * string/strnlen.c: Define and use STRNLEN macro.
11614 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11615 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11617 * wcsmbs/wcslen.c: Define and use WCSLEN.
11618 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11619 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11620 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11621 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11622 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11623 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11624 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11625
ce7dd29f
LD
116262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11627
11628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11629 strnlen-sse2-no-bsf.
11630 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11632 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11633 Add strnlen support.
11634 (USE_AS_STRNLEN): New macro.
11635 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11637 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11638 * sysdeps/x86_64/wcslen.S: New file.
11639
979c70a3
MZ
116402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11641
11642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11643 XMM-moves are used for copying on small sizes.
11644
2d09f82f
LD
116452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11646
11647 * wcsmbs/Makefile (strop-tests): Add wcschr.
11648 * wcsmbs/test-wcschr.c: New file.
11649 * string/test-strchr.c: Update.
11650 Add wcschr support.
11651 (WIDE): New macro.
11652
619fccca
LD
116532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11654
2d09f82f 11655 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11656 * wcsmbs/test-wcslen.c: New file.
11657 * string/test-strlen.c: Update.
11658 Add wcslen support.
11659 (WIDE): New macro.
11660
09f699ea
UD
116612011-10-23 Ulrich Drepper <drepper@gmail.com>
11662
11663 * po/it.po: Update from translation team.
11664
95584d3b
LD
116652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11666
11667 * sysdeps/x86_64/wcscmp.S: Update.
11668 Fix wrong comparison semantics.
11669 wcscmp shall use signed comparison not unsigned.
11670 Don't use substraction to avoid overflow bug.
11671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11672 * wcsmbc/wcscmp.c: Likewise.
11673 * string/test-strcmp.c: Likewise.
11674 Add new tests to check cases with negative values.
11675
c8b3296b
UD
116762011-10-23 Ulrich Drepper <drepper@gmail.com>
11677
11678 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11679 * sysdeps/x86_64/dla.h: ...here. New file.
11680 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11689
246ad57a
AS
116902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11691
11692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11693 __ynl_finite aliases.
11694
a1a87169
UD
116952011-10-22 Ulrich Drepper <drepper@gmail.com>
11696
0d355eb7
UD
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11698
a1a87169
UD
11699 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11700 define DLA_FMA.
11701 [DLA_FMA] (EMULV): Use DLA_FMA.
11702 [DLA_FMA] (MUL12): Use EMULV.
11703 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11704 that are not needed.
11705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11712
ee2aafe0
AS
117132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 * math/s_nan.c: Undef __nan.
11716 * math/s_nanf.c: Undef __nanf.
11717 * math/s_nanl.c: Undef __nanl.
11718 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11719 "math_private.h".
11720
bc62c2fb
UD
117212011-10-22 Ulrich Drepper <drepper@gmail.com>
11722
77425c63
UD
11723 * math/s_catan.c: Add branch predictions.
11724 * math/s_catanf.c: Likewise.
11725 * math/s_catanh.c: Likewise.
11726 * math/s_catanhf.c: Likewise.
11727 * math/s_catanhl.c: Likewise.
11728 * math/s_catanl.c: Likewise.
11729 * math/s_cexp.c: Likewise.
11730 * math/s_cexpf.c: Likewise.
11731 * math/s_cexpl.c: Likewise.
11732 * math/s_clog.c: Likewise.
11733 * math/s_clog10.c: Likewise.
11734 * math/s_clog10f.c: Likewise.
11735 * math/s_clog10l.c: Likewise.
11736 * math/s_clogf.c: Likewise.
11737 * math/s_clogl.c: Likewise.
11738 * math/s_csqrt.c: Likewise.
11739 * math/s_csqrtf.c: Likewise.
11740 * math/s_csqrtl.c: Likewise.
11741 * math/s_ctanf.c: Likewise.
11742 * math/s_ctanh.c: Likewise.
11743 * math/s_ctanhf.c: Likewise.
11744 * math/s_ctanhl.c: Likewise.
11745 * math/s_ctanl.c: Likewise.
11746
bc62c2fb
UD
11747 * math/math_private.h: Define __nan, __nanf, __nanl.
11748 * math/s_cacosh.c: Include <math_private.h>.
11749 * math/s_cacoshl.c: Likewise.
11750 * math/s_casinh.c: Likewise.
11751 * math/s_casinhf.c: Likewise.
11752 * math/s_casinhl.c: Likewise.
11753 * math/s_ccos.c: Rely entire on ccosh.
11754 * math/s_ccosf.c: Rely entire on ccoshf.
11755 * math/s_ccosl.c: Rely entirely on ccoshl.
11756 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11757 Remove tests for FE_INVALID.
11758 * math/s_ccoshf.c: Likewise.
11759 * math/s_ccoshl.c: Likewise.
11760 * math/s_csin.c: Likewise.
11761 * math/s_csinf.c: Likewise.
11762 * math/s_csinh.c Likewise.
11763 * math/s_csinhf.c: Likewise.
11764 * math/s_csinhl.c: Likewise.
11765 * math/s_csinl.c: Likewise.
11766 * math/s_ctan.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11768 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11770
8ec250a4
UD
117712011-10-21 Ulrich Drepper <drepper@gmail.com>
11772
c196fed8
UD
11773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11774 compilation problems.
11775
8ec250a4
UD
11776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11777 __builtin_expect.
11778
8d4f46c6
UD
117792011-10-20 Ulrich Drepper <drepper@gmail.com>
11780
ed72b654
UD
11781 * sysdeps/i386/configure.in: Test for -mfma4 option.
11782 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11783 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11784 COMMON_CPUID_INDEX_80000001.
11785 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11786 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11787 use it if FMA3 is not supported.
11788 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11789
8d4f46c6
UD
11790 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11791 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11792
d45c60c2
AS
117932011-10-20 Andreas Schwab <schwab@redhat.com>
11794
11795 [BZ #12892]
11796 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11797 it would create a cycle with a link time dependency.
11798
d9a4d2ab
UD
117992011-10-19 Ulrich Drepper <drepper@gmail.com>
11800
855d1560
UD
11801 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11802 instruction.
11803 * string/Makefile (strop-tests): Add rawmemchr.
11804 * string/test-rawmemchr.c: New file.
11805
d9a4d2ab
UD
11806 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11808 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11809 when compiling str{,n}casecmp and when AVX is available. Hook up
11810 new optimized code in initializers.
11811
8f3b1ffe
AS
118122011-10-19 Andreas Schwab <schwab@redhat.com>
11813
11814 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11815 __feraiseexcept instead of feraiseexcept.
11816
d38f1dba
UD
118172011-10-18 Ulrich Drepper <drepper@gmail.com>
11818
d9a8d0ab
UD
11819 * math/math_private.h: Define defaults for libc_fetestexcept and
11820 libc_feupdateenv.
11821 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11822 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11823 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11824 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11825 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11826 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11827 libc_fetestexcept and libc_feupdateenv.
11828
4855e3dd
UD
11829 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11830 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11831 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11832 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11833 libc_feholdexcept_setround.
11834
581d30e3
UD
11835 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11836 Add s_nearbyint-c and s_nearbyintf-c.
11837 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11838 nearbyintf inlines.
11839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11840 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11841 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11842 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11843
d38f1dba
UD
11844 * math/math_private.h: Define defaults for libc_fegetround,
11845 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11846 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11847 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11848 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11849 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11850 standard functions.
11851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11852 Remove comments and hacks for old compiler versions.
11853 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11854 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11855 libc_feholdexceptl.
11856
caa6c9d8
AS
118572011-10-18 Andreas Schwab <schwab@redhat.com>
11858
11859 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11860 (__feraiseexcept_renamed): Add __NTH.
11861 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11862 namespace violations.
11863
97c066e6
UD
118642011-10-17 Ulrich Drepper <drepper@gmail.com>
11865
99ce7b04
UD
11866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11867
1004d182
UD
11868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11869
228a984d
UD
11870 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11871 recently added interfaces.
11872 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11873
c8553a6a
UD
11874 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11875 about macro parameter expansion.
11876
ed22dcf6
UD
11877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11878 __NO_MATH_INLINES is defined. Cleanups.
11879
11880 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11881 and __floorf is target has SSE4.1.
11882 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11883 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11884 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11885 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11886
b171c137
UD
11887 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11888 name.
11889 (floorf): Likewise.
11890
97c066e6
UD
11891 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11892
629f62ef
AS
118932011-10-17 Andreas Schwab <schwab@redhat.com>
11894
49a43d80
AS
11895 * misc/sys/cdefs.h: Fix last change.
11896
629f62ef
AS
11897 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11898 database lookup.
11899
e453f6cd
UD
119002011-10-16 Ulrich Drepper <drepper@gmail.com>
11901
aa78043a
UD
11902 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11903
ad0f5cad
UD
11904 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11910 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11912 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11913 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11914 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11915 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11916 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11917 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11918 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11919 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11920 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11921 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11922 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11923 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11925 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11926
11927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11928 ceil, ceilf, floor, floorf.
11929
11930 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11931 Perform IRELATIVE relocations last.
11932
e453f6cd
UD
11933 * elf/do-rel.h: Add another parameter nrelative, replacing the
11934 local variable with the same name. Change name of the function
11935 to end in Rel or Rela (uppercase).
11936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11937 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11938 elf_dynamic_do_##reloc function.
11939
fd5bdc09
UD
119402011-10-15 Ulrich Drepper <drepper@gmail.com>
11941
79b195b5
UD
11942 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11943 is sufficient, at least on modern CPUs.
11944
d4a28569
UD
11945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11946
b61099b5
UD
11947 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11948 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11949
bcf01e6d
UD
11950 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11951 __expl_finite.
11952 * math/bits/math-finite.h: Add entries for exp.
11953 * math/e_expl.c: Add __*_finite alias.
11954 * sysdeps/i386/fpu/e_exp.S: Likewise.
11955 * sysdeps/i386/fpu/e_expf.S: Likewise.
11956 * sysdeps/i386/fpu/e_expl.c: Likewise.
11957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11958 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11961 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11962 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11964
ba1a0d59
UD
11965 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11966 is sufficient, at least on modern CPUs.
11967
fd5bdc09
UD
11968 * ctype/ctype-info.c (__ctype_init): Define.
11969 * include/ctype.h (__ctype_init): Declare.
11970 (__ctype_b_loc): The variable is always initialized.
11971 (__ctype_toupper_loc): Likewise.
11972 (__ctype_tolower_loc): Likewise.
11973 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11974 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11975
7872cfb0
AS
119762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11977
b468825a
AS
11978 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11979
7872cfb0
AS
11980 * configure.in: Also look in $cxxmachine/include for C++ system
11981 headers.
11982
be13f7bf
LD
119832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11984
11985 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11986 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11987 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11988 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11990 (USE_AS_WMEMCMP): New macro.
11991 Fixing indents.
11992 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11993 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11994 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11995 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11997 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11998 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11999 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12000 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12001 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12003 (USE_AS_WMEMCMP): New macro.
12004 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12005 * sysdeps/string/test-memcmp.c: Update.
12006 Fix simple_wmemcmp.
12007 Add new tests.
12008 * wcsmbs/wmemcmp.c: Update.
12009 (WMEMCMP): New macro.
12010 Fix overflow bug.
12011
556a2007
AJ
120122011-10-12 Andreas Jaeger <aj@suse.de>
12013
12014 [BZ #13268]
12015 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12016
538faaa7
UD
120172011-10-15 Ulrich Drepper <drepper@gmail.com>
12018
ab6737ff
UD
12019 * libio/iofwide.c (do_length): Avoid warning.
12020
538faaa7
UD
12021 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12022
396a21b1
UD
120232011-10-14 Ulrich Drepper <drepper@gmail.com>
12024
cdf2901f
UD
12025 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12026
38ad40ce
UD
12027 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12028 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12029 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12030 * sysdeps/i386/i686/fpu/e_log.S: New file.
12031 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12032 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12033
396a21b1
UD
12034 * ctype/ctype.h: Add support for inlined isXXX functions when
12035 compiling C++ code.
12036
6b1f68c9
AS
120372011-10-14 Andreas Schwab <schwab@redhat.com>
12038
349290c0
AS
12039 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12040
6b1f68c9
AS
12041 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12042
f2282d42
RM
120432011-10-13 Roland McGrath <roland@hack.frob.com>
12044
12045 [BZ #13291]
12046 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12047
5298ffa8
AS
120482011-10-13 Andreas Schwab <schwab@redhat.com>
12049
714fad23
AS
12050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12051 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12052 feraiseexcept.
12053
81dcc7fb
AS
12054 * sysdeps/x86_64/memrchr.S: Check for zero size.
12055
5298ffa8
AS
12056 * string/stratcliff.c: Add memrchr tests.
12057
951fbcec
LD
120582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12059
12060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12061 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12062 rawmemchr-sse2 rawmemchr-sse2-bsf.
12063 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12064 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12065 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12066 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12067 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12068 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12069 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12070 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12071 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12072 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12073 * string/memrchr.c (MEMRCHR): New macro.
12074
0ac5ae23
UD
120752011-10-12 Ulrich Drepper <drepper@gmail.com>
12076
12077 Add integration with gcc's -ffinite-math-only and optimize wrapper
12078 functions in libm.
12079 * Versions.def: Define GLIBC_2.15 version for libm.
12080 * math/Makefile (headers): Add bits/math-finite.h.
12081 * math/bits/math-finite.h: New file.
12082 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12083 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12084 * math/e_acoshl.c: Add __*_finite alias.
12085 * math/e_acosl.c: Likewise.
12086 * math/e_asinl.c: Likewise.
12087 * math/e_atan2l.c: Likewise.
12088 * math/e_atanhl.c: Likewise.
12089 * math/e_coshl.c: Likewise.
12090 * math/e_exp10.c: Likewise.
12091 * math/e_exp10f.c: Likewise.
12092 * math/e_exp10l.c: Likewise.
12093 * math/e_exp2l.c: Likewise.
12094 * math/e_fmodl.c: Likewise.
12095 * math/e_gammal_r.c: Likewise.
12096 * math/e_hypotl.c: Likewise.
12097 * math/e_j0l.c: Likewise.
12098 * math/e_j1l.c: Likewise.
12099 * math/e_jnl.c: Likewise.
12100 * math/e_lgammal_r.c: Likewise.
12101 * math/e_log10l.c: Likewise.
12102 * math/e_log2l.c: Likewise.
12103 * math/e_logl.c: Likewise.
12104 * math/e_powl.c: Likewise.
12105 * math/e_sinhl.c: Likewise.
12106 * math/e_sqrtl.c: Likewise.
12107 * math/e_scalb.c: Completely rewritten and optimized.
12108 * math/e_scalbf.c: Likewise.
12109 * math/e_scalbl.c: Likewise.
12110 * math/w_acos.c: Likewise.
12111 * math/w_acosf.c: Likewise.
12112 * math/w_acosl.c: Likewise.
12113 * math/w_acosh.c: Likewise.
12114 * math/w_acoshf.c: Likewise.
12115 * math/w_acoshl.c: Likewise.
12116 * math/w_asin.c: Likewise.
12117 * math/w_asinf.c: Likewise.
12118 * math/w_asinl.c: Likewise.
12119 * math/w_atan2.c: Likewise.
12120 * math/w_atan2f.c: Likewise.
12121 * math/w_atan2l.c: Likewise.
12122 * math/w_atanh.c: Likewise.
12123 * math/w_atanhf.c: Likewise.
12124 * math/w_atanhl.c: Likewise.
12125 * math/w_exp10.c: Likewise.
12126 * math/w_exp10f.c: Likewise.
12127 * math/w_exp10l.c: Likewise.
12128 * math/w_fmod.c: Likewise.
12129 * math/w_fmodf.c: Likewise.
12130 * math/w_fmodl.c: Likewise.
12131 * math/w_j0.c: Likewise.
12132 * math/w_j0f.c: Likewise.
12133 * math/w_j0l.c: Likewise.
12134 * math/w_j1.c: Likewise.
12135 * math/w_j1f.c: Likewise.
12136 * math/w_j1l.c: Likewise.
12137 * math/w_jn.c: Likewise.
12138 * math/w_jnf.c: Likewise.
12139 * math/w_log.c: Likewise.
12140 * math/w_logf.c: Likewise.
12141 * math/w_logl.c: Likewise.
12142 * math/w_log10.c: Likewise.
12143 * math/w_log10f.c: Likewise.
12144 * math/w_log10l.c: Likewise.
12145 * math/w_log2.c: Likewise.
12146 * math/w_log2f.c: Likewise.
12147 * math/w_log2l.c: Likewise.
12148 * math/w_pow.c: Likewise.
12149 * math/w_powf.c: Likewise.
12150 * math/w_powl.c: Likewise.
12151 * math/w_remainder.c: Likewise.
12152 * math/w_remainderf.c: Likewise.
12153 * math/w_remainderl.c: Likewise.
12154 * math/w_scalb.c: Likewise.
12155 * math/w_scalbf.c: Likewise.
12156 * math/w_scalbl.c: Likewise.
12157 * math/w_sqrt.c: Likewise.
12158 * math/w_sqrtf.c: Likewise.
12159 * math/w_sqrtl.c: Likewise.
12160 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12161 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12162 used.
12163 * math/math_private.h: Declare __kernel_standard_f.
12164 * math/w_cosh.c: Remove cruft and optimize a bit.
12165 * math/w_coshf.c: Likewise.
12166 * math/w_coshl.c: Likewise.
12167 * math/w_exp2.c: Likewise.
12168 * math/w_exp2f.c: Likewise.
12169 * math/w_exp2l.c: Likewise.
12170 * math/w_hypot.c: Likewise.
12171 * math/w_hypotf.c: Likewise.
12172 * math/w_hypotl.c: Likewise.
12173 * math/w_lgamma.c: Likewise.
12174 * math/w_lgamma_r.c: Likewise.
12175 * math/w_lgammaf.c: Likewise.
12176 * math/w_lgammaf_r.c: Likewise.
12177 * math/w_lgammal.c: Likewise.
12178 * math/w_lgammal_r.c: Likewise.
12179 * math/w_sinh.c: Likewise.
12180 * math/w_sinhf.c: Likewise.
12181 * math/w_sinhl.c: Likewise.
12182 * math/w_tgamma.c: Likewise.
12183 * math/w_tgammaf.c: Likewise.
12184 * math/w_tgammal.c: Likewise.
12185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12187 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12188 Minor optimizations. Pretty printing. Remove cruft.
12189 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12190 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12191 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12192 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12193 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12194 * sysdeps/i386/fpu/e_asin.S: Likewise.
12195 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12196 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12197 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12198 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12199 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12200 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12201 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12202 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12203 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12204 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12205 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12206 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12207 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12208 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12209 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12210 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12211 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12212 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12213 * sysdeps/i386/fpu/e_log.S: Likewise.
12214 * sysdeps/i386/fpu/e_log10.S: Likewise.
12215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12217 * sysdeps/i386/fpu/e_log2.S: Likewise.
12218 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12220 * sysdeps/i386/fpu/e_logf.S: Likewise.
12221 * sysdeps/i386/fpu/e_logl.S: Likewise.
12222 * sysdeps/i386/fpu/e_pow.S: Likewise.
12223 * sysdeps/i386/fpu/e_powf.S: Likewise.
12224 * sysdeps/i386/fpu/e_powl.S: Likewise.
12225 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12226 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12227 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12230 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12231 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12232 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12233 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12255 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12256 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12259 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12260 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12261 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12262 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12263 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12265 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12268 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12270 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12271 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12272 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12326 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12327 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12331 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12332 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12333 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12334 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12335 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12336 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12337 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12338 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12340 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12341 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12342 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12343 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12344 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12345 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12346 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12347 (__isnanf): Likewise.
12348 (__isinf_ns): Likewise.
12349 (__isinf_nsf): Likewise.
12350 (__finite): Likewise.
12351 (__finitef): Likewise.
12352 (__ieee754_sqrt): Define as macro.
12353 (__ieee754_sqrtf): Define as macro.
12354 (__ieee754_sqrtl): Define as macro.
12355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12356 inlined copy.
12357 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12358 __FINITE_MATH_ONLY__ consistent.
12359 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12360
12cc2fcd
AS
123612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12362
a843a204
AS
12363 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12364 of rawmemchr.
12365
12cc2fcd
AS
12366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12367
c853acd5
UD
123682011-10-09 Ulrich Drepper <drepper@gmail.com>
12369
12370 * po/ja.po: Update from translation team.
12371
c658d255
RM
123722011-10-08 Roland McGrath <roland@hack.frob.com>
12373
110946e4
RM
12374 * locale/programs/locarchive.c (prepare_address_space): New function.
12375 (create_archive, enlarge_archive, open_archive): Use it.
12376
50604220
RM
12377 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12378 inside [SHARED], where it is used.
12379
c658d255
RM
12380 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12381
12382 * nss/getent.c (netgroup_keys): Remove unused variable.
12383 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12384
6a621eb7
UD
123852011-10-08 Ulrich Drepper <drepper@gmail.com>
12386
7edb55ce
UD
12387 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12388 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12390 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12391 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12392 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12393 * math/Makefile (libm-calls): Add s_isinf_ns.
12394 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12395 * math/multc3.c: Likewise.
12396 * math/s_casin.c: Likewise.
12397 * math/s_casinf.c: Likewise.
12398 * math/s_casinl.c: Likewise.
12399 * math/s_ccos.c: Likewise.
12400 * math/s_ccosf.c: Likewise.
12401 * math/s_ccosl.c: Likewise.
12402 * math/s_ctan.c: Likewise.
12403 * math/s_ctanf.c: Likewise.
12404 * math/s_ctanh.c: Likewise.
12405 * math/s_ctanhf.c: Likewise.
12406 * math/s_ctanhl.c: Likewise.
12407 * math/s_ctanl.c: Likewise.
12408 * math/w_fmod.c: Likewise.
12409 * math/w_fmodf.c: Likewise.
12410 * math/w_fmodl.c: Likewise.
12411 * math/w_remainder.c: Likewise.
12412 * math/w_remainderf.c: Likewise.
12413 * math/w_remainderl.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12415 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12418 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12419 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12420 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12421 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12422
187da0ae
UD
12423 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12424 of the number.
12425 * stdio-common/printf_fphex.c: Likewise.
12426 * stdio-common/printf_size.c: Likewise.
12427
9277c064
UD
12428 * math/e_exp10.c: Include math_private.h using <...> not "...".
12429 * math/e_exp10f.c: Likewise.
12430 * math/e_exp10l.c: Likewise.
12431 * math/e_exp2l.c: Likewise.
12432 * math/e_j0l.c: Likewise.
12433 * math/e_j1l.c: Likewise.
12434 * math/e_jnl.c: Likewise.
12435 * math/e_lgammal_r.c: Likewise.
12436 * math/e_rem_pio2l.c: Likewise.
12437 * math/e_scalb.c: Likewise.
12438 * math/e_scalbf.c: Likewise.
12439 * math/e_scalbl.c: Likewise.
12440 * math/k_cosl.c: Likewise.
12441 * math/k_sinl.c: Likewise.
12442 * math/k_tanl.c: Likewise.
12443 * math/s_cacoshf.c: Likewise.
12444 * math/s_catan.c: Likewise.
12445 * math/s_catanf.c: Likewise.
12446 * math/s_catanh.c: Likewise.
12447 * math/s_catanhf.c: Likewise.
12448 * math/s_catanhl.c: Likewise.
12449 * math/s_catanl.c: Likewise.
12450 * math/s_ccosh.c: Likewise.
12451 * math/s_ccoshf.c: Likewise.
12452 * math/s_ccoshl.c: Likewise.
12453 * math/s_cexp.c: Likewise.
12454 * math/s_cexpf.c: Likewise.
12455 * math/s_cexpl.c: Likewise.
12456 * math/s_clog.c: Likewise.
12457 * math/s_clog10.c: Likewise.
12458 * math/s_clog10f.c: Likewise.
12459 * math/s_clog10l.c: Likewise.
12460 * math/s_clogf.c: Likewise.
12461 * math/s_clogl.c: Likewise.
12462 * math/s_csin.c: Likewise.
12463 * math/s_csinf.c: Likewise.
12464 * math/s_csinh.c: Likewise.
12465 * math/s_csinhf.c: Likewise.
12466 * math/s_csinhl.c: Likewise.
12467 * math/s_csinl.c: Likewise.
12468 * math/s_csqrt.c: Likewise.
12469 * math/s_csqrtf.c: Likewise.
12470 * math/s_csqrtl.c: Likewise.
12471 * math/s_ctan.c: Likewise.
12472 * math/s_ctanf.c: Likewise.
12473 * math/s_ctanh.c: Likewise.
12474 * math/s_ctanhf.c: Likewise.
12475 * math/s_ctanhl.c: Likewise.
12476 * math/s_ctanl.c: Likewise.
12477 * math/s_ldexp.c: Likewise.
12478 * math/s_ldexpf.c: Likewise.
12479 * math/s_ldexpl.c: Likewise.
12480 * math/s_significand.c: Likewise.
12481 * math/s_significandf.c: Likewise.
12482 * math/s_significandl.c: Likewise.
12483 * math/w_acos.c: Likewise.
12484 * math/w_acosf.c: Likewise.
12485 * math/w_acosh.c: Likewise.
12486 * math/w_acoshf.c: Likewise.
12487 * math/w_acoshl.c: Likewise.
12488 * math/w_acosl.c: Likewise.
12489 * math/w_asin.c: Likewise.
12490 * math/w_asinf.c: Likewise.
12491 * math/w_asinl.c: Likewise.
12492 * math/w_atan2.c: Likewise.
12493 * math/w_atan2f.c: Likewise.
12494 * math/w_atan2l.c: Likewise.
12495 * math/w_atanh.c: Likewise.
12496 * math/w_atanhf.c: Likewise.
12497 * math/w_atanhl.c: Likewise.
12498 * math/w_cosh.c: Likewise.
12499 * math/w_coshf.c: Likewise.
12500 * math/w_coshl.c: Likewise.
12501 * math/w_dremf.c: Likewise.
12502 * math/w_exp10.c: Likewise.
12503 * math/w_exp10f.c: Likewise.
12504 * math/w_exp10l.c: Likewise.
12505 * math/w_exp2.c: Likewise.
12506 * math/w_exp2f.c: Likewise.
12507 * math/w_fmod.c: Likewise.
12508 * math/w_fmodf.c: Likewise.
12509 * math/w_fmodl.c: Likewise.
12510 * math/w_hypot.c: Likewise.
12511 * math/w_hypotf.c: Likewise.
12512 * math/w_hypotl.c: Likewise.
12513 * math/w_j0.c: Likewise.
12514 * math/w_j0f.c: Likewise.
12515 * math/w_j0l.c: Likewise.
12516 * math/w_j1.c: Likewise.
12517 * math/w_j1f.c: Likewise.
12518 * math/w_j1l.c: Likewise.
12519 * math/w_jn.c: Likewise.
12520 * math/w_jnf.c: Likewise.
12521 * math/w_jnl.c: Likewise.
12522 * math/w_lgamma.c: Likewise.
12523 * math/w_lgamma_r.c: Likewise.
12524 * math/w_lgammaf.c: Likewise.
12525 * math/w_lgammaf_r.c: Likewise.
12526 * math/w_lgammal.c: Likewise.
12527 * math/w_lgammal_r.c: Likewise.
12528 * math/w_log.c: Likewise.
12529 * math/w_log10.c: Likewise.
12530 * math/w_log10f.c: Likewise.
12531 * math/w_log10l.c: Likewise.
12532 * math/w_log2.c: Likewise.
12533 * math/w_log2f.c: Likewise.
12534 * math/w_log2l.c: Likewise.
12535 * math/w_logf.c: Likewise.
12536 * math/w_logl.c: Likewise.
12537 * math/w_pow.c: Likewise.
12538 * math/w_powf.c: Likewise.
12539 * math/w_powl.c: Likewise.
12540 * math/w_remainder.c: Likewise.
12541 * math/w_remainderf.c: Likewise.
12542 * math/w_remainderl.c: Likewise.
12543 * math/w_scalb.c: Likewise.
12544 * math/w_scalbf.c: Likewise.
12545 * math/w_scalbl.c: Likewise.
12546 * math/w_sinh.c: Likewise.
12547 * math/w_sinhf.c: Likewise.
12548 * math/w_sinhl.c: Likewise.
12549 * math/w_sqrt.c: Likewise.
12550 * math/w_sqrtf.c: Likewise.
12551 * math/w_sqrtl.c: Likewise.
12552 * math/w_tgamma.c: Likewise.
12553 * math/w_tgammaf.c: Likewise.
12554 * math/w_tgammal.c: Likewise.
12555
6a621eb7
UD
12556 * po/ja.po: Update from translation team.
12557
bf582445
AJ
125582011-09-29 Andreas Jaeger <aj@suse.de>
12559
f9efbf3a
AJ
12560 [BZ #13179]
12561 * sunrpc/netname.c (netname2host): Fix logic.
12562
bf582445
AJ
12563 [BZ #6779]
12564 [BZ #6783]
12565 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12566 correctly.
12567 * math/w_remainder.c (__remainder): Likewise.
12568 * math/w_remainderf.c (__remainderf): Likewise.
12569 * math/libm-test.inc (remainder_test): Add test cases.
12570
48693bea
AK
125712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12572
12573 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12574 sdiv_qrnnd.
12575
42622229
LD
125762011-10-07 Ulrich Drepper <drepper@gmail.com>
12577
12578 * string/test-memcmp.c: Avoid unncessary #defines.
12579 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12580
093ecf92
LD
125812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12582
12583 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12584 Use new sse2 version for core i3 - i7 as it's faster
12585 than sse42 version.
12586 (bit_Prefer_PMINUB_for_stringop): New.
12587 * sysdeps/x86_64/rawmemchr.S: Update.
12588 Replace with faster SSE2 version.
12589 * sysdeps/x86_64/memrchr.S: New file.
12590 * sysdeps/x86_64/memchr.S: Update.
12591 Replace with faster SSE2 version.
12592
fde56e5c
MP
125932011-09-12 Marek Polacek <mpolacek@redhat.com>
12594
12595 * elf/dl-load.c (lose): Add cast to avoid warning.
12596
21fd49a9
UD
125972011-10-07 Ulrich Drepper <drepper@gmail.com>
12598
5a06e643
UD
12599 * po/ca.po: Update from translation team.
12600
684ae515
UD
12601 * inet/getnetgrent_r.c: Hook up nscd.
12602 * nscd/Makefile (routines): Add nscd_netgroup.
12603 (nscd-modules): Add netgroupcache.
12604 (CFLAGS-netgroupcache.c): Define.
12605 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12606 (cache_search): Add const to second parameter.
12607 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12608 INNETGR.
12609 (dbs): Add netgrdb entry.
12610 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12611 (verify_persistent_db): Handle netgrdb.
12612 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12613 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12614 GETFDNETGR.
12615 (netgroup_response_header): Define.
12616 (innetgroup_response_header): Define.
12617 (datahead): Add netgroup_response_header and innetgroup_response_header
12618 elements.
12619 * nscd/nscd.conf: Add entries for netgroup cache.
12620 * nscd/nscd.h (dbtype): Add netgrdb.
12621 (_PATH_NSCD_NETGROUP_DB): Define.
12622 (netgroup_iov_disabled): Declare.
12623 (xmalloc, xcalloc, xrealloc): Move declarations here.
12624 (cache_search): Adjust prototype.
12625 Add netgroup-related prototypes.
12626 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12627 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12628 (__nscd_innetgr): Declare.
12629 * nscd/selinux.c (perms): Use access_vector_t as element type and
12630 add netgroup-related initializers.
12631 * nscd/netgroupcache.c: New file.
12632 * nscd/nscd_netgroup.c: New file.
12633 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12634 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12635 For four parameters use innetgr.
12636 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12637 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12638 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12639 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12640
21fd49a9
UD
12641 * nscd/connections.c (register_traced_file): Don't register file
12642 for disabled databases.
12643
054c0457
UD
126442011-10-06 Ulrich Drepper <drepper@gmail.com>
12645
32b63198
UD
12646 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12647
054c0457
UD
12648 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12649 from tree and freeing node.
12650
64031225
JO
126512011-09-25 Jiri Olsa <jolsa@redhat.com>
12652
12653 * nss/nsswitch.c (__nss_database_lookup): Handle
12654 nss_parse_service_list out of memory case.
12655
0490345c
JO
126562011-09-15 Jiri Olsa <jolsa@redhat.com>
12657
12658 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12659 out of memory case.
12660
3a62d00d
AS
126612011-10-04 Andreas Schwab <schwab@redhat.com>
12662
12663 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12664 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12665 pass it down.
12666 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12667 elf_machine_rela, elf_machine_lazy_rel.
12668 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12669 (ELF_DYNAMIC_DO_REL): Likewise.
12670 (ELF_DYNAMIC_DO_RELA): Likewise.
12671 (ELF_DYNAMIC_RELOCATE): Likewise.
12672 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12673 to ELF_DYNAMIC_DO_REL.
12674 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12675 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12676 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12677 elf_machine_rela.
12678 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12679 skip_ifunc, don't call ifunc function if non-zero.
12680 (elf_machine_rela): Likewise.
12681 (elf_machine_lazy_rel): Likewise.
12682 (elf_machine_lazy_rela): Likewise.
12683 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12684 (elf_machine_lazy_rel): Likewise.
12685 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12686 Likewise.
12687 (elf_machine_lazy_rel): Likewise.
12688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12689 Likewise.
12690 (elf_machine_lazy_rel): Likewise.
12691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12692 (elf_machine_lazy_rel): Likewise.
12693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12694 (elf_machine_lazy_rel): Likewise.
12695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12696 (elf_machine_lazy_rel): Likewise.
12697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12698 (elf_machine_lazy_rel): Likewise.
12699 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12700 (elf_machine_lazy_rel): Likewise.
12701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12702 (elf_machine_lazy_rel): Likewise.
12703
68577918
UD
127042011-09-28 Ulrich Drepper <drepper@gmail.com>
12705
12706 * nss/nss_files/files-init.c (_nss_files_init): Use static
12707 initialization for all the *_traced_file variables.
12708
68822d74
AS
127092011-09-28 Andreas Schwab <schwab@redhat.com>
12710
12711 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12712
2056100b
RM
127132011-09-27 Roland McGrath <roland@hack.frob.com>
12714
12715 [BZ #13226]
12716 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12717
32c76b63
AS
127182011-09-27 Andreas Schwab <schwab@redhat.com>
12719
12720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12721 Reread the line before reparsing it.
12722
bf972c9d
AS
127232011-09-26 Andreas Schwab <schwab@redhat.com>
12724
12725 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12726
e057a1b5
JM
127272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12728 Maxim Kuvyrkov <maxim@codesourcery.com>
12729 Joseph Myers <joseph@codesourcery.com>
12730
12731 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12732 if needed for __stack_chk_guard.
12733
bc7e1c36
RM
127342011-09-19 Roland McGrath <roland@hack.frob.com>
12735
ecb1482f
RM
12736 * sysdeps/posix/spawni.c (script_execute): Always define it.
12737 It will be optimized away if unused.
12738 (maybe_script_execute): New function.
12739 (__spawni): Call it.
12740
bc7e1c36
RM
12741 * Makerules: Don't include tls.make.
12742 (config-tls): Always set to thread.
12743 * tls.make.c: File removed.
12744
1c3b002b
MF
127452011-09-19 Mike Frysinger <vapier@gentoo.org>
12746
12747 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12748 * config.make.in (CPPFLAGS-config): New substituted variable.
12749
2840865d
UD
127502011-09-15 Ulrich Drepper <drepper@gmail.com>
12751
88738eb6
UD
12752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12753
cbf645a6 12754 [BZ #13192]
2840865d
UD
12755 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12756 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12757
b402e91a
RM
127582011-09-15 Roland McGrath <roland@hack.frob.com>
12759
12760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12761 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12763 (CALL_FAIL): Likewise.
12764 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12765 (CALL_FAIL): Macro removed.
12766 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12767
4c1a1f71
UD
127682011-09-15 Ulrich Drepper <drepper@gmail.com>
12769
12770 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12771 for __FINITE_MATH_ONLY__ == 1.
12772
edc121be
AS
127732011-09-15 Andreas Schwab <schwab@redhat.com>
12774
12775 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12776 __ieee754_sqrt instead of sqrt.
12777 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12778 __ieee754_sqrtf instead of sqrtf.
12779 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12780 __floorf instead of floorf.
12781 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12782 __floorf, __truncf instead of floorf, truncf.
12783
cd205654
UD
127842011-09-14 Ulrich Drepper <drepper@gmail.com>
12785
ee4d0315
UD
12786 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12787
cd205654
UD
12788 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12789 __extern_always_inline.
12790 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12791 32-bit.
12792
48b67d71
AS
127932011-09-14 Andreas Schwab <schwab@redhat.com>
12794
12795 * elf/rtld.c (dl_main): Also relocate in dependency order when
12796 doing symbol dependency testing.
12797
1ae12c75
AS
127982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12799
12800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12801 Always define `refsym'.
12802
995a80df
AS
128032011-09-13 Andreas Schwab <schwab@redhat.com>
12804
e529793b
AS
12805 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12806 (__FD_ELT): Renamed from __FDELT.
12807 * misc/bits/select2.h (__FD_ELT): Likewise.
12808 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12809 __FD_MASK instead of __FDELT, __FDMASK.
12810 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12811 Likewise.
12812 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12813 Likewise.
12814
52d4fef8
AS
12815 * elf/Makefile (gen-ldd): Fix pattern.
12816
995a80df
AS
12817 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12818 (init_tls): Likewise.
12819
8682f8b0
UD
128202011-09-12 Ulrich Drepper <drepper@gmail.com>
12821
12822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12823
de82006d
AS
128242011-09-12 Andreas Schwab <schwab@redhat.com>
12825
a7c8e6a1
AS
12826 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12827 `struct cmsghdr *' instead of `void *'.
12828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12829 Likewise.
12830
0f31fe77
AS
128312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12832
12833 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12834 if non-absolute.
12835 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12836 ldd_rewrite_script.
0f31fe77 12837
32b4c839
UD
128382011-09-11 Ulrich Drepper <drepper@gmail.com>
12839
83cd1420
UD
12840 * configure.in: Remove --with-tls option.
12841 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12842 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12843 out in case it is missing.
12844 * sysdeps/ia64/elf/configure.in: Likewise.
12845 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12846 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12847 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12848 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12849 * sysdeps/sh/elf/configure.in: Likewise.
12850 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12851 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12852 * sysdeps/x86_64/elf/configure.in: Likewise.
12853 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12854 * sysdeps/mach/hurd/tls.h: Likewise.
12855
633f745d
UD
12856 [BZ #13067]
12857 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12858
f318beb8
UD
12859 [BZ #13090]
12860 * configure.in: Fix use of AC_INIT.
12861
32b4c839
UD
12862 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12863
3ce1f295
UD
128642011-09-10 Ulrich Drepper <drepper@gmail.com>
12865
bb016596
UD
12866 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12867 __set_errno.
8e58439c
UD
12868 * malloc/hooks.c: Likewise.
12869
aebae053 12870 [BZ #11929]
02d46fc4
UD
12871 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12872 variables statically.
12873 (narenas): Initialize.
12874 (list_lock): Initialize.
bb016596
UD
12875 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12876 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12877 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12878 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12879 Add initializers to main_arena and mp_.
12880 (malloc_state): Remove pagesize member. Change all users to use
12881 GLRO(dl_pagesize).
12882
12883 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12884 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12885 is always initialized.
12886
22a89187
UD
12887 * malloc/malloc.c: Removed unused configurations and dead code.
12888 * malloc/arena.c: Likewise.
12889 * malloc/hooks.c: Likewise.
02d46fc4 12890 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12891
d063d164
UD
12892 * include/tls.h: Removed. USE___THREAD must always be defined.
12893 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12894 * elf/dl-libc.c: Likewise.
12895 * elf/dl-tsd.c: Likewise.
12896 * include/errno.h: Likewise.
12897 * include/netdb.h: Likewise.
12898 * include/resolv.h: Likewise.
12899 * inet/herrno-loc.c: Likewise.
12900 * inet/herrno.c: Likewise.
12901 * malloc/arena.c: Likewise.
12902 * malloc/hooks.c: Likewise.
12903 * malloc/malloc.c: Likewise.
12904 * resolv/res-state.c: Likewise.
12905 * resolv/res_libc.c: Likewise.
12906 * sysdeps/i386/dl-machine.h: Likewise.
12907 * sysdeps/ia64/dl-machine.h: Likewise.
12908 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12909 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12910 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12911 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12912 * sysdeps/sh/dl-machine.h: Likewise.
12913 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12914 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12915 * sysdeps/unix/i386/sysdep.S: Likewise.
12916 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12917 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12922 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12926 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12927 * sysdeps/x86_64/dl-machine.h: Likewise.
12928 * tls.make.c: Likewise.
12929
3ce1f295
UD
12930 * configure.in: Remove --with-__thread option. Make tests for
12931 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12932 tls_model attribute fail if no support is available. Remove
12933 USE_IN_LIBIO.
12934 * Makeconfig: Adjust for dropped configure option. All features are
12935 now mandatory.
12936 * Makerules: Likewise.
12937 * Versions.def: Likewise.
12938 * argp/argp-fmtstream.c: Likewise.
12939 * argp/argp-fmtstream.h: Likewise.
12940 * argp/argp-help.c: Likewise.
12941 * assert/assert.c: Likewise.
12942 * config.h.in: Likewise.
12943 * config.make.in: Likewise.
12944 * configure: Likewise.
12945 * configure.in: Likewise.
12946 * csu/Versions: Likewise.
12947 * csu/init.c: Likewise.
12948 * elf/tst-audit2.c: Likewise.
12949 * elf/tst-tls10.c: Likewise.
12950 * elf/tst-tls10.h: Likewise.
12951 * elf/tst-tls11.c: Likewise.
12952 * elf/tst-tls12.c: Likewise.
12953 * elf/tst-tls14.c: Likewise.
12954 * elf/tst-tlsmod11.c: Likewise.
12955 * elf/tst-tlsmod12.c: Likewise.
12956 * elf/tst-tlsmod13.c: Likewise.
12957 * elf/tst-tlsmod13a.c: Likewise.
12958 * elf/tst-tlsmod14a.c: Likewise.
12959 * elf/tst-tlsmod15b.c: Likewise.
12960 * elf/tst-tlsmod16a.c: Likewise.
12961 * elf/tst-tlsmod16b.c: Likewise.
12962 * elf/tst-tlsmod7.c: Likewise.
12963 * elf/tst-tlsmod8.c: Likewise.
12964 * elf/tst-tlsmod9.c: Likewise.
12965 * gmon/gmon.c: Likewise.
12966 * grp/fgetgrent_r.c: Likewise.
12967 * grp/putgrent.c: Likewise.
12968 * hurd/fopenport.c: Likewise.
12969 * include/libc-symbols.h: Likewise.
12970 * include/tls.h: Likewise.
12971 * intl/gettextP.h: Likewise.
12972 * intl/loadinfo.h: Likewise.
12973 * locale/global-locale.c: Likewise.
12974 * locale/localeinfo.h: Likewise.
12975 * mach/devstream.c: Likewise.
12976 * malloc/arena.c: Likewise.
12977 * malloc/set-freeres.c: Likewise.
12978 * misc/err.c: Likewise.
12979 * misc/getttyent.c: Likewise.
12980 * misc/mntent_r.c: Likewise.
12981 * posix/getopt.c: Likewise.
12982 * posix/wordexp.c: Likewise.
12983 * pwd/fgetpwent_r.c: Likewise.
12984 * resolv/Versions: Likewise.
12985 * resolv/res_hconf.c: Likewise.
12986 * shadow/fgetspent_r.c: Likewise.
12987 * shadow/putspent.c: Likewise.
12988 * stdio-common/printf_fphex.c: Likewise.
12989 * stdio-common/tmpfile.c: Likewise.
12990 * stdlib/abort.c: Likewise.
12991 * stdlib/fmtmsg.c: Likewise.
12992 * sunrpc/auth_unix.c: Likewise.
12993 * sunrpc/clnt_perr.c: Likewise.
12994 * sunrpc/clnt_tcp.c: Likewise.
12995 * sunrpc/clnt_udp.c: Likewise.
12996 * sunrpc/clnt_unix.c: Likewise.
12997 * sunrpc/openchild.c: Likewise.
12998 * sunrpc/svc_simple.c: Likewise.
12999 * sunrpc/svc_tcp.c: Likewise.
13000 * sunrpc/svc_udp.c: Likewise.
13001 * sunrpc/svc_unix.c: Likewise.
13002 * sunrpc/xdr.c: Likewise.
13003 * sunrpc/xdr_array.c: Likewise.
13004 * sunrpc/xdr_rec.c: Likewise.
13005 * sunrpc/xdr_ref.c: Likewise.
13006 * sunrpc/xdr_stdio.c: Likewise.
13007
1248c1c4
PB
130082011-09-09 Ulrich Drepper <drepper@gmail.com>
13009
13010 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13011
130122011-07-03 Andreas Jaeger <aj@suse.de>
13013
13014 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13015 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13016 regenerate with gen-libm-tests.pl.
13017
130182010-05-12 Petr Baudis <pasky@suse.cz>
13019
13020 [BZ #11589]
13021 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13022 around j0() zero points by switching to j1().
13023 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13027
f22e1074
UD
130282011-09-09 Ulrich Drepper <drepper@gmail.com>
13029
f19009c1
UD
13030 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13031 instead of 0.
13032 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13033 instead of 0. .
13034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13035 Patch in part by Pavel Roskin <proski@gnu.org>.
13036
3f8cc204
UD
13037 [BZ #13138]
13038 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13039 realloc.
13040 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13041 Free memory block if necessary.
13042
f22e1074
UD
13043 [BZ #12847]
13044 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13045 be NULL. Don't lock in this case.
13046
0a2349f9
RM
130472011-09-09 Roland McGrath <roland@hack.frob.com>
13048
13049 * elf/elf.h (ELFOSABI_GNU): New macro.
13050 (ELFOSABI_LINUX): Define to that.
13051
f3cdd467
DZ
130522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13053
13054 * string/strncat.c (strncat): Undef the symbol in case it has been
13055 defined in bits/string.h.
13056
74718d13
UD
130572011-09-09 Ulrich Drepper <drepper@gmail.com>
13058
633e9e0f
UD
13059 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13060
0a2349f9 13061 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13062 link map.
13063
f9924780
AJ
130642011-08-17 Andreas Jaeger <aj@suse.de>
13065
13066 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13067
7f5517aa
PP
130682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13069 Ian Lance Taylor <iant@google.com>
13070
13071 * math/libm-test.inc (lround_test): New testcase.
13072 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13073
762011fe
UD
130742011-09-08 Ulrich Drepper <drepper@gmail.com>
13075
92963737
UD
13076 * Makefile: Remove support for automatic cvs check-ins.
13077 * Makerules: Likewise.
13078 * config.make.in: Likewise.
13079 * configure.in: Likewise.
13080 * intl/Makefile: Likewise.
13081 * locale/Makefile: Likewise.
13082 * po/Makefile: Likewise.
13083 * posix/Makefile: Likewise.
13084 * sysdeps/gnu/Makefile: Likewise.
13085 * sysdeps/mach/hurd/Makefile: Likewise.
13086 * sysdeps/sparc/sparc32/Makefile: Likewise.
13087
b0727fd8
JS
13088 [BZ #13118]
13089 * posix/Makefile (bug-regex32-ENV): Define.
13090 Patch by John Stanley <jpsinthemix@verizon.net>.
13091
a0f33f99
UD
13092 * misc/Makefile (headers): Add bits/select2.h.
13093 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13094 * misc/bits/select2.h: New file.
13095 * include/bits/select2.h: New file.
13096 * debug/Makefile (routines): Add fdelt_chk.
13097 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13098 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13099 FD_ISSET.
13100 * debug/fdelt_chk.c: New file.
13101
762011fe
UD
13102 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13103 * wcsmbs/test-wmemcmp.c: Likewise.
13104 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13105 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13106
131072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13108
13109 * string/Makefile (strop-tests): Add memcmp.
13110 * string/test-wmemcmp.c: New file.
13111 * string/test-memcmp.c: Add wmemcmp support.
13112
7f513ec8
RM
131132011-09-08 Roland McGrath <roland@hack.frob.com>
13114
0442afb4
RM
13115 [BZ #13153]
13116 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13117 2011-07-19 change.
13118
7f513ec8
RM
13119 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13120 garbage value in a __mach_port_mod_refs call in the cases of the
13121 task-self and thread-self ports.
13122
a12b2239
ST
131232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13124
13125 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13126
610f9ab4
AS
131272011-09-08 Andreas Schwab <schwab@redhat.com>
13128
7f513ec8 13129 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13130
48882a1a
LD
131312011-09-07 Ulrich Drepper <drepper@gmail.com>
13132
b49865be
UD
13133 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13134
fdc86bc9
UD
13135 * elf/dl-libc.c (dlerror_run): Pass back error code from
13136 dl_catch_error.
13137
c966526a
UD
13138 [BZ #13123]
13139 * elf/dl-load.c (lose): Free l_origin if it is valid.
13140
48882a1a
LD
13141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13142 names.
13143 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13144 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13148 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13149
77a2a8b4
AZ
131502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13151
13152 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13153 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13155 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13156 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13157 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13158 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13159 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13160 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13161 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13162
24f579d8
AM
131632011-08-15 Alan Modra <amodra@gmail.com>
13164
13165 [BZ #13092]
13166 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13167 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13168 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13169 ppc_mcount to static-only-routines.
13170 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13171 __mcount_internal.
13172 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13173 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13174
3d4837df
UD
131752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13176
13177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13178 for finite and infinity parameters.
13179
22700377
WS
131802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13181
13182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13183 and add nop instructions for throughput optimization.
13184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13185
5025581e
WS
131862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13187
13188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13189 aligned copy for power7 with vector-scalar instructions.
13190 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13191
08a300c9
L
131922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13193
13194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13195 AVX check.
13196
59178ef9
AS
131972011-09-07 Andreas Schwab <schwab@redhat.com>
13198
13199 [BZ #13144]
13200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13201 last change.
13202
e38ba7ab
UD
132032011-09-07 Ulrich Drepper <drepper@gmail.com>
13204
13205 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13206 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13207 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13209 clock_gettime.
13210
d53a73ac
UD
132112011-09-06 Ulrich Drepper <drepper@gmail.com>
13212
fc8bffcc
UD
13213 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13214 Forgot to demangle the pointer.
13215
ceaa0c5d
UD
13216 * sysdeps/i386/sysdep.h: Define atom_text_section.
13217 * sysdeps/x86_64/sysdep.h: Likewise.
13218 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13219 section with atom_text_section.
13220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13222 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13224 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13225
a77d3c17
UD
13226 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13228 already be defined. Change to take two parameters and don't assign
13229 result to variable. Adjust all users.
13230 Define INTERNAL_GETTIME if not already defined.
13231 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13232 call.
13233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13234 HAVE_CLOCK_GETTIME_VSYSCALL.
13235 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13236
d53a73ac
UD
13237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13238 gettimeofday vsyscall, just use time.
13239
a8f84144
AS
132402011-09-06 Andreas Schwab <schwab@redhat.com>
13241
13242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13243 <errno.h>.
13244
ef606249
UD
132452011-09-06 Ulrich Drepper <drepper@gmail.com>
13246
13247 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13248 syscall on x86-64.
13249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13250 syscall.
13251 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13253 syscall if possible.
13254
6585cb60
UD
132552011-09-05 Ulrich Drepper <drepper@gmail.com>
13256
13257 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13258 e_ident. Don't pass to find_mapsXX.
13259 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13260
a5f524e4
LD
132612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13262
13263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13264 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13265 * sysdeps/x86_64/multiarch/strchr.S: Update.
13266 Check bit_slow_BSF bit.
13267 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13268 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13269 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13270
554881ef
UD
132712011-09-05 Ulrich Drepper <drepper@gmail.com>
13272
d96de963
UD
13273 [BZ #13134]
13274 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13275 before glibc 2.15.
13276 (tryshell): Define.
13277 (__spawni): Change last parameter to be flag. Test
13278 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13279 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13280 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13281 * posix/spawni.c: Likewise.
13282 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13283 * posix/spawnp.c: Likewise. Change normal version to use
13284 SPAWN_XFLAGS_USE_PATH.
13285 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13286 SPAWN_XFLAGS_TRY_SHELL.
13287
d48e5868
UD
13288 [BZ #13150]
13289 * posix/glob.h: Remove gcc 1.x support.
13290
554881ef
UD
13291 [BZ #13068]
13292 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13293
693fb948
LD
132942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13295
13296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13297 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13298 strrchr-sse2-bsf
13299 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13300 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13301 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13303 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13305
1b48c537
UD
133062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13307
49d42c37
UD
13308 * sysdeps/x86_64/wcscmp.S: New file.
13309
1b48c537
UD
13310 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13311 wcscmp-c wcscmp-sse2
13312 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13313 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13314 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13315 * wcsmbs/wcscmp.c: Allow renaming.
13316
15c95c5d
DM
133172011-09-05 David S. Miller <davem@davemloft.net>
13318
13319 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13320 stack slot, rather than the struct return pointer slot.
13321 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13322 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13325
2f0ad8f3
UD
133262011-09-05 Ulrich Drepper <drepper@gmail.com>
13327
d88ae418
UD
13328 * po/ja.po: Update from translation team.
13329
2f0ad8f3
UD
13330 [BZ #13144]
13331 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13332 kernel in 64-bit binaries.
13333
5f4318d1
DM
133342011-09-01 David S. Miller <davem@davemloft.net>
13335
13336 * elf/elf.h (HWCAP_SPARC_*): Move to..
13337 * sysdeps/sparc/sysdep.h: this new file and add new values.
13338 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13339 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13340 _DL_HWCAP_COUNT to 24.
13341 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13342 entries.
13343 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13344 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13345 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13347 instead of magic constants.
13348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13349
3ba57516
DM
133502011-08-31 David S. Miller <davem@davemloft.net>
13351
13352 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13354 Reimplement to do errno handling inline.
13355 (SYSCALL_ERROR_HANDLER): New macro.
13356 (__SYSCALL_STRING): Do not do errno handling in asm.
13357 (__CLONE_SYSCALL_STRING): Delete.
13358 (__INTERNAL_SYSCALL_STRING): Delete.
13359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13360 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13361 (PSEUDO): Reimplement to do errno handling inline.
13362 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13363 (SYSCALL_ERROR_HANDLER): New macro.
13364 (__SYSCALL_STRING): Do not do errno handling in asm.
13365 (__CLONE_SYSCALL_STRING): Delete.
13366 (__INTERNAL_SYSCALL_STRING): Delete.
13367 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13368 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13369 i386.
13370 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13371 (inline_syscall*): Add 'err' argument.
13372 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13373 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13374 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13375 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13376
13377 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13378 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13379
2bc17433
AS
133802011-08-30 Andreas Schwab <schwab@redhat.com>
13381
13382 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13383
fbeb5f4d
JO
133842011-08-29 Jiri Olsa <jolsa@redhat.com>
13385
13386 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13387 directive.
13388
ad69cc26
DM
133892011-08-24 David S. Miller <davem@davemloft.net>
13390
13391 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13392
39dd69df
AS
133932011-08-24 Andreas Schwab <schwab@redhat.com>
13394
13395 * elf/Makefile: Add rules to build and run unload8 test.
13396 * elf/unload8.c: New file.
13397 * elf/unload8mod1.c: New file.
13398 * elf/unload8mod1x.c: New file.
13399 * elf/unload8mod2.c: New file.
13400 * elf/unload8mod3.c: New file.
13401
13402 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13403 it wasn't used.
13404
2c0b250a
DM
134052011-08-23 David S. Miller <davem@davemloft.net>
13406
13407 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13408 subtract stack bias.
13409 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13410 %sp not %fp in calculations.
13411 (_JMPBUF_UNWINDS_ADJ): Likewise.
13412
22044b48
DM
13413 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13414 (aio_suspend): Call it to force an exception region around the
13415 AIO_MISC_WAIT() invocation.
13416
2cae4995
AS
134172011-08-23 Andreas Schwab <schwab@redhat.com>
13418
13419 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13420 backslash.
13421
873a772e
AJ
134222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13423
13424 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13425 protection macro.
13426 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13427 and <dl-machine.h>.
13428 (Elf64_FuncDesc): Remove.
13429
25ad0df1
DM
134302011-08-22 David S. Miller <davem@davemloft.net>
13431
13432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13433 sigaltstack check, add missing cfi directives.
13434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13435 missing cfi directives, and sigaltstack handling.
13436
e888bcbe
AS
134372011-08-16 Andreas Schwab <schwab@redhat.com>
13438
13439 [BZ #11724]
13440 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13441 object is seen twice.
13442 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13443
13444 * elf/Makefile (distribute): Add tst-initorder2.c.
13445 (tests): Add tst-initorder2.
13446 (modules-names): Add tst-initorder2a tst-initorder2b
13447 tst-initorder2c tst-initorder2d. Add rules to build them.
13448 ($(objpfx)tst-initorder2.out): New rule.
13449 * elf/tst-initorder2.c: New file.
13450 * elf/tst-initorder2.exp: New file.
13451
87162f46
AS
134522011-08-22 Andreas Schwab <schwab@redhat.com>
13453
70538b7f
AS
13454 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13455
f55ffe58
AS
13456 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13457 dependencies back to end of function.
13458
87162f46
AS
13459 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13460 $(elfobjdir)/ld.so.
13461
91b392a4
UD
134622011-08-21 Ulrich Drepper <drepper@gmail.com>
13463
13464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13465 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13467 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13468 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13469 of __vdso_gettimeofday.
13470 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13471 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13472 attribute_hidden.
13473 (_libc_vdso_platform_setup): Remove initialization of
13474 __vdso_gettimeofday and __vdso_time.
13475
5c43483f
UD
134762011-08-20 Ulrich Drepper <drepper@gmail.com>
13477
775a77e7
UD
13478 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13479 and fgetc_unlocked.
13480 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13481 getc_unlocked.
89f447ed 13482
49c74ba9
UD
13483 * elf/dl-open.c (add_to_global): Report additions to the global scope
13484 for LD_DEBUG=scopes.
13485 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13486 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13487
5c43483f
UD
13488 [BZ #13114]
13489 * stdio-common/Makefile (tests): Add bug24.
13490 * stdio-common/bug24.c: New file.
13491
a101b025
AJ
134922011-08-19 Andreas Jaeger <aj@suse.de>
13493
13494 [BZ #13114]
13495 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13496 non-existant file when using close-on-exec mode.
13497
c88f1766
UD
134982011-08-20 Ulrich Drepper <drepper@gmail.com>
13499
0276a718
UD
13500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13501 the very first instruction.
13502
c88f1766
UD
13503 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13504 the CFI state in the end.
13505 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13506 inclusion of dl-trampoline.h.
13507 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13508
51ccffa0
AS
135092011-08-19 Andreas Schwab <schwab@redhat.com>
13510
94d7165f
AS
13511 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13512 expectations for long double.
13513
51ccffa0
AS
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13515 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13516
fd708658 135172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13518
13519 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13520 artificual limit depends upon the system page size.
13521
44f0a71e
UD
135222011-08-17 Ulrich Drepper <drepper@gmail.com>
13523
13524 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13525 * resolv/Makefile: Define CFLAGS-libresolv.
13526
8de79a24
AS
135272011-08-17 Andreas Schwab <schwab@redhat.com>
13528
13529 * nss/makedb.c (compute_tables): Make variables used in nested
13530 function static.
13531
27724598
UD
135322011-08-17 Ulrich Drepper <drepper@gmail.com>
13533
c5305d88
UD
13534 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13535 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13536 if buffer was too small.
13537
27724598
UD
13538 * elf/pldd.c (main): Attach to all threads in the process.
13539 Rewrite /proc handling to use *at functions.
13540
076fe015
UD
135412011-08-16 Ulrich Drepper <drepper@gmail.com>
13542
174baab3
UD
13543 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13544 specifies first scope to show.
13545 (dl_open_worker): Update callers. Move printing scope of new
13546 object to before the relocation.
44f0a71e 13547 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13548 * sysdeps/generic/ldsodefs.h: Update declaration.
13549
076fe015
UD
13550 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13551 string for the scope number.
13552
a60df2c3
UD
135532011-08-14 Ulrich Drepper <drepper@gmail.com>
13554
13555 * nscd/servicescache.c (cache_addserv): Make sure written is always
13556 initialized.
13557
5e4287d1
RM
135582011-08-14 Roland McGrath <roland@hack.frob.com>
13559
85ae0589
RM
13560 * sysdeps/i386/i486/bits/atomic.h
13561 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13562 statement expression, so as to suppress "set but not used" warning.
13563 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13564
69f63097
RM
13565 * string/strncat.c (STRNCAT): Use prototype definition.
13566
675456ef
RM
13567 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13568 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13569 -Iprograms here.
13570 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13571 (localedef-modules): Add localedef.
13572 (locale-modules): Add locale.
13573
5e4287d1
RM
13574 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13575 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13576 to avoid a warning.
13577
9c96ff23
DM
135782011-08-14 David S. Miller <davem@davemloft.net>
13579
13580 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13581 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13582
f9ddf089
UD
135832011-08-13 Ulrich Drepper <drepper@gmail.com>
13584
44f0a71e 13585 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13586 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13587 * elf/rtld.c (dl_main): Set l_name of vDSO.
13588 Call _dl_show_scope when DL_DEBUG_SCOPES.
13589 (process_dl_debug): Recognize scopes flag and also set it for all.
13590 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13591 Declare _dl_show_scope.
13592
1dc27704
UD
13593 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13594 (do_dlopen): Pass caller_dlopen to dl_open.
13595 (__libc_dlopen_mode): Initialize caller_dlopen.
13596
f9ddf089
UD
13597 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13598 of libc. Make tolower call locale-independent. Optimize a bit by
13599 using isdigit instead of isalnum.
13600 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13601
9ac533d3
UD
136022011-08-12 Ulrich Drepper <drepper@gmail.com>
13603
13604 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13605 was a dependency or dynamically loaded.
13606
89edf2e9
UD
136072011-08-11 Ulrich Drepper <drepper@gmail.com>
13608
8e999d29
UD
13609 * intl/l10nflist.c: Allow architecture-specific pop function.
13610 * sysdeps/x86_64/l10nflist.c: New file.
13611
89edf2e9
UD
13612 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13613 classification.
13614
14d96785
AS
136152011-08-10 Andreas Schwab <schwab@redhat.com>
13616
13617 * include/dirent.h: Add libc_hidden_proto for scandirat and
13618 scandirat64. Don't declare __scandirat64.
13619 * dirent/scandirat.c: Add libc_hidden_def.
13620 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13621 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13622
6761ac04
DM
136232011-08-10 David S. Miller <davem@davemloft.net>
13624
13625 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13626 enum.
13627 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13628 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13630
c55fbd1e
UD
136312011-08-09 Ulrich Drepper <drepper@gmail.com>
13632
13633 * Versions.def [libc]: Add GLIBC_2.15.
13634 * dirent/Makefile (routines): Add scandirat and scandirat64.
13635 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13636 GLIBC_2.15.
13637 * dirent/dirent.h: Declare scandirat and scandirat64.
13638 * dirent/scandirat.c: New file.
13639 * dirent/scandirat64.c: New file.
13640 * sysdeps/wordsize-64/scandirat.c: New file.
13641 * sysdeps/wordsize-64/scandirat64.c: New file.
13642 * dirent/opendir.c: Define opendirat.
13643 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13644 using scandirat.
13645 * dirent/scandir64.c: Adjust for scandir.c change.
13646 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13647 __scandirat64, and __scandir_cancel_handler.
13648 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13649 additional parameter and use openat instead of open (outside of ld.so).
13650 Add new __opendir as wrapper around __opendirat.
13651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13652 here without requiring old scandirat implementation.
13653
879165f2
UD
136542011-08-08 Ulrich Drepper <drepper@gmail.com>
13655
13656 * dirent/scandir.c (cancel_handler): Renamed to
13657 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13658 defined. Adjust users.
13659 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13661
cb7e923b
UD
136622011-08-04 Ulrich Drepper <drepper@gmail.com>
13663
16292edd
UD
13664 * string/test-string.h (IMPL): Use __STRING to expand name and then
13665 stringify it.
13666
cb7e923b
UD
13667 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13668 of cleanups.
13669
cff82933
LD
136702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13671
13672 * string/Makefile: Update.
13673 (strop-tests): Append strncat.
13674 * string/test-wcscmp.c: New file.
13675 New comprehensive test for wcscmp.
13676 * string/test-strcmp.c: Update.
13677 (WIDE): New define.
13678
9be9bfcc
AS
136792011-07-22 Andreas Schwab <schwab@redhat.com>
13680
13681 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13682 line.
13683
2e96f1c7
AS
136842011-07-26 Andreas Schwab <schwab@redhat.com>
13685
13686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13687 encoding to ACE if AI_IDN.
13688
85188888
JJ
136892011-08-01 Jakub Jelinek <jakub@redhat.com>
13690
13691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13692 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13693
5fa16e9b
LD
136942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13695
13696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13697 Fix overflow bug in strncat.
13698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13699
13700 * string/test-strncat.c: Update.
13701 Add new tests for checking overflow bugs.
13702
137032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13704
13705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13706 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13707 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13708 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13709 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13710 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13711 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13712 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13713 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13714
13715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13716 (USE_AS_STRCAT): Define.
13717 Add strcat and strncat support.
13718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13719
8c1a459f
AS
137202011-07-25 Andreas Schwab <schwab@redhat.com>
13721
13722 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13723 __n bigger than INT_MAX+1.
13724 (__strncmp_g): Likewise.
13725
bba33c28
UD
137262011-07-23 Ulrich Drepper <drepper@gmail.com>
13727
798be72d
UD
13728 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13729 * libio/stido.h: Likewise.
13730
8accd4dc
UD
13731 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13732 (AF_NFC): Define.
13733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13734 (AF_NFC): Define.
13735
cbff0d96
UD
13736 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13737 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13741
9191c04a
UD
13742 [BZ #13021]
13743 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13744 installed.
13745
bba33c28
UD
13746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13747 typo.
13748 (_dl_x86_64_save_sse): Likewise.
13749
90f139dd
UD
137502011-07-22 Ulrich Drepper <drepper@gmail.com>
13751
1aae088a
UD
13752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13753 OSXSAVE.
13754 (_dl_x86_64_save_sse): Likewise.
13755
8e2045f5
UD
13756 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13757
90f139dd
UD
13758 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13759
1d002f25
AS
137602011-07-21 Andreas Schwab <schwab@redhat.com>
13761
13762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13763 change.
13764 (_dl_x86_64_save_sse): Use correct AVX check.
13765
21137f89
UD
137662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13767
13768 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13769 bug in strncpy/strncat.
13770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13771
a65c0b7a
UD
137722011-07-21 Ulrich Drepper <drepper@gmail.com>
13773
13774 * string/tester.c (test_strcat): Add tests for different alignments
13775 of source and destination.
13776 (test_strncat): Likewise.
13777
6986b98a
UD
137782011-07-20 Ulrich Drepper <drepper@gmail.com>
13779
90bb2039
UD
13780 [BZ #12852]
13781 * posix/glob.c (glob): Check passed in values before using them in
13782 expressions to avoid some overflows.
13783 (glob_in_dir): Likewise.
13784
5644ef54
UD
13785 [BZ #13007]
13786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13787 check for AVX enablement so that we don't crash with old kernels and
13788 new hardware.
13789 * elf/tst-audit4.c: Add same checks here.
13790 * elf/tst-audit6.c: Likewise.
13791
13792 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13793
bfc9dc9b
AS
137942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13795
13796 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13797
702e64bb
UD
137982011-07-20 Ulrich Drepper <drepper@gmail.com>
13799
13800 * po/cs.po: Update from translation team.
13801 * po/bg.po: Likewise.
13802
295e904f
MP
138032011-07-12 Marek Polacek <mpolacek@redhat.com>
13804
13805 * misc/sys/cdefs.h: Add support for const attribute.
13806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13807 to gnu_dev_{major,minor,makedev} functions.
13808
3ff94596
MP
138092011-07-20 Marek Polacek <mpolacek@redhat.com>
13810
13811 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13812
28b59fca
AS
138132011-07-20 Andreas Schwab <schwab@redhat.com>
13814
13815 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13816 strlen results.
13817
19df733e
AK
138182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13819
13820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13821 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13822 register in order to avoid conflicts with the soft frame pointer
13823 being held in r11 when necessary.
13824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13825 (INTERNAL_VSYSCALL_NCS): Likewise.
13826
c8835729
MP
138272011-07-14 Marek Polacek <mpolacek@redhat.com>
13828
13829 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13830 * elf/dl-fini.c (_dl_fini): Adjust caller.
13831 * elf/dl-close.c (_dl_close_worker): Likewise.
13832 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13833
b902330c
MP
138342011-07-15 Marek Polacek <mpolacek@redhat.com>
13835
8991e135
MP
13836 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13837 "aux_cache->nlibs < 0".
13838
b902330c
MP
13839 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13840 in the reload-count case.
13841
99710781
LD
138422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13843
13844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13845 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13846 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13847 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13848 * sysdeps/x86_64/multiarch/strcat.S: New file.
13849 * sysdeps/x86_64/multiarch/strncat.S: New file.
13850 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13851 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13852 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13853 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13854 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13855 (USE_AS_STRCAT): Define.
13856 Add strcat and strncat support.
13857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13858 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13859 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13860 * string/strncat.c: Update.
13861 (USE_AS_STRNCAT): Define.
13862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13863 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13864 and i7.
13865 * sysdeps/x86_64/multiarch/init-arch.h
13866 (bit_Prefer_PMINUB_for_stringop): New.
13867 (index_Prefer_PMINUB_for_stringop): Likewise.
13868 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13869 bit_Prefer_PMINUB_for_stringop.
13870
7dc6bd90
UD
138712011-07-19 Ulrich Drepper <drepper@gmail.com>
13872
13873 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13874 buffer64.
13875 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13876 of casting of buffer.
13877 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13878 buffer32 and buffer64.
13879 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13880 writes instead of casting of buffer.
13881 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13882 buffer32.
13883 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13884 casting of buffer.
13885
e0e72284
AS
138862011-07-19 Andreas Schwab <schwab@redhat.com>
13887
13888 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13889
feb1eb0b
UD
138902011-07-19 Ulrich Drepper <drepper@gmail.com>
13891
13892 * nscd/nscd.c (termination_handler): Don't do anything for a database
13893 if it has not yet been initialized.
13894
298711ff
UD
138952011-07-18 Ulrich Drepper <drepper@gmail.com>
13896
13897 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13898
138992011-07-15 Marek Polacek <mpolacek@redhat.com>
13900
13901 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13902
f9d68389
UD
139032011-07-18 Ulrich Drepper <drepper@gmail.com>
13904
13905 * po/nl.po: Update from translation team.
13906 * po/sv.po: Likewise.
13907
db290cf5
RM
139082011-07-16 Roland McGrath <roland@hack.frob.com>
13909
13910 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13911 now disallowed by GCC.
5c550700 13912
fd5e21c7
RM
13913 * configure.in (use-default-link): Default to yes if a test -shared
13914 link meets our qualifications.
13915 * configure: Regenerated.
13916
5c550700
RM
13917 * config.make.in (output-format): New variable.
13918 * configure.in: Check for ld --print-output-format support.
13919 * configure: Regenerated.
13920 * Makerules ($(common-objpfx)format.lds)
13921 [$(output-format) != unknown]: Just use $(output-format),
13922 instead of the linker-script munging.
13923
9fa2c032
RM
139242011-07-14 Roland McGrath <roland@hack.frob.com>
13925
a6928d51
RM
13926 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13927 of $(common-objpfx)shlib.lds.
13928 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13929
661607b3
RM
13930 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13931 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13932
9fa2c032
RM
13933 * configure.in (-z relro check): Adjust test code to add a large
13934 writable data section after it.
13935 * configure: Regenerated.
13936
defe9061
RM
139372011-07-11 Roland McGrath <roland@hack.frob.com>
13938
13939 * configure.in (-z relro check): Fix test code to make the variable
13940 truly const.
13941 * configure: Regenerated.
13942
319b9ad4
UD
139432011-07-11 Ulrich Drepper <drepper@gmail.com>
13944
13945 * nscd/nscd.h (struct traced_file): Define.
13946 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13947 elements. Add traced_files.
13948 (inotify_fd): Declare.
13949 (register_traced_file): Declare.
13950 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13951 (inotify_fd): Export.
13952 (resolv_conf_descr): Remove.
13953 (nscd_init): Move inotify descriptor creation to main.
13954 Don't register files for notification here.
13955 (register_traced_file): New function.
13956 (invalidate_cache): Don't use reset_res to determine whether to call
13957 res_init, go through the list of registered files.
13958 (main_loop_poll): The inotify descriptors are now stored in the
13959 structures for the traced files.
13960 (main_loop_epoll): Likewise
13961 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13962 to __nss_disable_nscd.
13963 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13964 for a database anymore. Check the records for all the registered
13965 files instead.
13966 * nss/Makefile (libnss_files-routines): Add files-init.
13967 (libnss_db-routines): Add db-init.
13968 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13969 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13970 * nss/nss_db/db-init.c: New file.
13971 * nss/nss_files/files-init.c: New file.
13972 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13973 __nss_lookup_function.
13974 (__nss_lookup_function): Call nss_load_library.
13975 (nss_load_all_libraries): New function.
13976 (__nss_disable_nscd): Take parameter with callback function for files
13977 to register. Set is_nscd. Load all the DSOs for the NSS modules
13978 used for the cached services.
13979 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13980 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13981 options for features to all the files in nscd.
13982
13983 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13984
23bee3e8
RM
139852011-07-10 Roland McGrath <roland@hack.frob.com>
13986
13987 * csu/elf-init.c (__libc_csu_init): Comment typo.
13988
46a5b7f0
UD
139892011-07-09 Ulrich Drepper <drepper@gmail.com>
13990
13991 * po/pl.po: Update from translation team.
13992 * po/ja.po: Likewise.
13993 * po/ru.po: Likewise.
13994 * po/ko.po: Likewise.
13995 * po/fr.po: Likewise.
13996
d30cf5bb
RM
139972011-07-09 Roland McGrath <roland@hack.frob.com>
13998
113ddea4
RM
13999 * configure.in (.ctors/.dtors header and trailer check):
14000 Use an empirical test on a built program.
14001 * configure: Regenerated.
14002
574920b4
RM
14003 * configure.in (-z relro check): Use an empirical test on a built DSO.
14004 Detect, but do not require, on ia64.
14005 * configure: Regenerated.
14006
d30cf5bb
RM
14007 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14008 Update tests that use readelf to use $READELF instead.
14009 * configure: Regenerated.
14010
8538fdb3
UD
140112011-07-08 Ulrich Drepper <drepper@gmail.com>
14012
14013 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14014 if the result is not used.
14015
04d08991
AJ
140162011-07-05 Andreas Jaeger <aj@suse.de>
14017
14018 [BZ#9696]
14019 * stdlib/tst-strtod.c: Add testcase.
14020
de283087
AD
140212011-07-07 Ulrich Drepper <drepper@gmail.com>
14022
4e5f31c8 14023 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14024 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14025 The latter has a higher limit. Take additional parameter to pass to
14026 the new function.
14027 (__pathconf): Pass file to __statfs_link_max.
14028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14029 __statfs_link_max.
14030 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14031 __statfs_link_max.
14032
de283087
AD
14033 [BZ #12868]
14034 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14035 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14036 Handle Lustre.
14037 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14038 (__statfs_filesize_max): Likewise.
14039 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14040
c75fa153
AJ
140412011-07-05 Andreas Jaeger <aj@suse.de>
14042
14043 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14044
1a544854
UD
140452011-07-06 Marek Polacek <mpolacek@redhat.com>
14046
14047 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14048 `status' variable.
14049 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14050 Likewise.
14051
6f0eec67
UD
140522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 * Makefile (strop-tests): Add strncat.
14055 * string/test-strncat.c: New file.
14056
aae30307
UD
140572011-06-30 Marek Polacek <mpolacek@redhat.com>
14058
14059 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14060
c0cfb5eb
UD
140612011-06-21 Andreas Jaeger <aj@suse.de>
14062
14063 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14064 Copy rule from iconvdata/Makefile.
14065
01636b21
UD
140662011-07-06 Ulrich Drepper <drepper@gmail.com>
14067
14068 [BZ #12922]
14069 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14070 but no long options are defined, just return 'W'.
14071
9895c8bc
UD
140722011-06-22 Marek Polacek <mpolacek@redhat.com>
14073
14074 [BZ #9696]
14075 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14076
5d4cf042
UD
140772011-07-06 Ulrich Drepper <drepper@gmail.com>
14078
14079 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14080 netgroups to read.
960e5535 14081 (innetgr): Likewise.
5d4cf042 14082
751eb97e
RM
140832011-07-05 Roland McGrath <roland@hack.frob.com>
14084
14085 * config.make.in (install_root): Default to $(DESTDIR).
14086
f15f1e45
UD
140872011-07-05 Ulrich Drepper <drepper@gmail.com>
14088
14089 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14090
4e34ac6a
RM
140912011-07-02 Roland McGrath <roland@hack.frob.com>
14092
5e9b6af4
RM
14093 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14094
84f9ea0f
RM
14095 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14096 containing directory rather than embedding absolute directory names.
14097
ea5ee9f7
RM
14098 * scripts/check-local-headers.sh: Rewritten using awk.
14099 Match by word, not by line. Print error messages for matches.
14100 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14101
1b74661a
RM
14102 * Makerules [shlib-lds-flags empty]:
14103 ($(common-objpfx)libc_pic.opts): New target.
14104 ($(common-objpfx)libc_pic.os.clean): New target.
14105 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14106
14107 * config.make.in (OBJCOPY): New variable.
14108 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14109 * configure: Regenerated.
14110
f781ef40
RM
14111 * config.make.in (use-default-link): New variable.
14112 * configure.in (use_default_link): Grok --with-default-link to set it.
14113 * configure: Regenerated.
14114 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14115 (shlib-lds, shlib-lds-flags): Define to empty.
14116
2d4fa81e
RM
14117 * Makerules (shlib-lds): New variable.
14118 (shlib-lds-flags): New variable.
14119 (build-shlib, build-moduile, build-module-asneeded): Use it.
14120 ($(common-objpfx)libc.so): Use $(shlib-lds).
14121 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14122 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14123
31fffa6b
RM
14124 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14125 DT_FLAGS/DT_FLAGS_1 with zero flags.
14126
4e34ac6a
RM
14127 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14128 linker script munging.
14129
fcfc776b
UD
141302011-07-02 Ulrich Drepper <drepper@gmail.com>
14131
14132 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14133 as 128-bit value.
14134 * crypt/sha512.c (sha512_process_block): Perform total addition using
14135 128-bit if possible.
14136 (__sha512_finish_ctx): Likewise.
14137 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14138 as 64-bit value.
14139 * crypt/sha256.c (SWAP64): Define.
14140 (sha256_process_block): Perform total addition using 64-bit if
14141 possible.
14142 (__sha256_finish_ctx): Likewise.
14143
99231d9a
UD
141442011-07-01 Ulrich Drepper <drepper@gmail.com>
14145
14146 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14148 * nscd/hstcache.c (cache_addhst): Likewise.
14149 * nscd/grpcache.c (cache_addgr): Likewise.
14150 * nscd/aicache.c (addhstaiX): Likewise
14151 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14152
445b4a53
TK
141532011-07-01 Thorsten Kukuk <kukuk@suse.de>
14154
14155 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14157 * nscd/hstcache.c (cache_addhst): Likewise.
14158 * nscd/grpcache.c (cache_addgr): Likewise.
14159 * nscd/aicache.c (addhstaiX): Likewise
14160
6d4d8e8e
AS
141612011-07-01 Andreas Schwab <schwab@redhat.com>
14162
14163 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14164 domain only when needed.
14165
89f654c5
AS
141662011-06-30 Andreas Schwab <schwab@redhat.com>
14167
14168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14169 is always restored.
14170
cf3b23ff
UD
141712011-06-29 Ulrich Drepper <drepper@gmail.com>
14172
14173 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14174 are re-adding the entry.
14175 * nscd/servicescache.c (cache_addserv): Likewise.
14176
751626f9
AJ
141772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14178
14179 * sysdeps/generic/dl-irel.h: fix protection against multiple
14180 inclusions.
14181 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14182
9113ea1f
UD
141832011-06-28 Ulrich Drepper <drepper@gmail.com>
14184
5c0b8d90
UD
14185 [BZ #12935]
14186 * malloc/memusage.sh: Fix quoting in message.
14187 * debug/xtrace.sh: Likewise.
14188
9113ea1f
UD
14189 * configure.in: Remove support for --experimental-malloc option, make
14190 it the default.
14191 * config.make.in: Likewise.
14192 * malloc/Makefile: Likewise.
14193
a4172181
AS
141942011-06-27 Andreas Schwab <schwab@redhat.com>
14195
14196 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14197 two-byte characters.
14198
78a7eee7
RM
141992011-06-27 Roland McGrath <roland@hack.frob.com>
14200
62bede13
RM
14201 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14202 AC_CACHE_CHECK invocation.
14203 * configure: Regenerated.
14204
78a7eee7
RM
14205 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14206
5ce33a62
UD
142072011-06-27 Ulrich Drepper <drepper@gmail.com>
14208
034807a9
UD
14209 [BZ #12350]
14210 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14211 bit from old_res_options.
14212
4902da17
UD
14213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14214
5ce33a62
UD
14215 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14216 value type for setfct.
14217
c2344f56
L
142182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14221 __gettimeofday instead of gettimeofday.
14222
68468076
UD
142232011-06-26 Ulrich Drepper <drepper@gmail.com>
14224
14225 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14226
acb0d739
L
142272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14230
14231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14232 info.
14233
8912479f
L
142342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14237 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14238 strcpy-sse2-unaligned strncpy-sse2-unaligned
14239 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14240 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14241 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14242 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14243 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14244 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14245 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14246 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14247 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14248 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14249 (STRCPY): Support SSE2 and SSSE3 versions.
14250
d5495a11
UD
142512011-06-24 Ulrich Drepper <drepper@gmail.com>
14252
14253 [BZ #12874]
14254 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14255 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14256 kernels which artificially limit size of requests.
14257
0b1cbaae
L
142582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14261 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14262 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14263 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14264 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14265 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14266 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14267 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14270 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14271 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14272 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14273 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14274 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14276 Enable unaligned load optimization for Intel Core i3, i5 and i7
14277 processors.
14278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14279 Define.
14280 (index_Fast_Unaligned_Load): Define.
14281 (HAS_FAST_UNALIGNED_LOAD): Define.
14282
07f494a0
MP
142832011-06-23 Marek Polacek <mpolacek@redhat.com>
14284
14285 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14286
fa3fc0fe
UD
142872011-06-22 Ulrich Drepper <drepper@gmail.com>
14288
14289 [BZ #12907]
14290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14291 until it is clear that the information is realy needed.
14292 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14293
e12df166
AS
142942011-06-22 Andreas Schwab <schwab@redhat.com>
14295
14296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14297
852eb34d
UD
142982011-06-22 Ulrich Drepper <drepper@gmail.com>
14299
84e2a551
UD
14300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14301 /sys/devices/system/cpu/online if it is usable.
14302
852eb34d
UD
14303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14304 reading the information from the /proc filesystem to once a second.
14305
6e502e19
UD
143062011-06-21 Andreas Jaeger <aj@suse.de>
14307
14308 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14309 NULL after inclusion of kernel headers.
14310
75d39ff2
UD
143112011-06-21 Ulrich Drepper <drepper@gmail.com>
14312
51f9aa6a
UD
14313 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14314 calls to internal_setent.
14315
c0244a9d
UD
14316 [BZ #12885]
14317 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14318 addresses using gethostbyname4_r ignore IPv4 addresses.
14319
c5e3c2ae
UD
14320 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14321 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14322
75d39ff2
UD
14323 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14324
42675c6f
DM
143252011-06-20 David S. Miller <davem@davemloft.net>
14326
14327 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14328 inclusions.
14329 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14330
14331 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14332 (elf_irel): Use it.
14333 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14334 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14335 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14336 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14337 * sysdeps/x86_64/dl-irel.h: Likewise.
14338
14339 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14340 * elf/dl-sym.c: Likewise.
14341
57912a71
UD
143422011-06-15 Ulrich Drepper <drepper@gmail.com>
14343
14344 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14345 need to dereference resplen2.
14346
ee22793d
AS
143472011-06-14 Andreas Schwab <schwab@redhat.com>
14348
14349 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14350
a9e836b0
UD
143512011-06-15 Ulrich Drepper <drepper@gmail.com>
14352
77fb9117
UD
14353 * Makeconfig: Define vardbdir and inst_vardbdir.
14354 * nss/Makefile: Add rules to install db-Makefile.
14355
40c1b22c
UD
14356 * nss/nss_db/db-XXX.c: Cleanup.
14357
9f2da732
UD
14358 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14359 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14360 GLIBC_PRIVATE.
14361 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14362 * nss/makedb.c: Implement -g option to specify that value strings
14363 are generated and should not be added to table iterated over for
14364 get*ent calls.
14365 * nss/nss_db/db-initgroups.c: New file.
14366
82e9a1f7
UD
14367 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14368 interface.
14369
c41af17e
UD
14370 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14371 (internal_getgrouplist): Adjust to name change.
14372 Update use_initgroups_entry if this is not the first call.
14373 * nss/databases.def: Add initgroups entry.
14374
a9e836b0
UD
14375 * nss/makedb.c (compute_tables): Check result of multiple hash table
14376 sizes to minimize maximum chain length.
14377
2666d441
UD
143782011-06-14 Ulrich Drepper <drepper@gmail.com>
14379
14380 * Versions.def: Add entry for libnss_db.
14381 * shlib-versions: Likewise.
14382 * nss/Makefile: Add rules to build libnss_db.
14383 * nss/Versions: Add libnss_db information. Organize libnss_files
14384 entries better.
14385 * nss/db-Makefile: Add gshadow support. Change rules for the new
14386 makedb progra. Some minor improvements to generate smaller files.
14387 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14388 here from...
14389 * nss/makedb.c: ...here.
14390 Improve database format to be smaller and require less memory at
14391 runtime.
14392 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14393 db anymore.
14394 * nss/nss_db/db-netgrp.c: Likewise.
14395 * nss/nss_db/db-open.c: Likewise.
14396 * nss/nss_files/flies-XXX.x: Adjust comments.
14397 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14398 * nss/nss_files/files-grp.c: Likewise.
14399 * nss/nss_files/files-hosts.c: Likewise.
14400 * nss/nss_files/files-network.c: Likewise.
14401 * nss/nss_files/files-proto.c: Likewise.
14402 * nss/nss_files/files-pwd.c: Likewise.
14403 * nss/nss_files/files-rpc.c: Likewise.
14404 * nss/nss_files/files-service.c: Likewise.
14405 * nss/nss_files/files-sgrp.c: Likewise.
14406 * nss/nss_files/files-spwd.c: Likewise.
14407 * nss/nss_db/db-alias.c: Removed.
14408 * nss/nss_db/dummy-db.h: Removed.
14409
9ee76b5a
UD
144102011-06-02 Ulrich Drepper <drepper@gmail.com>
14411
14412 * nss/makedb.c: Rewritten to not use database library.
14413 * nss/Makefile: Update to build new makedb program.
14414
c71ca1f8
AJ
144152011-06-14 Andreas Jaeger <aj@suse.de>
14416
14417 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14418 memset declaration.
14419
3154bfb8
UD
144202011-06-10 Andreas Schwab <schwab@redhat.com>
14421
14422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14423 tmpbuf.
14424
b350afab
RM
144252011-06-10 Roland McGrath <roland@hack.frob.com>
14426
decd4e50
RM
14427 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14428 * elf/Makefile ($(objpfx)ld.so): Likewise.
14429
5615eaf2
RM
14430 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14431 Don't list ld.so twice in dependencies.
14432
14433 * posix/bug-regex31.c: Include <stdlib.h>.
14434
14435 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14436
14437 * nis/nss_compat/compat-spwd.c
14438 (getspent_next_nss_netgr): Remove unused variable.
14439 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14440
14441 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14442 nonmembers" output to use the right array.
14443
14444 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14445
14446 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14447
14448 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14449 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14450 * catgets/gencat.c (read_input_file): Likewise.
14451 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14452
14453 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14454 variable definition inside #if's controlling its use.
14455
14456 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14457
14458 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14459
14460 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14461
14462 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14463 unreachable code.
14464
14465 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14466
b68e08db
RM
14467 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14468 * configure: Regenerated.
14469
b350afab
RM
14470 * Makerules: Revert last change.
14471 * elf/Makefile: Likewise.
14472
28368601
RM
144732011-06-09 Roland McGrath <roland@hack.frob.com>
14474
14475 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14476 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14477 (reloc-link): Likewise.
14478
11988f8f
UD
144792011-06-09 Ulrich Drepper <drepper@gmail.com>
14480
14481 * elf/Makefile: Add rules to build pldd.
14482 * elf/pldd.c: New file.
14483 * elf/pldd-xx.c: New file.
14484
e80fab37
UD
144852011-06-07 Ulrich Drepper <drepper@gmail.com>
14486
14487 * version.h: Update for 2.15 development version.
14488
9b849836
DM
144892011-06-07 David S. Miller <davem@davemloft.net>
14490
14491 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14492 ifuncs.
14493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14494 elf_machine_lazy_rel): Likewise.
14495 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14497 elf_machine_lazy_rel): Likewise.
14498 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14499 dl_hwcap via passed in argument.
14500 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14501 Likewise.
14502
5a31b283
AK
145032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14504
14505 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14506
069e52f8
RM
145072011-06-06 Roland McGrath <roland@hack.frob.com>
14508
14509 [BZ #12849]
14510 * manual/fdl-1.1.texi: New file, verbatim from:
14511 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14512 * manual/lgpl-2.1.texi: New file, verbatim from:
14513 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14514 * manual/Makefile (licenses): New variable, list those new file names.
14515 (texis): Use it.
14516 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14517
14518 * manual/fdl.texi: File removed.
14519 * manual/lesser.texi: File removed.
14520 * manual/libc.texinfo (Copying, Documentation License):
14521 Use new @include file names, put @appendix directive before @include.
14522
f16846a5
JJ
145232011-06-04 Jakub Jelinek <jakub@redhat.com>
14524
14525 [BZ #12841]
14526 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14527 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14528 (mq_open): Add __NTH.
14529
3d29045b
L
145302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14533 Assume Intel Core i3/i5/i7 processor if AVX is available.
14534
8c297311
UD
145352011-05-31 Ulrich Drepper <drepper@gmail.com>
14536
14537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14538 typo.
14539
c8fc0c91
UD
145402011-05-31 Andreas Schwab <schwab@redhat.com>
14541
14542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14543 memory. Use alloca_account. Fix memory leak when retrying.
14544
5b27a807
UD
145452011-05-31 Ulrich Drepper <drepper@gmail.com>
14546
356f8bc6
UD
14547 * version.h (RELEASE): Bump for 2.14 release.
14548 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14549
5b27a807
UD
14550 * config.make.in (RANLIB): Remove entry.
14551
01f16ab0
UD
145522011-05-30 Ulrich Drepper <drepper@gmail.com>
14553
41fce8bd
UD
14554 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14555 (libc.pot): Work around missing support for .ksh extension in xgettext.
14556
4769ae77
UD
14557 [BZ #12684]
14558 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14559 if both request failed.
14560 (send_dg): In case of server errors clear resplen or *resplen2.
14561
6b1e7d19
UD
14562 [BZ #12454]
14563 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14564 when there are multiple maps.
14565 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14566 (_dl_fini): Remove test here.
14567
01f16ab0
UD
14568 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14569
b1ebd700
UD
145702011-05-29 Ulrich Drepper <drepper@gmail.com>
14571
7ae22829
UD
14572 [BZ #12350]
14573 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14574 bit from old_res_options.
14575 (gaih_inet): Likewise.
14576
553149f6 14577 [BZ #11099]
18a84741 14578 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14579 as signed.
14580
652ffab1
UD
14581 * resolv/res_init.c (res_setoptions): Make the code more compact.
14582
16985fd0
UD
14583 [BZ #11558]
14584 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14585 set RES_USEVC.
14586
0464f746
UD
14587 [BZ #11634]
14588 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14589
7d17596c
UD
14590 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14591
cf6bbbd7
UD
14592 [BZ #11781]
14593 * malloc/malloc.h: Declare malloc hook variables as volatile.
14594
13f1ab36
UD
14595 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14596 in last patch.
14597
b1ebd700
UD
14598 [BZ #11799]
14599 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14600 raise in the comment.
80e2212d
UD
14601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14603 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14604
ce67228d
UD
146052011-05-28 Ulrich Drepper <drepper@gmail.com>
14606
8887a920
UD
14607 [BZ #12811]
14608 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14609 grow the buffers more if it already has to be sufficient.
14610 (build_wcs_upper_buffer): Likewise.
14611 * posix/regexec.c (check_matching): Likewise.
14612 (clean_state_log_if_needed): Likewise.
14613 (extend_buffers): Don't enlarge buffers beyond size of the input
14614 buffer.
14615 Patches mostly by Emil Wojak <emil@wojak.eu>.
14616 * posix/bug-regex32.c: New file.
14617 * posix/Makefile (tests): Add bug-regex32.
14618
4f031072
UD
14619 * locale/findlocale.c (_nl_find_locale): Return right away if
14620 _nl_explode_name failed.
14621 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14622
d0478f0c
UD
14623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14624
de81b246
UD
14625 * debug/xtrace.sh: Unify messages.
14626 * malloc/memusage.sh: Likewise.
14627
c738465a
UD
14628 [BZ #12813]
14629 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14630 time symbol from vDSO. Substitute with vsyscall if not available.
14631 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14632 __vdso_time.
14633
f1f929d7
UD
14634 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14635 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14636 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14637 Add sendmmsg and internal_sendmmsg.
14638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14639 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14640 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14641
ce67228d
UD
14642 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14643 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14645
e57420c6
UD
146462011-05-27 Ulrich Drepper <drepper@gmail.com>
14647
a8509ca5
UD
14648 [BZ #12813]
14649 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14650 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14651 available.
14652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14653 __vdso_getcpu.
14654
e57420c6
UD
14655 [BZ #12814]
14656 * iconvdata/Makefile (tests): Add bug-iconv9.
14657 * iconvdata/bug-iconv9.c: New file.
14658
4d07db15
AS
146592011-05-27 Andreas Schwab <schwab@redhat.com>
14660
14661 [BZ #12814]
14662 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14663
ea486f69
JJ
146642011-05-25 Jakub Jelinek <jakub@redhat.com>
14665
14666 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14667 (struct user_regs_struct): Change intcs field back to cs.
14668
6f038433
UD
146692011-05-25 Ulrich Drepper <drepper@gmail.com>
14670
14671 * po/ja.po: Update from translation team.
14672
67f86a25
UD
146732011-05-23 Ulrich Drepper <drepper@gmail.com>
14674
14675 [BZ #12795]
14676 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14677 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14678
def7fbd6
AS
146792011-05-20 Andreas Schwab <schwab@redhat.com>
14680
14681 * stdlib/longlong.h: Update from GCC.
14682
f50ef8f1
AS
146832011-05-23 Andreas Schwab <schwab@redhat.com>
14684
14685 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14686 parameter name.
14687 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14688 Add parameter name.
14689 (__sysconf): Pass it down.
14690
de7ce8f1
UD
146912011-05-22 Ulrich Drepper <drepper@gmail.com>
14692
f2962a71
UD
14693 [BZ #12671]
14694 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14695 some situations.
14696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14697 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14698 add in in __libc_use_alloca calls. Adjust callers.
14699 (glob): Use malloc in some situations.
14700
de7ce8f1
UD
14701 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14702 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14703 pltexit.
14704
aec84f53
UD
147052011-05-21 Ulrich Drepper <drepper@gmail.com>
14706
05bb4a68
UD
14707 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14708 and CLOCK_BOOTTIME_ALARM.
14709
7ea72f99
UD
14710 [BZ #12782]
14711 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14712 is returned.
14713
7e4afad5
UD
14714 * string/_strerror.c (__strerror_r): Print negative errors as signed
14715 numbers.
14716
8e211fec
UD
14717 [BZ #12777]
14718 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14719 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14720 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14721
f7d82dc9
UD
14722 * configure.in: Fix typo in redirection and correct removal of test
14723 files in two cases.
14724
cc9e536d
UD
14725 [BZ #12788]
14726 * locale/setlocale.c (new_composite_name): Fix test to check for
14727 identical name of all categories.
14728
aec84f53
UD
14729 [BZ #12792]
14730 * libio/filedoalloc.c (local_isatty): New function.
14731 (_IO_file_doallocate): Use local_isatty.
14732 * stdio-common/perror.c (perror): In case a new stream is used
14733 forward the stream error.
14734 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14735 error flag.
14736
78e64fdc
RT
147372011-05-20 Ulrich Drepper <drepper@gmail.com>
14738
34a9094f
UD
14739 [BZ #11869]
14740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14741 alloca.
14742 * include/alloca.h (extend_alloca_account): Define.
14743
78e64fdc
RT
14744 [BZ #11857]
14745 * posix/regex.h: Fix comments with documentation of user-accessible
14746 fields after compilation and describe correct free'ing of pattern
14747 after re_compile_pattern.
14748 Patch by Reuben Thomas <rrt@sc3d.org>.
14749
457bddfc
RA
147502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14751
14752 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14753 and -mno-altivec to prevent the compiler from using Altivec and/or
14754 VSX instructions when the corresponding registers are not available.
14755
a4527b51
AS
147562011-05-19 Andreas Schwab <schwab@redhat.com>
14757
14758 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14759
ed690b2f
UD
147602011-05-19 Ulrich Drepper <drepper@gmail.com>
14761
14762 * libio/freopen.c (freopen): Use __dup2, not dup2.
14763 * libio/freopen64.c (freopen64): Likewise.
14764
8db73634
L
147652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14766
14767 [BZ #12775]
14768 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14769 * math/Makefile (tests): Add test-powl.
14770 (CFLAGS-test-powl.c): Define.
14771 * math/test-powl.c: New file.
14772
0a197a9d
L
147732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14776
ee30c380
UD
147772011-05-17 Ulrich Drepper <drepper@gmail.com>
14778
14779 [BZ #11837]
14780 * iconvdata/gb18030.c: Update to GB18020-2005.
14781
6ce75379
UD
147822011-05-16 Ulrich Drepper <drepper@gmail.com>
14783
a4b89fd8
AR
14784 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14785 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14786 Patch by Aharon Robbins <arnold@skeeve.com>.
14787
ea389b12
UD
14788 [BZ #11892]
14789 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14790 on the stack.
14791
68a3f91f
UD
14792 [BZ #11895]
14793 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14794 through underflows.
14795
15cc7dd1
UD
14796 [BZ #12766]
14797 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14798 point to strings before performing equality test for error_one_per_line
14799 mode.
14800
f3799213
UD
14801 [BZ #11697]
14802 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14803
d79a9c94
UD
14804 [BZ #11820]
14805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14806 (struct user_fpregs_struct): Avoid __uint*_t types.
14807
56e5eb46
UD
14808 [BZ #6420]
14809 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14810 symbol info. Use it instead of calling _dl_addr locally.
14811 (lock_and_info): New function.
14812 (tr_freehook): Call lock_and_info and pass symbol info as additional
14813 parameter to tr_where.
14814 (tr_mallochook): Likewise.
14815 (tr_reallochook): Likewise.
14816 (tr_memalignhook): Likewise.
14817
6ce75379
UD
14818 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14819 used and couldn't be at all thread-safe.
14820
f8a3b5bf
UD
148212011-05-15 Ulrich Drepper <drepper@gmail.com>
14822
94b7cc37
UD
14823 * libio/freopen.c (freopen): Don't close old file descriptor
14824 before the new one is opened. Instead dup the new file descriptor
14825 to the old one after the new stream is created.
14826 * libio/freopen64.c (freopen64): Likewise.
14827 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14828 * libio/fileops.c (_IO_new_file_close_it): Handle new
14829 _IO_FLAGS2_NOCLOSE flag.
14830 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14831 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14832 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14833 _IO_FLAGS2_NOCLOSE flag.
14834 * include/unistd.h: Add hidden_proto for dup3.
14835 Define __have_dup3.
14836 * io/dup3.c: Define hidden symbol.
14837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14838
bd25564e
UD
14839 [BZ #7101]
14840 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14841 when an incomplete long option is used.
14842 * posix/tst-getopt_long1.c: New file.
14843 * posix/Makefile (tests): Add tst-getopt_long1.
14844
c84cfef4
UD
14845 [BZ #10138]
14846 * scripts/config.guess: Update from autoconf-2.68.
14847 * scripts/config.sub: Likewise.
14848
3b85df27
UD
14849 [BZ #10157]
14850 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14851 tests into ...
14852 (has_cpuclock): ...this. New function.
14853 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14854 macro here based on has_cpuclock code.
14855
15a856b1
UD
14856 [BZ #10149]
14857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14858 First byte (not low byte) is now always NUL.
14859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14860
05f399e6
UD
14861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14862 Use non-cancelable interfaces.
14863
10a52685 14864 [BZ #9809]
94ecc67d
UD
14865 * locale/iso-639.def: Add entry for Sorani.
14866
f8a3b5bf
UD
14867 [BZ #11901]
14868 * include/stdlib.h: Move include protection to the right place.
14869 Define abort_msg_s. Declare __abort_msg with it.
14870 * stdlib/abort.c (__abort_msg): Adjust type.
14871 * assert/assert.c (__assert_fail_base): New function. Majority
14872 of code from __assert_fail. Allocate memory for __abort_msg with
14873 mmap.
14874 (__assert_fail): Now call __assert_fail_base.
14875 * assert/assert-perr.c: Remove bulk of implementation. Use
14876 __assert_fail_base.
14877 * include/assert.hL Declare __assert_fail_base.
14878 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14879 mmap.
14880 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14881
1af4e298
UD
148822011-05-14 Ulrich Drepper <drepper@gmail.com>
14883
f8a3b5bf 14884 [BZ #11952]
d26dfc60
MG
14885 [BZ #12453]
14886 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14887 until all modules are registered in the DTV.
14888 * elf/Makefile: Add rules to build and run tst-tls19.
14889 * elf/tst-tls19.c: New file.
14890 * elf/tst-tls19mod1.c: New file.
14891 * elf/tst-tls19mod2.c: New file.
14892 * elf/tst-tls19mod3.c: New file.
14893 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14894
2fc54d6f
UD
14895 [BZ #12083]
14896 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14897 correctly.
14898
98d76b46
UD
14899 [BZ #12601]
14900 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14901 two-byte sequence errors.
14902 * iconvdata/Makefile (tests): Add bug-iconv8.
14903 * iconvdata/bug-iconv8.c: New file.
14904
da3c19ef
UD
14905 [BZ #12626]
14906 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14907 buf2 definition.
14908
ca408c15
UD
14909 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14910
d6f67f7d
UD
14911 [BZ #12432]
14912 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14913 (dummy_getcfa): New function.
14914 (init): Get _Unwind_GetCFA address, use dummy if not found.
14915 (backtrace_helper): In recursion check, also check whether CFA changes.
14916 (__backtrace): Completely initialize arg.
14917
1af4e298 14918 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14919 storing incomplete byte sequence in state object. Avoid testing for
14920 guaranteed too small input if we know there is enough data available.
1af4e298 14921
da62f81b
AS
149222011-05-11 Andreas Schwab <schwab@redhat.com>
14923
14924 * Makeconfig (+link-pie): Indent.
14925 * Rules (binaries-pie): Define if $(have-fpie) and
14926 $(build-shared).
14927 (binaries-shared): Also filter out $(binaries-pie).
14928 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14929 * nscd/Makefile (others-pie): Add nscd.
14930 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14931 ($(objpfx)nscd): Remove command override.
14932 * login/Makefile (others-pie): Add pt_chown.
14933 ($(objpfx)pt_chown): Remove command override.
14934 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14935 remove command overrides.
14936
fcabc0f8
UD
149372011-05-13 Ulrich Drepper <drepper@gmail.com>
14938
20030ae6
UD
14939 * libio/tst_putwc.c: Fix error messages.
14940
fcabc0f8
UD
14941 [BZ #12724]
14942 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14943 currently writing and seek to current position when not.
14944 * libio/Makefile (tests): Add bug-fclose1.
14945 * libio/bug-fclose1.c: New file.
14946
320a5dc0
PB
149472011-05-12 Ulrich Drepper <drepper@gmail.com>
14948
14949 [BZ #12511]
14950 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14951 don't set DF_1_NODELETE here.
14952 (do_lookup_x): When entering new entry test for copy relocation
14953 and if necessary set DF_1_NODELETE flag.
14954 * elf/tst-unique4.cc: New file.
14955 * elf/tst-unique4.h: New file.
14956 * elf/tst-unique4lib.cc: New file.
14957 * elf/Makefile: Add rules to build and run tst-unique4.
14958 Patch by Piotr Bury <pbury@goahead.com>.
14959
22836f52
UD
149602011-05-11 Ulrich Drepper <drepper@gmail.com>
14961
f574184a
UD
14962 [BZ #12052]
14963 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14964
e1fb097f
UD
14965 [BZ #12625]
14966 * misc/mntent_r.c (addmntent): Flush the stream after the output
14967
22836f52
UD
14968 [BZ #12393]
14969 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14970 (is_trusted_path_normalize): Skip initial colon. Append slash
14971 to empty buffer. Duplicate is_trusted_path code but allow
14972 constructed patch to be prefix.
14973 (is_dst): Allow $ORIGIN followed by /.
14974 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14975 Correct testing of result of is_trusted_path_normalize
14976 (decompose_rpath): Fix warning.
14977
7b3b0b2a
UD
149782011-05-10 Ulrich Drepper <drepper@gmail.com>
14979
14980 [BZ #11257]
14981 * grp/initgroups.c (internal_getgrouplist): When we found the service
14982 list through the initgroups entry in nsswitch.conf do not always
14983 continue on a successful lookup. Don't always use the
eac80ce2 14984 __nss_group_database value if it is set.
7b3b0b2a
UD
14985 * nss/nsswitch.conf (initgroups): Change action for successful db
14986 lookup to continue for compatibility.
14987
2a81eaa5
UD
149882011-05-09 Ulrich Drepper <drepper@gmail.com>
14989
be97a69e
UD
14990 [BZ #11532]
14991 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14992 and CP774 modules.
14993 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14994 and CP774 modules.
14995 * iconvdata/tst-tables.sh: Likewise.
14996 * iconvdata/cp770.c: New file.
14997 * iconvdata/cp771.c: New file.
14998 * iconvdata/cp772.c: New file.
14999 * iconvdata/cp773.c: New file.
15000 * iconvdata/cp774.c: New file.
15001 * iconvdata/testdata/CP770: New file.
15002 * iconvdata/testdata/CP770..UTF8: New file.
15003 * iconvdata/testdata/CP771: New file.
15004 * iconvdata/testdata/CP771..UTF8: New file.
15005 * iconvdata/testdata/CP772: New file.
15006 * iconvdata/testdata/CP772..UTF8: New file.
15007 * iconvdata/testdata/CP773: New file.
15008 * iconvdata/testdata/CP773..UTF8: New file.
15009 * iconvdata/testdata/CP774: New file.
15010 * iconvdata/testdata/CP774..UTF8: New file.
15011
15012 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15013 END CHARMAP line.
15014 * iconvdata/gen-8bit-gap.sh: Likewise.
15015 * iconvdata/gen-8bit.sh: Likewise.
15016
c1e9e399
UD
15017 * locale/iso-639.def: Add ary entry.
15018
24c55fb3 15019 [BZ #11258]
96b4b1b0
UD
15020 * locale/C-translit.h.in: Add U20A1 transliteration.
15021
bdc2f971
KB
15022 [BZ #12178]
15023 * locale/iso-639.def: Add wae entry.
15024 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15025
2952b117
UD
15026 [BZ #12545]
15027 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15028 for n.
15029
2a81eaa5
UD
15030 [BZ #12711]
15031 * locale/C-translit.h.in: Add entry for U20B9.
15032 Patch by pravin.d.s@gmail.com.
15033
28377d1b
UD
150342011-05-08 Ulrich Drepper <drepper@gmail.com>
15035
7fb90fb8
UD
15036 [BZ #12713]
15037 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15038 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15039 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15040 in rtld. Use *stat64.
7fb90fb8 15041 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15042 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15043 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15044 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15045 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15046 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15047 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15048 __fstatat64 macros.
7fb90fb8
UD
15049 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15050 * dirent/rewinddir.c: Add libc_hidden_def.
15051 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15052 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15053
28377d1b
UD
15054 * include/dirent.h (__alloc_dir): Add flags parameter.
15055 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15056 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15057 __alloc_dir.
15058 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15059 from fdopendir if O_CLOEXEC is already set.
15060
66bdbaa4
AM
150612011-03-15 Alan Modra <amodra@gmail.com>
15062
15063 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15064 l_tls_firstbyte_offset non-zero. Save padding offset in
15065 l_tls_firstbyte_offset for later use.
15066 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15067 freeing static tls block.
15068
95721191
JN
150692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15070
15071 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15072 where #ifdef was intended. The intent is to prevent ARG_MAX from
15073 being defined by the kernel headers.
15074
f87dfb1f
UD
150752011-05-07 Ulrich Drepper <drepper@gmail.com>
15076
15077 [BZ #12734]
15078 * resolv/resolv.h: Define RES_NOTLDQUERY.
15079 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15080 no-tld-query and set RES_NOTLDQUERY.
15081 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15082 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15083 modern BIND to search name as TLD unless forbidden.
15084
47c3cd7a
UD
150852011-05-07 Petr Baudis <pasky@suse.cz>
15086 Ulrich Drepper <drepper@gmail.com>
15087
15088 [BZ #12393]
15089 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15090 (is_trusted_path): ...to here.
c1e9ea35 15091 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15092 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15093 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15094
8a35c912
PP
150952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15096
15097 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15098 __BEGIN/__END_DECLS.
15099
acd41f47
UD
151002011-05-06 Ulrich Drepper <drepper@gmail.com>
15101
15102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15103 NSS_STATUS_NOTFOUND if no record was found.
15104
597df647
AS
151052011-05-05 Andreas Schwab <schwab@redhat.com>
15106
15107 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15108 (headers-not-in-tirpc): Remove rpc/netdb.h
15109 * resolv/netdb.h: Revert last change.
15110
b9af1301
PP
151112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15112
15113 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15114 circular dependency between libgcc.a and libc.a.
15115
4e34d5f5
AS
151162011-05-05 Andreas Schwab <schwab@redhat.com>
15117
15118 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15119 * nis/Makefile: Don't install rpcsvc/*.
15120 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15121 instead of <rpc/types.h>.
15122 (MAXHOSTNAMELEN): Define.
15123
00ee369c
AS
151242011-05-03 Andreas Schwab <schwab@redhat.com>
15125
15126 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15127
0b592a30
MB
151282011-04-28 Maciej Babinski <mbabinski@google.com>
15129
15130 [BZ #12714]
15131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15132 gethostbyname4_r when IPv6 results are possible.
15133
6e04cbbe
UD
151342011-05-02 Ulrich Drepper <drepper@gmail.com>
15135
15136 [BZ #12723]
15137 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15138 _PC_PIPE_BUF handling.
15139
e4ecafe0
BH
151402011-04-30 Bruno Haible <bruno@clisp.org>
15141
15142 [BZ #12717]
15143 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15144 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15145 to 'int'.
15146 * inet/getnameinfo.c (getnameinfo): Likewise.
15147
125ee683
UD
151482011-04-29 Ulrich Drepper <drepper@gmail.com>
15149
15150 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15151 to groups setting in database lookup.
15152 * nss/nsswitch.conf: Add initgroups entry.
15153
b722481a
EB
151542011-04-22 Ulrich Drepper <drepper@gmail.com>
15155
15156 [BZ #12685]
15157 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15158 mode string.
15159 Patch by Eric Blake <eblake@redhat.com>.
15160
4df46dbd
L
151612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 * sunrpc/Makefile (need-export-routines): Add svc_run.
15164 (routines): Remove svc_run.
15165 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15166 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15167 * sunrpc/svc_run.c (svc_run): Likewise.
15168 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15169
e84142d2
UD
151702011-04-21 Ulrich Drepper <drepper@gmail.com>
15171
15172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15173 problem in reallocation in last patch.
15174
877175d8
UD
151752011-04-20 Ulrich Drepper <drepper@gmail.com>
15176
15177 * sunrpc/Makefile: Move inclusion of Rules.
15178
ab8eed78
UD
151792011-04-19 Ulrich Drepper <drepper@gmail.com>
15180
15181 * nss/nss_files/files-initgroups.c: New file.
15182 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15183 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15184 _nss_files_initgroups_dyn.
15185
e3d8f584
RS
151862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15187
15188 * elf/elf.h (R_ARM_IRELATIVE): Define.
15189
af190f45
UD
151902011-04-19 Ulrich Drepper <drepper@gmail.com>
15191
15192 * po/ru.po: Update from translation team.
15193
53cf59ef
UD
151942011-04-17 Ulrich Drepper <drepper@gmail.com>
15195
15196 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15197 dependencies.
15198
4c559bcd
MF
151992011-02-06 Mike Frysinger <vapier@gentoo.org>
15200
15201 [BZ #12653]
15202 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15203 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15207
4420675c
AS
152082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15209
15210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15211 differing bytes.
15212 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15215
75ea32ab
UD
152162011-04-17 Ulrich Drepper <drepper@gmail.com>
15217
15218 [BZ #12420]
15219 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15220 storing it.
15221 * stdlib/bug-getcontext.c: New file.
15222 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15223
27390476
AK
152242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15225
15226 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15227 instructions into .machine "z9-109".
15228 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15229 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15230
10442705
AK
152312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15232
15233 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15234 between environment variables and auxiliary vector.
15235
7b57bfe5
UD
152362011-04-16 Ulrich Drepper <drepper@gmail.com>
15237
15238 * Makefile: Add rules to build linkobj/libc.so.
15239 * include/libc-symbols.h: Define libc_hidden_nolink.
15240 * include/rpc/auth.h: Mark functions which are to be hidden.
15241 * include/rpc/auth_des.h: Likewise.
15242 * include/rpc/auth_unix.h: Likewise.
15243 * include/rpc/clnt.h: Likewise.
15244 * include/rpc/des_crypt.h: Likewise.
15245 * include/rpc/key_prot.h: Likewise.
15246 * include/rpc/pmap_clnt.h: Likewise.
15247 * include/rpc/pmap_prot.h: Likewise.
15248 * include/rpc/pmap_rmt.h: Likewise.
15249 * include/rpc/rpc_msg.h: Likewise.
15250 * include/rpc/svc.h: Likewise.
15251 * include/rpc/svc_auth.h: Likewise.
15252 * include/rpc/xdr.h: Likewise.
15253 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15254 * nss/Makefile: Likewise.
15255 * sunrpc/Makefile: Don't install headers. Build library with normal
15256 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15257 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15258 for the compat linking library. Remove use of INTDEF/INTUSE.
15259 * sunrpc/auth_none.c: Likewise.
15260 * sunrpc/auth_unix.c: Likewise.
15261 * sunrpc/authdes_prot.c: Likewise.
15262 * sunrpc/authuxprot.c: Likewise.
15263 * sunrpc/clnt_gen.c: Likewise.
15264 * sunrpc/clnt_perr.c: Likewise.
15265 * sunrpc/clnt_raw.c: Likewise.
15266 * sunrpc/clnt_simp.c: Likewise.
15267 * sunrpc/clnt_tcp.c: Likewise.
15268 * sunrpc/clnt_udp.c: Likewise.
15269 * sunrpc/clnt_unix.c: Likewise.
15270 * sunrpc/des_crypt.c: Likewise.
15271 * sunrpc/des_soft.c: Likewise.
15272 * sunrpc/get_myaddr.c: Likewise.
15273 * sunrpc/key_call.c: Likewise.
15274 * sunrpc/key_prot.c: Likewise.
15275 * sunrpc/netname.c: Likewise.
15276 * sunrpc/pm_getmaps.c: Likewise.
15277 * sunrpc/pm_getport.c: Likewise.
15278 * sunrpc/pmap_clnt.c: Likewise.
15279 * sunrpc/pmap_prot.c: Likewise.
15280 * sunrpc/pmap_prot2.c: Likewise.
15281 * sunrpc/pmap_rmt.c: Likewise.
15282 * sunrpc/publickey.c: Likewise.
15283 * sunrpc/rpc_cmsg.c: Likewise.
15284 * sunrpc/rpc_common.c: Likewise.
15285 * sunrpc/rpc_dtable.c: Likewise.
15286 * sunrpc/rpc_prot.c: Likewise.
15287 * sunrpc/rpc_thread.c: Likewise.
15288 * sunrpc/rtime.c: Likewise.
15289 * sunrpc/svc.c: Likewise.
15290 * sunrpc/svc_auth.c: Likewise.
15291 * sunrpc/svc_authux.c: Likewise.
15292 * sunrpc/svc_raw.c: Likewise.
15293 * sunrpc/svc_run.c: Likewise.
15294 * sunrpc/svc_simple.c: Likewise.
15295 * sunrpc/svc_tcp.c: Likewise.
15296 * sunrpc/svc_udp.c: Likewise.
15297 * sunrpc/svc_unix.c: Likewise.
15298 * sunrpc/svcauth_des.c: Likewise.
15299 * sunrpc/xcrypt.c: Likewise.
15300 * sunrpc/xdr.c: Likewise.
15301 * sunrpc/xdr_array.c: Likewise.
15302 * sunrpc/xdr_float.c: Likewise.
15303 * sunrpc/xdr_intXX_t.c: Likewise.
15304 * sunrpc/xdr_mem.c: Likewise.
15305 * sunrpc/xdr_rec.c: Likewise.
15306 * sunrpc/xdr_ref.c: Likewise.
15307 * sunrpc/xdr_sizeof.c: Likewise.
15308 * sunrpc/xdr_stdio.c: Likewise.
15309
e6c61494
UD
153102011-04-10 Ulrich Drepper <drepper@gmail.com>
15311
15312 [BZ #12650]
15313 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15314 * sysdeps/ia64/dl-tls.h: Likewise.
15315 * sysdeps/powerpc/dl-tls.h: Likewise.
15316 * sysdeps/s390/dl-tls.h: Likewise.
15317 * sysdeps/sh/dl-tls.h: Likewise.
15318 * sysdeps/sparc/dl-tls.h: Likewise.
15319 * sysdeps/x86_64/dl-tls.h: Likewise.
15320 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15321
34fe483e
AS
153222011-03-14 Andreas Schwab <schwab@redhat.com>
15323
15324 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15325 rpath element also skip the following colon.
15326 (expand_dynamic_string_token): Add is_path parameter and pass
15327 down to DL_DST_REQUIRED and _dl_dst_substitute.
15328 (decompose_rpath): Call expand_dynamic_string_token with
15329 non-zero is_path. Ignore empty rpaths.
15330 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15331 with zero is_path.
15332
f12a32e6
AS
153332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15334
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15336 Make cancelable.
15337
38a7d692
UD
153382011-04-09 Ulrich Drepper <drepper@gmail.com>
15339
15340 [BZ #12655]
15341 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15342 Patch by Filipe David Manana <fdmanana@apache.org>.
15343
e451d22b
AS
153442011-04-07 Andreas Schwab <schwab@redhat.com>
15345
15346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15347 Maintain aligned stack.
15348 (CHECK_RSP): Remove unused macro.
15349
dedc7c7b
UD
153502011-04-03 Ulrich Drepper <drepper@gmail.com>
15351
15352 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15353 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15354
94521213
UD
153552011-04-02 Ulrich Drepper <drepper@gmail.com>
15356
15357 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15358
8cb700c0 15359 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15360
0354e355
L
153612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15362
15363 [BZ #12518]
15364 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15365 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15366 * sysdeps/x86_64/memmove.c: New file.
15367 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15368 (memcpy): Renamed to ...
15369 (__new_memcpy): This.
15370 (memcpy): Provide GLIBC_2_14 memcpy.
15371 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15372 (memcpy): Provide GLIBC_2_2_5 memcpy.
15373
8593482f
UD
153742011-04-01 Ulrich Drepper <drepper@gmail.com>
15375
15376 [BZ #12631]
15377 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15378
81a5726b
AS
153792011-03-30 Andreas Schwab <schwab@redhat.com>
15380
15381 * misc/syncfs.c: New file.
15382 * misc/Makefile (routines): Add syncfs.
15383 * posix/unistd.h: Declare syncfs.
15384 * sysdeps/unix/syscalls.list: Add syncfs.
15385
00e5419f
AS
153862011-04-01 Andreas Schwab <schwab@redhat.com>
15387
15388 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15389 open_by_handle_at.
15390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15395 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15397
748876bf
UD
153982011-04-01 Ulrich Drepper <drepper@gmail.com>
15399
658e451d
UD
15400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15407
748876bf
UD
15408 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15409 sync_file_range.c with -fexceptions.
15410 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15411 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15412 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15413 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15414 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15415 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15417 sync_file_range as cancellation point
15418 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15419 now a wrapper around __call_sync_file_range with cancellation handling.
15420 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15421 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15422 function name to __call_sync_file_range.
15423 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15424 Add call_sync_file_range.
748876bf 15425
6e63d5e1
AS
154262011-04-01 Andreas Schwab <schwab@redhat.com>
15427
15428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15429 bits/timex.h.
6e63d5e1 15430
46998f74
UD
154312011-04-01 Ulrich Drepper <drepper@gmail.com>
15432
4c1423ed
UD
15433 * iconv/iconv.h: Fix typo in comment.
15434 * io/fcntl.h: Likewise.
15435 * libio/stdio.h: Likewise.
15436 * posix/spawn.h: Likewise.
15437 * posix/unistd.h: Likewise.
15438 * stdlib/stdlib.h: Likewise.
15439 * time/time.h: Likewise.
15440 * wcsmbs/wchar.h: Likewise.
15441
158648c0
UD
15442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15443 open_by_handle): Add.
15444 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15445 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15446 Augment a few comments.
15447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15452 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15453 open_by_handle.
15454
46998f74
UD
15455 * io/fcntl.h (AT_EMPTY_PATH): Define.
15456
83fe108b
UD
154572011-03-30 Ulrich Drepper <drepper@gmail.com>
15458
15459 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15460 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15461 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15462 to...
15463 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15464 * Versions.def: Add GLIBC_2.14.
15465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15466 Export.
83fe108b 15467
bb242059
UD
154682011-03-22 Ulrich Drepper <drepper@gmail.com>
15469
15470 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15471 round counter.
15472 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15473
c97a1282
L
154742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15475
15476 [BZ #12597]
15477 * string/test-strncmp.c (do_page_test): New function.
15478 (check2): Likewise.
15479 (test_main): Call check2.
15480 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15481
2a115601
UD
154822011-03-20 Ulrich Drepper <drepper@gmail.com>
15483
15484 [BZ #12587]
15485 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15486 Handle cache information in CPU leaf 4.
15487 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15488
8126d904
UD
154892011-03-18 Ulrich Drepper <drepper@gmail.com>
15490
042c49c6 15491 [BZ #12583]
8126d904
UD
15492 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15493 character representation.
15494 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15495
ccfe366e
RA
154962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15497
15498 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15499 END(__isnan) to END(__isnanf) to match function entry point/label
15500 EALIGN(__isnanf,...).
15501
c6e13027
JJ
155022011-03-10 Jakub Jelinek <jakub@redhat.com>
15503
15504 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15505
33f85a3f
UD
155062011-03-10 Ulrich Drepper <drepper@gmail.com>
15507
028478fa
UD
15508 [BZ #12510]
15509 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15510 copy from the symbol referenced in the relocation to initialize the
15511 used variable.
15512 Patch by Piotr Bury <pbury@goahead.com>.
15513 * elf/Makefile: Add rules to build and tst-unique3.
15514 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15515 * elf/tst-unique3.cc: New file.
15516 * elf/tst-unique3.h: New file.
15517 * elf/tst-unique3lib.cc: New file.
15518 * elf/tst-unique3lib2.cc: New file.
15519
33f85a3f
UD
15520 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15521
03592fc7
MF
155222011-03-10 Mike Frysinger <vapier@gentoo.org>
15523
15524 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15525 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15526 to _start.
03592fc7 15527
6a5ee102
UD
155282011-03-06 Ulrich Drepper <drepper@gmail.com>
15529
15530 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15531 to-be-loaded object along a path to loader is ld.so.
15532
7e4ba49c
HJ
155332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15534 Ulrich Drepper <drepper@gmail.com>
15535
15536 * sysdeps/x86_64/memset.S: After aligning destination, code
15537 branches to different locations depending on the value of
15538 misalignment, when multiarch is enabled. Fix this.
15539
155402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15541
15542 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15543 Set _x86_64_preferred_memory_instruction for AMD processsors.
15544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15545 Set bit_Prefer_SSE_for_memop for AMD processors.
15546
13a804de
UD
155472011-03-04 Ulrich Drepper <drepper@gmail.com>
15548
15549 * libio/fmemopen.c (fmemopen): Optimize a bit.
15550
9d25c392
AS
155512011-03-03 Andreas Schwab <schwab@redhat.com>
15552
15553 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15554
a5543c6a
RM
155552011-03-03 Roland McGrath <roland@redhat.com>
15556
15557 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15558
012d35f7
DM
155592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15560
7e4ba49c 15561 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15562 __bzero_ultra1 instead of __memset_ultra1.
15563
4bff6e01
AS
155642011-02-23 Andreas Schwab <schwab@redhat.com>
15565 Ulrich Drepper <drepper@gmail.com>
15566
15567 [BZ #12509]
15568 * include/link.h (struct link_map): Add l_orig_initfini.
15569 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15570 returning unsuccessfully.
15571 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15572 close of a file loaded at startup, restore the original l_initfini
15573 list.
15574 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15575 list, store the pointer.
15576 * elf/Makefile ($(objpfx)noload-mem): New rule.
15577 (noload-ENV): Define.
15578 (tests): Add $(objpfx)noload-mem.
15579 * elf/noload.c: Include <memcheck.h>.
15580 (main): Call mtrace. Close all opened handles.
15581
f2092faf
AS
155822011-02-17 Andreas Schwab <schwab@redhat.com>
15583
15584 [BZ #12454]
15585 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15586 dependencies are missing.
15587
6c8a2e88
ST
155882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15589
f2092faf 15590 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15591 Hurd needs munmap.
15592 * sysdeps/mach/hurd/ifreq.h: New file.
15593
84a42118
PB
155942011-01-27 Petr Baudis <pasky@suse.cz>
15595 Ulrich Drepper <drepper@gmail.com>
15596
071f805e 15597 [BZ 12445]#
84a42118
PB
15598 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15599 to extend_alloca().
15600 * stdio-common/bug23.c: New file.
15601 * stdio-common/Makefile (tests): Add bug23.
15602
e23fe25b
AS
156032010-09-28 Andreas Schwab <schwab@redhat.com>
15604 Ulrich Drepper <drepper@gmail.com>
15605
15606 [BZ #12489]
15607 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15608 before performing relro protection. At old place add assertion
15609 to make sure nothing changed.
15610
d3f02e10
NS
156112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15612 Glauber de Oliveira Costa <glommer@gmail.com>
15613
15614 * elf/elf.h: Add new ARM TLS relocs.
15615
d55fd7a5
RA
156162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15617
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15619 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15620 cast from r3.
15621 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15622 'tests' variable.
15623 * sysdeps/wordsize-64/tst-writev.c: New file.
15624
2206397e
RA
156252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15626
15627 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15628 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15629 insns in _dl_start to prevent a TOC reference before relocs are
15630 resolved.
15631
e9433893
UD
156322011-02-15 Ulrich Drepper <drepper@gmail.com>
15633
15634 [BZ #12469]
15635 * Makeconfig: Remove RANLIB definition.
15636 * Makerules: Don't use RANLIB.
15637 * aclocal.m4: Remove ranlib test.
15638 * configure.in: No need to check for ranlib.
15639 * elf/rtld-Rules: Don't use RANLIB.
15640
f75286c6
ST
156412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15642
8e31c82d
ST
15643 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15644 protection macro.
15645 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15646 inclusion protection macro.
15647
f75286c6
ST
15648 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15649 SIGRTMIN and SIGRTMAX and print information in that case only when
15650 SIGRTMIN is defined.
15651
c1d0e639
JJ
156522011-02-11 Jakub Jelinek <jakub@redhat.com>
15653
15654 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15655 arginfo fn returning -1.
15656
15657 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15658 and thousands string is zero terminated.
15659
edf9294e
AS
156602011-02-03 Andreas Schwab <schwab@redhat.com>
15661
15662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15663 sysdeps/unix/sysv/linux/bits/socket.h.
15664
2b7e92df
ST
156652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15666
edf9294e
AS
15667 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15668 (__CPU_COUNT): Remove old macros.
15669 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15670 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15671 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15672 (__sched_cpualloc, __sched_cpufree): Add declarations.
15673
a4c7ea7b
UD
156742011-02-05 Ulrich Drepper <drepper@gmail.com>
15675
15676 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15677 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15678 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15679 (readdhstai): Return value of addhstaiX call.
15680 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15681 (addgrbyX): Return value returned by cache_addgr.
15682 (readdgrbyname): Return value returned by addgrbyX.
15683 (readdgrbygid): Likewise.
15684 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15685 (addpwbyX): Return value returned by cache_addpw.
15686 (readdpwbyname): Return value returned by addhstbyX.
15687 (readdpwbyuid): Likewise.
15688 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15689 (addservbyX): Return value returned by cache_addserv.
15690 (readdservbyname): Return value returned by addservbyX:
15691 (readdservbyport): Likewise.
15692 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15693 (addhstbyX): Return value returned by cache_addhst.
15694 (readdhstbyname): Return value returned by addhstbyX.
15695 (readdhstbyaddr): Likewise.
15696 (readdhstbynamev6): Likewise.
15697 (readdhstbyaddrv6): Likewise.
15698 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15699 (readdinitgroups): Return value returned by addinitgroupsX.
15700 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15701 (prune_cache): Keep track of timeout value of re-added entries.
15702 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15703 * nscd/nscd.h: Adjust prototypes of readd* functions.
15704
a0bf67cc
RM
157052011-02-04 Roland McGrath <roland@redhat.com>
15706
15707 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15708 (nis_stats): Likewise.
15709 * nis/nis_modify.c (nis_modify): Likewise.
15710 * nis/nis_remove.c (nis_remove): Likewise.
15711 * nis/nis_add.c (nis_add): Likewise.
15712
15713 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15714
15715 * posix/fnmatch_loop.c: Add some consts.
15716
15717 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15718
435b95eb
L
157192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #12460]
15722 * config.make.in (config-cflags-novzeroupper): Define.
15723 * configure.in: Substitute libc_cv_cc_novzeroupper.
15724 * elf/Makefile (AVX-CFLAGS): Define.
15725 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15726 (CFLAGS-tst-auditmod4a.c): Likewise.
15727 (CFLAGS-tst-auditmod4b.c): Likewise.
15728 (CFLAGS-tst-auditmod6b.c): Likewise.
15729 (CFLAGS-tst-auditmod6c.c): Likewise.
15730 (CFLAGS-tst-auditmod7b.c): Likewise.
15731 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15732
8517b15e
UD
157332011-02-02 Ulrich Drepper <drepper@gmail.com>
15734
15735 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15736 function to the callback.
15737 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15738
10a656fe
AS
157392011-02-02 Andreas Schwab <schwab@redhat.com>
15740
15741 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15742 of errno.
15743
968dad0a
UD
157442011-01-19 Ulrich Drepper <drepper@gmail.com>
15745
9f94d2ea 15746 [BZ #11724]
968dad0a
UD
15747 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15748 of constructors.
15749 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15750 of destructors.
15751 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15752
15753 [BZ #11724]
15754 * elf/Makefile: Add rules to build and run new test.
15755 * elf/tst-initorder.c: New file.
15756 * elf/tst-initorder.exp: New file.
15757 * elf/tst-initordera1.c: New file.
15758 * elf/tst-initordera2.c: New file.
15759 * elf/tst-initordera3.c: New file.
15760 * elf/tst-initordera4.c: New file.
15761 * elf/tst-initorderb1.c: New file.
15762 * elf/tst-initorderb2.c: New file.
15763 * elf/tst-order-a1.c: New file.
15764 * elf/tst-order-a2.c: New file.
15765 * elf/tst-order-a3.c: New file.
15766 * elf/tst-order-a4.c: New file.
15767 * elf/tst-order-b1.c: New file.
15768 * elf/tst-order-b2.c: New file.
15769 * elf/tst-order-main.c: New file.
15770 New test case by George Gensure <werkt0@gmail.com>.
15771
86e92359
UD
157722010-10-01 Andreas Schwab <schwab@redhat.com>
15773
15774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15775 decoding ACE if AI_CANONIDN.
15776
5d5732b0
UD
157772011-01-18 Ulrich Drepper <drepper@gmail.com>
15778
15779 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15780
a77e8cbc
UD
157812011-01-17 Ulrich Drepper <drepper@gmail.com>
15782
6392473f
UD
15783 * version.h (RELEASE): Bump for 2.13 release.
15784 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15785
620a0529
UD
15786 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15787
18ba70a5
UD
15788 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15789 MADV_NOHUGEPAGE.
32465c3e
UD
15790 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15793 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15795 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15796
c0dafcf1
UD
15797 * posix/getconf.c: Update copyright year.
15798 * catgets/gencat.c: Likewise.
15799 * csu/version.c: Likewise.
15800 * debug/catchsegv.sh: Likewise.
15801 * debug/xtrace.sh: Likewise.
15802 * elf/ldconfig.c: Likewise.
15803 * elf/ldd.bash.in: Likewise.
15804 * elf/sprof.c (print_version): Likewise.
15805 * iconv/iconv_prog.c: Likewise.
15806 * iconv/iconvconfig.c: Likewise.
15807 * locale/programs/locale.c: Likewise.
15808 * locale/programs/localedef.c: Likewise.
15809 * malloc/memusage.sh: Likewise.
15810 * malloc/mtrace.pl: Likewise.
15811 * nscd/nscd.c (print_version): Likewise.
15812 * nss/getent.c: Likewise.
15813
a77e8cbc
UD
15814 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15815 PF_CAIF, and PF_ALG.
15816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15817
77e8bddf
AS
158182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15819
1f20b93a
AS
15820 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15821 (modules-names): Use them.
15822 (ifunc-test-modules, ifunc-pie-tests): Define.
15823 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15824 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15825 (test-extras): Likewise.
15826 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15827 $(compile-command.c).
15828 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15829 (all-built-dso): Define.
15830 (check-textrel.out, check-execstack.out): Depend on it.
15831
77e8bddf
AS
15832 * configure.in: Don't override --enable-multi-arch.
15833
bc425b33
UD
158342011-01-15 Ulrich Drepper <drepper@gmail.com>
15835
15836 [BZ #6812]
15837 * nscd/hstcache.c (tryagain): Define.
15838 (cache_addhst): Return tryagain not notfound for temporary errors.
15839 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15840 failed.
15841
794c3ad3
UD
158422011-01-14 Ulrich Drepper <drepper@gmail.com>
15843
70181fdd
UD
15844 [BZ #10563]
15845 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15846 to make the syscall.
15847 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15848
794c3ad3
UD
15849 [BZ #12378]
15850 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15851 and fall back to matching as normal character if the string ends before
15852 the matching ']' is found. This is what POSIX requires.
15853 * posix/testfnm.c: Adjust test result.
15854 * posix/globtest.sh: Adjust test result. Add new test.
15855 * posix/tst-fnmatch.input: Likewise.
15856 * posix/tst-fnmatch2.c: Add new test.
15857
68dc9497
AS
158582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15859
15860 * elf/Makefile (check-execstack): Revert last change. Depend on
15861 check-execstack.h.
15862 (check-execstack.h): New target.
15863 (generated): Add check-execstack.h.
15864 * elf/check-execstack.c: Include "check-execstack.h".
15865 (main): Revert last change.
15866 (handle_file): Return zero if GNU_STACK is absent and
15867 DEFAULT_STACK_PERMS doesn't include PF_X.
15868
451f001b
UD
158692011-01-13 Ulrich Drepper <drepper@gmail.com>
15870
cfa28e56
UD
15871 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15872 in child fails because the descriptor is already closed.
8cf8ce17
UD
15873 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15874 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15876
1086d70d
UD
15877 [BZ #12397]
15878 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15879 syscall.
15880
451f001b
UD
15881 [BZ #10484]
15882 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15883 temporary buffer used to handle multi lookups locally.
a85b5cb4 15884 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15885
08769175
UD
158862011-01-12 Ulrich Drepper <drepper@gmail.com>
15887
15888 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15889 loader is ld.so.
15890
5e49c52e
UD
158912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15892
15893 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15894 alignment for SSE2.
15895
60522a5f
UD
158962011-01-12 Ulrich Drepper <drepper@gmail.com>
15897
15898 [BZ #12394]
15899 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15900 characters. When rounding increased number of integer digits recompute
15901 number of groups.
15902 * stdio-common/tst-grouping.c: New file.
15903 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15904
f257bbd7
UD
159052011-01-09 Ulrich Drepper <drepper@gmail.com>
15906
15907 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15908 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15909
15910 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15911 void.
15912 * bits/select.h: Likewise.
15913
fa9c15cb
UD
159142011-01-08 Ulrich Drepper <drepper@gmail.com>
15915
15916 * po/ja.po: Update from translation team.
15917
16c2895f
DM
159182011-01-04 David S. Miller <davem@sunset.davemloft.net>
15919
15920 [BZ #11155]
15921 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15922 implementation just like for lxstat, fxstatat, et al.
15923
2543fef2
JM
159242010-12-27 Jim Meyering <meyering@redhat.com>
15925
15926 [BZ #12348]
15927 * posix/regexec.c (build_trtable): Return failure indication upon
15928 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15929
98727dbe
UD
159302010-12-25 Ulrich Drepper <drepper@gmail.com>
15931
5bd6dc5c
UD
15932 [BZ #12201]
15933 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15934 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15935 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15936 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15937
97983464
UD
15938 [BZ #12207]
15939 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15940
98727dbe
UD
15941 [BZ #12204]
15942 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15943 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15944
4a531bb0
L
159452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15946
15947 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15948 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15949 script has SORT_BY_INIT_PRIORITY.
15950 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15951 NO_CTORS_DTORS_SECTIONS is defined.
15952 * elf/soinit.c: Likewise.
15953 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15954 NO_CTORS_DTORS_SECTIONS is defined.
15955 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15956 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15957 * sysdeps/sh/init-first.c: Likewise.
15958 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15959
07eb4b71
UD
159602010-12-24 Ulrich Drepper <drepper@gmail.com>
15961
15962 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15963 always use the slow path.
15964
30950a5f
RA
159652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15966
15967 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15968 similar rule which adds the sysdep directories to the header search in
15969 order to pick up the correct platform stackinfo.h.
15970 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15971 perform test if it is, otherwise return successfully without testing.
15972 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15973 DEFAULT_STACK_PERMS define in stackinfo.h.
15974 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15975 defined in stackinfo.h.
15976 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15977 DEFAULT_STACK_PERMS defined in stackinfo.h.
15978 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15979 * sysdeps/ia64/stackinfo.h: Likewise.
15980 * sysdeps/s390/stackinfo.h: Likewise.
15981 * sysdeps/sh/stackinfo.h: Likewise.
15982 * sysdeps/sparc/stackinfo.h: Likewise.
15983 * sysdeps/x86_64/stackinfo.h: Likewise.
15984 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15985 PF_X for powerpc64. Retain PF_X for powerpc32.
15986
db753e2c
UD
159872010-12-19 Ulrich Drepper <drepper@gmail.com>
15988
14b697f7
UD
15989 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15990 accurately.
db753e2c
UD
15991 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15992 GETDENTS_64BIT_ALIGNED.
15993
28300719
UD
159942010-12-14 Ulrich Drepper <dreper@gmail.com>
15995
14b697f7 15996 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15997
4f197237
AS
159982010-12-10 Andreas Schwab <schwab@redhat.com>
15999
dbb0472f
AS
16000 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16001 _GNU_SOURCE.
16002
4f197237
AS
16003 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16004 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16005 Remove __restrict.
16006 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16007 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16008
fb88ac72
UD
160092010-12-09 Ulrich Drepper <drepper@gmail.com>
16010
16011 [BZ #11655]
16012 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16013 are initialized.
16014
42acbb92
JJ
160152010-12-09 Jakub Jelinek <jakub@redhat.com>
16016
16017 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16018
c038d98d
UD
160192010-12-03 Ulrich Drepper <drepper@gmail.com>
16020
16021 * po/it.po: Update from translation team.
16022
3a4a2499
L
160232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16024
16025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16026 unused codes.
16027
1e24cf6e
UD
160282010-11-30 Ulrich Drepper <drepper@gmail.com>
16029
16030 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16031
a7690819
AS
160322010-11-24 Andreas Schwab <schwab@redhat.com>
16033
16034 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16035 specially.
16036 (gaih_getanswer_slice): Likewise.
16037
3bf8d1b1
JJ
160382010-10-20 Jakub Jelinek <jakub@redhat.com>
16039
16040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16041
6db52fbb
PB
160422010-05-31 Petr Baudis <pasky@suse.cz>
16043
16044 [BZ #11149]
16045 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16046 silently even in the chroot mode.
16047
eaca7569
UD
160482010-11-22 Ulrich Drepper <drepper@gmail.com>
16049
16050 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16051 last patch a bit. Pretty printing
16052
3056dcdb
UD
160532010-05-31 Petr Baudis <pasky@suse.cz>
16054
16055 [BZ #10085]
16056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16057 initialization of skip_initgroups_dyn.
16058
cf7c9078
UD
160592010-11-19 Ulrich Drepper <drepper@gmail.com>
16060
16061 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16062 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16063
a1fb5e3e
UD
160642010-11-16 Ulrich Drepper <drepper@gmail.com>
16065
16066 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16067
3540d66b
AS
160682010-11-11 Andreas Schwab <schwab@redhat.com>
16069
16070 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16071 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16072 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16073 ($(objpfx)tst-fnmatch-mem): New rule.
16074 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16075 * posix/tst-fnmatch.c (main): Call mtrace.
16076
13b69574
L
160772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16078
16079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16080 Support Intel processor model 6 and model 0x2c.
16081
da93d214
LM
160822010-11-10 Luis Machado <luisgpm@br.ibm.com>
16083
16084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16085 signed comparison.
16086
8ca52c6e
L
160872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16088
16089 [BZ #12205]
16090 * string/test-strncasecmp.c (check_result): New function.
16091 (do_one_test): Use it.
16092 (check1): New function.
16093 (test_main): Use it.
16094 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16095 Support strcasecmp and strncasecmp.
16096
69da074d
UD
160972010-11-08 Ulrich Drepper <drepper@gmail.com>
16098
16099 [BZ #12194]
16100 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16102
ff02d528
L
161032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16104
16105 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16106 IFUNC support.
16107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16108 memset-x86-64.
16109 * sysdeps/x86_64/multiarch/bzero.S: New file.
16110 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16111 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16112 * sysdeps/x86_64/multiarch/memset.S: New file.
16113 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16115 Set bit_Prefer_SSE_for_memop for Intel processors.
16116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16117 Define.
16118 (index_Prefer_SSE_for_memop): Define.
16119 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16120
344d0b54
LM
161212010-11-04 Luis Machado <luisgpm@br.ibm.com>
16122
16123 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16124 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16125
c0dde15b
UD
161262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16127
16128 [BZ #12191]
16129 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16130 (__x86_64_raw_data_cache_size_half): Likewise.
16131 (__x86_64_raw_shared_cache_size): Likewise.
16132 (__x86_64_raw_shared_cache_size_half): Likewise.
16133
16134 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16135 (__x86_64_raw_data_cache_size_half): Likewise.
16136 (__x86_64_raw_shared_cache_size): Likewise.
16137 (__x86_64_raw_shared_cache_size_half): Likewise.
16138 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16139 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16140 and __x86_64_raw_shared_cache_size_half. Round
16141 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16142 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16143 to multiple of 256 bytes.
16144
0e516e0e
MS
161452010-11-03 Ulrich Drepper <drepper@gmail.com>
16146
16147 [BZ #12167]
16148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16149 of inacessible symlinks. Verify result of symlink before returning it.
16150 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16151 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16152
0e012e87
ER
161532010-10-28 Erich Ritz <erichritz@gmail.com>
16154
16155 * math/math.h (isinf): Fix typo in comment.
16156
de0ff7bc
UD
161572010-11-01 Ulrich Drepper <drepper@gmail.com>
16158
16159 * po/da.po: Update from translation team.
16160
fa41c84d
UD
161612010-10-26 Ulrich Drepper <drepper@gmail.com>
16162
16163 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16164 is added to the list.
16165
f0967738
AK
161662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16167 Ulrich Drepper <drepper@gmail.com>
16168
16169 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16170 the global list here. Move code to...
16171 (_dl_add_to_namespace_list): ...here. New function.
16172 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16173 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16174 * elf/dl-load.c (lose): Don't remove the element from the list.
16175 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16176 (_dl_map_object): Likewise.
16177
161782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16179
16180 [BZ #12159]
16181 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16182 into all bytes of SSE register.
16183 Patch by Richard Li <richardpku@gmail.com>.
16184
f0967738 161852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16186
16187 [BZ #12140]
16188 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16189 perturbing.
16190
d0b9e94f
MB
161912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16192
16193 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16194 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16195 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16198 submachine.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16200
8e9f92e9
AS
162012010-10-22 Andreas Schwab <schwab@redhat.com>
16202
16203 * include/dlfcn.h (__RTLD_SECURE): Define.
16204 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16205 mode & __RTLD_SECURE instead.
16206 (open_path): Rename preloaded parameter to secure.
16207 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16208 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16209 * elf/dl-deps.c (openaux): Likewise.
16210 * elf/rtld.c (struct map_args): Remove is_preloaded.
16211 (map_doit): Don't use it.
16212 (dl_main): Likewise.
16213 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16214 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16215
bc96fbda
AS
162162010-09-09 Andreas Schwab <schwab@redhat.com>
16217
16218 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16219 (sysd-rules-targets): Remove duplicates.
16220 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16221 rtld-%.$o dependency.
16222
22cd1c9b
AS
162232010-10-18 Andreas Schwab <schwab@redhat.com>
16224
16225 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16226 _dl_map_object do it.
16227
18edac48
UD
162282010-10-19 Ulrich Drepper <drepper@gmail.com>
16229
16230 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16231 fast fma builtins, define the macros in the C99 standard.
16232 (FP_FAST_FMAF): Likewise.
16233 (FP_FAST_FMAL): Likewise.
16234 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16235
16236 * bits/mathdef.h: Update copyright year.
16237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16238
d2050124
MM
162392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16240
16241 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16242 builtins, define the macros in the C99 standard.
16243 (FP_FAST_FMAF): Likewise.
16244 (FP_FAST_FMAL): Likewise.
16245 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16246 multiply/add.
16247 (FP_FAST_FMAF): Likewise.
16248
475facd1
JJ
162492010-10-15 Jakub Jelinek <jakub@redhat.com>
16250
16251 [BZ #3268]
16252 * math/libm-test.inc (fma_test): Some new testcases.
16253 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16255 y and infinite z. Do multiplication by C already in long double.
16256 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16258 y and infinite z. Do bitwise or of inexact bit into u.d.
16259 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16260 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16261 * sysdeps/i386/fpu/s_fma.S: Removed.
16262 * sysdeps/i386/fpu/s_fmal.S: Removed.
16263
7c08a05c
JJ
162642010-10-16 Jakub Jelinek <jakub@redhat.com>
16265
16266 [BZ #3268]
16267 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16269 computation is not scheduled after fetestexcept. Fix value
16270 of minimum denormal long double.
16271
f3f7372d
JJ
162722010-10-14 Jakub Jelinek <jakub@redhat.com>
16273
16274 [BZ #3268]
16275 * math/libm-test.inc (fma_test): Add some more tests.
16276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16277 correctly.
16278
14d43591
AS
162792010-10-15 Andreas Schwab <schwab@redhat.com>
16280
16281 * scripts/data/localplt-s390-linux-gnu.data: New file.
16282 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16283
5e908464
JJ
162842010-10-13 Jakub Jelinek <jakub@redhat.com>
16285
16286 [BZ #3268]
16287 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16288 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16289 instead of dbl-64.
16290 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16291 inlines.
16292 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16294 if one of x and y is very large and the other is subnormal.
16295 * sysdeps/s390/fpu/s_fmaf.c: New file.
16296 * sysdeps/s390/fpu/s_fma.c: New file.
16297 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16298 * sysdeps/powerpc/fpu/s_fma.S: New file.
16299 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16300 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16301 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16302
163032010-10-12 Jakub Jelinek <jakub@redhat.com>
16304
16305 [BZ #3268]
16306 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16307 fma tests.
16308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16309 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16310 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16311 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16312 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16313 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16315
b833d51f
UD
163162010-10-12 Ulrich Drepper <drepper@redhat.com>
16317
16318 [BZ #12078]
16319 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16320 * posix/bug-regex31.input: Add test case.
16321
1751705d
UD
163222010-10-11 Ulrich Drepper <drepper@gmail.com>
16323
e9b9cbf5
UD
16324 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16325 * posix/bug-regex31.input: New file.
16326
16327 [BZ #12078]
16328 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16329 (parse_sub_exp): Fix last change, use postorder.
16330
ef06edbe
UD
16331 * posix/bug-regex31.c: New file.
16332 * posix/Makefile: Add rules to build and run bug-regex31.
16333
a129c80d
UD
16334 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16335
16336 [BZ #12078]
16337 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16338
b76b818e
UD
16339 [BZ #12108]
16340 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16341 to have entries in sys_siglist.
16342
1751705d
UD
16343 [BZ #12093]
16344 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16345 be NULL.
16346
9ff8d36f
JJ
163472010-10-07 Jakub Jelinek <jakub@redhat.com>
16348
16349 [BZ #3268]
16350 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16351 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16352 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16353 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16354 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16355 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16356 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16357 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16358 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16359 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16360 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16361 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16362 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16363 * math/ftestexcept.c (fetestexcept): Likewise.
16364 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16365 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16366 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16367 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16368 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16369 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16370 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16371
af325969
UD
163722010-10-11 Ulrich Drepper <drepper@gmail.com>
16373
c579b202 16374 [BZ #12107]
af325969
UD
16375 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16376 newline.
16377
67a67b95
UD
163782010-10-06 Ulrich Drepper <drepper@gmail.com>
16379
16380 * string/bug-strstr1.c: New file.
16381 * string/Makefile: Add rules to build and run bug-strstr1.
16382
5fb308bc
EB
163832010-10-05 Eric Blake <eblake@redhat.com>
16384
16385 [BZ #12092]
16386 * string/str-two-way.h (two_way_long_needle): Always clear memory
16387 when skipping input due to the shift table.
16388
45db99c7
UD
163892010-10-03 Ulrich Drepper <drepper@gmail.com>
16390
3b111893
UD
16391 [BZ #12005]
16392 * malloc/mcheck.c: Handle large requests.
16393
45db99c7
UD
16394 [BZ #12077]
16395 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16396 for strncmp and strncasecmp.
16397 * string/stratcliff.c: Add tests for strcmp and strncmp.
16398 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16399
cf7a1eb8
NI
164002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16401
16402 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16403 __set_fpscr.
16404
6484ba5e
AJ
164052010-09-30 Andreas Jaeger <aj@suse.de>
16406
16407 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16408 (CGROUP_SUPER_MAGIC): Define.
16409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16410 Handle btrfs and cgroup file systems.
16411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16412 Likewise.
16413
91c42559
LM
164142010-09-27 Luis Machado <luisgpm@br.ibm.com>
16415
16416 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16417 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16418
87a97932
AK
164192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16420
16421 [BZ #12067]
16422 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16423 trying to locate the ELF header.
16424
c21cc9bc
AS
164252010-09-27 Andreas Schwab <schwab@redhat.com>
16426
16427 [BZ #11611]
16428 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16429 Mask out sign-bit copies when constructing f_fsid.
16430
315970f6
PB
164312010-09-24 Petr Baudis <pasky@suse.cz>
16432
16433 * debug/stack_chk_fail_local.c: Add missing licence exception.
16434 * debug/warning-nop.c: Likewise.
16435
1ac7a2c7
JM
164362010-09-15 Joseph Myers <joseph@codesourcery.com>
16437
16438 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16439 implementing getdents64 using getdents syscall, set d_type if
16440 __ASSUME_GETDENTS32_D_TYPE.
16441
56801c50
AS
164422010-09-16 Andreas Schwab <schwab@redhat.com>
16443
16444 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16445 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16446
dda51327
UD
164472010-09-21 Ulrich Drepper <drepper@redhat.com>
16448
16449 [BZ #12037]
16450 * posix/unistd.h: Undo change of feature selection for ftruncate from
16451 2010-01-11.
16452
8ffcee4a
UD
164532010-09-20 Ulrich Drepper <drepper@redhat.com>
16454
a545ecd9 16455 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16456 detection.
16457
e24f0a8b
AS
164582010-09-20 Andreas Schwab <schwab@redhat.com>
16459
16460 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16461 fanotify_mark.
16462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16463
7291c56f
AS
164642010-09-14 Andreas Schwab <schwab@redhat.com>
16465
16466 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16467 variables after CHECK_SP call.
16468 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16469
bc5fb037
AS
164702010-09-13 Andreas Schwab <schwab@redhat.com>
16471 Ulrich Drepper <drepper@redhat.com>
16472
16473 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16474 re-relocationg ld.so.
16475 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16476 _dl_init_paths call.
16477 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16478 here anymore.
16479
e66e7419
UD
164802010-09-14 Ulrich Drepper <drepper@redhat.com>
16481
16482 * resolv/res_init.c (__res_vinit): Count the default server we added.
16483
c044aa75
CLT
164842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16485 Ulrich Drepper <drepper@redhat.com>
16486
16487 [BZ #11968]
16488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16489 (____longjmp_chk): Use %ebx for saving value across system call.
16490 Add unwind info.
16491
32cf4069
AS
164922010-09-06 Andreas Schwab <schwab@redhat.com>
16493
16494 * manual/Makefile: Don't mix pattern rules with normal rules.
16495
817328ee
AS
164962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16497
16498 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16499 operation.
16500 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16501 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16502 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16503 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16505 Likewise.
16506
29fddf61
UD
165072010-09-04 Ulrich Drepper <drepper@redhat.com>
16508
16509 [BZ #11979]
16510 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16511 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16512
0959ffc9
UD
165132010-09-02 Ulrich Drepper <drepper@redhat.com>
16514
16515 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16516 * sysdeps/x86_64/addmul_1.S: Likewise.
16517 * sysdeps/x86_64/lshift.S: Likewise.
16518 * sysdeps/x86_64/mul_1.S: Likewise.
16519 * sysdeps/x86_64/rshift.S: Likewise.
16520 * sysdeps/x86_64/sub_n.S: Likewise.
16521 * sysdeps/x86_64/submul_1.S: Likewise.
16522
ece29840
ST
165232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16524
0959ffc9
UD
16525 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16526 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16527 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16528 * bits/sched.h [__need_schedparam]
ece29840 16529 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16530 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16531 (__defined_schedparam): Define to 1.
ece29840
ST
16532 (__sched_param): New structure, identical to sched_param.
16533 (__need_schedparam): Undefine.
16534
e53a31fe
MF
165352010-08-31 Mike Frysinger <vapier@gentoo.org>
16536
fdc0c10d
MF
16537 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16538 (epoll_create1): Declare.
16539
e53a31fe
MF
16540 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16541
a726d796
AS
165422010-08-31 Andreas Schwab <schwab@redhat.com>
16543
16544 [BZ #7066]
16545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16546 shifting retval into place.
16547
2f3e3dc7
UD
165482010-09-01 Ulrich Drepper <drepper@redhat.com>
16549
f2933da9
UD
16550 * nis/rpcsvc/nis.h: Update copyright notice.
16551 * nis/rpcsvc/nis.x: Likewise.
16552 * nis/rpcsvc/nis_callback.h: Likewise.
16553 * nis/rpcsvc/nis_callback.x: Likewise.
16554 * nis/rpcsvc/nis_object.x: Likewise.
16555 * nis/rpcsvc/nis_tags.h: Likewise.
16556 * nis/rpcsvc/yp.h: Likewise.
16557 * nis/rpcsvc/yp.x: Likewise.
16558 * nis/rpcsvc/ypupd.h: Likewise.
16559 * nis/yp_xdr.c: Likewise.
16560 * nis/ypupdate_xdr.c: Likewise.
16561
2f3e3dc7
UD
16562 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16563 mainly the body of pmap_getport. Add parameters to specify timeouts.
16564 (pmap_getport): Use __libc_rpc_getport.
16565 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16566 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16567 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16568
f3dcc2f9
AS
165692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16570
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16572 fanotify_mark.
16573
6d34eb5b
RM
165742010-08-27 Roland McGrath <roland@redhat.com>
16575
16576 * sysdeps/i386/i686/multiarch/Makefile
16577 (CFLAGS-varshift.c): New variable.
16578
9ea3de11
UD
165792010-08-27 Ulrich Drepper <drepper@redhat.com>
16580
c96d23fc
UD
16581 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16582 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16583
9ea3de11
UD
16584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16585
16586 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16587
623aac7f
L
165882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16589
16590 * sysdeps/x86_64/strlen.S: Unroll the loop.
16591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16592 strlen-sse2 strlen-sse2-bsf.
16593 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16594 __strlen_no_bsf if bit_Slow_BSF is set.
16595 (__strlen_sse42): Removed.
16596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16597 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16598
8b2b7715
RM
165992010-08-25 Roland McGrath <roland@redhat.com>
16600
16601 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16602 * sysdeps/x86_64/multiarch/varshift.c: New file.
16603 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16604 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16605 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16606 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16607
e73015f2
L
166082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16609
16610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16611 strlen-sse2 strlen-sse2-bsf.
16612 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16613 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16614 (__strlen_sse2): Removed.
16615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16618 bit_Slow_BSF for Atom.
16619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16620 (index_Slow_BSF): Define.
16621 (HAS_SLOW_BSF): Define.
16622
df24a73e
UD
166232010-08-25 Ulrich Drepper <drepper@redhat.com>
16624
16625 [BZ #10851]
16626 * resolv/res_init.c (__res_vinit): When no server address at all
16627 is given default to loopback.
16628
f2ac4868
RM
166292010-08-24 Roland McGrath <roland@redhat.com>
16630
09055553
RM
16631 * configure.in: Remove config-name.h generation.
16632 * configure: Regenerated.
16633 * config-name.in: File removed.
16634 * scripts/config-uname.sh: New file.
16635 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16636 ($(objdir)config-name.h): New target.
16637
f2ac4868
RM
16638 * sunrpc/rpc_parse.h: Avoid nested comment.
16639
73f27d5e
RH
166402010-08-24 Richard Henderson <rth@redhat.com>
16641 Ulrich Drepper <drepper@redhat.com>
16642 H.J. Lu <hongjiu.lu@intel.com>
16643
16644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16646 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16647 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16648 _mm_alignr_epi8 with _mm_loadu_si128.
16649 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16650 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16651 (__m128i_shift_right): Removed.
16652 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16653 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16654 * sysdeps/x86_64/multiarch/varshift.h: New file.
16655 * sysdeps/x86_64/multiarch/varshift.S: New file.
16656
84b9230c
MF
166572010-08-21 Mike Frysinger <vapier@gentoo.org>
16658
16659 * configure.in: Move assembler checks to before sysdep dir checking.
16660
9bbd0ddc
PB
166612010-08-20 Petr Baudis <pasky@suse.cz>
16662
16663 * LICENSES: Sync the sunrpc license.
16664
9da4bb31
UD
166652010-08-19 Ulrich Drepper <drepper@redhat.com>
16666
a7ab6ec8
UD
16667 * sunrpc/auth_des.c: Update copyright notice once again.
16668 * sunrpc/auth_none.c: Likewise.
16669 * sunrpc/auth_unix.c: Likewise.
16670 * sunrpc/authdes_prot.c: Likewise.
16671 * sunrpc/authuxprot.c: Likewise.
16672 * sunrpc/bindrsvprt.c: Likewise.
16673 * sunrpc/clnt_gen.c: Likewise.
16674 * sunrpc/clnt_perr.c: Likewise.
16675 * sunrpc/clnt_raw.c: Likewise.
16676 * sunrpc/clnt_simp.c: Likewise.
16677 * sunrpc/clnt_tcp.c: Likewise.
16678 * sunrpc/clnt_udp.c: Likewise.
16679 * sunrpc/clnt_unix.c: Likewise.
16680 * sunrpc/des_crypt.c: Likewise.
16681 * sunrpc/des_soft.c: Likewise.
16682 * sunrpc/get_myaddr.c: Likewise.
16683 * sunrpc/getrpcport.c: Likewise.
16684 * sunrpc/key_call.c: Likewise.
16685 * sunrpc/key_prot.c: Likewise.
16686 * sunrpc/openchild.c: Likewise.
16687 * sunrpc/pm_getmaps.c: Likewise.
16688 * sunrpc/pm_getport.c: Likewise.
16689 * sunrpc/pmap_clnt.c: Likewise.
16690 * sunrpc/pmap_prot.c: Likewise.
16691 * sunrpc/pmap_prot2.c: Likewise.
16692 * sunrpc/pmap_rmt.c: Likewise.
16693 * sunrpc/rpc/auth.h: Likewise.
16694 * sunrpc/rpc/auth_unix.h: Likewise.
16695 * sunrpc/rpc/clnt.h: Likewise.
16696 * sunrpc/rpc/des_crypt.h: Likewise.
16697 * sunrpc/rpc/key_prot.h: Likewise.
16698 * sunrpc/rpc/netdb.h: Likewise.
16699 * sunrpc/rpc/pmap_clnt.h: Likewise.
16700 * sunrpc/rpc/pmap_prot.h: Likewise.
16701 * sunrpc/rpc/pmap_rmt.h: Likewise.
16702 * sunrpc/rpc/rpc.h: Likewise.
16703 * sunrpc/rpc/rpc_des.h: Likewise.
16704 * sunrpc/rpc/rpc_msg.h: Likewise.
16705 * sunrpc/rpc/svc.h: Likewise.
16706 * sunrpc/rpc/svc_auth.h: Likewise.
16707 * sunrpc/rpc/types.h: Likewise.
16708 * sunrpc/rpc/xdr.h: Likewise.
16709 * sunrpc/rpc_clntout.c: Likewise.
16710 * sunrpc/rpc_cmsg.c: Likewise.
16711 * sunrpc/rpc_common.c: Likewise.
16712 * sunrpc/rpc_cout.c: Likewise.
16713 * sunrpc/rpc_dtable.c: Likewise.
16714 * sunrpc/rpc_hout.c: Likewise.
16715 * sunrpc/rpc_main.c: Likewise.
16716 * sunrpc/rpc_parse.c: Likewise.
16717 * sunrpc/rpc_parse.h: Likewise.
16718 * sunrpc/rpc_prot.c: Likewise.
16719 * sunrpc/rpc_sample.c: Likewise.
16720 * sunrpc/rpc_scan.c: Likewise.
16721 * sunrpc/rpc_scan.h: Likewise.
16722 * sunrpc/rpc_svcout.c: Likewise.
16723 * sunrpc/rpc_tblout.c: Likewise.
16724 * sunrpc/rpc_util.c: Likewise.
16725 * sunrpc/rpc_util.h: Likewise.
16726 * sunrpc/rpcinfo.c: Likewise.
16727 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16728 * sunrpc/rpcsvc/key_prot.x: Likewise.
16729 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16730 * sunrpc/rpcsvc/mount.x: Likewise.
16731 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16732 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16733 * sunrpc/rpcsvc/rex.x: Likewise.
16734 * sunrpc/rpcsvc/rstat.x: Likewise.
16735 * sunrpc/rpcsvc/rusers.x: Likewise.
16736 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16737 * sunrpc/rpcsvc/spray.x: Likewise.
16738 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16739 * sunrpc/rtime.c: Likewise.
16740 * sunrpc/svc.c: Likewise.
16741 * sunrpc/svc_auth.c: Likewise.
16742 * sunrpc/svc_authux.c: Likewise.
16743 * sunrpc/svc_raw.c: Likewise.
16744 * sunrpc/svc_run.c: Likewise.
16745 * sunrpc/svc_simple.c: Likewise.
16746 * sunrpc/svc_tcp.c: Likewise.
16747 * sunrpc/svc_udp.c: Likewise.
16748 * sunrpc/svc_unix.c: Likewise.
16749 * sunrpc/svcauth_des.c: Likewise.
16750 * sunrpc/xcrypt.c: Likewise.
16751 * sunrpc/xdr.c: Likewise.
16752 * sunrpc/xdr_array.c: Likewise.
16753 * sunrpc/xdr_float.c: Likewise.
16754 * sunrpc/xdr_mem.c: Likewise.
16755 * sunrpc/xdr_rec.c: Likewise.
16756 * sunrpc/xdr_ref.c: Likewise.
16757 * sunrpc/xdr_sizeof.c: Likewise.
16758 * sunrpc/xdr_stdio.c: Likewise.
16759
9da4bb31
UD
16760 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16761 handling.
16762
bdaa77bc
AS
167632010-08-19 Andreas Schwab <schwab@redhat.com>
16764
16765 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16766
fe2f79db
LM
167672010-08-19 Luis Machado <luisgpm@br.ibm.com>
16768
16769 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16771 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16772 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16774 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16776 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16777 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16779 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16781 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16782 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16783
b9b42ee0
AB
167842010-07-26 Anton Blanchard <anton@samba.org>
16785
16786 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16787 * malloc/arena.c (heap_trim): Likewise.
16788
1c06ba31
UD
167892010-08-16 Ulrich Drepper <drepper@redhat.com>
16790
16791 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16792 here. Not...
16793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16794 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16795
f8392f40
L
167962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 * sysdeps/i386/elf/Makefile: New file.
16799
3162f12e
AS
168002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16801
16802 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16803 from fanotify_init.
16804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16806
28c90b2c
UD
168072010-08-15 Ulrich Drepper <drepper@redhat.com>
16808
16809 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16810 of strncasecmp_l.
1feccb6c 16811 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16812
ca6bb004
UD
168132010-08-14 Ulrich Drepper <drepper@redhat.com>
16814
e9f82e0d
UD
16815 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16816 strncase_l-nonascii.
16817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16818 Add strncase_l-ssse3.
16819 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16820 * sysdeps/x86_64/strcmp.S: Likewise.
16821 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16822 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16823 * sysdeps/x86_64/strncase.S: New file.
16824 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16825 * sysdeps/x86_64/strncase_l.S: New file.
16826 * string/Makefile (strop-tests): Add strncasecmp.
16827 * string/test-strncasecmp.c: New file.
16828
16829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16830 warning.
16831
ca6bb004
UD
16832 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16833 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16834
052fa7b3
AS
168352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16836
16837 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16838
962dba78
UD
168392010-08-12 Ulrich Drepper <drepper@redhat.com>
16840
16841 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16844
bebff237
AM
168452010-05-01 Alan Modra <amodra@gmail.com>
16846
16847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16848 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16849 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16850 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16851 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16852 tidying. Don't tail-call __sigjmp_save for static lib.
16853 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16854 save location.
16855 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16856 (CALL_MCOUNT): Add eh info, and nop after bl.
16857 (TAIL_CALL_SYSCALL_ERROR): New macro.
16858 (PSEUDO_RET): Use it.
16859 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16860 Correct save location of integer regs and cr.
16861 (_dl_profile_resolve): Correct cr save location. Delete nops
16862 after bl when SHARED. Reduce cfi size a little by better
16863 placement of cfi directives.
16864 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16865 make a stack frame. Instead use parm save area as a temp.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16867 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16869 Don't make a stack frame for parent, use parm save area.
16870 Increase child stack frame to 112 bytes. Don't save unused reg,
16871 and adjust reg usage. Set up cfi on error recovery and
16872 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16874 (__makecontext): Add dummy nop after jump to exit.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16876 Use correct parm save area and cr save, reduce stack frame.
16877 Correct cfi for possible PSEUDO_RET frame setup.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16879 Branch to local label emitted by PSEUDO_RET rather than
16880 __syscall_error.
16881
02637374
AS
168822010-08-12 Andreas Schwab <schwab@redhat.com>
16883
16884 [BZ #11904]
16885 * locale/programs/locale.c (print_assignment): New function.
16886 (show_locale_vars): Use it.
16887
c3e2f19b
UD
168882010-08-11 Ulrich Drepper <drepper@redhat.com>
16889
3cdaa6ad
UD
16890 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16891 field.
16892 (struct statfs64): Likewise.
16893 (_STATFS_F_FLAGS): Define.
16894 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16896 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16897 (ST_VALID): Define locally.
16898 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16899 __statvfs_getflags, use the provided value.
16900 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16901 __ASSUME_STATFS_F_FLAGS.
16902
754f7da3
UD
16903 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16904
10b3bedc
UD
16905 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16906 Add sys/fanotify.h.
16907 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16908 fanotify_mask for GLIBC_2.13.
16909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16910 fanotify_init and fanotify_mark.
16911 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16912 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16913
c08fb0d7
UD
16914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16915 Add prlimit.
16916 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16917 prlimit64 for GLIBC_2.13.
16918 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16919 prlimit64.
16920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16921 syscall.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16924 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16927 add prlimit alias.
16928 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16929
15bac72b
UD
16930 [BZ #11903]
16931 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16932 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16933
c3e2f19b
UD
16934 * nss/Makefile: Add rules to build and run tst-nss-test1.
16935 * shlib-versions: Add entry for libnss_test1.
16936 * nss/nss_test1.c: New file.
16937 * nss/tst-nss-test1.c: New file.
16938
16939 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16940 (__nss_configure_lookup): Set appropriate entry in
16941 __nss_configure_lookup to true.
16942 * nss/nsswitch.h: Define enum with indeces of databases in
16943 databases and __nss_database_custom arrays. Declare
16944 __nss_database_custom.
16945 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16946 to avoid using nscd when custom rules are installed.
16947 * nss/getXXbyYY_r.c: Likewise.
16948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16949
16950 * nss/nss_files/files-parse.c: Whitespace fixes.
16951
f15ce4d8
UD
169522010-08-09 Ulrich Drepper <drepper@redhat.com>
16953
16954 [BZ #11883]
16955 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16956 * posix/fnmatch_loop.c: Likewise.
16957
d22e4cc9
AK
169582010-07-17 Andi Kleen <ak@linux.intel.com>
16959
16960 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16961 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16962 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16963 * Versions.def [GLIBC_2.13]: Add.
16964
805bc17d
UD
169652010-08-06 Ulrich Drepper <drepper@redhat.com>
16966
16967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16968 Also fail if tpwd after pwuid call is NULL.
16969
5a42321d
ST
169702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16971
16972 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16973 when converting to ms.
16974
fd3ebeda
ST
169752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16976
16977 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16978 EOPNOTSUPP errors with ENOTTY.
16979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16980 EOPNOTSUPP errors with ENOTTY.
16981
73507d3a
UD
169822010-07-31 Ulrich Drepper <drepper@redhat.com>
16983
16984 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16985 Add strcasecmp_l-ssse3.
16986 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16987 strcasecmp.
16988 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16989 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16991
fe36dd02
UD
169922010-07-30 Ulrich Drepper <drepper@redhat.com>
16993
66f6765a
UD
16994 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16995
42e08a54
UD
16996 * string/Makefile (strop-tests): Add strcasecmp.
16997 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16998 strcasecmp_l-nonascii.
16999 (gen-as-const-headers): Add locale-defines.sym.
17000 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17001 * sysdeps/x86_64/strcasecmp.S: New file.
17002 * sysdeps/x86_64/strcasecmp_l.S: New file.
17003 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17004 * sysdeps/x86_64/locale-defines.sym: New file.
17005 * string/test-strcasecmp.c: New file.
17006
fe36dd02
UD
17007 * string/test-strcasestr.c: Test both ends of the range of characters.
17008 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17009
48cbc0d6
RM
170102010-07-29 Roland McGrath <roland@redhat.com>
17011
76e6d6bc 17012 [BZ #11856]
48cbc0d6
RM
17013 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17014
880113d9
UD
170152010-07-27 Ulrich Drepper <drepper@redhat.com>
17016
17017 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17018 for ld.so.
17019
deb9cabb
AS
170202010-07-27 Andreas Schwab <schwab@redhat.com>
17021
17022 * manual/memory.texi (Malloc Tunable Parameters): Document
17023 M_PERTURB.
17024
1c7570ff
RM
170252010-07-26 Roland McGrath <roland@redhat.com>
17026
17027 [BZ #11840]
17028 * configure.in (-fgnu89-inline check): Set and substitute
17029 gnu89_inline, not libc_cv_gnu89_inline.
17030 * configure: Regenerated.
17031 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17032
24fb0f88
UD
170332010-07-26 Ulrich Drepper <drepper@redhat.com>
17034
17035 * string/test-strnlen.c: New file.
17036 * string/Makefile (strop-tests): Add strnlen.
17037 * string/tester.c (test_strnlen): Add a few more test cases.
17038 * string/tst-strlen.c: Better error reporting.
17039
17040 * sysdeps/x86_64/strnlen.S: New file.
17041
8e96b93a
UD
170422010-07-24 Ulrich Drepper <drepper@redhat.com>
17043
17044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17045 lower-latency instructions.
17046
dbc676d4
UD
170472010-07-23 Ulrich Drepper <drepper@redhat.com>
17048
17049 * string/test-strcasestr.c: New file.
17050 * string/test-strstr.c: New file.
17051 * string/Makefile (strop-tests): Add strstr and strcasestr.
17052 * string/str-two-way.h: Don't undefine MAX.
17053 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17054
f6a31e0e
AS
170552010-07-21 Andreas Schwab <schwab@redhat.com>
17056
17057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17058 strcasestr-nonascii.
17059 (CFLAGS-strcasestr-nonascii.c): Define.
17060 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17061 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17062 Remove unused attribute.
17063
5dbc3b6c
RM
170642010-07-20 Roland McGrath <roland@redhat.com>
17065
17066 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17067 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17068 ld.so.cache was broken. With it, there is no way to disable dsocaps
17069 like LD_HWCAP_MASK can disable hwcaps.
17070
23d101d8
EPM
170712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17072
17073 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17074
cc9f2e47
UD
170752010-07-16 Ulrich Drepper <drepper@redhat.com>
17076
17077 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17078 call in strcasestr.
17079 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17080 __strcasestr_sse42_nonascii.
17081 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17082 strcasestr-nonascii.c.
17083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17084
77c1b069
LM
170852010-06-15 Luis Machado <luisgpm@br.ibm.com>
17086
17087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17088 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17091
440566c3
UD
170922010-07-09 Ulrich Drepper <drepper@redhat.com>
17093
17094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17095 fcntl.
17096
5be9d05d
AS
170972010-07-06 Andreas Schwab <schwab@redhat.com>
17098
c30b7ee2 17099 [BZ #11577]
5be9d05d
AS
17100 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17101 dl_signal_cerror.
17102
8a492a67
UD
171032010-07-06 Ulrich Drepper <drepper@redhat.com>
17104
17105 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17106 _PC_PIPE_BUF using F_GETPIPE_SZ.
17107
713df3d5
RM
171082010-07-05 Roland McGrath <roland@redhat.com>
17109
17110 * manual/arith.texi (Rounding Functions): Fix rint description
17111 implicit in round description.
17112
702e8f14
UD
171132010-07-02 Ulrich Drepper <drepper@redhat.com>
17114
17115 * elf/Makefile: Fix linking for a few tests to make recent linker
17116 happy.
17117
52ed8be9
AS
171182010-06-30 Andreas Schwab <schwab@redhat.com>
17119
17120 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17121 $(common-objpfx)libc_nonshared.a.
17122
f47c9a11
LM
171232010-06-21 Luis Machado <luisgpm@br.ibm.com>
17124
17125 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17126 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17127 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17128 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17129 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17130 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17131 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17132 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17147 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17148 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17149 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17150 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17151 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17152 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17153 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17154 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17155 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17156 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17157 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17158 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17173
6fb8cbcb
L
171742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17177 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17178 * string/memmove.c (memmove): Renamed to ...
17179 (MEMMOVE): ...this. Default to memmove.
17180 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17181 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17182 (END_CHK): Define.
17183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17184 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17185 mempcpy-ssse3-back memmove-ssse3-back.
17186 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17189 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17190 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17191 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17192 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17193 * sysdeps/x86_64/multiarch/memmove.c: New file.
17194 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17195 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17196 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17197 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17198 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17200 Define.
17201 (index_Fast_Copy_Backward): Define.
17202 (HAS_ARCH_FEATURE): Define.
17203 (HAS_FAST_REP_STRING): Define.
17204 (HAS_FAST_COPY_BACKWARD): Define.
17205
4e733bac 172062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17207
17208 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17209 Restore proper fallback handling.
17210
63c4ed22
UD
172112010-06-19 Ulrich Drepper <drepper@redhat.com>
17212
ac2b484c
UD
17213 [BZ #11701]
17214 * posix/group_member.c (__group_member): Correct checking loop.
17215
63c4ed22
UD
17216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17217 OOM in getpwuid_r correctly. Return error number when the caller
17218 should return, otherwise -1.
17219 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17220 call returning > 0 value.
17221 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17222
765ade4b
AS
172232010-06-07 Andreas Schwab <schwab@redhat.com>
17224
17225 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17226 libc_nonshared.a from targets in modules-names.
17227
80da2e09
KS
172282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17229
17230 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17231 requires it.
17232
158db122
LM
172332010-06-10 Luis Machado <luisgpm@br.ibm.com>
17234
17235 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17236 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17238 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17239
caa78cf8
AS
172402010-06-02 Andreas Schwab <schwab@redhat.com>
17241
17242 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17243
b2ef2c01
UD
172442010-06-14 Ulrich Drepper <drepper@redhat.com>
17245
17246 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17247 and F_GETPIPE_SZ.
17248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17254
fbd643b6
RM
172552010-06-14 Roland McGrath <roland@redhat.com>
17256
17257 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17258
f32f2869
JJ
172592010-06-07 Jakub Jelinek <jakub@redhat.com>
17260
17261 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17262 __REDIRECT followed by __THROW.
17263 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17264 * posix/getopt.h (getopt): Likewise.
17265
2a50c078
EPM
172662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17267
17268 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17269 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17270 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17271 in AT_FLAGS.
17272 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17273 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17274
eb5ad2eb
LM
172752010-05-28 Luis Machado <luisgpm@br.ibm.com>
17276
17277 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17278
3c88fe1e
L
172792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17280
17281 [BZ #11640]
17282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17283 Properly check family and model.
17284
d2f73151
TY
172852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17286
17287 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17288
ebd2e13d
LM
172892010-05-24 Luis Machado <luisgpm@br.ibm.com>
17290
17291 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17292
b32b8b45
UD
172932010-05-21 Ulrich Drepper <drepper@redhat.com>
17294
17295 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17296 symbol reference.
17297
9acbe24d
AS
172982010-05-19 Andreas Schwab <schwab@redhat.com>
17299
17300 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17301 symbol reference.
17302
f0ccf6ea
AS
173032010-05-21 Andreas Schwab <schwab@redhat.com>
17304
3d04ff3a
AS
17305 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17306 and internal_recvmmsg.
17307 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17308 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17309 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17310 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17311
f0ccf6ea
AS
17312 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17313 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17314 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17315
5b08ac57
AS
173162010-05-20 Andreas Schwab <schwab@redhat.com>
17317
17318 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17319
4828935d
LM
173202010-05-17 Luis Machado <luisgpm@br.ibm.com>
17321
17322 POWER7 optimizations.
17323 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17324 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17325
373d545e
UD
173262010-05-19 Ulrich Drepper <drepper@redhat.com>
17327
17328 * version.h: Update for 2.13 development version.
17329
21a2b1ae
AS
173302010-05-12 Andrew Stubbs <ams@codesourcery.com>
17331
17332 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17333 exceptions. Return 0.
17334
3f7dcb2b
RM
173352010-05-07 Roland McGrath <roland@redhat.com>
17336
17337 * elf/ldconfig.c (main): Add a const.
17338
5f24d53a 173392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17340
a160f8d8
UD
17341 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17342 (args_options): Add no-idn option.
17343 (ahosts_keys_int): Add idn_flags to ai_flags.
17344 (parse_option): Handle 'i' option to clear idn_flags.
17345
5f24d53a
UD
17346 * malloc/malloc.c (_int_free): Possible race in the most recently
17347 added check. Only act on the data if no current modification
17348 happened.
265bb1ce
UD
17349
17350See ChangeLog.17 for earlier changes.