]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove unused pseudo_end label
[thirdparty/glibc.git] / ChangeLog
1 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26
27 2012-07-25 Florian Weimer <fweimer@redhat.com>
28
29 * Versions.def: Add GLIBC_2.17.
30 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32 Introduce __libc_secure_getenv.
33 * stdlib/Versions (2.17): Add secure_getenv
34 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35 * stdlib/secure-getenv.c: Rename __secure_getenv to
36 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37 symbol __secure_getenv for GLIBC_2.0.
38 * stdlib/tst-secure-getenv.c: New.
39 * stdlib/Makefile (tests): Add testcase.
40 * manual/startup.texi (Environment Access): Document
41 secure_getenv.
42 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43 __libc_secure_getenv.
44 * inet/ruserpass.c (ruserpass): Likewise.
45 * malloc/mtrace.c (mtrace): Likewise.
46 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49 * sysdeps/posix/tempname.c: Likewise. Evaluate
50 HAVE_SECURE_GETENV.
51 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52 __secure_getenv to __libc_secure_getenv.
53 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55 Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57 Likewise.
58 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65
66 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67
68 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69 (struct La_i86_retval): Likewise.
70 (struct La_x86_64_regs): Likewise.
71 (struct La_x86_64_retval): Likewise.
72 (struct La_x32_regs): Likewise.
73 (struct La_x32_retval): Likewise.
74 (struct La_ppc32_regs): Likewise.
75 (struct La_ppc32_retval): Likewise.
76 (struct La_ppc64_regs): Likewise.
77 (struct La_ppc64_retval): Likewise.
78 (struct La_sh_regs): Likewise.
79 (struct La_sh_retval): Likewise.
80 (struct La_s390_32_regs): Likewise.
81 (struct La_s390_32_retval): Likewise.
82 (struct La_s390_64_regs): Likewise.
83 (struct La_s390_64_retval): Likewise.
84 (struct La_sparc32_regs): Likewise.
85 (struct La_sparc32_retval): Likewise.
86 (struct La_sparc64_regs): Likewise.
87 (struct La_sparc64_retval): Likewise.
88 (struct audit_ifaces): Remove architecture-specific pltenter and
89 pltexit members.
90 * sysdeps/i386/ldsodefs.h: New file.
91 * sysdeps/powerpc/ldsodefs.h: Likewise.
92 * sysdeps/s390/ldsodefs.h: Likewise.
93 * sysdeps/sh/ldsodefs.h: Likewise.
94 * sysdeps/sparc/ldsodefs.h: Likewise.
95 * sysdeps/x86_64/ldsodefs.h: Likewise.
96
97 2012-07-25 Marek Polacek <polacek@redhat.com>
98
99 [BZ #6808]
100 * math/libm-test.inc (yn_test): Add another test.
101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
102 to ERANGE when the result is +-Inf.
103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
104 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
106 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
107
108 2012-07-24 Joseph Myers <joseph@codesourcery.com>
109
110 * conform/data/time.h-data (NULL): Use macro-constant. Require
111 equal to 0.
112 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
113 clock_t.
114 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
115
116 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
117
118 * configure.in <sysdeps resolving>: Correct printing
119 Implies_before.
120 * configure: Regenerate.
121
122 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
123
124 * math/w_ilogb.c: Include <limits.h>.
125 * math/w_ilogbl.c: Likewise.
126
127 2012-07-20 Joseph Myers <joseph@codesourcery.com>
128
129 * manual/lang.texi (__va_copy): Document primarily as ISO C99
130 va_copy. Document allowing for unavailable va_copy only as
131 pre-C99 compatibility.
132 * manual/string.texi (Copying and Concatenation): Use va_copy
133 instead of __va_copy in concat example.
134
135 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
136
137 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
138 (__sendto): Use create_address_port. Initialize APORT and deallocate
139 it if not null.
140
141 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
142 with O_NOLINK passed to __file_name_lookup.
143
144 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
145 with O_NOLINK passed to __file_name_lookup.
146
147 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
148 negative N or less than NGIDS.
149
150 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
151 type to string_t. Set ERANGE as errno and return it if NAME is not big
152 enough. Use memcpy instead of strncpy.
153
154 2012-07-20 Joseph Myers <joseph@codesourcery.com>
155
156 * elf/Makefile (check-data): Remove.
157 (localplt.data): New vpath directive.
158 ($(objpfx)check-localplt.out): Use localplt.data from vpath
159 instead of $(check-data).
160 * scripts/data/localplt-generic.data: Move to ...
161 * sysdeps/generic/localplt.data: ... here.
162 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
163 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
164 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
166 ... here.
167 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
169 ... here.
170 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
172 ... here.
173 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
175 ... here.
176 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
178 ... here.
179 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
181 ... here.
182
183 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184
185 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
186 PPC32 and PPC64 files.
187 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
188 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
189
190 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
191
192 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
193 __makecontext_ret to ...
194 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
195 ... here and call exit if uc_link is NULL. New file.
196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
197 __makecontext_ret.S.
198 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
199 __makecontext_ret to ...
200 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
201 ... here and call exit if uc_link is NULL. New file.
202 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
203 __makecontext_ret.S.
204
205 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
206
207 * elf/elf.h (R_390_IRELATIVE): New definition.
208 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
209 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
210 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
212 (elf_machine_lazy_rel): Likewise.
213 * sysdeps/s390/dl-irel.h: New file.
214 * sysdeps/s390/s390-64/memcpy.S: New asm code.
215 * sysdeps/s390/s390-64/memset.S: New asm code.
216 * sysdeps/s390/s390-64/memcmp.S: New asm code.
217 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
219 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
220 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
221 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
223 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
224 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
225 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
226 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
227 * sysdeps/s390/s390-32/memcpy.S: New asm code.
228 * sysdeps/s390/s390-32/memset.S: New asm code.
229 * sysdeps/s390/s390-32/memcmp.S: New asm code.
230
231 2012-07-17 Marek Polacek <polacek@redhat.com>
232
233 [BZ #14349]
234 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
235 * sysdeps/s390/s390-64/configure.in: Likewise.
236 * sysdeps/sparc/configure.in: Likewise.
237 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
238 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
239 * sysdeps/i386/configure.in: Likewise.
240 * sysdeps/x86_64/configure.in: Likewise.
241 * sysdeps/sh/configure.in: Likewise.
242 * sysdeps/s390/s390-32/configure: Regenerated.
243 * sysdeps/s390/s390-64/configure: Likewise.
244 * sysdeps/x86_64/configure: Likewise.
245 * sysdeps/sh/configure: Likewise.
246 * sysdeps/powerpc/powerpc64/configure: Likewise.
247 * sysdeps/powerpc/powerpc32/configure: Likewise.
248 * sysdeps/sparc/configure: Likwise.
249 * sysdeps/i386/configure: Likewise.
250
251 * elf/dl-open.c: Comment fixes.
252
253 2012-07-17 Joseph Myers <joseph@codesourcery.com>
254
255 * Makefile [CXX] (check-data): Remove.
256 [CXX] (c++-types.data): New vpath directive.
257 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
258 vpath. Do not allow for C++ type data being missing.
259 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
260 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
261 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
262 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
263 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
264 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
265 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
267 ... here.
268 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
270 ... here.
271 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
273 ... here.
274 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
276 ... here.
277 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
279 ... here.
280 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
282 ... here.
283 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
285 ... here.
286 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
288
289 * elf/tls-macros.h (TLS_LE): Move architecture-specific
290 definitions to architecture-specific files.
291 (TLS_IE): Likewise.
292 (TLS_LD): Likewise.
293 (TLS_GD): Likewise.
294 * sysdeps/i386/tls-macros.h: New file.
295 * sysdeps/powerpc/tls-macros.h: Likewise.
296 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
297 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
298 * sysdeps/sh/tls-macros.h: Likewise.
299 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
300 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
301 * sysdeps/x86_64/tls-macros.h: Likewise.
302
303 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
304
305 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
306 zero value for regular exit case.
307
308 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
309 (__start_context): Preserve zero value for regular exit case.
310
311 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
312 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
313
314 * manual/setjmp.texi (setcontext): Clarify normal process
315 termination when uc_link is the null pointer.
316 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
317 exit call.
318
319 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
320
321 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
322 preprocessor. Test for each exception mask separately.
323
324 2012-07-16 Andreas Jaeger <aj@suse.de>
325
326 * po/ru.po: Update from translation team.
327
328 2012-07-15 Joseph Myers <joseph@codesourcery.com>
329
330 * conform/data/string.h-data (NULL): Use macro-constant. Require
331 equal to 0.
332 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
333 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
334 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
335 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
337
338 2012-07-13 Andreas Jaeger <aj@suse.de>
339
340 * po/fr.po: Update from translation team.
341
342 2012-07-12 Marek Polacek <polacek@redhat.com>
343
344 [BZ #14173]
345 * math/libm-test.inc (yn_test): Add test for BZ #14173.
346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
347 loop condition.
348
349 2012-07-12 Joseph Myers <joseph@codesourcery.com>
350
351 [BZ #13717]
352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
353 Change to 2.4.1 where previously 2.4.0.
354 * sysdeps/unix/sysv/linux/configure: Regenerated.
355 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
356 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
357 version.
358 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
359 (__ASSUME_AT_CLKTCK): Remove.
360 (__ASSUME_AT_PAGESIZE): Likewise.
361 (__ASSUME_AT_XID): Likewise.
362 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
363 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
364 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
365 unconditionally.
366 (HAVE_AUX_PAGESIZE): Likewise.
367 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
368 [__ASSUME_AT_CLKTCK]: Make code unconditional.
369 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
370
371 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
372
373 [BZ #14307]
374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
375 the temporary buffer used to invoke __gethostbyname2_r,
376 __gethostbyaddr_r and gethostbyname4_r to make room for struct
377 host_data / struct gaih_addrtuple.
378 * resolv/nss_dns/dns-host.c (global scope): Move definition of
379 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
380 header file nss/nsswitch.h.
381 * nss/nsswitch.h (global scope): Add definition of implementation
382 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
383 resolv/nss_dns/dns-host.c).
384
385 2012-07-11 Andreas Jaeger <aj@suse.de>
386
387 * po/fr.po: Update from translation team.
388
389 * po/sv.po: Update from translation team
390 * po/fr.po: Another update from translation team.
391
392 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393
394 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
395 for subnormals or multiply small sinh result by itself.
396 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
398
399 2012-07-11 David S. Miller <davem@davemloft.net>
400
401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
402
403 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
404
405 [BZ #14347]
406 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
407 (INTERNAL_MARK): Shift it here.
408
409 2012-07-10 Marek Polacek <polacek@redhat.com>
410
411 [BZ #14151]
412 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
413 libc_cv_asm_global_directive with .globl.
414 * configure: Regenerated.
415 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
416 with .globl.
417 * sysdeps/i386/configure: Regenerated.
418 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
419 with .globl.
420 * sysdeps/x86_64/configure: Regenerated.
421 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
422 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
423 * elf/tst-unique2mod2.c: Likewise.
424 * elf/tst-unique2mod1.c: Likewise.
425 * elf/tst-unique1mod2.c: Likewise.
426 * elf/tst-unique1mod1.c: Likewise.
427 * sysdeps/s390/s390-32/sysdep.h: Likewise.
428 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
430 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
431 * sysdeps/mach/sysdep.h: Likewise.
432 * sysdeps/i386/sysdep.h: Likewise.
433 * sysdeps/i386/i386-mcount.S: Likewise.
434 * sysdeps/x86_64/_mcount.S: Likewise.
435 * sysdeps/x86_64/sysdep.h: Likewise.
436 * sysdeps/sh/_mcount.S: Likewise.
437 * sysdeps/sh/sysdep.h: Likewise.
438 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
439 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
440 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
441 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
442 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
443 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
444 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
445 * locale/localeinfo.h: Likewise.
446 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
447 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
448
449 2012-07-09 Roland McGrath <roland@hack.frob.com>
450
451 [BZ #14336]
452 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
453 system".
454 * manual/message.texi (The Uniforum approach): Likewise.
455 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
456 (glibc iconv Implementation): Likewise.
457
458 2012-07-09 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #14337]
461 * math/s_clog.c (__clog): Avoid scaling a value down where that
462 could result in underflow.
463 * math/s_clog10.c (__clog10): Likewise.
464 * math/s_clog10f.c (__clog10f): Likewise.
465 * math/s_clog10l.c (__clog10l): Likewise.
466 * math/s_clogf.c (__clogf): Likewise.
467 * math/s_clogl.c (__clogl): Likewise.
468 * math/libm-test.inc (clog_test): Add more tests.
469 (clog10_test): Likewise.
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
472
473 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
474
475 [BZ #14283]
476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
477 by 7 not 8 to examine high bit of fractional part.
478
479 [BZ #14042]
480 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
481 for call to __mcount_internal.
482 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
483 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
484 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
485
486 2012-07-06 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #14154]
489 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
490 approximation for values within 0x1p-13f of an odd multiple of
491 pi/4.
492 * math/libm-test.inc (tan_test): Do not allow spurious underflow
493 exception. Add more tests.
494 * sysdeps/i386/fpu/libm-test-ulps: Update.
495
496 [BZ #6778]
497 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
498 inputs and return -1 for them. Do not check for +Inf in case not
499 reachable for +Inf.
500 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
501 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
502 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
503 and return -1 for them. Do not check for +Inf in case not
504 reachable for +Inf.
505 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
506 define.
507 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
508 and return -1 for them. Do not check for +Inf in case not
509 reachable for +Inf.
510 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
511 spurious underflow.
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514
515 2012-07-06 Mike Frysinger <vapier@gentoo.org>
516
517 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
518
519 2012-07-05 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #14157]
522 [BZ #14331]
523 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
524 could result in spurious underflow. Scale down values above
525 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
526 * math/s_csqrtf.c (__csqrtf): Likewise.
527 * math/s_csqrtl.c (__csqrtl): Likewise.
528 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
529 spurious underflow.
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532
533 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
534
535 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
536 xopen-msg.sed.
537 * catgets/xopen-msg.awk: New file.
538 * catgets/xopen-msg.sed: Removed.
539
540 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
541 po2text.sed.
542 * intl/po2test.awk: New file.
543 * intl/po2test.sed: Removed.
544
545 2012-07-04 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #14328]
548 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
549 or multiply small sinh result by itself.
550 * math/s_ctanf.c (__ctanf): Likewise.
551 * math/s_ctanh.c (__ctanh): Likewise.
552 * math/s_ctanhf.c (__ctanhf): Likewise.
553 * math/s_ctanhl.c (__ctanhl): Likewise.
554 * math/s_ctanl.c (__ctanl): Likewise.
555 * math/libm-test.inc (ctan_test_tonearest): New function.
556 (ctan_test_towardzero): Likewise.
557 (ctan_test_downward): Likewise.
558 (ctan_test_upward): Likewise.
559 (ctanh_test_tonearest): Likewise.
560 (ctanh_test_towardzero): Likewise.
561 (ctanh_test_downward): Likewise.
562 (ctanh_test_upward): Likewise.
563 (main): Call these new functions.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
566
567 2012-07-03 Mike Frysinger <vapier@gentoo.org>
568
569 * .gitignore: Delete /ports entry.
570
571 2012-07-03 Andreas Jaeger <aj@suse.de>
572
573 * po/bg.po: Update from translation team.
574 * po/cs.po: Likewise.
575 * po/de.po: Likewise.
576 * po/hr.po: Likewise.
577 * po/nl.pl: Likewise.
578 * po/pl.po: Likewise.
579 * po/vi.po: Likewise.
580
581 2012-07-03 Joseph Myers <joseph@codesourcery.com>
582
583 * Makeconfig [!+link] (+link-before-libc): New variable.
584 [!+link] (+link-after-libc): Likewise.
585 [!+link] (+link-tests): Likewise.
586 [!+link] (+link): Define in terms of $(+link-before-libc) and
587 $(+link-after-libc).
588 [!+link-static] (+link-static-before-libc): New variable.
589 [!+link-static] (+link-static-after-libc): Likewise.
590 [!+link-static] (+link-static-tests): Likewise.
591 [!+link-static] (+link-static): Define in terms of
592 $(+link-static-before-libc) and $(+link-static-after-libc).
593 [build-shared] (link-libc-before-gnulib): New variable.
594 [build-shared] (link-libc-tests): Likewise.
595 [build-shared] (link-libc): Define in terms of
596 $(link-libc-before-gnulib).
597 [!build-shared] (link-libc-tests): New variable.
598 (link-libc-static-tests): New variable.
599 [!gnulib] (gnulib-arch): New variable.
600 [!gnulib] (gnulib-tests): Likewise.
601 [!gnulib] (static-gnulib-arch): Likewise.
602 [!gnulib] (static-gnulib-tests): Likewise.
603 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
604 Define with "=" instead of ":=".
605 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
606 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
607 * Rules (binaries-all-notests): New variable.
608 (binaries-all-tests): Likewise.
609 (binaries-static-notests): Likewise.
610 (binaries-static-tests): Likewise.
611 (binaries-all): Define using $(binaries-all-notests) and
612 $(binaries-all-tests).
613 (binaries-static): Define using $(binaries-static-notests) and
614 $(binaries-static-tests).
615 (binaries-shared-tests): New variable.
616 (binaries-shared-notests): Likewise.
617 (binaries-shared): Remove variable.
618 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
619 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
620 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
621 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
622 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
623 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
624 * elf/Makefile (sln-modules): New variable.
625 (extra-objs): Add $(sln-modules:=.o).
626 (ldconfig-modules): Add static-stubs.
627 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
628 * elf/static-stubs.c: New file.
629
630 [BZ #14283]
631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
632 by 7 not 8 to examine high bit of fractional part. Use volatile
633 variables when splitting into final array of floats if
634 __FLT_EVAL_METHOD__ != 0.
635 * math/libm-test.inc (cos_test): Add another test.
636 (sin_test): Likewise.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638
639 [BZ #14273]
640 * math/libm-test.inc (cosh_test): Add more tests.
641
642 * version.h (RELEASE): Set to "development".
643 (VERSION): Set to "2.16.90".
644
645 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
646
647 * NEWS: Update copyright. Remove last-updated date.
648 Mention math library bug fixes and timezone data changes.
649 * README: Mention GNU/Hurd, x32, and HPPA support status.
650
651 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
652
653 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
654
655 2012-06-27 Andreas Jaeger <aj@suse.de>
656
657 * manual/contrib.texi (Contributors): Add Samuel Thibault.
658
659 2012-06-25 Andreas Jaeger <aj@suse.de>
660
661 * sysdeps/s390/fpu/libm-test-ulps: Update.
662
663 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
664 Thomas Schwinge <thomas@codesourcery.com>
665
666 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
667 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
669 fanotify_mark.
670
671 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
672
673 * sysdeps/mach/start.c: Remove file.
674 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
675 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
676 * sysdeps/sh/init-first.c: Likewise.
677
678 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
679 registers for frame unwinding purposes, add CFI directives.
680 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
681 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
682 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
683 Likewise.
684
685 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
686 __fortify_fail returning.
687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
688
689 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
690 sysdeps/sh/____longjmp_chk.S.
691 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
692 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
693 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
694 (gen-as-const-headers): Append sigaltstack-offsets.sym.
695
696 * sysdeps/sh/abort-instr.h: New file.
697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
698 process in case exit returns.
699
700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
701 initialize the GOT register before use.
702
703 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
704 calculation of ARGC > 4.
705
706 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
707 meaningful names to some local labels.
708
709 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
710 Kaz Kojima <kkojima@rr.iij4u.or.jp>
711
712 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
713 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
714 (__arch_compare_and_exchange_val_16_acq): Likewise.
715 (__arch_compare_and_exchange_val_32_acq): Likewise.
716 (atomic_exchange_and_add): Fix gUSA sequence.
717 (atomic_add): Likewise.
718 (atomic_add_negative): Likewise.
719 (atomic_add_zero): Likewise.
720 (atomic_bit_test_set): Likewise.
721
722 2012-06-22 Andreas Schwab <schwab@redhat.com>
723
724 [BZ #13579]
725 * include/link.h (struct link_map): Add l_free_initfini.
726 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
727 l_initfini.
728 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
729 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
730 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
731 set.
732
733 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
734
735 * configure.in: Use AC_LANG_SOURCE.
736 * configure: Regenerate.
737
738 2012-06-22 Roland McGrath <roland@hack.frob.com>
739
740 * configure.in (libc_cv_localstatedir): New substituted variable.
741 * configure: Regenerated.
742 * config.make.in (localstatedir): New variable, substituted from
743 libc_cv_localstatedir.
744 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
745 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
746 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
747 * sysdeps/gnu/configure: Regenerated.
748
749 2012-06-21 Jeff Law <law@redhat.com>
750
751 [BZ #14277]
752 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
753 free. Simplify list management for _LIBC case.
754
755 2012-06-21 Joseph Myers <joseph@codesourcery.com>
756
757 [BZ #14273]
758 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
759 Clear sign bit of 64-bit integer value before comparing against
760 overflow value.
761
762 * sysdeps/mach/configure: Regenerated.
763
764 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
765
766 [BZ #14278]
767 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
768
769 2012-06-21 Jeff Law <law@redhat.com>
770
771 [BZ #13882]
772 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
773 uint16_t for elements in the "seen" array to avoid char overflows.
774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
775 * elf/dl-open.c (dl_open_worker): Likewise.
776
777 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
778
779 * scripts/list-sources.sh: Scan PORTS for translations.
780 * po/libc.pot: Regenerated.
781
782 2012-06-21 Andreas Jaeger <aj@suse.de>
783
784 [BZ #12194]
785 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
786 warning.
787 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
788 * bits/byteswap-16.h (__bswap_16): Likewise.
789 * bits/byteswap.h (__bswap_constant_16): Likewise.
790
791 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
792
793 [BZ #14117]
794 * sysdeps/i386/fpu_control.h: Removed.
795 * sysdeps/x86_64/fpu_control.h: Moved to ...
796 * sysdeps/x86/fpu_control.h: Here.
797
798 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
799 (_FPU_SETCW): Likewise.
800
801 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
802
803 [BZ #14117]
804 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
805 * sysdeps/x86/fpu/bits/mathinline.h: This.
806 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
807
808 [BZ #14050]
809 [BZ #14117]
810 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
811 functions if __x86_64__ is defined.
812
813 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
814
815 * string/endian.h: Add !__ASSEMBLER__ condition for including
816 conversion interfaces.
817
818 2012-06-15 Joseph Myers <joseph@codesourcery.com>
819
820 [BZ #14241]
821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
822 of ABS(x) in calculating zero to negative powers other than odd
823 integers.
824 * math/libm-test.inc (pow_test): Add more tests.
825
826 2012-06-15 Andreas Jaeger <aj@suse.de>
827
828 * manual/contrib.texi (Contributors): Update entry of Liubov
829 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
830 Machado Filho.
831
832 2012-06-15 Cyril Hrubis <metan@ucw.cz>
833
834 * string/string.h: Add __wur to GNU version of strerror_r.
835
836 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
837
838 [BZ #14229]
839 * string/Makefile (tests): Add tst-strtok_r.
840 * string/tst-strtok_r.c: New file.
841 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
842 RAX_LP/RDX_LP on SAVE_PTR.
843
844 2012-06-14 Roland McGrath <roland@hack.frob.com>
845
846 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
847
848 2012-06-14 Joseph Myers <joseph@codesourcery.com>
849
850 * libm_test.inc (csqrt_test): Allow more spurious underflow
851 exceptions.
852 (j0_test): Likewise.
853 (j1_test): Likewise.
854 (y0_test): Likewise.
855 (y1_test): Likewise.
856
857 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
858
859 * po/Makefile (libc.pot): Use UTF-8 charset.
860
861 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
862
863 [BZ #14210]
864 Suppress sign-conversion warning from FD_SET.
865 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
866 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
867 not unsigned long int.
868 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
869
870 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
871
872 [BZ #14050]
873 [BZ #14117]
874 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
875 __extern_always_inline instead of __extern_inline.
876 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
877 (__signbit): Likewise.
878 (__signbitl): Support C++ namespace.
879 (lrintf): New inline function.
880 (lrint): Likewise.
881 (llrintf): Likewise.
882 (llrint): Likewise.
883 (fmaxf): Likewise.
884 (fmax): Likewise.
885 (fminf): Likewise.
886 (fmin): Likewise.
887 (rint): Likewise.
888 (rintf): Likewise.
889 (ceil): Likewise.
890 (ceilf): Likewise.
891 (floor): Likewise.
892 (floorf): Likewise.
893 (nearbyint): Likewise.
894 (nearbyintf): Likewise.
895
896 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
897
898 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
899 non-default versions.
900
901 2012-06-11 Roland McGrath <roland@hack.frob.com>
902
903 [BZ #14218]
904 * manual/argp.texi (Argp): Reword argp_parse description slightly.
905
906 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
907
908 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
909 (FE_UPWARD, FE_DOWNWARD): Don't define.
910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
911 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
912
913 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
914 reading it.
915 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
917
918 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
919
920 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
923 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
924
925 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
926
927 [BZ #14117]
928 * sysdeps/i386/fpu/bits/fenv.h: Removed.
929 * sysdeps/i386/fpu/Implies: New file.
930 * sysdeps/x86_64/fpu/Implies: Likewise.
931 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
932 * sysdeps/x86/fpu/bits/fenv.h: This.
933
934 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
935 __SSE_MATH__.
936
937 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
938
939 [BZ #14134]
940 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
941 character 0xffff that matches the last element of the
942 conversion table.
943
944 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
947 fmodl commit.
948
949 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
950
951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
952 values higher than 25.6283.
953
954 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955
956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
957 subnormal exponent extraction and add some __builtin_expect.
958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
959 Fix for subnormal mantissa calculation.
960
961 2012-06-04 Mike Frysinger <vapier@gentoo.org>
962
963 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
964 cpu2 is -1 and errno is not ENOSYS.
965
966 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
967
968 [BZ #14117]
969 * sysdeps/i386/i486/bits/string.h: Renamed to ...
970 * sysdeps/x86/bits/string.h: This.
971 * sysdeps/x86_64/bits/string.h: Removed.
972
973 * sysdeps/i386/i486/bits/string.h: Define inline functions only
974 if not compiling for x86-64, but compiling for >= i486.
975
976 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
977 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
978
979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
980 New macro from Linux kernel 3.4.0.
981 (FP_XSTATE_MAGIC2): Likewise.
982 (FP_XSTATE_MAGIC2_SIZE): Likewise.
983 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
984 (struct _fpx_sw_bytes): New struct.
985 (struct _xsave_hdr): Likewise.
986 (struct _ymmh_state): Likewise.
987 (struct _xstate): Likewise.
988
989 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
990 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
992 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
993 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
994 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
995
996 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
997 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
998 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
999 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1000 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1001 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1002
1003 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1004
1005 [BZ #13743]
1006 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1007 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1008 (sysdep_headers): Include sys/platform/ppc.h.
1009 * sysdeps/powerpc/test-gettimebase.c: Test for
1010 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1011 * manual/Makefile (appendices): Include platform.texi.
1012 * manual/contrib.texi (Contributors): Update @node pointers.
1013 * manual/maint.texi (Maintenance): Likewise.
1014 (Platform): New node.
1015 * manual/platform.texi: New file. Document the new features.
1016
1017 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1018 Jakub Jelinek <jakub@redhat.com>
1019
1020 [BZ #14188]
1021 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1022 where __builtin_expect is unavailable.
1023
1024 2012-06-03 David S. Miller <davem@davemloft.net>
1025
1026 * stdlib/longlong.h: Updated from GCC.
1027
1028 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1029
1030 [BZ #14042]
1031 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1032 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1033 __mcount_internal.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1035 (GLIBC_2.16): Likewise.
1036
1037 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1040
1041 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1042
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1044 (default-abi): New variable.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1047 variable.
1048 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1051 Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1053 Likewise.
1054
1055 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1056 definition. Document in comment.
1057
1058 2012-06-01 David S. Miller <davem@davemloft.net>
1059
1060 * stdlib/longlong.h: Updated from GCC.
1061
1062 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 [BZ #14117]
1065 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1066 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1067 sys/debugreg.h sys/io.h here.
1068 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1069 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1070 sys/io.h.
1071 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1072 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1073 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1074 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1075 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1076 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1077
1078 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1079 Define only if __x86_64__ is defined.
1080
1081 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1082
1083 [BZ #14048]
1084 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1085 Use int64_t for variable i.
1086 * math/libm-test.inc (fmod_test): Add more tests.
1087
1088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1089 z computation is not scheduled after fetestexcept.
1090 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1091 Use math_force_eval instead of asm to ensure calculation scheduled
1092 before exception test.
1093 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1094 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1095
1096 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1097
1098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1099 computation is not scheduled after fetestexcept.
1100
1101 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 [BZ #14117]
1104 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1105 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1106
1107 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108
1109 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1110 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1111
1112 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 [BZ #14117]
1115 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1116 <bits/wordsize.h>.
1117 (__WCHAR_MIN): Support __WORDSIZE == 64.
1118 (__WCHAR_MAX): Likewise.
1119
1120 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1122
1123 [BZ #14183]
1124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1125 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1126
1127 [BZ #14117]
1128 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1129 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1130
1131 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1132 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1133
1134 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1135 Defined to 1 if __x86_64__ isn't defined.
1136 (_STAT_VER_LINUX_OLD): New.
1137 (st_atime): Remove duplicate.
1138 (st_mtime): Likewise.
1139 (st_ctime): Likewise.
1140
1141 2012-05-31 David S. Miller <davem@davemloft.net>
1142
1143 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1144 entries.
1145
1146 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1147
1148 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1149 gen-libm-test.pl.
1150
1151 [BZ #14132]
1152 * elf/dl-reloc.c: Include <_itoa.h>.
1153 (_dl_reloc_bad_type): Remove use of INTUSE.
1154 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1155 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1156 * stdio-common/psiginfo.c (psiginfo): Likewise.
1157 * stdio-common/psignal.c (psignal): Likewise.
1158 * string/strsignal.c (strsignal): Likewise.
1159 * include/signal.h (_sys_siglist): Declare hidden proto.
1160 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1161 INTVARDEF with libc_hidden_data_def.
1162 * stdio-common/itoa-udigits.c: Likewise.
1163 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1164 (_itoa_lower_digits_internal): Remove declaration.
1165 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1166 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1167 (_sys_sigabbrev_internal): Remove aliases.
1168 (_sys_siglist): Define hidden alias.
1169
1170 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1171
1172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1173 bits/sysctl.h.
1174
1175 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 [BZ #14117]
1178 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1179 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1180
1181 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1182 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1183 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1184 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1185 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1186 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1187
1188 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1190 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1191
1192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1193 with __addr.
1194 (insw): Likewise.
1195 (insl): Likewise.
1196 (outsb): Likewise.
1197 (outsw): Likewise.
1198 (outsl): Likewise.
1199
1200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1201 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1203
1204 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1205 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1207 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1208 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1209 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1210
1211 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1212 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1213
1214 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1215 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1216
1217 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1220
1221 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1222 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1223 to ...
1224 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1225
1226 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1227 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1228 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1229
1230 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1231 for x86-64.
1232 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1233
1234 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1235
1236 * math/math.h (M_El): Use two more decimal places.
1237 (M_LOG2El): Likewise.
1238 (M_LOG10El): Likewise.
1239 (M_LN2l): Likewise.
1240 (M_LN10l): Likewise.
1241 (M_PIl): Likewise.
1242 (M_PI_2l): Likewise.
1243 (M_PI_4l): Likewise.
1244 (M_1_PIl): Likewise.
1245 (M_2_PIl): Likewise.
1246 (M_2_SQRTPIl): Likewise.
1247 (M_SQRT2l): Likewise.
1248 (M_SQRT1_2l): Likewise.
1249
1250 2012-05-31 David S. Miller <davem@davemloft.net>
1251
1252 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1253 values between float registers.
1254 * sysdeps/sparc/sparc64/memset.S: Likewise.
1255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1256
1257 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1258
1259 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1260 -D_FORTIFY_SOURCE=1.
1261 (CPPFLAGS-tst-longjmp_chk.c): Define.
1262 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1263 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1264 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1265 CFLAGS-tst-wchar-h.c.
1266
1267 2012-05-31 Marek Polacek <polacek@redhat.com>
1268
1269 [BZ #14132]
1270 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1271 __endmntent_internal): Remove declaration.
1272 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1273 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1274 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1275
1276 2012-05-30 David S. Miller <davem@davemloft.net>
1277
1278 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1279 (___Q_simulate_exceptions): Use real FP ops rather than writing
1280 into the %fsr.
1281 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1282 Likewise.
1283
1284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 [BZ #14117]
1287 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1288 * sysdeps/x86/bits/xtitypes.h: This.
1289
1290 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1291 * sysdeps/x86/bits/wordsize.h: This.
1292
1293 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1294 * sysdeps/x86/bits/huge_vall.h: This.
1295
1296 * sysdeps/i386/bits/select.h: Removed.
1297 * sysdeps/x86_64/bits/select.h: Renamed to ...
1298 * sysdeps/x86/bits/select.h: This.
1299
1300 * sysdeps/i386/bits/setjmp.h: Removed.
1301 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1302 * sysdeps/x86/bits/setjmp.h: This.
1303
1304 * sysdeps/i386/bits/mathdef.h: Removed.
1305 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1306 * sysdeps/x86/bits/mathdef.h: This.
1307
1308 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1309
1310 [BZ #14132]
1311 * include/sys/socket.h (__connect_internal)
1312 (__libc_sa_len_internal): Remove declaration.
1313 (__connect, __libc_sa_len): Declare hidden_proto.
1314 (SA_LEN): Remove use of INTUSE.
1315 * socket/connect.c: Add libc_hidden_def.
1316 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1317 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1318 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1319 alias.
1320 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1322 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1323 of adding _internal alias.
1324
1325 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 [BZ #14117]
1328 * sysdeps/i386/bits/link.h: Removed.
1329 * sysdeps/i386/bits/linkmap.h: Likewise.
1330 * sysdeps/x86_64/bits/link.h: Renamed to ...
1331 * sysdeps/x86/bits/link.h: This.
1332 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1333 * sysdeps/x86/bits/linkmap.h: This.
1334
1335 * sysdeps/i386/bits/endian.h: Removed.
1336 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1337 * sysdeps/x86/bits/endian.h: This.
1338
1339 * sysdeps/i386/bits/byteswap.h: Removed.
1340 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1341 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1342 * sysdeps/x86/bits/byteswap.h: This.
1343 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1344 * sysdeps/x86/bits/byteswap-16.h: This.
1345 * sysdeps/i386/Implies: Add x86.
1346 * sysdeps/x86_64/Implies: Likewise.
1347
1348 2012-05-30 David S. Miller <davem@davemloft.net>
1349
1350 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1351 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1352 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1353 (FP_TRAPPING_EXCEPTIONS): Define.
1354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1355 (FP_TRAPPING_EXCEPTIONS): Define.
1356 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1357 subnormals only when inexact has been signalled or underflow
1358 exceptions are enabled.
1359 (_FP_PACK_CANONICAL): Likewise.
1360
1361 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 [BZ #14183]
1364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1365 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1366
1367 2012-05-30 Richard Henderson <rth@twiddle.net>
1368
1369 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1370 with #ifndef NOT_IN_libc.
1371
1372 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1373 marked to avoid plt entry.
1374
1375 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 [BZ #14112]
1378 * Makeconfig (default-abi): New macro.
1379 (abi-includes): Likewise.
1380 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1381 $(abi-$(default-abi)-lib-soname) for soname if defined.
1382 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1383 abi-variants.
1384 * Makefile (installed-stubs): Likewise.
1385 * include/stubs-biarch.h: Removed.
1386 * scripts/lib-names.awk: Only handle one library at a time.
1387 * scripts/soversions.awk: Remove WORDSIZE support.
1388 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1389 entries.
1390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1391 Removed.
1392 (syscall-list-default-condition): Likewise.
1393 (syscall-list-default-condition): Likewise.
1394 (syscall-list-includes): Likewise.
1395 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1396 syscall-list-* with abi-*. Handle undefined abi-variants.
1397 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1398 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1399 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1402 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1403 Removed.
1404 (syscall-list-32-options): Likewise.
1405 (syscall-list-32-condition): Likewise.
1406 (syscall-list-64-options): Likewise.
1407 (syscall-list-64-condition): Likewise.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1409 macro.
1410 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1411 Renamed to ...
1412 (abi-*): This.
1413 (abi-64-ld-soname): New macro.
1414 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1416 Renamed to ...
1417 (abi-*): This.
1418 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1419 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1420
1421 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1422
1423 * sysdeps/unix/sysv/linux/kernel-features.h
1424 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1425 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1426 include <kernel-features.h>.
1427 [!__NR_ftruncate64]: Remove conditional code.
1428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1429 [__NR_ftruncate64]: Make code unconditional.
1430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1431 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1432 include <kernel-features.h>.
1433 [!__NR_ftruncate64]: Remove conditional code.
1434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1435 [__NR_ftruncate64]: Make code unconditional.
1436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1438 include <kernel-features.h>.
1439 [!__NR_ftruncate64]: Remove conditional code.
1440 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1441 [__NR_ftruncate64]: Make code unconditional.
1442 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1444 include <kernel-features.h>.
1445 [!__NR_ftruncate64]: Remove conditional code.
1446 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1447 [__NR_ftruncate64]: Make code unconditional.
1448 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1449
1450 * configure.in (libc_cv_fpie): Weaken to a compile test using
1451 LIBC_TRY_CC_OPTION.
1452 * configure: Regenerated.
1453
1454 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1455
1456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1460 Refreshed.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1467 Refreshed.
1468
1469 2012-05-27 David S. Miller <davem@davemloft.net>
1470
1471 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1472 (___Q_zero): New.
1473 (__Q_simulate_exceptions): Return void. Change to simulate
1474 exceptions by writing into the %fsr.
1475 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1476 (__Qp_handle_exceptions): Likewise.
1477 (numbers): Delete.
1478 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1479 __Qp_handle_exceptions.
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1481 __Qp_handle_exceptions.
1482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1483 as unused and give dummy FP_RND_NEAREST initializer.
1484 (FP_INHIBIT_RESULTS): Define.
1485 (___Q_simulate_exceptions): Update declaration.
1486 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1487 formatting.
1488 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1489 as unused and give dummy FP_RND_NEAREST initializer.
1490 (__Qp_handle_exceptions): Update declaration.
1491 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1492 formatting.
1493
1494 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1495
1496 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1497 the temporary FPU control word.
1498 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1499 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1500 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1501 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1502 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1503 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1504 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1505 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1506 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1507 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1508 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1509
1510 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1511
1512 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1513 fields.
1514
1515 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1516
1517 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1518 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1519 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1523 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1524 Likewise.
1525
1526 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1527
1528 * po/h.po: Update from translation team.
1529
1530 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1531
1532 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1533
1534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1535 handling of denormals.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1537 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1538 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1543 Likewise.
1544
1545 2012-05-26 Marek Polacek <polacek@redhat.com>
1546
1547 [BZ #14152]
1548 * math/libm-test.inc (fma_test): Don't always expect underflow
1549 exception.
1550
1551 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1552
1553 [BZ #12416]
1554 * elf/tst-execstack.c: Include stackinfo.h.
1555 (do_test): Adjust test case to ensure that pthread_getattr_np
1556 behaviour remains the same after marking stack executable.
1557
1558 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1559
1560 * sysdeps/unix/sysv/linux/kernel-features.h
1561 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1562 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1563 kernel-features.h.
1564 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1565 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1566 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1567 kernel-features.h.
1568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1570
1571 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 * configure.in: Define the default includes to being none.
1574 * configure: Regenerated.
1575
1576 2012-05-25 Roland McGrath <roland@hack.frob.com>
1577
1578 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1579 * sysdeps/x86_64/setjmp.S: Likewise.
1580 * sysdeps/i386/bsd-setjmp.S: Likewise.
1581 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1582 * sysdeps/i386/setjmp.S: Likewise.
1583 * sysdeps/i386/__longjmp.S: Likewise.
1584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1586
1587 * include/stap-probe.h: New file.
1588 * configure.in: Handle --enable-systemtap.
1589 * configure: Regenerated.
1590 * config.h.in (USE_STAP_PROBE): New #undef.
1591 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1592 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1593 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1594
1595 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1596
1597 [BZ #13717]
1598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1599 to 2.4.0 where earlier.
1600 * sysdeps/unix/sysv/linux/configure: Regenerated.
1601 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1602 <kernel-features.h>.
1603 [__ASSUME_32BITUIDS]: Make code unconditional.
1604 [!__ASSUME_32BITUIDS]: Remove conditional code.
1605 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1606 <kernel-features.h>.
1607 [__ASSUME_32BITUIDS]: Make code unconditional.
1608 [!__ASSUME_32BITUIDS]: Remove conditional code.
1609 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1610 [__ASSUME_32BITUIDS]: Make code unconditional.
1611 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1612 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1613 <kernel-features.h>.
1614 [__ASSUME_32BITUIDS]: Make code unconditional.
1615 [!__ASSUME_32BITUIDS]: Remove conditional code.
1616 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1617 <kernel-features.h>.
1618 [__ASSUME_32BITUIDS]: Make code unconditional.
1619 [!__ASSUME_32BITUIDS]: Remove conditional code.
1620 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1621 <kernel-features.h>.
1622 [__ASSUME_32BITUIDS]: Make code unconditional.
1623 [!__ASSUME_32BITUIDS]: Remove conditional code.
1624 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1625 <kernel-features.h>.
1626 [__ASSUME_32BITUIDS]: Make code unconditional.
1627 [!__ASSUME_32BITUIDS]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1629 <kernel-features.h>.
1630 [__ASSUME_32BITUIDS]: Make code unconditional.
1631 [!__ASSUME_32BITUIDS]: Remove conditional code.
1632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1633 <kernel-features.h>.
1634 [__ASSUME_32BITUIDS]: Make code unconditional.
1635 [!__ASSUME_32BITUIDS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1637 <kernel-features.h>.
1638 [__ASSUME_32BITUIDS]: Make code unconditional.
1639 [!__ASSUME_32BITUIDS]: Remove conditional code.
1640 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1641 <kernel-features.h>.
1642 [__ASSUME_32BITUIDS]: Make code unconditional.
1643 [!__ASSUME_32BITUIDS]: Remove conditional code.
1644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1645 <kernel-features.h>.
1646 [__ASSUME_32BITUIDS]: Make code unconditional.
1647 [!__ASSUME_32BITUIDS]: Remove conditional code.
1648 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1649 <kernel-features.h>.
1650 [__ASSUME_32BITUIDS]: Make code unconditional.
1651 [!__ASSUME_32BITUIDS]: Remove conditional code.
1652 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1653 <kernel-features.h>.
1654 [__NR_setresgid] (__setresgid): Do not declare.
1655 [__ASSUME_32BITUIDS]: Make code unconditional.
1656 [!__ASSUME_32BITUIDS]: Remove conditional code.
1657 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1658 <kernel-features.h>.
1659 [__NR_setresuid] (__setresuid): Do not declare.
1660 [__ASSUME_32BITUIDS]: Make code unconditional.
1661 [!__ASSUME_32BITUIDS]: Remove conditional code.
1662 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1663 <kernel-features.h>.
1664 [__ASSUME_32BITUIDS]: Make code unconditional.
1665 [!__ASSUME_32BITUIDS]: Remove conditional code.
1666 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1667 <kernel-features.h>.
1668 [__ASSUME_32BITUIDS]: Make code unconditional.
1669 [!__ASSUME_32BITUIDS]: Remove conditional code.
1670 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1671 <kernel-features.h>.
1672 [__ASSUME_32BITUIDS]: Make code unconditional.
1673 [!__ASSUME_32BITUIDS]: Remove conditional code.
1674 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1675 <kernel-features.h>.
1676 [__ASSUME_32BITUIDS]: Make code unconditional.
1677 [!__ASSUME_32BITUIDS]: Remove conditional code.
1678 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1679 <kernel-features.h>.
1680 [__ASSUME_32BITUIDS]: Make code unconditional.
1681 [!__ASSUME_32BITUIDS]: Remove conditional code.
1682 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1683 <kernel-features.h>.
1684 [__ASSUME_32BITUIDS]: Make code unconditional.
1685 [!__ASSUME_32BITUIDS]: Remove conditional code.
1686 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1687 <kernel-features.h>.
1688 [__ASSUME_32BITUIDS]: Make code unconditional.
1689 [!__ASSUME_32BITUIDS]: Remove conditional code.
1690 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1691 <kernel-features.h>.
1692 [__ASSUME_32BITUIDS]: Make code unconditional.
1693 [!__ASSUME_32BITUIDS]: Remove conditional code.
1694 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1695 <kernel-features.h>.
1696 [__ASSUME_32BITUIDS]: Make code unconditional.
1697 [!__ASSUME_32BITUIDS]: Remove conditional code.
1698 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1699 <kernel-features.h>.
1700 [__ASSUME_32BITUIDS]: Make code unconditional.
1701 [!__ASSUME_32BITUIDS]: Remove conditional code.
1702 * sysdeps/unix/sysv/linux/kernel-features.h
1703 (__ASSUME_SETRESUID_SYSCALL): Remove.
1704 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1705 (__ASSUME_32BITUIDS): Likewise.
1706 (__ASSUME_LDT_WORKS): Likewise.
1707 (__ASSUME_O_DIRECTORY): Likewise.
1708 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1709 architecture but not kernel version.
1710 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1711 (__ASSUME_MMAP2_SYSCALL): Likewise.
1712 (__ASSUME_STAT64_SYSCALL): Likewise.
1713 (__ASSUME_IPC64): Likewise.
1714 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1715 <kernel-features.h>.
1716 [__ASSUME_32BITUIDS]: Make code unconditional.
1717 [!__ASSUME_32BITUIDS]: Remove conditional code.
1718 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1719 <kernel-features.h>.
1720 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1721 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1722 132096]: Remove conditional code.
1723 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1724 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1725 <kernel-features.h>.
1726 [__ASSUME_32BITUIDS]: Make code unconditional.
1727 [!__ASSUME_32BITUIDS]: Remove conditional code.
1728 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1729 <kernel-features.h>.
1730 [__ASSUME_32BITUIDS]: Make code unconditional.
1731 [!__ASSUME_32BITUIDS]: Remove conditional code.
1732 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1733 <kernel-features.h>.
1734 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1735 unconditional.
1736 (__setresgid): Do not declare.
1737 [__ASSUME_32BITUIDS]: Make code unconditional.
1738 [!__ASSUME_32BITUIDS]: Remove conditional code.
1739 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1740 <kernel-features.h>.
1741 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1742 unconditional.
1743 (__setresuid): Do not declare.
1744 [__ASSUME_32BITUIDS]: Make code unconditional.
1745 [!__ASSUME_32BITUIDS]: Remove conditional code.
1746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1747 <kernel-features.h>.
1748 [__ASSUME_32BITUIDS]: Make code unconditional.
1749 [!__ASSUME_32BITUIDS]: Remove conditional code.
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1751 <kernel-features.h>.
1752 [__ASSUME_32BITUIDS]: Make code unconditional.
1753 [!__ASSUME_32BITUIDS]: Remove conditional code.
1754
1755 2012-05-25 Richard Henderson <rth@twiddle.net>
1756
1757 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1758 dl_hwcap to ifunc resolver.
1759 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1760 elf_ifunc_invoke.
1761 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1762 dl_hwcap to ifunc resolver.
1763 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1764
1765 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1766
1767 [BZ #14153]
1768 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1769 for |x| <= 2**-26, not 2**-57.
1770 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1771 exception.
1772
1773 2012-05-24 Jeff Law <law@redhat.com>
1774
1775 * stdio-common/Makefile (tests): Add bug25.
1776 * stdio-common/bug25.c: New test.
1777
1778 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 [BZ #13576]
1781 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1782 multiple of MALLOC_ALIGNMENT in size.
1783 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1784
1785 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1786
1787 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1788 Require >= 256.
1789 (FILENAME_MAX): Use macro-int-constant.
1790 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1791 (_IOFBF): Use macro-int-constant.
1792 (_IOLBF): Likewise.
1793 (_IONBF): Likewise.
1794 (SEEK_CUR): Likewise.
1795 (SEEK_END): Likewise.
1796 (SEEK_SET): Likewise.
1797 (TMP_MAX): Likewise.
1798 (EOF): Use macro-int-constant. Require < 0.
1799 (NULL): Use macro-constant. Require == 0.
1800 (stdin): Require type to be FILE *.
1801 (stdout): Likewise.
1802 (stderr): Likewise.
1803 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1804 macro-int-constant.
1805 (EXIT_SUCCESS): Likewise.
1806 (NULL): Use macro-constant. Require == 0.
1807 (RAND_MAX): Use macro-int-constant.
1808 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1809 [C99-based standards] (strtof): Require function.
1810 [C99-based standards] (strtold): Likewise.
1811 [C99-based standards] (strtoll): Likewise.
1812 [C99-based standards] (strtoull): Likewise.
1813 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1814 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1815 [ISO || ISO99 || ISO11] (math.h): Likewise.
1816 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1817 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1819
1820 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1821
1822 [BZ #14132]
1823 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1824 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1825 * intl/dgettext.c (DCGETTEXT): Likewise.
1826 * intl/gettext.c (DCGETTEXT): Likewise.
1827 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1828 * posix/regex_internal.h (gettext): Likewise.
1829 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1830 Remove declaration.
1831 * include/argz.h (__argz_count_internal)
1832 (__argz_stringify_internal): Remove declaration.
1833 (__argz_count, __argz_stringify): Declare hidden proto.
1834 * intl/dcgettext.c: Remove use of INTDEF.
1835 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1836 * string/argz-stringify.c: Likewise.
1837 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1838 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1839 Declare hidden proto.
1840 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1841 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1842 Declare hidden proto.
1843 * include/stdio.h (__asprintf_internal): Don't declare.
1844 (__asprintf): Don't define as macro. Declare hidden proto.
1845 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1846 (__fsetlocking): Declare hidden proto.
1847 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1848 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1849 hidden proto.
1850 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1851 (_IO_setlinebuf): Remove use of INTUSE.
1852 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1853 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1854 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1855 Remove declaration.
1856 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1857 (_IO_do_flush): Remove use of INTUSE.
1858 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1859 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1860 (_IO_adjust_column, _IO_least_wmarker)
1861 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1862 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1863 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1864 (_IO_default_doallocate, _IO_wdefault_doallocate)
1865 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1866 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1867 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1868 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1869 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1870 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1871 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1872 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1873 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1874 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1875 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1876 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1877 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1878 proto.
1879 (_IO_flush_all_internal, _IO_adjust_column_internal)
1880 (_IO_default_uflow_internal, _IO_default_finish_internal)
1881 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1882 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1883 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1884 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1885 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1886 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1887 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1888 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1889 (_IO_file_close_internal, _IO_file_close_it_internal)
1890 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1891 (_IO_file_init_internal, _IO_file_attach_internal)
1892 (_IO_file_fopen_internal, _IO_file_read_internal)
1893 (_IO_file_sync_internal, _IO_file_seek_internal)
1894 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1895 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1896 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1897 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1898 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1899 (_IO_list_all_internal, _IO_link_in_internal)
1900 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1901 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1902 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1903 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1904 (_IO_do_write_internal, _IO_padn_internal)
1905 (_IO_getline_info_internal, _IO_getline_internal)
1906 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1907 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1908 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1909 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1910 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1911 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1912 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1913 with libc_hidden_ver, remove use of INTUSE.
1914 * libio/genops.c: Likewise.
1915 * libio/freopen.c: Likewise.
1916 * libio/freopen64.c: Likewise.
1917 * libio/iofclose.c: Likewise.
1918 * libio/iofdopen.c: Likewise.
1919 * libio/iofflush.c: Likewise.
1920 * libio/iofflush_u.c: Likewise.
1921 * libio/iofgets.c: Likewise.
1922 * libio/iofgets_u.c: Likewise.
1923 * libio/iofopen.c: Likewise.
1924 * libio/iofopncook.c: Likewise.
1925 * libio/iofread.c: Likewise.
1926 * libio/iofread_u.c: Likewise.
1927 * libio/ioftell.c: Likewise.
1928 * libio/iofwrite.c: Likewise.
1929 * libio/iogetline.c: Likewise.
1930 * libio/iogets.c: Likewise.
1931 * libio/iogetwline.c: Likewise.
1932 * libio/iopadn.c: Likewise.
1933 * libio/iopopen.c: Likewise.
1934 * libio/ioseekoff.c: Likewise.
1935 * libio/ioseekpos.c: Likewise.
1936 * libio/iosetbuffer.c: Likewise.
1937 * libio/iosetvbuf.c: Likewise.
1938 * libio/ioungetc.c: Likewise.
1939 * libio/ioungetwc.c: Likewise.
1940 * libio/iovdprintf.c: Likewise.
1941 * libio/iovsprintf.c: Likewise.
1942 * libio/iovsscanf.c: Likewise.
1943 * libio/memstream.c: Likewise.
1944 * libio/obprintf.c: Likewise.
1945 * libio/oldfileops.c: Likewise.
1946 * libio/oldiofclose.c: Likewise.
1947 * libio/oldiofdopen.c: Likewise.
1948 * libio/oldiofopen.c: Likewise.
1949 * libio/oldiopopen.c: Likewise.
1950 * libio/oldstdfiles.c: Likewise.
1951 * libio/putc.c: Likewise.
1952 * libio/setbuf.c: Likewise.
1953 * libio/setlinebuf.c: Likewise.
1954 * libio/stdfiles.c: Likewise.
1955 * libio/strops.c: Likewise.
1956 * libio/vasprintf.c: Likewise.
1957 * libio/vscanf.c: Likewise.
1958 * libio/vsnprintf.c: Likewise.
1959 * libio/vswprintf.c: Likewise.
1960 * libio/wfiledoalloc.c: Likewise.
1961 * libio/wfileops.c: Likewise.
1962 * libio/wgenops.c: Likewise.
1963 * libio/wmemstream.c: Likewise.
1964 * libio/wstrops.c: Likewise.
1965 * libio/__fpurge.c: Likewise.
1966 * libio/__fsetlocking.c: Likewise.
1967 * assert/assert.c: Likewise.
1968 * debug/fgets_chk.c: Likewise.
1969 * debug/fgets_u_chk.c: Likewise.
1970 * debug/fread_chk.c: Likewise.
1971 * debug/fread_u_chk.c: Likewise.
1972 * debug/gets_chk.c: Likewise.
1973 * debug/obprintf_chk.c: Likewise.
1974 * debug/vasprintf_chk.c: Likewise.
1975 * debug/vdprintf_chk.c: Likewise.
1976 * debug/vsnprintf_chk.c: Likewise.
1977 * debug/vsprintf_chk.c: Likewise.
1978 * malloc/mtrace.c: Likewise.
1979 * misc/error.c: Likewise.
1980 * misc/syslog.c: Likewise.
1981 * stdio-common/asprintf.c: Likewise.
1982 * stdio-common/fxprintf.c: Likewise.
1983 * stdio-common/getw.c: Likewise.
1984 * stdio-common/isoc99_fscanf.c: Likewise.
1985 * stdio-common/isoc99_scanf.c: Likewise.
1986 * stdio-common/isoc99_vfscanf.c: Likewise.
1987 * stdio-common/isoc99_vscanf.c: Likewise.
1988 * stdio-common/isoc99_vsscanf.c: Likewise.
1989 * stdio-common/printf-prs.c: Likewise.
1990 * stdio-common/printf_fp.c: Likewise.
1991 * stdio-common/printf_fphex.c: Likewise.
1992 * stdio-common/printf_size.c: Likewise.
1993 * stdio-common/putw.c: Likewise.
1994 * stdio-common/scanf.c: Likewise.
1995 * stdio-common/sprintf.c: Likewise.
1996 * stdio-common/tmpfile.c: Likewise.
1997 * stdio-common/vfprintf.c: Likewise.
1998 * stdio-common/vfscanf.c: Likewise.
1999 * stdlib/strfmon_l.c: Likewise.
2000 * sunrpc/openchild.c: Likewise.
2001 * sunrpc/xdr_stdio.c: Likewise.
2002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2003 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2004
2005 2012-05-24 Roland McGrath <roland@hack.frob.com>
2006
2007 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2008
2009 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2010 in the third column, to generate for the shared library an IFUNC
2011 that uses _dl_vdso_vsym.
2012 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2013 * Makeconfig (object-suffixes-noshared): New variable.
2014
2015 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2016 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2017 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2018 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2019
2020 [BZ #14132]
2021 * include/sys/time.h (__gettimeofday): Remove macro.
2022 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2023 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2024 Remove INTDEF.
2025 (__gettimeofday): Add libc_hidden_def.
2026 (gettimeofday): Add libc_hidden_weak.
2027 * sysdeps/mach/gettimeofday.c: Likewise.
2028 * sysdeps/posix/gettimeofday.c: Likewise.
2029 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2030 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2032 (__gettimeofday_internal): Remove strong_alias.
2033 (__gettimeofday): Add libc_hidden_def.
2034 (gettimeofday): Add libc_hidden_weak.
2035 * sysdeps/unix/syscalls.list (gettimeofday):
2036 Remove __gettimeofday_internal alias.
2037
2038 2012-05-24 Daniel Jacobowitz <drow@false.org>
2039 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 [BZ #12495]
2042 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2043 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2044 (largebin_index_32_big): New.
2045 (largebin_index): Use it for 16-byte alignment.
2046 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2047 correction with front_misalign.
2048
2049 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2053 Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2057 Likewise.
2058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2059 Likewise.
2060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2063 Likewise.
2064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2065 Likewise.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2067 Likewise.
2068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2069 Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2071 Likewise.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2073 Likewise.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2075 Likewise.
2076
2077 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2078 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2079
2080 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #10846]
2083 [BZ #14036]
2084 * math/libm-test.inc (exp_test): Add test from bug 14036.
2085 (pow_test): Add test from bug 10846.
2086
2087 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2088 and other flags.
2089 (special_function): Do not include flags in test name.
2090 (parse_args): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2093 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2094 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2096
2097 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2098 exceptions.
2099 * math/libm-test.inc ("Philosophy"): Update comment about
2100 exception testing.
2101 (UNDERFLOW_EXCEPTION): New macro.
2102 (UNDERFLOW_EXCEPTION_OK): Likewise.
2103 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2104 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2105 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2106 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2107 (INVALID_EXCEPTION_OK): Update value.
2108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2109 (OVERFLOW_EXCEPTION_OK): Likewise.
2110 (IGNORE_ZERO_INF_SIGN): Likewise.
2111 (test_exceptions): Handle underflow exceptions.
2112 (acos_test): Update for underflow exception expectations.
2113 (cexp_test): Likewise.
2114 (clog_test): Likewise.
2115 (clog10_test): Likewise.
2116 (csqrt_test): Likewise.
2117 (ctan_test): Likewise.
2118 (ctanh_test): Likewise.
2119 (exp_test): Likewise.
2120 (exp10_test): Likewise.
2121 (exp2_test): Likewise.
2122 (expm1_test): Likewise.
2123 (fma_test): Likewise.
2124 (j0_test): Likewise.
2125 (jn_test): Likewise.
2126 (nexttoward_test): Likewise.
2127 (pow_test): Likewise.
2128 (scalbn_test): Likewise.
2129 (scalbln_test): Likewise.
2130 (tan_test): Likewise.
2131 (y1_test): Likewise.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
2135 2012-05-23 David S. Miller <davem@davemloft.net>
2136
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2138 (__libc_sigaction): Remove unused local variables.
2139
2140 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2143
2144 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2145
2146 mktime: avoid signed integer overflow
2147 * time/mktime.c (__mktime_internal): Do not mishandle the case
2148 where diff == INT_MIN.
2149
2150 mktime: simplify computation of average
2151 * time/mktime.c (ranged_convert): Use new time_t_avg function
2152 instead of rolling our own (probably-slower) code.
2153
2154 mktime: do not assume signed right shift propagates sign bit
2155 * time/mktime.c (isdst_differ): New static function.
2156 (__mktime_internal): No need to normalize tm_isdst now.
2157 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2158 tm_isdst values.
2159
2160 mktime: merge another wrapv change from gnulib
2161 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2162 from some compilers.
2163
2164 mktime: remove incorrect attempt at unusual arithmetics
2165 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2166 The code didn't really work on such machines anyway.
2167 (TYPE_MINIMUM): Assume two's complement.
2168 (twos_complement_arithmetic): Verify that long_int and time_t
2169 are two's complement (or unsigned, in the latter case).
2170
2171 mktime: check signed shifts on long_int and time_t, too
2172 * time/mktime.c (SHR): Check that shifts work as desired
2173 on the types long_int and time_t too, as SHR is used on
2174 such types.
2175
2176 mktime: do not assume 'long' is wide enough
2177 * time/mktime.c (verify): Move decl up.
2178 (long_int): New type.
2179 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2180 to remove assumption in the code that 'long' is wide enough to
2181 store year values. This assumption is not true on x32 and on
2182 some non-glibc platforms.
2183
2184 mktime: merge wrapv change from gnulib
2185 * time/mktime.c (WRAPV): New macro.
2186 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2187 (guess_time_tm, __mktime_internal): Do not assume that signed
2188 integer overflow wraps around; modern compilers generate code
2189 where this assumption is no longer valid.
2190
2191 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2194 Replace "jmp L(pseudo_end)" with "ret".
2195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2196 Likewise.
2197
2198 2012-05-23 Andreas Jaeger <aj@suse.de>
2199
2200 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2201 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2202
2203 2012-05-23 Andreas Jaeger <aj@suse.de>
2204 Maximilian Attems <max@stro.at>
2205
2206 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2207 New macros.
2208
2209 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2210
2211 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2212 code so that pseudo_end is just ret and the stack pointer is
2213 correct also for static library in error case.
2214
2215 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2216
2217 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2218 move to syscalls.list.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2223
2224 * manual/install.texi (Running make install): Do not mention Linux
2225 kernel version for which pt_chown is not needed.
2226 (Linux): Do not mention problems with nscd with 2.0 kernels.
2227 * INSTALL: Regenerated.
2228
2229 2012-05-23 Andreas Jaeger <aj@suse.de>
2230
2231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2232 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2233 macro.
2234 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2236 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2238 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2244 * sysdeps/unix/sysv/linux/bits/in.h
2245 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2246
2247 2012-05-22 Roland McGrath <roland@hack.frob.com>
2248
2249 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2250 (PREPARE_VERSION): Just use assert instead, it will be elided
2251 under [NDEBUG] anyway.
2252
2253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 * sysdeps/unix/sysv/linux/Makefile: Include
2256 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2257 (sysdep_routines): Remove sysctl.
2258 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2259 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2262 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2263
2264 2012-05-22 Andreas Jaeger <aj@suse.de>
2265
2266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2267 that pseudo_end is just ret and the stack pointer is correct also
2268 for static library in error case.
2269
2270 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2271
2272 [BZ #14122]
2273 * nss/nsswitch.c (defconfig_entries): New variable.
2274 (__nss_database_lookup): Don't leak defconfig entries.
2275 (nss_parse_service_list): Don't leak on error paths.
2276 (free_database_entries): New function.
2277 (free_defconfig): New function.
2278 (free_mem): Move common code to free_database_entries.
2279
2280 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2283 Add arch_prctl.
2284 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2285
2286 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2287 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2289 New macro.
2290 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2291 (INTERNAL_SYSCALL_TYPES): Likewise.
2292 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2293 (LOAD_REGS_TYPES_[1-6]): Likewise.
2294 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2295 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2296
2297 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298
2299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2300 copysignl for GLIBC_2_0.
2301 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2302 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2304 logbl for GLIBC_2_0.
2305 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2307
2308 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2311 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2312
2313 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2314 Use "neg %eax".
2315
2316 * time/mktime.c: Update copyright years.
2317
2318 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2319
2320 mktime: merge comment-quoting-style change from gnulib
2321 * time/mktime.c: Quote 'like this' in comments.
2322 The GNU coding standards suggest that we no longer quote `like this',
2323 as "`" and "'" are typically rendered asymmetrically nowadays.
2324 The typical gnulib style is to quote 'like this' when quoting
2325 code, and "like this" when quoting English.
2326
2327 * time/mktime.c (compile-command): Add "-I.".
2328
2329 mktime: merge mktime-internal.h change from gnulib
2330 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2331
2332 mktime: merge time_r change from gnulib
2333 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2334
2335 mktime: merge DEBUG change from gnulib
2336 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2337 case system <time.h> has a #define.
2338
2339 mktime: merge <sys/types.h> change from gnulib
2340 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2341 since <time.t> is now guaranteed to define time_t.
2342
2343 mktime: merge HAVE_CONFIG_H change from gnulib
2344 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2345
2346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2349 Use "neg %eax".
2350
2351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2352 __rlim_t cast.
2353 (struct rusage): Use anonymous union to pad each field to
2354 __syscall_slong_t.
2355
2356 2012-05-21 David S. Miller <davem@davemloft.net>
2357
2358 * Makefules (o-iterator): Remove .s cases.
2359 (compile-command.s): Delete.
2360 (COMPILE.s): Delete.
2361 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2362
2363 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2364
2365 * configure.in (libc_cv_predef_stack_protector): Only consider
2366 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2367 * configure: Regenerated.
2368
2369 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2372 New macro. Use R*LP on int and pointer.
2373 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2377
2378 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2379 [__WORDSIZE_TIME64_COMPAT32] instead of
2380 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2381 (struct utmp): Likewise.
2382 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2383 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2384 Renamed to ...
2385 (__WORDSIZE_TIME64_COMPAT32): This.
2386 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2387 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2388 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2390 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2391 (__WORDSIZE_TIME64_COMPAT32): New macro.
2392
2393 2012-05-21 Andreas Jaeger <aj@suse.de>
2394
2395 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2396 only if [SHARED]. Add prototype for __wcschr_ia32.
2397
2398 2012-05-21 Roland McGrath <roland@hack.frob.com>
2399
2400 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2401 of %rbp unmolested in the jmp_buf while mangling the low bits.
2402 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2403 unmolested high bits of %rbp while demangling the low bits.
2404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2405
2406 2012-05-21 Andreas Jaeger <aj@suse.de>
2407
2408 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2409 * sunrpc/svc_simple.c: Use it for registerrpc.
2410 * sunrpc/xcrypt.c: Use it for passwd2des.
2411
2412 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2413
2414 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2417 Don't define if [__SYSCALL_WORDSIZE != 32].
2418 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2419 New macro.
2420
2421 2012-05-21 Bruno Haible <bruno@clisp.org>
2422 Andreas Jaeger <aj@suse.de>
2423
2424 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2425 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2426 inptr and inend for must_buffer_ch.
2427 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2428 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2429 * stdio-common/Makefile (tests): Remove bug15.
2430 (bug15-ENV): Remove macro.
2431 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2432 anymore.
2433
2434 2012-05-19 Andreas Jaeger <aj@suse.de>
2435 Roland McGrath <roland@hack.frob.com>
2436
2437 * manual/contrib.texi: Completely rewritten. It contains now an
2438 alphabetical list of contributors and their contributions.
2439
2440 2012-05-21 Richard Henderson <rth@twiddle.net>
2441
2442 * misc/getauxval.c (__getauxval): Use unsigned long int.
2443 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2444 (getauxval): Use unsigned long int.
2445
2446 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2447
2448 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2449
2450 2012-05-21 Roland McGrath <roland@hack.frob.com>
2451
2452 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2453 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2454 __alignof__ (long double).
2455
2456 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2457
2458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2459
2460 2012-05-20 Richard Henderson <rth@twiddle.net>
2461
2462 * misc/getauxval.c: New file.
2463 * misc/sys/auxv.h: New file.
2464 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2465 (routines): Add getauxval.
2466 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2467 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2468 * elf/dl-sysdep.c (_dl_auxv): Remove.
2469 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2470 * elf/dl-support.c (_dl_auxv): New variable.
2471 (_dl_aux_init): Initialize it.
2472 * manual/startup.texi (Auxiliary Vector): New node.
2473 * sysdeps/generic/bits/hwcap.h: New file.
2474 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2475 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2476 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2477 * sysdeps/sparc/sysdep.h: ... here. Include it.
2478 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2481 Update.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2490
2491 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2494
2495 2012-05-19 David S. Miller <davem@davemloft.net>
2496
2497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2498
2499 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2500
2501 [BZ #14123]
2502 * math/s_ccosh.c: Include <float.h>
2503 (__ccosh): Avoid internal overflow calculating sinh and cosh
2504 values before multiplying by sin and cos values.
2505 * math/s_ccoshf.c: Likewise.
2506 * math/s_ccoshl.c: Likewise.
2507 * math/s_csin.c: Likewise.
2508 * math/s_csinf.c: Likewise.
2509 * math/s_csinl.c: Likewise.
2510 * math/s_csinh.c: Likewise.
2511 * math/s_csinhf.c: Likewise.
2512 * math/s_csinhl.c: Likewise.
2513 * math/libm-test.inc (ccos_test): Add more tests.
2514 (ccosh_test): Likewise.
2515 (csin_test): Likewise.
2516 (csinh_test): Likewise.
2517 * sysdeps/i386/fpu/libm-test-ulps: Update.
2518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2519
2520 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2521
2522 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2523 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2524
2525 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2526
2527 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2528
2529 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2530 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2531 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2532 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2533 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2534 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2535 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2536 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2537 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2538 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2539 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2540 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2541 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2542 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2543 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2544 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2545 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2546 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2547 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2548 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2549 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2550 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2551 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2552 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2553 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2554 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2555 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2556 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2557 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2558 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2559 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2560
2561 2012-05-18 Andreas Jaeger <aj@suse.de>
2562
2563 * csu/.gitignore: Delete.
2564
2565 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2568 (timex): Use __syscall_slong_t.
2569
2570 2012-05-18 Andreas Jaeger <aj@suse.de>
2571 Carlos O'Donell <carlos_odonell@mentor.com>
2572
2573 * manual/install.texi (Configuring and compiling): Update
2574 description about files modified in the source directory.
2575 * INSTALL: Regenerated.
2576
2577 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2580 value. Use "or" to set return value to -1.
2581 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2582 negate return value.
2583
2584 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2585
2586 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2587 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2588 failure if the compiler has Graphite support disabled.
2589 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2590 Likewise.
2591 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2592 CFLAGS-memmove.c): Likewise.
2593 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2594 Likewise.
2595
2596 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2597
2598 * sysdeps/x86_64/x32/_itoa.h: New file.
2599
2600 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2601 getdents system call only if kernel and user dirents have the
2602 same d_ino and d_off.
2603
2604 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2605 LLONG_MAX != LONG_MAX.
2606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2607 (_fitoa_word): Likewise.
2608
2609 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2610 years.
2611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2614
2615 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2616 include <bits/wordsize.h>. Check __x86_64__ instead of
2617 __WORDSIZE.
2618 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2619 if __x86_64__ is defined. Use anonymous union on fpstate.
2620
2621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2622 anonymous union.
2623
2624 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2625
2626 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2627 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2628 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2629 Refer to _rtld_local_ro instead of _rtld_global_ro.
2630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2631 Likewise.
2632 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2633 Likewise.
2634 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2635 Likewise.
2636 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2637 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2638 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2639
2640 * sysdeps/powerpc/powerpc32/dl-machine.c
2641 (__elf_machine_runtime_setup) [PROF]: Don't reference
2642 _dl_prof_resolve.
2643
2644 2012-05-18 Andreas Jaeger <aj@suse.de>
2645
2646 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2647 function only available for GCCs before 3.4 since GCC 3.4
2648 introduced a builtin.
2649 (lrint): Likewise.
2650 (llrintf): Likewise.
2651 (llrint): Likewise.
2652 (fmaxf): Likewise.
2653 (fmax): Likewise.
2654 (fminf): Likewise.
2655 (fmin): Likewise.
2656 (rint): Likewise.
2657 (rintf): Likewise.
2658 (nearbyint): Likewise.
2659 (nearbyintf): Likewise.
2660 (ceil): Likewise.
2661 (ceilf): Likewise.
2662 (floor): Likewise.
2663 (floorf): Likewise.
2664
2665 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2668 on both fields and cast pointer to __syscall_ulong_t.
2669
2670 * bits/types.h (__fsword_t): New type.
2671 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2672 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2674 (__FSWORD_T_TYPE): Likewise.
2675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2676 (__FSWORD_T_TYPE): Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2678 (__FSWORD_T_TYPE): Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2680 (__FSWORD_T_TYPE): Likewise.
2681 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2682 __SWORD_TYPE with __fsword_t.
2683 (statfs64): Likewise.
2684
2685 2012-05-17 David S. Miller <davem@davemloft.net>
2686
2687 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2688
2689 2012-05-17 Andreas Jaeger <aj@suse.de>
2690
2691 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2692 warning.
2693
2694 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2697
2698 2012-05-17 Andreas Jaeger <aj@suse.de>
2699
2700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2701 when it is used.
2702
2703 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2704
2705 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2706
2707 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2708
2709 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2710 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2711
2712 2012-05-17 Andreas Jaeger <aj@suse.de>
2713 Carlos O'Donell <carlos_odonell@mentor.com>
2714
2715 [BZ #14059]
2716 * sysdeps/x86_64/multiarch/init-arch.h
2717 (bit_YMM_Usable): Rename to...
2718 (bit_AVX_Usable): ... this.
2719 (bit_FMA4_Usable): New macro.
2720 (bit_XMM_state): New macro.
2721 (bit_YMM_state): New macro.
2722 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2723 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2724 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2725 (CPUID_OSXSAVE): New macro.
2726 (CPUID_AVX): New macro.
2727 (CPUID_FMA4): New macro.
2728 (index_YMM_Usable): Rename to...
2729 (index_AVX_Usable): ... this.
2730 (HAS_AVX): Use HAS_ARCH_FEATURE.
2731 (HAS_FMA4): Likewise.
2732 (HAS_YMM_USABLE): Remove.
2733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2734 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2735 are present.
2736 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2737 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2738 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2739 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2740 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2741
2742 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2743
2744 * math/libm-test.c: Support platforms without multiple rounding modes.
2745 * math/bug-nextafter.c: Support platforms without FP exceptions.
2746 * math/bug-nexttoward.c: Likewise.
2747 * math/test-fenv.c: Likewise.
2748 * math/test-misc.c: Likewise.
2749 * stdlib/bug-getcontext.c: Likewise.
2750
2751 2012-05-17 Andreas Jaeger <aj@suse.de>
2752
2753 * manual/examples/search.c (critter_cmp): Change signature to
2754 avoid warnings.
2755 * manual/string.texi (Collation Functions): Likewise.
2756
2757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * bits/types.h: Fold copyright years.
2760 * bits/typesizes.h: Likewise.
2761 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2765 * time/time.h: Likewise.
2766
2767 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2768
2769 [BZ #208]
2770 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2771 in instead of returning them. Return void.
2772 (__libc_mallinfo): Accumulate over all arenas.
2773 (__malloc_stats): Adjust for change in int_mallinfo interface.
2774
2775 2012-05-16 Roland McGrath <roland@hack.frob.com>
2776
2777 [BZ #10375]
2778 * configure.in (NM): Add AC_CHECK_TOOL for it.
2779 (libc_extra_cflags): New substituted variable.
2780 Check for -fstack-protector being used implicitly.
2781 * configure: Regenerated.
2782 * config.make.in (config-extra-cflags): New variable,
2783 gets @libc_extra_cflags@.
2784 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2785
2786 [BZ #10375]
2787 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2788 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2789 * configure: Regenerated.
2790 * config.make.in (CPPUNDEFS): New substituted variable.
2791 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2792 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2793 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2794
2795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2796
2797 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2798 (mq_attr): Use __syscall_slong_t.
2799
2800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2803 Check __x86_64__ instead of __WORDSIZE.
2804 (_STAT_VER_LINUX): Likewise.
2805 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2806 __syscall_ulong_t and __syscall_slong_t.
2807 (stat64): Likewise.
2808
2809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2810
2811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2812
2813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2816
2817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2820 __syscall_ulong_t.
2821
2822 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2823 include <bits/wordsize.h>. Check __x86_64__ instead of
2824 __WORDSIZE.
2825 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2826 defined.
2827 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2828
2829 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2830 include <bits/wordsize.h>. Check __x86_64__ instead of
2831 __WORDSIZE.
2832 (user_regs_struct): Use "__extension__ unsigned long long"
2833 instead of "unsigned long" if __x86_64__ is defined.
2834 (user): Likewise. Pad after pointer field if __ILP32__ is
2835 defined.
2836
2837 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2838
2839 * configure.in (makeinfo): Require version 4.5 or later. Allow
2840 versions 5 to 9.
2841 * configure: Regenerated.
2842 * manual/install.texi (texinfo): Increase version requirement to
2843 4.5 or later.
2844 * INSTALL: Regenerated.
2845
2846 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2847
2848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2851
2852 * sysdeps/x86_64/x32/ffs.c: New file.
2853
2854 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2855 __syscall_ulong_t.
2856 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2857 defined. Use __syscall_ulong_t.
2858 (shminfo): Use __syscall_ulong_t.
2859 (shm_info): Likewise.
2860
2861 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2862 __syscall_ulong_t.
2863
2864 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2865 <bits/wordsize.h>.
2866 (msgqnum_t): Use __syscall_ulong_t.
2867 (msglen_t): Likewise.
2868 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2869 __syscall_ulong_t.
2870
2871 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2872 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2873
2874 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2875
2876 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2877 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2878
2879 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2880 __syscall_slong_t.
2881
2882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2883 include <bits/wordsize.h>. Check __x86_64__ instead of
2884 __WORDSIZE.
2885
2886 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2887 "unsigned long long int" if __x86_64__ is defined.
2888 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2889
2890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2892 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2893
2894 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2895 <stdint.h>.
2896 (GET_PC): Cast to uintptr_t first.
2897 (GET_FRAME): Likewise.
2898 (GET_STACK): Likewise.
2899
2900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2908 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2912 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2916 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2918 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2929
2930 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2931
2932 * Makerules (+depfiles): Also collect depfiles from .oS in
2933 $(extra-objs).
2934 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2935 .oS, $(libnldbl-routines)).
2936
2937 * Makerules (native-compile-mkdep-flags): Define.
2938 * sunrpc/Makefile (extra-objs): Add $(addprefix
2939 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2940 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2941 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2942 calling $(make-target-directory).
2943
2944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 * bits/types.h (__snseconds_t): Removed.
2947 * time/time.h (struct timespec): Replace __snseconds_t with
2948 __syscall_slong_t.
2949 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2950 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2951 Likewise.
2952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2953 (__SNSECONDS_T_TYPE): Likewise.
2954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2955 (__SNSECONDS_T_TYPE): Likewise.
2956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2957 (__SNSECONDS_T_TYPE): Likewise.
2958
2959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * sysdeps/mach/hurd/bits/typesizes.h
2962 (__SYSCALL_SLONG_TYPE): New macro.
2963 (__SYSCALL_ULONG_TYPE): Likewise.
2964
2965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 * bits/types.h (__syscall_slong_t): New type.
2968 (__syscall_ulong_t): Likewise.
2969
2970 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2971 (__SYSCALL_ULONG_TYPE): Likewise.
2972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2973 (__SYSCALL_SLONG_TYPE): Likewise.
2974 (__SYSCALL_ULONG_TYPE): Likewise.
2975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2976 (__SYSCALL_SLONG_TYPE): Likewise.
2977 (__SYSCALL_ULONG_TYPE): Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2979 (__SYSCALL_SLONG_TYPE): Likewise.
2980 (__SYSCALL_ULONG_TYPE): Likewise.
2981
2982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2985 Add sigaltstack-offsets.sym.
2986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2987 <sigaltstack-offsets.h>.
2988 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2989 longjmp_msg pointer.
2990 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2991 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2992 signal stack.
2993 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2994
2995 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2996
2997 * elf/stackguard-macros.h: Remove file.
2998 * sysdeps/generic/stackguard-macros.h: New file.
2999 * sysdeps/i386/stackguard-macros.h: Likewise.
3000 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3001 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3002 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3003 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3004 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3005 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3006 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3007 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3008 <elf/stackguard-macros.h>.
3009
3010 [BZ #14109]
3011 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3012 __aligned__ in attribute.
3013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3014 (gregset_t): Likewise.
3015
3016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3019 * sysdeps/x86_64/64/Implies-after: Here. New file.
3020 * sysdeps/x86_64/x32/Implies-after: New file.
3021
3022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3025 and access return value for _dl_profile_fixup. Use R10_LP to
3026 load frame size.
3027
3028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3029
3030 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3031
3032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3035 * sysdeps/x86_64/x32/sysdep.h: New file.
3036
3037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3040 * sysdeps/x86_64/setjmp.S: Likewise.
3041
3042 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043
3044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3046 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3047 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3048 remove unused global constant.
3049
3050 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3051
3052 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3053 include of <not-cancel.h>.
3054
3055 2012-05-15 Roland McGrath <roland@hack.frob.com>
3056
3057 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3058
3059 2012-05-15 Jeff Law <law@redhat.com>
3060 Andreas Jaeger <aj@suse.de>
3061
3062 [BZ #13594]
3063 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3064 out from...
3065 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3066 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3067 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3068 code changing __hst_map_handle.map.
3069
3070 2012-05-15 Roland McGrath <roland@hack.frob.com>
3071
3072 * configure.in (sysnames): Look for Implies-before and Implies-after
3073 files.
3074 * configure: Regenerated.
3075
3076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3079 8-byte data alignment with LP_SIZE alignment.
3080
3081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3084 into R10_LP.
3085
3086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3089
3090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3091
3092 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3095 Likewise.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3097
3098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3101 (stackinfo_sub_sp): Likewise.
3102
3103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3104
3105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3106 RAX_LP.
3107
3108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3109
3110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3111 into R*_LP.
3112
3113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3116 sizes into R*_LP.
3117
3118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3121
3122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3125 into R11_LP and load __x86_64_shared_cache_size_half into
3126 R8_LP.
3127
3128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3131 R8_LP.
3132
3133 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134
3135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3136 logb for POWER7.
3137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3138 logbf for POWER7.
3139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3140 logbl for POWER7.
3141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3142 powerpc32/power7/fpu/s_logb.c via #include.
3143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3144 powerpc32/power7/fpu/s_logbf.c via #include.
3145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3146 powerpc32/power7/fpu/s_logbl.c via #include.
3147
3148 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3149
3150 * README.libm: Remove file.
3151
3152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3153
3154 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3155 count for x32. Use R*_LP and omit operand-size suffix.
3156
3157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3160 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3161 * sysdeps/x86_64/x32/shlib-versions: New file.
3162
3163 2012-05-14 Roland McGrath <roland@hack.frob.com>
3164
3165 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3166 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3167 Use _dl_fatal_printf instead.
3168
3169 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3172 set if not set by the user. Do not allow for being unset.
3173 * sysdeps/unix/sysv/linux/configure: Regenerated.
3174
3175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3176
3177 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3178 the `q' suffix from lea and replace .quad with ASM_ADDR.
3179
3180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3183 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3184 instead of $17.
3185 (PTR_DEMANGLE): Likewise.
3186
3187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3190 (LP_OP): Likewise.
3191 (ASM_ADDR): Likewise.
3192 (RAX_LP): Likewise.
3193 (RBP_LP): Likewise.
3194 (RBX_LP): Likewise.
3195 (RCX_LP): Likewise.
3196 (RDI_LP): Likewise.
3197 (RSI_LP): Likewise.
3198 (RSP_LP): Likewise.
3199 (R8_LP): Likewise.
3200 (R9_LP): Likewise.
3201 (R10_LP): Likewise.
3202 (R10_LP): Likewise.
3203 (R11_LP): Likewise.
3204 (R12_LP): Likewise.
3205 (R13_LP): Likewise.
3206 (R14_LP): Likewise.
3207 (R15_LP): Likewise.
3208
3209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3210
3211 * sysdeps/x86_64/x32/dl-machine.h: New file.
3212
3213 2012-05-14 Andreas Jaeger <aj@suse.de>
3214
3215 * manual/Makefile (subdir): Remove export of subdir.
3216 (all): Remove target.
3217 (.PHONY): Remove all from list.
3218 (mkinstalldirs): Remove.
3219 (.PHONY): Remove installdirs from list.
3220 ($(inst_infodir)/libc.info): Use make-target-directory.
3221 (installdirs): Remove.
3222 (subdir_%): Remove.
3223 (glibc-targets): Remove.
3224 (lib): Remove.
3225 (stubs): Remove.
3226 ($(objpfx)stubs ../po/manual.pot): Remove.
3227 ($(objpfx)stamp%): Remove.
3228 (make-target-directory): Remove.
3229 (subdir_install): Remove.
3230 (routines): Remove.
3231 (aux): Remove.
3232 (sources): Remove.
3233 (objects): Remove.
3234 (headers): Remove.
3235
3236 [BZ #13750]
3237 * manual/.gitignore: Remove, it's not needed anymore.
3238 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3239 all files in it.
3240 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3241 directory.
3242 (texis): Renamed to $(objpfx)texis.
3243 (texis-path): New, contains path to generated files.
3244 (chapters.%): Use texis-path for complete path, add extra argument
3245 libc-texinfo.sh.
3246 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3247 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3248 (summary,texi, stamp-summary): Use complete path of
3249 files. Generate files in build dir.
3250 (dir-add.texi): Build in build dir.
3251 (libm-err.texi,stamp-libm-err): Likewise.
3252 (version.texi, stamp-version): Likewise.
3253 (.%c.texi): Likewise.
3254 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3255 (mostlyclean): Remove target.
3256 (realclean): Remove target.
3257 (generated): Add new variable with contents from mostlyclean and
3258 realclean, remove entries duplicated in common-mostlyclean, add
3259 stamp-libm-err and stamp-version.
3260 (generated-dirs): Add libc directory.
3261 ($(inst_infodir)/libc.info): Install files from build dir.
3262
3263 * manual/install.texi (Configuring and compiling): Adjust since
3264 the info files are not part of the tar ball anymore.
3265
3266 2012-05-14 Andreas Jaeger <aj@suse.de>
3267
3268 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3269 variable.
3270
3271 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3272
3273 [BZ #13717]
3274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3275 to 2.2.0 where earlier.
3276 * sysdeps/unix/sysv/linux/configure: Regenerated.
3277 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3278 Remove conditional code.
3279 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3280 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3281 Remove conditional code.
3282 [!__NR_lchown]: Likewise.
3283 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3284 [__NR_lchown]: Likewise.
3285 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3286 comment referencing __ASSUME_LCHOWN_SYSCALL.
3287 * sysdeps/unix/sysv/linux/i386/sigaction.c
3288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3290 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3291 Remove conditional code.
3292 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3293 (__protocol_available): Remove #if 0 code.
3294 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3295 conditional code.
3296 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3297 * sysdeps/unix/sysv/linux/kernel-features.h
3298 (__ASSUME_GETCWD_SYSCALL): Don't define.
3299 (__ASSUME_REALTIME_SIGNALS): Likewise.
3300 (__ASSUME_PREAD_SYSCALL): Likewise.
3301 (__ASSUME_PWRITE_SYSCALL): Likewise.
3302 (__ASSUME_POLL_SYSCALL): Likewise.
3303 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3304 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3305 non-SPARC.
3306 (__ASSUME_SIOCGIFNAME): Don't define.
3307 (__ASSUME_MSG_NOSIGNAL): Likewise.
3308 (__ASSUME_SENDFILE): Define unconditionally.
3309 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3310 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3311 conditional code.
3312 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3313 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3314 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3315 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3316 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3317 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3318 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3323 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3332 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3335 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3343 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3344 Remove conditional code.
3345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3346 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3347 Remove conditional code.
3348 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3349 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3350 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3351 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3352 Remove conditional code.
3353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3354 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3355 Remove conditional code.
3356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3357 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3358 Remove conditional code.
3359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3360 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3361 Remove conditional code.
3362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3363 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3364 Remove conditional code.
3365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3366 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3369 * sysdeps/unix/sysv/linux/sigaction.c
3370 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3371 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3372 * sysdeps/unix/sysv/linux/sigpending.c
3373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3375 * sysdeps/unix/sysv/linux/sigprocmask.c
3376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3378 * sysdeps/unix/sysv/linux/sigsuspend.c
3379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3382 (__libc_missing_rt_sigs): Remove.
3383 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3384 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3385 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3386 Remove conditional code.
3387 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3388 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3389 return 1.
3390 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3391 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3393 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3394
3395 2012-05-14 Andreas Jaeger <aj@suse.de>
3396
3397 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3398 it's not used in glibc.
3399 (__coshm1): Likewise.
3400 (__acosh1p): Likewise.
3401 (__sgn): Likewise.
3402
3403 * manual/string.texi (Copying and Concatenation): Add missing
3404 variable in concat example.
3405 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3406
3407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 [BZ #14103]
3410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3411 __builtin_clzl with __builtin_clzll.
3412
3413 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3414
3415 [BZ #14104]
3416 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3417 libc_freeres_ptr.
3418
3419 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3420
3421 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3422 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3423 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3425
3426 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3427
3428 * NEWS: Update ia64 info.
3429
3430 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3431
3432 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3433 used as bcopy.
3434
3435 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3436
3437 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3438 * sysdeps/unix/syscalls.list (dup3): Likewise.
3439 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3440 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3441
3442 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3445 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3446
3447 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3448
3449 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3450 thread pointer.
3451 (TLS_IE): Use mov/add instead of movq/addq to load thread
3452 pointer.
3453 (TLS_GD_PREFIX): New.
3454 (TLS_GD): Use it.
3455
3456 2012-05-11 David S. Miller <davem@davemloft.net>
3457
3458 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3459 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3460 (_FPU_SETCW): Likewise.
3461
3462 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3465 is 32-byte aligned.
3466
3467 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3468
3469 [BZ #11837]
3470 * iconvdata/gb18030.c: Update tables.
3471 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3472 characters specially.
3473 (BODY for TO_LOOP): Add encoding of missing ranges.
3474
3475 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3476
3477 [BZ #13673]
3478 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3479 * sysdeps/mach/hurd/dup3.c: Likewise.
3480 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3481 * sysdeps/powerpc/memmove.c:: Likewise.
3482
3483 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3486 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3487
3488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 * elf/elf.h (R_X86_64_RELATIVE64): New.
3491 (R_X86_64_NUM): Updated.
3492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3493 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3494 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3495 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3496 tst-quad1pie tst-quad2pie
3497 (modules-names): Add tst-quadmod1 tst-quadmod2.
3498 ($(objpfx)tst-quad1): New dependency.
3499 ($(objpfx)tst-quad2): Likewise.
3500 ($(objpfx)tst-quad1pie): Likewise.
3501 ($(objpfx)tst-quad2pie): Likewise.
3502 * sysdeps/x86_64/tst-quad1.c: New file.
3503 * sysdeps/x86_64/tst-quad1pie.c: New file.
3504 * sysdeps/x86_64/tst-quad2.c: Likewise.
3505 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3506 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3507 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3508 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3509 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3510
3511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3512
3513 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3514 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3515 * streams/stropts.h (t_scalar_t): Define type.
3516
3517 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3518 (_PATH_PRESERVE): Set to "/var/lib".
3519 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3520
3521 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3522 instead of int.
3523
3524 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3525 if __dir_mkfile succeeded.
3526
3527 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3528 checking for _hurd_dtablesize. Unlock it right after having
3529 finished _hurd_dtable allocation.
3530
3531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3532
3533 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3534 * sysdeps/mach/hurd/configure: Regenerated.
3535 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3536 special-casing to...
3537 * sysdeps/gnu/configure.in: ... this new file.
3538 * sysdeps/unix/sysv/linux/configure: Regenerated.
3539 * sysdeps/gnu/configure: New generated file.
3540
3541 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3542 for Linux: use nsec instead of usec, as well as:
3543 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3544 members of type struct timespec.
3545 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3546 New macros.
3547 (struct stat64): Likewise.
3548 (_STATBUF_ST_NSEC): New macro.
3549 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3550
3551 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3552 __strtoul_internal rather than strtoul.
3553
3554 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3555
3556 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3557 and reject them.
3558
3559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3560
3561 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3562 which preserves existing values.
3563 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3564
3565 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3566
3567 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3568 TIMEOUT values. Return EINVAL for NFDS values either negative or
3569 greater than FD_SETSIZE.
3570
3571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3572
3573 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3574 allocated, call __vm_protect to finish enabling the existing space, and
3575 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3576 allocate the remainder.
3577
3578 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3579
3580 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3581 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3582
3583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3584
3585 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3586 sysdeps/mach/hurd/readlink.c.
3587
3588 * posix/tst-sysconf.c (posix_options): Only use
3589 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3590 _POSIX_SYNCHRONIZED_IO when they are defined
3591 * sysdeps/mach/hurd/bits/posix_opt.h:
3592 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3593 (_XOPEN_REALTIME): Undefine macro.
3594 (_XOPEN_REALTIME_THREADS): Undefine macro.
3595 (_XOPEN_SHM): Undefine macro.
3596 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3597 macro to -1.
3598 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3599 macro to -1.
3600 (_POSIX_ASYNC_IO): Undefine macro.
3601 (_POSIX_PRIORITIZED_IO): Undefine macro.
3602 (_POSIX_SPIN_LOCKS): Define macro to -1.
3603
3604 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3605 SA_NODEFER, SA_RESETHAND.
3606 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3607 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3608 F_DUPFD_CLOEXEC.
3609
3610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3611
3612 * elf/Makefile (pldd-modules): Define unconditionally.
3613
3614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3615
3616 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3617
3618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3619
3620 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3621 Return ENOENT when name is empty.
3622 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3623
3624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3625
3626 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3627
3628 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3629
3630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3631
3632 Fix mlock in all cases except non-readable pages.
3633 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3634 instead of VM_PROT_ALL as parameter to __vm_wire function.
3635
3636 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3637 (__mkdir): When path is `/', just fail with EEXIST.
3638 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3639
3640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3641
3642 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3643 <sys/uio.h> (for writev).
3644 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3645 and <sys/param.h> (for MIN).
3646
3647 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3648
3649 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3650 REQUESTED_TIME. Properly set the remaining time and return EINTR
3651 if interrupted.
3652
3653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3654
3655 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3656 Depend on against $(link-rpcuserlibs).
3657
3658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3659
3660 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3661 (__libc_stack_end): Do not use attribute_relro.
3662 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3663 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3664 to libthread-provided value.
3665 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3666 attribute_relro.
3667
3668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3669
3670 [BZ #3748]
3671 * bits/libc-lock.h (__libc_once_get): New macro.
3672 * sysdeps/mach/bits/libc-lock.h: Likewise.
3673 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3675 instead of using implementation details.
3676
3677 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3678 * libio/freopen.c: Likewise.
3679 * libio/freopen64.c: Likewise.
3680 * misc/syslog.c: Likewise.
3681 * nscd/connections.c: Likewise.
3682 * nscd/netgroupcache.c: Likewise.
3683 * sysdeps/posix/getcwd.c: Likewise.
3684
3685 2012-05-10 Roland McGrath <roland@hack.frob.com>
3686
3687 * math/w_ilogbf.c: Add #include <limits.h>.
3688
3689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3690
3691 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3692 path instead of returning without unlocking.
3693
3694 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3695 immediate-write ioctls.
3696 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3697
3698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3699
3700 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3701 __builtin_frame_address instead of making assumptions about the
3702 location of the return address relative to DATA. Force early load of
3703 the return address.
3704 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3705 __builtin_frame_address.
3706
3707 dup3 for GNU Hurd.
3708 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3709 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3710 implement dup3 and do some further code clean-ups.
3711 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3712 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3713
3714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3715
3716 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3717
3718 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3719 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3720 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3721 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3722 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3723 d->port.lock.
3724
3725 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3726 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3727 when handler == SIG_ERR, not when handler != SIG_ERR.
3728
3729 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3730
3731 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3732 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3733 definitions.
3734
3735 accept4 for GNU Hurd.
3736 * include/sys/socket.h (__libc_accept4): New prototype.
3737 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3738 to implement __libc_accept4.
3739 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3740 __libc_accept4.
3741 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3742
3743 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3744 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3745 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3746 signal-defines.sym.
3747
3748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3749
3750 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3751
3752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3753
3754 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3755 assertion on O_CLOEXEC flag.
3756 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3757 * hurd/intern-fd.c: Likewise.
3758 * hurd/port2fd.c: Likewise.
3759
3760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3761
3762 [BZ #3906]
3763 * bits/in.h (IPV6_PKTINFO): Define new macro.
3764 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3765
3766 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
3768 [BZ #13954]
3769 [BZ #13955]
3770 [BZ #13956]
3771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3773 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3774 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3776 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3777 * math/libm-test.inc (logb_test) : Additional logb tests.
3778
3779 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3780 Andreas Jaeger <aj@suse.de>
3781
3782 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3783 * configure: Regenerated.
3784 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3785 * config.make.in (link-obsolete-rpc): New substituted variable.
3786 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3787 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3788 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3789 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3790 so that libc.a contains the symbols.
3791 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3792 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3793 * sunrpc/auth_none.c: Likewise.
3794 * sunrpc/auth_unix.c: Likewise.
3795 * sunrpc/authdes_prot.c: Likewise.
3796 * sunrpc/authuxprot.c: Likewise.
3797 * sunrpc/clnt_gen.c: Likewise.
3798 * sunrpc/clnt_perr.c: Likewise.
3799 * sunrpc/clnt_raw.c: Likewise.
3800 * sunrpc/clnt_simp.c: Likewise.
3801 * sunrpc/clnt_tcp.c: Likewise.
3802 * sunrpc/clnt_udp.c: Likewise.
3803 * sunrpc/clnt_unix.c: Likewise.
3804 * sunrpc/des_crypt.c: Likewise.
3805 * sunrpc/des_soft.c: Likewise.
3806 * sunrpc/get_myaddr.c: Likewise.
3807 * sunrpc/key_call.c: Likewise.
3808 * sunrpc/key_prot.c: Likewise.
3809 * sunrpc/netname.c: Likewise.
3810 * sunrpc/pm_getmaps.c: Likewise.
3811 * sunrpc/pm_getport.c: Likewise.
3812 * sunrpc/pmap_clnt.c: Likewise.
3813 * sunrpc/pmap_prot.c: Likewise.
3814 * sunrpc/pmap_prot2.c: Likewise.
3815 * sunrpc/pmap_rmt.c: Likewise.
3816 * sunrpc/publickey.c: Likewise.
3817 * sunrpc/rpc_cmsg.c: Likewise.
3818 * sunrpc/rpc_common.c: Likewise.
3819 * sunrpc/rpc_dtable.c: Likewise.
3820 * sunrpc/rpc_prot.c: Likewise.
3821 * sunrpc/rpc_thread.c: Likewise.
3822 * sunrpc/rtime.c: Likewise.
3823 * sunrpc/svc.c: Likewise.
3824 * sunrpc/svc_auth.c: Likewise.
3825 * sunrpc/svc_raw.c: Likewise.
3826 * sunrpc/svc_run.c: Likewise.
3827 * sunrpc/svc_tcp.c: Likewise.
3828 * sunrpc/svc_udp.c: Likewise.
3829 * sunrpc/svc_unix.c: Likewise.
3830 * sunrpc/svcauth_des.c: Likewise.
3831 * sunrpc/xcrypt.c: Likewise.
3832 * sunrpc/xdr.c: Likewise.
3833 * sunrpc/xdr_array.c: Likewise.
3834 * sunrpc/xdr_float.c: Likewise.
3835 * sunrpc/xdr_intXX_t.c: Likewise.
3836 * sunrpc/xdr_mem.c: Likewise.
3837 * sunrpc/xdr_rec.c: Likewise.
3838 * sunrpc/xdr_ref.c: Likewise.
3839 * sunrpc/xdr_sizeof.c: Likewise.
3840 * sunrpc/xdr_stdio.c: Likewise.
3841
3842 2012-05-10 Roland McGrath <roland@hack.frob.com>
3843
3844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3845 change. Update copyright years.
3846
3847 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3848
3849 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3850
3851 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3852 Joseph Myers <joseph@codesourcery.com>
3853 Paul Pluzhnikov <ppluzhnikov@google.com>
3854
3855 [BZ #14012]
3856 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3857 requiring rpcgen.
3858 [cross-compiling] (extra-libs): Likewise.
3859 [cross-compiling] (extra-libs-others): Likewise.
3860 [cross-compiling] (librpcsvc-routines): Likewise.
3861 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3862 [cross-compiling] (omit-deps): Likewise.
3863 (sunrpc-CPPFLAGS): New variable.
3864 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3865 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3866 (cross-rpcgen-objs): New variable.
3867 (extra-objs): Append $(cross-rpcgen-objs).
3868 ($(cross-rpcgen-objs)): New rule.
3869 ($(objpfx)cross-rpcgen): Likewise.
3870 (rpcgen-cmd): Define to use $(built-program-file). Expand
3871 comment.
3872 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3873 ($(objpfx)x%.stmp): Likewise.
3874 * sunrpc/proto.h [IS_IN_build] (_): Define.
3875 [IS_IN_build] (_libc_intl_domainname): Likewise.
3876
3877 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3880 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3881 and R_X86_64_TPOFF64.
3882
3883 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3884
3885 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3886 sysdeps/unix/sysv/syscalls.list.
3887 (stime): Likewise.
3888 (utime): Likewise.
3889 * sysdeps/unix/sysv/syscalls.list: Remove file.
3890
3891 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3892
3893 [BZ #3440]
3894 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3895 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3896 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3897 (__LC_IDENTIFICATION): Make these macros useful in #if
3898 expressions, as required by C99.
3899
3900 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3901
3902 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3903 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3904 after this.
3905
3906 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * stdlib/longlong.h: Updated from GCC.
3909
3910 2012-05-09 Andreas Jaeger <aj@suse.de>
3911
3912 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3913 default is first entry.
3914 (run_mode): Set type.
3915 (main): Remove informal message about syslog.
3916 (options): Fix typo.
3917
3918 [BZ #14053]
3919 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3920 to asm.
3921 (lrint): Likewise.
3922 (llrintf): Likewise.
3923 (llrint): Likewise.
3924 (rint): Likewise.
3925 (rintf): Likewise.
3926 (nearbyint): Likewise.
3927 (nearbyintf): Likewise.
3928
3929 2012-05-09 Andreas Jaeger <aj@suse.de>
3930 Pedro Alves <palves@redhat.com>
3931
3932 * nscd/nscd.c (run_mode): Use enum.
3933 (main): Cleanup coding style issue.
3934
3935 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3936 Andreas Jaeger <aj@suse.de>
3937
3938 * nscd/nscd.c (go_background): Replaced with...
3939 (run_mode): ... this.
3940 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3941 (options): Add -F --foreground.
3942 (main): Implement it.
3943 (parse_opt): Parse it.
3944
3945 2012-05-09 Andreas Jaeger <aj@suse.de>
3946
3947 [BZ #14083]
3948 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3949 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3950 -Wconversion warning.
3951 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3952 Likewise.
3953
3954 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3955
3956 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3957 == 0.
3958 (LC_ALL): Use macro-int-constant.
3959 (LC_COLLATE): Likewise.
3960 (LC_CTYPE): Likewise.
3961 (LC_MESSAGES): Likewise.
3962 (LC_MONETARY): Likewise.
3963 (LC_NUMERIC): Likewise.
3964 (LC_TIME): Likewise.
3965 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3966 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3968 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3969 Specify type.
3970 [C99-based standards] (float_t): Expect type.
3971 [C99-based standards] (double_t): Expect type.
3972 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3973 type.
3974 [C99-based standards] (HUGE_VALL): Likewise.
3975 [C99-based standards] (INFINITY): Likewise.
3976 [C99-based standards] (NAN): Likewise.
3977 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3978 [C99-based standards] (FP_NAN): Likewise.
3979 [C99-based standards] (FP_NORMAL): Likewise.
3980 [C99-based standards] (FP_SUBNORMAL): Likewise.
3981 [C99-based standards] (FP_ZERO): Likewise.
3982 [C99-based standards] (FP_FAST_FMA): Use
3983 optional-macro-int-constant. Specify type. Require == 1.
3984 [C99-based standards] (FP_FAST_FMAF): Likewise.
3985 [C99-based standards] (FP_FAST_FMAL): Likewise.
3986 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3987 [C99-based standards] (FP_ILOGBNAN): Likewise.
3988 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3989 Specify type.
3990 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3991 [C99-based standards] (math_errhandling): Specify type.
3992 [ISO99 || ISO11] (signgam): Do not allow.
3993 [non-C99-based standards] (copysignf): Do not allow.
3994 [non-C99-based standards] (exp2f): Likewise.
3995 [non-C99-based standards] (log2f): Likewise.
3996 [non-C99-based standards] (modff): Allow.
3997 [non-C99-based standards] (erff): Do not allow.
3998 [non-C99-based standards] (erfcf): Likewise.
3999 [non-C99-based standards] (gammaf): Likewise.
4000 [non-C99-based standards] (hypotf): Likewise.
4001 [non-C99-based standards] (j0f): Likewise.
4002 [non-C99-based standards] (j1f): Likewise.
4003 [non-C99-based standards] (jnf): Likewise.
4004 [non-C99-based standards] (lgammaf): Likewise.
4005 [non-C99-based standards] (tgammaf): Likewise.
4006 [non-C99-based standards] (y0f): Likewise.
4007 [non-C99-based standards] (y1f): Likewise.
4008 [non-C99-based standards] (ynf): Likewise.
4009 [non-C99-based standards] (isnanf): Likewise.
4010 [non-C99-based standards] (acoshf): Likewise.
4011 [non-C99-based standards] (asinhf): Likewise.
4012 [non-C99-based standards] (atanhf): Likewise.
4013 [non-C99-based standards] (cbrtf): Likewise.
4014 [non-C99-based standards] (expm1f): Likewise.
4015 [non-C99-based standards] (ilogbf): Likewise.
4016 [non-C99-based standards] (log1pf): Likewise.
4017 [non-C99-based standards] (logbf): Likewise.
4018 [non-C99-based standards] (nextafterf): Likewise.
4019 [non-C99-based standards] (remainderf): Likewise.
4020 [non-C99-based standards] (rintf): Likewise.
4021 [non-C99-based standards] (scalbf): Likewise.
4022 [non-C99-based standards] (copysignl): Likewise.
4023 [non-C99-based standards] (exp2l): Likewise.
4024 [non-C99-based standards] (log2l): Likewise.
4025 [non-C99-based standards] (modfl): Allow.
4026 [non-C99-based standards] (erfl): Do not allow.
4027 [non-C99-based standards] (erfcl): Likewise.
4028 [non-C99-based standards] (gammal): Likewise.
4029 [non-C99-based standards] (hypotl): Likewise.
4030 [non-C99-based standards] (j0l): Likewise.
4031 [non-C99-based standards] (j1l): Likewise.
4032 [non-C99-based standards] (jnl): Likewise.
4033 [non-C99-based standards] (lgammal): Likewise.
4034 [non-C99-based standards] (tgammal): Likewise.
4035 [non-C99-based standards] (y0l): Likewise.
4036 [non-C99-based standards] (y1l): Likewise.
4037 [non-C99-based standards] (ynl): Likewise.
4038 [non-C99-based standards] (isnanl): Likewise.
4039 [non-C99-based standards] (acoshl): Likewise.
4040 [non-C99-based standards] (asinhl): Likewise.
4041 [non-C99-based standards] (atanhl): Likewise.
4042 [non-C99-based standards] (cbrtl): Likewise.
4043 [non-C99-based standards] (expm1l): Likewise.
4044 [non-C99-based standards] (ilogbl): Likewise.
4045 [non-C99-based standards] (log1pl): Likewise.
4046 [non-C99-based standards] (logbl): Likewise.
4047 [non-C99-based standards] (nextafterl): Likewise.
4048 [non-C99-based standards] (remainderl): Likewise.
4049 [non-C99-based standards] (rintl): Likewise.
4050 [non-C99-based standards] (scalbl): Likewise.
4051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4052 [non-C99-based standards] (FP_*): Do not allow.
4053 [C99-based standards] (FP_*): Change to
4054 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4055 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4056 allow.
4057 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4058 (SIG_ERR): Likewise.
4059 [X/Open-based standards] (SIG_HOLD): Likewise.
4060 (SIG_IGN): Likewise.
4061 (SIGABRT): Use macro-int-constant. Specify type. Require
4062 positive value.
4063 (SIGFPE): Likewise.
4064 (SIGILL): Likewise.
4065 (SIGINT): Likewise.
4066 (SIGSEGV): Likewise.
4067 (SIGTER): Likewise.
4068 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4069 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4070 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4073 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4075 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4076 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4077 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4078 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4079 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4080 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4084 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4086 [X/Open-based standards] (SIGTRAP): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4090 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4091 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4092 allow.
4093
4094 2012-05-08 Ian Wienand <ianw@vmware.com>
4095
4096 [BZ #14080]
4097 * time/tzset.c (__tzset_parse_tz): Update default rules for
4098 daylight time changes in the Energy Policy Act of 2005.
4099
4100 2012-05-09 Andreas Jaeger <aj@suse.de>
4101
4102 [BZ #13983]
4103 * elf/ldconfig.c (parse_conf): Change string to make clear that
4104 ldconfig only issued a warning if ld.so.conf does not exist.
4105
4106 2012-05-08 David S. Miller <davem@davemloft.net>
4107
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4109 movxtod instead of popping the value on the stack.
4110
4111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4112
4113 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4114
4115 * config.h.in: Add HAVE_ARM_PCS_VFP.
4116
4117 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4118
4119 [BZ #13979]
4120 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4121 checking but the checks are disabled for any reason.
4122
4123 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4124
4125 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4126 and ELF64_R_TYPE with ELFW(R_TYPE).
4127
4128 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4129
4130 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4131 (ulimit): Likewise.
4132
4133 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4134 (settimeofday): Likewise.
4135
4136 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4137
4138 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4139 a struct th_u2 inside the union, and move tu_block/tu_code into
4140 a new th_u3 union of tu_block/tu_code inside of that. Move
4141 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4142 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4143 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4144 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4145 (th_stuff): Change to th_u1.tu_stuff.
4146 (th_data): Define.
4147 (th_msg): Change to th_u1.th_u2.tu_data.
4148
4149 2012-05-07 David S. Miller <davem@davemloft.net>
4150
4151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4152
4153 [BZ #14074]
4154 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4155 (SETUP_PIC_REG): Use it.
4156 (SETUP_PIC_REG_LEAF): Use it.
4157
4158 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13885]
4161 [BZ #13923]
4162 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4163 USE_AS_EXPM1L.
4164 (EXPL_FINITE): Likewise.
4165 (FLDLOG): Likewise.
4166 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4167 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4168 e_expl.S.
4169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4170 USE_AS_EXPM1L.
4171 (EXPL_FINITE): Likewise.
4172 (FLDLOG): Likewise.
4173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4174 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4175 e_expl.S.
4176 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4177 test of -max_value argument for long double.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180
4181 2012-05-06 David S. Miller <davem@davemloft.net>
4182
4183 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4184 quad soft-float symbols whose references which are compiler
4185 generated.
4186 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4187
4188 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #13884]
4191 [BZ #13914]
4192 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4193 USE_AS_EXP10L.
4194 (EXPL_FINITE): Likewise.
4195 (FLDLOG): Likewise.
4196 (c0): Likewise.
4197 (c1): Likewise.
4198 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4199 Adjust comments for base varying.
4200 (__expl_finite): Change alias to EXPL_FINITE.
4201 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4202 e_expl.S.
4203 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4204 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4206 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4207 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4208 USE_AS_EXP10L.
4209 (EXPL_FINITE): Likewise.
4210 (FLDLOG): Likewise.
4211 (c0): Likewise.
4212 (c1): Likewise.
4213 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4214 Adjust comments for base varying.
4215 (__expl_finite): Change alias to EXPL_FINITE.
4216 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4217 tests for bugs.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4219
4220 [BZ #14064]
4221 * math/libm-test.inc (check_float_internal): Correct ulp
4222 calculation for subnormal expected results.
4223
4224 2012-05-06 Andreas Jaeger <aj@suse.de>
4225
4226 * Makeconfig (+math-flags): New, set to -frounding-math.
4227 (+cflags): Add +math-flags so that all of glibc gets compiled with
4228 it.
4229
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4231
4232 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4233
4234 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4235 Disable one test.
4236
4237 [BZ #13787]
4238 [BZ #13922]
4239 [BZ #14036]
4240 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4241 (__ieee754_expl): Allow for and saturate large arguments.
4242 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4243 (u_threshold): Likewise.
4244 (__exp): Call __ieee754_exp before checking for overflow and
4245 underflow.
4246 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4247 (u_threshold): Likewise.
4248 (__expf): Call __ieee754_expf before checking for overflow and
4249 underflow.
4250 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4251 (u_threshold): Likewise.
4252 (__expl): Call __ieee754_expl before checking for overflow and
4253 underflow.
4254 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4255 (__ieee754_expl): Allow for and saturate large arguments.
4256 * math/libm-test.inc (exp_test): Add another test. Do not allow
4257 missing overflow exception on overflow.
4258 (expm1_test): Do not allow missing overflow exception on overflow.
4259
4260 * sysdeps/i386/fpu/e_expl.c: Move to ...
4261 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4262 rather than using inline asm.
4263 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4264 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4265 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4266
4267 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4268 (nice): Likewise.
4269 (poll): Likewise.
4270 (signal): Likewise.
4271 (time): Likewise.
4272 (times): Likewise.
4273
4274 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4275
4276 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4277 sysdeps/unix/common/syscalls.list.
4278 (fchmod): Likewise.
4279 (fchown): Likewise.
4280 (ftruncate): Likewise.
4281 (getrusage): Likewise.
4282 (gettimeofday): Likewise.
4283 (setpgid): Likewise.
4284 (setregid): Likewise.
4285 (setreuid): Likewise.
4286 (sigaction): Likewise.
4287 (truncate): Likewise.
4288 (vhangup): Likewise.
4289 * sysdeps/unix/common/syscalls.list: Remove file.
4290 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4291 * sysdeps/unix/sysv/linux/Implies: Likewise.
4292
4293 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4298 Moved to ...
4299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4300 Here.
4301 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4302 to ...
4303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4304 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4305 to ...
4306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4307 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4308 to ...
4309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4310 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4311 to ...
4312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4313 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4314 to ...
4315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4316 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4317 to ...
4318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4319 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4320 to ...
4321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4322 Here.
4323 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4324 to ...
4325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4326 Here.
4327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4328 to ...
4329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4330 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4331 Moved to ...
4332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4333 Here.
4334 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4335 to ...
4336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4337
4338 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4339
4340 * sysdeps/unix/common/bits/dirent.h: Remove file.
4341 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4342
4343 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4344 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4345 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4346 * sysdeps/unix/bsd/isatty.c: Likewise.
4347 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4348 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4349 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4350
4351 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4352
4353 [BZ #13563]
4354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4355 long double comparison inaccuracies.
4356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4358
4359 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4360
4361 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4363
4364 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4365
4366 [BZ #14049]
4367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4368 nonzero digits before rounding a hex value.
4369 * stdlib/tst-strtod.c (tests): Add another test.
4370
4371 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4372
4373 * sysdeps/s390/fpu/libm-test-ulps: Update.
4374
4375 2012-05-03 Andreas Jaeger <aj@suse.de>
4376
4377 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4378 does not get optimized out.
4379 (malloc_opt_barrier): New.
4380
4381 2012-05-03 Andreas Jaeger <aj@suse.de>
4382 Roland McGrath <roland@hack.frob.com>
4383
4384 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4385 intermediate file deletion.
4386 (generated): Add .symlist files.
4387
4388 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4389
4390 [BZ #13775]
4391 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4392 Redirect under this condition.
4393 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4394 [__USE_GNU] (__dprintf_chk): Not under this condition.
4395 [__USE_GNU] (__vdprintf_chk): Likewise.
4396 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4397 under this condition.
4398 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4399 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4400 [__USE_XOPEN2K8] (vdprintf): Likewise.
4401 [__USE_GNU] (__dprintf_chk): Not under this condition.
4402 [__USE_GNU] (__vdprintf_chk): Likewise.
4403 [__USE_GNU] (dprintf): Likewise.
4404 [__USE_GNU] (vdprintf): Likewise.
4405
4406 2012-05-03 Roland McGrath <roland@hack.frob.com>
4407
4408 * elf/Makefile (common-generated): Set this instead of generated for
4409 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4410 $(all-built-dso)-derived lists.
4411
4412 2012-05-03 Andreas Jaeger <aj@suse.de>
4413
4414 * sysdeps/i386/fpu/libm-test-ulps: Update.
4415
4416 * FAQ: Removed.
4417 * FAQ.in: Likewise.
4418 * scripts/gen-FAQ.pl: Likewise.
4419 * manual/install.texi (Installation): Point to online location of
4420 FAQ.
4421 * Makefile (files-for-dist): Remove FAQ.
4422 (FAQ): Remove.
4423
4424 2012-05-02 Allan McRae <allan@archlinux.org>
4425
4426 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4427 (LDFLAGS-reldepmod5.so): Likewise.
4428 (LDFLAGS-reldep6mod1.so): Likewise.
4429 (LDFLAGS-reldep6mod4.so): Likewise.
4430 (LDFLAGS-reldep8mod3.so): Likewise.
4431 (LDFLAGS-unload4mod1.so): Likewise.
4432 (LDFLAGS-unload4mod2.so): Likewise.
4433 (LDFLAGS-tst-initorder): Likewise.
4434 (LDFLAGS-tst-initordera2.so): Likewise.
4435 (LDFLAGS-tst-initordera3.so): Likewise.
4436 (LDFLAGS-tst-initordera4.so): Likewise.
4437 (LDFLAGS-tst-initorderb2.so): Likewise.
4438 (LDFLAGS-noload): Likewise.
4439 (LDFLAGS-next): Likewise.
4440 (LDFLAGS-order2mod1.so): Likewise.
4441 (LDFLAGS-order2mod2.so): Likewise.
4442 (LDFLAGS-tst-initorder2): Likewise.
4443 (LDFLAGS-tst-initorder2a.so): Likewise.
4444 (LDFLAGS-tst-initorder2b.so): Likewise.
4445 (LDFLAGS-tst-initorder2c.so): Likewise.
4446 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4447
4448 2012-05-02 David S. Miller <davem@davemloft.net>
4449
4450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4451
4452 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4453
4454 [BZ #14055]
4455 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4456
4457 2012-05-02 Andreas Jaeger <aj@suse.de>
4458
4459 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4460 since we manipulate rounding mode.
4461 (CPPFLAGS-test-idouble.c): Likewise.
4462 (CPPFLAGS-test-ifloat.c): Likewise.
4463 (CFLAGS-test-ldouble.c): Likewise.
4464 (CFLAGS-test-double.c): Likewise.
4465 (CFLAGS-test-float.c): Likewise.
4466 (CFLAGS-test-misc.c): Likewise.
4467 (CFLAGS-test-test-fenv.c): Likewise.
4468
4469 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470
4471 [BZ #2550]
4472 [BZ #2570]
4473 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4474 comparisons to determine direction to adjust input.
4475
4476 2012-05-01 Roland McGrath <roland@hack.frob.com>
4477
4478 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4479 output to the target.
4480
4481 * scripts/localplt.awk: New file.
4482 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4483 (check-localplt-CFLAGS): Variable removed.
4484 ($(all-built-dso:=.jmprel)): New static pattern rule.
4485 (generated): Add those targets.
4486 (localplt-built-dso): New variable.
4487 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4488
4489 * elf/check-localplt.c: File removed.
4490
4491 * scripts/check-execstack.awk: New file.
4492 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4493 (check-execstack-CFLAGS): Variable removed.
4494 ($(objpfx)check-execstack.h): Target removed.
4495 ($(objpfx)execstack-default): New target.
4496 (generated): Add that instead of check-execstack.h.
4497 ($(all-built-dso:=.phdr)): New static pattern rule.
4498 (generated): Add those targets.
4499 * elf/check-execstack.c: File removed.
4500
4501 * scripts/check-textrel.awk: New file.
4502 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4503 (check-textrel-CFLAGS): Variable removed.
4504 (all-built-dso): Use := to define.o
4505 ($(all-built-dso:=.dyn)): New static pattern rule.
4506 (generated): Add those targets.
4507 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4508 * config.make.in (READELF): New substituted variable.
4509 * elf/check-textrel.c: File removed.
4510
4511 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4512
4513 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4514 allow.
4515 * conform/data/ctype.h-data [C99-based standards] (isblank):
4516 Expect function.
4517 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4518 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4520 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4521 Specify type. Require positive value.
4522 (EILSEQ): Likewise.
4523 (ERANGE): Likewise.
4524 [ISO || POSIX] (EILSEQ): Do not expect.
4525 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4526 Specify type. Require positive value.
4527 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4536 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4541 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4542 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4543 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4544 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4545 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4546 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4547 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4548 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4549 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4550 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4551 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4552 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4553 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4554 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4555 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4556 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4557 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4558 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4559 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4560 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4561 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4562 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4563 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4564 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4565 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4566 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4567 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4568 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4569 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4570 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4571 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4572 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4573 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4574 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4575 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4576 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4577 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4578 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4579 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4580 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4581 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4582 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4583 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4584 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4585 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4586 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4587 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4588 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4589 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4590 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4591 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4592 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4593 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4594 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4595 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4596 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4597 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4598 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4599 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4600 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4601 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4602 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4603 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4604 Require >= 2.
4605 (FLT_ROUNDS): Expect as macro, not constant.
4606 (FLT_MANT_DIG): Use macro-int-constant.
4607 (DBL_MANT_DIG): Likewise.
4608 (LDBL_MANT_DIG): Likewise.
4609 (FLT_DIG): Likewise.
4610 (DBL_DIG): Likewise.
4611 (LDBL_DIG): Likewise.
4612 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4613 (DBL_MIN_EXP): Likewise.
4614 (LDBL_MIN_EXP): Likewise.
4615 (FLT_MAX_EXP): Use macro-int-constant.
4616 (DBL_MAX_EXP): Likewise.
4617 (LDBL_MAX_EXP): Likewise.
4618 (FLT_MAX_10_EXP): Likewise.
4619 (DBL_MAX_10_EXP): Likewise.
4620 (LDBL_MAX_10_EXP): Likewise.
4621 (FLT_MAX): Use macro-constant.
4622 (DBL_MAX): Likewise.
4623 (LDBL_MAX): Likewise.
4624 (FLT_EPSILON): Use macro-constant. Give upper bound.
4625 (DBL_EPSILON): Likewise.
4626 (LDBL_EPSILON): Likewise.
4627 (FLT_MIN): Likewise.
4628 (DBL_MIN): Likewise.
4629 (LDBL_MIN): Likewise.
4630 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4631 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4632 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4633 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4634 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4635 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4636 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4637 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4638 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4639 [ISO11] (FLT_TRUE_MIN): Likewise.
4640 [ISO11] (LDBL_TRUE_MIN): Likewise.
4641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4642 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4643 (SCHAR_MIN): Use macro-int-constant. Specify type.
4644 (SCHAR_MAX): Likewise.
4645 (UCHAR_MAX): Likewise.
4646 (CHAR_MIN): Likewise.
4647 (CHAR_MAX): Likewise.
4648 (MB_LEN_MAX): Use macro-int-constant.
4649 (SHRT_MIN): Use macro-int-constant. Specify type.
4650 (SHRT_MAX): Likewise.
4651 (USHRT_MAX): Likewise.
4652 (INT_MAX): Likewise.
4653 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4654 bound negative.
4655 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4656 bound with "U".
4657 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4658 bound with "L".
4659 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4660 bound negative. Suffix upper bound with "L".
4661 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4662 bound with "UL".
4663 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4664 Specify type.
4665 [C99-based standards] (LLONG_MAX): Likewise.
4666 [C99-based standards] (ULLONG_MAX): Likewise.
4667 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4668 == 0.
4669 [ISO11] (max_align_t): Require type.
4670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4671
4672 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4673 from $CFLAGS, without defining away __attribute__ calls.
4674 (checknamespace): Use $CFLAGS_namespace.
4675
4676 * conform/conformtest.pl (@keywords): Only include C99 keywords
4677 for standards based on C99 or C11.
4678
4679 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4680 Disable tests.
4681 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4682 UNIX98]: Likewise.
4683
4684 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4685 usability of symbols in #if.
4686
4687 * conform/conformtest.pl: If macro or constant types start
4688 "promoted:", expect the symbol to be of the following type
4689 promoted by the integer promotions.
4690
4691 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4692 in one place. Also handle "macro-constant".
4693
4694 * conform/conformtest.pl: Only accept expected macro values with
4695 "==". Parse all "macro" lines in one place.
4696 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4697
4698 * conform/conformtest.pl: Handle braced types on "constant" lines
4699 instead of handling "typed-constant".
4700 * conform/data/signal.h-data: Use "constant" instead of
4701 "typed-constant".
4702
4703 * conform/conformtest.pl: Handle "optional-" at start of lines in
4704 one place rather than duplicating several cases. Handle each
4705 format of "macro" line with initial "optional-".
4706
4707 * conform/conformtest.pl: Only accept expected constant or
4708 optional-constant values with "==". Parse all "constant" lines in
4709 one place. Parse all "optional-constant" lines in one place.
4710 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4711 * conform/data/fmtmsg.h-data: Likewise.
4712 * conform/data/netinet/in.h-data: Likewise.
4713 * conform/data/tar.h-data: Likewise.
4714 * conform/data/limits.h-data: Use "==" form on "constant" and
4715 "optional-constant" lines.
4716
4717 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4718 Use -std=c99 for XOPEN2K.
4719 (@knownproblems): Remove.
4720 (newtoken): Don't check %isknown.
4721
4722 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4723 Do not expect macro.
4724 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4736 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4737 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4754 [XPG3] (acosh): Likewise.
4755 [XPG3] (asinh): Likewise.
4756 [XPG3] (atanh): Likewise.
4757 [XPG3] (cbrt): Likewise.
4758 [XPG3] (expm1): Likewise.
4759 [XPG3] (ilogb): Likewise.
4760 [XPG3] (log1p): Likewise.
4761 [XPG3] (logb): Likewise.
4762 [XPG3] (nextafter): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4765 [XPG3] (remainder): Likewise.
4766 [XPG3] (rint): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4774 [UNIX98 || XOPEN2K] (scalb): Expect.
4775 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4776 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4797 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4798 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4799 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4800 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4801 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4802 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4803 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4804 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4805 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4807 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4808 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4809 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4810 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4811 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4812 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4813 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4814 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4816 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4817 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4818 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4819 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4820 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4821 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4822 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4823 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4824 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4825 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4826 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4827 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4828 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4829 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4830 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4831 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4832 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4833 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4834 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4835 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4836 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4837 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4838 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4839 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4840 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4841 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4842 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4843 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4844 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4845 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4846 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4847 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4848 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4849 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4850 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4851 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4852 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4853 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4854 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4855 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4856 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4857 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4858 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4859 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4860 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4861 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4862 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4863 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4864 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4865 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4866 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4867 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4868 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4869 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4870 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4871 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4872 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4873 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4874 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4875 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4876 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4877 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4878 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4879 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4880 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4881 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4882 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4883 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4884 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4885 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4886 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4887 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4888 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4889 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4890 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4891 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4892 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4893 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4894 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4895 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4896 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4897 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4898 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4899 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4900 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4901 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4902 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4903 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4904 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4905 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4906 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4907 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4908 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4909 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4910 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4911 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4912
4913 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4914 _XOPEN_SOURCE_EXTENDED for XPG4.
4915
4916 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4917
4918 * Makeconfig (localtime): Remove variable.
4919 (inst_localtime-file): Likewise.
4920
4921 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4922
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4924 Update.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4926 Update.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4928 Update.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4930 Update.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4932 Update.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4934 Update.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4936 Update.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4938 Update.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4940 Update.
4941
4942 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4943
4944 [BZ #2550]
4945 [BZ #2570]
4946 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4947 comparisons to determine direction to adjust input.
4948 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4949 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4951 Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4953 Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4955 Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4958 Likewise.
4959 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4960 Likewise.
4961 * math/libm-test.inc (nexttoward_test): Add more tests.
4962
4963 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4964
4965 [BZ #14040]
4966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4967 in version GLIBC_2.1, not GLIBC_2.0.
4968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4969 Likewise.
4970
4971 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4972
4973 [BZ #13942]
4974 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4975 (1 - x) * (1 + x).
4976 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4977 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4978 * math/libm-test.inc (acos_test): Add more tests.
4979 (asin_test): Likewise.
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4982
4983 [BZ #14034]
4984 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4985 of square root.
4986 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4987 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4988 * math/libm-test.inc (acos_test_tonearest): New function.
4989 (acos_test_towardzero): Likewise.
4990 (acos_test_downward): Likewise.
4991 (acos_test_upward): Likewise.
4992 (asin_test_tonearest): Likewise.
4993 (asin_test_towardzero): Likewise.
4994 (asin_test_downward): Likewise.
4995 (asin_test_upward): Likewise.
4996 (main): Call the new functions.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4999
5000 [BZ #13884]
5001 [BZ #13924]
5002 * math/e_exp10.c: Include <float.h>.
5003 (__ieee754_exp10): Handle underflow here rather than multiplying
5004 large negative argument by M_LN10.
5005 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5006 of __ieee754_expf.
5007 * math/e_exp10l.c: Include <float.h>.
5008 (__ieee754_exp10l): Handle underflow here rather than multiplying
5009 large negative argument by M_LN10l.
5010 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5011 spurious overflow exception on underflow.
5012
5013 2012-04-29 Marek Polacek <polacek@redhat.com>
5014
5015 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5016 (__fortify_function): New macro.
5017 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5018 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5019 __extern_always_inline.
5020 * libio/bits/stdio2.h: Likewise.
5021 * libio/bits/stdio.h: Likewise.
5022 * string/string.h: Likewise.
5023 * string/bits/string3.h: Likewise.
5024 * include/stdio.h: Likewise.
5025 * stdlib/bits/stdlib.h: Likewise.
5026 * stdlib/stdlib.h: Likewise.
5027 * rt/bits/mqueue2.h: Likewise.
5028 * rt/mqueue.h: Likewise.
5029 * posix/bits/unistd.h: Likewise.
5030 * posix/unistd.h: Likewise.
5031 * io/bits/poll2.h: Likewise.
5032 * io/bits/fcntl2.h: Likewise.
5033 * io/fcntl.h: Likewise.
5034 * io/sys/poll.h: Likewise.
5035 * misc/bits/syslog.h: Likewise.
5036 * misc/bits/syslog-ldbl.h: Likewise.
5037 * misc/sys/syslog.h: Likewise.
5038 * socket/bits/socket2.h: Likewise.
5039 * socket/sys/socket.h: Likewise.
5040 * debug/tst-chk1.c: Likewise.
5041 * wcsmbs/bits/wchar2.h: Likewise.
5042 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5043 * wcsmbs/wchar.h: Likewise.
5044
5045 2012-04-29 Andreas Jaeger <aj@suse.de>
5046
5047 * Makerules (tests): Remove enable-check-abi protection.
5048 (check-abi-warn): Remove.
5049 (check-abi-%): Remove check-abi-warn usage.
5050
5051 * configure.in: Remove check-abi configure option.
5052 * configure: Regenerated.
5053 * config.make.in (enable-check-abi): Remove.
5054
5055 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 [BZ #14033]
5058 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5059 double functions to double *_finite functions.
5060
5061 [BZ #13941]
5062 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5063 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5064 LDBL_MIN_EXP.
5065 * stdio-common/Makefile (tests): Add tst-sprintf3.
5066 * stdio-common/tst-sprintf3.c: New file.
5067
5068 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5069 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5070
5071 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5072
5073 * conform/conformtest.pl: Remove duplicate typed-constant
5074 handling.
5075
5076 2012-04-28 David S. Miller <davem@davemloft.net>
5077
5078 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5079 (check-abi-%): Remove AWK script prerequisite and explicit
5080 abilist directory.
5081 (check-abi): Rewrite to just diff the symlist with the abilist.
5082 (config-tls, config-abi-config): Delete, no longer used.
5083 (update-abi-%): Remove AWK script and explicit abilist directory.
5084 (update-abi): Rewrite to simply compare and conditionally copy the
5085 symlist and the sysdep abilist file. Remove update-abi-config
5086 checks.
5087 * abilist/ld.abilist: Remove.
5088 * abilist/libBrokenLocale.abilist: Remove.
5089 * abilist/libanl.abilist: Remove.
5090 * abilist/libcrypt.abilist: Remove.
5091 * abilist/libdl.abilist: Remove.
5092 * abilist/librt.abilist: Remove.
5093 * abilist/libthread_db.abilist: Remove.
5094 * abilist/libutil.abilist: Remove.
5095 * scripts/extract-abilist.awk: Remove.
5096 * scripts/merge-abilist.awk: Remove.
5097 * sysdeps/generic/libcidn.abilist: New file.
5098 * sysdeps/generic/libnss_compat.abilist: New file.
5099 * sysdeps/generic/libnss_db.abilist: New file.
5100 * sysdeps/generic/libnss_dns.abilist: New file.
5101 * sysdeps/generic/libnss_files.abilist: New file.
5102 * sysdeps/generic/libnss_hesiod.abilist: New file.
5103 * sysdeps/generic/libnss_nis.abilist: New file.
5104 * sysdeps/generic/libnss_nisplus.abilist: New file.
5105 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5106 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5107 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5108 file.
5109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5110 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5111 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5112 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5113 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5114 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5115 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5116 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5117 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5118 file.
5119 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5120 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5121 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5122 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5123 file.
5124 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5125 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5126 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5127 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5128 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5130 file.
5131 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5132 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5133 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5134 file.
5135 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5137 New file.
5138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5139 New file.
5140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5141 New file.
5142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5143 New file.
5144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5145 New file.
5146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5147 New file.
5148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5149 New file.
5150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5151 New file.
5152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5153 New file.
5154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5157 New file.
5158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5161 New file.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5163 file.
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5165 New file.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5167 New file.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5169 file.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5171 New file.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5173 New file.
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5175 file.
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5177 New file.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5179 New file.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5181 New file.
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5183 New file.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5185 New file.
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5187 New file.
5188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5190 file.
5191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5192 New file.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5194 file.
5195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5196 file.
5197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5198 file.
5199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5200 file.
5201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5202 file.
5203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5204 New file.
5205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5206 file.
5207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5208 file.
5209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5210 New file.
5211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5212 file.
5213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5215 file.
5216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5217 New file.
5218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5219 file.
5220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5221 file.
5222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5223 file.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5225 file.
5226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5227 file.
5228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5229 New file.
5230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5231 file.
5232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5233 file.
5234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5235 New file.
5236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5237 file.
5238 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5239 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5240 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5241 file.
5242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5243 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5244 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5245 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5246 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5247 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5248 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5249 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5250 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5251 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5254 file.
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5256 New file.
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5258 file.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5260 file.
5261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5262 file.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5264 file.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5266 file.
5267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5268 New file.
5269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5270 New file.
5271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5272 file.
5273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5274 New file.
5275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5276 file.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5279 file.
5280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5281 New file.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5283 file.
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5285 file.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5287 file.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5289 file.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5291 file.
5292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5293 New file.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5295 New file.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5297 file.
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5299 New file.
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5301 file.
5302
5303 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5304
5305 * conform/conformtest.pl: Fix typo in handling typed-constant from
5306 allow-header.
5307
5308 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5309
5310 * README: Cut down references to pre-2.6 Linux kernels and
5311 Linuxthreads. Update lists of configurations in libc and ports
5312 and sort alphabetically. Say "or newer" with Linux kernel version
5313 requirements.
5314
5315 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5316
5317 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5318
5319 [BZ #887]
5320 * math/libm-test.inc (logb_test_downward): New test to expose
5321 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5322 rounding mode.
5323
5324 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5325
5326 [BZ #14027]
5327 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5328 to be done.
5329 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5330 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5331
5332 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5333
5334 * sysdeps/unix/i386/brk.S: Remove file.
5335 * sysdeps/unix/i386/dl-brk.S: Likewise.
5336 * sysdeps/unix/i386/pipe.S: Likewise.
5337 * sysdeps/unix/i386/sigreturn.S: Likewise.
5338 * sysdeps/unix/i386/syscall.S: Likewise.
5339 * sysdeps/unix/i386/vfork.S: Likewise.
5340 * sysdeps/unix/i386/wait.S: Likewise.
5341
5342 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5343 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5344
5345 * configure.in (arm*-none*): Do not allow without
5346 --enable-hacker-mode.
5347 (netbsd*): Remove case setting base_os.
5348 (386bsd*): Likewise.
5349 (freebsd*): Likewise.
5350 (bsdi*): Likewise.
5351 (osf*): Likewise.
5352 (sunos*): Likewise.
5353 (ultrix*): Likewise.
5354 (newsos*): Likewise.
5355 (dynix*): Likewise.
5356 (*bsd*): Likewise.
5357 (sysv*): Likewise.
5358 (isc*): Likewise.
5359 (esix*): Likewise.
5360 (sco*): Likewise.
5361 (minix*): Likewise.
5362 (irix4*): Likewise.
5363 (irix6*): Likewise.
5364 (solaris[2-9]*): Likewise.
5365 (none): Likewise.
5366 * configure: Regenerated.
5367
5368 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5369
5370 [BZ #11521]
5371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5372 overflow or cancellation in calculating denominator.
5373 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5375 down expression to avoid unexpected rounding in newer GCCs.
5376 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5377
5378 2012-04-26 David S. Miller <davem@davemloft.net>
5379
5380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5381 long-double compat symbols.
5382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5395
5396 2012-04-25 David S. Miller <davem@davemloft.net>
5397
5398 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5399 HWCAP_* values only after the memory barriers have been defined.
5400 (atomic_full_barrier): Define.
5401 (atomic_read_barrier): Define.
5402 (atomic_write_barrier): Define.
5403
5404 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5405
5406 * shlib-versions: Add libgcc_s version information.
5407 * sysdeps/generic/libgcc_s.h: Remove.
5408 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5409 libgcc_s.h.
5410 * sysdeps/gnu/unwind-resume.c: Likewise.
5411 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5412
5413 2012-04-25 David S. Miller <davem@davemloft.net>
5414
5415 * sysdeps/unix/sparc/brk.S: Delete.
5416 * sysdeps/unix/sparc/dl-brk.S: Delete.
5417 * sysdeps/unix/sparc/pipe.S: Delete.
5418 * sysdeps/unix/sparc/sysdep.S: Delete.
5419 * sysdeps/unix/sparc/sysdep.h: Delete.
5420 * sysdeps/unix/sparc/vfork.S: Delete.
5421 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5422 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5424 ret_ERRVAL, r0, r1, MOVE): Define.
5425 (JUMPTARGET): Remove.
5426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5427 sysdeps/unix/sparc/sysdep.h
5428 (ENTRY, END): Remove.
5429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5430
5431 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5432
5433 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5434 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5435 -DIS_IN_build.
5436
5437 * timezone/README: Update upstream location and email address for
5438 tzcode and tzdata.
5439 * timezone/zdump.c: Update from tzcode 2012b.
5440 * timezone/zic.c: Likewise.
5441
5442 * configure.in (libc_cv_as_needed): Remove test.
5443 * configure: Regenerated.
5444 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5445 conditional definition.
5446 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5447 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5448 * config.make.in (have-as-needed): Remove variable.
5449
5450 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5451 Paul Pluzhnikov <ppluzhnikov@google.com>
5452
5453 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5454 strings correctly.
5455
5456 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5457
5458 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5459 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5460 * sysdeps/sh/strlen.S: Likewise.
5461
5462 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5463
5464 * sysdeps/unix/fork.S: Remove file.
5465 * sysdeps/unix/i386/fork.S: Likewise.
5466 * sysdeps/unix/sparc/fork.S: Likewise.
5467
5468 * sysdeps/unix/system.c: Remove file.
5469 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5470
5471 * sysdeps/unix/getegid.S: Remove file.
5472 * sysdeps/unix/geteuid.S: Likewise.
5473
5474 2012-04-24 Roland McGrath <roland@hack.frob.com>
5475
5476 * scripts/check-localplt.awk: New file.
5477 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5478 of diff.
5479 * scripts/data/localplt-generic.data: Add a comment.
5480
5481 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5482 NODE when __dir_mkfile failed.
5483 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5484 Reported by Ludovic Courtès <ludo@gnu.org>.
5485
5486 2012-04-24 Andreas Jaeger <aj@suse.de>
5487
5488 * Makerules (common-clean): Also remove gen-as-const-headers
5489 files.
5490
5491 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5492
5493 * Makerules (native-compile): Do not change working directory for
5494 build. Use $(OUTPUT_OPTION) in command.
5495 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5496
5497 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5498
5499 [BZ #13886]
5500 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5501 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5502 * math/libm-test.inc (floor_test): Add more tests.
5503 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5504
5505 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5506
5507 * sysdeps/unix/getdents.c: Remove file.
5508 * sysdeps/unix/sysv/getdents.c: Likewise.
5509 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5510
5511 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5512 sysdeps/unix/mman/syscalls.list.
5513 (mmap): Likewise.
5514 (mprotect): Likewise.
5515 (msync): Likewise.
5516 (munmap): Likewise.
5517 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5518 * sysdeps/unix/mman/syscalls.list: Remove.
5519 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5520
5521 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5522 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5523 * configure: Regenerated.
5524 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5525 $(libgcc_s_suffix).
5526 * config.make.in (libgcc_s_suffix): Remove variable.
5527
5528 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5529
5530 * sysdeps/unix/sysv/gethostname.c: Move to ...
5531 * sysdeps/posix/gethostname.c: ... here.
5532
5533 * sysdeps/unix/execve.S: Remove file.
5534
5535 * sysdeps/unix/_exit.S: Remove file.
5536
5537 2012-04-23 Andreas Jaeger <aj@suse.de>
5538
5539 [BZ #13739]
5540 * manual/Makefile: Remove make dist support, there's no
5541 need for a stand-alone documentation tar ball.
5542 (TEXI2DVI): Define always, it's not in Makeconfig.
5543 (dist): Removed.
5544 (tar-it): Removed.
5545 (edition): Removed.
5546 (glibc-doc-$(edition).tar): Removed
5547 (%.Z): Removed.
5548 (%.gz): Removed.
5549 (%.uu): Removed.
5550 (ETAGS): Remove, it's in Makeconfig.
5551 (move-if-change): Remove, it's in Makeconfig.
5552
5553 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5554
5555 [BZ #13970]
5556 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5557 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5558 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5559 (strtod_l, strtof_l, strtold_l): Remove __wur.
5560 It is not necessarily an error to ignore strtol's return value.
5561 One can reliably look at the stored endptr to decide whether
5562 the number had valid syntax.
5563
5564 2012-04-21 Andreas Jaeger <aj@suse.de>
5565
5566 [BZ #13739]
5567 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5568
5569 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5570
5571 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5572 * sysdeps/unix/sysv/Versions: Remove file.
5573
5574 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5575
5576 [BZ #13927]
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5578
5579 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5580
5581 [BZ #7064]
5582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5583 version from __vm86.
5584
5585 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5586
5587 * sysdeps/unix/common/lxstat.c: Remove file.
5588 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5589
5590 * sysdeps/unix/sysv/Makefile: Remove file.
5591
5592 * sysdeps/unix/sysv/direct.h: Remove file.
5593
5594 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5595 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5596 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5597 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5598 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5599 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5600 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5601
5602 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5603
5604 * sysdeps/unix/xmknod.c: Remove file.
5605 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5606
5607 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5608
5609 * sysdeps/unix/sysv/i386/time.S: Remove file.
5610
5611 * sysdeps/unix/fxstat.c: Remove file.
5612 * sysdeps/unix/xstat.c: Likewise.
5613 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5614
5615 * sysdeps/unix/sysv/sigaction.c: Remove file.
5616
5617 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5618 (sysdep_headers): Remove variable.
5619 [termio.h not in sysdep_headers] (generated): Likewise.
5620 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5621 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5622 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5623 * sysdeps/unix/sysv/tcflow.c: Likewise.
5624 * sysdeps/unix/sysv/tcflush.c: Likewise.
5625 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5626 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5627 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5628 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5629 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5630
5631 * sysdeps/unix/siglist.c: Remove file.
5632
5633 * sysdeps/unix/getppid.S: Remove file.
5634
5635 * sysdeps/unix/mkdir.c: Remove file.
5636 * sysdeps/unix/rmdir.c: Likewise.
5637
5638 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5639
5640 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5641 ERR_MAX value.
5642 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5643 errlist-compat value.
5644
5645 2012-04-18 David S. Miller <davem@davemloft.net>
5646
5647 * sysdeps/generic/memcopy.h (reg_char): Delete.
5648 * debug/strcat_chk.c: Use char, not reg_char.
5649 * debug/strcpy_chk.c: Likewise.
5650 * debug/strncat_chk.c: Likewise.
5651 * debug/strncpy_chk.c: Likewise.
5652 * string/memchr.c: Likewise.
5653 * string/memrchr.c: Likewise.
5654 * string/rawmemchr.c: Likewise.
5655 * string/strcat.c: Likewise.
5656 * string/strchr.c: Likewise.
5657 * string/strchrnul.c: Likewise.
5658 * string/strcmp.c: Likewise.
5659 * string/strcpy.c: Likewise.
5660 * string/strncat.c: Likewise.
5661 * string/strncmp.c: Likewise.
5662 * string/strncpy.c: Likewise.
5663
5664 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5665
5666 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5667 __builtin_memcopy is called when src and dest ranges are known to not
5668 overlap.
5669
5670 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5671
5672 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5673 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5674 fwd_align_merge macro call.
5675 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5676 bwd_align_merge macro call.
5677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5678
5679 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5680
5681 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5682 bwd_align_merge macros.
5683 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5684 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5685 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5686
5687 2012-04-18 David S. Miller <davem@davemloft.net>
5688
5689 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5690
5691 2012-04-18 Andreas Jaeger <aj@suse.de>
5692
5693 [BZ# 6794]
5694 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5695 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5697
5698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5699 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5701
5702 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5703 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5704 Adjust for changed ldbl-128 files.
5705
5706 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5707 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5708 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5709
5710 2012-04-17 David S. Miller <davem@davemloft.net>
5711
5712 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5713
5714 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5715
5716 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5717 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5718 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5719 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5720 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5721 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5722
5723 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724
5725 [BZ #6794]
5726 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5727 * math/libm-test.inc: Add ilogb errno and exception tests.
5728 * math/w_ilogb.c: New file: ilogb wrapper.
5729 * math/w_ilogbf.c: New file: ilogbf wrapper.
5730 * math/w_ilogbl.c: New file: ilogbl wrapper.
5731 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5732 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5733 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5734 exception being thrown with 0.0 as argument.
5735 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5736 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5737 exception being thrown with 0.0 as argument.
5738 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5739 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5740 exception being thrown with 0.0 as argument.
5741 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5742 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5743 exception being thrown with 0.0 as argument.
5744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5745 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5747 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5749 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5750 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5751 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5752 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5753
5754 2012-04-17 Petr Baudis <pasky@ucw.cz>
5755
5756 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5757 with altivec.
5758
5759 2012-04-16 Marek Polacek <polacek@redhat.com>
5760
5761 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5762
5763 2012-04-16 Marek Polacek <polacek@redhat.com>
5764
5765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5766 operands of fdivp instruction.
5767
5768 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5771 * elf/tst-auditmod3b.c: Likewise.
5772 * elf/tst-auditmod4b.c: Likewise.
5773 * elf/tst-auditmod5b.c: Likewise.
5774 * elf/tst-auditmod6b.c: Likewise.
5775 * elf/tst-auditmod6c.c: Likewise.
5776 * elf/tst-auditmod7b.c: Likewise.
5777 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5778 * sysdeps/x86_64/preconfigure.in: Likewise.
5779 * sysdeps/x86_64/preconfigure: Regenerated.
5780
5781 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5782
5783 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5784 __ILP32__.
5785
5786 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5787
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5789 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5790
5791 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5792
5793 [BZ #13973]
5794 * locale/iso-639.def: Fix gl language name. Spotted by
5795 Yaron Shahrabani.
5796
5797 2012-04-12 Roland McGrath <roland@hack.frob.com>
5798
5799 [BZ #2074]
5800 * libio/libio.h (__io_write_fn): Update comment.
5801
5802 2012-04-12 Petr Baudis <pasky@ucw.cz>
5803
5804 [BZ #2074]
5805 * stdio.texi (Hook Functions): The user provided writer function
5806 is not allowed to return -1.
5807
5808 2012-04-11 David S. Miller <davem@davemloft.net>
5809
5810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5811
5812 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5813
5814 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5815 Add a leading slash to rtkaio.
5816
5817 2012-04-11 Jim Meyering <meyering@redhat.com>
5818
5819 [BZ #11959]
5820 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5821 It is not necessarily an error to ignore fwrite's return
5822 value. One can reliably use ferror to test for errors after
5823 the fact.
5824
5825 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5826
5827 * bits/types.h (__snseconds_t): New type.
5828 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5829
5830 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5832 (__SNSECONDS_T_TYPE): Likewise.
5833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5834 (__SNSECONDS_T_TYPE): Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5836 (__SNSECONDS_T_TYPE): Likewise.
5837
5838 2012-04-10 Andreas Jaeger <aj@suse.de>
5839
5840 [BZ #2636]
5841 * manual/time.texi (Processor Time): Return type of times is
5842 elapsed real time since an arbitrary point in the past.
5843 (CPU Time): Move CLK_TCK from here...
5844 (Processor Time): ...to here. Correct description.
5845 * manual/conf.texi (Constants for Sysconf): Correct description of
5846 _SC_CLK_TCK.
5847
5848 2012-04-10 David S. Miller <davem@davemloft.net>
5849
5850 [BZ #13967]
5851 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5852 where the is a gap between DT_REL(A) and DT_JMPREL.
5853
5854 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5857 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5858 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5859
5860 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5863 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5864 (dl_main): Handle --inhibit-cache.
5865 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5866 _dl_inhibit_cache.
5867 * elf/dl-load.c (_dl_map_object): Use it.
5868 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5869
5870 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5871
5872 [BZ #13872]
5873 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5874 (__ieee754_powl): Saturate large exponents rather than testing for
5875 overflow of y*log2(x).
5876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5877 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5878 exceptions.
5879
5880 [BZ #11521]
5881 * math/s_ctan.c: Include <float.h>.
5882 (__ctan): Avoid internal overflow or cancellation in calculating
5883 denominator.
5884 * math/s_ctanf.c: Likewise.
5885 * math/s_ctanl.c: Likewise.
5886 * math/s_ctanh.c: Likewise.
5887 * math/s_ctanhf.c: Likewise.
5888 * math/s_ctanhl.c: Likewise.
5889 * math/libm-test.inc (ctan_test): Add more tests.
5890 (ctanh_test): Likewise.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update.
5892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5893
5894 2012-04-09 Andreas Jaeger <aj@suse.de>
5895
5896 [BZ #6894]
5897 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5898 is an optional BSD extension.
5899
5900 [BZ #10254]
5901 * manual/stdio.texi (Opening Streams): Document additional fopen
5902 parameters.
5903
5904 2012-04-09 Roland McGrath <roland@hack.frob.com>
5905
5906 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5907 %eax without telling the compiler.
5908
5909 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5910
5911 [BZ # 13963]
5912 * manual/install.texi: Use sourceware.org.
5913
5914 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #13873]
5917 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5918 (__ieee754_pow): Generate overflow and underflow using huge*huge
5919 and tiny*tiny rather than just returning constant infinity or zero
5920 for large exponents.
5921 * math/libm-test.inc (pow_test): Require overflow exceptions for
5922 applicable cases of large exponents.
5923
5924 [BZ #706]
5925 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5926 (__ieee754_pow): Use iterative multiplication algorithm only for
5927 integer exponents with absolute value below 1024. Check for odd
5928 integer exponents when using algorithm for real exponents.
5929 * math/libm-test.inc (pow_test): Add more tests.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5931
5932 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5933
5934 [BZ #13705]
5935 * math/libm-test.inc (exp_test): Do not allow overflow exception
5936 on underflow test.
5937
5938 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5939
5940 [BZ #13705]
5941 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5942 instead of __kernel_standard_f.
5943
5944 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5945
5946 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5947 * sysdeps/x86_64/memset_chk.S: Likewise.
5948
5949 2012-04-08 Andreas Jaeger <aj@suse.de>
5950
5951 [BZ #10153]
5952 * manual/startup.texi (Environment Access): Describe return value
5953 for putenv and setenv.
5954
5955 [BZ #6895]
5956 * manual/filesys.texi (Directory Entries): Add description for
5957 DT_LNK.
5958
5959 [BZ #6890]
5960 * manual/filesys.texi (Directory Entries): Clarify that it's file
5961 system not operating system in the description of DT_UNKNOWN.
5962
5963 [BZ #6578]
5964 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5965
5966 2012-04-08 Stephen Compall <s11@member.fsf.org>
5967
5968 [BZ #6649]
5969 * manual/llio.texi (Opening and Closing Files): Add cross
5970 reference to explain mode argument.
5971
5972 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5973
5974 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5975 * sysdeps/x86_64/memset_chk.S: Likewise.
5976
5977 2012-04-07 David S. Miller <davem@davemloft.net>
5978
5979 * elf/elf.h (R_SPARC_WDISP10): Define.
5980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5981 R_SPARC_SIZE32.
5982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5983 R_SPARC_SIZE64 and R_SPARC_H34.
5984
5985 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5986
5987 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5988 conditions and remove no longer applicable assertion.
5989
5990 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * bits/byteswap.h: Include <features.h>.
5993 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5994 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5995
5996 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5997
5998 * bits/byteswap.h (__bswap_16): Removed.
5999 Include <bits/byteswap-16.h> to get __bswap_16.
6000 * sysdeps/i386/bits/byteswap.h: Likewise.
6001 * sysdeps/s390/bits/byteswap.h: Likewise.
6002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6003 * bits/byteswap-16.h: New file.
6004 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6005 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6006 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6007 * string/Makefile (headers): Add bits/byteswap-16.h.
6008
6009 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6010
6011 [BZ #13895]
6012 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6013 extra indirection.
6014 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6015 * nss/tst-nss-static.c: New.
6016
6017 2012-04-06 Robert Millan <rmh@gnu.org>
6018
6019 [BZ #6486]
6020 * manual/llio.texi (File Position Primitive): lseek
6021 refers to WHENCE when it really means OFFSET.
6022
6023 2012-04-06 Andreas Jaeger <aj@suse.de>
6024
6025 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6026 strncmp declarations.
6027
6028 * abilist/libc.abilist: Add __poll and __ppoll.
6029
6030 2012-04-05 David S. Miller <davem@davemloft.net>
6031
6032 * scripts/check-local-headers.sh: Accept a host triplet in the
6033 path matched by the exclude regexp.
6034
6035 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6036 definition.
6037 * sysdeps/powerpc/powerpc32/dl-machine.h
6038 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6039 * sysdeps/s390/s390-32/dl-machine.h
6040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6041 * sysdeps/sparc/sparc32/dl-machine.h
6042 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6043 * sysdeps/sparc/sparc64/dl-machine.h
6044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6045
6046 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6047 lazy binding.
6048 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6049 undefined symbol errors.
6050
6051 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6052 DT_NEEDED entries.
6053
6054 2012-04-05 Michael Matz <matz@suse.de>
6055
6056 [BZ #13592]
6057 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6058
6059 2012-04-05 Andreas Jaeger <aj@suse.de>
6060
6061 [BZ #13908]
6062 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6063 comment.
6064
6065 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6066
6067 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6068 which ROUND is no valid rounding mode.
6069
6070 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6071
6072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6073 read again.
6074 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6075
6076 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6077
6078 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6079 an exception using FPU order intentionally.
6080
6081 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6082
6083 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6084 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6085 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6086 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6087
6088 2012-04-05 Simon Josefsson <simon@josefsson.org>
6089
6090 [BZ #12340]
6091 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6092 EINVAL when BUFLEN is too smal.
6093
6094 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6095
6096 [BZ #13553]
6097 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6098 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6099
6100 2012-04-03 Andreas Jaeger <aj@suse.de>
6101
6102 [BZ #13938]
6103 * manual/setjmp.texi (System V contexts): Fix sentence.
6104
6105 [BZ #13926]
6106 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6107 New macro for this case.
6108 [!__GNUC__] (__bswap_64): New inline function for this case.
6109 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6110 * bits/byteswap.h: Likewise.
6111 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6112 ull, guard with __GLIBC_HAVE_LONG_LONG.
6113
6114 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6115 __GLIBC_HAVE_LONG_LONG.
6116
6117 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6118 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6119
6120 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6121
6122 [BZ #13691]
6123 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6124 inptr and inend, rather than using last_ch.
6125
6126 2012-04-02 David S. Miller <davem@davemloft.net>
6127
6128 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6129 * stdio-common/printf-parse.h (read_int): Change return type to
6130 'int', return -1 on INT_MAX overflow.
6131 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6132 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6133 overflows INT_MAX. Check for overflow of in-format-string precision
6134 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6135 SIZE_MAX not INT_MAX for integer overflow test.
6136 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6137 skip the construct in the format string but do not record anything.
6138 * stdio-common/bug22.c: Adjust to test both width/prevision
6139 INT_MAX overflow as well as total length INT_MAX overflow. Check
6140 explicitly for proper errno values.
6141
6142 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6143
6144 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6145 CHAR_MAX.
6146 * string/test-strcmp.c [! WIDE]: Likewise.
6147 * time/tst-mktime2.c: Likewise for INT_MAX.
6148 * string/test-string.h: #include <sys/param.h> for MIN.
6149
6150 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6151 * sysdeps/i386/init-first.c (init): Likewise.
6152 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6153 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6154 * sysdeps/sh/init-first.c (init): Likewise.
6155
6156 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6157
6158 * po/ru.po: Update from translation team.
6159 * po/vi.po: Likewise.
6160
6161 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6162
6163 * resolv/nss_dns/dns-host.c: Merge copyright years.
6164
6165 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6166
6167 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6168 Optimize memcpy with prefetch if
6169 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6170 src, dst pointers have unequal 16 byte alignments.
6171
6172 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6173
6174 [BZ #13928]
6175 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6176 from a CNAME entry and return the minimum ttl for the query.
6177 (gaih_getanswer_slice): Likewise.
6178
6179 2012-03-30 Jeff Law <law@redhat.com>
6180
6181 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6182 due to long keys.
6183 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6184 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6185
6186 * resolv/nss_dns/dns-host.c: Update copyright year.
6187
6188 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6189
6190 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6191 requests to save a system call. Fix check that all bytes are sent.
6192
6193 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6194 comments for sendmmsg.
6195
6196 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6197
6198 [BZ #13691]
6199 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6200 with only 1 character between 0x0041 and 0x01b0.
6201 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6202 * wcsmbs/tst-mbsnrtowcs.c: New file.
6203
6204 2012-03-29 David S. Miller <davem@davemloft.net>
6205
6206 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6207 small copies by hand.
6208
6209 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6210
6211 [BZ #13761]
6212 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6213 _nss_compat_initgroups_dyn): Fall back to malloc/free
6214 for large group memberships.
6215
6216 2012-03-28 David S. Miller <davem@davemloft.net>
6217
6218 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6219 that branches into memcpy.
6220 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6223 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6225 bits.
6226 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6227 implementation too.
6228 * sysdeps/sparc/mempcpy.S: New file.
6229
6230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6231 the IFUNC routine in the libc case.
6232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6233
6234 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6235 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6236 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6238 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6239 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6240 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6241 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6242
6243 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6244 loop to 256 bytes instead of 64 bytes and fix test signedness.
6245
6246 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6247 * sysdeps/sparc/sparc32/Makefile: rather than here...
6248 * sysdeps/sparc/sparc64/Makefile: and here.
6249
6250 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6251
6252 * malloc/mallocbug.c: Avoid warnings about unused variables.
6253
6254 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 [BZ #13760]
6257 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6258 in the right place. Discard and retry query if response is
6259 larger than input buffer size.
6260
6261 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6262
6263 [BZ #369]
6264 [BZ #2678]
6265 [BZ #3866]
6266 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6267 x for large integer exponent.
6268 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6269 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6270 sign of result as needed afterwards.
6271 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6272 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6273 result for underflowing pow the same as for overflow.
6274 (__kernel_standard_l): Handle powl overflow and underflow here
6275 rather than calling __kernel_standard.
6276 * math/libm-test.inc (pow_test): Add more tests.
6277
6278 [BZ #3868]
6279 [BZ #13879]
6280 [BZ #13910]
6281 [BZ #13911]
6282 [BZ #13912]
6283 [BZ #13913]
6284 [BZ #13915]
6285 [BZ #13916]
6286 [BZ #13917]
6287 [BZ #13918]
6288 [BZ #13919]
6289 [BZ #13920]
6290 [BZ #13921]
6291 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6292 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6293 (__kernel_standard_l): New function.
6294 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6295 __kernel_standard.
6296 * math/w_acosl.c (__acosl): Likewise.
6297 * math/w_asinl.c (__asinl): Likewise.
6298 * math/w_atan2l.c (__atan2l): Likewise.
6299 * math/w_atanhl.c (__atanhl): Likewise.
6300 * math/w_coshl.c (__coshl): Likewise.
6301 * math/w_exp10l.c (__exp10l): Likewise.
6302 * math/w_exp2l.c (__exp2l): Likewise.
6303 * math/w_fmodl.c (__fmodl): Likewise.
6304 * math/w_hypotl.c (__hypotl): Likewise.
6305 * math/w_j0l.c (__j0l, __y0l): Likewise.
6306 * math/w_j1l.c (__j1l, __y1l): Likewise.
6307 * math/w_jnl.c (__jnl, __ynl): Likewise.
6308 * math/w_lgammal.c (__lgammal): Likewise.
6309 * math/w_log10l.c (__log10l): Likewise.
6310 * math/w_log2l.c (__log2l): Likewise.
6311 * math/w_logl.c (__logl): Likewise.
6312 * math/w_powl.c (__powl): Likewise.
6313 * math/w_remainderl.c (__remainderl): Likewise.
6314 * math/w_scalbl.c (sysv_scalbl): Likewise.
6315 * math/w_sinhl.c (__sinhl): Likewise.
6316 * math/w_sqrtl.c (__sqrtl): Likewise.
6317 * math/w_tgammal.c (__tgammal): Likewise.
6318 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6319 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6320 * math/libm-test.inc (acos_test): Add more tests.
6321 (acosh_test): Likewise.
6322 (asin_test): Likewise.
6323 (atanh_test): Likewise.
6324 (exp_test): Likewise.
6325 (exp10_test): Likewise.
6326 (exp2_test): Likewise.
6327 (expm1_test): Likewise.
6328 (lgamma_test): Likewise.
6329 (log_test): Likewise.
6330 (log10_test): Likewise.
6331 (log1p_test): Likewise.
6332 (log2_test): Likewise.
6333 (pow_test): Do not allow some spurious overflow exceptions.
6334 (sqrt_test): Add more tests.
6335 (tgamma_test): Likewise.
6336 (y0_test): Likewise.
6337 (y1_test): Likewise.
6338 (yn_test): Likewise.
6339
6340 2012-03-27 Anton Blanchard <anton@samba.org>
6341
6342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6343 MAP_HUGETLB.
6344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6345 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6347
6348 2012-03-27 David S. Miller <davem@davemloft.net>
6349
6350 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6351
6352 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6353 have-as-vis3 check.
6354
6355 2012-03-27 Andreas Jaeger <aj@suse.de>
6356
6357 * sysdeps/x86_64/elf/configure.in: Moved to ...
6358 * sysdeps/x86_64/configure.in: ... here.
6359 * sysdeps/x86_64/elf/start.S: Moved to ...
6360 * sysdeps/x86_64/start.S: ... here.
6361 * sysdeps/x86_64/elf/configure: Delete.
6362
6363 * sysdeps/x86_64/configure.in: Merge contents from
6364 sysdeps/i386/configure.in (without i686 check).
6365
6366 * sysdeps/i386/elf/Versions: Merge into ...
6367 * sysdeps/i386/Versions: ... this.
6368 * sysdeps/i386/elf/Versions: Delete file.
6369 * sysdeps/i386/elf/start.S: Moved to ...
6370 * sysdeps/i386/start.S: ...here.
6371 * sysdeps/i386/elf/configure.in: Merge into...
6372 * sysdeps/i386/configure.in: ...here.
6373 * sysdeps/i386/elf/configure.in: Delete file.
6374 * sysdeps/i386/elf/configure: Delete file.
6375
6376 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6377 * debug/backtracesyms.c: ... here.
6378 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6379 * debug/backtracesymsfd.c: ... here.
6380 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6381 * sysdeps/generic/ifunc-sel.h: ... here.
6382
6383 * sysdeps/unix/i386/start.c: Delete file.
6384 * sysdeps/unix/sparc/start.c: Delete file.
6385 * sysdeps/unix/start.c: Delete file.
6386
6387 * sysdeps/sh/elf/configure.in: Moved to ...
6388 * sysdeps/sh/configure.in: ... here.
6389 * sysdeps/sh/elf/start.S: Moved to ...
6390 * sysdeps/sh/start.S: ... here.
6391 * sysdeps/sh/elf/configure: Delete file.
6392
6393 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6394 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6395 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6396 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6397 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6398 * sysdeps/powerpc/powerpc64/start.S: here.
6399 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6400 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6401 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6402 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6403 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6404
6405 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6406 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6407 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6408 * sysdeps/powerpc/powerpc32/start.S: ... here.
6409 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6410 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6411 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6412
6413 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6414 * sysdeps/powerpc/ifunc-sel.h: ... here.
6415 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6416 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6417
6418 * sysdeps/sparc/elf/configure.in: Moved to ...
6419 * sysdeps/sparc/configure.in: ... here.
6420 * sysdeps/sparc/elf/configure: Delete file.
6421 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6422 * sysdeps/sparc/sparc32/start.S: ... here.
6423 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6424 * sysdeps/sparc/sparc64/start.S: ... here.
6425 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6426 * sysdeps/sparc/sparc32/Makefile: ... this.
6427 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6428 * sysdeps/sparc/sparc64/Makefile: ... this.
6429
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/bsd-setjmp.S: Moved to ...
6433 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6434 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6435 * sysdeps/s390/s390-32/setjmp.S: ... here.
6436 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6437 * sysdeps/s390/s390-32/configure.in: ... here.
6438 * sysdeps/s390/s390-32/elf/configure: Delete file.
6439 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6440 * sysdeps/s390/s390-32/start.S: ... here.
6441
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/bsd-setjmp.S: Moved to ...
6445 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6446 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6447 * sysdeps/s390/s390-64/setjmp.S: ... here.
6448 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6449 * sysdeps/s390/s390-64/configure.in: ... here
6450 * sysdeps/s390/s390-64/elf/configure: Delete file.
6451 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6452 * sysdeps/s390/s390-64/start.S: ... here.
6453 * sysdeps/s390/s390-64/elf/configure: Delete.
6454
6455 * configure.in: Remove support for elf directories in sysdeps.
6456
6457 * configure: Regenerated.
6458 * sysdeps/i386/configure: Regenerated.
6459 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6460 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6461 * sysdeps/s390/s390-32/configure: Regenerated.
6462 * sysdeps/s390/s390-64/configure: Regenerated.
6463 * sysdeps/sh/configure: Regenerated.
6464 * sysdeps/sparc/configure: Regenerated.
6465 * sysdeps/x86_64/configure: Regenerated.
6466
6467 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6468
6469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6470
6471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6472 denormal result into account.
6473
6474 2012-03-25 Roland McGrath <roland@hack.frob.com>
6475
6476 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6477 Reported by Allan McRae <allan@archlinux.org>.
6478
6479 2012-03-23 Jeff Law <law@redhat.com>
6480
6481 * nss/getnssent.c (__nss_getent): Fix typo.
6482
6483 2012-03-23 David S. Miller <davem@davemloft.net>
6484
6485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6486
6487 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6490 to pad to uint64_t for each field.
6491 (dl_tls_index): Replace unsigned long with uint64_t.
6492
6493 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6494 Paul Pluzhnikov <ppluzhnikov@google.com>
6495
6496 [BZ #6528]
6497 * grp/Makefile (otherlibs): Don't set it.
6498 * inet/Makefile (otherlibs): Likewise.
6499 * login/Makefile (otherlibs): Likewise.
6500 * nscd/Makefile (otherlibs): Likewise.
6501 * posix/Makefile (otherlibs): Likewise.
6502 * pwd/Makefile (otherlibs): Likewise.
6503 * rt/Makefile (otherlibs): Likewise.
6504 * sunrpc/Makefile (otherlibs): Likewise.
6505 * nss/Makefile (otherlibs): Likewise.
6506 Add libnss_files to routines and static-only-routines.
6507 ($(objpfx)getent): Remove rule.
6508 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6509 static-only-routines.
6510
6511 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6512
6513 [BZ #13892]
6514 * math/s_cexp.c: Include <float.h>.
6515 (__cexp): Handle exp result overflowing not necessarily
6516 overflowing both real and imaginary parts of result.
6517 * math/s_cexpf.c: Likewise.
6518 * math/s_cexpl.c: Likewise.
6519 * math/libm-test.inc (cexp_test): Add more tests.
6520 * sysdeps/i386/fpu/libm-test-ulps: Update.
6521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6522
6523 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * include/link.h (ELFW): New macro.
6526 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6527 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6528
6529 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6532 with uint64_t.
6533
6534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6535
6536 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6537 declaration.
6538 (struct La_x32_retval): Likewise.
6539
6540 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 * sysdeps/x86_64/preconfigure.in: New file.
6543 * sysdeps/x86_64/preconfigure: New generated file.
6544
6545 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6546
6547 [BZ #13824]
6548 * math/e_exp2l.c: Include <float.h>.
6549 (__ieee754_exp2l): Handle overflow and underflow cases
6550 separately. Only pass fractional part of argument to
6551 __ieee754_expl.
6552 * math/libm-test.inc (exp2_test): Add more tests.
6553
6554 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6555 negating x to take absolute value.
6556 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6557 Likewise.
6558 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6560 Likewise.
6561 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6562 computing low part if x was negated.
6563 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6564
6565 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6566
6567 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6568 la_x32_gnu_pltexit.
6569 (pltexit): Cast int_retval to ptrdiff_t.
6570 * elf/tst-auditmod3b.c: Likewise.
6571 * elf/tst-auditmod4b.c: Likewise.
6572 * elf/tst-auditmod5b.c: Likewise.
6573 * elf/tst-auditmod6b.c: Likewise.
6574 * elf/tst-auditmod6c.c: Likewise.
6575 * elf/tst-auditmod7b.c: Likewise.
6576
6577 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6578 and x32_gnu_pltexit.
6579
6580 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6581 __ELF_NATIVE_CLASS.
6582 (La_x32_regs): New macro.
6583 (La_x32_retval): Likewise.
6584 (la_x32_gnu_pltenter): New function prototype.
6585 (la_x32_gnu_pltexit): Likewise.
6586
6587 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6590 exponent.
6591
6592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6593
6594 * configure.in (libc_cv_cc_nofma): Check for option to disable
6595 generation of FMA instructions.
6596 * configure: Regenerate.
6597 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6598 * sysdeps/ieee754/dbl-64/Makefile: New file.
6599 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6600 Remove brandred-fma4.
6601 (CFLAGS-brandred-fma4.c): Remove.
6602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6603 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6604 define.
6605 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6606 define.
6607
6608 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6609
6610 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6611 LLONG_MAX != LONG_MAX.
6612 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6613 (_fitoa_word): Likewise.
6614 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6615 LLONG_MAX != LONG_MAX.
6616 * stdio-common/_itowa.h: Include <_itoa.h>.
6617 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6618 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6619 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6620 only if not defined.
6621 (_ITOA_WORD_TYPE): Likewise.
6622 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6623 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6624
6625 2012-03-21 David S. Miller <davem@davemloft.net>
6626
6627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6628
6629 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6630
6631 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6632 of x86_64 when setting libc_cv_slibdir, libdir and
6633 libc_cv_localedir.
6634 * sysdeps/unix/sysv/linux/configure: Regenerated.
6635
6636 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6637
6638 * manual/lang.texi (Old Varargs): Remove section.
6639 (How Variadic): Update menu.
6640 (va_start): Do not mention varargs.h.
6641
6642 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6643 Joseph Myers <joseph@codesourcery.com>
6644
6645 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6646 link test.
6647 * configure: Regenerated.
6648
6649 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6650
6651 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6652 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6653 conformtest.pl
6654
6655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6656
6657 * NOTES: Remove.
6658 * Makefile (files-for-dist): Remove NOTES.
6659 (NOTES): Remove rule.
6660 * README: Don't refer to NOTES.
6661 * manual/creature.texi: Don't include macros.texi.
6662 * manual/intro.texi (creature.texi): Remove comment referring to
6663 NOTES.
6664
6665 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6666 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6667 * configure: Regenerated.
6668 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6669 LIBC_TRY_CC_OPTION.
6670 (libc_cv_as_i686): Likewise.
6671 (libc_cv_cc_avx): Likewise.
6672 (libc_cv_cc_sse2avx): Likewise.
6673 (libc_cv_cc_fma4): Likewise.
6674 (libc_cv_cc_novzeroupper): Likewise.
6675 * sysdeps/i386/configure: Regenerated.
6676
6677 [BZ #13883]
6678 * sysdeps/i386/fpu/s_cexp.S: Remove.
6679 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6680 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6681 * math/libm-test.inc (cexp_test): Add more tests.
6682 * sysdeps/i386/fpu/libm-test-ulps: Update.
6683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6684
6685 2012-03-21 Allan McRae <allan@archlinux.org>
6686
6687 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6688
6689 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #13871]
6692 * math/w_exp2.c: Do not include <float.h>.
6693 (o_threshold, u_threshold): Remove.
6694 (__exp2): Calculate result before checking finiteness and calling
6695 __kernel_standard.
6696 * math/w_exp2f.c: Likewise.
6697 * math/w_exp2l.c: Likewise.
6698 * math/libm-test.inc (exp2_test): Require overflow exception for
6699 1e6 input.
6700
6701 [BZ #3866]
6702 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6703 range of signed 64-bit integers before using fistpll. Remove
6704 checks for whether integers fit in mantissa bits.
6705 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6706 the range of signed 32-bit integers before using fistpl. Remove
6707 checks for whether integers fit in mantissa bits.
6708 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6709 (__ieee754_powl): Test for y outside the range of signed 64-bit
6710 integers before using fistpll. Reduce 64-bit values to 63-bit
6711 ones as needed.
6712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6713 divide-by-zero is raised for zero to large negative powers.
6714 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6715 (__ieee754_powl): Test for y outside the range of signed 64-bit
6716 integers before using fistpll. Reduce 64-bit values to 63-bit
6717 ones as needed.
6718 * math/libm-test.inc (pow_test): Add more tests.
6719
6720 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6721
6722 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6723 <stdio-common/_itoa.h>.
6724 * debug/segfault.c: Likewise.
6725 * elf/dl-cache.c: Likewise.
6726 * elf/dl-minimal.c: Likewise.
6727 * elf/dl-misc.c: Likewise.
6728 * elf/dl-sysdep.c: Likewise.
6729 * elf/dl-version.c: Likewise.
6730 * elf/rtld.c: Likewise.
6731 * hurd/hurdsock.c: Likewise.
6732 * hurd/lookup-retry.c: Likewise.
6733 * malloc/malloc.c: Likewise.
6734 * malloc/mtrace.c: Likewise.
6735 * nscd/nscd_getgr_r.c: Likewise.
6736 * nscd/nscd_getpw_r.c: Likewise.
6737 * nscd/nscd_getserv_r.c: Likewise.
6738 * posix/getopt_init.c: Likewise.
6739 * posix/wordexp.c: Likewise.
6740 * stdio-common/_itoa.c: Likewise.
6741 * stdio-common/printf_fphex.c: Likewise.
6742 * stdio-common/vfprintf.c: Likewise.
6743 * string/_strerror.c: Likewise.
6744 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6745 * sysdeps/i386/i686/hp-timing.h: Likewise.
6746 * sysdeps/mach/_strerror.c: Likewise.
6747 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6748 * sysdeps/mach/hurd/sethostid.c: Likewise.
6749 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6750 * sysdeps/mach/xpg-strerror.c: Likewise.
6751 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6752 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6753 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6754 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6756 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6757 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6758 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6759 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6760 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6761 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6762 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6766 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6769 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6770 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6771 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6772
6773 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6774
6775 * stdio-common/_itoa.h: Moved to ...
6776 * sysdeps/generic/_itoa.h: Here.
6777
6778 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6779
6780 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6781 instead of "_itoa.h" and "_itowa.h".
6782 * stdio-common/vfprintf.: Likewise.
6783
6784 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6785
6786 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6787 <bits/wordsize.h>.
6788 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6789 (__signbit): Likwise.
6790 (llrintf): Likwise.
6791 (llrint): Likwise.
6792
6793 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6796 __WORDSIZE != 64.
6797
6798 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6799
6800 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6801 OVERFLOW_EXCEPTION_OK.
6802 * math/libm-test.inc ("Philosophy"): Update comment about
6803 exception testing.
6804 (OVERFLOW_EXCEPTION): Define.
6805 (OVERFLOW_EXCEPTION_OK): Likewise.
6806 (INVALID_EXCEPTION_OK): Renumber.
6807 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6808 (IGNORE_ZERO_INF_SIGN): Likewise.
6809 (test_exceptions): Handle FE_OVERFLOW.
6810 (exp10_test): Expect overflow exceptions.
6811 (exp2_test): Likewise.
6812 (expm1_test): Likewise.
6813 (nextafter_test): Likewise.
6814 (pow_test): Likewise.
6815 (scalbn_test): Likewise.
6816 (scalbln_test): Likewise.
6817
6818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6819
6820 * sysdeps/x86_64/bits/atomic.h
6821 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6822 64bit integer.
6823 (atomic_exchange_acq): Likewise.
6824 (__arch_exchange_and_add_body): Likewise.
6825 (__arch_add_body): Likewise.
6826 (atomic_add_negative): Likewise.
6827 (atomic_add_zero): Likewise.
6828
6829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6830
6831 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6832 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6833
6834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6837 Check __x86_64__ instead of __WORDSIZE.
6838
6839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6840
6841 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6842
6843 2012-03-19 David S. Miller <davem@davemloft.net>
6844
6845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6846
6847 * sysdeps/sparc/fpu/fenv_private.h: New file.
6848 * sysdeps/sparc/fpu/math_private.h: Use it.
6849 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6850 Remove.
6851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6852 (libc_feholdexcept_setroundl): Remove.
6853 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6854 Remove.
6855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6857
6858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6859
6860 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6861 int64_t instead of long int.
6862 (INSERT_WORDS64): Likwise.
6863
6864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6867 _Unwind_GetCFA return to _Unwind_Ptr first.
6868
6869 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6870
6871 [BZ #13629]
6872 * math/s_clog.c: Include <float.h>.
6873 (__clog): Scale large or subnormal inputs.
6874 * math/s_clogf.c: Likewise.
6875 * math/s_clogl.c: Likewise.
6876 * math/s_clog10.c: Include <float.h>.
6877 (M_LOG10_2): Define.
6878 (__clog10): Scale large or subnormal inputs.
6879 * math/s_clog10f.c: Likewise.
6880 * math/s_clog10l.c: Likewise.
6881 * math/libm-test.inc (clog_test): Add more tests.
6882 (clog10_test): Likewise.
6883 * sysdeps/i386/fpu/libm-test-ulps: Update.
6884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6885
6886 [BZ #11451]
6887 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6888 x and y.
6889 * math/libm-test.inc (atan2_test): Add another test.
6890
6891 * Makerules (common-objdir-compile): Remove.
6892 * sysdeps/unix/Makefile (config-generated): Do not add
6893 $(unix-generated) to variable.
6894 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6895 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6896 Remove rule.
6897 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6898 Likewise.
6899 [generic bits/local_lim.h] (before-compile): Do not append to
6900 variable.
6901 [generic bits/local_lim.h] (common-generated): Likewise.
6902 [generic sys/param.h] (before-compile): Do not append to variable.
6903 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6904 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6905 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6906 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6907 include.
6908 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6909 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6910 [generic sys/param.h] ($(addprefix
6911 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6912 [generic sys/param.h] (common-generated): Do not append to
6913 variable.
6914 [generic sys/param.h] (sysdep_headers): Likewise.
6915 [generic bits/errno.h] (before-compile): Do not append to
6916 variable.
6917 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6918 rule.
6919 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6920 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6921 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6922 [generic bits/errno.h] (common-generated): Do not append to
6923 variable.
6924 [generic bits/ioctls.h] (before-compile): Do not append to
6925 variable.
6926 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6927 rule.
6928 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6929 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6930 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6931 rule.
6932 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6933 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6934 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6935 [generic bits/ioctls.h] (common-generated): Do not append to
6936 variable.
6937 [generic sys/syscall.h] (syscall.h): Remove variable.
6938 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6939 rule.
6940 [generic sys/syscall.h] (before-compile): Do not append to
6941 variable.
6942 [generic sys/syscall.h] (common-generated): Likewise.
6943 * sysdeps/unix/errnos-tmpl.c: Remove file.
6944 * sysdeps/unix/errnos.awk: Likewise.
6945 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6946 * sysdeps/unix/ioctls.awk: Likewise.
6947 * sysdeps/unix/mk-local_lim.c: Likewise.
6948 * sysdeps/unix/snarf-ioctls: Likewise.
6949
6950 2012-03-19 Richard Henderson <rth@twiddle.net>
6951
6952 * sysdeps/i386/fpu/fenv_private.h: New file.
6953 * sysdeps/i386/fpu/math_private.h: Use it.
6954 (math_opt_barrier, math_force_eval): Remove.
6955 (libc_feholdexcept_setround_53bit): Remove.
6956 (libc_feupdateenv_53bit): Remove.
6957 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6958 (math_opt_barrier, math_force_eval): Remove.
6959 (libc_feholdexcept): Remove.
6960 (libc_feholdexcept_setround): Remove.
6961 (libc_fetestexcept, libc_fesetenv): Remove.
6962 (libc_feupdateenv_test): Remove.
6963 (libc_feupdateenv, libc_feholdsetround): Remove.
6964 (libc_feresetround): Remove.
6965
6966 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6967 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6968
6969 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6970 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6971 (libc_feupdateenv_testl): New.
6972 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6973 (libc_feupdateenv_testf): New.
6974 (libc_feupdateenv): Use libc_feupdateenv_test.
6975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6977
6978 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6979 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6980 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6981 (libc_feresetround_noex): New.
6982 (libc_feresetround_noexf): New.
6983 (libc_feresetround_noexl): New.
6984 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6985 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6986 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6987 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6988 SET_RESTORE_ROUND.
6989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6991 (__cos): Likewise.
6992 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6993 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6994 SET_RESTORE_ROUND_NOEX.
6995 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6996 SET_RESTORE_ROUND_NOEXF.
6997 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6998 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6999 (libc_feholdsetroundf): New.
7000 (libc_feresetround, libc_feresetroundf): New.
7001
7002 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7003 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7004 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7005
7006 * sysdeps/generic/math_private.h: Include <fenv.h>.
7007 (default_libc_feholdexcept): New.
7008 (default_libc_feholdexcept_setround): New.
7009 (default_libc_fesetenv, default_libc_feupdateenv): New.
7010 (libc_feholdexcept): Only define if undefined.
7011 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7012 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7013 (libc_feholdexcept_setroundl): Likewise.
7014 (libc_feholdexcept_setround_53bit): Likewise.
7015 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7016 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7017 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7018 (libc_feupdateenv_53bit): Likewise.
7019 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7020 (libc_feholdexcept): Convert from macro to inline function.
7021 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7022 (libc_fesetenv, libc_feupdateenv): Likewise.
7023
7024 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7025 not previously defined.
7026 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7027 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7028 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7029 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7030 * sysdeps/ieee754/flt-32/math_private.h: New file.
7031 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7032 math_private.h below SET_FLOAT_WORD.
7033 (__isnan, __isinf_ns, __finite): Remove.
7034 (__isnanf, __isinf_nsf, __finitef): Remove.
7035
7036 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7037
7038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7039
7040 2012-03-17 David S. Miller <davem@davemloft.net>
7041
7042 [BZ #6471]
7043 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7044 for 2.16.
7045
7046 2012-03-16 David S. Miller <davem@davemloft.net>
7047
7048 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7049 warnings.
7050
7051 [BZ #6471]
7052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7053 properly.
7054 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7055 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7056 sysdep_routines when subdir is sysvipc.
7057 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7058 __getshmlba helper.
7059
7060 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7061
7062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7063
7064 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7065 [__LP64__].
7066
7067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7068
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7071 (__lround): Renamed to ...
7072 (__llround): This. Replace long int with long long int.
7073 Define lround functions as aliases of llround functions.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7075
7076 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7077
7078 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7079 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7080 adresses to uintptr_t. Replace "long int" and "unsigned long
7081 int" with "greg_t" on va_arg.
7082
7083 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7084
7085 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7086 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7087
7088 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7089 Move e_machine check before EI_CLASS check. Handle x32
7090 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7091 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7092 SKIP_EM_IA_64 and include
7093 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7094
7095 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7096 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7097 (add_system_dir): New macro.
7098
7099 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7100 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7101
7102 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7103
7104 [BZ #2551]
7105 [BZ #2552]
7106 [BZ #2553]
7107 [BZ #2554]
7108 [BZ #2562]
7109 [BZ #2563]
7110 [BZ #2565]
7111 [BZ #2566]
7112 [BZ #2576]
7113 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7114 (y0): Likewise.
7115 * math/w_j0f.c (j0f): Likewise.
7116 (y0f): Likewise.
7117 * math/w_j0l.c (__j0l): Likewise.
7118 (__y0l): Likewise.
7119 * math/w_j1.c (j1): Likewise.
7120 (y1): Likewise.
7121 * math/w_j1f.c (j1f): Likewise.
7122 (y1f): Likewise.
7123 * math/w_j1l.c (__j1l): Likewise.
7124 (__y1l): Likewise.
7125 * math/w_jn.c (jn): Likewise.
7126 (yn): Likewise.
7127 * math/w_jnf.c (jnf): Likewise.
7128 (ynf): Likewise.
7129 * math/w_jnl.c (__jnl): Likewise.
7130 (__ynl): Likewise.
7131 * math/libm-test.inc (j0_test): Add more tests.
7132 (j1_test): Likewise.
7133 (jn_test): Likewise. Add trailing semicolon to existing test.
7134 (y0_test): Likewise.
7135 (y1_test): Likewise.
7136 * sysdeps/i386/fpu/libm-test-ulps: Update.
7137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7138
7139 [BZ #13851]
7140 [BZ #13854]
7141 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7142 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7143 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7145 (__tanl): Set errno for infinite argument.
7146 * sysdeps/i386/fpu/mptan.c: Remove.
7147 * sysdeps/i386/fpu/s_tan.S: Likewise.
7148 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7149 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7150 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7151 * math/libm-test.inc (tan_test): Add more tests and enable more
7152 tests for double and long double.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update.
7154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7155
7156 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7157
7158 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7159 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7160
7161 2012-03-16 Roland McGrath <roland@hack.frob.com>
7162
7163 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7164 * configure.in: Use it for both main tree and add-ons.
7165 * configure: Regenerated.
7166
7167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7168
7169 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7170
7171 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7172
7173 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7174 in comment.
7175
7176 [BZ #13851]
7177 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7178 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7182 infinite argument.
7183 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7185 != 0 for prec == 2.
7186 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7187 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7188 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7189 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7190 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7191 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7192 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7193 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7194 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7195 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7196 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7197 * math/libm-test.inc (cos_test): Add more tests and enable more
7198 tests for long double.
7199 (sin_test): Likewise.
7200 (sincos_test): Likewise.
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7203
7204 2012-03-16 David S. Miller <davem@davemloft.net>
7205
7206 * sysdeps/sparc/fpu/math_private.h: New file.
7207
7208 2012-03-15 David S. Miller <davem@davemloft.net>
7209
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7211 file.
7212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7214 file.
7215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7221 sysdep routines.
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7223
7224 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7225 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7226
7227 * sysdeps/sparc/sparc-ifunc.h: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7229 sparc-ifunc.h
7230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7232 Likewise.
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7234 Likewise.
7235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7239 Likewise.
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7245 Likewise.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7247 Likewise.
7248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7272
7273 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7274
7275 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7276 scaling.
7277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7278
7279 2012-03-15 Andreas Jaeger <aj@suse.de>
7280
7281 [BZ #13852]
7282 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7283 ieee754/flt-32 implementation for sin, cos and sincos.
7284 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7285 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7286 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7287 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7288 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7289 ieee754/flt-32 implementation for tan.
7290
7291 * math/libm-test.inc (cos_test): Enable some large input tests for
7292 float as well
7293 (sin_test): Likewise.
7294 (sincos_test): Likewise.
7295 (tan_test): Add tests for large input.
7296
7297 * sysdeps/i386/fpu/libm-test-ulps: Update.
7298
7299 2012-03-15 Andreas Jaeger <aj@suse.de>
7300
7301 [BZ #13658]
7302 * math/libm-test.inc (cos_test): Add more test cases.
7303 (sin_test): Likewise.
7304 (sincos_test): Likewise.
7305
7306 2012-03-15 Andreas Jaeger <aj@suse.de>
7307
7308 [BZ #13837]
7309 * math/libm-test.inc (cos_test): Add a test case for large input
7310 value.
7311 (sin_test): Likewise.
7312 (sincos_test): Likewise.
7313
7314 2012-03-15 Andreas Jaeger <aj@suse.de>,
7315 Joseph Myers <joseph@codesourcery.com>
7316
7317 [BZ #13658]
7318 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7319 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7320 * sysdeps/i386/fpu/branred.c: Likewise.
7321 * sysdeps/i386/fpu/dosincos.c: Likewise.
7322 * sysdeps/i386/fpu/mpa.c: Likewise.
7323 * sysdeps/i386/fpu/s_cos.S: Likewise.
7324 * sysdeps/i386/fpu/s_sin.S: Likewise.
7325 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7326 * sysdeps/i386/fpu/sincos32.c: Likewise.
7327
7328 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7329 Define.
7330 (libc_feupdateenv_53bit): Define.
7331 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7332 Define.
7333 (libc_feupdateenv_53bit): Define.
7334
7335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7336 53 bit (without extend i386 double precision).
7337
7338 * math/libm-test.inc (sincos_test): Add tests for large input.
7339 (sin): Likewise.
7340 (cos): Likewise.
7341
7342 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7343
7344 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7345
7346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7347
7348 2012-03-15 David S. Miller <davem@davemloft.net>
7349
7350 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7351 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7352 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7353 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7366 file.
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7369 file.
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7372 file.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7375 file.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7378 fmin/fmax sysdep routines.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7380
7381 2012-03-14 David S. Miller <davem@davemloft.net>
7382
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7412 routines.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7414 file.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7417 file.
7418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7420 file.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7423 file.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7426 file.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7429 file.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7431 file.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7433 file.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7435 file.
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7437 New file.
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7439 file.
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7441 file.
7442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7444 file.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7447 file.
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7450 file.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7453 VIS3 routines.
7454
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7456 New file.
7457
7458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7459
7460 * sysdeps/sparc/configure.in: New file.
7461 * sysdeps/sparc/configure: Generate.
7462 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7463 * configure: Regenerate.
7464 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7465 * config.make.in (have-as-vis3): New.
7466 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7467 available use -Av9d instead of -Av9a.
7468 * sysdeps/sparc/sparc64/Makefile: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7471 New file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7473 file.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7475 New file.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7477 file.
7478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7483
7484 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7485 fzeros/fnegs to load 0x80000000 into a float register instead of
7486 using the stack.
7487 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7488
7489 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7490
7491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7492 bits/syscall.h.
7493 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7494 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7495 ($(inst_includedir)/bits/syscall.h): Remove rule.
7496 ($(objpfx)bits/syscall.d): Include instead of
7497 $(objpfx)syscall-list.d.
7498 (generated): Change syscall-list.h and syscall-list.d to
7499 bits/syscall.h and bits/syscall.d.
7500
7501 2012-03-14 Roland McGrath <roland@hack.frob.com>
7502
7503 [BZ #13846]
7504 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7505
7506 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7507
7508 [BZ #13841]
7509 * math/s_csqrt.c: Include <float.h>.
7510 (__csqrt): Scale large or subnormal inputs.
7511 * math/s_csqrtf.c: Likewise.
7512 * math/s_csqrtl.c: Likewise.
7513 * math/libm-test.inc (csqrt_test): Add more tests.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516
7517 [BZ #13840]
7518 * math/libm-test.inc (hypot_test): Add more tests.
7519
7520 2012-03-13 David S. Miller <davem@davemloft.net>
7521
7522 [BZ #13840]
7523 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7524 double-precision for the calculation instead of scaling.
7525
7526 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7527
7528 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7529 manipulate bits before adding and subtracting TWO52[sx].
7530 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7531 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7532 Likewise.
7533 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7534
7535 2012-03-13 David S. Miller <davem@davemloft.net>
7536
7537 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7538 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7540 rtld-global-offsets.h
7541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7542
7543 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7544 large parameters.
7545
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7547
7548 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7549 'err' in the ifdef scope in which it is actually used.
7550
7551 * nss/nss_db/db-init.c: Include string.h
7552
7553 2012-03-12 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7556 masking out of the most significant byte of random value used.
7557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7558 Fix coding style in previous change.
7559
7560 * sysdeps/unix/sysv/linux/kernel-features.h
7561 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7562 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7563 expression.
7564 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7565 later.
7566
7567 2012-03-11 David S. Miller <davem@davemloft.net>
7568
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7570 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7572 for 'resultvar' otherwise things get truncated on 64-bit.
7573
7574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7575 Fix masking out of the most significant byte of random value used.
7576
7577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7578
7579 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7580
7581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7582
7583 2012-03-09 David S. Miller <davem@davemloft.net>
7584
7585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7586 variables with appropriate CPP guards.
7587 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7588 frame pointer, not the stack pointer. Correct layout comments. Fix test
7589 on resulting framesize and the management of the outregs buffer for pltexit.
7590 Preserve floating point return values across _dl_call_pltexit call.
7591 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7592 framesize and the management of the outregs buffer for pltexit.
7593 Preserve floating point return values across _dl_call_pltexit
7594 call.
7595 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7596 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7597 (print_exit): Fix format string for return register value.
7598
7599 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7600
7601 * sunrpc/Makefile (others): Add rpcgen.
7602 ($(objpfx)rpcgen): Remove special build rule and dependency on
7603 libc.
7604 * sunrpc/rpcgen.c: New file.
7605
7606 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7607
7608 [BZ #13673]
7609 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7610 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7611 * sysdeps/i386/crti.S: Likewise.
7612 * sysdeps/i386/crtn.S: Likewise.
7613 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7614 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7615 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7616 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7617 * sysdeps/sh/crti.S: Likewise.
7618 * sysdeps/sh/crtn.S: Likewise.
7619 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7620
7621 [BZ #13673]
7622 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7623 with URL.
7624 * locale/programs/locfile-kw.gperf: Likewise.
7625 * locale/programs/charmap-kw.h: Regenerated.
7626 * locale/programs/locfile-kw.h: Likewise.
7627
7628 [BZ #13673]
7629 * intl/plural.y: Replace FSF snail mail address with URL.
7630 * intl/plural.c: Regenerated.
7631
7632 2012-03-09 Richard Henderson <rth@twiddle.net>
7633
7634 * include/math_private.h: Remove file.
7635 * math/math_private.h: Move file ...
7636 * sysdeps/generic/math_private.h: ... here.
7637
7638 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7639 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7640 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7641
7642 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7643 and <math_private.h>.
7644 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7645 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7646 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7647 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7648 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7732 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7735 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7738 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7740 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7741 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7742 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7743 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7744 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7745 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7746 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7747 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7749 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7750 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7767 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7768 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7769 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7772 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7773 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7778 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7779 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7780 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7782 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7785 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7786 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7787 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7788 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7789 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7790 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7791 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7792 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7793 * sysdeps/ieee754/k_standard.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7929 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7930 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7935 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7943 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7944 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7954 * sysdeps/ieee754/s_lib_version.c: Likewise.
7955 * sysdeps/ieee754/s_matherr.c: Likewise.
7956 * sysdeps/ieee754/s_signgam.c: Likewise.
7957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7959 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7960 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7961 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7962 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7963 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7964 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7965 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7966 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7967 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7968 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7969 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7970 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7978
7979 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7980
7981 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7982 * sunrpc/rpc_main.c: Likewise.
7983 * sunrpc/rpc_svcout.c: Likewise.
7984
7985 2012-03-09 David S. Miller <davem@davemloft.net>
7986
7987 * include/math_private.h: New file.
7988
7989 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7990
7991 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7992 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7993 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7994 from <bits/socket_type.h>.
7995 (enum __socket_type): Don't define here.
7996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7998 bits/socket_type.h.
7999
8000 [BZ #13566]
8001 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8002 checking __USE_GNU.
8003
8004 * Makerules ($(inst_includedir)/%.h): New rule.
8005 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8006 (install-others): Remove variable setting.
8007 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8008
8009 2012-03-08 Richard Henderson <rth@twiddle.net>
8010
8011 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8012 from macro to inline function; merge with the
8013 !__LIBC_INTERNAL_MATH_INLINES version.
8014 (__ieee754_sqrtf): Likewise.
8015
8016 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8017 to inline function.
8018 (__rintf, __floor, __floorf): Likewise.
8019
8020 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8021 macro to inline function.
8022 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8023
8024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8025 not <math/math_private.h>.
8026
8027 2012-03-08 David S. Miller <davem@davemloft.net>
8028
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8030 copyright year.
8031 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8032
8033 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8034
8035 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8036 normalization.
8037 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8038 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8039
8040 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8041
8042 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8043 be defined individually, they must be defined as a block. Define
8044 S for printing a string instead of hidint the different by using a
8045 macro for adding the 'l'.
8046 * stdio-common/tst-fphex-wide.c: Adjust.
8047
8048 2012-03-07 Marek Polacek <polacek@redhat.com>
8049
8050 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8051
8052 2012-03-08 Marek Polacek <polacek@redhat.com>
8053
8054 [BZ #13806]
8055 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8056 * stdio-common/tst-fphex.c: Define a few macros to make the
8057 test reusable. Use them.
8058 * stdio-common/tst-fphex-wide.c: New file.
8059
8060 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8061
8062 [BZ #6911]
8063 * manual/macros.texi (gnusystems): New macro.
8064 (nongnusystems): Likewise.
8065 (gnulinuxhurdsystems): Likewise.
8066 (gnuhurdsystems): Likewise..
8067 (gnulinuxsystems): Likewise.
8068 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8069 variants of the GNU system, not "GNU system".
8070 * manual/conf.texi: Likewise.
8071 * manual/errno.texi: Likewise. Update example of errno macro
8072 expansion.
8073 * manual/filesys.texi: Likewise.
8074 (getumask): Document as specific to GNU/Hurd.
8075 * manual/install.texi: Likewise. Reword some references to
8076 GNU/Linux.
8077 * manual/intro.texi: Likewise.
8078 * manual/io.texi: Likewise.
8079 (File Name Portability): Detail which constraints are inapplicable
8080 to all GNU systems and which are only inapplicable to GNU/Hurd.
8081 * manual/job.texi: Likewise.
8082 * manual/llio.texi: Likewise.
8083 (O_NOCTTY): Document as present on GNU/Linux.
8084 * manual/maint.texi: Likewise.
8085 * manual/memory.texi: Likewise.
8086 * manual/pattern.texi: Likewise.
8087 * manual/pipe.texi: Likewise.
8088 * manual/process.texi: Likewise.
8089 * manual/resource.texi: Likewise.
8090 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8091 child on GNU/Hurd.
8092 * manual/setjmp.texi: Likewise.
8093 * manual/signal.texi: Likewise.
8094 * manual/startup.texi: Likewise.
8095 * manual/stdio.texi: Likewise.
8096 * manual/terminal.texi: Likewise.
8097 (ONLCR): Document as POSIX.
8098 (OXTABS): Document availability on GNU/Linux as XTABS.
8099 (ONOEOT): Document availability separately from other bits.
8100 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8101 * manual/time.texi: Likewise.
8102 * manual/users.texi: Likewise.
8103 * INSTALL: Regenerated.
8104 * sysdeps/gnu/errlist.c: Regenerated.
8105
8106 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8107 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8108 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8109 puts.
8110 * configure: Regenerated.
8111
8112 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8113
8114 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8115 default includes instead of AC_HEADER_CHECK.
8116 * sysdeps/i386/configure: Regenerated.
8117
8118 [BZ #10716]
8119 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8120 * math/s_cacoshf.c (__cacoshf): Likewise.
8121 * math/s_cacoshl.c (__cacoshl): Likewise.
8122 * math/s_casinh.c (__casinh): Set signs of result from argument.
8123 * math/s_casinhf.c (__casinhf): Likewise.
8124 * math/s_casinhl.c (__casinhl): Likewise.
8125 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8126 (casinh_test): Add more tests.
8127 * sysdeps/i386/fpu/libm-test-ulps: Update.
8128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8129
8130 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8131
8132 * po/zh_TW.po: Update from translation team.
8133
8134 * login/Makefile (distribute): Remove variable.
8135 * catgets/Makefile: Likewise.
8136 * mach/Makefile: Likewise.
8137 * malloc/Makefile: Likewise.
8138 * misc/Makefile: Likewise.
8139 * iconv/Makefile: Likewise.
8140 * nscd/Makefile: Likewise.
8141 * hurd/Makefile: Likewise.
8142 * manual/Makefile: Likewise.
8143 * locale/Makefile: Likewise.
8144 * intl/Makefile: Likewise.
8145 * conform/Makefile: Likewise.
8146 * nss/Makefile: Likewise.
8147 * time/Makefile: Likewise.
8148 * soft-fp/Makefile: Likewise.
8149 * dirent/Makefile: Likewise.
8150 * gmon/Makefile: Likewise.
8151 * po/Makefile: Likewise.
8152 * rt/Makefile: Likewise.
8153 * socket/Makefile: Likewise.
8154 * math/Makefile: Likewise.
8155 * signal/Makefile: Likewise.
8156 * debug/Makefile: Likewise.
8157 * elf/Makefile: Likewise.
8158 * timezone/Makefile: Likewise.
8159 * stdlib/Makefile: Likewise.
8160 * iconvdata/Makefile: Likewise.
8161 * sunrpc/Makefile: Likewise.
8162 * io/Makefile: Likewise.
8163 * argp/Makefile: Likewise.
8164 * inet/Makefile: Likewise.
8165 * hesiod/Makefile: Likewise.
8166 * grp/Makefile: Likewise.
8167 * csu/Makefile: Likewise.
8168 * wctype/Makefile: Likewise.
8169 * crypt/Makefile: Likewise.
8170 * libio/Makefile: Likewise.
8171 * string/Makefile: Likewise.
8172 * nis/Makefile: Likewise.
8173 * resolv/Makefile: Likewise.
8174 * stdio-common/Makefile: Likewise.
8175 * wcsmbs/Makefile: Likewise.
8176 * dlfcn/Makefile: Likewise.
8177 * posix/Makefile: Likewise.
8178
8179 [BZ #6959]
8180 * timezone/Makefile: Don't install timezone files, just the programs
8181 and scripts.
8182
8183 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8184
8185 * nss/databases.def: Add missing gshadow entry.
8186
8187 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8188
8189 2012-03-06 Marek Polacek <polacek@redhat.com>
8190
8191 [BZ #13726]
8192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8194 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8195 * stdio-common/tst-long-dbl-fphex.c: New file.
8196
8197 2012-03-06 David S. Miller <davem@davemloft.net>
8198
8199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8200 (set_obp_int): New function.
8201 (get_obp_int): New function.
8202 (__get_clockfreq_via_dev_openprom): Likewise.
8203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8204 Avoid unused variable warnings on 'val' and use builtin_expect.
8205 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8206 __builtin_expect.
8207 (INLINE_CLONE_SYSCALL): Likewise.
8208
8209 2012-03-05 David S. Miller <davem@davemloft.net>
8210
8211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8212
8213 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8214
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8216
8217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8218 only for |x| >= 40.
8219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8220
8221 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8222
8223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8224 Replace gettimeofday with __vdso_gettimeofday.
8225
8226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8227 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8228 __vdso_clock_gettime and __vdso_getcpu.
8229
8230 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8231 time with __vdso_time.
8232
8233 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8234
8235 * manual/lang.texi (size_t): Note types to which size_t may be
8236 equivalent with the GNU C Library, but do not describe when
8237 differences between them are significant.
8238
8239 2012-03-05 Andreas Jaeger <aj@suse.de>
8240
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242
8243 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8244
8245 [BZ #3976]
8246 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8247 (__ieee754_pow): Save and restore rounding mode and use
8248 round-to-nearest for main computations.
8249 * math/libm-test.inc (pow_test_tonearest): New function.
8250 (pow_test_towardzero): Likewise.
8251 (pow_test_downward): Likewise.
8252 (pow_test_upward): Likewise.
8253 (main): Call the new functions.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8256
8257 [BZ #3976]
8258 * math/libm-test.inc (cosh_test_tonearest): New function.
8259 (cosh_test_towardzero): Likewise.
8260 (cosh_test_downward): Likewise.
8261 (cosh_test_upward): Likewise.
8262 (sinh_test_tonearest): Likewise.
8263 (sinh_test_towardzero): Likewise.
8264 (sinh_test_downward): Likewise.
8265 (sinh_test_upward): Likewise.
8266 (main): Call the new functions.
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8269
8270 2012-03-05 Tom de Vries <tom@codesourcery.com>
8271
8272 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8273 default stack guard is set in last bytes.
8274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8275
8276 2012-03-05 Kees Cook <keescook@chromium.org>
8277
8278 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8279
8280 [BZ #13656]
8281 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8282 possibly allocate from heap instead of stack.
8283 * stdio-common/bug-vfprintf-nargs.c: New file.
8284 * stdio-common/Makefile (tests): Add nargs overflow test.
8285
8286 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8287
8288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8289
8290 2012-03-03 Marek Polacek <polacek@redhat.com>
8291
8292 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8293 * math/math_private.h: Likewise.
8294 * stdlib/tst-strtod.c: Likewise.
8295 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8296 * sysdeps/x86_64/bits/atomic.h: Likewise.
8297
8298 2012-03-02 David S. Miller <davem@davemloft.net>
8299
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8306 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8307 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8308
8309 2012-03-02 Roland McGrath <roland@hack.frob.com>
8310
8311 [BZ #13792]
8312 * manual/examples/README: New file, says the example source files
8313 can be used under GPL>=2.
8314 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8315 line containing just "*/".
8316 * manual/examples/add.c: Add copyright header (GPL>=2).
8317 * manual/examples/argp-ex1.c: Likewise.
8318 * manual/examples/argp-ex2.c: Likewise.
8319 * manual/examples/argp-ex3.c: Likewise.
8320 * manual/examples/argp-ex4.c: Likewise.
8321 * manual/examples/atexit.c: Likewise.
8322 * manual/examples/db.c: Likewise.
8323 * manual/examples/dir.c: Likewise.
8324 * manual/examples/dir2.c: Likewise.
8325 * manual/examples/execinfo.c: Likewise.
8326 * manual/examples/filecli.c: Likewise.
8327 * manual/examples/filesrv.c: Likewise.
8328 * manual/examples/fmtmsgexpl.c: Likewise.
8329 * manual/examples/genpass.c: Likewise.
8330 * manual/examples/inetcli.c: Likewise.
8331 * manual/examples/inetsrv.c: Likewise.
8332 * manual/examples/isockad.c: Likewise.
8333 * manual/examples/longopt.c: Likewise.
8334 * manual/examples/memopen.c: Likewise.
8335 * manual/examples/memstrm.c: Likewise.
8336 * manual/examples/mkfsock.c: Likewise.
8337 * manual/examples/mkisock.c: Likewise.
8338 * manual/examples/mygetpass.c: Likewise.
8339 * manual/examples/pipe.c: Likewise.
8340 * manual/examples/popen.c: Likewise.
8341 * manual/examples/rprintf.c: Likewise.
8342 * manual/examples/search.c: Likewise.
8343 * manual/examples/select.c: Likewise.
8344 * manual/examples/setjmp.c: Likewise.
8345 * manual/examples/sigh1.c: Likewise.
8346 * manual/examples/sigusr.c: Likewise.
8347 * manual/examples/stpcpy.c: Likewise.
8348 * manual/examples/strdupa.c: Likewise.
8349 * manual/examples/strftim.c: Likewise.
8350 * manual/examples/strncat.c: Likewise.
8351 * manual/examples/subopt.c: Likewise.
8352 * manual/examples/swapcontext.c: Likewise.
8353 * manual/examples/termios.c: Likewise.
8354 * manual/examples/testopt.c: Likewise.
8355 * manual/examples/testpass.c: Likewise.
8356 * manual/examples/timeval_subtract.c: Likewise.
8357
8358 [BZ #13792]
8359 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8360 function to ...
8361 * manual/timeval_subtract.c.texi: ... here, new file.
8362
8363 2012-03-02 David S. Miller <davem@davemloft.net>
8364
8365 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8366
8367 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8368
8369 [BZ #3976]
8370 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8371 (__sin): Save and restore rounding mode and use round-to-nearest
8372 for all computations.
8373 (__cos): Save and restore rounding mode and use round-to-nearest
8374 for all computations.
8375 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8376 <fenv.h>.
8377 (tan): Save and restore rounding mode and use round-to-nearest for
8378 all computations.
8379 * math/libm-test.inc (cos_test_tonearest): New function.
8380 (cos_test_towardzero): Likewise.
8381 (cos_test_downward): Likewise.
8382 (cos_test_upward): Likewise.
8383 (sin_test_tonearest): Likewise.
8384 (sin_test_towardzero): Likewise.
8385 (sin_test_downward): Likewise.
8386 (sin_test_upward): Likewise.
8387 (tan_test_tonearest): Likewise.
8388 (tan_test_towardzero): Likewise.
8389 (tan_test_downward): Likewise.
8390 (tan_test_upward): Likewise.
8391 (main): Call the new functions.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
8395 [BZ #10135]
8396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8397 small n, then large n, before computing and testing k+n.
8398 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8400 Likewise.
8401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8402 Likewise.
8403 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8404 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8411 * math/libm-test.inc (scalbn_test): Add more tests.
8412 (scalbln_test): Likewise.
8413
8414 * manual/filesys.texi (mode_t): Describe constraints on size and
8415 signedness, not exact equivalence to a particular type.
8416 (ino_t): Likewise.
8417 (ino64_t): Likewise.
8418 (dev_t): Likewise.
8419 (nlink_t): Likewise.
8420 (blkcnt_t): Likewise.
8421 (blkcnt64_t): Likewise.
8422 * manual/llio.texi (off_t): Likewise.
8423
8424 [BZ #3976]
8425 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8426 (__ieee754_exp): Save and restore rounding mode and use
8427 round-to-nearest for all computations.
8428 * math/libm-test.inc (exp_test_tonearest): New function.
8429 (exp_test_towardzero): Likewise.
8430 (exp_test_downward): Likewise.
8431 (exp_test_upward): Likewise.
8432 (main): Call the new functions.
8433 * sysdeps/i386/fpu/libm-test-ulps: Update.
8434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435
8436 2012-03-01 Chris Demetriou <cgd@google.com>
8437
8438 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8439 have predictable order.
8440
8441 2012-03-01 David S. Miller <davem@davemloft.net>
8442
8443 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8444
8445 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8447 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8448 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8449
8450 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8451 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8452 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8457 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8458 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8459
8460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8461
8462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8463 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8465
8466 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8468 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8482 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8483 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8484 * sysdeps/sparc/elf/configure: Regenerated.
8485
8486 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8487
8488 * configure.in (AS, LD): Require binutils 2.20 or later.
8489 * configure: Regenerated.
8490 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8491 as required minimum version.
8492 * INSTALL: Regenerated.
8493
8494 [BZ #2541]
8495 [BZ #4108]
8496 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8497 before squaring exponent.
8498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8499 bottom long double and 27 bits of top long double before squaring
8500 exponent.
8501 * math/libm-test.inc (erfc_test): Add more tests.
8502 * sysdeps/i386/fpu/libm-test-ulps: Update.
8503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8505
8506 2012-03-01 Kai Tietz <ktietz@redhat.com>
8507
8508 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8509 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8510 containing bit-fields.
8511 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8512 * soft-fp/single.h (_FP_UNION_S): Likewise.
8513 * soft-fp/double.h (_FP_UNION_D): Likewise.
8514
8515 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8516
8517 [BZ #13786]
8518 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8519 not include ../strcmp.S.
8520 [USE_AS_STRNCASECMP_L]: Likewise.
8521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8522 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8523 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8524 (__strncasecmp_l_ia32): Define as alias to
8525 __strncasecmp_l_nonascii.
8526
8527 [BZ #5794]
8528 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8529 * sysdeps/i386/fpu/libm-test-ulps: Update.
8530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8531
8532 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8534
8535 2012-02-29 Jeff Law <law@redhat.com>
8536
8537 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8538 out of bounds read.
8539
8540 2012-02-29 Marek Polacek <polacek@redhat.com>
8541
8542 [BZ #13706]
8543 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8544 * elf/Makefile: Add rules to run tst-unused-dep.out.
8545
8546 2012-02-28 David S. Miller <davem@davemloft.net>
8547
8548 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8549 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8554
8555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8556
8557 * math/libm-test.inc (llround_test): Move one test from
8558 lround_test. Use TEST_f_L in moved test.
8559 (lround_test): Move misplaced test to llround_test. Add testcase
8560 from bug 2561.
8561
8562 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8563
8564 * sysdeps/x86_64/fpu/e_expf.S: New file.
8565 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8566
8567 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8568
8569 [BZ #13637]
8570 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8571 of remain_len that may cause incomplete multi-byte character and
8572 false match.
8573 * posix/bug-regex33.c: New file.
8574 * posix/Makefile (tests): Add bug-regex33.
8575
8576 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8577
8578 * manual/macros.texi: New file.
8579 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8580 * manual/libc.texinfo: Include macros.texi.
8581 * manual/creatute.texi: Likewise.
8582 * manual/install.texi: Likewise.
8583 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8584 @glibcadj{} in references to the GNU C Library.
8585 * manual/charset.texi: Likewise.
8586 * manual/conf.texi: Likewise.
8587 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8588 when not using those macros.
8589 * manual/creature.texi: Likewise.
8590 * manual/crypt.texi: Likewise.
8591 * manual/errno.texi: Likewise.
8592 * manual/filesys.texi: Likewise.
8593 * manual/header.texi: Likewise.
8594 * manual/install.texi: Likewise.
8595 * manual/intro.texi: Likewise.
8596 * manual/io.texi: Likewise.
8597 * manual/job.texi: Likewise.
8598 * manual/lang.texi: Likewise.
8599 * manual/libc.texiinfo: Likewise.
8600 * manual/llio.texi: Likewise.
8601 * manual/locale.texi: Likewise.
8602 * manual/maint.texi: Likewise.
8603 * manual/math.texi: Likewise.
8604 * manual/memory.texi: Likewise.
8605 * manual/message.texi: Likewise.
8606 * manual/nss.texi: Likewise.
8607 * manual/pattern.texi: Likewise.
8608 * manual/process.texi: Likewise.
8609 * manual/resource.texi: Likewise.
8610 * manual/search.texi: Likewise.
8611 * manual/setjmp.texi: Likewise.
8612 * manual/signal.texi: Likewise.
8613 * manual/socket.texi: Likewise.
8614 * manual/startup.texi: Likewise.
8615 * manual/stdio.texi: Likewise.
8616 * manual/string.texi: Likewise.
8617 * manual/sysinfo.texi: Likewise.
8618 * manual/syslog.texi: Likewise.
8619 * manual/terminal.texi: Likewise.
8620 * manual/time.texi: Likewise.
8621 * manual/users.texi: Likewise.
8622 * INSTALL: Regenerated.
8623 * NOTES: Regenerated.
8624 * sysdeps/gnu/errlist.c: Regenerated.
8625
8626 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8627
8628 * include/dirent.h: Include <dirstream.h> before
8629 <dirent/dirent.h>.
8630
8631 2012-02-28 David S. Miller <davem@davemloft.net>
8632
8633 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8634 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8637
8638 2012-02-27 David S. Miller <davem@davemloft.net>
8639
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8642 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8644
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8646 frame pointer instead of stack pointer relative arg slot.
8647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8650
8651 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8652
8653 [BZ #3992]
8654 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8655
8656 2012-02-27 David S. Miller <davem@davemloft.net>
8657
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8664 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8666
8667 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8668
8669 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8670 later. Allow versions 5-9.
8671 * configure: Regenerated.
8672 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8673 required minimum version and 4.6 as recommended version. Do not
8674 mention bugs in GCC 2.7 and 2.8.
8675 * INSTALL: Regenerated.
8676
8677 2012-02-27 David S. Miller <davem@davemloft.net>
8678
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8687
8688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8689 manipulate bits before adding and subtracting TWO112[sx].
8690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8691
8692 2012-02-27 Roland McGrath <roland@hack.frob.com>
8693
8694 [BZ #13775]
8695 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8696 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8697 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8698 being in POSIX, because they are in 1003.1-2008.
8699
8700 * rt/tst-aio.c: Include <fcntl.h>.
8701 * rt/tst-aio7.c: Likewise.
8702 * rt/tst-aio64.c: Likewise.
8703
8704 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8705
8706 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8707
8708 * manual/install.texi (--with-headers): Describe headers as
8709 interface headers, not private headers.
8710 (Specific advice for GNU/Linux systems): Describe use of headers
8711 from "make headers_install", not private headers from older
8712 kernels.
8713 * INSTALL: Regenerated.
8714 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8715 Change to 2.6.19.
8716 * sysdeps/unix/sysv/linux/configure: Regenerated.
8717
8718 * manual/llio.texi (fclean): Remove documentation.
8719
8720 * manual/Makefile (libc-texi-generated): New variable. Include
8721 version.texi.
8722 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8723 $(libc-texi-generated), not duplicated list of files.
8724 (version.texi, stamp-version): New rules.
8725 (realclean): Remove $(libc-texi-generated), not individual files
8726 from that list. Do not remove dir-add.texinfo.
8727 * manual/libc.texinfo: Comment out uses of edition numbers and
8728 references to printed manual. Remove last-updated dates.
8729 (EDITION): Comment out.
8730 (ISBN): Likewise.
8731 (VERSION, UPDATED): Remove.
8732 (version.texi): Include.
8733
8734 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * sysdeps/posix/spawni.c: Include <signal.h>.
8737 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8738 * sysdeps/pthread/aio_fsync.c: Likewise.
8739
8740 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8741
8742 * conform/Makefile (tests): Run only when not cross-compiling and
8743 when fast-check is not defined.
8744
8745 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8746 * conform/data/limits.h-data: Fixes for POSIX2008.
8747 * conform/run-conformtest.sh: Run all tests.
8748 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8749 headers.
8750 * include/bits/dlfcn.h: Likewise.
8751 * include/langinfo.h: Likewise.
8752 * include/monetary.h: Likewise.
8753 * include/sys/poll.h: Likewise.
8754
8755 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8756 for __USE_GNU.
8757 * posix/spawn.h: Define __need_sigset_t.
8758 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8759 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8760 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8761 to get sigevent_t only.
8762 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8763 only for __USE_GNU.
8764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8766 process_vm_writev only for __USE_GNU.
8767 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8768
8769 * conform/Makefile: For now ignore errors from run-conformtest.
8770 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8771 POSIX to avoid namespace pollution. Don't prepend headers.
8772 * conform/data/aio.h-data: Fixes for POSIX testing.
8773 * conform/data/fcntl.h-data: Likewise.
8774 * conform/data/glob.h-data: Likewise.
8775 * conform/data/grp.h-data: Likewise.
8776 * conform/data/pthread.h-data: Likewise.
8777 * conform/data/pwd.h-data: Likewise.
8778 * conform/data/signal.h-data: Likewise.
8779 * conform/data/spawn.h-data: Likewise.
8780 * conform/data/stdio.h-data: Likewise.
8781 * conform/data/stdlib.h-data: Likewise.
8782 * conform/data/stropts.h-data: Likewise.
8783 * conform/data/sys/mman.h-data: Likewise.
8784 * conform/data/sys/stat.h-data: Likewise.
8785 * conform/data/sys/types.h-data: Likewise.
8786 * conform/data/sys/wait.h-data: Likewise.
8787 * conform/data/time.h-data: Likewise.
8788 * conform/data/unistd.h-data: Likewise.
8789 * conform/data/utime.h-data: Likewise.
8790
8791 * io/sys/stat.h: fchmod was always in POSIX.
8792 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8793 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8794 * rt/aio.h: Define __need_timespec before including <time.h>.
8795 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8796 struct. Add forward declaration of pthread_attr_t and use it in
8797 sigevent.
8798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8800 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8801 always remove CLK_TCK definition.
8802
8803 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8804
8805 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8806
8807 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8808
8809 * conform/run-conformtest.sh: New file.
8810 * conform/Makefile: Run run-conformtest for tests.
8811 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8812 support.
8813
8814 * conform/data/uchar.h-data: New file.
8815 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8816 * conform/data/arpa/inet.h-data: Likewise.
8817 * conform/data/assert.h-data: Likewise.
8818 * conform/data/complex.h-data: Likewise.
8819 * conform/data/cpio.h-data: Likewise.
8820 * conform/data/ctype.h-data: Likewise.
8821 * conform/data/dirent.h-data: Likewise.
8822 * conform/data/dlfcn.h-data: Likewise.
8823 * conform/data/errno.h-data: Likewise.
8824 * conform/data/fcntl.h-data: Likewise.
8825 * conform/data/float.h-data: Likewise.
8826 * conform/data/fmtmsg.h-data: Likewise.
8827 * conform/data/fnmatch.h-data: Likewise.
8828 * conform/data/ftw.h-data: Likewise.
8829 * conform/data/glob.h-data: Likewise.
8830 * conform/data/grp.h-data: Likewise.
8831 * conform/data/iconv.h-data: Likewise.
8832 * conform/data/inttypes.h-data: Likewise.
8833 * conform/data/langinfo.h-data: Likewise.
8834 * conform/data/libgen.h-data: Likewise.
8835 * conform/data/limits.h-data: Likewise.
8836 * conform/data/locale.h-data: Likewise.
8837 * conform/data/math.h-data: Likewise.
8838 * conform/data/monetary.h-data: Likewise.
8839 * conform/data/mqueue.h-data: Likewise.
8840 * conform/data/ndbm.h-data: Likewise.
8841 * conform/data/net/if.h-data: Likewise.
8842 * conform/data/netdb.h-data: Likewise.
8843 * conform/data/netinet/in.h-data: Likewise.
8844 * conform/data/nl_types.h-data: Likewise.
8845 * conform/data/poll.h-data: Likewise.
8846 * conform/data/pthread.h-data: Likewise.
8847 * conform/data/pwd.h-data: Likewise.
8848 * conform/data/regex.h-data: Likewise.
8849 * conform/data/sched.h-data: Likewise.
8850 * conform/data/search.h-data: Likewise.
8851 * conform/data/semaphore.h-data: Likewise.
8852 * conform/data/setjmp.h-data: Likewise.
8853 * conform/data/signal.h-data: Likewise.
8854 * conform/data/spawn.h-data: Likewise.
8855 * conform/data/stdarg.h-data: Likewise.
8856 * conform/data/stdio.h-data: Likewise.
8857 * conform/data/stdlib.h-data: Likewise.
8858 * conform/data/string.h-data: Likewise.
8859 * conform/data/strings.h-data: Likewise.
8860 * conform/data/stropts.h-data: Likewise.
8861 * conform/data/sys/ipc.h-data: Likewise.
8862 * conform/data/sys/mman.h-data: Likewise.
8863 * conform/data/sys/msg.h-data: Likewise.
8864 * conform/data/sys/resource.h-data: Likewise.
8865 * conform/data/sys/select.h-data: Likewise.
8866 * conform/data/sys/sem.h-data: Likewise.
8867 * conform/data/sys/shm.h-data: Likewise.
8868 * conform/data/sys/socket.h-data: Likewise.
8869 * conform/data/sys/stat.h-data: Likewise.
8870 * conform/data/sys/statvfs.h-data: Likewise.
8871 * conform/data/sys/time.h-data: Likewise.
8872 * conform/data/sys/timeb.h-data: Likewise.
8873 * conform/data/sys/times.h-data: Likewise.
8874 * conform/data/sys/types.h-data: Likewise.
8875 * conform/data/sys/uio.h-data: Likewise.
8876 * conform/data/sys/un.h-data: Likewise.
8877 * conform/data/sys/utsname.h-data: Likewise.
8878 * conform/data/sys/wait.h-data: Likewise.
8879 * conform/data/syslog.h-data: Likewise.
8880 * conform/data/tar.h-data: Likewise.
8881 * conform/data/termios.h-data: Likewise.
8882 * conform/data/utime.h-data: Likewise.
8883 * conform/data/utmpx.h-data: Likewise.
8884 * conform/data/varargs.h-data: Likewise.
8885 * conform/data/wchar.h-data: Likewise.
8886 * conform/data/wctype.h-data: Likewise.
8887 * conform/data/wordexp.h-data: Likewise.
8888
8889 * include/stropts.h: New file.
8890 * include/uchar.h: New file.
8891 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8892 * include/assert.h: Likewise.
8893 * include/ctype.h: Likewise.
8894 * include/dirent.h: Likewise.
8895 * include/dlfcn.h: Likewise.
8896 * include/fcntl.h: Likewise.
8897 * include/fnmatch.h: Likewise.
8898 * include/glob.h: Likewise.
8899 * include/grp.h: Likewise.
8900 * include/libio.h: Likewise.
8901 * include/locale.h: Likewise.
8902 * include/math.h: Likewise.
8903 * include/net/if.h: Likewise.
8904 * include/netdb.h: Likewise.
8905 * include/netinet/in.h: Likewise.
8906 * include/pthread.h: Likewise.
8907 * include/pwd.h: Likewise.
8908 * include/regex.h: Likewise.
8909 * include/sched.h: Likewise.
8910 * include/search.h: Likewise.
8911 * include/setjmp.h: Likewise.
8912 * include/signal.h: Likewise.
8913 * include/stdio.h: Likewise.
8914 * include/stdlib.h: Likewise.
8915 * include/string.h: Likewise.
8916 * include/sys/cdefs.h: Likewise.
8917 * include/sys/mman.h: Likewise.
8918 * include/sys/msg.h: Likewise.
8919 * include/sys/resource.h: Likewise.
8920 * include/sys/select.h: Likewise.
8921 * include/sys/socket.h: Likewise.
8922 * include/sys/stat.h: Likewise.
8923 * include/sys/statvfs.h: Likewise.
8924 * include/sys/time.h: Likewise.
8925 * include/sys/times.h: Likewise.
8926 * include/sys/uio.h: Likewise.
8927 * include/sys/utsname.h: Likewise.
8928 * include/sys/wait.h: Likewise.
8929 * include/termios.h: Likewise.
8930 * include/time.h: Likewise.
8931 * include/ulimit.h: Likewise.
8932 * include/unistd.h: Likewise.
8933 * include/utime.h: Likewise.
8934 * include/wchar.h: Likewise.
8935 * include/wctype.h: Likewise.
8936 * include/wordexp.h: Likewise.
8937
8938 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8939
8940 * time/time.h: TIME_UTC must be a macro.
8941 Make timespec_get available for ISO C11 only as well.
8942
8943 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8944
8945 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8946 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8947
8948 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8949
8950 * configure.in: Use -o not -a in test for unsupported multi-arch.
8951
8952 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8953
8954 * manual/texinfo.tex: Update to version 2012-01-19.16.
8955
8956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8957
8958 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8959
8960 2012-02-24 Roland McGrath <roland@hack.frob.com>
8961
8962 [BZ #13738]
8963 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8964 * manual/fdl-1.3.texi: New file.
8965 * manual/fdl-1.1.texi: File removed.
8966
8967 [BZ #13738]
8968 * manual/libc.texinfo (FDL_VERSION): New @set.
8969 Use it for mention of FDL in cover text.
8970 (Documentation License): Use it in @include file name.
8971
8972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8973 Roland McGrath <roland@hack.frob.com>
8974
8975 [BZ #5461]
8976 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8977 not LONG_LONG_MAX and LONG_LONG_MIN.
8978 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8979 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8980 name.
8981 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8982
8983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8984
8985 [BZ #2547]
8986 [BZ #11365]
8987 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8988 manipulate bits before adding and subtracting TWO23[sx].
8989 * math/libm-test.inc (nearbyint_test): Add more tests.
8990
8991 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8992
8993 [BZ #2548]
8994 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8995 bits before adding and subtracting TWO23[sx].
8996 * math/libm-test.inc (rint_test): Add more tests.
8997 (rint_test_tonearest): Likewise.
8998 (rint_test_towardzero): Likewise.
8999 (rint_test_downward): Likewise.
9000 (rint_test_upward: Likewise.
9001
9002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9003
9004 [BZ #10110]
9005 * include/stdc-predef.h: New file. Extracted from features.h.
9006 * include/features.h: Include stdc-predef.h.
9007 * Makefile (headers): Add stdc-predef.h.
9008 * CONFORMANCE (Compiler limitations): Update.
9009
9010 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9011
9012 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9013
9014 2012-02-21 David S. Miller <davem@davemloft.net>
9015
9016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9017 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9018
9019 2012-02-20 David S. Miller <davem@davemloft.net>
9020
9021 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9022 using a normal save/restore sequence, rather than allocating a
9023 dummy stack frame just to store a frame pointer and restore.
9024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9025
9026 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9027
9028 * manual/install.texi: Fix stray word in line-wrapped comment.
9029
9030 2012-02-20 David S. Miller <davem@davemloft.net>
9031
9032 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9033 both binutils and gcc support GOTDATA.
9034
9035 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9036 "rd %pc" in the PIC register setup sequences.
9037
9038 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9039 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9041 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9047 (SYSCALL_ERROR_HANDLER): Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9051 (SYSCALL_ERROR_HANDLER): Likewise.
9052
9053 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9054 (HAVE_GCC_GOTDATA): New.
9055 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9056 relocation support in both binutils and gcc.
9057 * sysdeps/sparc/elf/configure: Regenerate.
9058
9059 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9060 * sysdeps/sparc/sparc32/elf/configure: Delete.
9061 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9062 * sysdeps/sparc/sparc64/elf/configure: Delete.
9063 * sysdeps/sparc/elf/configure.in: New file.
9064 * sysdeps/sparc/elf/configure: Generate.
9065
9066 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9067 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9069 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9070 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9071
9072 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9073
9074 * manual/install.texi: Do not mention specific glibc version
9075 numbers.
9076 * manual/libc.texinfo (VERSION, UPDATED): Update.
9077 (@copying): Use @copyright{} and range of years.
9078
9079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #13695]
9082 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9083 [crti.S not in sysdirs] (generated): Do not append.
9084 [crti.S not in sysdirs] (omit-deps): Likewise.
9085 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9086 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9087 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9088 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9089 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9090 Likewise.
9091 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9092 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9093 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9094 * csu/defs.awk: Remove file.
9095 * sysdeps/generic/initfini.c: Likewise.
9096 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9097 variable.
9098 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9099 Likewise.
9100
9101 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9102
9103 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9107 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9108 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9109 <bits/epoll.h>.
9110 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9111 (__EPOLL_PACKED): Define to empty if not defined by
9112 <bits/epoll.h>.
9113 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9115 bits/epoll.h.
9116
9117 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9118
9119 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9120 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9123 <bits/timerfd.h>.
9124 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9126 bits/timerfd.h.
9127
9128 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9129
9130 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9131 in C locale.
9132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9133 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136
9137 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9138
9139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9141
9142 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9143
9144 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9145 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9146 defined.
9147 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9148 Likewise.
9149 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9150 entry for 2.16.
9151
9152 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9153
9154 * math/w_acos.c: Use non-signaling floating-point comparisons.
9155 * math/w_acosf.c: Likewise.
9156 * math/w_acosh.c: Likewise.
9157 * math/w_acoshf.c: Likewise.
9158 * math/w_acoshl.c: Likewise.
9159 * math/w_acosl.c: Likewise.
9160 * math/w_asin.c: Likewise.
9161 * math/w_asinf.c: Likewise.
9162 * math/w_asinl.c: Likewise.
9163 * math/w_atanh.c: Likewise.
9164 * math/w_atanhf.c: Likewise.
9165 * math/w_atanhl.c: Likewise.
9166 * math/w_exp2.c: Likewise.
9167 * math/w_exp2f.c: Likewise.
9168 * math/w_exp2l.c: Likewise.
9169 * math/w_j0.c: Likewise.
9170 * math/w_j0f.c: Likewise.
9171 * math/w_j0l.c: Likewise.
9172 * math/w_j1.c: Likewise.
9173 * math/w_j1f.c: Likewise.
9174 * math/w_j1l.c: Likewise.
9175 * math/w_jn.c: Likewise.
9176 * math/w_jnf.c: Likewise.
9177 * math/w_log.c: Likewise.
9178 * math/w_log10.c: Likewise.
9179 * math/w_log10f.c: Likewise.
9180 * math/w_log10l.c: Likewise.
9181 * math/w_log2.c: Likewise.
9182 * math/w_log2f.c: Likewise.
9183 * math/w_log2l.c: Likewise.
9184 * math/w_logf.c: Likewise.
9185 * math/w_logl.c: Likewise.
9186 * math/w_sqrt.c: Likewise.
9187 * math/w_sqrtf.c: Likewise.
9188 * math/w_sqrtl.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9194
9195 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9196
9197 [BZ #9739]
9198 * manual/string.texi (strnlen): Use correct parameter name in
9199 equivalent expression.
9200
9201 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9202
9203 [BZ #11174]
9204 * manual/users.texi (seteuid): Consistently use neweuid for
9205 argument name.
9206
9207 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9208
9209 [BZ #13704]
9210 * manual/nss.texi (Services in the NSS configuration): Correct
9211 list of services in example configuration file.
9212
9213 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9214
9215 [BZ #11322]
9216 * manual/arith.texi: Remove statements about negative zero
9217 behaving identically to zero.
9218
9219 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9220
9221 [BZ #5993]
9222 * manual/install.texi: Do not document upgrading from libc5.
9223
9224 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9225
9226 [BZ #4596]
9227 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9228
9229 2012-02-18 David S. Miller <davem@davemloft.net>
9230
9231 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9232 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9233 %o7 across the call.
9234 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9235 instead.
9236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9237 SETUP_PIC_REG_LEAF.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9239 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9240 * sysdeps/sparc/crtn.S: Likewise.
9241
9242 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9243
9244 * aout/Makefile: Remove.
9245
9246 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9247
9248 [BZ #13058]
9249 * manual/examples/argp-ex1.c (main): Format definition in GNU
9250 style.
9251 * manual/examples/argp-ex2.c (main): Likewise.
9252 * manual/examples/argp-ex3.c (main): Likewise.
9253 * manual/examples/argp-ex4.c (main): Likewise.
9254 * manual/examples/longopt.c (main): Use new-style prototype
9255 definition.
9256 * manual/examples/strncat.c (main): Specify return type and use
9257 (void) for arguments.
9258 * manual/examples/subopt.c (main): Use char **argv argument.
9259
9260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9261
9262 [BZ #5077]
9263 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9264 rounding modes.
9265
9266 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9267
9268 [BZ #6907]
9269 * manual/string.texi (strchr): Change when strchrnul is
9270 recommended.
9271
9272 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9273
9274 [BZ #174]
9275 * manual/locale.texi (setlocale): Document LOCPATH.
9276
9277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9278
9279 [BZ #10210]
9280 * manual/process.texi (execle): Move @dots{} before last argument.
9281
9282 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9283
9284 [BZ #12047]
9285 * manual/charset.texi (Generic Charset Conversion): Fix typo
9286 (LC_TYPE -> LC_CTYPE).
9287
9288 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9289
9290 [BZ #5805]
9291 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9292 (scalbnf): Likewise.
9293 (scalbnl): Likewise.
9294 (scalbln): Likewise.
9295 (scalblnf): Likewise.
9296 (scalblnl): Likewise.
9297 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9298 (vwarnx): Likewise.
9299 (verr): Likewise.
9300 (verrx): Likewise.
9301 * manual/filesys.texi (telldir): Use braces around return type.
9302 * manual/llio.texi (mmap): Add space after comma.
9303 (mmap64): Likewise.
9304 * manual/math.texi (jn): Use @var{} on parameter names.
9305 (jnf): Likewise.
9306 (jnl): Likewise.
9307 (yn): Likewise.
9308 (ynf): Likewise.
9309 (ynl): Likewise.
9310 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9311 line.
9312 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9313 "...".
9314 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9315 (sched_get_priority_max): Likewise.
9316 * manual/signal.texi (sigvec): Add space after comma.
9317 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9318 names.
9319 (if_indextoname): Likewise.
9320 (if_freenameindex): Likewise.
9321 (sendto): Use ',' instead of '.' in prototype.
9322 * manual/startup.texi (syscall): Use @dots{} instead of literal
9323 "...".
9324 * manual/stdio.texi (__fpending): Separate initial words of
9325 paragraph from @deftypefun line.
9326 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9327 "...".
9328 (vsyslog): Use @var{} on parameter names.
9329 * manual/terminal.texi (stty): Use @var{} on parameter names.
9330 * manual/users.texi (getutmp): Use @var{} on parameter names.
9331 (getutmpx): Likewise.
9332
9333 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9334
9335 [BZ #6884]
9336 * manual/stdio.texi (fopen): Fix typos in description of
9337 ",ccs=STRING".
9338
9339 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9340
9341 [BZ #4026]
9342 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9343 get clock_id definition.
9344
9345 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9346
9347 [BZ #4822]
9348 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9349 (madvise): Cast every argument to void on its own.
9350
9351 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #9902]
9354 * manual/startup.texi (Exit Status): Fix typo.
9355
9356 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9357
9358 [BZ #10140]
9359 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9360 * manual/examples/argp-ex2.c: Likewise.
9361 * manual/examples/argp-ex3.c: Likewise.
9362
9363 2012-02-16 Richard Henderson <rth@redhat.com>
9364
9365 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9366 * sysdeps/s390/s390-32/initfini.c: Remove.
9367 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9368 * sysdeps/s390/s390-64/initfini.c: Remove.
9369
9370 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9371
9372 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9373 compiler output for sysdeps/generic/initfini.c.
9374 * sysdeps/sh/elf/initfini.c: Remove file.
9375
9376 2012-02-16 David S. Miller <davem@davemloft.net>
9377
9378 [BZ #11494]
9379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9380
9381 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9382 * sysdeps/sparc/crti.S: New file.
9383 * sysdeps/sparc/crtn.S: New file.
9384 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9385 * sysdeps/sparc/sparc64/Makefile: Likewise.
9386
9387 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9388
9389 [BZ #3335]
9390 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9391
9392 2012-02-15 Roland McGrath <roland@hack.frob.com>
9393
9394 [BZ #4822]
9395 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9396
9397 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9398 (write, read, close): Likewise.
9399 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9400
9401 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9402
9403 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9404 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9406 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9407 <bits/signalfd.h>.
9408 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9410 bits/signalfd.h.
9411
9412 2012-02-14 Marek Polacek <polacek@redhat.com>
9413
9414 * sysdeps/x86_64/crti.S: New file.
9415 * sysdeps/x86_64/crtn.S: New file.
9416 * sysdeps/x86_64/elf/initfini.c: Remove file.
9417
9418 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9419
9420 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9421 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9423 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9424 <bits/inotify.h>.
9425 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9427 bits/inotify.h.
9428
9429 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9430
9431 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9432 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9434 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9435 <bits/eventfd.h>.
9436 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9438 bits/eventfd.h.
9439
9440 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9441
9442 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9443 __feraiseexcept instead of feraiseexcept.
9444
9445 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9446 nanosleep invocations.
9447 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9448 strings, and add error checking for a nanosleep invocations.
9449
9450 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9451
9452 Replace FSF snail mail address with URLs, as per GNU coding standards.
9453 Most of the snail mail addresses were wrong anyway, and omitting
9454 them makes the source code easier to maintain. Almost all of the
9455 changes are to license notices and to locale LC_IDENTIFICATION
9456 addresses, except for this one:
9457 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9458 not its snail mail address.
9459
9460 2012-02-09 Richard Henderson <rth@twiddle.net>
9461
9462 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9463 of kernel-features.h.
9464
9465 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9466
9467 2012-02-08 Marek Polacek <polacek@redhat.com>
9468
9469 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9470 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9471 * sysdeps/gnu/_G_config.h: Likewise.
9472 * sysdeps/generic/_G_config.h: Likewise.
9473
9474 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9475
9476 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9477 tests.
9478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9479
9480 * sysdeps/powerpc/powerpc32/crti.S: New file.
9481 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9482 * sysdeps/powerpc/powerpc64/crti.S: New file.
9483 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9484
9485 * Makeconfig (have-initfini): Don't set.
9486 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9487 * configure.in (nopic_initfini): Don't substitute.
9488 * config.h.in (HAVE_INITFINI): Don't #undef.
9489 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9490 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9491
9492 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9493
9494 Support crti.S and crtn.S provided directly by architectures.
9495 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9496 [crti.S in sysdirs] (omit-deps): Likewise.
9497 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9498 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9499 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9500 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9501 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9502 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9503 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9504 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9505 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9506 compiler output for sysdeps/generic/initfini.c.
9507 * sysdeps/i386/elf/Makefile: Remove file.
9508 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9509
9510 2012-02-07 Marek Polacek <polacek@redhat.com>
9511
9512 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9513 * sysdeps/gnu/_G_config.h: Likewise.
9514 * sysdeps/mach/hurd/_G_config.h: Likewise.
9515
9516 2012-02-07 Marek Polacek <polacek@redhat.com>
9517
9518 * math/Makefile (tests): Add tst-CMPLX2.
9519 * math/tst-CMPLX2.c: New file.
9520
9521 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9522
9523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9524
9525 * math/libm-test.inc (jn_test): Add missing L suffix.
9526
9527 2012-02-06 Marek Polacek <polacek@redhat.com>
9528
9529 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9530 * sysdeps/i386/fpu/e_powf.S: Likewise.
9531 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9534 * sysdeps/i386/fpu/e_pow.S: Likewise.
9535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9539 * sysdeps/i386/fpu/e_log2.S: Likewise.
9540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9542 * sysdeps/i386/fpu/e_powl.S: Likewise.
9543 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9545 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9546 * sysdeps/i386/fpu/e_logl.S: Likewise.
9547 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9548 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9549 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9550 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9553 * sysdeps/i386/fpu/e_log.S: Likewise.
9554 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9556 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9557 * sysdeps/i386/fpu/e_logf.S: Likewise.
9558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9560 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9561 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9563 * sysdeps/i386/fpu/e_log10.S: Likewise.
9564 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9566 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9567 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9568 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9569 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9570 * sysdeps/i386/asm-syntax.h: Likewise.
9571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9574 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9575 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9580 * sysdeps/powerpc/sysdep.h: Likewise.
9581 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9583
9584 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #411]
9587 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9588
9589 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9590
9591 * sysdeps/i386/sysdep.h: Include <features.h>.
9592 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9593 version.
9594
9595 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9596
9597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9598 Define.
9599 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9600 LOAD_PIC_REG_STR.
9601
9602 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9603
9604 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9605 (SETUP_PIC_REG): Use GET_PC_THUNK.
9606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9607 macro.
9608
9609 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9610
9611 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9612 for non-PIC compilation.
9613 (SETUP_PIC_REG): Add .p2align directive.
9614 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9615 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9618 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9619 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9620 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9630 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9631 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9632 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9633 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9637 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9642 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9643 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9644 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9650 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9651 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9652 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9653 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9654 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9655
9656 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9657
9658 * math/tst-CMPLX.c: Include <stdio.h>.
9659
9660 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9661
9662 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9663 float.
9664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9665 * sysdeps/sparc/bits/mathdef.h: Likewise.
9666
9667 2012-01-31 Marek Polacek <polacek@redhat.com>
9668
9669 * libio/libio.h: Don't define _PARAMS.
9670 * locale/programs/config.h: Don't define PARAMS.
9671 * stdlib/strtol_l.c: Likewise.
9672 (__strtol_l): Remove PARAMS from the prototype.
9673
9674 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9675
9676 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9677 names. Just use the correct names. Remove unnecessary wrapper
9678 functions.
9679 * malloc/arena.c: Likewise.
9680 * malloc/hooks.c: Likewise.
9681
9682 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9683 ARENA_TEST says not to. Simplify test for creation of a new arena.
9684 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9685
9686 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9687
9688 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9689 into tail calls.
9690 (update_get_addr): New function.
9691 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9692 GET_ADDR_MODULE parameter.
9693
9694 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9695
9696 * crypt/cert.c: Remove __STDC__ conditionals.
9697 * crypt/crypt-entry.c: Likewise.
9698 * crypt/crypt_util.c: Likewise.
9699 * libio/filedoalloc.c: Likewise.
9700 * libio/fileops.c: Likewise.
9701 * libio/genops.c: Likewise.
9702 * libio/iofclose.c: Likewise.
9703 * libio/iofdopen.c: Likewise.
9704 * libio/iofopen.c: Likewise.
9705 * libio/iofopen64.c: Likewise.
9706 * libio/iogetdelim.c: Likewise.
9707 * libio/iopopen.c: Likewise.
9708 * libio/obprintf.c: Likewise.
9709 * libio/oldfileops.c: Likewise.
9710 * libio/oldiofclose.c: Likewise.
9711 * libio/oldiofdopen.c: Likewise.
9712 * libio/oldiofopen.c: Likewise.
9713 * libio/oldiopopen.c: Likewise.
9714 * libio/wfiledoalloc.c: Likewise.
9715 * libio/wgenops.c: Likewise.
9716 * locale/programs/xmalloc.c: Likewise.
9717 * misc/syslog.c: Likewise.
9718 * stdio-common/xbug.c: Likewise.
9719 * string/memchr.c: Likewise.
9720 * string/memcmp.c: Likewise.
9721 * string/memrchr.c: Likewise.
9722 * string/rawmemchr.c: Likewise.
9723 * sysdeps/posix/getcwd.c: Likewise.
9724 * time/strftime_l.c: Likewise.
9725
9726 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9727
9728 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9729 * config.make.in (config-cflags-sse2avx): Define.
9730 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9731 Fix typo.
9732
9733 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9734
9735 * scripts/config.guess: Update from upstream config git repository.
9736 * scripts/config.sub: Likewise.
9737
9738 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9739
9740 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9741 (EM_NUM): Update.
9742 (R_TILEPRO_*, R_TILEGX_*): New macros.
9743
9744 * scripts/firstversions.awk: Fix bug in version range handling.
9745
9746 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9747
9748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9749
9750 * include/sys/epoll.h: New file.
9751 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9752 libc_hidden_def.
9753
9754 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9755
9756 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9757 Avoid unnecessary __WORDSIZE == 64 test.
9758 (fmaxf): Use VEX format if possible.
9759 (fmax): Likewise.
9760 (fminf): Likewise.
9761 (fmin): Likewise.
9762
9763 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9764 * math/math_private.h: Remove libc_fegetround* and
9765 libc_fesetround*.
9766 * sysdeps/i386/configure.in: Check for -msse2avx.
9767 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9768 also if SSE2AVX is defined.
9769 Remove libc_fegetround* and libc_fesetround*.
9770 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9771 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9773 of HAS_YMM_USABLE.
9774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9779
9780 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9781
9782 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9783
9784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9785 size is not set.
9786 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9787
9788 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9789
9790 [BZ #13618]
9791 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9792 relocation.
9793 * Makeconfig (libm): Define.
9794 * elf/Makefile: Add rules to build and run tst-relsort1.
9795 * elf/tst-relsort1.c: New file.
9796 * elf/tst-relsort1mod1.c: New file.
9797 * elf/tst-relsort1mod2.c: New file.
9798
9799 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9800
9801 * math/s_ldexp.c: Remove __STDC__ conditionals.
9802 * math/s_ldexpf.c: Likewise.
9803 * math/s_ldexpl.c: Likewise.
9804 * math/s_nextafter.c: Likewise.
9805 * math/s_nexttowardf.c: Likewise.
9806 * math/s_significand.c: Likewise.
9807 * math/s_significandf.c: Likewise.
9808 * math/s_significandl.c: Likewise.
9809 * math/w_jnl.c: Likewise.
9810 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9811 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9812 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9813 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9814 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9850 * sysdeps/ieee754/k_standard.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9912 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9930 * sysdeps/ieee754/s_matherr.c: Likewise.
9931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9935
9936 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9937
9938 * crypt/md5.h: Remove __STDC__ conditionals.
9939 * libio/libioP.h: Likewise.
9940 * locale/programs/config.h: Likewise.
9941 * sysdeps/generic/sysdep.h: Likewise.
9942 * sysdeps/i386/asm-syntax.h: Likewise.
9943 * sysdeps/s390/asm-syntax.h: Likewise.
9944 * sysdeps/unix/sysdep.h: Likewise.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9947
9948 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9949
9950 * libio/libio.h: Remove __STDC__ conditionals.
9951 * malloc/obstack.h: Likewise.
9952 * math/complex.h: Likewise.
9953 * math/math.h: Likewise.
9954 * sysdeps/generic/_G_config.h: Likewise.
9955 * sysdeps/gnu/_G_config.h: Likewise.
9956 * sysdeps/mach/hurd/_G_config.h: Likewise.
9957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9958 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9959 * sysdeps/sparc/bits/mathdef.h: Likewise.
9960
9961 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9962
9963 [BZ #13583]
9964 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9965 Clean up HAS_* macros.
9966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9967 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9968 possible.
9969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9970 HAS_AVX.
9971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9976
9977 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9978
9979 * elf/tst-unique3.cc (gets): Remove declaration.
9980 * elf/tst-unique3lib.cc (gets): Likewise.
9981 * elf/tst-unique3lib2.cc (gets): Likewise.
9982 * elf/tst-unique4.cc (gets): Likewise.
9983
9984 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9985
9986 * include/stdio.h: Add C++ protection. Add gets declarations and
9987 definitions.
9988 * debug/tst-chk1.c: Don't declare gets here.
9989 * stdio-common/tst-gets.c: Likewise.
9990
9991 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9992
9993 * posix/glob: Remove directory.
9994
9995 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9996
9997 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9998
9999 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10000
10001 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10002 of the non-standard EPFNOSUPPORT.
10003
10004 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10005
10006 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10007 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10008 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10009
10010 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10011
10012 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10013
10014 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10015
10016 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10017 transient errors.
10018 * nscd/grpcache.c (cache_addgr): Likewise.
10019 * nscd/hstcache.c (cache_addhst): Likewise.
10020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10021 * nscd/pwdcache.c (cache_addpw): Likewise.
10022 * nscd/servicescache.c (cache_addserv): Likewise.
10023
10024 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10025
10026 * malloc/malloc.c: Various cleanups.
10027 * malloc/hooks.c: Likewise.
10028
10029 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10030 * stdlib/bug-fmtmsg1.c: New file.
10031
10032 * stdlib/fmtmsg.c (init): Add missing unlock.
10033 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10034
10035 2012-01-12 Marek Polacek <polacek@redhat.com>
10036
10037 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10038 and _GNU_SOURCE.
10039
10040 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10041
10042 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10043 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10044 macro to ensure uniqueness of label name.
10045 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10046 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10047
10048 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10049
10050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10051
10052 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10056
10057 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10058
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10060
10061 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10062 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10063 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10064
10065 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10066
10067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10071
10072 * math/bits/math-finite.h: Add ldexp support.
10073
10074 2012-01-10 Marek Polacek <polacek@redhat.com>
10075
10076 * locale/programs/localedef.h (show_archive_content): Add noreturn
10077 attribute.
10078
10079 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10080
10081 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10082
10083 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10084
10085 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10086
10087 * io/Makefile (headers): Add bits/poll2.h.
10088
10089 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10090
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10092 typo #include statement.
10093
10094 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10095
10096 * include/sys/cdefs.h: Define __attribute_alloc_size.
10097 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10098 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10099 * elf/pldd.c: Likewise.
10100 * iconv/iconv_charmap.c: Likewise.
10101 * iconv/iconvconfig.c: Likewise.
10102 * iconv/strtab.c: Likewise.
10103 * locale/programs/locale.c: Likewise.
10104 * locale/programs/localedef.h: Likewise.
10105 * locale/programs/simple-hash.c: Likewise.
10106 * nscd/nscd.h: Likewise.
10107 * nss/makedb.c: Likewise.
10108 * sysdeps/generic/ldconfig.h: Likewise.
10109 * locale/programs/localedef.c: Remove xmalloc prototype.
10110 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10111
10112 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10113
10114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10115 appropriate.
10116
10117 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10118
10119 * math/Makefile (tests): Add tst-CMPLX.
10120 * math/tst-CMPLX.c: New file.
10121
10122 * math/complex.h (CMPLXL): Fix typo.
10123
10124 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10125 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10126 GLIBC_2.16.
10127 * debug/tst-chk1.c: Add poll and ppoll tests.
10128 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10129 * include/sys/poll.h: Add hidden proto for ppoll.
10130 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10131 * sysdeps/mach/hurd/ppoll.c: Likewise.
10132 * io/ppoll.c: Likewise.
10133 * debug/poll_chk.c: New file.
10134 * debug/ppoll_chk.c: New file.
10135 * include/bits/poll2.h: New file.
10136 * io/bits/poll2.h: New file.
10137
10138 [BZ #1350]
10139 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10140
10141 * configure.in: static is always set to yes. Remove.
10142 * config.make.in: Don't set build-static.
10143 * Makeconfig: Remove use of build-static.
10144 * dlfcn/Makefile: Likewise.
10145 * elf/Makefile: Likewise.
10146 * math/Makefile: Likewise.
10147 * misc/Makefile: Likewise.
10148 * nptl/Makefile: Likewise.
10149 * sysdeps/mach/hurd/Makefile: Likewise.
10150
10151 * configure.in: PWD_P is not used anymore.
10152 * config.make.in: Remove PWD_P entry.
10153
10154 * configure.in: Remove last remnants of RANLIB.
10155 No need to check for signed size_t anymore.
10156 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10157 and IA-64.
10158 Remove __builtin_expect test because we require at least gcc 3.4.
10159 * aclocal.m4: Likewise.
10160
10161 * wcsmbs/mbrtoc16.c: Implement using towc function.
10162 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10163 * wcsmbs/wcsmbsload.c: Likewise.
10164 * iconv/gconv_simple.c: Likewise.
10165 * iconv/gconv_int.h: Likewise.
10166 * iconv/gconv_builtin.h: Likewise.
10167 * iconv/iconv_prog.c: Remove CHAR16 handling.
10168
10169 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10170
10171 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10172
10173 * configure.in: Remove --with-elf and --enable-bounded options.
10174 Dont set base_machine for ia64. More non-ELF conditions removed.
10175 Remove testing and setting of leading underscore information.
10176 * config.make.in (build-bounded): Set to no.
10177 * config.h.in: Remove NO_UNDERSCORES entry.
10178 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10179 them.
10180 * csu/start.c: Remove !NO_UNDERSCORE code.
10181 * locale/localeinfo.h: Likewise.
10182 * sysdeps/generic/machine-gmon.h: Likewise.
10183 * sysdeps/generic/sysdep.h: Likewise.
10184 * sysdeps/i386/sysdep.h: Likewise.
10185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10186 * sysdeps/mach/sysdep.h: Likewise.
10187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10189 * sysdeps/sh/sysdep.h: Likewise.
10190 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10191 * sysdeps/unix/i386/sysdep.S: Likewise.
10192 * sysdeps/unix/sparc/start.c: Likewise.
10193 * sysdeps/unix/sparc/sysdep.S: Likewise.
10194 * sysdeps/unix/sparc/sysdep.h: Likewise.
10195 * sysdeps/unix/start.c: Likewise.
10196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10197 * sysdeps/x86_64/sysdep.h: Likewise.
10198
10199 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10200
10201 [BZ #13553]
10202 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10203 for non-gcc.
10204 * argp/argp-fmtstream.h: Use const instead __const.
10205 * argp/argp.h: Likewise.
10206 * assert/assert.h: Likewise.
10207 * bits/fenv.h: Likewise.
10208 * bits/sched.h: Likewise.
10209 * bits/sigset.h: Likewise.
10210 * bits/sigthread.h: Likewise.
10211 * catgets/nl_types.h: Likewise.
10212 * conform/data/pthread.h-data: Likewise.
10213 * crypt/crypt-private.h: Likewise.
10214 * crypt/crypt.h: Likewise.
10215 * crypt/crypt_util.c: Likewise.
10216 * ctype/ctype.h: Likewise.
10217 * debug/execinfo.h: Likewise.
10218 * debug/mbsnrtowcs_chk.c: Likewise.
10219 * debug/mbsrtowcs_chk.c: Likewise.
10220 * debug/wcsnrtombs_chk.c: Likewise.
10221 * debug/wcsrtombs_chk.c: Likewise.
10222 * debug/wcstombs_chk.c: Likewise.
10223 * dirent/dirent.h: Likewise.
10224 * dlfcn/dlfcn.h: Likewise.
10225 * elf/neededtest4.c: Likewise.
10226 * grp/grp.h: Likewise.
10227 * gshadow/gshadow.h: Likewise.
10228 * iconv/gconv.h: Likewise.
10229 * iconv/gconv_int.h: Likewise.
10230 * iconv/gconv_simple.c: Likewise.
10231 * iconv/iconv.h: Likewise.
10232 * iconv/loop.c: Likewise.
10233 * iconv/skeleton.c: Likewise.
10234 * include/aio.h: Likewise.
10235 * include/aliases.h: Likewise.
10236 * include/argz.h: Likewise.
10237 * include/arpa/inet.h: Likewise.
10238 * include/assert.h: Likewise.
10239 * include/dirent.h: Likewise.
10240 * include/dlfcn.h: Likewise.
10241 * include/execinfo.h: Likewise.
10242 * include/fcntl.h: Likewise.
10243 * include/fenv.h: Likewise.
10244 * include/glob.h: Likewise.
10245 * include/grp.h: Likewise.
10246 * include/libintl.h: Likewise.
10247 * include/mntent.h: Likewise.
10248 * include/netdb.h: Likewise.
10249 * include/pwd.h: Likewise.
10250 * include/rpc/netdb.h: Likewise.
10251 * include/sched.h: Likewise.
10252 * include/search.h: Likewise.
10253 * include/shadow.h: Likewise.
10254 * include/signal.h: Likewise.
10255 * include/stdio.h: Likewise.
10256 * include/stdlib.h: Likewise.
10257 * include/string.h: Likewise.
10258 * include/sys/socket.h: Likewise.
10259 * include/sys/stat.h: Likewise.
10260 * include/sys/statfs.h: Likewise.
10261 * include/sys/statvfs.h: Likewise.
10262 * include/sys/syslog.h: Likewise.
10263 * include/sys/time.h: Likewise.
10264 * include/sys/uio.h: Likewise.
10265 * include/time.h: Likewise.
10266 * include/unistd.h: Likewise.
10267 * include/utmp.h: Likewise.
10268 * include/wchar.h: Likewise.
10269 * include/wctype.h: Likewise.
10270 * inet/aliases.h: Likewise.
10271 * inet/arpa/inet.h: Likewise.
10272 * inet/netinet/ether.h: Likewise.
10273 * inet/netinet/in.h: Likewise.
10274 * intl/libintl.h: Likewise.
10275 * io/bits/fcntl2.h: Likewise.
10276 * io/fcntl.h: Likewise.
10277 * io/ftw.h: Likewise.
10278 * io/sys/poll.h: Likewise.
10279 * io/sys/stat.h: Likewise.
10280 * io/sys/statfs.h: Likewise.
10281 * io/sys/statvfs.h: Likewise.
10282 * io/utime.h: Likewise.
10283 * libio/bits/stdio.h: Likewise.
10284 * libio/bits/stdio2.h: Likewise.
10285 * libio/libio.h: Likewise.
10286 * libio/libioP.h: Likewise.
10287 * libio/stdio.h: Likewise.
10288 * locale/lc-ctype.c: Likewise.
10289 * locale/locale.h: Likewise.
10290 * login/utmp.h: Likewise.
10291 * malloc/arena.c: Likewise.
10292 * malloc/malloc.c: Likewise.
10293 * malloc/malloc.h: Likewise.
10294 * malloc/mcheck.c: Likewise.
10295 * malloc/mtrace.c: Likewise.
10296 * math/bits/mathcalls.h: Likewise.
10297 * math/fenv.h: Likewise.
10298 * math/math_private.h: Likewise.
10299 * misc/bits/error.h: Likewise.
10300 * misc/bits/syslog.h: Likewise.
10301 * misc/err.h: Likewise.
10302 * misc/error.h: Likewise.
10303 * misc/fstab.h: Likewise.
10304 * misc/mntent.h: Likewise.
10305 * misc/regexp.h: Likewise.
10306 * misc/search.h: Likewise.
10307 * misc/sgtty.h: Likewise.
10308 * misc/sys/mman.h: Likewise.
10309 * misc/sys/syslog.h: Likewise.
10310 * misc/sys/uio.h: Likewise.
10311 * misc/sys/xattr.h: Likewise.
10312 * misc/ttyent.h: Likewise.
10313 * nis/rpcsvc/ypclnt.h: Likewise.
10314 * nss/nss.h: Likewise.
10315 * posix/bits/unistd.h: Likewise.
10316 * posix/fnmatch.h: Likewise.
10317 * posix/glob.h: Likewise.
10318 * posix/sched.h: Likewise.
10319 * posix/spawn.h: Likewise.
10320 * posix/sys/wait.h: Likewise.
10321 * posix/unistd.h: Likewise.
10322 * posix/wordexp.h: Likewise.
10323 * pwd/pwd.h: Likewise.
10324 * resolv/netdb.h: Likewise.
10325 * resource/sys/resource.h: Likewise.
10326 * rt/aio.h: Likewise.
10327 * rt/bits/mqueue2.h: Likewise.
10328 * rt/mqueue.h: Likewise.
10329 * shadow/shadow.h: Likewise.
10330 * signal/signal.h: Likewise.
10331 * socket/send.c: Likewise.
10332 * socket/sendto.c: Likewise.
10333 * socket/sys/socket.h: Likewise.
10334 * stdio-common/printf.h: Likewise.
10335 * stdlib/bits/stdlib.h: Likewise.
10336 * stdlib/fmtmsg.h: Likewise.
10337 * stdlib/monetary.h: Likewise.
10338 * stdlib/stdlib.h: Likewise.
10339 * stdlib/ucontext.h: Likewise.
10340 * streams/stropts.h: Likewise.
10341 * string/argz.h: Likewise.
10342 * string/bits/string2.h: Likewise.
10343 * string/string.h: Likewise.
10344 * string/strings.h: Likewise.
10345 * sunrpc/rpc/auth.h: Likewise.
10346 * sunrpc/rpc/auth_des.h: Likewise.
10347 * sunrpc/rpc/clnt.h: Likewise.
10348 * sunrpc/rpc/netdb.h: Likewise.
10349 * sunrpc/rpc/pmap_clnt.h: Likewise.
10350 * sunrpc/rpc/xdr.h: Likewise.
10351 * sysdeps/generic/inttypes.h: Likewise.
10352 * sysdeps/generic/net/if.h: Likewise.
10353 * sysdeps/generic/sys/swap.h: Likewise.
10354 * sysdeps/gnu/net/if.h: Likewise.
10355 * sysdeps/gnu/utmpx.h: Likewise.
10356 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10357 * sysdeps/i386/i486/bits/string.h: Likewise.
10358 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10359 * sysdeps/s390/bits/string.h: Likewise.
10360 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10361 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10362 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10363 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10364 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10365 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10366 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10367 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10368 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10369 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10370 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10371 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10372 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10373 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10374 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10383 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10384 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10385 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10386 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10388 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10390 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10391 * sysvipc/sys/ipc.h: Likewise.
10392 * sysvipc/sys/msg.h: Likewise.
10393 * sysvipc/sys/sem.h: Likewise.
10394 * sysvipc/sys/shm.h: Likewise.
10395 * termios/termios.h: Likewise.
10396 * time/sys/time.h: Likewise.
10397 * time/time.h: Likewise.
10398 * wcsmbs/bits/wchar2.h: Likewise.
10399 * wcsmbs/uchar.h: Likewise.
10400 * wcsmbs/wchar.h: Likewise.
10401 * wctype/wctype.h: Likewise.
10402
10403 [BZ #13551]
10404 * Makeconfig: Remove all but ELF support including AIX support.
10405 * Makerules: Likewise.
10406 * config.h.in: Likewise.
10407 * config.make.in: Likewise.
10408 * configure: Likewise.
10409 * configure.in: Likewise.
10410 * csu/Makefile: Likewise.
10411 * csu/version.c: Likewise.
10412 * debug/Makefile: Likewise.
10413 * dlfcn/Makefile: Likewise.
10414 * elf/Makefile: Likewise.
10415 * extra-lib.mk: Likewise.
10416 * iconv/Makefile: Likewise.
10417 * include/libc-symbols.h: Likewise.
10418 * include/shlib-compat.h: Likewise.
10419 * resolv/Makefile: Likewise.
10420 * resolv/res_libc.c: Likewise.
10421 * rt/Makefile: Likewise.
10422 * sysdeps/i386/asm-syntax.h: Likewise.
10423 * sysdeps/i386/sysdep.h: Likewise.
10424 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10425 * sysdeps/mach/sysdep.h: Likewise.
10426 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10427 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10428 * sysdeps/s390/asm-syntax.h: Likewise.
10429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10431 * sysdeps/sh/sysdep.h: Likewise.
10432 * sysdeps/unix/sparc/sysdep.h: Likewise.
10433 * sysdeps/wordsize-32/divdi3.c: Likewise.
10434 * sysdeps/x86_64/sysdep.h: Likewise.
10435
10436 * argp/Versions: Remove _argp_unlock_xxx.
10437
10438 [BZ #13559]
10439 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10440 * abilist/libBrokenLocale.abilist: Likewise.
10441 * abilist/libanl.abilist: Likewise.
10442 * abilist/libc.abilist: Likewise.
10443 * abilist/libcrypt.abilist: Likewise.
10444 * abilist/libdl.abilist: Likewise.
10445 * abilist/libm.abilist: Likewise.
10446 * abilist/libnsl.abilist: Likewise.
10447 * abilist/libpthread.abilist: Likewise.
10448 * abilist/libresolv.abilist: Likewise.
10449 * abilist/librt.abilist: Likewise.
10450 * abilist/libthread_db.abilist: Likewise.
10451 * abilist/libutil.abilist: Likewise.
10452 * abilist/libnss_db.abilist: New file.
10453
10454 * scripts/abilist.awk: Add support for indirect functions.
10455
10456 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10457
10458 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10459
10460 * shlib-versions: Remove entries for ports architectures.
10461
10462 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10463 files in ports.
10464 * elf/stackguard-macros.h: Remove support for IA-64.
10465 * elf/tst-auditmod1.c: Likewise.
10466 * sysdeps/generic/ldsodefs.h: Likewise.
10467
10468 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10469 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10470 configure files.
10471
10472 [BZ #13552]
10473 * configure.in: Remove --enable-omitfp support.
10474 * FAQ.in: Adjust.
10475 * config.make.in: Likewise.
10476 * Makeconfig: Likewise.
10477 * manual/install.texi: Likewise.
10478
10479 In case anyone cares, the IA-64 architecture could move to ports.
10480 * sysdeps/ia64/*: Removed.
10481 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10482 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10483
10484 [BZ #13555]
10485 * configure.in: Remove entries for unsupported architectures.
10486
10487 [BZ #13533]
10488 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10489 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10490 routines.
10491 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10492 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10493 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10494 fall back to using wcrtomb.
10495 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10496 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10497 renaming.
10498 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10499 * wcsmbs/tst-c16c32-1.c: New file.
10500
10501 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10502 local variable.
10503
10504 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10505
10506 * elf/tst-unique3.cc: Add explicit declaration of gets.
10507 * elf/tst-unique3lib.cc: Likewise.
10508 * elf/tst-unique3lib2.cc: Likewise.
10509 * elf/tst-unique4.cc: Likewise.
10510
10511 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10512
10513 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10514
10515 [BZ #13566]
10516 * assert/assert.h (static_assert): Don't define for C++.
10517 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10518 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10519
10520 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10521
10522 * iconv/loop.c (single loop): Fix assertion in storing of
10523 remaining bytes.
10524
10525 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10526
10527 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10528
10529 * posix/getconf.c: Update copyright year.
10530 * nss/getent.c: Likewise.
10531 * nss/makedb.c: Likewise.
10532 * iconv/iconvconfig.c: Likewise.
10533 * iconv/iconv_prog.c: Likewise.
10534 * elf/ldconfig.c: Likewise.
10535 * elf/pldd.c: Likewise.
10536 * elf/sotruss.ksh: Likewise.
10537 * catgets/gencat.c: Likewise.
10538 * csu/version.c: Likewise.
10539 * elf/ldd.bash.in: Likewise.
10540 * elf/sprof.c (print_version): Likewise.
10541 * locale/programs/locale.c: Likewise.
10542 * locale/programs/localedef.c: Likewise.
10543 * login/programs/pt_chown.c: Likewise.
10544 * nscd/nscd.c (print_version): Likewise.
10545 * debug/xtrace.sh: Likewise.
10546 * malloc/memusage.sh: Likewise.
10547 * malloc/mtrace.pl: Likewise.
10548 * debug/catchsegv.sh: Likewise.
10549
10550 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10551
10552 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10553 pure attribute.
10554
10555 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10556
10557 [BZ #13533]
10558 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10559 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10560 transformations.
10561 * iconv/gconv_int.h: Likewise.
10562 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10563 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10564 from libc for GLIBC_2.16.
10565 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10566 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10567 * wcsmbs/uchar.h: Really define mbstate_t.
10568 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10569 * wcsmbs/c16rtomb.c: New file.
10570 * wcsmbs/mbrtoc16.c: New file.
10571 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10572 for C/POSIX locale.
10573 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10574 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10575
10576 * wcsmbs/wchar.h: Add missing __restrict.
10577
10578 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10579
10580 [BZ #13532]
10581 * time/Makefile (routines): Add timespec_get.
10582 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10583 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10584 timespec for ISO C11.
10585 * time/timespec_get.c: New file.
10586 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10587 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10588
10589 [BZ #13531]
10590 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10591 * stdlib/stdlib.h: Declare aligned_alloc.
10592 * Versions.def: Add GLIBC_2.16 for libc.
10593 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10594
10595 [BZ 13527]
10596 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10597 ISO C11.
10598
10599 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10600 code.
10601
10602 [BZ #13528]
10603 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10604
10605 [BZ #13529]
10606 * assert/assert.h (static_assert): Define.
10607
10608 * version.h: Update for 2.16 development version.
10609
10610 [BZ #13526]
10611 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10612 _ISOC11_SOURCE.
10613
10614 * version.h (RELEASE): Bump for 2.15 release.
10615 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10616
10617 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10618 Patch by Marek Polacek <mpolacek@redhat.com>.
10619
10620 * bits/byteswap.h: Protect long long constants with __extension__.
10621 * sysdeps/i386/bits/byteswap.h: Likewise.
10622 * sysdeps/ia64/bits/byteswap.h: Likewise.
10623 * sysdeps/s390/bits/byteswap.h: Likewise.
10624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10625
10626 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10627
10628 [BZ #13540]
10629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10630 destination buffer.
10631 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10632
10633 2011-12-23 Marek Polacek <polacek@redhat.com>
10634
10635 * elf/dl-addr.c (determine_info): Add inline keyword.
10636 * elf/tst-auditmod4b.c (check_avx): Likewise.
10637 * elf/tst-auditmod6b.c (check_avx): Likewise.
10638 * elf/tst-auditmod6c.c (check_avx): Likewise.
10639 * elf/tst-auditmod7b.c (check_avx): Likewise.
10640
10641 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10642
10643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10644 !__SSE_MATH__.
10645
10646 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10647
10648 [BZ #13540]
10649 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10650 processing for last bytes.
10651
10652 2011-08-06 Bruno Haible <bruno@clisp.org>
10653
10654 [BZ #13061]
10655 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10656 U+0385, not to U+1FEE.
10657
10658 [BZ #13062]
10659 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10660 entry for U+00A5 U+0301.
10661
10662 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10663
10664 [BZ #13166]
10665 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10666 buffer for the output is too small.
10667
10668 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10669 optimization.
10670
10671 [BZ #13185]
10672 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10673 SSE flags if possible.
10674
10675 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10676
10677 [BZ #13540]
10678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10679 processing for last bytes.
10680
10681 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10682
10683 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10684 (syscall-list-default-options, syscall-list-default-condition)
10685 (syscall-list-includes): Define.
10686 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10687 list of ABIs and options and #if conditions for each ABI. Do not
10688 handle common syscalls between ABIs specially.
10689 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10690 Remove.
10691 (syscall-list-variants, syscall-list-32bit-options)
10692 (syscall-list-32bit-condition, syscall-list-64bit-options)
10693 (syscall-list-64bit-condition): Define.
10694 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10695 (syscall-list-variants, syscall-list-32bit-options)
10696 (syscall-list-32bit-condition, syscall-list-64bit-options)
10697 (syscall-list-64bit-condition): Define.
10698 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10699 Remove.
10700 (syscall-list-variants, syscall-list-32bit-options)
10701 (syscall-list-32bit-condition, syscall-list-64bit-options)
10702 (syscall-list-64bit-condition): Define.
10703 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10704 Remove.
10705 (syscall-list-variants, syscall-list-32bit-options)
10706 (syscall-list-32bit-condition, syscall-list-64bit-options)
10707 (syscall-list-64bit-condition): Define.
10708
10709 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10710
10711 * locale/iso-639.def: Add brx entry.
10712
10713 [BZ #13328]
10714 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10715 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10716
10717 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10718 __feraiseexcept_renamed.
10719
10720 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10721
10722 [BZ #13538]
10723 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10724 EPOLLET with unsigned values.
10725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10727
10728 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10729 to large cancellation.
10730 * math/s_cacoshf.c: Likewise.
10731 * math/s_cacoshl.c: Likewise.
10732
10733 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10734
10735 [BZ #13305]
10736 [BZ #12786]
10737 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10738 * math/s_cacoshf.c: Likewise.
10739 * math/s_cacoshl.c: Likewise.
10740
10741 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10742
10743 [BZ #13439]
10744 * iconv/gconv.h: Define __GCONV_SWAP.
10745 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10746 * iconvdata/utf-16.c: Likewise.
10747 * iconvdata/utf-32.c: Likewise.
10748
10749 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10750
10751 [BZ #13524]
10752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10753 numerator after shifting it by one limb.
10754
10755 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10756
10757 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10758 under [__USE_EXTERN_INLINES].
10759
10760 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10761
10762 [BZ #13446]
10763 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10764
10765 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10766
10767 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10768 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10769 optimized code.
10770 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10772 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10773 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10774 for strncasecmp/strncasecmp_l compilation.
10775 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10776 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10777
10778 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10779
10780 [BZ #13484]
10781 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10782 of __asm__.
10783
10784 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10785
10786 [BZ #13506]
10787 * time/tzfile.c (__tzfile_read): Check values from file header.
10788
10789 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10790
10791 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10792 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10793 * powerpc/powerpc32/dl-start.S: Likewise.
10794 * powerpc/powerpc32/elf/start.S: Likewise.
10795 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10796 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10797 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10798 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10799 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10800 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10801 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10802 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10803 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10804 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10805 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10806 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10807 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10808 * powerpc/powerpc32/memset.S: Likewise.
10809 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10810 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10811 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10812 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10813 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10814 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10815 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10816 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10817 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10818 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10819 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10820 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10821 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10822
10823 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824
10825 * math/libm-test.inc: Added more nearbyint tests.
10826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10830
10831 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10832
10833 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10834 FD_CLOEXEC.
10835
10836 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10837
10838 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10839 Add wcscpy-ssse3 wcscpy-c.
10840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10841 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10842 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10843 * sysdeps/x86_64/wcschr.S: New file.
10844 * sysdeps/x86_64/wcsrchr.S: New file.
10845 * string/test-strcmp.c: Remove checking of wcscmp function for
10846 wrong alignments.
10847 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10848 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10849 wcsrchr-sse2 wcsrchr-c.
10850 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10851 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10852 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10853 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10854 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10855 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10856 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10857 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10859 * wcsmbc/wcschr.c (WCSCHR): New macro.
10860
10861 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10862
10863 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10864 * wcsmbs/test-wcsrchr.c: New file.
10865 * string/test-strrchr.c: Add wcsrchr support.
10866 (WIDE): New macro.
10867 * wcsmbs/test-wcscpy.c: New file.
10868 * string/test-strcpy.c: Add wcscpy support.
10869 (WIDE): New macro.
10870
10871 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10872
10873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10874 the inner loop.
10875
10876 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10877
10878 [BZ #13472]
10879 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10880
10881 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10882
10883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10884 Minor optimizations.
10885
10886 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10887 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10888 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10889
10890 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10891
10892 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10893 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10894 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10895 for gcc to avoid warnings.
10896 * inet/Makefile (tests): Add tst-checks.
10897 * inet/tst-checks.c: New file.
10898
10899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10900 warning.
10901
10902 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10903 __wmemcmp_sse2.
10904
10905 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10906 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10907
10908 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10909
10910 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10911
10912 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10913 problem.
10914
10915 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10916
10917 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10918
10919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10920 conditional on GCC version.
10921 (__arch_compare_and_exchange_val_8_acq)
10922 (__arch_compare_and_exchange_val_16_acq)
10923 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10924 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10925 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10926
10927 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10928
10929 * sysdeps/sh/backtrace.c: New file.
10930
10931 2011-12-02 Andreas Schwab <schwab@redhat.com>
10932
10933 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10934 parenthesis.
10935
10936 2011-12-01 Andreas Schwab <schwab@redhat.com>
10937
10938 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10939 falling back to utime.
10940
10941 2011-11-30 Andreas Schwab <schwab@redhat.com>
10942
10943 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10944 expectations for float.
10945
10946 2011-11-29 Andreas Schwab <schwab@redhat.com>
10947
10948 * locale/weight.h (findidx): Add parameter len.
10949 * locale/weightwc.h (findidx): Likewise.
10950 * posix/fnmatch_loop.c (FCT): Adjust caller.
10951 * posix/regcomp.c (build_equiv_class): Likewise.
10952 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10953 * posix/regexec.c (check_node_accept_bytes): Likewise.
10954 * string/strcoll_l.c (STRCOLL): Likewise.
10955 * string/strxfrm_l.c (STRXFRM): Likewise.
10956
10957 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10958
10959 * Makefile.in: Remove CVSOPT handling.
10960 * configure.in: Remove use of AC_REVISION.
10961 * iconvdata/Makefile (distribute): No need to filter out CVS.
10962 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10963 handling.
10964
10965 2011-11-16 Andreas Schwab <schwab@redhat.com>
10966
10967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10968 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10969 [USE_AS_STRNCASECMP_L]: Likewise.
10970 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10971 NO_TLS_DIRECT_SEG_REFS.
10972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10973 Fix argument offsets for non-PIC.
10974 [USE_AS_STRNCASECMP_L]: Likewise.
10975 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10976 NO_TLS_DIRECT_SEG_REFS.
10977
10978 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10979
10980 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10981 O_CLOEXEC.
10982 * locale/loadlocale.c (_nl_load_locale): Likewise.
10983
10984 2011-11-15 Andreas Schwab <schwab@redhat.com>
10985
10986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10987 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10989 (SYSCALL_GETTIME): Set errno on error.
10990
10991 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10992 count references to noai6ai_cached.
10993
10994 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10995
10996 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10997
10998 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10999 FD_CLOEXEC for /proc/self/maps.
11000
11001 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11002 FD_CLOEXEC for /proc/meminfo.
11003
11004 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11005 gai.conf.
11006
11007 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11008 FD_CLOEXEC for given file.
11009
11010 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11011
11012 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11013 FD_CLOEXEC for /etc/hosts.
11014 (_gethtent): Likewise.
11015
11016 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11017
11018 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11019 cancellation and set FD_CLOEXEC for /etc/netgroup.
11020
11021 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11022 reading /etc/publickey.
11023
11024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11025 allow cancellation when reading /etc/group.
11026
11027 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11028 cancellation.
11029 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11030
11031 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11032 when using data file.
11033
11034 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11035
11036 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11037 (write_nis_obj): Use "c" and "e" in fopen.
11038
11039 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11040
11041 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11042
11043 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11044
11045 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11046
11047 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11048 locale.alias.
11049
11050 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11051
11052 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11053
11054 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11055
11056 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11057 file parsing and set FD_CLOEXEC.
11058
11059 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11060
11061 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11062
11063 2011-11-14 Andreas Schwab <schwab@redhat.com>
11064
11065 * malloc/arena.c (arena_get2): Don't call reused_arena when
11066 _int_new_arena failed.
11067
11068 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11069
11070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11071 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11076 to compile strcasecmp and strncasecmp.
11077 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11078 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11079
11080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11081
11082 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11083
11084 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11085 locale-defines.sym to gen-as-const-headers.
11086 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11087 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11089 to compile strcasecmp and strncasecmp.
11090 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11091 strcasecmp_l and strncasecmp_l.
11092 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11093 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11094 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11095 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11096 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11097 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11098 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11099 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11100 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11101 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11102 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11103
11104 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11105
11106 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11107 result of SYSDEP_GETTIME_CPU to retval.
11108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11109 parameter list to macro. Remove trailing semicolon. Adjust users.
11110
11111 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11112 variable.
11113
11114 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11115 mantissa words.
11116 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11117
11118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11119 from unused variable.
11120
11121 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11122 DWARF definitions.
11123 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11124 for assembling.
11125
11126 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11127 over namespaces.
11128
11129 * sunrpc/rpc_prot.c (rejected): Fix case value.
11130
11131 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11132 unsigned long long int to avoid warnings in shift.
11133
11134 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11135 of use of trans.
11136 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11137 variable tmp.
11138
11139 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11140 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11142
11143 * nis/nis_table.c (nis_list): Use variable of correct type for
11144 result of __follow_path call.
11145
11146 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11147
11148 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11149 of math functions ceil, trunc, floor, round, and sqrt, when
11150 avaliable on the platform.
11151 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11152 name clash.
11153 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11154 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11155 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11156
11157 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11158
11159 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11160 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11161
11162 2011-11-11 Roland McGrath <roland@hack.frob.com>
11163
11164 * include/unistd.h: Fix __readlink return type.
11165 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11166
11167 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11168
11169 * stdlib/ucontext.h: Undo last change for makecontext.
11170
11171 2011-11-11 Andreas Schwab <schwab@redhat.com>
11172
11173 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11174
11175 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11176 * setjmp/setjmp.h: Mark functions as non-leaf.
11177 * setjmp/bits/setjmp2.h: Likewise.
11178 * stdlib/ucontext.h: Likewise.
11179
11180 2011-11-10 Andreas Schwab <schwab@redhat.com>
11181
11182 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11183 (reused_arena): Don't check arena limit.
11184 (arena_get2): Atomically check arena limit.
11185
11186 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11187
11188 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11189 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11190
11191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11192 instructions.
11193
11194 2011-11-07 Andreas Schwab <schwab@redhat.com>
11195
11196 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11197 handler when locking.
11198
11199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11200 Fix size of allocated buffer.
11201
11202 2011-11-04 Andreas Schwab <schwab@redhat.com>
11203
11204 [BZ #10103]
11205 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11206 declarations for long double functions.
11207 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11208
11209 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11210
11211 2011-11-03 Andreas Schwab <schwab@redhat.com>
11212
11213 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11214 installed.
11215
11216 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11217 is disabled.
11218
11219 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11220
11221 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11222
11223 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11224
11225 * include/alloca.h (stackinfo_alloca_round): Define.
11226 (extend_alloca): Use it.
11227 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11228 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11229 here.
11230
11231 * scripts/check-local-headers.sh: Ignore libaudit.h.
11232
11233 * nscd/Makefile (extra-objs): Make recursively expanded.
11234
11235 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11236
11237 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11239
11240 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11241 * posix/tst-rfc3484-2.c: Likewise.
11242 * posix/tst-rfc3484-3.c: Likewise.
11243
11244 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11245 process_vm_writev.
11246 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11247 process_vm_writev.
11248 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11249 process_vm_writev from libc using GLIBC_2.15 version.
11250
11251 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11252
11253 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11254
11255 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11256 stack usage.
11257
11258 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11259
11260 [BZ #13367]
11261 * nss/getent.c (initgroups_keys): Show error message in case no group
11262 names are given.
11263
11264 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11265 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11266 __bump_nl_timestamp.
11267 * nscd/connections (nscd_init): When host database is served open
11268 netlink socket and request notification about configuration changes.
11269 (main_loop_poll): Track netlink file descriptor and bump timestamp
11270 in case data becomes available.
11271 (main_loop_epoll): Likewise.
11272 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11273 (database_pers_head): Add extra_data fileds.
11274 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11275 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11276 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11277 Adjust caller.
11278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11279 in6ai data, call __free_in6ai.
11280 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11281 Add -DHAVE_NETLINK.
11282 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11283 interface information. Reuse previous data if netlink timestamp
11284 is not changed.
11285 (__bump_nl_timestamp): New function.
11286 (__free_in6ai): New function.
11287
11288 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11289
11290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11291 close_not_cancel_no_status here.
11292 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11293
11294 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11295
11296 [BZ #13276]
11297 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11298 return value.
11299
11300 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11301 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11302 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11303
11304 2011-07-03 Andreas Jaeger <aj@suse.de>
11305
11306 [BZ #10709]
11307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11308 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11309 * math/libm-test.inc (sin_test): Add test case.
11310
11311 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11312
11313 [BZ #13337]
11314 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11315 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11316
11317 * elf/chroot_canon.c (chroot_canon): Cleanups.
11318
11319 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11320
11321 [BZ #13335]
11322 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11324
11325 * string/test-strchr.c: Make usable for strchrnul testing.
11326 * string/test-strchrnul.c: New file.
11327 * string/Makefile (strop-tests): Add strchrnul.
11328
11329 * po/it.po: Update from translation team.
11330 * po/es.po: Likewise.
11331
11332 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11333
11334 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11335 the three constants needed as parameters. Drop the others.
11336 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11337 __m128i_strloadu_tolower.
11338 Create and initialize variable zero and use it in all the places
11339 where _mm_setzero_si128 was used.
11340
11341 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11342 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11343 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11345 anymore.
11346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11347 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11348 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11349 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11350 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11351 __mpranred, __mptan.
11352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11356 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11357 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11360 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11361
11362 2011-10-28 Andreas Schwab <schwab@redhat.com>
11363
11364 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11365 redefine if SHARED.
11366 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11367
11368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11369 wide char related routines to wcsmbs subdir.
11370
11371 2011-10-27 Andreas Schwab <schwab@redhat.com>
11372
11373 [BZ #13344]
11374 * misc/sys/cdefs.h (__THROWNL): Define.
11375 * posix/unistd.h: Use __THREADNL instead of __THREAD
11376 for memory synchronization functions.
11377
11378 2011-10-26 Roland McGrath <roland@hack.frob.com>
11379
11380 [BZ #13349]
11381 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11382 doesn't exist.
11383 * manual/stdio.texi (Obstack Streams): Node removed.
11384
11385 2011-10-26 Andreas Schwab <schwab@redhat.com>
11386
11387 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11390
11391 * math/math_private.h (math_force_eval): Allow non-addressable
11392 arguments.
11393 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11394
11395 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11396
11397 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11398 file is not needed.
11399
11400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11407 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11408 Add AVX variants.
11409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11413 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11414 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11415 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11416 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11419 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11420 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11422 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11424 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11425 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11427 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11428
11429 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11430 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11431
11432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11433 place. Use VEX encoding when compiling for AVX.
11434
11435 2011-10-25 Andreas Schwab <schwab@redhat.com>
11436
11437 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11438 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11439
11440 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11441
11442 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11443
11444 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11445 useless if() expression.
11446 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11462 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11464 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11465
11466 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11467
11468 2011-10-25 Andreas Schwab <schwab@redhat.com>
11469
11470 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11471 condition.
11472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11473
11474 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11475
11476 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11477 .text section. Avoid duplicate constants.
11478 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11488 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11490 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11493 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11495 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11502 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11503 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11504 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11506 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11508 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11509 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11510 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11511 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11512 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11513 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11514 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11515 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11516 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11523
11524 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11525
11526 * sysdeps/x86_64/dla.h: Move to ...
11527 * sysdeps/x86_64/fpu/dla.h: ...here.
11528 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11529 situations. Use __builtin_fma only for gcc 4.6 and up.
11530
11531 * config.make.in: Add have-mfma4 entry.
11532 * configure.in: Substitute libc_cv_cc_fma4.
11533 * math/Makefile (dbl-only-routines): Add sincostab.
11534 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11535 Use __sincostab not sincos.
11536 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11537 name is a macro.
11538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11542 using __copysign.
11543 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11544 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11545 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11546 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11547 and __inv.
11548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11549 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11550 __copysign.
11551 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11552 define aliases when function name is a macro.
11553 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11554 sysdeps/ieee754/dbl-64/sincos.tbl.
11555 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11556 fma4-enabled routines.
11557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11567 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11569 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11587
11588 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11589 rename.
11590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11598
11599 2011-10-24 Andreas Schwab <schwab@redhat.com>
11600
11601 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11602
11603 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11604
11605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11606
11607 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11608 prediction.
11609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11610
11611 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11612 Remove unused variable magic_bits.
11613 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11614
11615 * string/strnlen.c: Define and use STRNLEN macro.
11616 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11617 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11619 * wcsmbs/wcslen.c: Define and use WCSLEN.
11620 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11621 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11622 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11623 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11624 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11625 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11627
11628 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11629
11630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11631 strnlen-sse2-no-bsf.
11632 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11634 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11635 Add strnlen support.
11636 (USE_AS_STRNLEN): New macro.
11637 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11638 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11639 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11640 * sysdeps/x86_64/wcslen.S: New file.
11641
11642 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11643
11644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11645 XMM-moves are used for copying on small sizes.
11646
11647 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11648
11649 * wcsmbs/Makefile (strop-tests): Add wcschr.
11650 * wcsmbs/test-wcschr.c: New file.
11651 * string/test-strchr.c: Update.
11652 Add wcschr support.
11653 (WIDE): New macro.
11654
11655 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11656
11657 * wcsmbs/Makefile (strop-tests): Add wcslen.
11658 * wcsmbs/test-wcslen.c: New file.
11659 * string/test-strlen.c: Update.
11660 Add wcslen support.
11661 (WIDE): New macro.
11662
11663 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11664
11665 * po/it.po: Update from translation team.
11666
11667 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11668
11669 * sysdeps/x86_64/wcscmp.S: Update.
11670 Fix wrong comparison semantics.
11671 wcscmp shall use signed comparison not unsigned.
11672 Don't use substraction to avoid overflow bug.
11673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11674 * wcsmbc/wcscmp.c: Likewise.
11675 * string/test-strcmp.c: Likewise.
11676 Add new tests to check cases with negative values.
11677
11678 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11679
11680 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11681 * sysdeps/x86_64/dla.h: ...here. New file.
11682 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11691
11692 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11693
11694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11695 __ynl_finite aliases.
11696
11697 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11698
11699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11700
11701 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11702 define DLA_FMA.
11703 [DLA_FMA] (EMULV): Use DLA_FMA.
11704 [DLA_FMA] (MUL12): Use EMULV.
11705 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11706 that are not needed.
11707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11714
11715 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11716
11717 * math/s_nan.c: Undef __nan.
11718 * math/s_nanf.c: Undef __nanf.
11719 * math/s_nanl.c: Undef __nanl.
11720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11721 "math_private.h".
11722
11723 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11724
11725 * math/s_catan.c: Add branch predictions.
11726 * math/s_catanf.c: Likewise.
11727 * math/s_catanh.c: Likewise.
11728 * math/s_catanhf.c: Likewise.
11729 * math/s_catanhl.c: Likewise.
11730 * math/s_catanl.c: Likewise.
11731 * math/s_cexp.c: Likewise.
11732 * math/s_cexpf.c: Likewise.
11733 * math/s_cexpl.c: Likewise.
11734 * math/s_clog.c: Likewise.
11735 * math/s_clog10.c: Likewise.
11736 * math/s_clog10f.c: Likewise.
11737 * math/s_clog10l.c: Likewise.
11738 * math/s_clogf.c: Likewise.
11739 * math/s_clogl.c: Likewise.
11740 * math/s_csqrt.c: Likewise.
11741 * math/s_csqrtf.c: Likewise.
11742 * math/s_csqrtl.c: Likewise.
11743 * math/s_ctanf.c: Likewise.
11744 * math/s_ctanh.c: Likewise.
11745 * math/s_ctanhf.c: Likewise.
11746 * math/s_ctanhl.c: Likewise.
11747 * math/s_ctanl.c: Likewise.
11748
11749 * math/math_private.h: Define __nan, __nanf, __nanl.
11750 * math/s_cacosh.c: Include <math_private.h>.
11751 * math/s_cacoshl.c: Likewise.
11752 * math/s_casinh.c: Likewise.
11753 * math/s_casinhf.c: Likewise.
11754 * math/s_casinhl.c: Likewise.
11755 * math/s_ccos.c: Rely entire on ccosh.
11756 * math/s_ccosf.c: Rely entire on ccoshf.
11757 * math/s_ccosl.c: Rely entirely on ccoshl.
11758 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11759 Remove tests for FE_INVALID.
11760 * math/s_ccoshf.c: Likewise.
11761 * math/s_ccoshl.c: Likewise.
11762 * math/s_csin.c: Likewise.
11763 * math/s_csinf.c: Likewise.
11764 * math/s_csinh.c Likewise.
11765 * math/s_csinhf.c: Likewise.
11766 * math/s_csinhl.c: Likewise.
11767 * math/s_csinl.c: Likewise.
11768 * math/s_ctan.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11770 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11771 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11772
11773 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11774
11775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11776 compilation problems.
11777
11778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11779 __builtin_expect.
11780
11781 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11782
11783 * sysdeps/i386/configure.in: Test for -mfma4 option.
11784 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11785 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11786 COMMON_CPUID_INDEX_80000001.
11787 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11788 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11789 use it if FMA3 is not supported.
11790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11791
11792 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11793 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11794
11795 2011-10-20 Andreas Schwab <schwab@redhat.com>
11796
11797 [BZ #12892]
11798 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11799 it would create a cycle with a link time dependency.
11800
11801 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11802
11803 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11804 instruction.
11805 * string/Makefile (strop-tests): Add rawmemchr.
11806 * string/test-rawmemchr.c: New file.
11807
11808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11810 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11811 when compiling str{,n}casecmp and when AVX is available. Hook up
11812 new optimized code in initializers.
11813
11814 2011-10-19 Andreas Schwab <schwab@redhat.com>
11815
11816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11817 __feraiseexcept instead of feraiseexcept.
11818
11819 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11820
11821 * math/math_private.h: Define defaults for libc_fetestexcept and
11822 libc_feupdateenv.
11823 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11824 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11825 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11829 libc_fetestexcept and libc_feupdateenv.
11830
11831 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11832 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11833 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11834 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11835 libc_feholdexcept_setround.
11836
11837 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11838 Add s_nearbyint-c and s_nearbyintf-c.
11839 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11840 nearbyintf inlines.
11841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11845
11846 * math/math_private.h: Define defaults for libc_fegetround,
11847 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11848 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11849 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11851 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11852 standard functions.
11853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11854 Remove comments and hacks for old compiler versions.
11855 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11856 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11857 libc_feholdexceptl.
11858
11859 2011-10-18 Andreas Schwab <schwab@redhat.com>
11860
11861 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11862 (__feraiseexcept_renamed): Add __NTH.
11863 (feraiseexcept): Add __NTH. Rename local variables to fix
11864 namespace violations.
11865
11866 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11867
11868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11869
11870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11871
11872 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11873 recently added interfaces.
11874 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11875
11876 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11877 about macro parameter expansion.
11878
11879 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11880 __NO_MATH_INLINES is defined. Cleanups.
11881
11882 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11883 and __floorf is target has SSE4.1.
11884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11888
11889 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11890 name.
11891 (floorf): Likewise.
11892
11893 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11894
11895 2011-10-17 Andreas Schwab <schwab@redhat.com>
11896
11897 * misc/sys/cdefs.h: Fix last change.
11898
11899 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11900 database lookup.
11901
11902 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11903
11904 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11905
11906 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11915 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11916 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11917 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11918 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11919 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11924 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11925 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11926 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11927 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11928
11929 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11930 ceil, ceilf, floor, floorf.
11931
11932 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11933 Perform IRELATIVE relocations last.
11934
11935 * elf/do-rel.h: Add another parameter nrelative, replacing the
11936 local variable with the same name. Change name of the function
11937 to end in Rel or Rela (uppercase).
11938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11939 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11940 elf_dynamic_do_##reloc function.
11941
11942 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11943
11944 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11945 is sufficient, at least on modern CPUs.
11946
11947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11948
11949 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11951
11952 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11953 __expl_finite.
11954 * math/bits/math-finite.h: Add entries for exp.
11955 * math/e_expl.c: Add __*_finite alias.
11956 * sysdeps/i386/fpu/e_exp.S: Likewise.
11957 * sysdeps/i386/fpu/e_expf.S: Likewise.
11958 * sysdeps/i386/fpu/e_expl.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11963 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11966
11967 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11968 is sufficient, at least on modern CPUs.
11969
11970 * ctype/ctype-info.c (__ctype_init): Define.
11971 * include/ctype.h (__ctype_init): Declare.
11972 (__ctype_b_loc): The variable is always initialized.
11973 (__ctype_toupper_loc): Likewise.
11974 (__ctype_tolower_loc): Likewise.
11975 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11976 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11977
11978 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11979
11980 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11981
11982 * configure.in: Also look in $cxxmachine/include for C++ system
11983 headers.
11984
11985 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11986
11987 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11988 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11989 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11990 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11992 (USE_AS_WMEMCMP): New macro.
11993 Fixing indents.
11994 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11995 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11996 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11997 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11999 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12000 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12002 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12003 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12005 (USE_AS_WMEMCMP): New macro.
12006 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12007 * sysdeps/string/test-memcmp.c: Update.
12008 Fix simple_wmemcmp.
12009 Add new tests.
12010 * wcsmbs/wmemcmp.c: Update.
12011 (WMEMCMP): New macro.
12012 Fix overflow bug.
12013
12014 2011-10-12 Andreas Jaeger <aj@suse.de>
12015
12016 [BZ #13268]
12017 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12018
12019 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12020
12021 * libio/iofwide.c (do_length): Avoid warning.
12022
12023 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12024
12025 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12026
12027 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12028
12029 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12030 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12031 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12032 * sysdeps/i386/i686/fpu/e_log.S: New file.
12033 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12034 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12035
12036 * ctype/ctype.h: Add support for inlined isXXX functions when
12037 compiling C++ code.
12038
12039 2011-10-14 Andreas Schwab <schwab@redhat.com>
12040
12041 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12042
12043 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12044
12045 2011-10-13 Roland McGrath <roland@hack.frob.com>
12046
12047 [BZ #13291]
12048 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12049
12050 2011-10-13 Andreas Schwab <schwab@redhat.com>
12051
12052 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12053 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12054 feraiseexcept.
12055
12056 * sysdeps/x86_64/memrchr.S: Check for zero size.
12057
12058 * string/stratcliff.c: Add memrchr tests.
12059
12060 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12061
12062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12063 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12064 rawmemchr-sse2 rawmemchr-sse2-bsf.
12065 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12066 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12067 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12068 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12069 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12070 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12071 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12072 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12073 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12075 * string/memrchr.c (MEMRCHR): New macro.
12076
12077 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12078
12079 Add integration with gcc's -ffinite-math-only and optimize wrapper
12080 functions in libm.
12081 * Versions.def: Define GLIBC_2.15 version for libm.
12082 * math/Makefile (headers): Add bits/math-finite.h.
12083 * math/bits/math-finite.h: New file.
12084 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12085 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12086 * math/e_acoshl.c: Add __*_finite alias.
12087 * math/e_acosl.c: Likewise.
12088 * math/e_asinl.c: Likewise.
12089 * math/e_atan2l.c: Likewise.
12090 * math/e_atanhl.c: Likewise.
12091 * math/e_coshl.c: Likewise.
12092 * math/e_exp10.c: Likewise.
12093 * math/e_exp10f.c: Likewise.
12094 * math/e_exp10l.c: Likewise.
12095 * math/e_exp2l.c: Likewise.
12096 * math/e_fmodl.c: Likewise.
12097 * math/e_gammal_r.c: Likewise.
12098 * math/e_hypotl.c: Likewise.
12099 * math/e_j0l.c: Likewise.
12100 * math/e_j1l.c: Likewise.
12101 * math/e_jnl.c: Likewise.
12102 * math/e_lgammal_r.c: Likewise.
12103 * math/e_log10l.c: Likewise.
12104 * math/e_log2l.c: Likewise.
12105 * math/e_logl.c: Likewise.
12106 * math/e_powl.c: Likewise.
12107 * math/e_sinhl.c: Likewise.
12108 * math/e_sqrtl.c: Likewise.
12109 * math/e_scalb.c: Completely rewritten and optimized.
12110 * math/e_scalbf.c: Likewise.
12111 * math/e_scalbl.c: Likewise.
12112 * math/w_acos.c: Likewise.
12113 * math/w_acosf.c: Likewise.
12114 * math/w_acosl.c: Likewise.
12115 * math/w_acosh.c: Likewise.
12116 * math/w_acoshf.c: Likewise.
12117 * math/w_acoshl.c: Likewise.
12118 * math/w_asin.c: Likewise.
12119 * math/w_asinf.c: Likewise.
12120 * math/w_asinl.c: Likewise.
12121 * math/w_atan2.c: Likewise.
12122 * math/w_atan2f.c: Likewise.
12123 * math/w_atan2l.c: Likewise.
12124 * math/w_atanh.c: Likewise.
12125 * math/w_atanhf.c: Likewise.
12126 * math/w_atanhl.c: Likewise.
12127 * math/w_exp10.c: Likewise.
12128 * math/w_exp10f.c: Likewise.
12129 * math/w_exp10l.c: Likewise.
12130 * math/w_fmod.c: Likewise.
12131 * math/w_fmodf.c: Likewise.
12132 * math/w_fmodl.c: Likewise.
12133 * math/w_j0.c: Likewise.
12134 * math/w_j0f.c: Likewise.
12135 * math/w_j0l.c: Likewise.
12136 * math/w_j1.c: Likewise.
12137 * math/w_j1f.c: Likewise.
12138 * math/w_j1l.c: Likewise.
12139 * math/w_jn.c: Likewise.
12140 * math/w_jnf.c: Likewise.
12141 * math/w_log.c: Likewise.
12142 * math/w_logf.c: Likewise.
12143 * math/w_logl.c: Likewise.
12144 * math/w_log10.c: Likewise.
12145 * math/w_log10f.c: Likewise.
12146 * math/w_log10l.c: Likewise.
12147 * math/w_log2.c: Likewise.
12148 * math/w_log2f.c: Likewise.
12149 * math/w_log2l.c: Likewise.
12150 * math/w_pow.c: Likewise.
12151 * math/w_powf.c: Likewise.
12152 * math/w_powl.c: Likewise.
12153 * math/w_remainder.c: Likewise.
12154 * math/w_remainderf.c: Likewise.
12155 * math/w_remainderl.c: Likewise.
12156 * math/w_scalb.c: Likewise.
12157 * math/w_scalbf.c: Likewise.
12158 * math/w_scalbl.c: Likewise.
12159 * math/w_sqrt.c: Likewise.
12160 * math/w_sqrtf.c: Likewise.
12161 * math/w_sqrtl.c: Likewise.
12162 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12163 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12164 used.
12165 * math/math_private.h: Declare __kernel_standard_f.
12166 * math/w_cosh.c: Remove cruft and optimize a bit.
12167 * math/w_coshf.c: Likewise.
12168 * math/w_coshl.c: Likewise.
12169 * math/w_exp2.c: Likewise.
12170 * math/w_exp2f.c: Likewise.
12171 * math/w_exp2l.c: Likewise.
12172 * math/w_hypot.c: Likewise.
12173 * math/w_hypotf.c: Likewise.
12174 * math/w_hypotl.c: Likewise.
12175 * math/w_lgamma.c: Likewise.
12176 * math/w_lgamma_r.c: Likewise.
12177 * math/w_lgammaf.c: Likewise.
12178 * math/w_lgammaf_r.c: Likewise.
12179 * math/w_lgammal.c: Likewise.
12180 * math/w_lgammal_r.c: Likewise.
12181 * math/w_sinh.c: Likewise.
12182 * math/w_sinhf.c: Likewise.
12183 * math/w_sinhl.c: Likewise.
12184 * math/w_tgamma.c: Likewise.
12185 * math/w_tgammaf.c: Likewise.
12186 * math/w_tgammal.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12189 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12190 Minor optimizations. Pretty printing. Remove cruft.
12191 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12193 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12195 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12196 * sysdeps/i386/fpu/e_asin.S: Likewise.
12197 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12198 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12199 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12200 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12204 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12205 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12206 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12207 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12208 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12209 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12210 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12211 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12212 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12213 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12214 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12215 * sysdeps/i386/fpu/e_log.S: Likewise.
12216 * sysdeps/i386/fpu/e_log10.S: Likewise.
12217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12219 * sysdeps/i386/fpu/e_log2.S: Likewise.
12220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12222 * sysdeps/i386/fpu/e_logf.S: Likewise.
12223 * sysdeps/i386/fpu/e_logl.S: Likewise.
12224 * sysdeps/i386/fpu/e_pow.S: Likewise.
12225 * sysdeps/i386/fpu/e_powf.S: Likewise.
12226 * sysdeps/i386/fpu/e_powl.S: Likewise.
12227 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12228 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12229 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12231 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12233 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12234 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12235 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12260 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12262 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12263 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12276 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12327 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12333 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12334 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12335 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12336 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12338 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12339 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12341 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12344 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12346 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12347 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12348 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12349 (__isnanf): Likewise.
12350 (__isinf_ns): Likewise.
12351 (__isinf_nsf): Likewise.
12352 (__finite): Likewise.
12353 (__finitef): Likewise.
12354 (__ieee754_sqrt): Define as macro.
12355 (__ieee754_sqrtf): Define as macro.
12356 (__ieee754_sqrtl): Define as macro.
12357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12358 inlined copy.
12359 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12360 __FINITE_MATH_ONLY__ consistent.
12361 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12362
12363 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12364
12365 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12366 of rawmemchr.
12367
12368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12369
12370 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12371
12372 * po/ja.po: Update from translation team.
12373
12374 2011-10-08 Roland McGrath <roland@hack.frob.com>
12375
12376 * locale/programs/locarchive.c (prepare_address_space): New function.
12377 (create_archive, enlarge_archive, open_archive): Use it.
12378
12379 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12380 inside [SHARED], where it is used.
12381
12382 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12383
12384 * nss/getent.c (netgroup_keys): Remove unused variable.
12385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12386
12387 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12388
12389 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12390 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12393 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12394 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12395 * math/Makefile (libm-calls): Add s_isinf_ns.
12396 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12397 * math/multc3.c: Likewise.
12398 * math/s_casin.c: Likewise.
12399 * math/s_casinf.c: Likewise.
12400 * math/s_casinl.c: Likewise.
12401 * math/s_ccos.c: Likewise.
12402 * math/s_ccosf.c: Likewise.
12403 * math/s_ccosl.c: Likewise.
12404 * math/s_ctan.c: Likewise.
12405 * math/s_ctanf.c: Likewise.
12406 * math/s_ctanh.c: Likewise.
12407 * math/s_ctanhf.c: Likewise.
12408 * math/s_ctanhl.c: Likewise.
12409 * math/s_ctanl.c: Likewise.
12410 * math/w_fmod.c: Likewise.
12411 * math/w_fmodf.c: Likewise.
12412 * math/w_fmodl.c: Likewise.
12413 * math/w_remainder.c: Likewise.
12414 * math/w_remainderf.c: Likewise.
12415 * math/w_remainderl.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12417 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12420 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12421 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12422 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12423 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12424
12425 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12426 of the number.
12427 * stdio-common/printf_fphex.c: Likewise.
12428 * stdio-common/printf_size.c: Likewise.
12429
12430 * math/e_exp10.c: Include math_private.h using <...> not "...".
12431 * math/e_exp10f.c: Likewise.
12432 * math/e_exp10l.c: Likewise.
12433 * math/e_exp2l.c: Likewise.
12434 * math/e_j0l.c: Likewise.
12435 * math/e_j1l.c: Likewise.
12436 * math/e_jnl.c: Likewise.
12437 * math/e_lgammal_r.c: Likewise.
12438 * math/e_rem_pio2l.c: Likewise.
12439 * math/e_scalb.c: Likewise.
12440 * math/e_scalbf.c: Likewise.
12441 * math/e_scalbl.c: Likewise.
12442 * math/k_cosl.c: Likewise.
12443 * math/k_sinl.c: Likewise.
12444 * math/k_tanl.c: Likewise.
12445 * math/s_cacoshf.c: Likewise.
12446 * math/s_catan.c: Likewise.
12447 * math/s_catanf.c: Likewise.
12448 * math/s_catanh.c: Likewise.
12449 * math/s_catanhf.c: Likewise.
12450 * math/s_catanhl.c: Likewise.
12451 * math/s_catanl.c: Likewise.
12452 * math/s_ccosh.c: Likewise.
12453 * math/s_ccoshf.c: Likewise.
12454 * math/s_ccoshl.c: Likewise.
12455 * math/s_cexp.c: Likewise.
12456 * math/s_cexpf.c: Likewise.
12457 * math/s_cexpl.c: Likewise.
12458 * math/s_clog.c: Likewise.
12459 * math/s_clog10.c: Likewise.
12460 * math/s_clog10f.c: Likewise.
12461 * math/s_clog10l.c: Likewise.
12462 * math/s_clogf.c: Likewise.
12463 * math/s_clogl.c: Likewise.
12464 * math/s_csin.c: Likewise.
12465 * math/s_csinf.c: Likewise.
12466 * math/s_csinh.c: Likewise.
12467 * math/s_csinhf.c: Likewise.
12468 * math/s_csinhl.c: Likewise.
12469 * math/s_csinl.c: Likewise.
12470 * math/s_csqrt.c: Likewise.
12471 * math/s_csqrtf.c: Likewise.
12472 * math/s_csqrtl.c: Likewise.
12473 * math/s_ctan.c: Likewise.
12474 * math/s_ctanf.c: Likewise.
12475 * math/s_ctanh.c: Likewise.
12476 * math/s_ctanhf.c: Likewise.
12477 * math/s_ctanhl.c: Likewise.
12478 * math/s_ctanl.c: Likewise.
12479 * math/s_ldexp.c: Likewise.
12480 * math/s_ldexpf.c: Likewise.
12481 * math/s_ldexpl.c: Likewise.
12482 * math/s_significand.c: Likewise.
12483 * math/s_significandf.c: Likewise.
12484 * math/s_significandl.c: Likewise.
12485 * math/w_acos.c: Likewise.
12486 * math/w_acosf.c: Likewise.
12487 * math/w_acosh.c: Likewise.
12488 * math/w_acoshf.c: Likewise.
12489 * math/w_acoshl.c: Likewise.
12490 * math/w_acosl.c: Likewise.
12491 * math/w_asin.c: Likewise.
12492 * math/w_asinf.c: Likewise.
12493 * math/w_asinl.c: Likewise.
12494 * math/w_atan2.c: Likewise.
12495 * math/w_atan2f.c: Likewise.
12496 * math/w_atan2l.c: Likewise.
12497 * math/w_atanh.c: Likewise.
12498 * math/w_atanhf.c: Likewise.
12499 * math/w_atanhl.c: Likewise.
12500 * math/w_cosh.c: Likewise.
12501 * math/w_coshf.c: Likewise.
12502 * math/w_coshl.c: Likewise.
12503 * math/w_dremf.c: Likewise.
12504 * math/w_exp10.c: Likewise.
12505 * math/w_exp10f.c: Likewise.
12506 * math/w_exp10l.c: Likewise.
12507 * math/w_exp2.c: Likewise.
12508 * math/w_exp2f.c: Likewise.
12509 * math/w_fmod.c: Likewise.
12510 * math/w_fmodf.c: Likewise.
12511 * math/w_fmodl.c: Likewise.
12512 * math/w_hypot.c: Likewise.
12513 * math/w_hypotf.c: Likewise.
12514 * math/w_hypotl.c: Likewise.
12515 * math/w_j0.c: Likewise.
12516 * math/w_j0f.c: Likewise.
12517 * math/w_j0l.c: Likewise.
12518 * math/w_j1.c: Likewise.
12519 * math/w_j1f.c: Likewise.
12520 * math/w_j1l.c: Likewise.
12521 * math/w_jn.c: Likewise.
12522 * math/w_jnf.c: Likewise.
12523 * math/w_jnl.c: Likewise.
12524 * math/w_lgamma.c: Likewise.
12525 * math/w_lgamma_r.c: Likewise.
12526 * math/w_lgammaf.c: Likewise.
12527 * math/w_lgammaf_r.c: Likewise.
12528 * math/w_lgammal.c: Likewise.
12529 * math/w_lgammal_r.c: Likewise.
12530 * math/w_log.c: Likewise.
12531 * math/w_log10.c: Likewise.
12532 * math/w_log10f.c: Likewise.
12533 * math/w_log10l.c: Likewise.
12534 * math/w_log2.c: Likewise.
12535 * math/w_log2f.c: Likewise.
12536 * math/w_log2l.c: Likewise.
12537 * math/w_logf.c: Likewise.
12538 * math/w_logl.c: Likewise.
12539 * math/w_pow.c: Likewise.
12540 * math/w_powf.c: Likewise.
12541 * math/w_powl.c: Likewise.
12542 * math/w_remainder.c: Likewise.
12543 * math/w_remainderf.c: Likewise.
12544 * math/w_remainderl.c: Likewise.
12545 * math/w_scalb.c: Likewise.
12546 * math/w_scalbf.c: Likewise.
12547 * math/w_scalbl.c: Likewise.
12548 * math/w_sinh.c: Likewise.
12549 * math/w_sinhf.c: Likewise.
12550 * math/w_sinhl.c: Likewise.
12551 * math/w_sqrt.c: Likewise.
12552 * math/w_sqrtf.c: Likewise.
12553 * math/w_sqrtl.c: Likewise.
12554 * math/w_tgamma.c: Likewise.
12555 * math/w_tgammaf.c: Likewise.
12556 * math/w_tgammal.c: Likewise.
12557
12558 * po/ja.po: Update from translation team.
12559
12560 2011-09-29 Andreas Jaeger <aj@suse.de>
12561
12562 [BZ #13179]
12563 * sunrpc/netname.c (netname2host): Fix logic.
12564
12565 [BZ #6779]
12566 [BZ #6783]
12567 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12568 correctly.
12569 * math/w_remainder.c (__remainder): Likewise.
12570 * math/w_remainderf.c (__remainderf): Likewise.
12571 * math/libm-test.inc (remainder_test): Add test cases.
12572
12573 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12574
12575 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12576 sdiv_qrnnd.
12577
12578 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12579
12580 * string/test-memcmp.c: Avoid unncessary #defines.
12581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12582
12583 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12584
12585 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12586 Use new sse2 version for core i3 - i7 as it's faster
12587 than sse42 version.
12588 (bit_Prefer_PMINUB_for_stringop): New.
12589 * sysdeps/x86_64/rawmemchr.S: Update.
12590 Replace with faster SSE2 version.
12591 * sysdeps/x86_64/memrchr.S: New file.
12592 * sysdeps/x86_64/memchr.S: Update.
12593 Replace with faster SSE2 version.
12594
12595 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12596
12597 * elf/dl-load.c (lose): Add cast to avoid warning.
12598
12599 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12600
12601 * po/ca.po: Update from translation team.
12602
12603 * inet/getnetgrent_r.c: Hook up nscd.
12604 * nscd/Makefile (routines): Add nscd_netgroup.
12605 (nscd-modules): Add netgroupcache.
12606 (CFLAGS-netgroupcache.c): Define.
12607 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12608 (cache_search): Add const to second parameter.
12609 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12610 INNETGR.
12611 (dbs): Add netgrdb entry.
12612 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12613 (verify_persistent_db): Handle netgrdb.
12614 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12615 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12616 GETFDNETGR.
12617 (netgroup_response_header): Define.
12618 (innetgroup_response_header): Define.
12619 (datahead): Add netgroup_response_header and innetgroup_response_header
12620 elements.
12621 * nscd/nscd.conf: Add entries for netgroup cache.
12622 * nscd/nscd.h (dbtype): Add netgrdb.
12623 (_PATH_NSCD_NETGROUP_DB): Define.
12624 (netgroup_iov_disabled): Declare.
12625 (xmalloc, xcalloc, xrealloc): Move declarations here.
12626 (cache_search): Adjust prototype.
12627 Add netgroup-related prototypes.
12628 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12629 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12630 (__nscd_innetgr): Declare.
12631 * nscd/selinux.c (perms): Use access_vector_t as element type and
12632 add netgroup-related initializers.
12633 * nscd/netgroupcache.c: New file.
12634 * nscd/nscd_netgroup.c: New file.
12635 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12636 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12637 For four parameters use innetgr.
12638 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12639 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12640 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12641 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12642
12643 * nscd/connections.c (register_traced_file): Don't register file
12644 for disabled databases.
12645
12646 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12647
12648 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12649
12650 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12651 from tree and freeing node.
12652
12653 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12654
12655 * nss/nsswitch.c (__nss_database_lookup): Handle
12656 nss_parse_service_list out of memory case.
12657
12658 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12659
12660 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12661 out of memory case.
12662
12663 2011-10-04 Andreas Schwab <schwab@redhat.com>
12664
12665 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12666 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12667 pass it down.
12668 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12669 elf_machine_rela, elf_machine_lazy_rel.
12670 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12671 (ELF_DYNAMIC_DO_REL): Likewise.
12672 (ELF_DYNAMIC_DO_RELA): Likewise.
12673 (ELF_DYNAMIC_RELOCATE): Likewise.
12674 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12675 to ELF_DYNAMIC_DO_REL.
12676 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12677 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12678 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12679 elf_machine_rela.
12680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12681 skip_ifunc, don't call ifunc function if non-zero.
12682 (elf_machine_rela): Likewise.
12683 (elf_machine_lazy_rel): Likewise.
12684 (elf_machine_lazy_rela): Likewise.
12685 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12686 (elf_machine_lazy_rel): Likewise.
12687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12688 Likewise.
12689 (elf_machine_lazy_rel): Likewise.
12690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12691 Likewise.
12692 (elf_machine_lazy_rel): Likewise.
12693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12694 (elf_machine_lazy_rel): Likewise.
12695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12696 (elf_machine_lazy_rel): Likewise.
12697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12698 (elf_machine_lazy_rel): Likewise.
12699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12700 (elf_machine_lazy_rel): Likewise.
12701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12702 (elf_machine_lazy_rel): Likewise.
12703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12704 (elf_machine_lazy_rel): Likewise.
12705
12706 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12707
12708 * nss/nss_files/files-init.c (_nss_files_init): Use static
12709 initialization for all the *_traced_file variables.
12710
12711 2011-09-28 Andreas Schwab <schwab@redhat.com>
12712
12713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12714
12715 2011-09-27 Roland McGrath <roland@hack.frob.com>
12716
12717 [BZ #13226]
12718 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12719
12720 2011-09-27 Andreas Schwab <schwab@redhat.com>
12721
12722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12723 Reread the line before reparsing it.
12724
12725 2011-09-26 Andreas Schwab <schwab@redhat.com>
12726
12727 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12728
12729 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12730 Maxim Kuvyrkov <maxim@codesourcery.com>
12731 Joseph Myers <joseph@codesourcery.com>
12732
12733 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12734 if needed for __stack_chk_guard.
12735
12736 2011-09-19 Roland McGrath <roland@hack.frob.com>
12737
12738 * sysdeps/posix/spawni.c (script_execute): Always define it.
12739 It will be optimized away if unused.
12740 (maybe_script_execute): New function.
12741 (__spawni): Call it.
12742
12743 * Makerules: Don't include tls.make.
12744 (config-tls): Always set to thread.
12745 * tls.make.c: File removed.
12746
12747 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12748
12749 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12750 * config.make.in (CPPFLAGS-config): New substituted variable.
12751
12752 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12753
12754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12755
12756 [BZ #13192]
12757 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12758 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12759
12760 2011-09-15 Roland McGrath <roland@hack.frob.com>
12761
12762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12763 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12765 (CALL_FAIL): Likewise.
12766 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12767 (CALL_FAIL): Macro removed.
12768 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12769
12770 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12771
12772 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12773 for __FINITE_MATH_ONLY__ == 1.
12774
12775 2011-09-15 Andreas Schwab <schwab@redhat.com>
12776
12777 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12778 __ieee754_sqrt instead of sqrt.
12779 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12780 __ieee754_sqrtf instead of sqrtf.
12781 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12782 __floorf instead of floorf.
12783 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12784 __floorf, __truncf instead of floorf, truncf.
12785
12786 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12787
12788 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12789
12790 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12791 __extern_always_inline.
12792 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12793 32-bit.
12794
12795 2011-09-14 Andreas Schwab <schwab@redhat.com>
12796
12797 * elf/rtld.c (dl_main): Also relocate in dependency order when
12798 doing symbol dependency testing.
12799
12800 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12801
12802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12803 Always define `refsym'.
12804
12805 2011-09-13 Andreas Schwab <schwab@redhat.com>
12806
12807 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12808 (__FD_ELT): Renamed from __FDELT.
12809 * misc/bits/select2.h (__FD_ELT): Likewise.
12810 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12811 __FD_MASK instead of __FDELT, __FDMASK.
12812 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12813 Likewise.
12814 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12815 Likewise.
12816
12817 * elf/Makefile (gen-ldd): Fix pattern.
12818
12819 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12820 (init_tls): Likewise.
12821
12822 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12823
12824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12825
12826 2011-09-12 Andreas Schwab <schwab@redhat.com>
12827
12828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12829 `struct cmsghdr *' instead of `void *'.
12830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12831 Likewise.
12832
12833 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12834
12835 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12836 if non-absolute.
12837 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12838 ldd_rewrite_script.
12839
12840 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12841
12842 * configure.in: Remove --with-tls option.
12843 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12844 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12845 out in case it is missing.
12846 * sysdeps/ia64/elf/configure.in: Likewise.
12847 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12848 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12849 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12850 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12851 * sysdeps/sh/elf/configure.in: Likewise.
12852 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12853 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12854 * sysdeps/x86_64/elf/configure.in: Likewise.
12855 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12856 * sysdeps/mach/hurd/tls.h: Likewise.
12857
12858 [BZ #13067]
12859 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12860
12861 [BZ #13090]
12862 * configure.in: Fix use of AC_INIT.
12863
12864 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12865
12866 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12867
12868 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12869 __set_errno.
12870 * malloc/hooks.c: Likewise.
12871
12872 [BZ #11929]
12873 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12874 variables statically.
12875 (narenas): Initialize.
12876 (list_lock): Initialize.
12877 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12878 initializtion of main_arena and list_lock. Small cleanups.
12879 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12880 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12881 Add initializers to main_arena and mp_.
12882 (malloc_state): Remove pagesize member. Change all users to use
12883 GLRO(dl_pagesize).
12884
12885 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12886 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12887 is always initialized.
12888
12889 * malloc/malloc.c: Removed unused configurations and dead code.
12890 * malloc/arena.c: Likewise.
12891 * malloc/hooks.c: Likewise.
12892 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12893
12894 * include/tls.h: Removed. USE___THREAD must always be defined.
12895 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12896 * elf/dl-libc.c: Likewise.
12897 * elf/dl-tsd.c: Likewise.
12898 * include/errno.h: Likewise.
12899 * include/netdb.h: Likewise.
12900 * include/resolv.h: Likewise.
12901 * inet/herrno-loc.c: Likewise.
12902 * inet/herrno.c: Likewise.
12903 * malloc/arena.c: Likewise.
12904 * malloc/hooks.c: Likewise.
12905 * malloc/malloc.c: Likewise.
12906 * resolv/res-state.c: Likewise.
12907 * resolv/res_libc.c: Likewise.
12908 * sysdeps/i386/dl-machine.h: Likewise.
12909 * sysdeps/ia64/dl-machine.h: Likewise.
12910 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12911 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12912 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12913 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12914 * sysdeps/sh/dl-machine.h: Likewise.
12915 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12917 * sysdeps/unix/i386/sysdep.S: Likewise.
12918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12919 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12924 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12929 * sysdeps/x86_64/dl-machine.h: Likewise.
12930 * tls.make.c: Likewise.
12931
12932 * configure.in: Remove --with-__thread option. Make tests for
12933 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12934 tls_model attribute fail if no support is available. Remove
12935 USE_IN_LIBIO.
12936 * Makeconfig: Adjust for dropped configure option. All features are
12937 now mandatory.
12938 * Makerules: Likewise.
12939 * Versions.def: Likewise.
12940 * argp/argp-fmtstream.c: Likewise.
12941 * argp/argp-fmtstream.h: Likewise.
12942 * argp/argp-help.c: Likewise.
12943 * assert/assert.c: Likewise.
12944 * config.h.in: Likewise.
12945 * config.make.in: Likewise.
12946 * configure: Likewise.
12947 * configure.in: Likewise.
12948 * csu/Versions: Likewise.
12949 * csu/init.c: Likewise.
12950 * elf/tst-audit2.c: Likewise.
12951 * elf/tst-tls10.c: Likewise.
12952 * elf/tst-tls10.h: Likewise.
12953 * elf/tst-tls11.c: Likewise.
12954 * elf/tst-tls12.c: Likewise.
12955 * elf/tst-tls14.c: Likewise.
12956 * elf/tst-tlsmod11.c: Likewise.
12957 * elf/tst-tlsmod12.c: Likewise.
12958 * elf/tst-tlsmod13.c: Likewise.
12959 * elf/tst-tlsmod13a.c: Likewise.
12960 * elf/tst-tlsmod14a.c: Likewise.
12961 * elf/tst-tlsmod15b.c: Likewise.
12962 * elf/tst-tlsmod16a.c: Likewise.
12963 * elf/tst-tlsmod16b.c: Likewise.
12964 * elf/tst-tlsmod7.c: Likewise.
12965 * elf/tst-tlsmod8.c: Likewise.
12966 * elf/tst-tlsmod9.c: Likewise.
12967 * gmon/gmon.c: Likewise.
12968 * grp/fgetgrent_r.c: Likewise.
12969 * grp/putgrent.c: Likewise.
12970 * hurd/fopenport.c: Likewise.
12971 * include/libc-symbols.h: Likewise.
12972 * include/tls.h: Likewise.
12973 * intl/gettextP.h: Likewise.
12974 * intl/loadinfo.h: Likewise.
12975 * locale/global-locale.c: Likewise.
12976 * locale/localeinfo.h: Likewise.
12977 * mach/devstream.c: Likewise.
12978 * malloc/arena.c: Likewise.
12979 * malloc/set-freeres.c: Likewise.
12980 * misc/err.c: Likewise.
12981 * misc/getttyent.c: Likewise.
12982 * misc/mntent_r.c: Likewise.
12983 * posix/getopt.c: Likewise.
12984 * posix/wordexp.c: Likewise.
12985 * pwd/fgetpwent_r.c: Likewise.
12986 * resolv/Versions: Likewise.
12987 * resolv/res_hconf.c: Likewise.
12988 * shadow/fgetspent_r.c: Likewise.
12989 * shadow/putspent.c: Likewise.
12990 * stdio-common/printf_fphex.c: Likewise.
12991 * stdio-common/tmpfile.c: Likewise.
12992 * stdlib/abort.c: Likewise.
12993 * stdlib/fmtmsg.c: Likewise.
12994 * sunrpc/auth_unix.c: Likewise.
12995 * sunrpc/clnt_perr.c: Likewise.
12996 * sunrpc/clnt_tcp.c: Likewise.
12997 * sunrpc/clnt_udp.c: Likewise.
12998 * sunrpc/clnt_unix.c: Likewise.
12999 * sunrpc/openchild.c: Likewise.
13000 * sunrpc/svc_simple.c: Likewise.
13001 * sunrpc/svc_tcp.c: Likewise.
13002 * sunrpc/svc_udp.c: Likewise.
13003 * sunrpc/svc_unix.c: Likewise.
13004 * sunrpc/xdr.c: Likewise.
13005 * sunrpc/xdr_array.c: Likewise.
13006 * sunrpc/xdr_rec.c: Likewise.
13007 * sunrpc/xdr_ref.c: Likewise.
13008 * sunrpc/xdr_stdio.c: Likewise.
13009
13010 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13011
13012 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13013
13014 2011-07-03 Andreas Jaeger <aj@suse.de>
13015
13016 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13018 regenerate with gen-libm-tests.pl.
13019
13020 2010-05-12 Petr Baudis <pasky@suse.cz>
13021
13022 [BZ #11589]
13023 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13024 around j0() zero points by switching to j1().
13025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13029
13030 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13031
13032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13033 instead of 0.
13034 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13035 instead of 0. .
13036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13037 Patch in part by Pavel Roskin <proski@gnu.org>.
13038
13039 [BZ #13138]
13040 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13041 realloc.
13042 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13043 Free memory block if necessary.
13044
13045 [BZ #12847]
13046 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13047 be NULL. Don't lock in this case.
13048
13049 2011-09-09 Roland McGrath <roland@hack.frob.com>
13050
13051 * elf/elf.h (ELFOSABI_GNU): New macro.
13052 (ELFOSABI_LINUX): Define to that.
13053
13054 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13055
13056 * string/strncat.c (strncat): Undef the symbol in case it has been
13057 defined in bits/string.h.
13058
13059 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13060
13061 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13062
13063 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13064 link map.
13065
13066 2011-08-17 Andreas Jaeger <aj@suse.de>
13067
13068 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13069
13070 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13071 Ian Lance Taylor <iant@google.com>
13072
13073 * math/libm-test.inc (lround_test): New testcase.
13074 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13075
13076 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13077
13078 * Makefile: Remove support for automatic cvs check-ins.
13079 * Makerules: Likewise.
13080 * config.make.in: Likewise.
13081 * configure.in: Likewise.
13082 * intl/Makefile: Likewise.
13083 * locale/Makefile: Likewise.
13084 * po/Makefile: Likewise.
13085 * posix/Makefile: Likewise.
13086 * sysdeps/gnu/Makefile: Likewise.
13087 * sysdeps/mach/hurd/Makefile: Likewise.
13088 * sysdeps/sparc/sparc32/Makefile: Likewise.
13089
13090 [BZ #13118]
13091 * posix/Makefile (bug-regex32-ENV): Define.
13092 Patch by John Stanley <jpsinthemix@verizon.net>.
13093
13094 * misc/Makefile (headers): Add bits/select2.h.
13095 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13096 * misc/bits/select2.h: New file.
13097 * include/bits/select2.h: New file.
13098 * debug/Makefile (routines): Add fdelt_chk.
13099 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13100 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13101 FD_ISSET.
13102 * debug/fdelt_chk.c: New file.
13103
13104 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13105 * wcsmbs/test-wmemcmp.c: Likewise.
13106 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13107 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13108
13109 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13110
13111 * string/Makefile (strop-tests): Add memcmp.
13112 * string/test-wmemcmp.c: New file.
13113 * string/test-memcmp.c: Add wmemcmp support.
13114
13115 2011-09-08 Roland McGrath <roland@hack.frob.com>
13116
13117 [BZ #13153]
13118 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13119 2011-07-19 change.
13120
13121 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13122 garbage value in a __mach_port_mod_refs call in the cases of the
13123 task-self and thread-self ports.
13124
13125 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13126
13127 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13128
13129 2011-09-08 Andreas Schwab <schwab@redhat.com>
13130
13131 * elf/dl-load.c (lose): Check for non-null L.
13132
13133 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13134
13135 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13136
13137 * elf/dl-libc.c (dlerror_run): Pass back error code from
13138 dl_catch_error.
13139
13140 [BZ #13123]
13141 * elf/dl-load.c (lose): Free l_origin if it is valid.
13142
13143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13144 names.
13145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13150 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13151
13152 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13153
13154 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13155 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13157 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13158 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13159 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13160 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13161 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13162 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13163 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13164
13165 2011-08-15 Alan Modra <amodra@gmail.com>
13166
13167 [BZ #13092]
13168 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13169 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13170 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13171 ppc_mcount to static-only-routines.
13172 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13173 __mcount_internal.
13174 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13175 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13176
13177 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13178
13179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13180 for finite and infinity parameters.
13181
13182 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13183
13184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13185 and add nop instructions for throughput optimization.
13186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13187
13188 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13189
13190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13191 aligned copy for power7 with vector-scalar instructions.
13192 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13193
13194 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13195
13196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13197 AVX check.
13198
13199 2011-09-07 Andreas Schwab <schwab@redhat.com>
13200
13201 [BZ #13144]
13202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13203 last change.
13204
13205 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13206
13207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13208 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13209 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13211 clock_gettime.
13212
13213 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13214
13215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13216 Forgot to demangle the pointer.
13217
13218 * sysdeps/i386/sysdep.h: Define atom_text_section.
13219 * sysdeps/x86_64/sysdep.h: Likewise.
13220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13221 section with atom_text_section.
13222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13224 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13227
13228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13230 already be defined. Change to take two parameters and don't assign
13231 result to variable. Adjust all users.
13232 Define INTERNAL_GETTIME if not already defined.
13233 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13234 call.
13235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13236 HAVE_CLOCK_GETTIME_VSYSCALL.
13237 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13238
13239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13240 gettimeofday vsyscall, just use time.
13241
13242 2011-09-06 Andreas Schwab <schwab@redhat.com>
13243
13244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13245 <errno.h>.
13246
13247 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13248
13249 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13250 syscall on x86-64.
13251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13252 syscall.
13253 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13255 syscall if possible.
13256
13257 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13258
13259 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13260 e_ident. Don't pass to find_mapsXX.
13261 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13262
13263 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13264
13265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13266 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13267 * sysdeps/x86_64/multiarch/strchr.S: Update.
13268 Check bit_slow_BSF bit.
13269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13270 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13272
13273 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13274
13275 [BZ #13134]
13276 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13277 before glibc 2.15.
13278 (tryshell): Define.
13279 (__spawni): Change last parameter to be flag. Test
13280 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13281 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13282 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13283 * posix/spawni.c: Likewise.
13284 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13285 * posix/spawnp.c: Likewise. Change normal version to use
13286 SPAWN_XFLAGS_USE_PATH.
13287 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13288 SPAWN_XFLAGS_TRY_SHELL.
13289
13290 [BZ #13150]
13291 * posix/glob.h: Remove gcc 1.x support.
13292
13293 [BZ #13068]
13294 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13295
13296 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13297
13298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13299 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13300 strrchr-sse2-bsf
13301 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13302 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13305 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13307
13308 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13309
13310 * sysdeps/x86_64/wcscmp.S: New file.
13311
13312 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13313 wcscmp-c wcscmp-sse2
13314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13315 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13316 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13317 * wcsmbs/wcscmp.c: Allow renaming.
13318
13319 2011-09-05 David S. Miller <davem@davemloft.net>
13320
13321 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13322 stack slot, rather than the struct return pointer slot.
13323 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13324 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13327
13328 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13329
13330 * po/ja.po: Update from translation team.
13331
13332 [BZ #13144]
13333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13334 kernel in 64-bit binaries.
13335
13336 2011-09-01 David S. Miller <davem@davemloft.net>
13337
13338 * elf/elf.h (HWCAP_SPARC_*): Move to..
13339 * sysdeps/sparc/sysdep.h: this new file and add new values.
13340 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13341 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13342 _DL_HWCAP_COUNT to 24.
13343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13344 entries.
13345 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13346 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13347 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13349 instead of magic constants.
13350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13351
13352 2011-08-31 David S. Miller <davem@davemloft.net>
13353
13354 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13356 Reimplement to do errno handling inline.
13357 (SYSCALL_ERROR_HANDLER): New macro.
13358 (__SYSCALL_STRING): Do not do errno handling in asm.
13359 (__CLONE_SYSCALL_STRING): Delete.
13360 (__INTERNAL_SYSCALL_STRING): Delete.
13361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13362 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13363 (PSEUDO): Reimplement to do errno handling inline.
13364 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13365 (SYSCALL_ERROR_HANDLER): New macro.
13366 (__SYSCALL_STRING): Do not do errno handling in asm.
13367 (__CLONE_SYSCALL_STRING): Delete.
13368 (__INTERNAL_SYSCALL_STRING): Delete.
13369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13370 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13371 i386.
13372 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13373 (inline_syscall*): Add 'err' argument.
13374 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13375 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13376 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13377 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13378
13379 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13380 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13381
13382 2011-08-30 Andreas Schwab <schwab@redhat.com>
13383
13384 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13385
13386 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13387
13388 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13389 directive.
13390
13391 2011-08-24 David S. Miller <davem@davemloft.net>
13392
13393 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13394
13395 2011-08-24 Andreas Schwab <schwab@redhat.com>
13396
13397 * elf/Makefile: Add rules to build and run unload8 test.
13398 * elf/unload8.c: New file.
13399 * elf/unload8mod1.c: New file.
13400 * elf/unload8mod1x.c: New file.
13401 * elf/unload8mod2.c: New file.
13402 * elf/unload8mod3.c: New file.
13403
13404 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13405 it wasn't used.
13406
13407 2011-08-23 David S. Miller <davem@davemloft.net>
13408
13409 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13410 subtract stack bias.
13411 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13412 %sp not %fp in calculations.
13413 (_JMPBUF_UNWINDS_ADJ): Likewise.
13414
13415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13416 (aio_suspend): Call it to force an exception region around the
13417 AIO_MISC_WAIT() invocation.
13418
13419 2011-08-23 Andreas Schwab <schwab@redhat.com>
13420
13421 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13422 backslash.
13423
13424 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13425
13426 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13427 protection macro.
13428 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13429 and <dl-machine.h>.
13430 (Elf64_FuncDesc): Remove.
13431
13432 2011-08-22 David S. Miller <davem@davemloft.net>
13433
13434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13435 sigaltstack check, add missing cfi directives.
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13437 missing cfi directives, and sigaltstack handling.
13438
13439 2011-08-16 Andreas Schwab <schwab@redhat.com>
13440
13441 [BZ #11724]
13442 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13443 object is seen twice.
13444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13445
13446 * elf/Makefile (distribute): Add tst-initorder2.c.
13447 (tests): Add tst-initorder2.
13448 (modules-names): Add tst-initorder2a tst-initorder2b
13449 tst-initorder2c tst-initorder2d. Add rules to build them.
13450 ($(objpfx)tst-initorder2.out): New rule.
13451 * elf/tst-initorder2.c: New file.
13452 * elf/tst-initorder2.exp: New file.
13453
13454 2011-08-22 Andreas Schwab <schwab@redhat.com>
13455
13456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13457
13458 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13459 dependencies back to end of function.
13460
13461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13462 $(elfobjdir)/ld.so.
13463
13464 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13465
13466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13467 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13469 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13470 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13471 of __vdso_gettimeofday.
13472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13473 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13474 attribute_hidden.
13475 (_libc_vdso_platform_setup): Remove initialization of
13476 __vdso_gettimeofday and __vdso_time.
13477
13478 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13479
13480 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13481 and fgetc_unlocked.
13482 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13483 getc_unlocked.
13484
13485 * elf/dl-open.c (add_to_global): Report additions to the global scope
13486 for LD_DEBUG=scopes.
13487 (dl_open_worker): Also print scope of newly loaded dependencies.
13488 (_dl_show_scope): Indicate if there is no scope.
13489
13490 [BZ #13114]
13491 * stdio-common/Makefile (tests): Add bug24.
13492 * stdio-common/bug24.c: New file.
13493
13494 2011-08-19 Andreas Jaeger <aj@suse.de>
13495
13496 [BZ #13114]
13497 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13498 non-existant file when using close-on-exec mode.
13499
13500 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13501
13502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13503 the very first instruction.
13504
13505 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13506 the CFI state in the end.
13507 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13508 inclusion of dl-trampoline.h.
13509 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13510
13511 2011-08-19 Andreas Schwab <schwab@redhat.com>
13512
13513 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13514 expectations for long double.
13515
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13517 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13518
13519 2011-08-14 David S. Miller <davem@davemloft.net>
13520
13521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13522 artificual limit depends upon the system page size.
13523
13524 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13525
13526 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13527 * resolv/Makefile: Define CFLAGS-libresolv.
13528
13529 2011-08-17 Andreas Schwab <schwab@redhat.com>
13530
13531 * nss/makedb.c (compute_tables): Make variables used in nested
13532 function static.
13533
13534 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13535
13536 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13537 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13538 if buffer was too small.
13539
13540 * elf/pldd.c (main): Attach to all threads in the process.
13541 Rewrite /proc handling to use *at functions.
13542
13543 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13544
13545 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13546 specifies first scope to show.
13547 (dl_open_worker): Update callers. Move printing scope of new
13548 object to before the relocation.
13549 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13550 * sysdeps/generic/ldsodefs.h: Update declaration.
13551
13552 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13553 string for the scope number.
13554
13555 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13556
13557 * nscd/servicescache.c (cache_addserv): Make sure written is always
13558 initialized.
13559
13560 2011-08-14 Roland McGrath <roland@hack.frob.com>
13561
13562 * sysdeps/i386/i486/bits/atomic.h
13563 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13564 statement expression, so as to suppress "set but not used" warning.
13565 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13566
13567 * string/strncat.c (STRNCAT): Use prototype definition.
13568
13569 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13570 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13571 -Iprograms here.
13572 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13573 (localedef-modules): Add localedef.
13574 (locale-modules): Add locale.
13575
13576 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13577 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13578 to avoid a warning.
13579
13580 2011-08-14 David S. Miller <davem@davemloft.net>
13581
13582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13583 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13584
13585 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13586
13587 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13588 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13589 * elf/rtld.c (dl_main): Set l_name of vDSO.
13590 Call _dl_show_scope when DL_DEBUG_SCOPES.
13591 (process_dl_debug): Recognize scopes flag and also set it for all.
13592 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13593 Declare _dl_show_scope.
13594
13595 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13596 (do_dlopen): Pass caller_dlopen to dl_open.
13597 (__libc_dlopen_mode): Initialize caller_dlopen.
13598
13599 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13600 of libc. Make tolower call locale-independent. Optimize a bit by
13601 using isdigit instead of isalnum.
13602 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13603
13604 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13605
13606 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13607 was a dependency or dynamically loaded.
13608
13609 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13610
13611 * intl/l10nflist.c: Allow architecture-specific pop function.
13612 * sysdeps/x86_64/l10nflist.c: New file.
13613
13614 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13615 classification.
13616
13617 2011-08-10 Andreas Schwab <schwab@redhat.com>
13618
13619 * include/dirent.h: Add libc_hidden_proto for scandirat and
13620 scandirat64. Don't declare __scandirat64.
13621 * dirent/scandirat.c: Add libc_hidden_def.
13622 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13623 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13624
13625 2011-08-10 David S. Miller <davem@davemloft.net>
13626
13627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13628 enum.
13629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13632
13633 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13634
13635 * Versions.def [libc]: Add GLIBC_2.15.
13636 * dirent/Makefile (routines): Add scandirat and scandirat64.
13637 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13638 GLIBC_2.15.
13639 * dirent/dirent.h: Declare scandirat and scandirat64.
13640 * dirent/scandirat.c: New file.
13641 * dirent/scandirat64.c: New file.
13642 * sysdeps/wordsize-64/scandirat.c: New file.
13643 * sysdeps/wordsize-64/scandirat64.c: New file.
13644 * dirent/opendir.c: Define opendirat.
13645 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13646 using scandirat.
13647 * dirent/scandir64.c: Adjust for scandir.c change.
13648 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13649 __scandirat64, and __scandir_cancel_handler.
13650 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13651 additional parameter and use openat instead of open (outside of ld.so).
13652 Add new __opendir as wrapper around __opendirat.
13653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13654 here without requiring old scandirat implementation.
13655
13656 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13657
13658 * dirent/scandir.c (cancel_handler): Renamed to
13659 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13660 defined. Adjust users.
13661 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13662 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13663
13664 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13665
13666 * string/test-string.h (IMPL): Use __STRING to expand name and then
13667 stringify it.
13668
13669 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13670 of cleanups.
13671
13672 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13673
13674 * string/Makefile: Update.
13675 (strop-tests): Append strncat.
13676 * string/test-wcscmp.c: New file.
13677 New comprehensive test for wcscmp.
13678 * string/test-strcmp.c: Update.
13679 (WIDE): New define.
13680
13681 2011-07-22 Andreas Schwab <schwab@redhat.com>
13682
13683 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13684 line.
13685
13686 2011-07-26 Andreas Schwab <schwab@redhat.com>
13687
13688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13689 encoding to ACE if AI_IDN.
13690
13691 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13692
13693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13694 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13695
13696 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13697
13698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13699 Fix overflow bug in strncat.
13700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13701
13702 * string/test-strncat.c: Update.
13703 Add new tests for checking overflow bugs.
13704
13705 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13706
13707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13708 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13709 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13710 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13712 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13713 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13714 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13715 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13716
13717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13718 (USE_AS_STRCAT): Define.
13719 Add strcat and strncat support.
13720 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13721
13722 2011-07-25 Andreas Schwab <schwab@redhat.com>
13723
13724 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13725 __n bigger than INT_MAX+1.
13726 (__strncmp_g): Likewise.
13727
13728 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13729
13730 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13731 * libio/stido.h: Likewise.
13732
13733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13734 (AF_NFC): Define.
13735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13736 (AF_NFC): Define.
13737
13738 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13743
13744 [BZ #13021]
13745 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13746 installed.
13747
13748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13749 typo.
13750 (_dl_x86_64_save_sse): Likewise.
13751
13752 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13753
13754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13755 OSXSAVE.
13756 (_dl_x86_64_save_sse): Likewise.
13757
13758 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13759
13760 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13761
13762 2011-07-21 Andreas Schwab <schwab@redhat.com>
13763
13764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13765 change.
13766 (_dl_x86_64_save_sse): Use correct AVX check.
13767
13768 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13769
13770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13771 bug in strncpy/strncat.
13772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13773
13774 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13775
13776 * string/tester.c (test_strcat): Add tests for different alignments
13777 of source and destination.
13778 (test_strncat): Likewise.
13779
13780 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13781
13782 [BZ #12852]
13783 * posix/glob.c (glob): Check passed in values before using them in
13784 expressions to avoid some overflows.
13785 (glob_in_dir): Likewise.
13786
13787 [BZ #13007]
13788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13789 check for AVX enablement so that we don't crash with old kernels and
13790 new hardware.
13791 * elf/tst-audit4.c: Add same checks here.
13792 * elf/tst-audit6.c: Likewise.
13793
13794 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13795
13796 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13797
13798 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13799
13800 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13801
13802 * po/cs.po: Update from translation team.
13803 * po/bg.po: Likewise.
13804
13805 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13806
13807 * misc/sys/cdefs.h: Add support for const attribute.
13808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13809 to gnu_dev_{major,minor,makedev} functions.
13810
13811 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13812
13813 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13814
13815 2011-07-20 Andreas Schwab <schwab@redhat.com>
13816
13817 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13818 strlen results.
13819
13820 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13821
13822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13823 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13824 register in order to avoid conflicts with the soft frame pointer
13825 being held in r11 when necessary.
13826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13827 (INTERNAL_VSYSCALL_NCS): Likewise.
13828
13829 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13830
13831 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13832 * elf/dl-fini.c (_dl_fini): Adjust caller.
13833 * elf/dl-close.c (_dl_close_worker): Likewise.
13834 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13835
13836 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13837
13838 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13839 "aux_cache->nlibs < 0".
13840
13841 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13842 in the reload-count case.
13843
13844 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13845
13846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13847 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13848 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13849 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13850 * sysdeps/x86_64/multiarch/strcat.S: New file.
13851 * sysdeps/x86_64/multiarch/strncat.S: New file.
13852 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13854 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13855 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13857 (USE_AS_STRCAT): Define.
13858 Add strcat and strncat support.
13859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13861 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13862 * string/strncat.c: Update.
13863 (USE_AS_STRNCAT): Define.
13864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13865 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13866 and i7.
13867 * sysdeps/x86_64/multiarch/init-arch.h
13868 (bit_Prefer_PMINUB_for_stringop): New.
13869 (index_Prefer_PMINUB_for_stringop): Likewise.
13870 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13871 bit_Prefer_PMINUB_for_stringop.
13872
13873 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13874
13875 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13876 buffer64.
13877 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13878 of casting of buffer.
13879 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13880 buffer32 and buffer64.
13881 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13882 writes instead of casting of buffer.
13883 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13884 buffer32.
13885 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13886 casting of buffer.
13887
13888 2011-07-19 Andreas Schwab <schwab@redhat.com>
13889
13890 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13891
13892 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13893
13894 * nscd/nscd.c (termination_handler): Don't do anything for a database
13895 if it has not yet been initialized.
13896
13897 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13898
13899 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13900
13901 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13902
13903 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13904
13905 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13906
13907 * po/nl.po: Update from translation team.
13908 * po/sv.po: Likewise.
13909
13910 2011-07-16 Roland McGrath <roland@hack.frob.com>
13911
13912 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13913 now disallowed by GCC.
13914
13915 * configure.in (use-default-link): Default to yes if a test -shared
13916 link meets our qualifications.
13917 * configure: Regenerated.
13918
13919 * config.make.in (output-format): New variable.
13920 * configure.in: Check for ld --print-output-format support.
13921 * configure: Regenerated.
13922 * Makerules ($(common-objpfx)format.lds)
13923 [$(output-format) != unknown]: Just use $(output-format),
13924 instead of the linker-script munging.
13925
13926 2011-07-14 Roland McGrath <roland@hack.frob.com>
13927
13928 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13929 of $(common-objpfx)shlib.lds.
13930 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13931
13932 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13933 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13934
13935 * configure.in (-z relro check): Adjust test code to add a large
13936 writable data section after it.
13937 * configure: Regenerated.
13938
13939 2011-07-11 Roland McGrath <roland@hack.frob.com>
13940
13941 * configure.in (-z relro check): Fix test code to make the variable
13942 truly const.
13943 * configure: Regenerated.
13944
13945 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13946
13947 * nscd/nscd.h (struct traced_file): Define.
13948 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13949 elements. Add traced_files.
13950 (inotify_fd): Declare.
13951 (register_traced_file): Declare.
13952 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13953 (inotify_fd): Export.
13954 (resolv_conf_descr): Remove.
13955 (nscd_init): Move inotify descriptor creation to main.
13956 Don't register files for notification here.
13957 (register_traced_file): New function.
13958 (invalidate_cache): Don't use reset_res to determine whether to call
13959 res_init, go through the list of registered files.
13960 (main_loop_poll): The inotify descriptors are now stored in the
13961 structures for the traced files.
13962 (main_loop_epoll): Likewise
13963 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13964 to __nss_disable_nscd.
13965 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13966 for a database anymore. Check the records for all the registered
13967 files instead.
13968 * nss/Makefile (libnss_files-routines): Add files-init.
13969 (libnss_db-routines): Add db-init.
13970 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13971 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13972 * nss/nss_db/db-init.c: New file.
13973 * nss/nss_files/files-init.c: New file.
13974 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13975 __nss_lookup_function.
13976 (__nss_lookup_function): Call nss_load_library.
13977 (nss_load_all_libraries): New function.
13978 (__nss_disable_nscd): Take parameter with callback function for files
13979 to register. Set is_nscd. Load all the DSOs for the NSS modules
13980 used for the cached services.
13981 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13982 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13983 options for features to all the files in nscd.
13984
13985 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13986
13987 2011-07-10 Roland McGrath <roland@hack.frob.com>
13988
13989 * csu/elf-init.c (__libc_csu_init): Comment typo.
13990
13991 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13992
13993 * po/pl.po: Update from translation team.
13994 * po/ja.po: Likewise.
13995 * po/ru.po: Likewise.
13996 * po/ko.po: Likewise.
13997 * po/fr.po: Likewise.
13998
13999 2011-07-09 Roland McGrath <roland@hack.frob.com>
14000
14001 * configure.in (.ctors/.dtors header and trailer check):
14002 Use an empirical test on a built program.
14003 * configure: Regenerated.
14004
14005 * configure.in (-z relro check): Use an empirical test on a built DSO.
14006 Detect, but do not require, on ia64.
14007 * configure: Regenerated.
14008
14009 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14010 Update tests that use readelf to use $READELF instead.
14011 * configure: Regenerated.
14012
14013 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14014
14015 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14016 if the result is not used.
14017
14018 2011-07-05 Andreas Jaeger <aj@suse.de>
14019
14020 [BZ#9696]
14021 * stdlib/tst-strtod.c: Add testcase.
14022
14023 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14024
14025 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14026 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14027 The latter has a higher limit. Take additional parameter to pass to
14028 the new function.
14029 (__pathconf): Pass file to __statfs_link_max.
14030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14031 __statfs_link_max.
14032 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14033 __statfs_link_max.
14034
14035 [BZ #12868]
14036 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14038 Handle Lustre.
14039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14040 (__statfs_filesize_max): Likewise.
14041 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14042
14043 2011-07-05 Andreas Jaeger <aj@suse.de>
14044
14045 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14046
14047 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14048
14049 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14050 `status' variable.
14051 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14052 Likewise.
14053
14054 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14055
14056 * Makefile (strop-tests): Add strncat.
14057 * string/test-strncat.c: New file.
14058
14059 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14060
14061 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14062
14063 2011-06-21 Andreas Jaeger <aj@suse.de>
14064
14065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14066 Copy rule from iconvdata/Makefile.
14067
14068 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14069
14070 [BZ #12922]
14071 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14072 but no long options are defined, just return 'W'.
14073
14074 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14075
14076 [BZ #9696]
14077 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14078
14079 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14080
14081 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14082 netgroups to read.
14083 (innetgr): Likewise.
14084
14085 2011-07-05 Roland McGrath <roland@hack.frob.com>
14086
14087 * config.make.in (install_root): Default to $(DESTDIR).
14088
14089 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14090
14091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14092
14093 2011-07-02 Roland McGrath <roland@hack.frob.com>
14094
14095 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14096
14097 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14098 containing directory rather than embedding absolute directory names.
14099
14100 * scripts/check-local-headers.sh: Rewritten using awk.
14101 Match by word, not by line. Print error messages for matches.
14102 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14103
14104 * Makerules [shlib-lds-flags empty]:
14105 ($(common-objpfx)libc_pic.opts): New target.
14106 ($(common-objpfx)libc_pic.os.clean): New target.
14107 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14108
14109 * config.make.in (OBJCOPY): New variable.
14110 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14111 * configure: Regenerated.
14112
14113 * config.make.in (use-default-link): New variable.
14114 * configure.in (use_default_link): Grok --with-default-link to set it.
14115 * configure: Regenerated.
14116 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14117 (shlib-lds, shlib-lds-flags): Define to empty.
14118
14119 * Makerules (shlib-lds): New variable.
14120 (shlib-lds-flags): New variable.
14121 (build-shlib, build-moduile, build-module-asneeded): Use it.
14122 ($(common-objpfx)libc.so): Use $(shlib-lds).
14123 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14125
14126 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14127 DT_FLAGS/DT_FLAGS_1 with zero flags.
14128
14129 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14130 linker script munging.
14131
14132 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14133
14134 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14135 as 128-bit value.
14136 * crypt/sha512.c (sha512_process_block): Perform total addition using
14137 128-bit if possible.
14138 (__sha512_finish_ctx): Likewise.
14139 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14140 as 64-bit value.
14141 * crypt/sha256.c (SWAP64): Define.
14142 (sha256_process_block): Perform total addition using 64-bit if
14143 possible.
14144 (__sha256_finish_ctx): Likewise.
14145
14146 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14147
14148 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14150 * nscd/hstcache.c (cache_addhst): Likewise.
14151 * nscd/grpcache.c (cache_addgr): Likewise.
14152 * nscd/aicache.c (addhstaiX): Likewise
14153 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14154
14155 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14156
14157 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14158 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14159 * nscd/hstcache.c (cache_addhst): Likewise.
14160 * nscd/grpcache.c (cache_addgr): Likewise.
14161 * nscd/aicache.c (addhstaiX): Likewise
14162
14163 2011-07-01 Andreas Schwab <schwab@redhat.com>
14164
14165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14166 domain only when needed.
14167
14168 2011-06-30 Andreas Schwab <schwab@redhat.com>
14169
14170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14171 is always restored.
14172
14173 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14174
14175 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14176 are re-adding the entry.
14177 * nscd/servicescache.c (cache_addserv): Likewise.
14178
14179 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14180
14181 * sysdeps/generic/dl-irel.h: fix protection against multiple
14182 inclusions.
14183 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14184
14185 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14186
14187 [BZ #12935]
14188 * malloc/memusage.sh: Fix quoting in message.
14189 * debug/xtrace.sh: Likewise.
14190
14191 * configure.in: Remove support for --experimental-malloc option, make
14192 it the default.
14193 * config.make.in: Likewise.
14194 * malloc/Makefile: Likewise.
14195
14196 2011-06-27 Andreas Schwab <schwab@redhat.com>
14197
14198 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14199 two-byte characters.
14200
14201 2011-06-27 Roland McGrath <roland@hack.frob.com>
14202
14203 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14204 AC_CACHE_CHECK invocation.
14205 * configure: Regenerated.
14206
14207 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14208
14209 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14210
14211 [BZ #12350]
14212 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14213 bit from old_res_options.
14214
14215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14216
14217 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14218 value type for setfct.
14219
14220 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14223 __gettimeofday instead of gettimeofday.
14224
14225 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14226
14227 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14228
14229 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14232
14233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14234 info.
14235
14236 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14239 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14240 strcpy-sse2-unaligned strncpy-sse2-unaligned
14241 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14242 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14243 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14244 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14245 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14248 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14249 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14250 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14251 (STRCPY): Support SSE2 and SSSE3 versions.
14252
14253 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14254
14255 [BZ #12874]
14256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14257 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14258 kernels which artificially limit size of requests.
14259
14260 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14261
14262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14263 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14264 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14265 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14266 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14267 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14268 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14269 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14272 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14273 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14274 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14275 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14276 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14278 Enable unaligned load optimization for Intel Core i3, i5 and i7
14279 processors.
14280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14281 Define.
14282 (index_Fast_Unaligned_Load): Define.
14283 (HAS_FAST_UNALIGNED_LOAD): Define.
14284
14285 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14286
14287 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14288
14289 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14290
14291 [BZ #12907]
14292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14293 until it is clear that the information is realy needed.
14294 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14295
14296 2011-06-22 Andreas Schwab <schwab@redhat.com>
14297
14298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14299
14300 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14301
14302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14303 /sys/devices/system/cpu/online if it is usable.
14304
14305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14306 reading the information from the /proc filesystem to once a second.
14307
14308 2011-06-21 Andreas Jaeger <aj@suse.de>
14309
14310 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14311 NULL after inclusion of kernel headers.
14312
14313 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14314
14315 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14316 calls to internal_setent.
14317
14318 [BZ #12885]
14319 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14320 addresses using gethostbyname4_r ignore IPv4 addresses.
14321
14322 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14323 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14324
14325 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14326
14327 2011-06-20 David S. Miller <davem@davemloft.net>
14328
14329 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14330 inclusions.
14331 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14332
14333 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14334 (elf_irel): Use it.
14335 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14336 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14337 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14338 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14339 * sysdeps/x86_64/dl-irel.h: Likewise.
14340
14341 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14342 * elf/dl-sym.c: Likewise.
14343
14344 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14345
14346 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14347 need to dereference resplen2.
14348
14349 2011-06-14 Andreas Schwab <schwab@redhat.com>
14350
14351 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14352
14353 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14354
14355 * Makeconfig: Define vardbdir and inst_vardbdir.
14356 * nss/Makefile: Add rules to install db-Makefile.
14357
14358 * nss/nss_db/db-XXX.c: Cleanup.
14359
14360 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14361 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14362 GLIBC_PRIVATE.
14363 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14364 * nss/makedb.c: Implement -g option to specify that value strings
14365 are generated and should not be added to table iterated over for
14366 get*ent calls.
14367 * nss/nss_db/db-initgroups.c: New file.
14368
14369 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14370 interface.
14371
14372 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14373 (internal_getgrouplist): Adjust to name change.
14374 Update use_initgroups_entry if this is not the first call.
14375 * nss/databases.def: Add initgroups entry.
14376
14377 * nss/makedb.c (compute_tables): Check result of multiple hash table
14378 sizes to minimize maximum chain length.
14379
14380 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14381
14382 * Versions.def: Add entry for libnss_db.
14383 * shlib-versions: Likewise.
14384 * nss/Makefile: Add rules to build libnss_db.
14385 * nss/Versions: Add libnss_db information. Organize libnss_files
14386 entries better.
14387 * nss/db-Makefile: Add gshadow support. Change rules for the new
14388 makedb progra. Some minor improvements to generate smaller files.
14389 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14390 here from...
14391 * nss/makedb.c: ...here.
14392 Improve database format to be smaller and require less memory at
14393 runtime.
14394 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14395 db anymore.
14396 * nss/nss_db/db-netgrp.c: Likewise.
14397 * nss/nss_db/db-open.c: Likewise.
14398 * nss/nss_files/flies-XXX.x: Adjust comments.
14399 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14400 * nss/nss_files/files-grp.c: Likewise.
14401 * nss/nss_files/files-hosts.c: Likewise.
14402 * nss/nss_files/files-network.c: Likewise.
14403 * nss/nss_files/files-proto.c: Likewise.
14404 * nss/nss_files/files-pwd.c: Likewise.
14405 * nss/nss_files/files-rpc.c: Likewise.
14406 * nss/nss_files/files-service.c: Likewise.
14407 * nss/nss_files/files-sgrp.c: Likewise.
14408 * nss/nss_files/files-spwd.c: Likewise.
14409 * nss/nss_db/db-alias.c: Removed.
14410 * nss/nss_db/dummy-db.h: Removed.
14411
14412 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14413
14414 * nss/makedb.c: Rewritten to not use database library.
14415 * nss/Makefile: Update to build new makedb program.
14416
14417 2011-06-14 Andreas Jaeger <aj@suse.de>
14418
14419 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14420 memset declaration.
14421
14422 2011-06-10 Andreas Schwab <schwab@redhat.com>
14423
14424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14425 tmpbuf.
14426
14427 2011-06-10 Roland McGrath <roland@hack.frob.com>
14428
14429 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14430 * elf/Makefile ($(objpfx)ld.so): Likewise.
14431
14432 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14433 Don't list ld.so twice in dependencies.
14434
14435 * posix/bug-regex31.c: Include <stdlib.h>.
14436
14437 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14438
14439 * nis/nss_compat/compat-spwd.c
14440 (getspent_next_nss_netgr): Remove unused variable.
14441 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14442
14443 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14444 nonmembers" output to use the right array.
14445
14446 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14447
14448 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14449
14450 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14451 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14452 * catgets/gencat.c (read_input_file): Likewise.
14453 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14454
14455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14456 variable definition inside #if's controlling its use.
14457
14458 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14459
14460 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14461
14462 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14463
14464 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14465 unreachable code.
14466
14467 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14468
14469 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14470 * configure: Regenerated.
14471
14472 * Makerules: Revert last change.
14473 * elf/Makefile: Likewise.
14474
14475 2011-06-09 Roland McGrath <roland@hack.frob.com>
14476
14477 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14478 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14479 (reloc-link): Likewise.
14480
14481 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14482
14483 * elf/Makefile: Add rules to build pldd.
14484 * elf/pldd.c: New file.
14485 * elf/pldd-xx.c: New file.
14486
14487 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14488
14489 * version.h: Update for 2.15 development version.
14490
14491 2011-06-07 David S. Miller <davem@davemloft.net>
14492
14493 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14494 ifuncs.
14495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14496 elf_machine_lazy_rel): Likewise.
14497 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14499 elf_machine_lazy_rel): Likewise.
14500 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14501 dl_hwcap via passed in argument.
14502 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14503 Likewise.
14504
14505 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14506
14507 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14508
14509 2011-06-06 Roland McGrath <roland@hack.frob.com>
14510
14511 [BZ #12849]
14512 * manual/fdl-1.1.texi: New file, verbatim from:
14513 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14514 * manual/lgpl-2.1.texi: New file, verbatim from:
14515 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14516 * manual/Makefile (licenses): New variable, list those new file names.
14517 (texis): Use it.
14518 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14519
14520 * manual/fdl.texi: File removed.
14521 * manual/lesser.texi: File removed.
14522 * manual/libc.texinfo (Copying, Documentation License):
14523 Use new @include file names, put @appendix directive before @include.
14524
14525 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14526
14527 [BZ #12841]
14528 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14529 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14530 (mq_open): Add __NTH.
14531
14532 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14535 Assume Intel Core i3/i5/i7 processor if AVX is available.
14536
14537 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14538
14539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14540 typo.
14541
14542 2011-05-31 Andreas Schwab <schwab@redhat.com>
14543
14544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14545 memory. Use alloca_account. Fix memory leak when retrying.
14546
14547 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14548
14549 * version.h (RELEASE): Bump for 2.14 release.
14550 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14551
14552 * config.make.in (RANLIB): Remove entry.
14553
14554 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14555
14556 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14557 (libc.pot): Work around missing support for .ksh extension in xgettext.
14558
14559 [BZ #12684]
14560 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14561 if both request failed.
14562 (send_dg): In case of server errors clear resplen or *resplen2.
14563
14564 [BZ #12454]
14565 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14566 when there are multiple maps.
14567 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14568 (_dl_fini): Remove test here.
14569
14570 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14571
14572 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14573
14574 [BZ #12350]
14575 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14576 bit from old_res_options.
14577 (gaih_inet): Likewise.
14578
14579 [BZ #11099]
14580 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14581 as signed.
14582
14583 * resolv/res_init.c (res_setoptions): Make the code more compact.
14584
14585 [BZ #11558]
14586 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14587 set RES_USEVC.
14588
14589 [BZ #11634]
14590 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14591
14592 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14593
14594 [BZ #11781]
14595 * malloc/malloc.h: Declare malloc hook variables as volatile.
14596
14597 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14598 in last patch.
14599
14600 [BZ #11799]
14601 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14602 raise in the comment.
14603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14605 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14606
14607 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14608
14609 [BZ #12811]
14610 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14611 grow the buffers more if it already has to be sufficient.
14612 (build_wcs_upper_buffer): Likewise.
14613 * posix/regexec.c (check_matching): Likewise.
14614 (clean_state_log_if_needed): Likewise.
14615 (extend_buffers): Don't enlarge buffers beyond size of the input
14616 buffer.
14617 Patches mostly by Emil Wojak <emil@wojak.eu>.
14618 * posix/bug-regex32.c: New file.
14619 * posix/Makefile (tests): Add bug-regex32.
14620
14621 * locale/findlocale.c (_nl_find_locale): Return right away if
14622 _nl_explode_name failed.
14623 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14624
14625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14626
14627 * debug/xtrace.sh: Unify messages.
14628 * malloc/memusage.sh: Likewise.
14629
14630 [BZ #12813]
14631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14632 time symbol from vDSO. Substitute with vsyscall if not available.
14633 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14634 __vdso_time.
14635
14636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14637 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14638 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14639 Add sendmmsg and internal_sendmmsg.
14640 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14641 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14643
14644 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14645 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14647
14648 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14649
14650 [BZ #12813]
14651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14652 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14653 available.
14654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14655 __vdso_getcpu.
14656
14657 [BZ #12814]
14658 * iconvdata/Makefile (tests): Add bug-iconv9.
14659 * iconvdata/bug-iconv9.c: New file.
14660
14661 2011-05-27 Andreas Schwab <schwab@redhat.com>
14662
14663 [BZ #12814]
14664 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14665
14666 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14667
14668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14669 (struct user_regs_struct): Change intcs field back to cs.
14670
14671 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14672
14673 * po/ja.po: Update from translation team.
14674
14675 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14676
14677 [BZ #12795]
14678 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14680
14681 2011-05-20 Andreas Schwab <schwab@redhat.com>
14682
14683 * stdlib/longlong.h: Update from GCC.
14684
14685 2011-05-23 Andreas Schwab <schwab@redhat.com>
14686
14687 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14688 parameter name.
14689 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14690 Add parameter name.
14691 (__sysconf): Pass it down.
14692
14693 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14694
14695 [BZ #12671]
14696 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14697 some situations.
14698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14699 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14700 add in in __libc_use_alloca calls. Adjust callers.
14701 (glob): Use malloc in some situations.
14702
14703 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14704 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14705 pltexit.
14706
14707 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14708
14709 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14710 and CLOCK_BOOTTIME_ALARM.
14711
14712 [BZ #12782]
14713 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14714 is returned.
14715
14716 * string/_strerror.c (__strerror_r): Print negative errors as signed
14717 numbers.
14718
14719 [BZ #12777]
14720 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14721 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14722 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14723
14724 * configure.in: Fix typo in redirection and correct removal of test
14725 files in two cases.
14726
14727 [BZ #12788]
14728 * locale/setlocale.c (new_composite_name): Fix test to check for
14729 identical name of all categories.
14730
14731 [BZ #12792]
14732 * libio/filedoalloc.c (local_isatty): New function.
14733 (_IO_file_doallocate): Use local_isatty.
14734 * stdio-common/perror.c (perror): In case a new stream is used
14735 forward the stream error.
14736 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14737 error flag.
14738
14739 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14740
14741 [BZ #11869]
14742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14743 alloca.
14744 * include/alloca.h (extend_alloca_account): Define.
14745
14746 [BZ #11857]
14747 * posix/regex.h: Fix comments with documentation of user-accessible
14748 fields after compilation and describe correct free'ing of pattern
14749 after re_compile_pattern.
14750 Patch by Reuben Thomas <rrt@sc3d.org>.
14751
14752 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14753
14754 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14755 and -mno-altivec to prevent the compiler from using Altivec and/or
14756 VSX instructions when the corresponding registers are not available.
14757
14758 2011-05-19 Andreas Schwab <schwab@redhat.com>
14759
14760 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14761
14762 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14763
14764 * libio/freopen.c (freopen): Use __dup2, not dup2.
14765 * libio/freopen64.c (freopen64): Likewise.
14766
14767 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14768
14769 [BZ #12775]
14770 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14771 * math/Makefile (tests): Add test-powl.
14772 (CFLAGS-test-powl.c): Define.
14773 * math/test-powl.c: New file.
14774
14775 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14776
14777 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14778
14779 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14780
14781 [BZ #11837]
14782 * iconvdata/gb18030.c: Update to GB18020-2005.
14783
14784 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14785
14786 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14787 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14788 Patch by Aharon Robbins <arnold@skeeve.com>.
14789
14790 [BZ #11892]
14791 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14792 on the stack.
14793
14794 [BZ #11895]
14795 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14796 through underflows.
14797
14798 [BZ #12766]
14799 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14800 point to strings before performing equality test for error_one_per_line
14801 mode.
14802
14803 [BZ #11697]
14804 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14805
14806 [BZ #11820]
14807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14808 (struct user_fpregs_struct): Avoid __uint*_t types.
14809
14810 [BZ #6420]
14811 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14812 symbol info. Use it instead of calling _dl_addr locally.
14813 (lock_and_info): New function.
14814 (tr_freehook): Call lock_and_info and pass symbol info as additional
14815 parameter to tr_where.
14816 (tr_mallochook): Likewise.
14817 (tr_reallochook): Likewise.
14818 (tr_memalignhook): Likewise.
14819
14820 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14821 used and couldn't be at all thread-safe.
14822
14823 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14824
14825 * libio/freopen.c (freopen): Don't close old file descriptor
14826 before the new one is opened. Instead dup the new file descriptor
14827 to the old one after the new stream is created.
14828 * libio/freopen64.c (freopen64): Likewise.
14829 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14830 * libio/fileops.c (_IO_new_file_close_it): Handle new
14831 _IO_FLAGS2_NOCLOSE flag.
14832 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14833 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14834 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14835 _IO_FLAGS2_NOCLOSE flag.
14836 * include/unistd.h: Add hidden_proto for dup3.
14837 Define __have_dup3.
14838 * io/dup3.c: Define hidden symbol.
14839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14840
14841 [BZ #7101]
14842 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14843 when an incomplete long option is used.
14844 * posix/tst-getopt_long1.c: New file.
14845 * posix/Makefile (tests): Add tst-getopt_long1.
14846
14847 [BZ #10138]
14848 * scripts/config.guess: Update from autoconf-2.68.
14849 * scripts/config.sub: Likewise.
14850
14851 [BZ #10157]
14852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14853 tests into ...
14854 (has_cpuclock): ...this. New function.
14855 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14856 macro here based on has_cpuclock code.
14857
14858 [BZ #10149]
14859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14860 First byte (not low byte) is now always NUL.
14861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14862
14863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14864 Use non-cancelable interfaces.
14865
14866 [BZ #9809]
14867 * locale/iso-639.def: Add entry for Sorani.
14868
14869 [BZ #11901]
14870 * include/stdlib.h: Move include protection to the right place.
14871 Define abort_msg_s. Declare __abort_msg with it.
14872 * stdlib/abort.c (__abort_msg): Adjust type.
14873 * assert/assert.c (__assert_fail_base): New function. Majority
14874 of code from __assert_fail. Allocate memory for __abort_msg with
14875 mmap.
14876 (__assert_fail): Now call __assert_fail_base.
14877 * assert/assert-perr.c: Remove bulk of implementation. Use
14878 __assert_fail_base.
14879 * include/assert.hL Declare __assert_fail_base.
14880 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14881 mmap.
14882 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14883
14884 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14885
14886 [BZ #11952]
14887 [BZ #12453]
14888 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14889 until all modules are registered in the DTV.
14890 * elf/Makefile: Add rules to build and run tst-tls19.
14891 * elf/tst-tls19.c: New file.
14892 * elf/tst-tls19mod1.c: New file.
14893 * elf/tst-tls19mod2.c: New file.
14894 * elf/tst-tls19mod3.c: New file.
14895 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14896
14897 [BZ #12083]
14898 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14899 correctly.
14900
14901 [BZ #12601]
14902 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14903 two-byte sequence errors.
14904 * iconvdata/Makefile (tests): Add bug-iconv8.
14905 * iconvdata/bug-iconv8.c: New file.
14906
14907 [BZ #12626]
14908 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14909 buf2 definition.
14910
14911 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14912
14913 [BZ #12432]
14914 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14915 (dummy_getcfa): New function.
14916 (init): Get _Unwind_GetCFA address, use dummy if not found.
14917 (backtrace_helper): In recursion check, also check whether CFA changes.
14918 (__backtrace): Completely initialize arg.
14919
14920 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14921 storing incomplete byte sequence in state object. Avoid testing for
14922 guaranteed too small input if we know there is enough data available.
14923
14924 2011-05-11 Andreas Schwab <schwab@redhat.com>
14925
14926 * Makeconfig (+link-pie): Indent.
14927 * Rules (binaries-pie): Define if $(have-fpie) and
14928 $(build-shared).
14929 (binaries-shared): Also filter out $(binaries-pie).
14930 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14931 * nscd/Makefile (others-pie): Add nscd.
14932 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14933 ($(objpfx)nscd): Remove command override.
14934 * login/Makefile (others-pie): Add pt_chown.
14935 ($(objpfx)pt_chown): Remove command override.
14936 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14937 remove command overrides.
14938
14939 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14940
14941 * libio/tst_putwc.c: Fix error messages.
14942
14943 [BZ #12724]
14944 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14945 currently writing and seek to current position when not.
14946 * libio/Makefile (tests): Add bug-fclose1.
14947 * libio/bug-fclose1.c: New file.
14948
14949 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14950
14951 [BZ #12511]
14952 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14953 don't set DF_1_NODELETE here.
14954 (do_lookup_x): When entering new entry test for copy relocation
14955 and if necessary set DF_1_NODELETE flag.
14956 * elf/tst-unique4.cc: New file.
14957 * elf/tst-unique4.h: New file.
14958 * elf/tst-unique4lib.cc: New file.
14959 * elf/Makefile: Add rules to build and run tst-unique4.
14960 Patch by Piotr Bury <pbury@goahead.com>.
14961
14962 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14963
14964 [BZ #12052]
14965 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14966
14967 [BZ #12625]
14968 * misc/mntent_r.c (addmntent): Flush the stream after the output
14969
14970 [BZ #12393]
14971 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14972 (is_trusted_path_normalize): Skip initial colon. Append slash
14973 to empty buffer. Duplicate is_trusted_path code but allow
14974 constructed patch to be prefix.
14975 (is_dst): Allow $ORIGIN followed by /.
14976 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14977 Correct testing of result of is_trusted_path_normalize
14978 (decompose_rpath): Fix warning.
14979
14980 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14981
14982 [BZ #11257]
14983 * grp/initgroups.c (internal_getgrouplist): When we found the service
14984 list through the initgroups entry in nsswitch.conf do not always
14985 continue on a successful lookup. Don't always use the
14986 __nss_group_database value if it is set.
14987 * nss/nsswitch.conf (initgroups): Change action for successful db
14988 lookup to continue for compatibility.
14989
14990 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14991
14992 [BZ #11532]
14993 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14994 and CP774 modules.
14995 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14996 and CP774 modules.
14997 * iconvdata/tst-tables.sh: Likewise.
14998 * iconvdata/cp770.c: New file.
14999 * iconvdata/cp771.c: New file.
15000 * iconvdata/cp772.c: New file.
15001 * iconvdata/cp773.c: New file.
15002 * iconvdata/cp774.c: New file.
15003 * iconvdata/testdata/CP770: New file.
15004 * iconvdata/testdata/CP770..UTF8: New file.
15005 * iconvdata/testdata/CP771: New file.
15006 * iconvdata/testdata/CP771..UTF8: New file.
15007 * iconvdata/testdata/CP772: New file.
15008 * iconvdata/testdata/CP772..UTF8: New file.
15009 * iconvdata/testdata/CP773: New file.
15010 * iconvdata/testdata/CP773..UTF8: New file.
15011 * iconvdata/testdata/CP774: New file.
15012 * iconvdata/testdata/CP774..UTF8: New file.
15013
15014 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15015 END CHARMAP line.
15016 * iconvdata/gen-8bit-gap.sh: Likewise.
15017 * iconvdata/gen-8bit.sh: Likewise.
15018
15019 * locale/iso-639.def: Add ary entry.
15020
15021 [BZ #11258]
15022 * locale/C-translit.h.in: Add U20A1 transliteration.
15023
15024 [BZ #12178]
15025 * locale/iso-639.def: Add wae entry.
15026 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15027
15028 [BZ #12545]
15029 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15030 for n.
15031
15032 [BZ #12711]
15033 * locale/C-translit.h.in: Add entry for U20B9.
15034 Patch by pravin.d.s@gmail.com.
15035
15036 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15037
15038 [BZ #12713]
15039 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15040 ENAMETOOLONG use generic getcwd.
15041 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15042 in rtld. Use *stat64.
15043 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15044 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15045 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15046 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15047 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15048 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15049 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15050 __fstatat64 macros.
15051 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15052 * dirent/rewinddir.c: Add libc_hidden_def.
15053 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15054 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15055
15056 * include/dirent.h (__alloc_dir): Add flags parameter.
15057 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15058 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15059 __alloc_dir.
15060 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15061 from fdopendir if O_CLOEXEC is already set.
15062
15063 2011-03-15 Alan Modra <amodra@gmail.com>
15064
15065 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15066 l_tls_firstbyte_offset non-zero. Save padding offset in
15067 l_tls_firstbyte_offset for later use.
15068 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15069 freeing static tls block.
15070
15071 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15072
15073 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15074 where #ifdef was intended. The intent is to prevent ARG_MAX from
15075 being defined by the kernel headers.
15076
15077 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15078
15079 [BZ #12734]
15080 * resolv/resolv.h: Define RES_NOTLDQUERY.
15081 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15082 no-tld-query and set RES_NOTLDQUERY.
15083 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15084 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15085 modern BIND to search name as TLD unless forbidden.
15086
15087 2011-05-07 Petr Baudis <pasky@suse.cz>
15088 Ulrich Drepper <drepper@gmail.com>
15089
15090 [BZ #12393]
15091 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15092 (is_trusted_path): ...to here.
15093 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15094 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15095 using is_trusted_path_normalize() in setuid scripts.
15096
15097 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15098
15099 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15100 __BEGIN/__END_DECLS.
15101
15102 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15103
15104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15105 NSS_STATUS_NOTFOUND if no record was found.
15106
15107 2011-05-05 Andreas Schwab <schwab@redhat.com>
15108
15109 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15110 (headers-not-in-tirpc): Remove rpc/netdb.h
15111 * resolv/netdb.h: Revert last change.
15112
15113 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15114
15115 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15116 circular dependency between libgcc.a and libc.a.
15117
15118 2011-05-05 Andreas Schwab <schwab@redhat.com>
15119
15120 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15121 * nis/Makefile: Don't install rpcsvc/*.
15122 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15123 instead of <rpc/types.h>.
15124 (MAXHOSTNAMELEN): Define.
15125
15126 2011-05-03 Andreas Schwab <schwab@redhat.com>
15127
15128 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15129
15130 2011-04-28 Maciej Babinski <mbabinski@google.com>
15131
15132 [BZ #12714]
15133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15134 gethostbyname4_r when IPv6 results are possible.
15135
15136 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15137
15138 [BZ #12723]
15139 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15140 _PC_PIPE_BUF handling.
15141
15142 2011-04-30 Bruno Haible <bruno@clisp.org>
15143
15144 [BZ #12717]
15145 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15146 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15147 to 'int'.
15148 * inet/getnameinfo.c (getnameinfo): Likewise.
15149
15150 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15151
15152 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15153 to groups setting in database lookup.
15154 * nss/nsswitch.conf: Add initgroups entry.
15155
15156 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15157
15158 [BZ #12685]
15159 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15160 mode string.
15161 Patch by Eric Blake <eblake@redhat.com>.
15162
15163 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15164
15165 * sunrpc/Makefile (need-export-routines): Add svc_run.
15166 (routines): Remove svc_run.
15167 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15168 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15169 * sunrpc/svc_run.c (svc_run): Likewise.
15170 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15171
15172 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15173
15174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15175 problem in reallocation in last patch.
15176
15177 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15178
15179 * sunrpc/Makefile: Move inclusion of Rules.
15180
15181 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15182
15183 * nss/nss_files/files-initgroups.c: New file.
15184 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15185 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15186 _nss_files_initgroups_dyn.
15187
15188 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15189
15190 * elf/elf.h (R_ARM_IRELATIVE): Define.
15191
15192 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15193
15194 * po/ru.po: Update from translation team.
15195
15196 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15197
15198 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15199 dependencies.
15200
15201 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15202
15203 [BZ #12653]
15204 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15205 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15209
15210 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15211
15212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15213 differing bytes.
15214 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15217
15218 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15219
15220 [BZ #12420]
15221 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15222 storing it.
15223 * stdlib/bug-getcontext.c: New file.
15224 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15225
15226 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15227
15228 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15229 instructions into .machine "z9-109".
15230 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15231 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15232
15233 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15234
15235 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15236 between environment variables and auxiliary vector.
15237
15238 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15239
15240 * Makefile: Add rules to build linkobj/libc.so.
15241 * include/libc-symbols.h: Define libc_hidden_nolink.
15242 * include/rpc/auth.h: Mark functions which are to be hidden.
15243 * include/rpc/auth_des.h: Likewise.
15244 * include/rpc/auth_unix.h: Likewise.
15245 * include/rpc/clnt.h: Likewise.
15246 * include/rpc/des_crypt.h: Likewise.
15247 * include/rpc/key_prot.h: Likewise.
15248 * include/rpc/pmap_clnt.h: Likewise.
15249 * include/rpc/pmap_prot.h: Likewise.
15250 * include/rpc/pmap_rmt.h: Likewise.
15251 * include/rpc/rpc_msg.h: Likewise.
15252 * include/rpc/svc.h: Likewise.
15253 * include/rpc/svc_auth.h: Likewise.
15254 * include/rpc/xdr.h: Likewise.
15255 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15256 * nss/Makefile: Likewise.
15257 * sunrpc/Makefile: Don't install headers. Build library with normal
15258 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15259 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15260 for the compat linking library. Remove use of INTDEF/INTUSE.
15261 * sunrpc/auth_none.c: Likewise.
15262 * sunrpc/auth_unix.c: Likewise.
15263 * sunrpc/authdes_prot.c: Likewise.
15264 * sunrpc/authuxprot.c: Likewise.
15265 * sunrpc/clnt_gen.c: Likewise.
15266 * sunrpc/clnt_perr.c: Likewise.
15267 * sunrpc/clnt_raw.c: Likewise.
15268 * sunrpc/clnt_simp.c: Likewise.
15269 * sunrpc/clnt_tcp.c: Likewise.
15270 * sunrpc/clnt_udp.c: Likewise.
15271 * sunrpc/clnt_unix.c: Likewise.
15272 * sunrpc/des_crypt.c: Likewise.
15273 * sunrpc/des_soft.c: Likewise.
15274 * sunrpc/get_myaddr.c: Likewise.
15275 * sunrpc/key_call.c: Likewise.
15276 * sunrpc/key_prot.c: Likewise.
15277 * sunrpc/netname.c: Likewise.
15278 * sunrpc/pm_getmaps.c: Likewise.
15279 * sunrpc/pm_getport.c: Likewise.
15280 * sunrpc/pmap_clnt.c: Likewise.
15281 * sunrpc/pmap_prot.c: Likewise.
15282 * sunrpc/pmap_prot2.c: Likewise.
15283 * sunrpc/pmap_rmt.c: Likewise.
15284 * sunrpc/publickey.c: Likewise.
15285 * sunrpc/rpc_cmsg.c: Likewise.
15286 * sunrpc/rpc_common.c: Likewise.
15287 * sunrpc/rpc_dtable.c: Likewise.
15288 * sunrpc/rpc_prot.c: Likewise.
15289 * sunrpc/rpc_thread.c: Likewise.
15290 * sunrpc/rtime.c: Likewise.
15291 * sunrpc/svc.c: Likewise.
15292 * sunrpc/svc_auth.c: Likewise.
15293 * sunrpc/svc_authux.c: Likewise.
15294 * sunrpc/svc_raw.c: Likewise.
15295 * sunrpc/svc_run.c: Likewise.
15296 * sunrpc/svc_simple.c: Likewise.
15297 * sunrpc/svc_tcp.c: Likewise.
15298 * sunrpc/svc_udp.c: Likewise.
15299 * sunrpc/svc_unix.c: Likewise.
15300 * sunrpc/svcauth_des.c: Likewise.
15301 * sunrpc/xcrypt.c: Likewise.
15302 * sunrpc/xdr.c: Likewise.
15303 * sunrpc/xdr_array.c: Likewise.
15304 * sunrpc/xdr_float.c: Likewise.
15305 * sunrpc/xdr_intXX_t.c: Likewise.
15306 * sunrpc/xdr_mem.c: Likewise.
15307 * sunrpc/xdr_rec.c: Likewise.
15308 * sunrpc/xdr_ref.c: Likewise.
15309 * sunrpc/xdr_sizeof.c: Likewise.
15310 * sunrpc/xdr_stdio.c: Likewise.
15311
15312 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15313
15314 [BZ #12650]
15315 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15316 * sysdeps/ia64/dl-tls.h: Likewise.
15317 * sysdeps/powerpc/dl-tls.h: Likewise.
15318 * sysdeps/s390/dl-tls.h: Likewise.
15319 * sysdeps/sh/dl-tls.h: Likewise.
15320 * sysdeps/sparc/dl-tls.h: Likewise.
15321 * sysdeps/x86_64/dl-tls.h: Likewise.
15322 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15323
15324 2011-03-14 Andreas Schwab <schwab@redhat.com>
15325
15326 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15327 rpath element also skip the following colon.
15328 (expand_dynamic_string_token): Add is_path parameter and pass
15329 down to DL_DST_REQUIRED and _dl_dst_substitute.
15330 (decompose_rpath): Call expand_dynamic_string_token with
15331 non-zero is_path. Ignore empty rpaths.
15332 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15333 with zero is_path.
15334
15335 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15336
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15338 Make cancelable.
15339
15340 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15341
15342 [BZ #12655]
15343 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15344 Patch by Filipe David Manana <fdmanana@apache.org>.
15345
15346 2011-04-07 Andreas Schwab <schwab@redhat.com>
15347
15348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15349 Maintain aligned stack.
15350 (CHECK_RSP): Remove unused macro.
15351
15352 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15353
15354 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15356
15357 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15358
15359 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15360
15361 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15362
15363 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15364
15365 [BZ #12518]
15366 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15367 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15368 * sysdeps/x86_64/memmove.c: New file.
15369 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15370 (memcpy): Renamed to ...
15371 (__new_memcpy): This.
15372 (memcpy): Provide GLIBC_2_14 memcpy.
15373 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15374 (memcpy): Provide GLIBC_2_2_5 memcpy.
15375
15376 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15377
15378 [BZ #12631]
15379 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15380
15381 2011-03-30 Andreas Schwab <schwab@redhat.com>
15382
15383 * misc/syncfs.c: New file.
15384 * misc/Makefile (routines): Add syncfs.
15385 * posix/unistd.h: Declare syncfs.
15386 * sysdeps/unix/syscalls.list: Add syncfs.
15387
15388 2011-04-01 Andreas Schwab <schwab@redhat.com>
15389
15390 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15391 open_by_handle_at.
15392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15397 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15399
15400 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15401
15402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15409
15410 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15411 sync_file_range.c with -fexceptions.
15412 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15413 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15414 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15415 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15416 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15419 sync_file_range as cancellation point
15420 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15421 now a wrapper around __call_sync_file_range with cancellation handling.
15422 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15423 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15424 function name to __call_sync_file_range.
15425 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15426 Add call_sync_file_range.
15427
15428 2011-04-01 Andreas Schwab <schwab@redhat.com>
15429
15430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15431 bits/timex.h.
15432
15433 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15434
15435 * iconv/iconv.h: Fix typo in comment.
15436 * io/fcntl.h: Likewise.
15437 * libio/stdio.h: Likewise.
15438 * posix/spawn.h: Likewise.
15439 * posix/unistd.h: Likewise.
15440 * stdlib/stdlib.h: Likewise.
15441 * time/time.h: Likewise.
15442 * wcsmbs/wchar.h: Likewise.
15443
15444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15445 open_by_handle): Add.
15446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15447 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15448 Augment a few comments.
15449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15454 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15455 open_by_handle.
15456
15457 * io/fcntl.h (AT_EMPTY_PATH): Define.
15458
15459 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15460
15461 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15462 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15463 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15464 to...
15465 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15466 * Versions.def: Add GLIBC_2.14.
15467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15468 Export.
15469
15470 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15471
15472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15473 round counter.
15474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15475
15476 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15477
15478 [BZ #12597]
15479 * string/test-strncmp.c (do_page_test): New function.
15480 (check2): Likewise.
15481 (test_main): Call check2.
15482 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15483
15484 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15485
15486 [BZ #12587]
15487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15488 Handle cache information in CPU leaf 4.
15489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15490
15491 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15492
15493 [BZ #12583]
15494 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15495 character representation.
15496 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15497
15498 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15499
15500 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15501 END(__isnan) to END(__isnanf) to match function entry point/label
15502 EALIGN(__isnanf,...).
15503
15504 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15505
15506 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15507
15508 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15509
15510 [BZ #12510]
15511 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15512 copy from the symbol referenced in the relocation to initialize the
15513 used variable.
15514 Patch by Piotr Bury <pbury@goahead.com>.
15515 * elf/Makefile: Add rules to build and tst-unique3.
15516 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15517 * elf/tst-unique3.cc: New file.
15518 * elf/tst-unique3.h: New file.
15519 * elf/tst-unique3lib.cc: New file.
15520 * elf/tst-unique3lib2.cc: New file.
15521
15522 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15523
15524 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15525
15526 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15527 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15528 to _start.
15529
15530 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15531
15532 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15533 to-be-loaded object along a path to loader is ld.so.
15534
15535 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15536 Ulrich Drepper <drepper@gmail.com>
15537
15538 * sysdeps/x86_64/memset.S: After aligning destination, code
15539 branches to different locations depending on the value of
15540 misalignment, when multiarch is enabled. Fix this.
15541
15542 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15543
15544 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15545 Set _x86_64_preferred_memory_instruction for AMD processsors.
15546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15547 Set bit_Prefer_SSE_for_memop for AMD processors.
15548
15549 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15550
15551 * libio/fmemopen.c (fmemopen): Optimize a bit.
15552
15553 2011-03-03 Andreas Schwab <schwab@redhat.com>
15554
15555 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15556
15557 2011-03-03 Roland McGrath <roland@redhat.com>
15558
15559 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15560
15561 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15562
15563 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15564 __bzero_ultra1 instead of __memset_ultra1.
15565
15566 2011-02-23 Andreas Schwab <schwab@redhat.com>
15567 Ulrich Drepper <drepper@gmail.com>
15568
15569 [BZ #12509]
15570 * include/link.h (struct link_map): Add l_orig_initfini.
15571 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15572 returning unsuccessfully.
15573 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15574 close of a file loaded at startup, restore the original l_initfini
15575 list.
15576 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15577 list, store the pointer.
15578 * elf/Makefile ($(objpfx)noload-mem): New rule.
15579 (noload-ENV): Define.
15580 (tests): Add $(objpfx)noload-mem.
15581 * elf/noload.c: Include <memcheck.h>.
15582 (main): Call mtrace. Close all opened handles.
15583
15584 2011-02-17 Andreas Schwab <schwab@redhat.com>
15585
15586 [BZ #12454]
15587 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15588 dependencies are missing.
15589
15590 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15591
15592 Fix __if_freereq crash: Unlike the generic version which uses free,
15593 Hurd needs munmap.
15594 * sysdeps/mach/hurd/ifreq.h: New file.
15595
15596 2011-01-27 Petr Baudis <pasky@suse.cz>
15597 Ulrich Drepper <drepper@gmail.com>
15598
15599 [BZ 12445]#
15600 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15601 to extend_alloca().
15602 * stdio-common/bug23.c: New file.
15603 * stdio-common/Makefile (tests): Add bug23.
15604
15605 2010-09-28 Andreas Schwab <schwab@redhat.com>
15606 Ulrich Drepper <drepper@gmail.com>
15607
15608 [BZ #12489]
15609 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15610 before performing relro protection. At old place add assertion
15611 to make sure nothing changed.
15612
15613 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15614 Glauber de Oliveira Costa <glommer@gmail.com>
15615
15616 * elf/elf.h: Add new ARM TLS relocs.
15617
15618 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15619
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15621 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15622 cast from r3.
15623 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15624 'tests' variable.
15625 * sysdeps/wordsize-64/tst-writev.c: New file.
15626
15627 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15628
15629 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15630 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15631 insns in _dl_start to prevent a TOC reference before relocs are
15632 resolved.
15633
15634 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15635
15636 [BZ #12469]
15637 * Makeconfig: Remove RANLIB definition.
15638 * Makerules: Don't use RANLIB.
15639 * aclocal.m4: Remove ranlib test.
15640 * configure.in: No need to check for ranlib.
15641 * elf/rtld-Rules: Don't use RANLIB.
15642
15643 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15644
15645 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15646 protection macro.
15647 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15648 inclusion protection macro.
15649
15650 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15651 SIGRTMIN and SIGRTMAX and print information in that case only when
15652 SIGRTMIN is defined.
15653
15654 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15655
15656 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15657 arginfo fn returning -1.
15658
15659 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15660 and thousands string is zero terminated.
15661
15662 2011-02-03 Andreas Schwab <schwab@redhat.com>
15663
15664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15665 sysdeps/unix/sysv/linux/bits/socket.h.
15666
15667 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15668
15669 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15670 (__CPU_COUNT): Remove old macros.
15671 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15672 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15673 (__CPU_ALLOC, __CPU_FREE): Add macros.
15674 (__sched_cpualloc, __sched_cpufree): Add declarations.
15675
15676 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15677
15678 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15679 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15680 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15681 (readdhstai): Return value of addhstaiX call.
15682 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15683 (addgrbyX): Return value returned by cache_addgr.
15684 (readdgrbyname): Return value returned by addgrbyX.
15685 (readdgrbygid): Likewise.
15686 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15687 (addpwbyX): Return value returned by cache_addpw.
15688 (readdpwbyname): Return value returned by addhstbyX.
15689 (readdpwbyuid): Likewise.
15690 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15691 (addservbyX): Return value returned by cache_addserv.
15692 (readdservbyname): Return value returned by addservbyX:
15693 (readdservbyport): Likewise.
15694 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15695 (addhstbyX): Return value returned by cache_addhst.
15696 (readdhstbyname): Return value returned by addhstbyX.
15697 (readdhstbyaddr): Likewise.
15698 (readdhstbynamev6): Likewise.
15699 (readdhstbyaddrv6): Likewise.
15700 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15701 (readdinitgroups): Return value returned by addinitgroupsX.
15702 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15703 (prune_cache): Keep track of timeout value of re-added entries.
15704 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15705 * nscd/nscd.h: Adjust prototypes of readd* functions.
15706
15707 2011-02-04 Roland McGrath <roland@redhat.com>
15708
15709 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15710 (nis_stats): Likewise.
15711 * nis/nis_modify.c (nis_modify): Likewise.
15712 * nis/nis_remove.c (nis_remove): Likewise.
15713 * nis/nis_add.c (nis_add): Likewise.
15714
15715 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15716
15717 * posix/fnmatch_loop.c: Add some consts.
15718
15719 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15720
15721 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 [BZ #12460]
15724 * config.make.in (config-cflags-novzeroupper): Define.
15725 * configure.in: Substitute libc_cv_cc_novzeroupper.
15726 * elf/Makefile (AVX-CFLAGS): Define.
15727 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15728 (CFLAGS-tst-auditmod4a.c): Likewise.
15729 (CFLAGS-tst-auditmod4b.c): Likewise.
15730 (CFLAGS-tst-auditmod6b.c): Likewise.
15731 (CFLAGS-tst-auditmod6c.c): Likewise.
15732 (CFLAGS-tst-auditmod7b.c): Likewise.
15733 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15734
15735 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15736
15737 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15738 function to the callback.
15739 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15740
15741 2011-02-02 Andreas Schwab <schwab@redhat.com>
15742
15743 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15744 of errno.
15745
15746 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15747
15748 [BZ #11724]
15749 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15750 of constructors.
15751 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15752 of destructors.
15753 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15754
15755 [BZ #11724]
15756 * elf/Makefile: Add rules to build and run new test.
15757 * elf/tst-initorder.c: New file.
15758 * elf/tst-initorder.exp: New file.
15759 * elf/tst-initordera1.c: New file.
15760 * elf/tst-initordera2.c: New file.
15761 * elf/tst-initordera3.c: New file.
15762 * elf/tst-initordera4.c: New file.
15763 * elf/tst-initorderb1.c: New file.
15764 * elf/tst-initorderb2.c: New file.
15765 * elf/tst-order-a1.c: New file.
15766 * elf/tst-order-a2.c: New file.
15767 * elf/tst-order-a3.c: New file.
15768 * elf/tst-order-a4.c: New file.
15769 * elf/tst-order-b1.c: New file.
15770 * elf/tst-order-b2.c: New file.
15771 * elf/tst-order-main.c: New file.
15772 New test case by George Gensure <werkt0@gmail.com>.
15773
15774 2010-10-01 Andreas Schwab <schwab@redhat.com>
15775
15776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15777 decoding ACE if AI_CANONIDN.
15778
15779 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15780
15781 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15782
15783 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15784
15785 * version.h (RELEASE): Bump for 2.13 release.
15786 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15787
15788 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15789
15790 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15791 MADV_NOHUGEPAGE.
15792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15793 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15798
15799 * posix/getconf.c: Update copyright year.
15800 * catgets/gencat.c: Likewise.
15801 * csu/version.c: Likewise.
15802 * debug/catchsegv.sh: Likewise.
15803 * debug/xtrace.sh: Likewise.
15804 * elf/ldconfig.c: Likewise.
15805 * elf/ldd.bash.in: Likewise.
15806 * elf/sprof.c (print_version): Likewise.
15807 * iconv/iconv_prog.c: Likewise.
15808 * iconv/iconvconfig.c: Likewise.
15809 * locale/programs/locale.c: Likewise.
15810 * locale/programs/localedef.c: Likewise.
15811 * malloc/memusage.sh: Likewise.
15812 * malloc/mtrace.pl: Likewise.
15813 * nscd/nscd.c (print_version): Likewise.
15814 * nss/getent.c: Likewise.
15815
15816 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15817 PF_CAIF, and PF_ALG.
15818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15819
15820 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15821
15822 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15823 (modules-names): Use them.
15824 (ifunc-test-modules, ifunc-pie-tests): Define.
15825 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15826 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15827 (test-extras): Likewise.
15828 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15829 $(compile-command.c).
15830 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15831 (all-built-dso): Define.
15832 (check-textrel.out, check-execstack.out): Depend on it.
15833
15834 * configure.in: Don't override --enable-multi-arch.
15835
15836 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15837
15838 [BZ #6812]
15839 * nscd/hstcache.c (tryagain): Define.
15840 (cache_addhst): Return tryagain not notfound for temporary errors.
15841 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15842 failed.
15843
15844 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15845
15846 [BZ #10563]
15847 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15848 to make the syscall.
15849 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15850
15851 [BZ #12378]
15852 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15853 and fall back to matching as normal character if the string ends before
15854 the matching ']' is found. This is what POSIX requires.
15855 * posix/testfnm.c: Adjust test result.
15856 * posix/globtest.sh: Adjust test result. Add new test.
15857 * posix/tst-fnmatch.input: Likewise.
15858 * posix/tst-fnmatch2.c: Add new test.
15859
15860 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15861
15862 * elf/Makefile (check-execstack): Revert last change. Depend on
15863 check-execstack.h.
15864 (check-execstack.h): New target.
15865 (generated): Add check-execstack.h.
15866 * elf/check-execstack.c: Include "check-execstack.h".
15867 (main): Revert last change.
15868 (handle_file): Return zero if GNU_STACK is absent and
15869 DEFAULT_STACK_PERMS doesn't include PF_X.
15870
15871 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15872
15873 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15874 in child fails because the descriptor is already closed.
15875 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15876 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15877 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15878
15879 [BZ #12397]
15880 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15881 syscall.
15882
15883 [BZ #10484]
15884 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15885 temporary buffer used to handle multi lookups locally.
15886 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15887
15888 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15889
15890 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15891 loader is ld.so.
15892
15893 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15894
15895 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15896 alignment for SSE2.
15897
15898 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15899
15900 [BZ #12394]
15901 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15902 characters. When rounding increased number of integer digits recompute
15903 number of groups.
15904 * stdio-common/tst-grouping.c: New file.
15905 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15906
15907 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15908
15909 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15910 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15911
15912 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15913 void.
15914 * bits/select.h: Likewise.
15915
15916 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15917
15918 * po/ja.po: Update from translation team.
15919
15920 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15921
15922 [BZ #11155]
15923 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15924 implementation just like for lxstat, fxstatat, et al.
15925
15926 2010-12-27 Jim Meyering <meyering@redhat.com>
15927
15928 [BZ #12348]
15929 * posix/regexec.c (build_trtable): Return failure indication upon
15930 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15931
15932 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15933
15934 [BZ #12201]
15935 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15936 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15939
15940 [BZ #12207]
15941 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15942
15943 [BZ #12204]
15944 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15945 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15946
15947 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15948
15949 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15950 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15951 script has SORT_BY_INIT_PRIORITY.
15952 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15953 NO_CTORS_DTORS_SECTIONS is defined.
15954 * elf/soinit.c: Likewise.
15955 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15956 NO_CTORS_DTORS_SECTIONS is defined.
15957 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15958 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15959 * sysdeps/sh/init-first.c: Likewise.
15960 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15961
15962 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15963
15964 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15965 always use the slow path.
15966
15967 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15968
15969 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15970 similar rule which adds the sysdep directories to the header search in
15971 order to pick up the correct platform stackinfo.h.
15972 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15973 perform test if it is, otherwise return successfully without testing.
15974 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15975 DEFAULT_STACK_PERMS define in stackinfo.h.
15976 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15977 defined in stackinfo.h.
15978 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15979 DEFAULT_STACK_PERMS defined in stackinfo.h.
15980 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15981 * sysdeps/ia64/stackinfo.h: Likewise.
15982 * sysdeps/s390/stackinfo.h: Likewise.
15983 * sysdeps/sh/stackinfo.h: Likewise.
15984 * sysdeps/sparc/stackinfo.h: Likewise.
15985 * sysdeps/x86_64/stackinfo.h: Likewise.
15986 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15987 PF_X for powerpc64. Retain PF_X for powerpc32.
15988
15989 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15990
15991 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15992 accurately.
15993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15994 GETDENTS_64BIT_ALIGNED.
15995
15996 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15997
15998 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15999
16000 2010-12-10 Andreas Schwab <schwab@redhat.com>
16001
16002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16003 _GNU_SOURCE.
16004
16005 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16006 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16007 Remove __restrict.
16008 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16009 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16010
16011 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16012
16013 [BZ #11655]
16014 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16015 are initialized.
16016
16017 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16018
16019 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16020
16021 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16022
16023 * po/it.po: Update from translation team.
16024
16025 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16026
16027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16028 unused codes.
16029
16030 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16031
16032 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16033
16034 2010-11-24 Andreas Schwab <schwab@redhat.com>
16035
16036 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16037 specially.
16038 (gaih_getanswer_slice): Likewise.
16039
16040 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16041
16042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16043
16044 2010-05-31 Petr Baudis <pasky@suse.cz>
16045
16046 [BZ #11149]
16047 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16048 silently even in the chroot mode.
16049
16050 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16051
16052 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16053 last patch a bit. Pretty printing
16054
16055 2010-05-31 Petr Baudis <pasky@suse.cz>
16056
16057 [BZ #10085]
16058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16059 initialization of skip_initgroups_dyn.
16060
16061 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16062
16063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16065
16066 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16067
16068 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16069
16070 2010-11-11 Andreas Schwab <schwab@redhat.com>
16071
16072 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16073 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16074 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16075 ($(objpfx)tst-fnmatch-mem): New rule.
16076 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16077 * posix/tst-fnmatch.c (main): Call mtrace.
16078
16079 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16082 Support Intel processor model 6 and model 0x2c.
16083
16084 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16085
16086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16087 signed comparison.
16088
16089 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 [BZ #12205]
16092 * string/test-strncasecmp.c (check_result): New function.
16093 (do_one_test): Use it.
16094 (check1): New function.
16095 (test_main): Use it.
16096 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16097 Support strcasecmp and strncasecmp.
16098
16099 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16100
16101 [BZ #12194]
16102 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16104
16105 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16106
16107 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16108 IFUNC support.
16109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16110 memset-x86-64.
16111 * sysdeps/x86_64/multiarch/bzero.S: New file.
16112 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16113 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16114 * sysdeps/x86_64/multiarch/memset.S: New file.
16115 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16117 Set bit_Prefer_SSE_for_memop for Intel processors.
16118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16119 Define.
16120 (index_Prefer_SSE_for_memop): Define.
16121 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16122
16123 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16124
16125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16127
16128 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 [BZ #12191]
16131 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16132 (__x86_64_raw_data_cache_size_half): Likewise.
16133 (__x86_64_raw_shared_cache_size): Likewise.
16134 (__x86_64_raw_shared_cache_size_half): Likewise.
16135
16136 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16137 (__x86_64_raw_data_cache_size_half): Likewise.
16138 (__x86_64_raw_shared_cache_size): Likewise.
16139 (__x86_64_raw_shared_cache_size_half): Likewise.
16140 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16141 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16142 and __x86_64_raw_shared_cache_size_half. Round
16143 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16144 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16145 to multiple of 256 bytes.
16146
16147 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16148
16149 [BZ #12167]
16150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16151 of inacessible symlinks. Verify result of symlink before returning it.
16152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16153 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16154
16155 2010-10-28 Erich Ritz <erichritz@gmail.com>
16156
16157 * math/math.h (isinf): Fix typo in comment.
16158
16159 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16160
16161 * po/da.po: Update from translation team.
16162
16163 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16164
16165 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16166 is added to the list.
16167
16168 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16169 Ulrich Drepper <drepper@gmail.com>
16170
16171 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16172 the global list here. Move code to...
16173 (_dl_add_to_namespace_list): ...here. New function.
16174 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16175 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16176 * elf/dl-load.c (lose): Don't remove the element from the list.
16177 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16178 (_dl_map_object): Likewise.
16179
16180 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16181
16182 [BZ #12159]
16183 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16184 into all bytes of SSE register.
16185 Patch by Richard Li <richardpku@gmail.com>.
16186
16187 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16188
16189 [BZ #12140]
16190 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16191 perturbing.
16192
16193 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16194
16195 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16196 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16197 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16200 submachine.
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16202
16203 2010-10-22 Andreas Schwab <schwab@redhat.com>
16204
16205 * include/dlfcn.h (__RTLD_SECURE): Define.
16206 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16207 mode & __RTLD_SECURE instead.
16208 (open_path): Rename preloaded parameter to secure.
16209 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16210 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16211 * elf/dl-deps.c (openaux): Likewise.
16212 * elf/rtld.c (struct map_args): Remove is_preloaded.
16213 (map_doit): Don't use it.
16214 (dl_main): Likewise.
16215 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16216 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16217
16218 2010-09-09 Andreas Schwab <schwab@redhat.com>
16219
16220 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16221 (sysd-rules-targets): Remove duplicates.
16222 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16223 rtld-%.$o dependency.
16224
16225 2010-10-18 Andreas Schwab <schwab@redhat.com>
16226
16227 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16228 _dl_map_object do it.
16229
16230 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16231
16232 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16233 fast fma builtins, define the macros in the C99 standard.
16234 (FP_FAST_FMAF): Likewise.
16235 (FP_FAST_FMAL): Likewise.
16236 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16237
16238 * bits/mathdef.h: Update copyright year.
16239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16240
16241 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16242
16243 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16244 builtins, define the macros in the C99 standard.
16245 (FP_FAST_FMAF): Likewise.
16246 (FP_FAST_FMAL): Likewise.
16247 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16248 multiply/add.
16249 (FP_FAST_FMAF): Likewise.
16250
16251 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16252
16253 [BZ #3268]
16254 * math/libm-test.inc (fma_test): Some new testcases.
16255 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16257 y and infinite z. Do multiplication by C already in long double.
16258 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16260 y and infinite z. Do bitwise or of inexact bit into u.d.
16261 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16262 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16263 * sysdeps/i386/fpu/s_fma.S: Removed.
16264 * sysdeps/i386/fpu/s_fmal.S: Removed.
16265
16266 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16267
16268 [BZ #3268]
16269 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16271 computation is not scheduled after fetestexcept. Fix value
16272 of minimum denormal long double.
16273
16274 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16275
16276 [BZ #3268]
16277 * math/libm-test.inc (fma_test): Add some more tests.
16278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16279 correctly.
16280
16281 2010-10-15 Andreas Schwab <schwab@redhat.com>
16282
16283 * scripts/data/localplt-s390-linux-gnu.data: New file.
16284 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16285
16286 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16287
16288 [BZ #3268]
16289 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16290 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16291 instead of dbl-64.
16292 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16293 inlines.
16294 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16296 if one of x and y is very large and the other is subnormal.
16297 * sysdeps/s390/fpu/s_fmaf.c: New file.
16298 * sysdeps/s390/fpu/s_fma.c: New file.
16299 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16300 * sysdeps/powerpc/fpu/s_fma.S: New file.
16301 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16302 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16303 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16304
16305 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16306
16307 [BZ #3268]
16308 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16309 fma tests.
16310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16311 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16312 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16313 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16314 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16315 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16317
16318 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16319
16320 [BZ #12078]
16321 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16322 * posix/bug-regex31.input: Add test case.
16323
16324 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16325
16326 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16327 * posix/bug-regex31.input: New file.
16328
16329 [BZ #12078]
16330 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16331 (parse_sub_exp): Fix last change, use postorder.
16332
16333 * posix/bug-regex31.c: New file.
16334 * posix/Makefile: Add rules to build and run bug-regex31.
16335
16336 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16337
16338 [BZ #12078]
16339 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16340
16341 [BZ #12108]
16342 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16343 to have entries in sys_siglist.
16344
16345 [BZ #12093]
16346 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16347 be NULL.
16348
16349 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16350
16351 [BZ #3268]
16352 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16353 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16354 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16355 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16356 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16357 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16358 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16359 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16360 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16361 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16362 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16363 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16365 * math/ftestexcept.c (fetestexcept): Likewise.
16366 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16367 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16368 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16369 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16370 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16371 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16373
16374 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16375
16376 [BZ #12107]
16377 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16378 newline.
16379
16380 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16381
16382 * string/bug-strstr1.c: New file.
16383 * string/Makefile: Add rules to build and run bug-strstr1.
16384
16385 2010-10-05 Eric Blake <eblake@redhat.com>
16386
16387 [BZ #12092]
16388 * string/str-two-way.h (two_way_long_needle): Always clear memory
16389 when skipping input due to the shift table.
16390
16391 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16392
16393 [BZ #12005]
16394 * malloc/mcheck.c: Handle large requests.
16395
16396 [BZ #12077]
16397 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16398 for strncmp and strncasecmp.
16399 * string/stratcliff.c: Add tests for strcmp and strncmp.
16400 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16401
16402 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16403
16404 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16405 __set_fpscr.
16406
16407 2010-09-30 Andreas Jaeger <aj@suse.de>
16408
16409 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16410 (CGROUP_SUPER_MAGIC): Define.
16411 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16412 Handle btrfs and cgroup file systems.
16413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16414 Likewise.
16415
16416 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16417
16418 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16419 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16420
16421 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16422
16423 [BZ #12067]
16424 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16425 trying to locate the ELF header.
16426
16427 2010-09-27 Andreas Schwab <schwab@redhat.com>
16428
16429 [BZ #11611]
16430 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16431 Mask out sign-bit copies when constructing f_fsid.
16432
16433 2010-09-24 Petr Baudis <pasky@suse.cz>
16434
16435 * debug/stack_chk_fail_local.c: Add missing licence exception.
16436 * debug/warning-nop.c: Likewise.
16437
16438 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16439
16440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16441 implementing getdents64 using getdents syscall, set d_type if
16442 __ASSUME_GETDENTS32_D_TYPE.
16443
16444 2010-09-16 Andreas Schwab <schwab@redhat.com>
16445
16446 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16447 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16448
16449 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16450
16451 [BZ #12037]
16452 * posix/unistd.h: Undo change of feature selection for ftruncate from
16453 2010-01-11.
16454
16455 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16456
16457 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16458 detection.
16459
16460 2010-09-20 Andreas Schwab <schwab@redhat.com>
16461
16462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16463 fanotify_mark.
16464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16465
16466 2010-09-14 Andreas Schwab <schwab@redhat.com>
16467
16468 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16469 variables after CHECK_SP call.
16470 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16471
16472 2010-09-13 Andreas Schwab <schwab@redhat.com>
16473 Ulrich Drepper <drepper@redhat.com>
16474
16475 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16476 re-relocationg ld.so.
16477 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16478 _dl_init_paths call.
16479 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16480 here anymore.
16481
16482 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16483
16484 * resolv/res_init.c (__res_vinit): Count the default server we added.
16485
16486 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16487 Ulrich Drepper <drepper@redhat.com>
16488
16489 [BZ #11968]
16490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16491 (____longjmp_chk): Use %ebx for saving value across system call.
16492 Add unwind info.
16493
16494 2010-09-06 Andreas Schwab <schwab@redhat.com>
16495
16496 * manual/Makefile: Don't mix pattern rules with normal rules.
16497
16498 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16499
16500 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16501 operation.
16502 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16503 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16504 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16507 Likewise.
16508
16509 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16510
16511 [BZ #11979]
16512 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16513 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16514
16515 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16516
16517 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16518 * sysdeps/x86_64/addmul_1.S: Likewise.
16519 * sysdeps/x86_64/lshift.S: Likewise.
16520 * sysdeps/x86_64/mul_1.S: Likewise.
16521 * sysdeps/x86_64/rshift.S: Likewise.
16522 * sysdeps/x86_64/sub_n.S: Likewise.
16523 * sysdeps/x86_64/submul_1.S: Likewise.
16524
16525 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16526
16527 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16528 Define __sched_param instead of SCHED_* and sched_param when
16529 <bits/sched.h> is included with __need_schedparam defined.
16530 * bits/sched.h [__need_schedparam]
16531 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16532 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16533 (__defined_schedparam): Define to 1.
16534 (__sched_param): New structure, identical to sched_param.
16535 (__need_schedparam): Undefine.
16536
16537 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16538
16539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16540 (epoll_create1): Declare.
16541
16542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16543
16544 2010-08-31 Andreas Schwab <schwab@redhat.com>
16545
16546 [BZ #7066]
16547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16548 shifting retval into place.
16549
16550 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16551
16552 * nis/rpcsvc/nis.h: Update copyright notice.
16553 * nis/rpcsvc/nis.x: Likewise.
16554 * nis/rpcsvc/nis_callback.h: Likewise.
16555 * nis/rpcsvc/nis_callback.x: Likewise.
16556 * nis/rpcsvc/nis_object.x: Likewise.
16557 * nis/rpcsvc/nis_tags.h: Likewise.
16558 * nis/rpcsvc/yp.h: Likewise.
16559 * nis/rpcsvc/yp.x: Likewise.
16560 * nis/rpcsvc/ypupd.h: Likewise.
16561 * nis/yp_xdr.c: Likewise.
16562 * nis/ypupdate_xdr.c: Likewise.
16563
16564 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16565 mainly the body of pmap_getport. Add parameters to specify timeouts.
16566 (pmap_getport): Use __libc_rpc_getport.
16567 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16568 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16569 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16570
16571 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16572
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16574 fanotify_mark.
16575
16576 2010-08-27 Roland McGrath <roland@redhat.com>
16577
16578 * sysdeps/i386/i686/multiarch/Makefile
16579 (CFLAGS-varshift.c): New variable.
16580
16581 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16582
16583 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16584 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16585
16586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16587
16588 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16589
16590 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16591
16592 * sysdeps/x86_64/strlen.S: Unroll the loop.
16593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16594 strlen-sse2 strlen-sse2-bsf.
16595 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16596 __strlen_no_bsf if bit_Slow_BSF is set.
16597 (__strlen_sse42): Removed.
16598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16599 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16600
16601 2010-08-25 Roland McGrath <roland@redhat.com>
16602
16603 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16604 * sysdeps/x86_64/multiarch/varshift.c: New file.
16605 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16606 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16607 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16608 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16609
16610 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16613 strlen-sse2 strlen-sse2-bsf.
16614 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16615 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16616 (__strlen_sse2): Removed.
16617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16620 bit_Slow_BSF for Atom.
16621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16622 (index_Slow_BSF): Define.
16623 (HAS_SLOW_BSF): Define.
16624
16625 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16626
16627 [BZ #10851]
16628 * resolv/res_init.c (__res_vinit): When no server address at all
16629 is given default to loopback.
16630
16631 2010-08-24 Roland McGrath <roland@redhat.com>
16632
16633 * configure.in: Remove config-name.h generation.
16634 * configure: Regenerated.
16635 * config-name.in: File removed.
16636 * scripts/config-uname.sh: New file.
16637 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16638 ($(objdir)config-name.h): New target.
16639
16640 * sunrpc/rpc_parse.h: Avoid nested comment.
16641
16642 2010-08-24 Richard Henderson <rth@redhat.com>
16643 Ulrich Drepper <drepper@redhat.com>
16644 H.J. Lu <hongjiu.lu@intel.com>
16645
16646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16648 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16649 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16650 _mm_alignr_epi8 with _mm_loadu_si128.
16651 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16652 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16653 (__m128i_shift_right): Removed.
16654 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16655 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16656 * sysdeps/x86_64/multiarch/varshift.h: New file.
16657 * sysdeps/x86_64/multiarch/varshift.S: New file.
16658
16659 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16660
16661 * configure.in: Move assembler checks to before sysdep dir checking.
16662
16663 2010-08-20 Petr Baudis <pasky@suse.cz>
16664
16665 * LICENSES: Sync the sunrpc license.
16666
16667 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16668
16669 * sunrpc/auth_des.c: Update copyright notice once again.
16670 * sunrpc/auth_none.c: Likewise.
16671 * sunrpc/auth_unix.c: Likewise.
16672 * sunrpc/authdes_prot.c: Likewise.
16673 * sunrpc/authuxprot.c: Likewise.
16674 * sunrpc/bindrsvprt.c: Likewise.
16675 * sunrpc/clnt_gen.c: Likewise.
16676 * sunrpc/clnt_perr.c: Likewise.
16677 * sunrpc/clnt_raw.c: Likewise.
16678 * sunrpc/clnt_simp.c: Likewise.
16679 * sunrpc/clnt_tcp.c: Likewise.
16680 * sunrpc/clnt_udp.c: Likewise.
16681 * sunrpc/clnt_unix.c: Likewise.
16682 * sunrpc/des_crypt.c: Likewise.
16683 * sunrpc/des_soft.c: Likewise.
16684 * sunrpc/get_myaddr.c: Likewise.
16685 * sunrpc/getrpcport.c: Likewise.
16686 * sunrpc/key_call.c: Likewise.
16687 * sunrpc/key_prot.c: Likewise.
16688 * sunrpc/openchild.c: Likewise.
16689 * sunrpc/pm_getmaps.c: Likewise.
16690 * sunrpc/pm_getport.c: Likewise.
16691 * sunrpc/pmap_clnt.c: Likewise.
16692 * sunrpc/pmap_prot.c: Likewise.
16693 * sunrpc/pmap_prot2.c: Likewise.
16694 * sunrpc/pmap_rmt.c: Likewise.
16695 * sunrpc/rpc/auth.h: Likewise.
16696 * sunrpc/rpc/auth_unix.h: Likewise.
16697 * sunrpc/rpc/clnt.h: Likewise.
16698 * sunrpc/rpc/des_crypt.h: Likewise.
16699 * sunrpc/rpc/key_prot.h: Likewise.
16700 * sunrpc/rpc/netdb.h: Likewise.
16701 * sunrpc/rpc/pmap_clnt.h: Likewise.
16702 * sunrpc/rpc/pmap_prot.h: Likewise.
16703 * sunrpc/rpc/pmap_rmt.h: Likewise.
16704 * sunrpc/rpc/rpc.h: Likewise.
16705 * sunrpc/rpc/rpc_des.h: Likewise.
16706 * sunrpc/rpc/rpc_msg.h: Likewise.
16707 * sunrpc/rpc/svc.h: Likewise.
16708 * sunrpc/rpc/svc_auth.h: Likewise.
16709 * sunrpc/rpc/types.h: Likewise.
16710 * sunrpc/rpc/xdr.h: Likewise.
16711 * sunrpc/rpc_clntout.c: Likewise.
16712 * sunrpc/rpc_cmsg.c: Likewise.
16713 * sunrpc/rpc_common.c: Likewise.
16714 * sunrpc/rpc_cout.c: Likewise.
16715 * sunrpc/rpc_dtable.c: Likewise.
16716 * sunrpc/rpc_hout.c: Likewise.
16717 * sunrpc/rpc_main.c: Likewise.
16718 * sunrpc/rpc_parse.c: Likewise.
16719 * sunrpc/rpc_parse.h: Likewise.
16720 * sunrpc/rpc_prot.c: Likewise.
16721 * sunrpc/rpc_sample.c: Likewise.
16722 * sunrpc/rpc_scan.c: Likewise.
16723 * sunrpc/rpc_scan.h: Likewise.
16724 * sunrpc/rpc_svcout.c: Likewise.
16725 * sunrpc/rpc_tblout.c: Likewise.
16726 * sunrpc/rpc_util.c: Likewise.
16727 * sunrpc/rpc_util.h: Likewise.
16728 * sunrpc/rpcinfo.c: Likewise.
16729 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16730 * sunrpc/rpcsvc/key_prot.x: Likewise.
16731 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16732 * sunrpc/rpcsvc/mount.x: Likewise.
16733 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16734 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16735 * sunrpc/rpcsvc/rex.x: Likewise.
16736 * sunrpc/rpcsvc/rstat.x: Likewise.
16737 * sunrpc/rpcsvc/rusers.x: Likewise.
16738 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16739 * sunrpc/rpcsvc/spray.x: Likewise.
16740 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16741 * sunrpc/rtime.c: Likewise.
16742 * sunrpc/svc.c: Likewise.
16743 * sunrpc/svc_auth.c: Likewise.
16744 * sunrpc/svc_authux.c: Likewise.
16745 * sunrpc/svc_raw.c: Likewise.
16746 * sunrpc/svc_run.c: Likewise.
16747 * sunrpc/svc_simple.c: Likewise.
16748 * sunrpc/svc_tcp.c: Likewise.
16749 * sunrpc/svc_udp.c: Likewise.
16750 * sunrpc/svc_unix.c: Likewise.
16751 * sunrpc/svcauth_des.c: Likewise.
16752 * sunrpc/xcrypt.c: Likewise.
16753 * sunrpc/xdr.c: Likewise.
16754 * sunrpc/xdr_array.c: Likewise.
16755 * sunrpc/xdr_float.c: Likewise.
16756 * sunrpc/xdr_mem.c: Likewise.
16757 * sunrpc/xdr_rec.c: Likewise.
16758 * sunrpc/xdr_ref.c: Likewise.
16759 * sunrpc/xdr_sizeof.c: Likewise.
16760 * sunrpc/xdr_stdio.c: Likewise.
16761
16762 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16763 handling.
16764
16765 2010-08-19 Andreas Schwab <schwab@redhat.com>
16766
16767 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16768
16769 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16770
16771 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16772 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16774 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16776 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16777 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16778 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16780 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16781 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16782 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16783 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16784 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16785
16786 2010-07-26 Anton Blanchard <anton@samba.org>
16787
16788 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16789 * malloc/arena.c (heap_trim): Likewise.
16790
16791 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16792
16793 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16794 here. Not...
16795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16796 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16797
16798 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16799
16800 * sysdeps/i386/elf/Makefile: New file.
16801
16802 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16803
16804 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16805 from fanotify_init.
16806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16808
16809 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16810
16811 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16812 of strncasecmp_l.
16813 * sysdeps/multiarch/strcmp.S: Likewise.
16814
16815 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16816
16817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16818 strncase_l-nonascii.
16819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16820 Add strncase_l-ssse3.
16821 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16822 * sysdeps/x86_64/strcmp.S: Likewise.
16823 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16824 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16825 * sysdeps/x86_64/strncase.S: New file.
16826 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16827 * sysdeps/x86_64/strncase_l.S: New file.
16828 * string/Makefile (strop-tests): Add strncasecmp.
16829 * string/test-strncasecmp.c: New file.
16830
16831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16832 warning.
16833
16834 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16835 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16836
16837 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16838
16839 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16840
16841 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16842
16843 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16845 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16846
16847 2010-05-01 Alan Modra <amodra@gmail.com>
16848
16849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16850 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16851 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16852 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16853 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16854 tidying. Don't tail-call __sigjmp_save for static lib.
16855 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16856 save location.
16857 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16858 (CALL_MCOUNT): Add eh info, and nop after bl.
16859 (TAIL_CALL_SYSCALL_ERROR): New macro.
16860 (PSEUDO_RET): Use it.
16861 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16862 Correct save location of integer regs and cr.
16863 (_dl_profile_resolve): Correct cr save location. Delete nops
16864 after bl when SHARED. Reduce cfi size a little by better
16865 placement of cfi directives.
16866 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16867 make a stack frame. Instead use parm save area as a temp.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16869 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16871 Don't make a stack frame for parent, use parm save area.
16872 Increase child stack frame to 112 bytes. Don't save unused reg,
16873 and adjust reg usage. Set up cfi on error recovery and
16874 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16876 (__makecontext): Add dummy nop after jump to exit.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16878 Use correct parm save area and cr save, reduce stack frame.
16879 Correct cfi for possible PSEUDO_RET frame setup.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16881 Branch to local label emitted by PSEUDO_RET rather than
16882 __syscall_error.
16883
16884 2010-08-12 Andreas Schwab <schwab@redhat.com>
16885
16886 [BZ #11904]
16887 * locale/programs/locale.c (print_assignment): New function.
16888 (show_locale_vars): Use it.
16889
16890 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16891
16892 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16893 field.
16894 (struct statfs64): Likewise.
16895 (_STATFS_F_FLAGS): Define.
16896 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16898 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16899 (ST_VALID): Define locally.
16900 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16901 __statvfs_getflags, use the provided value.
16902 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16903 __ASSUME_STATFS_F_FLAGS.
16904
16905 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16906
16907 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16908 Add sys/fanotify.h.
16909 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16910 fanotify_mask for GLIBC_2.13.
16911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16912 fanotify_init and fanotify_mark.
16913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16914 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16915
16916 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16917 Add prlimit.
16918 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16919 prlimit64 for GLIBC_2.13.
16920 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16921 prlimit64.
16922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16923 syscall.
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16926 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16929 add prlimit alias.
16930 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16931
16932 [BZ #11903]
16933 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16934 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16935
16936 * nss/Makefile: Add rules to build and run tst-nss-test1.
16937 * shlib-versions: Add entry for libnss_test1.
16938 * nss/nss_test1.c: New file.
16939 * nss/tst-nss-test1.c: New file.
16940
16941 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16942 (__nss_configure_lookup): Set appropriate entry in
16943 __nss_configure_lookup to true.
16944 * nss/nsswitch.h: Define enum with indeces of databases in
16945 databases and __nss_database_custom arrays. Declare
16946 __nss_database_custom.
16947 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16948 to avoid using nscd when custom rules are installed.
16949 * nss/getXXbyYY_r.c: Likewise.
16950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16951
16952 * nss/nss_files/files-parse.c: Whitespace fixes.
16953
16954 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16955
16956 [BZ #11883]
16957 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16958 * posix/fnmatch_loop.c: Likewise.
16959
16960 2010-07-17 Andi Kleen <ak@linux.intel.com>
16961
16962 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16963 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16964 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16965 * Versions.def [GLIBC_2.13]: Add.
16966
16967 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16968
16969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16970 Also fail if tpwd after pwuid call is NULL.
16971
16972 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16973
16974 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16975 when converting to ms.
16976
16977 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16978
16979 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16980 EOPNOTSUPP errors with ENOTTY.
16981 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16982 EOPNOTSUPP errors with ENOTTY.
16983
16984 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16985
16986 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16987 Add strcasecmp_l-ssse3.
16988 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16989 strcasecmp.
16990 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16991 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16992 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16993
16994 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16995
16996 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16997
16998 * string/Makefile (strop-tests): Add strcasecmp.
16999 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17000 strcasecmp_l-nonascii.
17001 (gen-as-const-headers): Add locale-defines.sym.
17002 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17003 * sysdeps/x86_64/strcasecmp.S: New file.
17004 * sysdeps/x86_64/strcasecmp_l.S: New file.
17005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17006 * sysdeps/x86_64/locale-defines.sym: New file.
17007 * string/test-strcasecmp.c: New file.
17008
17009 * string/test-strcasestr.c: Test both ends of the range of characters.
17010 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17011
17012 2010-07-29 Roland McGrath <roland@redhat.com>
17013
17014 [BZ #11856]
17015 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17016
17017 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17018
17019 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17020 for ld.so.
17021
17022 2010-07-27 Andreas Schwab <schwab@redhat.com>
17023
17024 * manual/memory.texi (Malloc Tunable Parameters): Document
17025 M_PERTURB.
17026
17027 2010-07-26 Roland McGrath <roland@redhat.com>
17028
17029 [BZ #11840]
17030 * configure.in (-fgnu89-inline check): Set and substitute
17031 gnu89_inline, not libc_cv_gnu89_inline.
17032 * configure: Regenerated.
17033 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17034
17035 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17036
17037 * string/test-strnlen.c: New file.
17038 * string/Makefile (strop-tests): Add strnlen.
17039 * string/tester.c (test_strnlen): Add a few more test cases.
17040 * string/tst-strlen.c: Better error reporting.
17041
17042 * sysdeps/x86_64/strnlen.S: New file.
17043
17044 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17045
17046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17047 lower-latency instructions.
17048
17049 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17050
17051 * string/test-strcasestr.c: New file.
17052 * string/test-strstr.c: New file.
17053 * string/Makefile (strop-tests): Add strstr and strcasestr.
17054 * string/str-two-way.h: Don't undefine MAX.
17055 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17056
17057 2010-07-21 Andreas Schwab <schwab@redhat.com>
17058
17059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17060 strcasestr-nonascii.
17061 (CFLAGS-strcasestr-nonascii.c): Define.
17062 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17064 Remove unused attribute.
17065
17066 2010-07-20 Roland McGrath <roland@redhat.com>
17067
17068 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17069 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17070 ld.so.cache was broken. With it, there is no way to disable dsocaps
17071 like LD_HWCAP_MASK can disable hwcaps.
17072
17073 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17074
17075 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17076
17077 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17078
17079 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17080 call in strcasestr.
17081 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17082 __strcasestr_sse42_nonascii.
17083 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17084 strcasestr-nonascii.c.
17085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17086
17087 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17088
17089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17093
17094 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17095
17096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17097 fcntl.
17098
17099 2010-07-06 Andreas Schwab <schwab@redhat.com>
17100
17101 [BZ #11577]
17102 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17103 dl_signal_cerror.
17104
17105 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17106
17107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17108 _PC_PIPE_BUF using F_GETPIPE_SZ.
17109
17110 2010-07-05 Roland McGrath <roland@redhat.com>
17111
17112 * manual/arith.texi (Rounding Functions): Fix rint description
17113 implicit in round description.
17114
17115 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17116
17117 * elf/Makefile: Fix linking for a few tests to make recent linker
17118 happy.
17119
17120 2010-06-30 Andreas Schwab <schwab@redhat.com>
17121
17122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17123 $(common-objpfx)libc_nonshared.a.
17124
17125 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17126
17127 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17128 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17129 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17130 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17131 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17132 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17133 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17149 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17150 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17151 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17152 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17153 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17154 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17155 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17156 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17157 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17158 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17159 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17160 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17175
17176 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17179 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17180 * string/memmove.c (memmove): Renamed to ...
17181 (MEMMOVE): ...this. Default to memmove.
17182 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17183 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17184 (END_CHK): Define.
17185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17186 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17187 mempcpy-ssse3-back memmove-ssse3-back.
17188 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17191 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17192 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17193 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17194 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17195 * sysdeps/x86_64/multiarch/memmove.c: New file.
17196 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17197 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17198 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17199 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17202 Define.
17203 (index_Fast_Copy_Backward): Define.
17204 (HAS_ARCH_FEATURE): Define.
17205 (HAS_FAST_REP_STRING): Define.
17206 (HAS_FAST_COPY_BACKWARD): Define.
17207
17208 2010-06-21 Andreas Schwab <schwab@redhat.com>
17209
17210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17211 Restore proper fallback handling.
17212
17213 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17214
17215 [BZ #11701]
17216 * posix/group_member.c (__group_member): Correct checking loop.
17217
17218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17219 OOM in getpwuid_r correctly. Return error number when the caller
17220 should return, otherwise -1.
17221 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17222 call returning > 0 value.
17223 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17224
17225 2010-06-07 Andreas Schwab <schwab@redhat.com>
17226
17227 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17228 libc_nonshared.a from targets in modules-names.
17229
17230 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17231
17232 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17233 requires it.
17234
17235 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17236
17237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17238 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17241
17242 2010-06-02 Andreas Schwab <schwab@redhat.com>
17243
17244 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17245
17246 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17247
17248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17249 and F_GETPIPE_SZ.
17250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17256
17257 2010-06-14 Roland McGrath <roland@redhat.com>
17258
17259 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17260
17261 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17262
17263 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17264 __REDIRECT followed by __THROW.
17265 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17266 * posix/getopt.h (getopt): Likewise.
17267
17268 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17269
17270 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17271 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17272 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17273 in AT_FLAGS.
17274 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17275 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17276
17277 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17278
17279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17280
17281 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17282
17283 [BZ #11640]
17284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17285 Properly check family and model.
17286
17287 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17288
17289 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17290
17291 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17292
17293 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17294
17295 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17296
17297 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17298 symbol reference.
17299
17300 2010-05-19 Andreas Schwab <schwab@redhat.com>
17301
17302 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17303 symbol reference.
17304
17305 2010-05-21 Andreas Schwab <schwab@redhat.com>
17306
17307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17308 and internal_recvmmsg.
17309 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17310 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17311 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17312 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17313
17314 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17315 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17316 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17317
17318 2010-05-20 Andreas Schwab <schwab@redhat.com>
17319
17320 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17321
17322 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17323
17324 POWER7 optimizations.
17325 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17326 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17327
17328 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17329
17330 * version.h: Update for 2.13 development version.
17331
17332 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17333
17334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17335 exceptions. Return 0.
17336
17337 2010-05-07 Roland McGrath <roland@redhat.com>
17338
17339 * elf/ldconfig.c (main): Add a const.
17340
17341 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17342
17343 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17344 (args_options): Add no-idn option.
17345 (ahosts_keys_int): Add idn_flags to ai_flags.
17346 (parse_option): Handle 'i' option to clear idn_flags.
17347
17348 * malloc/malloc.c (_int_free): Possible race in the most recently
17349 added check. Only act on the data if no current modification
17350 happened.
17351
17352 See ChangeLog.17 for earlier changes.