]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Document va_copy in preference to __va_copy.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b5982523
JM
12012-07-20 Joseph Myers <joseph@codesourcery.com>
2
3 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4 va_copy. Document allowing for unavailable va_copy only as
5 pre-C99 compatibility.
6 * manual/string.texi (Copying and Concatenation): Use va_copy
7 instead of __va_copy in concat example.
8
ac4ea442
PT
92012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10
11 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12 (__sendto): Use create_address_port. Initialize APORT and deallocate
13 it if not null.
14
f98eafbd
PT
15 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16 with O_NOLINK passed to __file_name_lookup.
17
898c7aab
PT
18 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19 with O_NOLINK passed to __file_name_lookup.
20
0ced335a
PT
21 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22 negative N or less than NGIDS.
23
b3404dbd
PT
24 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25 type to string_t. Set ERANGE as errno and return it if NAME is not big
26 enough. Use memcpy instead of strncpy.
27
0f48659e
JM
282012-07-20 Joseph Myers <joseph@codesourcery.com>
29
30 * elf/Makefile (check-data): Remove.
31 (localplt.data): New vpath directive.
32 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33 instead of $(check-data).
34 * scripts/data/localplt-generic.data: Move to ...
35 * sysdeps/generic/localplt.data: ... here.
36 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40 ... here.
41 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43 ... here.
44 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46 ... here.
47 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49 ... here.
50 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52 ... here.
53 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55 ... here.
56
d37cbdaa
AZ
572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58
59 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60 PPC32 and PPC64 files.
61 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63
46f85fc2
AK
642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65
66 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67 __makecontext_ret to ...
68 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
69 ... here and call exit if uc_link is NULL. New file.
70 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71 __makecontext_ret.S.
72 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73 __makecontext_ret to ...
74 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75 ... here and call exit if uc_link is NULL. New file.
76 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77 __makecontext_ret.S.
78
08f43f9b
AK
792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80
81 * elf/elf.h (R_390_IRELATIVE): New definition.
82 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
83 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
84 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
85 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
86 (elf_machine_lazy_rel): Likewise.
87 * sysdeps/s390/dl-irel.h: New file.
88 * sysdeps/s390/s390-64/memcpy.S: New asm code.
89 * sysdeps/s390/s390-64/memset.S: New asm code.
90 * sysdeps/s390/s390-64/memcmp.S: New asm code.
91 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
92 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
93 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
94 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
95 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
96 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
97 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
98 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
99 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
100 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
101 * sysdeps/s390/s390-32/memcpy.S: New asm code.
102 * sysdeps/s390/s390-32/memset.S: New asm code.
103 * sysdeps/s390/s390-32/memcmp.S: New asm code.
104
3b05db33
MP
1052012-07-17 Marek Polacek <polacek@redhat.com>
106
107 [BZ #14349]
108 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
109 * sysdeps/s390/s390-64/configure.in: Likewise.
110 * sysdeps/sparc/configure.in: Likewise.
111 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
112 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
113 * sysdeps/i386/configure.in: Likewise.
114 * sysdeps/x86_64/configure.in: Likewise.
115 * sysdeps/sh/configure.in: Likewise.
116 * sysdeps/s390/s390-32/configure: Regenerated.
117 * sysdeps/s390/s390-64/configure: Likewise.
118 * sysdeps/x86_64/configure: Likewise.
119 * sysdeps/sh/configure: Likewise.
120 * sysdeps/powerpc/powerpc64/configure: Likewise.
121 * sysdeps/powerpc/powerpc32/configure: Likewise.
122 * sysdeps/sparc/configure: Likwise.
123 * sysdeps/i386/configure: Likewise.
124
a66877c6
MP
125 * elf/dl-open.c: Comment fixes.
126
cfc82fd8
JM
1272012-07-17 Joseph Myers <joseph@codesourcery.com>
128
bd29910a
JM
129 * Makefile [CXX] (check-data): Remove.
130 [CXX] (c++-types.data): New vpath directive.
131 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
132 vpath. Do not allow for C++ type data being missing.
133 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
134 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
135 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
136 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
137 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
138 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
139 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
141 ... here.
142 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
144 ... here.
145 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
147 ... here.
148 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
150 ... here.
151 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
153 ... here.
154 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
156 ... here.
157 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
159 ... here.
160 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
162
cfc82fd8
JM
163 * elf/tls-macros.h (TLS_LE): Move architecture-specific
164 definitions to architecture-specific files.
165 (TLS_IE): Likewise.
166 (TLS_LD): Likewise.
167 (TLS_GD): Likewise.
168 * sysdeps/i386/tls-macros.h: New file.
169 * sysdeps/powerpc/tls-macros.h: Likewise.
170 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
171 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
172 * sysdeps/sh/tls-macros.h: Likewise.
173 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
174 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
175 * sysdeps/x86_64/tls-macros.h: Likewise.
176
f7db3170
TS
1772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
178
07cbfc23
TS
179 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
180 zero value for regular exit case.
181
f7db3170
TS
182 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
183 (__start_context): Preserve zero value for regular exit case.
184
dc97c227
TS
1852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
186 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
187
188 * manual/setjmp.texi (setcontext): Clarify normal process
189 termination when uc_link is the null pointer.
190 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
191 exit call.
192
d0cd7d02
AS
1932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
194
195 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
196 preprocessor. Test for each exception mask separately.
197
dd318934
AJ
1982012-07-16 Andreas Jaeger <aj@suse.de>
199
200 * po/ru.po: Update from translation team.
201
8048311a
JM
2022012-07-15 Joseph Myers <joseph@codesourcery.com>
203
204 * conform/data/string.h-data (NULL): Use macro-constant. Require
205 equal to 0.
206 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
207 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
208 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
209 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
211
b637d46e
AJ
2122012-07-13 Andreas Jaeger <aj@suse.de>
213
214 * po/fr.po: Update from translation team.
215
541428fe
MP
2162012-07-12 Marek Polacek <polacek@redhat.com>
217
218 [BZ #14173]
219 * math/libm-test.inc (yn_test): Add test for BZ #14173.
220 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
221 loop condition.
222
ec332e94
JM
2232012-07-12 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #13717]
226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
227 Change to 2.4.1 where previously 2.4.0.
228 * sysdeps/unix/sysv/linux/configure: Regenerated.
229 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
230 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
231 version.
232 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
233 (__ASSUME_AT_CLKTCK): Remove.
234 (__ASSUME_AT_PAGESIZE): Likewise.
235 (__ASSUME_AT_XID): Likewise.
236 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
237 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
238 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
239 unconditionally.
240 (HAVE_AUX_PAGESIZE): Likewise.
241 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
242 [__ASSUME_AT_CLKTCK]: Make code unconditional.
243 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
244
7b6e99be
JB
2452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
246
247 [BZ #14307]
248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
249 the temporary buffer used to invoke __gethostbyname2_r,
250 __gethostbyaddr_r and gethostbyname4_r to make room for struct
251 host_data / struct gaih_addrtuple.
252 * resolv/nss_dns/dns-host.c (global scope): Move definition of
253 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
254 header file nss/nsswitch.h.
255 * nss/nsswitch.h (global scope): Add definition of implementation
256 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
257 resolv/nss_dns/dns-host.c).
258
608404eb
AJ
2592012-07-11 Andreas Jaeger <aj@suse.de>
260
261 * po/fr.po: Update from translation team.
262
71220aca
AJ
263 * po/sv.po: Update from translation team
264 * po/fr.po: Another update from translation team.
265
28cfe843
AZ
2662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267
268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
269 for subnormals or multiply small sinh result by itself.
270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
272
6b90f981
DM
2732012-07-11 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
276
c6825772
AS
2772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
278
279 [BZ #14347]
280 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
281 (INTERNAL_MARK): Shift it here.
282
7b8e0d49
MP
2832012-07-10 Marek Polacek <polacek@redhat.com>
284
285 [BZ #14151]
286 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
287 libc_cv_asm_global_directive with .globl.
288 * configure: Regenerated.
289 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
290 with .globl.
291 * sysdeps/i386/configure: Regenerated.
292 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
293 with .globl.
294 * sysdeps/x86_64/configure: Regenerated.
295 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
296 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
297 * elf/tst-unique2mod2.c: Likewise.
298 * elf/tst-unique2mod1.c: Likewise.
299 * elf/tst-unique1mod2.c: Likewise.
300 * elf/tst-unique1mod1.c: Likewise.
301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
302 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
303 * sysdeps/s390/s390-64/sysdep.h: Likewise.
304 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
305 * sysdeps/mach/sysdep.h: Likewise.
306 * sysdeps/i386/sysdep.h: Likewise.
307 * sysdeps/i386/i386-mcount.S: Likewise.
308 * sysdeps/x86_64/_mcount.S: Likewise.
309 * sysdeps/x86_64/sysdep.h: Likewise.
310 * sysdeps/sh/_mcount.S: Likewise.
311 * sysdeps/sh/sysdep.h: Likewise.
312 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
313 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
314 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
315 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
316 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
317 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
318 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
319 * locale/localeinfo.h: Likewise.
320 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
321 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
322
6c55cda3
RM
3232012-07-09 Roland McGrath <roland@hack.frob.com>
324
325 [BZ #14336]
326 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
327 system".
328 * manual/message.texi (The Uniforum approach): Likewise.
329 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
330 (glibc iconv Implementation): Likewise.
331
638a572e
JM
3322012-07-09 Joseph Myers <joseph@codesourcery.com>
333
334 [BZ #14337]
335 * math/s_clog.c (__clog): Avoid scaling a value down where that
336 could result in underflow.
337 * math/s_clog10.c (__clog10): Likewise.
338 * math/s_clog10f.c (__clog10f): Likewise.
339 * math/s_clog10l.c (__clog10l): Likewise.
340 * math/s_clogf.c (__clogf): Likewise.
341 * math/s_clogl.c (__clogl): Likewise.
342 * math/libm-test.inc (clog_test): Add more tests.
343 (clog10_test): Likewise.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
261f4859
AS
3472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
348
0abaf3e4
AS
349 [BZ #14283]
350 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
351 by 7 not 8 to examine high bit of fractional part.
352
261f4859
AS
353 [BZ #14042]
354 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
355 for call to __mcount_internal.
356 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
357 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
358 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
359
f17ac40d
JM
3602012-07-06 Joseph Myers <joseph@codesourcery.com>
361
9ad63c23
JM
362 [BZ #14154]
363 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
364 approximation for values within 0x1p-13f of an odd multiple of
365 pi/4.
366 * math/libm-test.inc (tan_test): Do not allow spurious underflow
367 exception. Add more tests.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369
f17ac40d
JM
370 [BZ #6778]
371 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
372 inputs and return -1 for them. Do not check for +Inf in case not
373 reachable for +Inf.
374 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
375 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
376 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
377 and return -1 for them. Do not check for +Inf in case not
378 reachable for +Inf.
379 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
380 define.
381 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
382 and return -1 for them. Do not check for +Inf in case not
383 reachable for +Inf.
384 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
385 spurious underflow.
386 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
388
fb21f89b
MF
3892012-07-06 Mike Frysinger <vapier@gentoo.org>
390
391 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
392
cdfe2c5e
JM
3932012-07-05 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #14157]
396 [BZ #14331]
397 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
398 could result in spurious underflow. Scale down values above
399 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
400 * math/s_csqrtf.c (__csqrtf): Likewise.
401 * math/s_csqrtl.c (__csqrtl): Likewise.
402 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
403 spurious underflow.
404 * sysdeps/i386/fpu/libm-test-ulps: Update.
405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
406
70d35b67
AS
4072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
408
704bc459
AS
409 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
410 xopen-msg.sed.
411 * catgets/xopen-msg.awk: New file.
412 * catgets/xopen-msg.sed: Removed.
413
70d35b67
AS
414 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
415 po2text.sed.
416 * intl/po2test.awk: New file.
417 * intl/po2test.sed: Removed.
418
ca61cf32
JM
4192012-07-04 Joseph Myers <joseph@codesourcery.com>
420
421 [BZ #14328]
422 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
423 or multiply small sinh result by itself.
424 * math/s_ctanf.c (__ctanf): Likewise.
425 * math/s_ctanh.c (__ctanh): Likewise.
426 * math/s_ctanhf.c (__ctanhf): Likewise.
427 * math/s_ctanhl.c (__ctanhl): Likewise.
428 * math/s_ctanl.c (__ctanl): Likewise.
429 * math/libm-test.inc (ctan_test_tonearest): New function.
430 (ctan_test_towardzero): Likewise.
431 (ctan_test_downward): Likewise.
432 (ctan_test_upward): Likewise.
433 (ctanh_test_tonearest): Likewise.
434 (ctanh_test_towardzero): Likewise.
435 (ctanh_test_downward): Likewise.
436 (ctanh_test_upward): Likewise.
437 (main): Call these new functions.
438 * sysdeps/i386/fpu/libm-test-ulps: Update.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440
ca48a46a
MF
4412012-07-03 Mike Frysinger <vapier@gentoo.org>
442
443 * .gitignore: Delete /ports entry.
444
9d63d37d
AJ
4452012-07-03 Andreas Jaeger <aj@suse.de>
446
447 * po/bg.po: Update from translation team.
448 * po/cs.po: Likewise.
449 * po/de.po: Likewise.
450 * po/hr.po: Likewise.
451 * po/nl.pl: Likewise.
452 * po/pl.po: Likewise.
453 * po/vi.po: Likewise.
454
370ca3d2
JM
4552012-07-03 Joseph Myers <joseph@codesourcery.com>
456
95f5a9a8
JM
457 * Makeconfig [!+link] (+link-before-libc): New variable.
458 [!+link] (+link-after-libc): Likewise.
459 [!+link] (+link-tests): Likewise.
460 [!+link] (+link): Define in terms of $(+link-before-libc) and
461 $(+link-after-libc).
462 [!+link-static] (+link-static-before-libc): New variable.
463 [!+link-static] (+link-static-after-libc): Likewise.
464 [!+link-static] (+link-static-tests): Likewise.
465 [!+link-static] (+link-static): Define in terms of
466 $(+link-static-before-libc) and $(+link-static-after-libc).
467 [build-shared] (link-libc-before-gnulib): New variable.
468 [build-shared] (link-libc-tests): Likewise.
469 [build-shared] (link-libc): Define in terms of
470 $(link-libc-before-gnulib).
471 [!build-shared] (link-libc-tests): New variable.
472 (link-libc-static-tests): New variable.
473 [!gnulib] (gnulib-arch): New variable.
474 [!gnulib] (gnulib-tests): Likewise.
475 [!gnulib] (static-gnulib-arch): Likewise.
476 [!gnulib] (static-gnulib-tests): Likewise.
477 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
478 Define with "=" instead of ":=".
479 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
480 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
481 * Rules (binaries-all-notests): New variable.
482 (binaries-all-tests): Likewise.
483 (binaries-static-notests): Likewise.
484 (binaries-static-tests): Likewise.
485 (binaries-all): Define using $(binaries-all-notests) and
486 $(binaries-all-tests).
487 (binaries-static): Define using $(binaries-static-notests) and
488 $(binaries-static-tests).
489 (binaries-shared-tests): New variable.
490 (binaries-shared-notests): Likewise.
491 (binaries-shared): Remove variable.
492 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
493 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
494 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
495 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
496 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
497 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
498 * elf/Makefile (sln-modules): New variable.
499 (extra-objs): Add $(sln-modules:=.o).
500 (ldconfig-modules): Add static-stubs.
501 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
502 * elf/static-stubs.c: New file.
503
7a845b2c
JM
504 [BZ #14283]
505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
506 by 7 not 8 to examine high bit of fractional part. Use volatile
507 variables when splitting into final array of floats if
508 __FLT_EVAL_METHOD__ != 0.
509 * math/libm-test.inc (cos_test): Add another test.
510 (sin_test): Likewise.
511 * sysdeps/i386/fpu/libm-test-ulps: Update.
512
e2283f38
JM
513 [BZ #14273]
514 * math/libm-test.inc (cosh_test): Add more tests.
515
370ca3d2
JM
516 * version.h (RELEASE): Set to "development".
517 (VERSION): Set to "2.16.90".
518
ee9247c3
CD
5192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
520
521 * NEWS: Update copyright. Remove last-updated date.
522 Mention math library bug fixes and timezone data changes.
523 * README: Mention GNU/Hurd, x32, and HPPA support status.
524
4648c381
TS
5252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
526
527 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
528
aac78a43
AJ
5292012-06-27 Andreas Jaeger <aj@suse.de>
530
531 * manual/contrib.texi (Contributors): Add Samuel Thibault.
532
ed3dbfad
AJ
5332012-06-25 Andreas Jaeger <aj@suse.de>
534
535 * sysdeps/s390/fpu/libm-test-ulps: Update.
536
4d0ee855
AS
5372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
538 Thomas Schwinge <thomas@codesourcery.com>
539
540 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
541 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
543 fanotify_mark.
544
af1bce34
TS
5452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
546
a9fa33ba
TS
547 * sysdeps/mach/start.c: Remove file.
548 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
549 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
550 * sysdeps/sh/init-first.c: Likewise.
551
58f902b8
TS
552 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
553 registers for frame unwinding purposes, add CFI directives.
554 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
555 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
556 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
557 Likewise.
558
1518f58b
TS
559 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
560 __fortify_fail returning.
561 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
562
db9b5059
TS
563 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
564 sysdeps/sh/____longjmp_chk.S.
565 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
566 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
567 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
568 (gen-as-const-headers): Append sigaltstack-offsets.sym.
569
967705fe
TS
570 * sysdeps/sh/abort-instr.h: New file.
571 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
572 process in case exit returns.
573
a9def8c4
TS
574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
575 initialize the GOT register before use.
576
2a649725
TS
577 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
578 calculation of ARGC > 4.
579
af1bce34
TS
580 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
581 meaningful names to some local labels.
582
d230f50a
KK
5832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
584 Kaz Kojima <kkojima@rr.iij4u.or.jp>
585
586 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
587 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
588 (__arch_compare_and_exchange_val_16_acq): Likewise.
589 (__arch_compare_and_exchange_val_32_acq): Likewise.
590 (atomic_exchange_and_add): Fix gUSA sequence.
591 (atomic_add): Likewise.
592 (atomic_add_negative): Likewise.
593 (atomic_add_zero): Likewise.
594 (atomic_bit_test_set): Likewise.
595
0479b305
AS
5962012-06-22 Andreas Schwab <schwab@redhat.com>
597
598 [BZ #13579]
599 * include/link.h (struct link_map): Add l_free_initfini.
600 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
601 l_initfini.
602 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
603 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
604 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
605 set.
606
0e3933b9
CD
6072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
608
609 * configure.in: Use AC_LANG_SOURCE.
610 * configure: Regenerate.
611
4248b1b1
RM
6122012-06-22 Roland McGrath <roland@hack.frob.com>
613
614 * configure.in (libc_cv_localstatedir): New substituted variable.
615 * configure: Regenerated.
616 * config.make.in (localstatedir): New variable, substituted from
617 libc_cv_localstatedir.
618 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
619 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
620 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
621 * sysdeps/gnu/configure: Regenerated.
622
006dd861
JL
6232012-06-21 Jeff Law <law@redhat.com>
624
625 [BZ #14277]
626 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
627 free. Simplify list management for _LIBC case.
628
79662d42
JM
6292012-06-21 Joseph Myers <joseph@codesourcery.com>
630
b7abb4bf
JM
631 [BZ #14273]
632 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
633 Clear sign bit of 64-bit integer value before comparing against
634 overflow value.
635
79662d42
JM
636 * sysdeps/mach/configure: Regenerated.
637
1f150908
L
6382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
639
640 [BZ #14278]
641 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
642
28363bbf
JL
6432012-06-21 Jeff Law <law@redhat.com>
644
645 [BZ #13882]
646 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
647 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
649 * elf/dl-open.c (dl_open_worker): Likewise.
650
09615db4
CD
6512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
652
653 * scripts/list-sources.sh: Scan PORTS for translations.
654 * po/libc.pot: Regenerated.
655
2174c6dd
AJ
6562012-06-21 Andreas Jaeger <aj@suse.de>
657
658 [BZ #12194]
659 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
660 warning.
661 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
662 * bits/byteswap-16.h (__bswap_16): Likewise.
663 * bits/byteswap.h (__bswap_constant_16): Likewise.
664
3ee947b1
L
6652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
666
667 [BZ #14117]
a2f34833
L
668 * sysdeps/i386/fpu_control.h: Removed.
669 * sysdeps/x86_64/fpu_control.h: Moved to ...
670 * sysdeps/x86/fpu_control.h: Here.
671
3ee947b1
L
672 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
673 (_FPU_SETCW): Likewise.
674
ed1825f8
L
6752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
676
25f1282a
L
677 [BZ #14117]
678 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
679 * sysdeps/x86/fpu/bits/mathinline.h: This.
680 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
681
ed1825f8
L
682 [BZ #14050]
683 [BZ #14117]
684 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
685 functions if __x86_64__ is defined.
686
36d54b74
CLT
6872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
688
689 * string/endian.h: Add !__ASSEMBLER__ condition for including
690 conversion interfaces.
691
10285c21
JM
6922012-06-15 Joseph Myers <joseph@codesourcery.com>
693
694 [BZ #14241]
695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
696 of ABS(x) in calculating zero to negative powers other than odd
697 integers.
698 * math/libm-test.inc (pow_test): Add more tests.
699
06c5abbd
AJ
7002012-06-15 Andreas Jaeger <aj@suse.de>
701
702 * manual/contrib.texi (Contributors): Update entry of Liubov
703 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
704 Machado Filho.
705
a3aeac40
CH
7062012-06-15 Cyril Hrubis <metan@ucw.cz>
707
708 * string/string.h: Add __wur to GNU version of strerror_r.
709
49bdf4c1
L
7102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
711
712 [BZ #14229]
713 * string/Makefile (tests): Add tst-strtok_r.
714 * string/tst-strtok_r.c: New file.
715 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
716 RAX_LP/RDX_LP on SAVE_PTR.
717
834f9b8d
RM
7182012-06-14 Roland McGrath <roland@hack.frob.com>
719
720 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
721
75fa1921
JM
7222012-06-14 Joseph Myers <joseph@codesourcery.com>
723
724 * libm_test.inc (csqrt_test): Allow more spurious underflow
725 exceptions.
726 (j0_test): Likewise.
727 (j1_test): Likewise.
728 (y0_test): Likewise.
729 (y1_test): Likewise.
730
771766df
CD
7312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
732
733 * po/Makefile (libc.pot): Use UTF-8 charset.
734
ceb9e56b
PP
7352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
736
737 [BZ #14210]
738 Suppress sign-conversion warning from FD_SET.
739 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
740 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
741 not unsigned long int.
742 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
743
ddb28975
L
7442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
745
746 [BZ #14050]
747 [BZ #14117]
748 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
749 __extern_always_inline instead of __extern_inline.
750 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
751 (__signbit): Likewise.
752 (__signbitl): Support C++ namespace.
753 (lrintf): New inline function.
754 (lrint): Likewise.
755 (llrintf): Likewise.
756 (llrint): Likewise.
757 (fmaxf): Likewise.
758 (fmax): Likewise.
759 (fminf): Likewise.
760 (fmin): Likewise.
761 (rint): Likewise.
762 (rintf): Likewise.
763 (ceil): Likewise.
764 (ceilf): Likewise.
765 (floor): Likewise.
766 (floorf): Likewise.
767 (nearbyint): Likewise.
768 (nearbyintf): Likewise.
769
d7b4fb26
TS
7702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
771
772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
773 non-default versions.
774
eb55f5c2
RM
7752012-06-11 Roland McGrath <roland@hack.frob.com>
776
777 [BZ #14218]
778 * manual/argp.texi (Argp): Reword argp_parse description slightly.
779
366af02c
TS
7802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
781
99ff6e5c
TS
782 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
783 (FE_UPWARD, FE_DOWNWARD): Don't define.
784 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
786
366af02c
TS
787 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
788 reading it.
789 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
790 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
791
793ea851
KK
7922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
793
794 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
796 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
797 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
798
a728a38f
L
7992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
800
801 [BZ #14117]
c08010c7
L
802 * sysdeps/i386/fpu/bits/fenv.h: Removed.
803 * sysdeps/i386/fpu/Implies: New file.
804 * sysdeps/x86_64/fpu/Implies: Likewise.
805 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
806 * sysdeps/x86/fpu/bits/fenv.h: This.
807
a728a38f
L
808 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
809 __SSE_MATH__.
810
6e230d11
SP
8112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
812
813 [BZ #14134]
814 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
815 character 0xffff that matches the last element of the
816 conversion table.
817
1b671feb
AZ
8182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
819
820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
821 fmodl commit.
822
6043738b
AZ
8232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824
825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
826 values higher than 25.6283.
827
34ae0b32
AZ
8282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829
830 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
831 subnormal exponent extraction and add some __builtin_expect.
832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
833 Fix for subnormal mantissa calculation.
834
1214ec8f
MF
8352012-06-04 Mike Frysinger <vapier@gentoo.org>
836
837 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
838 cpu2 is -1 and errno is not ENOSYS.
839
f3d1f93c
L
8402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
841
842 [BZ #14117]
0e4a3cd7
L
843 * sysdeps/i386/i486/bits/string.h: Renamed to ...
844 * sysdeps/x86/bits/string.h: This.
845 * sysdeps/x86_64/bits/string.h: Removed.
846
6704c645
L
847 * sysdeps/i386/i486/bits/string.h: Define inline functions only
848 if not compiling for x86-64, but compiling for >= i486.
849
48495318
L
850 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
851 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
852
14adcbfc
L
853 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
854 New macro from Linux kernel 3.4.0.
855 (FP_XSTATE_MAGIC2): Likewise.
856 (FP_XSTATE_MAGIC2_SIZE): Likewise.
857 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
858 (struct _fpx_sw_bytes): New struct.
859 (struct _xsave_hdr): Likewise.
860 (struct _ymmh_state): Likewise.
861 (struct _xstate): Likewise.
862
68e408ab
L
863 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
864 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
865 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
866 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
867 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
868 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
869
f3d1f93c
L
870 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
871 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
872 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
873 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
874 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
875 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
876
d9dc34cd
TMQMF
8772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
878
879 [BZ #13743]
880 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
881 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
882 (sysdep_headers): Include sys/platform/ppc.h.
883 * sysdeps/powerpc/test-gettimebase.c: Test for
884 __ppc_get_timebase() to catch future ISA opcode/insn changes.
885 * manual/Makefile (appendices): Include platform.texi.
886 * manual/contrib.texi (Contributors): Update @node pointers.
887 * manual/maint.texi (Maintenance): Likewise.
888 (Platform): New node.
889 * manual/platform.texi: New file. Document the new features.
890
4af3879c
SP
8912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
892 Jakub Jelinek <jakub@redhat.com>
893
894 [BZ #14188]
895 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
896 where __builtin_expect is unavailable.
897
2fd6ff13
DM
8982012-06-03 David S. Miller <davem@davemloft.net>
899
900 * stdlib/longlong.h: Updated from GCC.
901
173f7220
AS
9022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
903
904 [BZ #14042]
905 * sysdeps/powerpc/powerpc32/mcount.c: New file.
906 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
907 __mcount_internal.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
909 (GLIBC_2.16): Likewise.
910
f34a1c6f
L
9112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
912
913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
914
88a4576f
JM
9152012-06-01 Joseph Myers <joseph@codesourcery.com>
916
ea32bcdd
JM
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
918 (default-abi): New variable.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
920 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
921 variable.
922 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
923 Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
925 Likewise.
926 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
927 Likewise.
928
88a4576f
JM
929 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
930 definition. Document in comment.
931
402fe938
DM
9322012-06-01 David S. Miller <davem@davemloft.net>
933
934 * stdlib/longlong.h: Updated from GCC.
935
3553723f
L
9362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
937
938 [BZ #14117]
3bd872c4
L
939 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
940 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
941 sys/debugreg.h sys/io.h here.
942 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
943 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
944 sys/io.h.
945 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
946 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
947 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
948 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
949 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
950 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
951
3553723f
L
952 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
953 Define only if __x86_64__ is defined.
954
4842e4fe
JM
9552012-06-01 Joseph Myers <joseph@codesourcery.com>
956
c5bfe3d5
JM
957 [BZ #14048]
958 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
959 Use int64_t for variable i.
960 * math/libm-test.inc (fmod_test): Add more tests.
961
4842e4fe
JM
962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
963 z computation is not scheduled after fetestexcept.
964 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
965 Use math_force_eval instead of asm to ensure calculation scheduled
966 before exception test.
967 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
968 Ensure a1 + u.d computation is not scheduled after fetestexcept.
969
efb73488
AJ
9702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
971
972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
973 computation is not scheduled after fetestexcept.
974
29bcce7c
L
9752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
976
977 [BZ #14117]
978 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
979 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
980
73a68f94
AZ
9812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982
983 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
984 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
985
67b6df78
L
9862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
987
edf2933a 988 [BZ #14117]
ebc64a18
L
989 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
990 <bits/wordsize.h>.
991 (__WCHAR_MIN): Support __WORDSIZE == 64.
992 (__WCHAR_MAX): Likewise.
993
edf2933a
L
994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
996
57c6cf40
L
997 [BZ #14183]
998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
999 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1000
67b6df78 1001 [BZ #14117]
8eb6281e
L
1002 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1003 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1004
aac639f4
L
1005 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1006 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1007
67b6df78
L
1008 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1009 Defined to 1 if __x86_64__ isn't defined.
1010 (_STAT_VER_LINUX_OLD): New.
1011 (st_atime): Remove duplicate.
1012 (st_mtime): Likewise.
1013 (st_ctime): Likewise.
1014
1c2cfe81
DM
10152012-05-31 David S. Miller <davem@davemloft.net>
1016
1017 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1018 entries.
1019
5be8418c
AS
10202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1021
e7725326
AS
1022 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1023 gen-libm-test.pl.
1024
5be8418c
AS
1025 [BZ #14132]
1026 * elf/dl-reloc.c: Include <_itoa.h>.
1027 (_dl_reloc_bad_type): Remove use of INTUSE.
1028 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1029 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1030 * stdio-common/psiginfo.c (psiginfo): Likewise.
1031 * stdio-common/psignal.c (psignal): Likewise.
1032 * string/strsignal.c (strsignal): Likewise.
1033 * include/signal.h (_sys_siglist): Declare hidden proto.
1034 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1035 INTVARDEF with libc_hidden_data_def.
1036 * stdio-common/itoa-udigits.c: Likewise.
1037 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1038 (_itoa_lower_digits_internal): Remove declaration.
1039 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1040 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1041 (_sys_sigabbrev_internal): Remove aliases.
1042 (_sys_siglist): Define hidden alias.
1043
507352f1
MT
10442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1045
1046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1047 bits/sysctl.h.
1048
42bbb1c3
L
10492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1050
1051 [BZ #14117]
6bd784b6
L
1052 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1053 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1054
8bca20f0
L
1055 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1056 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1057 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1058 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1060 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1061
f9e890a9
L
1062 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1063 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1064 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1065
471101a1
L
1066 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1067 with __addr.
1068 (insw): Likewise.
1069 (insl): Likewise.
1070 (outsb): Likewise.
1071 (outsw): Likewise.
1072 (outsl): Likewise.
1073
6451c862
L
1074 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1076 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1077
a254b8c9
L
1078 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1079 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1081 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1082 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1083 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1084
b8dfdd92
L
1085 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1086 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1087
578cd270
L
1088 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1089 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1090
de662f5f
L
1091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1093 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1094
25653439
L
1095 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1096 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1097 to ...
1098 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1099
6bad24a0
L
1100 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1101 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1102 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1103
42bbb1c3
L
1104 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1105 for x86-64.
1106 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1107
2d10d547
JM
11082012-05-31 Joseph Myers <joseph@codesourcery.com>
1109
1110 * math/math.h (M_El): Use two more decimal places.
1111 (M_LOG2El): Likewise.
1112 (M_LOG10El): Likewise.
1113 (M_LN2l): Likewise.
1114 (M_LN10l): Likewise.
1115 (M_PIl): Likewise.
1116 (M_PI_2l): Likewise.
1117 (M_PI_4l): Likewise.
1118 (M_1_PIl): Likewise.
1119 (M_2_PIl): Likewise.
1120 (M_2_SQRTPIl): Likewise.
1121 (M_SQRT2l): Likewise.
1122 (M_SQRT1_2l): Likewise.
1123
f230c29b
DM
11242012-05-31 David S. Miller <davem@davemloft.net>
1125
1126 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1127 values between float registers.
1128 * sysdeps/sparc/sparc64/memset.S: Likewise.
1129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1130
fed806c3
MF
11312012-05-31 Mike Frysinger <vapier@gentoo.org>
1132
1133 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1134 -D_FORTIFY_SOURCE=1.
1135 (CPPFLAGS-tst-longjmp_chk.c): Define.
1136 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1137 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1138 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1139 CFLAGS-tst-wchar-h.c.
1140
30917259
MP
11412012-05-31 Marek Polacek <polacek@redhat.com>
1142
1143 [BZ #14132]
1144 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1145 __endmntent_internal): Remove declaration.
1146 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1147 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1148 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1149
1c58d5dc
DM
11502012-05-30 David S. Miller <davem@davemloft.net>
1151
1152 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1153 (___Q_simulate_exceptions): Use real FP ops rather than writing
1154 into the %fsr.
1155 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1156 Likewise.
1157
7dc00e0d
L
11582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 [BZ #14117]
0bd53985
L
1161 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1162 * sysdeps/x86/bits/xtitypes.h: This.
1163
3a257e66
L
1164 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1165 * sysdeps/x86/bits/wordsize.h: This.
1166
62f62904
L
1167 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1168 * sysdeps/x86/bits/huge_vall.h: This.
1169
404fe9d9
L
1170 * sysdeps/i386/bits/select.h: Removed.
1171 * sysdeps/x86_64/bits/select.h: Renamed to ...
1172 * sysdeps/x86/bits/select.h: This.
1173
d48d0446
L
1174 * sysdeps/i386/bits/setjmp.h: Removed.
1175 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1176 * sysdeps/x86/bits/setjmp.h: This.
1177
7dc00e0d
L
1178 * sysdeps/i386/bits/mathdef.h: Removed.
1179 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1180 * sysdeps/x86/bits/mathdef.h: This.
1181
03277f8f
AS
11822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1183
1184 [BZ #14132]
1185 * include/sys/socket.h (__connect_internal)
1186 (__libc_sa_len_internal): Remove declaration.
1187 (__connect, __libc_sa_len): Declare hidden_proto.
1188 (SA_LEN): Remove use of INTUSE.
1189 * socket/connect.c: Add libc_hidden_def.
1190 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1191 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1192 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1193 alias.
1194 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1195 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1196 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1197 of adding _internal alias.
1198
13764867
L
11992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 [BZ #14117]
6bd97696
L
1202 * sysdeps/i386/bits/link.h: Removed.
1203 * sysdeps/i386/bits/linkmap.h: Likewise.
1204 * sysdeps/x86_64/bits/link.h: Renamed to ...
1205 * sysdeps/x86/bits/link.h: This.
1206 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1207 * sysdeps/x86/bits/linkmap.h: This.
1208
f726f0bb
L
1209 * sysdeps/i386/bits/endian.h: Removed.
1210 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1211 * sysdeps/x86/bits/endian.h: This.
1212
13764867
L
1213 * sysdeps/i386/bits/byteswap.h: Removed.
1214 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1215 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1216 * sysdeps/x86/bits/byteswap.h: This.
1217 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1218 * sysdeps/x86/bits/byteswap-16.h: This.
1219 * sysdeps/i386/Implies: Add x86.
1220 * sysdeps/x86_64/Implies: Likewise.
1221
ae251b0b
DM
12222012-05-30 David S. Miller <davem@davemloft.net>
1223
1224 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1225 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1226 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1227 (FP_TRAPPING_EXCEPTIONS): Define.
1228 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1229 (FP_TRAPPING_EXCEPTIONS): Define.
1230 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1231 subnormals only when inexact has been signalled or underflow
1232 exceptions are enabled.
1233 (_FP_PACK_CANONICAL): Likewise.
1234
d5c90867
L
12352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 [BZ #14183]
1238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1239 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1240
63f1549e
RH
12412012-05-30 Richard Henderson <rth@twiddle.net>
1242
8d8f2279
RH
1243 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1244 with #ifndef NOT_IN_libc.
1245
63f1549e
RH
1246 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1247 marked to avoid plt entry.
1248
0ab0291b
L
12492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 [BZ #14112]
1252 * Makeconfig (default-abi): New macro.
1253 (abi-includes): Likewise.
1254 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1255 $(abi-$(default-abi)-lib-soname) for soname if defined.
1256 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1257 abi-variants.
1258 * Makefile (installed-stubs): Likewise.
1259 * include/stubs-biarch.h: Removed.
1260 * scripts/lib-names.awk: Only handle one library at a time.
1261 * scripts/soversions.awk: Remove WORDSIZE support.
1262 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1263 entries.
1264 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1265 Removed.
1266 (syscall-list-default-condition): Likewise.
1267 (syscall-list-default-condition): Likewise.
1268 (syscall-list-includes): Likewise.
1269 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1270 syscall-list-* with abi-*. Handle undefined abi-variants.
1271 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1272 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1273 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1275 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1276 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1277 Removed.
1278 (syscall-list-32-options): Likewise.
1279 (syscall-list-32-condition): Likewise.
1280 (syscall-list-64-options): Likewise.
1281 (syscall-list-64-condition): Likewise.
1282 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1283 macro.
1284 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1285 Renamed to ...
1286 (abi-*): This.
1287 (abi-64-ld-soname): New macro.
1288 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1290 Renamed to ...
1291 (abi-*): This.
1292 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1293 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1294
4da0431d
JM
12952012-05-30 Joseph Myers <joseph@codesourcery.com>
1296
3a85279c
JM
1297 * sysdeps/unix/sysv/linux/kernel-features.h
1298 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1299 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1300 include <kernel-features.h>.
1301 [!__NR_ftruncate64]: Remove conditional code.
1302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1303 [__NR_ftruncate64]: Make code unconditional.
1304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1305 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1306 include <kernel-features.h>.
1307 [!__NR_ftruncate64]: Remove conditional code.
1308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1309 [__NR_ftruncate64]: Make code unconditional.
1310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1312 include <kernel-features.h>.
1313 [!__NR_ftruncate64]: Remove conditional code.
1314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1315 [__NR_ftruncate64]: Make code unconditional.
1316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1318 include <kernel-features.h>.
1319 [!__NR_ftruncate64]: Remove conditional code.
1320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1321 [__NR_ftruncate64]: Make code unconditional.
1322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1323
4da0431d
JM
1324 * configure.in (libc_cv_fpie): Weaken to a compile test using
1325 LIBC_TRY_CC_OPTION.
1326 * configure: Regenerated.
1327
11ef492c
AK
13282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1329
1330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1334 Refreshed.
1335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1341 Refreshed.
1342
d66ef399
DM
13432012-05-27 David S. Miller <davem@davemloft.net>
1344
1345 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1346 (___Q_zero): New.
1347 (__Q_simulate_exceptions): Return void. Change to simulate
1348 exceptions by writing into the %fsr.
1349 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1350 (__Qp_handle_exceptions): Likewise.
1351 (numbers): Delete.
1352 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1353 __Qp_handle_exceptions.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1355 __Qp_handle_exceptions.
1356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1357 as unused and give dummy FP_RND_NEAREST initializer.
1358 (FP_INHIBIT_RESULTS): Define.
1359 (___Q_simulate_exceptions): Update declaration.
1360 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1361 formatting.
1362 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1363 as unused and give dummy FP_RND_NEAREST initializer.
1364 (__Qp_handle_exceptions): Update declaration.
1365 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1366 formatting.
1367
04fb54b5
TS
13682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1369
1370 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1371 the temporary FPU control word.
1372 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1373 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1374 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1375 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1376 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1377 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1378 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1380 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1381 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1382 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1383
3f99608f
KK
13842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1385
1386 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1387 fields.
1388
65a4de4e
CLT
13892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1390
1391 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1392 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1393 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1394 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1397 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1398 Likewise.
1399
15749d40
UD
14002012-05-27 Ulrich Drepper <drepper@gmail.com>
1401
1402 * po/h.po: Update from translation team.
1403
25dbcb27
AS
14042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1405
3d3f8e55
AS
1406 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1407
25dbcb27
AS
1408 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1409 handling of denormals.
1410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1411 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1412 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1413 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1417 Likewise.
1418
7ad47a80 14192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1420
1421 [BZ #14152]
1422 * math/libm-test.inc (fma_test): Don't always expect underflow
1423 exception.
1424
9c6ea9fa
SP
14252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1426
1427 [BZ #12416]
1428 * elf/tst-execstack.c: Include stackinfo.h.
1429 (do_test): Adjust test case to ensure that pthread_getattr_np
1430 behaviour remains the same after marking stack executable.
1431
a8239222
JM
14322012-05-25 Joseph Myers <joseph@codesourcery.com>
1433
1434 * sysdeps/unix/sysv/linux/kernel-features.h
1435 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1436 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1437 kernel-features.h.
1438 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1439 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1440 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1441 kernel-features.h.
1442 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1443 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1444
918b5606
L
14452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * configure.in: Define the default includes to being none.
1448 * configure: Regenerated.
1449
3a097cc7
RM
14502012-05-25 Roland McGrath <roland@hack.frob.com>
1451
8422c9a5
RM
1452 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1453 * sysdeps/x86_64/setjmp.S: Likewise.
1454 * sysdeps/i386/bsd-setjmp.S: Likewise.
1455 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1456 * sysdeps/i386/setjmp.S: Likewise.
1457 * sysdeps/i386/__longjmp.S: Likewise.
1458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1459 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1460
3a097cc7
RM
1461 * include/stap-probe.h: New file.
1462 * configure.in: Handle --enable-systemtap.
1463 * configure: Regenerated.
1464 * config.h.in (USE_STAP_PROBE): New #undef.
1465 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1466 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1467 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1468
21708942
JM
14692012-05-25 Joseph Myers <joseph@codesourcery.com>
1470
1471 [BZ #13717]
1472 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1473 to 2.4.0 where earlier.
1474 * sysdeps/unix/sysv/linux/configure: Regenerated.
1475 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1476 <kernel-features.h>.
1477 [__ASSUME_32BITUIDS]: Make code unconditional.
1478 [!__ASSUME_32BITUIDS]: Remove conditional code.
1479 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1480 <kernel-features.h>.
1481 [__ASSUME_32BITUIDS]: Make code unconditional.
1482 [!__ASSUME_32BITUIDS]: Remove conditional code.
1483 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1484 [__ASSUME_32BITUIDS]: Make code unconditional.
1485 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1486 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1487 <kernel-features.h>.
1488 [__ASSUME_32BITUIDS]: Make code unconditional.
1489 [!__ASSUME_32BITUIDS]: Remove conditional code.
1490 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1491 <kernel-features.h>.
1492 [__ASSUME_32BITUIDS]: Make code unconditional.
1493 [!__ASSUME_32BITUIDS]: Remove conditional code.
1494 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1495 <kernel-features.h>.
1496 [__ASSUME_32BITUIDS]: Make code unconditional.
1497 [!__ASSUME_32BITUIDS]: Remove conditional code.
1498 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1499 <kernel-features.h>.
1500 [__ASSUME_32BITUIDS]: Make code unconditional.
1501 [!__ASSUME_32BITUIDS]: Remove conditional code.
1502 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1503 <kernel-features.h>.
1504 [__ASSUME_32BITUIDS]: Make code unconditional.
1505 [!__ASSUME_32BITUIDS]: Remove conditional code.
1506 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1507 <kernel-features.h>.
1508 [__ASSUME_32BITUIDS]: Make code unconditional.
1509 [!__ASSUME_32BITUIDS]: Remove conditional code.
1510 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1511 <kernel-features.h>.
1512 [__ASSUME_32BITUIDS]: Make code unconditional.
1513 [!__ASSUME_32BITUIDS]: Remove conditional code.
1514 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1515 <kernel-features.h>.
1516 [__ASSUME_32BITUIDS]: Make code unconditional.
1517 [!__ASSUME_32BITUIDS]: Remove conditional code.
1518 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1519 <kernel-features.h>.
1520 [__ASSUME_32BITUIDS]: Make code unconditional.
1521 [!__ASSUME_32BITUIDS]: Remove conditional code.
1522 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1523 <kernel-features.h>.
1524 [__ASSUME_32BITUIDS]: Make code unconditional.
1525 [!__ASSUME_32BITUIDS]: Remove conditional code.
1526 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1527 <kernel-features.h>.
1528 [__NR_setresgid] (__setresgid): Do not declare.
1529 [__ASSUME_32BITUIDS]: Make code unconditional.
1530 [!__ASSUME_32BITUIDS]: Remove conditional code.
1531 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1532 <kernel-features.h>.
1533 [__NR_setresuid] (__setresuid): Do not declare.
1534 [__ASSUME_32BITUIDS]: Make code unconditional.
1535 [!__ASSUME_32BITUIDS]: Remove conditional code.
1536 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1537 <kernel-features.h>.
1538 [__ASSUME_32BITUIDS]: Make code unconditional.
1539 [!__ASSUME_32BITUIDS]: Remove conditional code.
1540 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1541 <kernel-features.h>.
1542 [__ASSUME_32BITUIDS]: Make code unconditional.
1543 [!__ASSUME_32BITUIDS]: Remove conditional code.
1544 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1545 <kernel-features.h>.
1546 [__ASSUME_32BITUIDS]: Make code unconditional.
1547 [!__ASSUME_32BITUIDS]: Remove conditional code.
1548 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1549 <kernel-features.h>.
1550 [__ASSUME_32BITUIDS]: Make code unconditional.
1551 [!__ASSUME_32BITUIDS]: Remove conditional code.
1552 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1553 <kernel-features.h>.
1554 [__ASSUME_32BITUIDS]: Make code unconditional.
1555 [!__ASSUME_32BITUIDS]: Remove conditional code.
1556 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1557 <kernel-features.h>.
1558 [__ASSUME_32BITUIDS]: Make code unconditional.
1559 [!__ASSUME_32BITUIDS]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1561 <kernel-features.h>.
1562 [__ASSUME_32BITUIDS]: Make code unconditional.
1563 [!__ASSUME_32BITUIDS]: Remove conditional code.
1564 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1565 <kernel-features.h>.
1566 [__ASSUME_32BITUIDS]: Make code unconditional.
1567 [!__ASSUME_32BITUIDS]: Remove conditional code.
1568 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1569 <kernel-features.h>.
1570 [__ASSUME_32BITUIDS]: Make code unconditional.
1571 [!__ASSUME_32BITUIDS]: Remove conditional code.
1572 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1573 <kernel-features.h>.
1574 [__ASSUME_32BITUIDS]: Make code unconditional.
1575 [!__ASSUME_32BITUIDS]: Remove conditional code.
1576 * sysdeps/unix/sysv/linux/kernel-features.h
1577 (__ASSUME_SETRESUID_SYSCALL): Remove.
1578 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1579 (__ASSUME_32BITUIDS): Likewise.
1580 (__ASSUME_LDT_WORKS): Likewise.
1581 (__ASSUME_O_DIRECTORY): Likewise.
1582 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1583 architecture but not kernel version.
1584 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1585 (__ASSUME_MMAP2_SYSCALL): Likewise.
1586 (__ASSUME_STAT64_SYSCALL): Likewise.
1587 (__ASSUME_IPC64): Likewise.
1588 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1589 <kernel-features.h>.
1590 [__ASSUME_32BITUIDS]: Make code unconditional.
1591 [!__ASSUME_32BITUIDS]: Remove conditional code.
1592 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1593 <kernel-features.h>.
1594 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1595 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1596 132096]: Remove conditional code.
1597 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1598 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1599 <kernel-features.h>.
1600 [__ASSUME_32BITUIDS]: Make code unconditional.
1601 [!__ASSUME_32BITUIDS]: Remove conditional code.
1602 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1603 <kernel-features.h>.
1604 [__ASSUME_32BITUIDS]: Make code unconditional.
1605 [!__ASSUME_32BITUIDS]: Remove conditional code.
1606 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1607 <kernel-features.h>.
1608 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1609 unconditional.
1610 (__setresgid): Do not declare.
1611 [__ASSUME_32BITUIDS]: Make code unconditional.
1612 [!__ASSUME_32BITUIDS]: Remove conditional code.
1613 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1614 <kernel-features.h>.
1615 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1616 unconditional.
1617 (__setresuid): Do not declare.
1618 [__ASSUME_32BITUIDS]: Make code unconditional.
1619 [!__ASSUME_32BITUIDS]: Remove conditional code.
1620 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
1625 <kernel-features.h>.
1626 [__ASSUME_32BITUIDS]: Make code unconditional.
1627 [!__ASSUME_32BITUIDS]: Remove conditional code.
1628
a386f1cc
RH
16292012-05-25 Richard Henderson <rth@twiddle.net>
1630
1631 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1632 dl_hwcap to ifunc resolver.
1633 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1634 elf_ifunc_invoke.
1635 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1636 dl_hwcap to ifunc resolver.
1637 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1638
b6550497
JM
16392012-05-24 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #14153]
1642 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1643 for |x| <= 2**-26, not 2**-57.
1644 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1645 exception.
1646
b0bc23a1
JL
16472012-05-24 Jeff Law <law@redhat.com>
1648
1649 * stdio-common/Makefile (tests): Add bug25.
1650 * stdio-common/bug25.c: New test.
1651
347c92e9
L
16522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 [BZ #13576]
1655 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1656 multiple of MALLOC_ALIGNMENT in size.
1657 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1658
6bcc8b3f
JM
16592012-05-24 Joseph Myers <joseph@codesourcery.com>
1660
1661 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1662 Require >= 256.
1663 (FILENAME_MAX): Use macro-int-constant.
1664 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1665 (_IOFBF): Use macro-int-constant.
1666 (_IOLBF): Likewise.
1667 (_IONBF): Likewise.
1668 (SEEK_CUR): Likewise.
1669 (SEEK_END): Likewise.
1670 (SEEK_SET): Likewise.
1671 (TMP_MAX): Likewise.
1672 (EOF): Use macro-int-constant. Require < 0.
1673 (NULL): Use macro-constant. Require == 0.
1674 (stdin): Require type to be FILE *.
1675 (stdout): Likewise.
1676 (stderr): Likewise.
1677 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1678 macro-int-constant.
1679 (EXIT_SUCCESS): Likewise.
1680 (NULL): Use macro-constant. Require == 0.
1681 (RAND_MAX): Use macro-int-constant.
1682 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1683 [C99-based standards] (strtof): Require function.
1684 [C99-based standards] (strtold): Likewise.
1685 [C99-based standards] (strtoll): Likewise.
1686 [C99-based standards] (strtoull): Likewise.
1687 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1688 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1689 [ISO || ISO99 || ISO11] (math.h): Likewise.
1690 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1691 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1693
d18ea0c5
AS
16942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1695
1696 [BZ #14132]
56d25bb8
AS
1697 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1698 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1699 * intl/dgettext.c (DCGETTEXT): Likewise.
1700 * intl/gettext.c (DCGETTEXT): Likewise.
1701 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1702 * posix/regex_internal.h (gettext): Likewise.
1703 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1704 Remove declaration.
1705 * include/argz.h (__argz_count_internal)
1706 (__argz_stringify_internal): Remove declaration.
1707 (__argz_count, __argz_stringify): Declare hidden proto.
1708 * intl/dcgettext.c: Remove use of INTDEF.
1709 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1710 * string/argz-stringify.c: Likewise.
1711 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1712 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1713 Declare hidden proto.
d18ea0c5
AS
1714 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1715 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1716 Declare hidden proto.
1717 * include/stdio.h (__asprintf_internal): Don't declare.
1718 (__asprintf): Don't define as macro. Declare hidden proto.
1719 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1720 (__fsetlocking): Declare hidden proto.
1721 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1722 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1723 hidden proto.
1724 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1725 (_IO_setlinebuf): Remove use of INTUSE.
1726 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1727 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1728 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1729 Remove declaration.
1730 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1731 (_IO_do_flush): Remove use of INTUSE.
1732 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1733 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1734 (_IO_adjust_column, _IO_least_wmarker)
1735 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1736 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1737 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1738 (_IO_default_doallocate, _IO_wdefault_doallocate)
1739 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1740 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1741 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1742 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1743 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1744 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1745 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1746 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1747 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1748 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1749 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1750 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1751 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1752 proto.
1753 (_IO_flush_all_internal, _IO_adjust_column_internal)
1754 (_IO_default_uflow_internal, _IO_default_finish_internal)
1755 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1756 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1757 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1758 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1759 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1760 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1761 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1762 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1763 (_IO_file_close_internal, _IO_file_close_it_internal)
1764 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1765 (_IO_file_init_internal, _IO_file_attach_internal)
1766 (_IO_file_fopen_internal, _IO_file_read_internal)
1767 (_IO_file_sync_internal, _IO_file_seek_internal)
1768 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1769 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1770 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1771 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1772 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1773 (_IO_list_all_internal, _IO_link_in_internal)
1774 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1775 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1776 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1777 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1778 (_IO_do_write_internal, _IO_padn_internal)
1779 (_IO_getline_info_internal, _IO_getline_internal)
1780 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1781 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1782 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1783 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1784 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1785 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1786 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1787 with libc_hidden_ver, remove use of INTUSE.
1788 * libio/genops.c: Likewise.
1789 * libio/freopen.c: Likewise.
1790 * libio/freopen64.c: Likewise.
1791 * libio/iofclose.c: Likewise.
1792 * libio/iofdopen.c: Likewise.
1793 * libio/iofflush.c: Likewise.
1794 * libio/iofflush_u.c: Likewise.
1795 * libio/iofgets.c: Likewise.
1796 * libio/iofgets_u.c: Likewise.
1797 * libio/iofopen.c: Likewise.
1798 * libio/iofopncook.c: Likewise.
1799 * libio/iofread.c: Likewise.
1800 * libio/iofread_u.c: Likewise.
1801 * libio/ioftell.c: Likewise.
1802 * libio/iofwrite.c: Likewise.
1803 * libio/iogetline.c: Likewise.
1804 * libio/iogets.c: Likewise.
1805 * libio/iogetwline.c: Likewise.
1806 * libio/iopadn.c: Likewise.
1807 * libio/iopopen.c: Likewise.
1808 * libio/ioseekoff.c: Likewise.
1809 * libio/ioseekpos.c: Likewise.
1810 * libio/iosetbuffer.c: Likewise.
1811 * libio/iosetvbuf.c: Likewise.
1812 * libio/ioungetc.c: Likewise.
1813 * libio/ioungetwc.c: Likewise.
1814 * libio/iovdprintf.c: Likewise.
1815 * libio/iovsprintf.c: Likewise.
1816 * libio/iovsscanf.c: Likewise.
1817 * libio/memstream.c: Likewise.
1818 * libio/obprintf.c: Likewise.
1819 * libio/oldfileops.c: Likewise.
1820 * libio/oldiofclose.c: Likewise.
1821 * libio/oldiofdopen.c: Likewise.
1822 * libio/oldiofopen.c: Likewise.
1823 * libio/oldiopopen.c: Likewise.
1824 * libio/oldstdfiles.c: Likewise.
1825 * libio/putc.c: Likewise.
1826 * libio/setbuf.c: Likewise.
1827 * libio/setlinebuf.c: Likewise.
1828 * libio/stdfiles.c: Likewise.
1829 * libio/strops.c: Likewise.
1830 * libio/vasprintf.c: Likewise.
1831 * libio/vscanf.c: Likewise.
1832 * libio/vsnprintf.c: Likewise.
1833 * libio/vswprintf.c: Likewise.
1834 * libio/wfiledoalloc.c: Likewise.
1835 * libio/wfileops.c: Likewise.
1836 * libio/wgenops.c: Likewise.
1837 * libio/wmemstream.c: Likewise.
1838 * libio/wstrops.c: Likewise.
1839 * libio/__fpurge.c: Likewise.
1840 * libio/__fsetlocking.c: Likewise.
1841 * assert/assert.c: Likewise.
1842 * debug/fgets_chk.c: Likewise.
1843 * debug/fgets_u_chk.c: Likewise.
1844 * debug/fread_chk.c: Likewise.
1845 * debug/fread_u_chk.c: Likewise.
1846 * debug/gets_chk.c: Likewise.
1847 * debug/obprintf_chk.c: Likewise.
1848 * debug/vasprintf_chk.c: Likewise.
1849 * debug/vdprintf_chk.c: Likewise.
1850 * debug/vsnprintf_chk.c: Likewise.
1851 * debug/vsprintf_chk.c: Likewise.
1852 * malloc/mtrace.c: Likewise.
1853 * misc/error.c: Likewise.
1854 * misc/syslog.c: Likewise.
1855 * stdio-common/asprintf.c: Likewise.
1856 * stdio-common/fxprintf.c: Likewise.
1857 * stdio-common/getw.c: Likewise.
1858 * stdio-common/isoc99_fscanf.c: Likewise.
1859 * stdio-common/isoc99_scanf.c: Likewise.
1860 * stdio-common/isoc99_vfscanf.c: Likewise.
1861 * stdio-common/isoc99_vscanf.c: Likewise.
1862 * stdio-common/isoc99_vsscanf.c: Likewise.
1863 * stdio-common/printf-prs.c: Likewise.
1864 * stdio-common/printf_fp.c: Likewise.
1865 * stdio-common/printf_fphex.c: Likewise.
1866 * stdio-common/printf_size.c: Likewise.
1867 * stdio-common/putw.c: Likewise.
1868 * stdio-common/scanf.c: Likewise.
1869 * stdio-common/sprintf.c: Likewise.
1870 * stdio-common/tmpfile.c: Likewise.
1871 * stdio-common/vfprintf.c: Likewise.
1872 * stdio-common/vfscanf.c: Likewise.
1873 * stdlib/strfmon_l.c: Likewise.
1874 * sunrpc/openchild.c: Likewise.
1875 * sunrpc/xdr_stdio.c: Likewise.
1876 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1877 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1878
d6c33fda
RM
18792012-05-24 Roland McGrath <roland@hack.frob.com>
1880
c1487492
RM
1881 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1882
1883 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1884 in the third column, to generate for the shared library an IFUNC
1885 that uses _dl_vdso_vsym.
1886 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1887 * Makeconfig (object-suffixes-noshared): New variable.
1888
1889 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1890 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1891 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1892 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1893
d6c33fda
RM
1894 [BZ #14132]
1895 * include/sys/time.h (__gettimeofday): Remove macro.
1896 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1897 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1898 Remove INTDEF.
1899 (__gettimeofday): Add libc_hidden_def.
1900 (gettimeofday): Add libc_hidden_weak.
1901 * sysdeps/mach/gettimeofday.c: Likewise.
1902 * sysdeps/posix/gettimeofday.c: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1904 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1906 (__gettimeofday_internal): Remove strong_alias.
1907 (__gettimeofday): Add libc_hidden_def.
1908 (gettimeofday): Add libc_hidden_weak.
1909 * sysdeps/unix/syscalls.list (gettimeofday):
1910 Remove __gettimeofday_internal alias.
1911
b5a2bbe6
L
19122012-05-24 Daniel Jacobowitz <drow@false.org>
1913 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 [BZ #12495]
1916 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1917 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1918 (largebin_index_32_big): New.
1919 (largebin_index): Use it for 16-byte alignment.
1920 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1921 correction with front_misalign.
1922
cfba4fda
L
19232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1924
7f907421
L
1925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1929 Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1931 Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1933 Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1935 Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1937 Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1939 Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1941 Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1943 Likewise.
1944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1947 Likewise.
1948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1949 Likewise.
1950
cfba4fda
L
1951 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1952 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1953
80bad0cc
JM
19542012-05-24 Joseph Myers <joseph@codesourcery.com>
1955
7a25eb06
JM
1956 [BZ #10846]
1957 [BZ #14036]
1958 * math/libm-test.inc (exp_test): Add test from bug 14036.
1959 (pow_test): Add test from bug 10846.
1960
795405f9
JM
1961 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1962 and other flags.
1963 (special_function): Do not include flags in test name.
1964 (parse_args): Likewise.
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1967 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1968 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1970
80bad0cc
JM
1971 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1972 exceptions.
1973 * math/libm-test.inc ("Philosophy"): Update comment about
1974 exception testing.
1975 (UNDERFLOW_EXCEPTION): New macro.
1976 (UNDERFLOW_EXCEPTION_OK): Likewise.
1977 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1978 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1979 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1980 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1981 (INVALID_EXCEPTION_OK): Update value.
1982 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1983 (OVERFLOW_EXCEPTION_OK): Likewise.
1984 (IGNORE_ZERO_INF_SIGN): Likewise.
1985 (test_exceptions): Handle underflow exceptions.
1986 (acos_test): Update for underflow exception expectations.
1987 (cexp_test): Likewise.
1988 (clog_test): Likewise.
1989 (clog10_test): Likewise.
1990 (csqrt_test): Likewise.
1991 (ctan_test): Likewise.
1992 (ctanh_test): Likewise.
1993 (exp_test): Likewise.
1994 (exp10_test): Likewise.
1995 (exp2_test): Likewise.
1996 (expm1_test): Likewise.
1997 (fma_test): Likewise.
1998 (j0_test): Likewise.
1999 (jn_test): Likewise.
2000 (nexttoward_test): Likewise.
2001 (pow_test): Likewise.
2002 (scalbn_test): Likewise.
2003 (scalbln_test): Likewise.
2004 (tan_test): Likewise.
2005 (y1_test): Likewise.
2006 * sysdeps/i386/fpu/libm-test-ulps: Update.
2007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2008
9e0e3d0b
DM
20092012-05-23 David S. Miller <davem@davemloft.net>
2010
2011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2012 (__libc_sigaction): Remove unused local variables.
2013
ccd0a08f
L
20142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2017
62bdf9a6
PE
20182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2019
f8591f80
PE
2020 mktime: avoid signed integer overflow
2021 * time/mktime.c (__mktime_internal): Do not mishandle the case
2022 where diff == INT_MIN.
2023
94c7d826
PE
2024 mktime: simplify computation of average
2025 * time/mktime.c (ranged_convert): Use new time_t_avg function
2026 instead of rolling our own (probably-slower) code.
2027
ce73d683
PE
2028 mktime: do not assume signed right shift propagates sign bit
2029 * time/mktime.c (isdst_differ): New static function.
2030 (__mktime_internal): No need to normalize tm_isdst now.
2031 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2032 tm_isdst values.
2033
72a22e59
PE
2034 mktime: merge another wrapv change from gnulib
2035 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2036 from some compilers.
2037
68605433
PE
2038 mktime: remove incorrect attempt at unusual arithmetics
2039 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2040 The code didn't really work on such machines anyway.
2041 (TYPE_MINIMUM): Assume two's complement.
2042 (twos_complement_arithmetic): Verify that long_int and time_t
2043 are two's complement (or unsigned, in the latter case).
2044
03cf7fe3
PE
2045 mktime: check signed shifts on long_int and time_t, too
2046 * time/mktime.c (SHR): Check that shifts work as desired
2047 on the types long_int and time_t too, as SHR is used on
2048 such types.
2049
f04dfbc2
PE
2050 mktime: do not assume 'long' is wide enough
2051 * time/mktime.c (verify): Move decl up.
2052 (long_int): New type.
2053 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2054 to remove assumption in the code that 'long' is wide enough to
2055 store year values. This assumption is not true on x32 and on
2056 some non-glibc platforms.
2057
62bdf9a6
PE
2058 mktime: merge wrapv change from gnulib
2059 * time/mktime.c (WRAPV): New macro.
2060 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2061 (guess_time_tm, __mktime_internal): Do not assume that signed
2062 integer overflow wraps around; modern compilers generate code
2063 where this assumption is no longer valid.
2064
5e292e4f
L
20652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2068 Replace "jmp L(pseudo_end)" with "ret".
2069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2070 Likewise.
2071
8caf8c87
AJ
20722012-05-23 Andreas Jaeger <aj@suse.de>
2073
2074 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2075 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2076
1a09dc56
AJ
20772012-05-23 Andreas Jaeger <aj@suse.de>
2078 Maximilian Attems <max@stro.at>
2079
2080 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2081 New macros.
2082
1c87aba0
L
20832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2086 code so that pseudo_end is just ret and the stack pointer is
2087 correct also for static library in error case.
2088
40e45bd5
JM
20892012-05-23 Joseph Myers <joseph@codesourcery.com>
2090
c2670533
JM
2091 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2092 move to syscalls.list.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2097
40e45bd5
JM
2098 * manual/install.texi (Running make install): Do not mention Linux
2099 kernel version for which pt_chown is not needed.
2100 (Linux): Do not mention problems with nscd with 2.0 kernels.
2101 * INSTALL: Regenerated.
2102
be08eda5
AJ
21032012-05-23 Andreas Jaeger <aj@suse.de>
2104
2105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2106 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2107 macro.
2108 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2110 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2112 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2116 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2118 * sysdeps/unix/sysv/linux/bits/in.h
2119 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2120
a6a056bb
RM
21212012-05-22 Roland McGrath <roland@hack.frob.com>
2122
2123 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2124 (PREPARE_VERSION): Just use assert instead, it will be elided
2125 under [NDEBUG] anyway.
2126
c9009328
L
21272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * sysdeps/unix/sysv/linux/Makefile: Include
2130 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2131 (sysdep_routines): Remove sysctl.
c9009328
L
2132 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2133 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2136 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2137
73338355
AJ
21382012-05-22 Andreas Jaeger <aj@suse.de>
2139
2140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2141 that pseudo_end is just ret and the stack pointer is correct also
2142 for static library in error case.
2143
d44638b0
PP
21442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2145
2146 [BZ #14122]
2147 * nss/nsswitch.c (defconfig_entries): New variable.
2148 (__nss_database_lookup): Don't leak defconfig entries.
2149 (nss_parse_service_list): Don't leak on error paths.
2150 (free_database_entries): New function.
2151 (free_defconfig): New function.
2152 (free_mem): Move common code to free_database_entries.
2153
31a39bd8
L
21542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2155
da0331a8
L
2156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2157 Add arch_prctl.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2159
31a39bd8
L
2160 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2161 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2163 New macro.
2164 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2165 (INTERNAL_SYSCALL_TYPES): Likewise.
2166 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2167 (LOAD_REGS_TYPES_[1-6]): Likewise.
2168 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2169 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2170
45470df3
AZ
21712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172
2173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2174 copysignl for GLIBC_2_0.
2175 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2176 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2178 logbl for GLIBC_2_0.
2179 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2180 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2181
98a61bcb
L
21822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2183
a4f6e481
L
2184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2185 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2186
f63d5db6
L
2187 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2188 Use "neg %eax".
2189
98a61bcb
L
2190 * time/mktime.c: Update copyright years.
2191
95770f14
PE
21922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2193
6226efbd
PE
2194 mktime: merge comment-quoting-style change from gnulib
2195 * time/mktime.c: Quote 'like this' in comments.
2196 The GNU coding standards suggest that we no longer quote `like this',
2197 as "`" and "'" are typically rendered asymmetrically nowadays.
2198 The typical gnulib style is to quote 'like this' when quoting
2199 code, and "like this" when quoting English.
2200
b99e4f78
PE
2201 * time/mktime.c (compile-command): Add "-I.".
2202
643e01e6
PE
2203 mktime: merge mktime-internal.h change from gnulib
2204 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2205
2554247d
PE
2206 mktime: merge time_r change from gnulib
2207 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2208
826dd0ab
PE
2209 mktime: merge DEBUG change from gnulib
2210 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2211 case system <time.h> has a #define.
2212
bd83aabe
PE
2213 mktime: merge <sys/types.h> change from gnulib
2214 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2215 since <time.t> is now guaranteed to define time_t.
2216
95770f14
PE
2217 mktime: merge HAVE_CONFIG_H change from gnulib
2218 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2219
5e1a27a9
L
22202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2221
0e44a77e
L
2222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2223 Use "neg %eax".
2224
5e1a27a9
L
2225 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2226 __rlim_t cast.
2227 (struct rusage): Use anonymous union to pad each field to
2228 __syscall_slong_t.
2229
46259bec
DM
22302012-05-21 David S. Miller <davem@davemloft.net>
2231
2232 * Makefules (o-iterator): Remove .s cases.
2233 (compile-command.s): Delete.
2234 (COMPILE.s): Delete.
2235 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2236
59f0c22e
JM
22372012-05-21 Joseph Myers <joseph@codesourcery.com>
2238
2239 * configure.in (libc_cv_predef_stack_protector): Only consider
2240 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2241 * configure: Regenerated.
2242
20c07380
L
22432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2244
bbb3154b
L
2245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2246 New macro. Use R*LP on int and pointer.
2247 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2248 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2249 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2250 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2251
20c07380
L
2252 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2253 [__WORDSIZE_TIME64_COMPAT32] instead of
2254 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2255 (struct utmp): Likewise.
2256 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2257 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2258 Renamed to ...
2259 (__WORDSIZE_TIME64_COMPAT32): This.
2260 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2261 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2262 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2263 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2264 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2265 (__WORDSIZE_TIME64_COMPAT32): New macro.
2266
d8d1017e
AJ
22672012-05-21 Andreas Jaeger <aj@suse.de>
2268
2269 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2270 only if [SHARED]. Add prototype for __wcschr_ia32.
2271
6c7fb145
RM
22722012-05-21 Roland McGrath <roland@hack.frob.com>
2273
2274 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2275 of %rbp unmolested in the jmp_buf while mangling the low bits.
2276 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2277 unmolested high bits of %rbp while demangling the low bits.
2278 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2279
66274218
AJ
22802012-05-21 Andreas Jaeger <aj@suse.de>
2281
07c58f8f
AJ
2282 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2283 * sunrpc/svc_simple.c: Use it for registerrpc.
2284 * sunrpc/xcrypt.c: Use it for passwd2des.
2285
66274218
AJ
2286 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2287
61f65140
L
22882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2289
2290 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2291 Don't define if [__SYSCALL_WORDSIZE != 32].
2292 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2293 New macro.
2294
5fefb436
AJ
22952012-05-21 Bruno Haible <bruno@clisp.org>
2296 Andreas Jaeger <aj@suse.de>
2297
2298 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2299 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2300 inptr and inend for must_buffer_ch.
2301 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2302 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2303 * stdio-common/Makefile (tests): Remove bug15.
2304 (bug15-ENV): Remove macro.
2305 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2306 anymore.
2307
d8e272ab
AJ
23082012-05-19 Andreas Jaeger <aj@suse.de>
2309 Roland McGrath <roland@hack.frob.com>
2310
2311 * manual/contrib.texi: Completely rewritten. It contains now an
2312 alphabetical list of contributors and their contributions.
2313
4a56a162
RH
23142012-05-21 Richard Henderson <rth@twiddle.net>
2315
2316 * misc/getauxval.c (__getauxval): Use unsigned long int.
2317 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2318 (getauxval): Use unsigned long int.
2319
d024d23c
L
23202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2321
2322 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2323
cbc00a03
RM
23242012-05-21 Roland McGrath <roland@hack.frob.com>
2325
2326 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2327 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2328 __alignof__ (long double).
2329
478143fa
AZ
23302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
2332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2333
c7683a6d
RH
23342012-05-20 Richard Henderson <rth@twiddle.net>
2335
2336 * misc/getauxval.c: New file.
2337 * misc/sys/auxv.h: New file.
2338 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2339 (routines): Add getauxval.
2340 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2341 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2342 * elf/dl-sysdep.c (_dl_auxv): Remove.
2343 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2344 * elf/dl-support.c (_dl_auxv): New variable.
2345 (_dl_aux_init): Initialize it.
2346 * manual/startup.texi (Auxiliary Vector): New node.
2347 * sysdeps/generic/bits/hwcap.h: New file.
2348 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2349 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2350 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2351 * sysdeps/sparc/sysdep.h: ... here. Include it.
2352 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2355 Update.
c7683a6d
RH
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2364
a6f1845d
AZ
23652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2366
2367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2368
cbcbe830
DM
23692012-05-19 David S. Miller <davem@davemloft.net>
2370
2371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2372
e0b16cc2
JM
23732012-05-19 Joseph Myers <joseph@codesourcery.com>
2374
2375 [BZ #14123]
2376 * math/s_ccosh.c: Include <float.h>
2377 (__ccosh): Avoid internal overflow calculating sinh and cosh
2378 values before multiplying by sin and cos values.
2379 * math/s_ccoshf.c: Likewise.
2380 * math/s_ccoshl.c: Likewise.
2381 * math/s_csin.c: Likewise.
2382 * math/s_csinf.c: Likewise.
2383 * math/s_csinl.c: Likewise.
2384 * math/s_csinh.c: Likewise.
2385 * math/s_csinhf.c: Likewise.
2386 * math/s_csinhl.c: Likewise.
2387 * math/libm-test.inc (ccos_test): Add more tests.
2388 (ccosh_test): Likewise.
2389 (csin_test): Likewise.
2390 (csinh_test): Likewise.
2391 * sysdeps/i386/fpu/libm-test-ulps: Update.
2392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2393
6ad13e08
L
23942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2395
f66f0ce8
L
2396 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2397 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2398
6ad13e08
L
2399 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2400
b1d072a7
JM
24012012-05-19 Joseph Myers <joseph@codesourcery.com>
2402
2403 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2404 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2405 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2406 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2407 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2408 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2409 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2410 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2411 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2412 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2413 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2414 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2415 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2416 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2417 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2418 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2419 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2420 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2421 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2422 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2423 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2424 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2425 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2426 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2427 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2428 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2429 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2430 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2431 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2432 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2433 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2434
9eae47cb
AJ
24352012-05-18 Andreas Jaeger <aj@suse.de>
2436
2437 * csu/.gitignore: Delete.
2438
bb07f69f
L
24392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2440
2441 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2442 (timex): Use __syscall_slong_t.
2443
e6bdb741
AJ
24442012-05-18 Andreas Jaeger <aj@suse.de>
2445 Carlos O'Donell <carlos_odonell@mentor.com>
2446
2447 * manual/install.texi (Configuring and compiling): Update
2448 description about files modified in the source directory.
d6c33fda 2449 * INSTALL: Regenerated.
e6bdb741 2450
1b74487e
L
24512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2452
2453 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2454 value. Use "or" to set return value to -1.
2455 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2456 negate return value.
2457
a88b64b9
TMQMF
24582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2459
2460 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2461 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2462 failure if the compiler has Graphite support disabled.
2463 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2464 Likewise.
2465 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2466 CFLAGS-memmove.c): Likewise.
2467 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2468 Likewise.
2469
3707636e
L
24702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2471
610b8622
L
2472 * sysdeps/x86_64/x32/_itoa.h: New file.
2473
7cd195df
L
2474 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2475 getdents system call only if kernel and user dirents have the
2476 same d_ino and d_off.
2477
94b07d20
L
2478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2479 LLONG_MAX != LONG_MAX.
2480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2481 (_fitoa_word): Likewise.
2482
18298070
L
2483 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2484 years.
2485 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2486 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2487 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2488
553c7ea4
L
2489 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2490 include <bits/wordsize.h>. Check __x86_64__ instead of
2491 __WORDSIZE.
2492 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2493 if __x86_64__ is defined. Use anonymous union on fpstate.
2494
3707636e
L
2495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2496 anonymous union.
2497
b53ef01a
AS
24982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2499
37fb1dc0
AS
2500 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2501 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2502 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2503 Refer to _rtld_local_ro instead of _rtld_global_ro.
2504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2505 Likewise.
2506 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2507 Likewise.
2508 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2509 Likewise.
2510 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2511 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2512 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2513
b53ef01a
AS
2514 * sysdeps/powerpc/powerpc32/dl-machine.c
2515 (__elf_machine_runtime_setup) [PROF]: Don't reference
2516 _dl_prof_resolve.
2517
7a185db2
AJ
25182012-05-18 Andreas Jaeger <aj@suse.de>
2519
2520 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2521 function only available for GCCs before 3.4 since GCC 3.4
2522 introduced a builtin.
2523 (lrint): Likewise.
2524 (llrintf): Likewise.
2525 (llrint): Likewise.
2526 (fmaxf): Likewise.
2527 (fmax): Likewise.
2528 (fminf): Likewise.
2529 (fmin): Likewise.
2530 (rint): Likewise.
2531 (rintf): Likewise.
2532 (nearbyint): Likewise.
2533 (nearbyintf): Likewise.
2534 (ceil): Likewise.
2535 (ceilf): Likewise.
2536 (floor): Likewise.
2537 (floorf): Likewise.
2538
3e5aef87
L
25392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2540
428bd707
L
2541 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2542 on both fields and cast pointer to __syscall_ulong_t.
2543
3e5aef87
L
2544 * bits/types.h (__fsword_t): New type.
2545 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2546 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2547 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2548 (__FSWORD_T_TYPE): Likewise.
2549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2550 (__FSWORD_T_TYPE): Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2552 (__FSWORD_T_TYPE): Likewise.
2553 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2554 (__FSWORD_T_TYPE): Likewise.
2555 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2556 __SWORD_TYPE with __fsword_t.
2557 (statfs64): Likewise.
2558
1ba7c3dc
DM
25592012-05-17 David S. Miller <davem@davemloft.net>
2560
2561 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2562
59910343
AJ
25632012-05-17 Andreas Jaeger <aj@suse.de>
2564
2565 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2566 warning.
2567
2e4c1e9e
L
25682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2571
de7f5ce7
AJ
25722012-05-17 Andreas Jaeger <aj@suse.de>
2573
2574 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2575 when it is used.
2576
286abc3d
CM
25772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2578
2579 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2580
477cc68e
L
25812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2584 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2585
1a0994f5
CD
25862012-05-17 Andreas Jaeger <aj@suse.de>
2587 Carlos O'Donell <carlos_odonell@mentor.com>
2588
2589 [BZ #14059]
2590 * sysdeps/x86_64/multiarch/init-arch.h
2591 (bit_YMM_Usable): Rename to...
2592 (bit_AVX_Usable): ... this.
2593 (bit_FMA4_Usable): New macro.
2594 (bit_XMM_state): New macro.
2595 (bit_YMM_state): New macro.
2596 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2597 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2598 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2599 (CPUID_OSXSAVE): New macro.
2600 (CPUID_AVX): New macro.
2601 (CPUID_FMA4): New macro.
2602 (index_YMM_Usable): Rename to...
2603 (index_AVX_Usable): ... this.
2604 (HAS_AVX): Use HAS_ARCH_FEATURE.
2605 (HAS_FMA4): Likewise.
2606 (HAS_YMM_USABLE): Remove.
2607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2608 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2609 are present.
2610 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2611 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2612 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2613 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2614 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2615
0af797de
CM
26162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2617
2618 * math/libm-test.c: Support platforms without multiple rounding modes.
2619 * math/bug-nextafter.c: Support platforms without FP exceptions.
2620 * math/bug-nexttoward.c: Likewise.
2621 * math/test-fenv.c: Likewise.
2622 * math/test-misc.c: Likewise.
2623 * stdlib/bug-getcontext.c: Likewise.
2624
e39745ff
AJ
26252012-05-17 Andreas Jaeger <aj@suse.de>
2626
2627 * manual/examples/search.c (critter_cmp): Change signature to
2628 avoid warnings.
2629 * manual/string.texi (Collation Functions): Likewise.
2630
48970aba
L
26312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * bits/types.h: Fold copyright years.
2634 * bits/typesizes.h: Likewise.
2635 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2639 * time/time.h: Likewise.
2640
bedee953
PP
26412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2642
2643 [BZ #208]
2644 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2645 in instead of returning them. Return void.
2646 (__libc_mallinfo): Accumulate over all arenas.
2647 (__malloc_stats): Adjust for change in int_mallinfo interface.
2648
61653dfb
RM
26492012-05-16 Roland McGrath <roland@hack.frob.com>
2650
30b99d79
RM
2651 [BZ #10375]
2652 * configure.in (NM): Add AC_CHECK_TOOL for it.
2653 (libc_extra_cflags): New substituted variable.
2654 Check for -fstack-protector being used implicitly.
2655 * configure: Regenerated.
2656 * config.make.in (config-extra-cflags): New variable,
2657 gets @libc_extra_cflags@.
2658 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2659
61653dfb
RM
2660 [BZ #10375]
2661 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2662 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2663 * configure: Regenerated.
2664 * config.make.in (CPPUNDEFS): New substituted variable.
2665 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2666 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2667 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2668
661768bb
L
26692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2672 (mq_attr): Use __syscall_slong_t.
2673
d4261567
L
26742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2677 Check __x86_64__ instead of __WORDSIZE.
2678 (_STAT_VER_LINUX): Likewise.
2679 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2680 __syscall_ulong_t and __syscall_slong_t.
2681 (stat64): Likewise.
2682
cf3ff365
L
26832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2686
76cf3e4d
L
26872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2688
2689 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2690
a637753a
L
26912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2694 __syscall_ulong_t.
2695
d5e05119
L
2696 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2697 include <bits/wordsize.h>. Check __x86_64__ instead of
2698 __WORDSIZE.
2699 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2700 defined.
2701 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2702
f62ee380
L
2703 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2704 include <bits/wordsize.h>. Check __x86_64__ instead of
2705 __WORDSIZE.
2706 (user_regs_struct): Use "__extension__ unsigned long long"
2707 instead of "unsigned long" if __x86_64__ is defined.
2708 (user): Likewise. Pad after pointer field if __ILP32__ is
2709 defined.
2710
4e124ced
JM
27112012-05-16 Joseph Myers <joseph@codesourcery.com>
2712
6a3951a0
JM
2713 * configure.in (makeinfo): Require version 4.5 or later. Allow
2714 versions 5 to 9.
2715 * configure: Regenerated.
2716 * manual/install.texi (texinfo): Increase version requirement to
2717 4.5 or later.
2718 * INSTALL: Regenerated.
2719
4e124ced
JM
2720 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2721
953ca31a
L
27222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2725
617aca05
L
2726 * sysdeps/x86_64/x32/ffs.c: New file.
2727
5762f7ae
L
2728 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2729 __syscall_ulong_t.
2730 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2731 defined. Use __syscall_ulong_t.
2732 (shminfo): Use __syscall_ulong_t.
2733 (shm_info): Likewise.
2734
a26b6856
L
2735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2736 __syscall_ulong_t.
2737
cb2b9ef7
L
2738 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2739 <bits/wordsize.h>.
2740 (msgqnum_t): Use __syscall_ulong_t.
2741 (msglen_t): Likewise.
2742 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2743 __syscall_ulong_t.
2744
34683bb0
L
2745 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2746 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2747
84a68786
L
2748 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2749
48baa5f1
L
2750 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2751 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2752
180be88b
L
2753 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2754 __syscall_slong_t.
2755
5e90c8ad
L
2756 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2757 include <bits/wordsize.h>. Check __x86_64__ instead of
2758 __WORDSIZE.
2759
23dfb58b
L
2760 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2761 "unsigned long long int" if __x86_64__ is defined.
2762 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2763
ce5d54b0
L
2764 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2766 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2767
13dc9eac
L
2768 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2769 <stdint.h>.
2770 (GET_PC): Cast to uintptr_t first.
2771 (GET_FRAME): Likewise.
2772 (GET_STACK): Likewise.
2773
a7895d15
L
2774 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2775 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2779 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2780 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2781 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2782 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2796 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2798 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2803
656416c9
AS
28042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2805
5bd66283
AS
2806 * Makerules (+depfiles): Also collect depfiles from .oS in
2807 $(extra-objs).
2808 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2809 .oS, $(libnldbl-routines)).
2810
656416c9
AS
2811 * Makerules (native-compile-mkdep-flags): Define.
2812 * sunrpc/Makefile (extra-objs): Add $(addprefix
2813 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2814 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2815 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2816 calling $(make-target-directory).
2817
a46f2169
L
28182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 * bits/types.h (__snseconds_t): Removed.
2821 * time/time.h (struct timespec): Replace __snseconds_t with
2822 __syscall_slong_t.
2823 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2824 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2825 Likewise.
2826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2827 (__SNSECONDS_T_TYPE): Likewise.
2828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2829 (__SNSECONDS_T_TYPE): Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2831 (__SNSECONDS_T_TYPE): Likewise.
2832
6af6528b
L
28332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * sysdeps/mach/hurd/bits/typesizes.h
2836 (__SYSCALL_SLONG_TYPE): New macro.
2837 (__SYSCALL_ULONG_TYPE): Likewise.
2838
de986b56
L
28392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * bits/types.h (__syscall_slong_t): New type.
2842 (__syscall_ulong_t): Likewise.
2843
2844 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2845 (__SYSCALL_ULONG_TYPE): Likewise.
2846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2847 (__SYSCALL_SLONG_TYPE): Likewise.
2848 (__SYSCALL_ULONG_TYPE): Likewise.
2849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2850 (__SYSCALL_SLONG_TYPE): Likewise.
2851 (__SYSCALL_ULONG_TYPE): Likewise.
2852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2853 (__SYSCALL_SLONG_TYPE): Likewise.
2854 (__SYSCALL_ULONG_TYPE): Likewise.
2855
85736dc7
L
28562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2859 Add sigaltstack-offsets.sym.
2860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2861 <sigaltstack-offsets.h>.
2862 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2863 longjmp_msg pointer.
2864 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2865 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2866 signal stack.
2867 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2868
cc03b296
JM
28692012-05-15 Joseph Myers <joseph@codesourcery.com>
2870
a9538892
JM
2871 * elf/stackguard-macros.h: Remove file.
2872 * sysdeps/generic/stackguard-macros.h: New file.
2873 * sysdeps/i386/stackguard-macros.h: Likewise.
2874 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2875 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2876 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2877 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2878 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2879 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2880 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2881 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2882 <elf/stackguard-macros.h>.
2883
cc03b296
JM
2884 [BZ #14109]
2885 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2886 __aligned__ in attribute.
2887 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2888 (gregset_t): Likewise.
2889
93171016
L
28902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2893 * sysdeps/x86_64/64/Implies-after: Here. New file.
2894 * sysdeps/x86_64/x32/Implies-after: New file.
2895
d86813a0
L
28962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2899 and access return value for _dl_profile_fixup. Use R10_LP to
2900 load frame size.
2901
2953ec75
L
29022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2905
3b550e9e
L
29062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2909 * sysdeps/x86_64/x32/sysdep.h: New file.
2910
eda41706
L
29112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2914 * sysdeps/x86_64/setjmp.S: Likewise.
2915
9ea01d93
AZ
29162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2919 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2920 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2922 remove unused global constant.
2923
02a91938
CM
29242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2925
2926 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2927 include of <not-cancel.h>.
2928
6540185f
RM
29292012-05-15 Roland McGrath <roland@hack.frob.com>
2930
2931 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2932
509072a0
AJ
29332012-05-15 Jeff Law <law@redhat.com>
2934 Andreas Jaeger <aj@suse.de>
2935
2936 [BZ #13594]
2937 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2938 out from...
2939 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2940 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2941 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2942 code changing __hst_map_handle.map.
2943
ba75122d
RM
29442012-05-15 Roland McGrath <roland@hack.frob.com>
2945
2946 * configure.in (sysnames): Look for Implies-before and Implies-after
2947 files.
2948 * configure: Regenerated.
2949
890d8bd8
L
29502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2953 8-byte data alignment with LP_SIZE alignment.
2954
f6ee6623
L
29552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2958 into R10_LP.
2959
ea2626f6
L
29602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2961
2962 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2963
085f715e
L
29642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2965
2966 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2968 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2969 Likewise.
2970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2971
be8498fc
L
29722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2975 (stackinfo_sub_sp): Likewise.
2976
70bc83b9
L
29772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2980 RAX_LP.
2981
9bc0b730
L
29822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2985 into R*_LP.
2986
6d2850e7
L
29872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2990 sizes into R*_LP.
2991
3cb84561
L
29922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2995
54e2ed81
L
29962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2997
2998 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2999 into R11_LP and load __x86_64_shared_cache_size_half into
3000 R8_LP.
3001
8a17f349
L
30022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3005 R8_LP.
3006
777b1eea
AZ
30072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008
3009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3010 logb for POWER7.
3011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3012 logbf for POWER7.
3013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3014 logbl for POWER7.
3015 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3016 powerpc32/power7/fpu/s_logb.c via #include.
3017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3018 powerpc32/power7/fpu/s_logbf.c via #include.
3019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3020 powerpc32/power7/fpu/s_logbl.c via #include.
3021
d20d4ac2
JM
30222012-05-15 Joseph Myers <joseph@codesourcery.com>
3023
3024 * README.libm: Remove file.
3025
6cdef1ab
L
30262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3029 count for x32. Use R*_LP and omit operand-size suffix.
3030
0b254d8f
L
30312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3032
3033 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3034 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3035 * sysdeps/x86_64/x32/shlib-versions: New file.
3036
ceb809dc
RM
30372012-05-14 Roland McGrath <roland@hack.frob.com>
3038
3039 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3040 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3041 Use _dl_fatal_printf instead.
3042
37f1abd4
JM
30432012-05-14 Joseph Myers <joseph@codesourcery.com>
3044
3045 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3046 set if not set by the user. Do not allow for being unset.
3047 * sysdeps/unix/sysv/linux/configure: Regenerated.
3048
11de3a33
L
30492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3050
3051 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3052 the `q' suffix from lea and replace .quad with ASM_ADDR.
3053
e02f153a
L
30542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3057 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3058 instead of $17.
3059 (PTR_DEMANGLE): Likewise.
3060
520ae0fd
L
30612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3062
3063 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3064 (LP_OP): Likewise.
3065 (ASM_ADDR): Likewise.
3066 (RAX_LP): Likewise.
3067 (RBP_LP): Likewise.
3068 (RBX_LP): Likewise.
3069 (RCX_LP): Likewise.
3070 (RDI_LP): Likewise.
3071 (RSI_LP): Likewise.
3072 (RSP_LP): Likewise.
3073 (R8_LP): Likewise.
3074 (R9_LP): Likewise.
3075 (R10_LP): Likewise.
3076 (R10_LP): Likewise.
3077 (R11_LP): Likewise.
3078 (R12_LP): Likewise.
3079 (R13_LP): Likewise.
3080 (R14_LP): Likewise.
3081 (R15_LP): Likewise.
3082
b985be81
L
30832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/x86_64/x32/dl-machine.h: New file.
3086
6a4888ff
AJ
30872012-05-14 Andreas Jaeger <aj@suse.de>
3088
3089 * manual/Makefile (subdir): Remove export of subdir.
3090 (all): Remove target.
3091 (.PHONY): Remove all from list.
3092 (mkinstalldirs): Remove.
3093 (.PHONY): Remove installdirs from list.
3094 ($(inst_infodir)/libc.info): Use make-target-directory.
3095 (installdirs): Remove.
3096 (subdir_%): Remove.
3097 (glibc-targets): Remove.
3098 (lib): Remove.
3099 (stubs): Remove.
3100 ($(objpfx)stubs ../po/manual.pot): Remove.
3101 ($(objpfx)stamp%): Remove.
3102 (make-target-directory): Remove.
3103 (subdir_install): Remove.
3104 (routines): Remove.
3105 (aux): Remove.
3106 (sources): Remove.
3107 (objects): Remove.
3108 (headers): Remove.
3109
3110 [BZ #13750]
3111 * manual/.gitignore: Remove, it's not needed anymore.
3112 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3113 all files in it.
3114 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3115 directory.
3116 (texis): Renamed to $(objpfx)texis.
3117 (texis-path): New, contains path to generated files.
3118 (chapters.%): Use texis-path for complete path, add extra argument
3119 libc-texinfo.sh.
3120 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3121 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3122 (summary,texi, stamp-summary): Use complete path of
3123 files. Generate files in build dir.
3124 (dir-add.texi): Build in build dir.
3125 (libm-err.texi,stamp-libm-err): Likewise.
3126 (version.texi, stamp-version): Likewise.
3127 (.%c.texi): Likewise.
3128 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3129 (mostlyclean): Remove target.
3130 (realclean): Remove target.
3131 (generated): Add new variable with contents from mostlyclean and
3132 realclean, remove entries duplicated in common-mostlyclean, add
3133 stamp-libm-err and stamp-version.
3134 (generated-dirs): Add libc directory.
3135 ($(inst_infodir)/libc.info): Install files from build dir.
3136
3137 * manual/install.texi (Configuring and compiling): Adjust since
3138 the info files are not part of the tar ball anymore.
3139
7ac77294
AJ
31402012-05-14 Andreas Jaeger <aj@suse.de>
3141
3142 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3143 variable.
3144
ffb7875d
JM
31452012-05-14 Joseph Myers <joseph@codesourcery.com>
3146
3147 [BZ #13717]
3148 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3149 to 2.2.0 where earlier.
3150 * sysdeps/unix/sysv/linux/configure: Regenerated.
3151 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3152 Remove conditional code.
3153 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3154 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3155 Remove conditional code.
3156 [!__NR_lchown]: Likewise.
3157 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3158 [__NR_lchown]: Likewise.
3159 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3160 comment referencing __ASSUME_LCHOWN_SYSCALL.
3161 * sysdeps/unix/sysv/linux/i386/sigaction.c
3162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3164 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3165 Remove conditional code.
3166 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3167 (__protocol_available): Remove #if 0 code.
3168 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3169 conditional code.
3170 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3171 * sysdeps/unix/sysv/linux/kernel-features.h
3172 (__ASSUME_GETCWD_SYSCALL): Don't define.
3173 (__ASSUME_REALTIME_SIGNALS): Likewise.
3174 (__ASSUME_PREAD_SYSCALL): Likewise.
3175 (__ASSUME_PWRITE_SYSCALL): Likewise.
3176 (__ASSUME_POLL_SYSCALL): Likewise.
3177 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3178 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3179 non-SPARC.
3180 (__ASSUME_SIOCGIFNAME): Don't define.
3181 (__ASSUME_MSG_NOSIGNAL): Likewise.
3182 (__ASSUME_SENDFILE): Define unconditionally.
3183 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3184 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3185 conditional code.
3186 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3187 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3188 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3189 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3190 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3191 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3192 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3197 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3203 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3206 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3217 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3218 Remove conditional code.
3219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3220 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3221 Remove conditional code.
3222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3223 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3224 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3225 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3226 Remove conditional code.
3227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3228 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3229 Remove conditional code.
3230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3231 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3232 Remove conditional code.
3233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3234 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3235 Remove conditional code.
3236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3237 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3238 Remove conditional code.
3239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3240 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3243 * sysdeps/unix/sysv/linux/sigaction.c
3244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3246 * sysdeps/unix/sysv/linux/sigpending.c
3247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3249 * sysdeps/unix/sysv/linux/sigprocmask.c
3250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3252 * sysdeps/unix/sysv/linux/sigsuspend.c
3253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3255 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3256 (__libc_missing_rt_sigs): Remove.
3257 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3258 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3259 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3260 Remove conditional code.
3261 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3262 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3263 return 1.
3264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3265 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3266 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3267 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3268
1bfb7291
AJ
32692012-05-14 Andreas Jaeger <aj@suse.de>
3270
caae5a81
AJ
3271 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3272 it's not used in glibc.
3273 (__coshm1): Likewise.
3274 (__acosh1p): Likewise.
3275 (__sgn): Likewise.
3276
1bfb7291
AJ
3277 * manual/string.texi (Copying and Concatenation): Add missing
3278 variable in concat example.
3279 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3280
c044d724
L
32812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3282
144c5467 3283 [BZ #14103]
c044d724
L
3284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3285 __builtin_clzl with __builtin_clzll.
3286
2523c62b
L
32872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 [BZ #14104]
3290 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3291 libc_freeres_ptr.
3292
d7bb4c42
LD
32932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3294
3295 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3296 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3297 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3298 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3299
9dc4e1fb
MF
33002012-05-14 Mike Frysinger <vapier@gentoo.org>
3301
3302 * NEWS: Update ia64 info.
3303
c7df0112
AS
33042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3305
3306 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3307 used as bcopy.
3308
dc70356c
TS
33092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3310
3311 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3312 * sysdeps/unix/syscalls.list (dup3): Likewise.
3313 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3314 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3315
9fb1a21f
L
33162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3319 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3320
4822a2a5
L
33212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3322
3323 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3324 thread pointer.
3325 (TLS_IE): Use mov/add instead of movq/addq to load thread
3326 pointer.
3327 (TLS_GD_PREFIX): New.
3328 (TLS_GD): Use it.
3329
842b81d6
DM
33302012-05-11 David S. Miller <davem@davemloft.net>
3331
3332 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3333 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3334 (_FPU_SETCW): Likewise.
3335
1cf463cd
L
33362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3339 is 32-byte aligned.
3340
60cc4a18
AS
33412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 [BZ #11837]
3344 * iconvdata/gb18030.c: Update tables.
3345 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3346 characters specially.
3347 (BODY for TO_LOOP): Add encoding of missing ranges.
3348
febb44a4
TS
33492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3350
3351 [BZ #13673]
3352 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3353 * sysdeps/mach/hurd/dup3.c: Likewise.
3354 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3355 * sysdeps/powerpc/memmove.c:: Likewise.
3356
0a10fb9e
L
33572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3360 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3361
df8a552f
L
33622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3363
3364 * elf/elf.h (R_X86_64_RELATIVE64): New.
3365 (R_X86_64_NUM): Updated.
3366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3367 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3368 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3369 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3370 tst-quad1pie tst-quad2pie
3371 (modules-names): Add tst-quadmod1 tst-quadmod2.
3372 ($(objpfx)tst-quad1): New dependency.
3373 ($(objpfx)tst-quad2): Likewise.
3374 ($(objpfx)tst-quad1pie): Likewise.
3375 ($(objpfx)tst-quad2pie): Likewise.
3376 * sysdeps/x86_64/tst-quad1.c: New file.
3377 * sysdeps/x86_64/tst-quad1pie.c: New file.
3378 * sysdeps/x86_64/tst-quad2.c: Likewise.
3379 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3380 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3381 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3382 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3383 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3384
f34d6f84
ST
33852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3386
f42d41d1
ST
3387 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3388 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3389 * streams/stropts.h (t_scalar_t): Define type.
3390
3c3571fc
ST
3391 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3392 (_PATH_PRESERVE): Set to "/var/lib".
3393 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3394
61f06bd3
ST
3395 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3396 instead of int.
3397
918d4d71
ST
3398 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3399 if __dir_mkfile succeeded.
3400
f34d6f84
ST
3401 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3402 checking for _hurd_dtablesize. Unlock it right after having
3403 finished _hurd_dtable allocation.
3404
10589b4a
TS
34052012-05-10 Thomas Schwinge <thomas@schwinge.name>
3406
674cdbc7
TS
3407 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3408 * sysdeps/mach/hurd/configure: Regenerated.
3409 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3410 special-casing to...
3411 * sysdeps/gnu/configure.in: ... this new file.
3412 * sysdeps/unix/sysv/linux/configure: Regenerated.
3413 * sysdeps/gnu/configure: New generated file.
3414
8e41b99f
TS
3415 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3416 for Linux: use nsec instead of usec, as well as:
3417 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3418 members of type struct timespec.
3419 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3420 New macros.
3421 (struct stat64): Likewise.
3422 (_STATBUF_ST_NSEC): New macro.
3423 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3424
10589b4a
TS
3425 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3426 __strtoul_internal rather than strtoul.
3427
63643c85
PT
34282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3429
3430 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3431 and reject them.
3432
3faebe6a
ST
34332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3434
3435 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3436 which preserves existing values.
3437 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3438
c6474b07
PT
34392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3440
3441 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3442 TIMEOUT values. Return EINVAL for NFDS values either negative or
3443 greater than FD_SETSIZE.
3444
1043890b
ST
34452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3446
3447 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3448 allocated, call __vm_protect to finish enabling the existing space, and
3449 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3450 allocate the remainder.
3451
37ed8b9b
PT
34522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3453
3454 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3455 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3456
db653660
ST
34572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3458
37ed8b9b
PT
3459 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3460 sysdeps/mach/hurd/readlink.c.
b29d4053 3461
db653660
ST
3462 * posix/tst-sysconf.c (posix_options): Only use
3463 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3464 _POSIX_SYNCHRONIZED_IO when they are defined
3465 * sysdeps/mach/hurd/bits/posix_opt.h:
3466 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3467 (_XOPEN_REALTIME): Undefine macro.
3468 (_XOPEN_REALTIME_THREADS): Undefine macro.
3469 (_XOPEN_SHM): Undefine macro.
3470 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3471 macro to -1.
3472 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3473 macro to -1.
3474 (_POSIX_ASYNC_IO): Undefine macro.
3475 (_POSIX_PRIORITIZED_IO): Undefine macro.
3476 (_POSIX_SPIN_LOCKS): Define macro to -1.
3477
ee16e894
ST
3478 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3479 SA_NODEFER, SA_RESETHAND.
3480 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3481 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3482 F_DUPFD_CLOEXEC.
3483
6103ae3b
TS
34842012-05-10 Thomas Schwinge <thomas@schwinge.name>
3485
3486 * elf/Makefile (pldd-modules): Define unconditionally.
3487
80b4e5f3
TS
34882012-05-10 Thomas Schwinge <thomas@schwinge.name>
3489
3490 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3491
edadcbd6
ST
34922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3493
3494 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3495 Return ENOENT when name is empty.
3496 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3497
80694780
TS
34982012-05-10 Thomas Schwinge <thomas@schwinge.name>
3499
1792c087
TS
3500 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3501
80694780
TS
3502 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3503
6b645f0d
ST
35042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3505
80694780
TS
3506 Fix mlock in all cases except non-readable pages.
3507 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3508 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3509
6b645f0d
ST
3510 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3511 (__mkdir): When path is `/', just fail with EEXIST.
3512 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3513
e468f8a3
TS
35142012-05-10 Thomas Schwinge <thomas@schwinge.name>
3515
3516 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3517 <sys/uio.h> (for writev).
3518 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3519 and <sys/param.h> (for MIN).
3520
a4186cff
PT
35212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3522
3523 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3524 REQUESTED_TIME. Properly set the remaining time and return EINTR
3525 if interrupted.
3526
510bbf14
TS
35272012-05-10 Thomas Schwinge <thomas@schwinge.name>
3528
3529 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3530 Depend on against $(link-rpcuserlibs).
3531
5d5722e8
ST
35322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3533
a4186cff
PT
3534 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3535 (__libc_stack_end): Do not use attribute_relro.
3536 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3537 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3538 to libthread-provided value.
a4186cff
PT
3539 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3540 attribute_relro.
5d5722e8 3541
37233df9
TS
35422012-05-10 Thomas Schwinge <thomas@schwinge.name>
3543
be971a2b
TS
3544 [BZ #3748]
3545 * bits/libc-lock.h (__libc_once_get): New macro.
3546 * sysdeps/mach/bits/libc-lock.h: Likewise.
3547 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3548 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3549 instead of using implementation details.
3550
37233df9
TS
3551 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3552 * libio/freopen.c: Likewise.
3553 * libio/freopen64.c: Likewise.
3554 * misc/syslog.c: Likewise.
3555 * nscd/connections.c: Likewise.
3556 * nscd/netgroupcache.c: Likewise.
3557 * sysdeps/posix/getcwd.c: Likewise.
3558
38de94a5
RM
35592012-05-10 Roland McGrath <roland@hack.frob.com>
3560
3561 * math/w_ilogbf.c: Add #include <limits.h>.
3562
67530489
ST
35632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3564
a4186cff 3565 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3566 path instead of returning without unlocking.
3567
67530489
ST
3568 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3569 immediate-write ioctls.
3570 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3571
5aa3a74a
TS
35722012-05-10 Thomas Schwinge <thomas@schwinge.name>
3573
18bad2ae
TS
3574 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3575 __builtin_frame_address instead of making assumptions about the
3576 location of the return address relative to DATA. Force early load of
3577 the return address.
3578 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3579 __builtin_frame_address.
3580
5aa3a74a
TS
3581 dup3 for GNU Hurd.
3582 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3583 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3584 implement dup3 and do some further code clean-ups.
3585 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3586 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3587
ecd0de9a
ST
35882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3589
cd9fa985
ST
3590 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3591
a4186cff
PT
3592 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3593 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3594 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3595 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3596 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3597 d->port.lock.
802ca5a5 3598
a4186cff
PT
3599 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3600 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3601 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3602
bcf55240
TS
36032012-05-10 Thomas Schwinge <thomas@schwinge.name>
3604
6960eb42
TS
3605 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3606 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3607 definitions.
3608
eb43375f
TS
3609 accept4 for GNU Hurd.
3610 * include/sys/socket.h (__libc_accept4): New prototype.
3611 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3612 to implement __libc_accept4.
3613 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3614 __libc_accept4.
3615 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3616
bcf55240
TS
3617 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3618 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3619 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3620 signal-defines.sym.
3621
6178c55b
ST
36222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3623
a4186cff 3624 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3625
6f080c2f
TS
36262012-05-10 Thomas Schwinge <thomas@schwinge.name>
3627
3628 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3629 assertion on O_CLOEXEC flag.
3630 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3631 * hurd/intern-fd.c: Likewise.
3632 * hurd/port2fd.c: Likewise.
3633
bcfe3a54
ST
36342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3635
3636 [BZ #3906]
3637 * bits/in.h (IPV6_PKTINFO): Define new macro.
3638 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3639
89c9aa49
AZ
36402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 [BZ #13954]
3643 [BZ #13955]
3644 [BZ #13956]
3645 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3646 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3647 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3648 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3650 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3651 * math/libm-test.inc (logb_test) : Additional logb tests.
3652
021db4be
AJ
36532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3654 Andreas Jaeger <aj@suse.de>
3655
3656 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3657 * configure: Regenerated.
3658 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3659 * config.make.in (link-obsolete-rpc): New substituted variable.
3660 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3661 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3662 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3663 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3664 so that libc.a contains the symbols.
3665 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3666 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3667 * sunrpc/auth_none.c: Likewise.
3668 * sunrpc/auth_unix.c: Likewise.
3669 * sunrpc/authdes_prot.c: Likewise.
3670 * sunrpc/authuxprot.c: Likewise.
3671 * sunrpc/clnt_gen.c: Likewise.
3672 * sunrpc/clnt_perr.c: Likewise.
3673 * sunrpc/clnt_raw.c: Likewise.
3674 * sunrpc/clnt_simp.c: Likewise.
3675 * sunrpc/clnt_tcp.c: Likewise.
3676 * sunrpc/clnt_udp.c: Likewise.
3677 * sunrpc/clnt_unix.c: Likewise.
3678 * sunrpc/des_crypt.c: Likewise.
3679 * sunrpc/des_soft.c: Likewise.
3680 * sunrpc/get_myaddr.c: Likewise.
3681 * sunrpc/key_call.c: Likewise.
3682 * sunrpc/key_prot.c: Likewise.
3683 * sunrpc/netname.c: Likewise.
3684 * sunrpc/pm_getmaps.c: Likewise.
3685 * sunrpc/pm_getport.c: Likewise.
3686 * sunrpc/pmap_clnt.c: Likewise.
3687 * sunrpc/pmap_prot.c: Likewise.
3688 * sunrpc/pmap_prot2.c: Likewise.
3689 * sunrpc/pmap_rmt.c: Likewise.
3690 * sunrpc/publickey.c: Likewise.
3691 * sunrpc/rpc_cmsg.c: Likewise.
3692 * sunrpc/rpc_common.c: Likewise.
3693 * sunrpc/rpc_dtable.c: Likewise.
3694 * sunrpc/rpc_prot.c: Likewise.
3695 * sunrpc/rpc_thread.c: Likewise.
3696 * sunrpc/rtime.c: Likewise.
3697 * sunrpc/svc.c: Likewise.
3698 * sunrpc/svc_auth.c: Likewise.
3699 * sunrpc/svc_raw.c: Likewise.
3700 * sunrpc/svc_run.c: Likewise.
3701 * sunrpc/svc_tcp.c: Likewise.
3702 * sunrpc/svc_udp.c: Likewise.
3703 * sunrpc/svc_unix.c: Likewise.
3704 * sunrpc/svcauth_des.c: Likewise.
3705 * sunrpc/xcrypt.c: Likewise.
3706 * sunrpc/xdr.c: Likewise.
3707 * sunrpc/xdr_array.c: Likewise.
3708 * sunrpc/xdr_float.c: Likewise.
3709 * sunrpc/xdr_intXX_t.c: Likewise.
3710 * sunrpc/xdr_mem.c: Likewise.
3711 * sunrpc/xdr_rec.c: Likewise.
3712 * sunrpc/xdr_ref.c: Likewise.
3713 * sunrpc/xdr_sizeof.c: Likewise.
3714 * sunrpc/xdr_stdio.c: Likewise.
3715
b5c086a2
RM
37162012-05-10 Roland McGrath <roland@hack.frob.com>
3717
3718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3719 change. Update copyright years.
3720
6d74dd09
JM
37212012-05-10 Joseph Myers <joseph@codesourcery.com>
3722
3723 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3724
28e72501
MK
37252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3726 Joseph Myers <joseph@codesourcery.com>
3727 Paul Pluzhnikov <ppluzhnikov@google.com>
3728
3729 [BZ #14012]
3730 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3731 requiring rpcgen.
3732 [cross-compiling] (extra-libs): Likewise.
3733 [cross-compiling] (extra-libs-others): Likewise.
3734 [cross-compiling] (librpcsvc-routines): Likewise.
3735 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3736 [cross-compiling] (omit-deps): Likewise.
3737 (sunrpc-CPPFLAGS): New variable.
3738 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3739 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3740 (cross-rpcgen-objs): New variable.
3741 (extra-objs): Append $(cross-rpcgen-objs).
3742 ($(cross-rpcgen-objs)): New rule.
3743 ($(objpfx)cross-rpcgen): Likewise.
3744 (rpcgen-cmd): Define to use $(built-program-file). Expand
3745 comment.
3746 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3747 ($(objpfx)x%.stmp): Likewise.
3748 * sunrpc/proto.h [IS_IN_build] (_): Define.
3749 [IS_IN_build] (_libc_intl_domainname): Likewise.
3750
c8c59454
L
37512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3754 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3755 and R_X86_64_TPOFF64.
3756
6f27cd16
JM
37572012-05-10 Joseph Myers <joseph@codesourcery.com>
3758
3759 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3760 sysdeps/unix/sysv/syscalls.list.
3761 (stime): Likewise.
3762 (utime): Likewise.
3763 * sysdeps/unix/sysv/syscalls.list: Remove file.
3764
02467e1c
PE
37652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3766
3767 [BZ #3440]
3768 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3769 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3770 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3771 (__LC_IDENTIFICATION): Make these macros useful in #if
3772 expressions, as required by C99.
3773
da392631
AS
37742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3775
3776 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3777 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3778 after this.
3779
8115f29b
L
37802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 * stdlib/longlong.h: Updated from GCC.
3783
bdd74070
AJ
37842012-05-09 Andreas Jaeger <aj@suse.de>
3785
edfe0dbe
AJ
3786 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3787 default is first entry.
3788 (run_mode): Set type.
3789 (main): Remove informal message about syslog.
3790 (options): Fix typo.
3791
bcfe3a54
ST
3792 [BZ #14053]
3793 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3794 to asm.
bcfe3a54
ST
3795 (lrint): Likewise.
3796 (llrintf): Likewise.
3797 (llrint): Likewise.
3798 (rint): Likewise.
3799 (rintf): Likewise.
3800 (nearbyint): Likewise.
3801 (nearbyintf): Likewise.
bdd74070 3802
91d8d69e
AJ
38032012-05-09 Andreas Jaeger <aj@suse.de>
3804 Pedro Alves <palves@redhat.com>
3805
3806 * nscd/nscd.c (run_mode): Use enum.
3807 (main): Cleanup coding style issue.
3808
bb90b80b
AJ
38092012-05-09 Alexandre Oliva <aoliva@redhat.com>
3810 Andreas Jaeger <aj@suse.de>
3811
bcfe3a54
ST
3812 * nscd/nscd.c (go_background): Replaced with...
3813 (run_mode): ... this.
bb90b80b 3814 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3815 (options): Add -F --foreground.
3816 (main): Implement it.
3817 (parse_opt): Parse it.
bb90b80b 3818
1a4b75a1
AJ
38192012-05-09 Andreas Jaeger <aj@suse.de>
3820
3821 [BZ #14083]
3822 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3823 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3824 -Wconversion warning.
3825 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3826 Likewise.
3827
b1cc2472
JM
38282012-05-09 Joseph Myers <joseph@codesourcery.com>
3829
3830 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3831 == 0.
3832 (LC_ALL): Use macro-int-constant.
3833 (LC_COLLATE): Likewise.
3834 (LC_CTYPE): Likewise.
3835 (LC_MESSAGES): Likewise.
3836 (LC_MONETARY): Likewise.
3837 (LC_NUMERIC): Likewise.
3838 (LC_TIME): Likewise.
3839 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3840 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3842 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3843 Specify type.
3844 [C99-based standards] (float_t): Expect type.
3845 [C99-based standards] (double_t): Expect type.
3846 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3847 type.
3848 [C99-based standards] (HUGE_VALL): Likewise.
3849 [C99-based standards] (INFINITY): Likewise.
3850 [C99-based standards] (NAN): Likewise.
3851 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3852 [C99-based standards] (FP_NAN): Likewise.
3853 [C99-based standards] (FP_NORMAL): Likewise.
3854 [C99-based standards] (FP_SUBNORMAL): Likewise.
3855 [C99-based standards] (FP_ZERO): Likewise.
3856 [C99-based standards] (FP_FAST_FMA): Use
3857 optional-macro-int-constant. Specify type. Require == 1.
3858 [C99-based standards] (FP_FAST_FMAF): Likewise.
3859 [C99-based standards] (FP_FAST_FMAL): Likewise.
3860 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3861 [C99-based standards] (FP_ILOGBNAN): Likewise.
3862 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3863 Specify type.
3864 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3865 [C99-based standards] (math_errhandling): Specify type.
3866 [ISO99 || ISO11] (signgam): Do not allow.
3867 [non-C99-based standards] (copysignf): Do not allow.
3868 [non-C99-based standards] (exp2f): Likewise.
3869 [non-C99-based standards] (log2f): Likewise.
3870 [non-C99-based standards] (modff): Allow.
3871 [non-C99-based standards] (erff): Do not allow.
3872 [non-C99-based standards] (erfcf): Likewise.
3873 [non-C99-based standards] (gammaf): Likewise.
3874 [non-C99-based standards] (hypotf): Likewise.
3875 [non-C99-based standards] (j0f): Likewise.
3876 [non-C99-based standards] (j1f): Likewise.
3877 [non-C99-based standards] (jnf): Likewise.
3878 [non-C99-based standards] (lgammaf): Likewise.
3879 [non-C99-based standards] (tgammaf): Likewise.
3880 [non-C99-based standards] (y0f): Likewise.
3881 [non-C99-based standards] (y1f): Likewise.
3882 [non-C99-based standards] (ynf): Likewise.
3883 [non-C99-based standards] (isnanf): Likewise.
3884 [non-C99-based standards] (acoshf): Likewise.
3885 [non-C99-based standards] (asinhf): Likewise.
3886 [non-C99-based standards] (atanhf): Likewise.
3887 [non-C99-based standards] (cbrtf): Likewise.
3888 [non-C99-based standards] (expm1f): Likewise.
3889 [non-C99-based standards] (ilogbf): Likewise.
3890 [non-C99-based standards] (log1pf): Likewise.
3891 [non-C99-based standards] (logbf): Likewise.
3892 [non-C99-based standards] (nextafterf): Likewise.
3893 [non-C99-based standards] (remainderf): Likewise.
3894 [non-C99-based standards] (rintf): Likewise.
3895 [non-C99-based standards] (scalbf): Likewise.
3896 [non-C99-based standards] (copysignl): Likewise.
3897 [non-C99-based standards] (exp2l): Likewise.
3898 [non-C99-based standards] (log2l): Likewise.
3899 [non-C99-based standards] (modfl): Allow.
3900 [non-C99-based standards] (erfl): Do not allow.
3901 [non-C99-based standards] (erfcl): Likewise.
3902 [non-C99-based standards] (gammal): Likewise.
3903 [non-C99-based standards] (hypotl): Likewise.
3904 [non-C99-based standards] (j0l): Likewise.
3905 [non-C99-based standards] (j1l): Likewise.
3906 [non-C99-based standards] (jnl): Likewise.
3907 [non-C99-based standards] (lgammal): Likewise.
3908 [non-C99-based standards] (tgammal): Likewise.
3909 [non-C99-based standards] (y0l): Likewise.
3910 [non-C99-based standards] (y1l): Likewise.
3911 [non-C99-based standards] (ynl): Likewise.
3912 [non-C99-based standards] (isnanl): Likewise.
3913 [non-C99-based standards] (acoshl): Likewise.
3914 [non-C99-based standards] (asinhl): Likewise.
3915 [non-C99-based standards] (atanhl): Likewise.
3916 [non-C99-based standards] (cbrtl): Likewise.
3917 [non-C99-based standards] (expm1l): Likewise.
3918 [non-C99-based standards] (ilogbl): Likewise.
3919 [non-C99-based standards] (log1pl): Likewise.
3920 [non-C99-based standards] (logbl): Likewise.
3921 [non-C99-based standards] (nextafterl): Likewise.
3922 [non-C99-based standards] (remainderl): Likewise.
3923 [non-C99-based standards] (rintl): Likewise.
3924 [non-C99-based standards] (scalbl): Likewise.
3925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3926 [non-C99-based standards] (FP_*): Do not allow.
3927 [C99-based standards] (FP_*): Change to
3928 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3929 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3930 allow.
3931 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3932 (SIG_ERR): Likewise.
3933 [X/Open-based standards] (SIG_HOLD): Likewise.
3934 (SIG_IGN): Likewise.
3935 (SIGABRT): Use macro-int-constant. Specify type. Require
3936 positive value.
3937 (SIGFPE): Likewise.
3938 (SIGILL): Likewise.
3939 (SIGINT): Likewise.
3940 (SIGSEGV): Likewise.
3941 (SIGTER): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3947 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3948 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3949 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3950 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3951 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3952 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3954 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3955 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3956 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3957 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3958 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3960 [X/Open-based standards] (SIGTRAP): Likewise.
3961 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3962 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3963 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3965 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3966 allow.
3967
b9f1922d
IW
39682012-05-08 Ian Wienand <ianw@vmware.com>
3969
3970 [BZ #14080]
3971 * time/tzset.c (__tzset_parse_tz): Update default rules for
3972 daylight time changes in the Energy Policy Act of 2005.
3973
1db86e88
AJ
39742012-05-09 Andreas Jaeger <aj@suse.de>
3975
3976 [BZ #13983]
3977 * elf/ldconfig.c (parse_conf): Change string to make clear that
3978 ldconfig only issued a warning if ld.so.conf does not exist.
3979
dee4a4e3
DM
39802012-05-08 David S. Miller <davem@davemloft.net>
3981
ee0db190
DM
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3983 movxtod instead of popping the value on the stack.
3984
dee4a4e3
DM
3985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3986
6a43ec98
CD
39872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3988
3989 * config.h.in: Add HAVE_ARM_PCS_VFP.
3990
05c2c961
RMG
39912012-05-08 Roland Mc Grath <roland@hack.frob.com>
3992
bcfe3a54
ST
3993 [BZ #13979]
3994 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3995 checking but the checks are disabled for any reason.
05c2c961 3996
4b30f61a
L
39972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4000 and ELF64_R_TYPE with ELFW(R_TYPE).
4001
eee2bc67
JM
40022012-05-08 Joseph Myers <joseph@codesourcery.com>
4003
7ea5391a
JM
4004 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4005 (ulimit): Likewise.
4006
eee2bc67
JM
4007 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4008 (settimeofday): Likewise.
4009
abb66a67
MF
40102012-05-08 Mike Frysinger <vapier@gentoo.org>
4011
4012 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4013 a struct th_u2 inside the union, and move tu_block/tu_code into
4014 a new th_u3 union of tu_block/tu_code inside of that. Move
4015 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4016 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4017 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4018 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4019 (th_stuff): Change to th_u1.tu_stuff.
4020 (th_data): Define.
4021 (th_msg): Change to th_u1.th_u2.tu_data.
4022
7f18b530
DM
40232012-05-07 David S. Miller <davem@davemloft.net>
4024
05760585
DM
4025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4026
7f18b530
DM
4027 [BZ #14074]
4028 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4029 (SETUP_PIC_REG): Use it.
4030 (SETUP_PIC_REG_LEAF): Use it.
4031
495fd99f
JM
40322012-05-07 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #13885]
4035 [BZ #13923]
4036 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4037 USE_AS_EXPM1L.
4038 (EXPL_FINITE): Likewise.
4039 (FLDLOG): Likewise.
4040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4041 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4042 e_expl.S.
4043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4044 USE_AS_EXPM1L.
4045 (EXPL_FINITE): Likewise.
4046 (FLDLOG): Likewise.
4047 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4048 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4049 e_expl.S.
4050 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4051 test of -max_value argument for long double.
4052 * sysdeps/i386/fpu/libm-test-ulps: Update.
4053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054
6693d694
DM
40552012-05-06 David S. Miller <davem@davemloft.net>
4056
4057 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4058 quad soft-float symbols whose references which are compiler
4059 generated.
4060 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4061
6c23e11c
JM
40622012-05-06 Joseph Myers <joseph@codesourcery.com>
4063
d8b82cad
JM
4064 [BZ #13884]
4065 [BZ #13914]
4066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4067 USE_AS_EXP10L.
4068 (EXPL_FINITE): Likewise.
4069 (FLDLOG): Likewise.
4070 (c0): Likewise.
4071 (c1): Likewise.
4072 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4073 Adjust comments for base varying.
4074 (__expl_finite): Change alias to EXPL_FINITE.
4075 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4076 e_expl.S.
4077 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4078 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4080 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4081 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4082 USE_AS_EXP10L.
4083 (EXPL_FINITE): Likewise.
4084 (FLDLOG): Likewise.
4085 (c0): Likewise.
4086 (c1): Likewise.
4087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4088 Adjust comments for base varying.
4089 (__expl_finite): Change alias to EXPL_FINITE.
4090 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4091 tests for bugs.
4092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4093
6c23e11c
JM
4094 [BZ #14064]
4095 * math/libm-test.inc (check_float_internal): Correct ulp
4096 calculation for subnormal expected results.
4097
29ba805c
AJ
40982012-05-06 Andreas Jaeger <aj@suse.de>
4099
4100 * Makeconfig (+math-flags): New, set to -frounding-math.
4101 (+cflags): Add +math-flags so that all of glibc gets compiled with
4102 it.
4103
4104 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4105
7b17aeda
JM
41062012-05-05 Joseph Myers <joseph@codesourcery.com>
4107
5779f134
JM
4108 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4109 Disable one test.
4110
41498f4d
JM
4111 [BZ #13787]
4112 [BZ #13922]
4113 [BZ #14036]
4114 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4115 (__ieee754_expl): Allow for and saturate large arguments.
4116 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4117 (u_threshold): Likewise.
4118 (__exp): Call __ieee754_exp before checking for overflow and
4119 underflow.
4120 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4121 (u_threshold): Likewise.
4122 (__expf): Call __ieee754_expf before checking for overflow and
4123 underflow.
4124 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4125 (u_threshold): Likewise.
4126 (__expl): Call __ieee754_expl before checking for overflow and
4127 underflow.
4128 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4129 (__ieee754_expl): Allow for and saturate large arguments.
4130 * math/libm-test.inc (exp_test): Add another test. Do not allow
4131 missing overflow exception on overflow.
4132 (expm1_test): Do not allow missing overflow exception on overflow.
4133
6698b8bf
JM
4134 * sysdeps/i386/fpu/e_expl.c: Move to ...
4135 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4136 rather than using inline asm.
4137 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4138 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4139 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4140
7b17aeda
JM
4141 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4142 (nice): Likewise.
4143 (poll): Likewise.
4144 (signal): Likewise.
4145 (time): Likewise.
4146 (times): Likewise.
4147
f7c85819
JM
41482012-05-04 Joseph Myers <joseph@codesourcery.com>
4149
4150 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4151 sysdeps/unix/common/syscalls.list.
4152 (fchmod): Likewise.
4153 (fchown): Likewise.
4154 (ftruncate): Likewise.
4155 (getrusage): Likewise.
4156 (gettimeofday): Likewise.
4157 (setpgid): Likewise.
4158 (setregid): Likewise.
4159 (setreuid): Likewise.
4160 (sigaction): Likewise.
4161 (truncate): Likewise.
4162 (vhangup): Likewise.
4163 * sysdeps/unix/common/syscalls.list: Remove file.
4164 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4165 * sysdeps/unix/sysv/linux/Implies: Likewise.
4166
336270d0
L
41672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4171 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4172 Moved to ...
4173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4174 Here.
4175 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4176 to ...
4177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4178 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4179 to ...
4180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4181 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4182 to ...
4183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4184 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4185 to ...
4186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4187 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4188 to ...
4189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4190 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4191 to ...
4192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4193 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4194 to ...
4195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4196 Here.
4197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4198 to ...
4199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4200 Here.
4201 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4202 to ...
4203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4204 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4205 Moved to ...
4206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4207 Here.
4208 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4209 to ...
4210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4211
d128e450
JM
42122012-05-04 Joseph Myers <joseph@codesourcery.com>
4213
fa8ee516
JM
4214 * sysdeps/unix/common/bits/dirent.h: Remove file.
4215 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4216
d128e450
JM
4217 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4218 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4219 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4220 * sysdeps/unix/bsd/isatty.c: Likewise.
4221 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4222 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4223 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4224
ff8faaf0 42252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4226
62881be4 4227 [BZ #13563]
31dc8730
AZ
4228 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4229 long double comparison inaccuracies.
4230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232
6fef930c
AS
42332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4234
4235 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4237
8f203e6c
JM
42382012-05-04 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #14049]
4241 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4242 nonzero digits before rounding a hex value.
4243 * stdlib/tst-strtod.c (tests): Add another test.
4244
5197d9c2
AK
42452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4246
4247 * sysdeps/s390/fpu/libm-test-ulps: Update.
4248
f0c1dedf
AJ
42492012-05-03 Andreas Jaeger <aj@suse.de>
4250
4251 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4252 does not get optimized out.
4253 (malloc_opt_barrier): New.
4254
a65ef2ae 42552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4256 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4257
2b942cb7 4258 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4259 intermediate file deletion.
2b942cb7 4260 (generated): Add .symlist files.
a65ef2ae 4261
54b71e02
JM
42622012-05-03 Joseph Myers <joseph@codesourcery.com>
4263
4264 [BZ #13775]
4265 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4266 Redirect under this condition.
4267 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4268 [__USE_GNU] (__dprintf_chk): Not under this condition.
4269 [__USE_GNU] (__vdprintf_chk): Likewise.
4270 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4271 under this condition.
4272 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4273 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4274 [__USE_XOPEN2K8] (vdprintf): Likewise.
4275 [__USE_GNU] (__dprintf_chk): Not under this condition.
4276 [__USE_GNU] (__vdprintf_chk): Likewise.
4277 [__USE_GNU] (dprintf): Likewise.
4278 [__USE_GNU] (vdprintf): Likewise.
4279
d3dfcc41
RM
42802012-05-03 Roland McGrath <roland@hack.frob.com>
4281
4282 * elf/Makefile (common-generated): Set this instead of generated for
4283 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4284 $(all-built-dso)-derived lists.
4285
7ac30cc5
AJ
42862012-05-03 Andreas Jaeger <aj@suse.de>
4287
0c51e550
AJ
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289
7ac30cc5
AJ
4290 * FAQ: Removed.
4291 * FAQ.in: Likewise.
4292 * scripts/gen-FAQ.pl: Likewise.
4293 * manual/install.texi (Installation): Point to online location of
4294 FAQ.
4295 * Makefile (files-for-dist): Remove FAQ.
4296 (FAQ): Remove.
4297
d4c2917f
AM
42982012-05-02 Allan McRae <allan@archlinux.org>
4299
4300 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4301 (LDFLAGS-reldepmod5.so): Likewise.
4302 (LDFLAGS-reldep6mod1.so): Likewise.
4303 (LDFLAGS-reldep6mod4.so): Likewise.
4304 (LDFLAGS-reldep8mod3.so): Likewise.
4305 (LDFLAGS-unload4mod1.so): Likewise.
4306 (LDFLAGS-unload4mod2.so): Likewise.
4307 (LDFLAGS-tst-initorder): Likewise.
4308 (LDFLAGS-tst-initordera2.so): Likewise.
4309 (LDFLAGS-tst-initordera3.so): Likewise.
4310 (LDFLAGS-tst-initordera4.so): Likewise.
4311 (LDFLAGS-tst-initorderb2.so): Likewise.
4312 (LDFLAGS-noload): Likewise.
4313 (LDFLAGS-next): Likewise.
4314 (LDFLAGS-order2mod1.so): Likewise.
4315 (LDFLAGS-order2mod2.so): Likewise.
4316 (LDFLAGS-tst-initorder2): Likewise.
4317 (LDFLAGS-tst-initorder2a.so): Likewise.
4318 (LDFLAGS-tst-initorder2b.so): Likewise.
4319 (LDFLAGS-tst-initorder2c.so): Likewise.
4320 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4321
d77f993f
DM
43222012-05-02 David S. Miller <davem@davemloft.net>
4323
4324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4325
171a70b4
PP
43262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4327
4328 [BZ #14055]
4329 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4330
0be196ad
AJ
43312012-05-02 Andreas Jaeger <aj@suse.de>
4332
4333 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4334 since we manipulate rounding mode.
4335 (CPPFLAGS-test-idouble.c): Likewise.
4336 (CPPFLAGS-test-ifloat.c): Likewise.
4337 (CFLAGS-test-ldouble.c): Likewise.
4338 (CFLAGS-test-double.c): Likewise.
4339 (CFLAGS-test-float.c): Likewise.
4340 (CFLAGS-test-misc.c): Likewise.
4341 (CFLAGS-test-test-fenv.c): Likewise.
4342
4f9d04aa
AZ
43432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344
2b942cb7
RM
4345 [BZ #2550]
4346 [BZ #2570]
4347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4348 comparisons to determine direction to adjust input.
4f9d04aa 4349
82a79e7d
RM
43502012-05-01 Roland McGrath <roland@hack.frob.com>
4351
f5a01ca9
RM
4352 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4353 output to the target.
4354
90fe4186
RM
4355 * scripts/localplt.awk: New file.
4356 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4357 (check-localplt-CFLAGS): Variable removed.
4358 ($(all-built-dso:=.jmprel)): New static pattern rule.
4359 (generated): Add those targets.
4360 (localplt-built-dso): New variable.
4361 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4362
4363 * elf/check-localplt.c: File removed.
4364
82397ed6
RM
4365 * scripts/check-execstack.awk: New file.
4366 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4367 (check-execstack-CFLAGS): Variable removed.
4368 ($(objpfx)check-execstack.h): Target removed.
4369 ($(objpfx)execstack-default): New target.
4370 (generated): Add that instead of check-execstack.h.
4371 ($(all-built-dso:=.phdr)): New static pattern rule.
4372 (generated): Add those targets.
4373 * elf/check-execstack.c: File removed.
4374
82a79e7d
RM
4375 * scripts/check-textrel.awk: New file.
4376 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4377 (check-textrel-CFLAGS): Variable removed.
4378 (all-built-dso): Use := to define.o
4379 ($(all-built-dso:=.dyn)): New static pattern rule.
4380 (generated): Add those targets.
4381 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4382 * config.make.in (READELF): New substituted variable.
4383 * elf/check-textrel.c: File removed.
4384
62fde54f 43852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4386
615605c9
JM
4387 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4388 allow.
4389 * conform/data/ctype.h-data [C99-based standards] (isblank):
4390 Expect function.
4391 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4392 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4394 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4395 Specify type. Require positive value.
4396 (EILSEQ): Likewise.
4397 (ERANGE): Likewise.
4398 [ISO || POSIX] (EILSEQ): Do not expect.
4399 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4400 Specify type. Require positive value.
4401 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4402 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4403 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4406 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4408 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4409 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4410 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4411 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4412 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4459 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4467 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4468 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4469 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4470 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4471 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4472 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4473 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4474 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4475 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4476 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4477 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4478 Require >= 2.
4479 (FLT_ROUNDS): Expect as macro, not constant.
4480 (FLT_MANT_DIG): Use macro-int-constant.
4481 (DBL_MANT_DIG): Likewise.
4482 (LDBL_MANT_DIG): Likewise.
4483 (FLT_DIG): Likewise.
4484 (DBL_DIG): Likewise.
4485 (LDBL_DIG): Likewise.
4486 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4487 (DBL_MIN_EXP): Likewise.
4488 (LDBL_MIN_EXP): Likewise.
4489 (FLT_MAX_EXP): Use macro-int-constant.
4490 (DBL_MAX_EXP): Likewise.
4491 (LDBL_MAX_EXP): Likewise.
4492 (FLT_MAX_10_EXP): Likewise.
4493 (DBL_MAX_10_EXP): Likewise.
4494 (LDBL_MAX_10_EXP): Likewise.
4495 (FLT_MAX): Use macro-constant.
4496 (DBL_MAX): Likewise.
4497 (LDBL_MAX): Likewise.
4498 (FLT_EPSILON): Use macro-constant. Give upper bound.
4499 (DBL_EPSILON): Likewise.
4500 (LDBL_EPSILON): Likewise.
4501 (FLT_MIN): Likewise.
4502 (DBL_MIN): Likewise.
4503 (LDBL_MIN): Likewise.
4504 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4505 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4506 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4507 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4508 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4509 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4510 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4511 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4512 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4513 [ISO11] (FLT_TRUE_MIN): Likewise.
4514 [ISO11] (LDBL_TRUE_MIN): Likewise.
4515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4516 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4517 (SCHAR_MIN): Use macro-int-constant. Specify type.
4518 (SCHAR_MAX): Likewise.
4519 (UCHAR_MAX): Likewise.
4520 (CHAR_MIN): Likewise.
4521 (CHAR_MAX): Likewise.
4522 (MB_LEN_MAX): Use macro-int-constant.
4523 (SHRT_MIN): Use macro-int-constant. Specify type.
4524 (SHRT_MAX): Likewise.
4525 (USHRT_MAX): Likewise.
4526 (INT_MAX): Likewise.
4527 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4528 bound negative.
4529 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4530 bound with "U".
4531 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4532 bound with "L".
4533 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4534 bound negative. Suffix upper bound with "L".
4535 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4536 bound with "UL".
4537 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4538 Specify type.
4539 [C99-based standards] (LLONG_MAX): Likewise.
4540 [C99-based standards] (ULLONG_MAX): Likewise.
4541 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4542 == 0.
4543 [ISO11] (max_align_t): Require type.
4544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4545
c9140a62
JM
4546 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4547 from $CFLAGS, without defining away __attribute__ calls.
4548 (checknamespace): Use $CFLAGS_namespace.
4549
9af0bf29
JM
4550 * conform/conformtest.pl (@keywords): Only include C99 keywords
4551 for standards based on C99 or C11.
4552
343222a2
JM
4553 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4554 Disable tests.
4555 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4556 UNIX98]: Likewise.
4557
661f8cf0
JM
4558 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4559 usability of symbols in #if.
4560
ee74b9cb
JM
4561 * conform/conformtest.pl: If macro or constant types start
4562 "promoted:", expect the symbol to be of the following type
4563 promoted by the integer promotions.
62fde54f 4564
aafc49b3
JM
4565 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4566 in one place. Also handle "macro-constant".
4567
fefdf574
JM
4568 * conform/conformtest.pl: Only accept expected macro values with
4569 "==". Parse all "macro" lines in one place.
4570 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4571
f2d922fe
JM
4572 * conform/conformtest.pl: Handle braced types on "constant" lines
4573 instead of handling "typed-constant".
4574 * conform/data/signal.h-data: Use "constant" instead of
4575 "typed-constant".
4576
d22956c9
JM
4577 * conform/conformtest.pl: Handle "optional-" at start of lines in
4578 one place rather than duplicating several cases. Handle each
4579 format of "macro" line with initial "optional-".
4580
028e2e38
JM
4581 * conform/conformtest.pl: Only accept expected constant or
4582 optional-constant values with "==". Parse all "constant" lines in
4583 one place. Parse all "optional-constant" lines in one place.
4584 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4585 * conform/data/fmtmsg.h-data: Likewise.
4586 * conform/data/netinet/in.h-data: Likewise.
4587 * conform/data/tar.h-data: Likewise.
4588 * conform/data/limits.h-data: Use "==" form on "constant" and
4589 "optional-constant" lines.
4590
1b8f2850
JM
4591 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4592 Use -std=c99 for XOPEN2K.
4593 (@knownproblems): Remove.
4594 (newtoken): Don't check %isknown.
4595
a05a144b
JM
4596 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4597 Do not expect macro.
4598 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4602 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4603 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4610 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4611 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4621 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4622 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4628 [XPG3] (acosh): Likewise.
4629 [XPG3] (asinh): Likewise.
4630 [XPG3] (atanh): Likewise.
4631 [XPG3] (cbrt): Likewise.
4632 [XPG3] (expm1): Likewise.
4633 [XPG3] (ilogb): Likewise.
4634 [XPG3] (log1p): Likewise.
4635 [XPG3] (logb): Likewise.
4636 [XPG3] (nextafter): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4639 [XPG3] (remainder): Likewise.
4640 [XPG3] (rint): Likewise.
4641 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4648 [UNIX98 || XOPEN2K] (scalb): Expect.
4649 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4650 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4660 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4661 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4680 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4682 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4683 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4684 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4685 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4686 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4687 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4688 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4689 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4690 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4691 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4692 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4693 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4694 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4695 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4697 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4698 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4710 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4736 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4755 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4756 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4757 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4758 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4759 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4760 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4786
73c5ebe3
JM
4787 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4788 _XOPEN_SOURCE_EXTENDED for XPG4.
4789
39c33b6c
JM
4790 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4791
62fde54f
JM
4792 * Makeconfig (localtime): Remove variable.
4793 (inst_localtime-file): Likewise.
4794
0741d64c
AS
47952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4796
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4798 Update.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4800 Update.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4802 Update.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4804 Update.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4806 Update.
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4808 Update.
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4810 Update.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4812 Update.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4814 Update.
4815
7cb029ee
JM
48162012-05-01 Joseph Myers <joseph@codesourcery.com>
4817
4818 [BZ #2550]
4819 [BZ #2570]
4820 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4821 comparisons to determine direction to adjust input.
4822 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4823 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4825 Likewise.
4826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4827 Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4829 Likewise.
4830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4832 Likewise.
4833 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4834 Likewise.
4835 * math/libm-test.inc (nexttoward_test): Add more tests.
4836
412bd966
AS
48372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4838
4839 [BZ #14040]
4840 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4841 in version GLIBC_2.1, not GLIBC_2.0.
4842 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4843 Likewise.
4844
9568c0c2
JM
48452012-04-30 Joseph Myers <joseph@codesourcery.com>
4846
adfbc8ac
JM
4847 [BZ #13942]
4848 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4849 (1 - x) * (1 + x).
4850 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4851 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4852 * math/libm-test.inc (acos_test): Add more tests.
4853 (asin_test): Likewise.
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4856
5ba3cc69
JM
4857 [BZ #14034]
4858 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4859 of square root.
4860 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4861 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4862 * math/libm-test.inc (acos_test_tonearest): New function.
4863 (acos_test_towardzero): Likewise.
4864 (acos_test_downward): Likewise.
4865 (acos_test_upward): Likewise.
4866 (asin_test_tonearest): Likewise.
4867 (asin_test_towardzero): Likewise.
4868 (asin_test_downward): Likewise.
4869 (asin_test_upward): Likewise.
4870 (main): Call the new functions.
4871 * sysdeps/i386/fpu/libm-test-ulps: Update.
4872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4873
9568c0c2
JM
4874 [BZ #13884]
4875 [BZ #13924]
4876 * math/e_exp10.c: Include <float.h>.
4877 (__ieee754_exp10): Handle underflow here rather than multiplying
4878 large negative argument by M_LN10.
4879 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4880 of __ieee754_expf.
4881 * math/e_exp10l.c: Include <float.h>.
4882 (__ieee754_exp10l): Handle underflow here rather than multiplying
4883 large negative argument by M_LN10l.
4884 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4885 spurious overflow exception on underflow.
4886
5ac3ea17
MP
48872012-04-29 Marek Polacek <polacek@redhat.com>
4888
4889 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4890 (__fortify_function): New macro.
4891 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4892 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4893 __extern_always_inline.
4894 * libio/bits/stdio2.h: Likewise.
4895 * libio/bits/stdio.h: Likewise.
4896 * string/string.h: Likewise.
4897 * string/bits/string3.h: Likewise.
4898 * include/stdio.h: Likewise.
4899 * stdlib/bits/stdlib.h: Likewise.
4900 * stdlib/stdlib.h: Likewise.
4901 * rt/bits/mqueue2.h: Likewise.
4902 * rt/mqueue.h: Likewise.
4903 * posix/bits/unistd.h: Likewise.
4904 * posix/unistd.h: Likewise.
4905 * io/bits/poll2.h: Likewise.
4906 * io/bits/fcntl2.h: Likewise.
4907 * io/fcntl.h: Likewise.
4908 * io/sys/poll.h: Likewise.
4909 * misc/bits/syslog.h: Likewise.
4910 * misc/bits/syslog-ldbl.h: Likewise.
4911 * misc/sys/syslog.h: Likewise.
4912 * socket/bits/socket2.h: Likewise.
4913 * socket/sys/socket.h: Likewise.
4914 * debug/tst-chk1.c: Likewise.
4915 * wcsmbs/bits/wchar2.h: Likewise.
4916 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4917 * wcsmbs/wchar.h: Likewise.
4918
ecf0ebfb
AJ
49192012-04-29 Andreas Jaeger <aj@suse.de>
4920
4921 * Makerules (tests): Remove enable-check-abi protection.
4922 (check-abi-warn): Remove.
4923 (check-abi-%): Remove check-abi-warn usage.
4924
4925 * configure.in: Remove check-abi configure option.
4926 * configure: Regenerated.
4927 * config.make.in (enable-check-abi): Remove.
4928
6d5c57fa
AS
49292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4930
24c5d07e 4931 [BZ #14033]
ded5180a
AS
4932 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4933 double functions to double *_finite functions.
4934
7e0d315d
AS
4935 [BZ #13941]
4936 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4937 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4938 LDBL_MIN_EXP.
4939 * stdio-common/Makefile (tests): Add tst-sprintf3.
4940 * stdio-common/tst-sprintf3.c: New file.
4941
6d5c57fa
AS
4942 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4943 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4944
0749ff8b
JM
49452012-04-28 Joseph Myers <joseph@codesourcery.com>
4946
4947 * conform/conformtest.pl: Remove duplicate typed-constant
4948 handling.
4949
8dbd5d7b
DM
49502012-04-28 David S. Miller <davem@davemloft.net>
4951
4952 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4953 (check-abi-%): Remove AWK script prerequisite and explicit
4954 abilist directory.
4955 (check-abi): Rewrite to just diff the symlist with the abilist.
4956 (config-tls, config-abi-config): Delete, no longer used.
4957 (update-abi-%): Remove AWK script and explicit abilist directory.
4958 (update-abi): Rewrite to simply compare and conditionally copy the
4959 symlist and the sysdep abilist file. Remove update-abi-config
4960 checks.
4961 * abilist/ld.abilist: Remove.
4962 * abilist/libBrokenLocale.abilist: Remove.
4963 * abilist/libanl.abilist: Remove.
4964 * abilist/libcrypt.abilist: Remove.
4965 * abilist/libdl.abilist: Remove.
4966 * abilist/librt.abilist: Remove.
4967 * abilist/libthread_db.abilist: Remove.
4968 * abilist/libutil.abilist: Remove.
4969 * scripts/extract-abilist.awk: Remove.
4970 * scripts/merge-abilist.awk: Remove.
4971 * sysdeps/generic/libcidn.abilist: New file.
4972 * sysdeps/generic/libnss_compat.abilist: New file.
4973 * sysdeps/generic/libnss_db.abilist: New file.
4974 * sysdeps/generic/libnss_dns.abilist: New file.
4975 * sysdeps/generic/libnss_files.abilist: New file.
4976 * sysdeps/generic/libnss_hesiod.abilist: New file.
4977 * sysdeps/generic/libnss_nis.abilist: New file.
4978 * sysdeps/generic/libnss_nisplus.abilist: New file.
4979 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4980 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4981 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4982 file.
4983 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4984 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4985 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4986 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4987 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4988 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4989 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4990 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4991 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4992 file.
4993 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4994 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4995 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4996 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4997 file.
4998 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4999 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5000 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5001 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5002 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5003 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5004 file.
5005 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5006 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5007 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5008 file.
5009 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5011 New file.
5012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5013 New file.
5014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5015 New file.
5016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5017 New file.
5018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5019 New file.
5020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5021 New file.
5022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5023 New file.
5024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5025 New file.
5026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5027 New file.
5028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5029 New file.
5030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5031 New file.
5032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5033 New file.
5034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5035 New file.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5037 file.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5039 New file.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5041 New file.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5043 file.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5045 New file.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5047 New file.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5049 file.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5051 New file.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5053 New file.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5055 New file.
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5057 New file.
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5059 New file.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5061 New file.
5062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5064 file.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5066 New file.
5067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5068 file.
5069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5070 file.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5072 file.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5074 file.
5075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5076 file.
5077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5078 New file.
5079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5080 file.
5081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5082 file.
5083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5084 New file.
5085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5086 file.
5087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5089 file.
5090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5091 New file.
5092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5093 file.
5094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5095 file.
5096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5097 file.
5098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5099 file.
5100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5101 file.
5102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5103 New file.
5104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5105 file.
5106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5107 file.
5108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5109 New file.
5110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5111 file.
5112 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5113 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5114 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5115 file.
5116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5117 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5118 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5119 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5120 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5121 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5122 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5123 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5124 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5125 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5128 file.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5130 New file.
5131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5132 file.
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5134 file.
5135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5136 file.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5138 file.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5140 file.
5141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5142 New file.
5143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5144 New file.
5145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5146 file.
5147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5148 New file.
5149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5150 file.
5151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5153 file.
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5157 file.
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5159 file.
5160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5161 file.
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5163 file.
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5165 file.
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5167 New file.
5168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5169 New file.
5170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5171 file.
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5173 New file.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5175 file.
5176
41d73a1b
JM
51772012-04-28 Joseph Myers <joseph@codesourcery.com>
5178
5179 * conform/conformtest.pl: Fix typo in handling typed-constant from
5180 allow-header.
5181
28aeeda4
JM
51822012-04-27 Joseph Myers <joseph@codesourcery.com>
5183
adae8f5e
JM
5184 * README: Cut down references to pre-2.6 Linux kernels and
5185 Linuxthreads. Update lists of configurations in libc and ports
5186 and sort alphabetically. Say "or newer" with Linux kernel version
5187 requirements.
5188
28aeeda4
JM
5189 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5190
a462cb63
RA
51912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5192
5193 [BZ #887]
5194 * math/libm-test.inc (logb_test_downward): New test to expose
5195 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5196 rounding mode.
5197
6ad3493e
JM
51982012-04-27 Joseph Myers <joseph@codesourcery.com>
5199
5200 [BZ #14027]
5201 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5202 to be done.
5203 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5204 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5205
2ce4f015
JM
52062012-04-26 Joseph Myers <joseph@codesourcery.com>
5207
5aeb141a
JM
5208 * sysdeps/unix/i386/brk.S: Remove file.
5209 * sysdeps/unix/i386/dl-brk.S: Likewise.
5210 * sysdeps/unix/i386/pipe.S: Likewise.
5211 * sysdeps/unix/i386/sigreturn.S: Likewise.
5212 * sysdeps/unix/i386/syscall.S: Likewise.
5213 * sysdeps/unix/i386/vfork.S: Likewise.
5214 * sysdeps/unix/i386/wait.S: Likewise.
5215
7143acae
JM
5216 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5217 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5218
2ce4f015
JM
5219 * configure.in (arm*-none*): Do not allow without
5220 --enable-hacker-mode.
5221 (netbsd*): Remove case setting base_os.
5222 (386bsd*): Likewise.
5223 (freebsd*): Likewise.
5224 (bsdi*): Likewise.
5225 (osf*): Likewise.
5226 (sunos*): Likewise.
5227 (ultrix*): Likewise.
5228 (newsos*): Likewise.
5229 (dynix*): Likewise.
5230 (*bsd*): Likewise.
5231 (sysv*): Likewise.
5232 (isc*): Likewise.
5233 (esix*): Likewise.
5234 (sco*): Likewise.
5235 (minix*): Likewise.
5236 (irix4*): Likewise.
5237 (irix6*): Likewise.
5238 (solaris[2-9]*): Likewise.
5239 (none): Likewise.
5240 * configure: Regenerated.
5241
0ac229c8
AZ
52422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 [BZ #11521]
5245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5246 overflow or cancellation in calculating denominator.
5247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5249 down expression to avoid unexpected rounding in newer GCCs.
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5251
33f244f4
DM
52522012-04-26 David S. Miller <davem@davemloft.net>
5253
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5255 long-double compat symbols.
5256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5269
cfa1f3e8
DM
52702012-04-25 David S. Miller <davem@davemloft.net>
5271
5272 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5273 HWCAP_* values only after the memory barriers have been defined.
5274 (atomic_full_barrier): Define.
5275 (atomic_read_barrier): Define.
5276 (atomic_write_barrier): Define.
5277
6e236b92
SP
52782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5279
5280 * shlib-versions: Add libgcc_s version information.
5281 * sysdeps/generic/libgcc_s.h: Remove.
5282 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5283 libgcc_s.h.
5284 * sysdeps/gnu/unwind-resume.c: Likewise.
5285 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5286
aab39a09
DM
52872012-04-25 David S. Miller <davem@davemloft.net>
5288
5289 * sysdeps/unix/sparc/brk.S: Delete.
5290 * sysdeps/unix/sparc/dl-brk.S: Delete.
5291 * sysdeps/unix/sparc/pipe.S: Delete.
5292 * sysdeps/unix/sparc/sysdep.S: Delete.
5293 * sysdeps/unix/sparc/sysdep.h: Delete.
5294 * sysdeps/unix/sparc/vfork.S: Delete.
5295 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5296 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5297 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5298 ret_ERRVAL, r0, r1, MOVE): Define.
5299 (JUMPTARGET): Remove.
5300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5301 sysdeps/unix/sparc/sysdep.h
5302 (ENTRY, END): Remove.
5303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5304
a3cc4f48
JM
53052012-04-25 Joseph Myers <joseph@codesourcery.com>
5306
2ed8cda2
JM
5307 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5308 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5309 -DIS_IN_build.
5310
35d76d59
JM
5311 * timezone/README: Update upstream location and email address for
5312 tzcode and tzdata.
5313 * timezone/zdump.c: Update from tzcode 2012b.
5314 * timezone/zic.c: Likewise.
5315
a3cc4f48
JM
5316 * configure.in (libc_cv_as_needed): Remove test.
5317 * configure: Regenerated.
5318 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5319 conditional definition.
5320 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5321 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5322 * config.make.in (have-as-needed): Remove variable.
5323
ceab42c3
SP
53242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5325 Paul Pluzhnikov <ppluzhnikov@google.com>
5326
5327 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5328 strings correctly.
5329
3ce2865f
CLT
53302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5331
5332 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5333 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5334 * sysdeps/sh/strlen.S: Likewise.
5335
f37e0d68
JM
53362012-04-24 Joseph Myers <joseph@codesourcery.com>
5337
ae186e9a
JM
5338 * sysdeps/unix/fork.S: Remove file.
5339 * sysdeps/unix/i386/fork.S: Likewise.
5340 * sysdeps/unix/sparc/fork.S: Likewise.
5341
b96914af
JM
5342 * sysdeps/unix/system.c: Remove file.
5343 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5344
f37e0d68
JM
5345 * sysdeps/unix/getegid.S: Remove file.
5346 * sysdeps/unix/geteuid.S: Likewise.
5347
87ef29ca
RM
53482012-04-24 Roland McGrath <roland@hack.frob.com>
5349
83bcd236
RM
5350 * scripts/check-localplt.awk: New file.
5351 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5352 of diff.
5353 * scripts/data/localplt-generic.data: Add a comment.
5354
87ef29ca
RM
5355 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5356 NODE when __dir_mkfile failed.
5357 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5358 Reported by Ludovic Courtès <ludo@gnu.org>.
5359
e5a6e567
AJ
53602012-04-24 Andreas Jaeger <aj@suse.de>
5361
5362 * Makerules (common-clean): Also remove gen-as-const-headers
5363 files.
5364
c1820385
JM
53652012-04-24 Joseph Myers <joseph@codesourcery.com>
5366
5367 * Makerules (native-compile): Do not change working directory for
5368 build. Use $(OUTPUT_OPTION) in command.
5369 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5370
94e02fc4
AZ
53712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 [BZ #13886]
5374 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5375 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5376 * math/libm-test.inc (floor_test): Add more tests.
5377 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5378
3a533ca3
JM
53792012-04-24 Joseph Myers <joseph@codesourcery.com>
5380
940ab4b3
JM
5381 * sysdeps/unix/getdents.c: Remove file.
5382 * sysdeps/unix/sysv/getdents.c: Likewise.
5383 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5384
90e037bd
JM
5385 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5386 sysdeps/unix/mman/syscalls.list.
5387 (mmap): Likewise.
5388 (mprotect): Likewise.
5389 (msync): Likewise.
5390 (munmap): Likewise.
5391 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5392 * sysdeps/unix/mman/syscalls.list: Remove.
5393 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5394
3a533ca3
JM
5395 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5396 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5397 * configure: Regenerated.
5398 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5399 $(libgcc_s_suffix).
5400 * config.make.in (libgcc_s_suffix): Remove variable.
5401
1ad743de
JM
54022012-04-23 Joseph Myers <joseph@codesourcery.com>
5403
4ad451e2
JM
5404 * sysdeps/unix/sysv/gethostname.c: Move to ...
5405 * sysdeps/posix/gethostname.c: ... here.
5406
5e37ce39
JM
5407 * sysdeps/unix/execve.S: Remove file.
5408
1ad743de
JM
5409 * sysdeps/unix/_exit.S: Remove file.
5410
4e681b5b
AJ
54112012-04-23 Andreas Jaeger <aj@suse.de>
5412
5413 [BZ #13739]
5414 * manual/Makefile: Remove make dist support, there's no
5415 need for a stand-alone documentation tar ball.
5416 (TEXI2DVI): Define always, it's not in Makeconfig.
5417 (dist): Removed.
5418 (tar-it): Removed.
5419 (edition): Removed.
5420 (glibc-doc-$(edition).tar): Removed
5421 (%.Z): Removed.
5422 (%.gz): Removed.
5423 (%.uu): Removed.
5424 (ETAGS): Remove, it's in Makeconfig.
5425 (move-if-change): Remove, it's in Makeconfig.
5426
c0baea34
PE
54272013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5428
5429 [BZ #13970]
5430 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5431 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5432 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5433 (strtod_l, strtof_l, strtold_l): Remove __wur.
5434 It is not necessarily an error to ignore strtol's return value.
5435 One can reliably look at the stored endptr to decide whether
5436 the number had valid syntax.
5437
7c0616fa
AJ
54382012-04-21 Andreas Jaeger <aj@suse.de>
5439
803cb6b7 5440 [BZ #13739]
7c0616fa
AJ
5441 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5442
b0fe253f
JM
54432012-04-21 Joseph Myers <joseph@codesourcery.com>
5444
5445 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5446 * sysdeps/unix/sysv/Versions: Remove file.
5447
8280f22d
MT
54482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5449
5450 [BZ #13927]
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5452
75ce411f 54532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5454
5455 [BZ #7064]
5456 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5457 version from __vm86.
5458
097d59fa
JM
54592012-04-20 Joseph Myers <joseph@codesourcery.com>
5460
a90f3bcb
JM
5461 * sysdeps/unix/common/lxstat.c: Remove file.
5462 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5463
edc7ea78
JM
5464 * sysdeps/unix/sysv/Makefile: Remove file.
5465
cb78c221
JM
5466 * sysdeps/unix/sysv/direct.h: Remove file.
5467
efa6a45f
JM
5468 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5469 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5470 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5471 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5472 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5473 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5474 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5475
9c9f2d0c
JM
5476 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5477
4541c83b
JM
5478 * sysdeps/unix/xmknod.c: Remove file.
5479 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5480
f5d153a0
JM
5481 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5482
aa746595
JM
5483 * sysdeps/unix/sysv/i386/time.S: Remove file.
5484
cce5905e
JM
5485 * sysdeps/unix/fxstat.c: Remove file.
5486 * sysdeps/unix/xstat.c: Likewise.
5487 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5488
37fa3841
JM
5489 * sysdeps/unix/sysv/sigaction.c: Remove file.
5490
ff1962a3
JM
5491 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5492 (sysdep_headers): Remove variable.
5493 [termio.h not in sysdep_headers] (generated): Likewise.
5494 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5495 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5496 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5497 * sysdeps/unix/sysv/tcflow.c: Likewise.
5498 * sysdeps/unix/sysv/tcflush.c: Likewise.
5499 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5500 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5501 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5502 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5503 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5504
e7740d31
JM
5505 * sysdeps/unix/siglist.c: Remove file.
5506
ee06f18b
JM
5507 * sysdeps/unix/getppid.S: Remove file.
5508
097d59fa
JM
5509 * sysdeps/unix/mkdir.c: Remove file.
5510 * sysdeps/unix/rmdir.c: Likewise.
5511
ff3d51ec
AS
55122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5513
5514 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5515 ERR_MAX value.
5516 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5517 errlist-compat value.
5518
50f81fd7
DM
55192012-04-18 David S. Miller <davem@davemloft.net>
5520
5521 * sysdeps/generic/memcopy.h (reg_char): Delete.
5522 * debug/strcat_chk.c: Use char, not reg_char.
5523 * debug/strcpy_chk.c: Likewise.
5524 * debug/strncat_chk.c: Likewise.
5525 * debug/strncpy_chk.c: Likewise.
5526 * string/memchr.c: Likewise.
5527 * string/memrchr.c: Likewise.
5528 * string/rawmemchr.c: Likewise.
5529 * string/strcat.c: Likewise.
5530 * string/strchr.c: Likewise.
5531 * string/strchrnul.c: Likewise.
5532 * string/strcmp.c: Likewise.
5533 * string/strcpy.c: Likewise.
5534 * string/strncat.c: Likewise.
5535 * string/strncmp.c: Likewise.
5536 * string/strncpy.c: Likewise.
5537
8ff41c46
WS
55382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5539
5540 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5541 __builtin_memcopy is called when src and dest ranges are known to not
5542 overlap.
5543
6b652f46
WS
55442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5545
5546 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5547 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5548 fwd_align_merge macro call.
5549 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5550 bwd_align_merge macro call.
5551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5552
b282631e
WS
55532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5554
5555 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5556 bwd_align_merge macros.
5557 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5558 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5559 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5560
95aa737c
DM
55612012-04-18 David S. Miller <davem@davemloft.net>
5562
5563 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5564
7a99a614
AJ
55652012-04-18 Andreas Jaeger <aj@suse.de>
5566
5567 [BZ# 6794]
5568 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5569 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5570 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5571
5572 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5573 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5575
5576 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5577 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5578 Adjust for changed ldbl-128 files.
5579
5580 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5581 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5582 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5583
e5270c23
DM
55842012-04-17 David S. Miller <davem@davemloft.net>
5585
5586 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5587
fb5e92c9
AS
55882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5589
5590 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5591 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5592 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5593 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5594 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5595 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5596
76da7265
AZ
55972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 [BZ #6794]
5600 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5601 * math/libm-test.inc: Add ilogb errno and exception tests.
5602 * math/w_ilogb.c: New file: ilogb wrapper.
5603 * math/w_ilogbf.c: New file: ilogbf wrapper.
5604 * math/w_ilogbl.c: New file: ilogbl wrapper.
5605 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5606 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5607 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5608 exception being thrown with 0.0 as argument.
5609 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5610 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5611 exception being thrown with 0.0 as argument.
5612 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5613 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5614 exception being thrown with 0.0 as argument.
5615 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5616 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5617 exception being thrown with 0.0 as argument.
5618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5619 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5620 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5621 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5622 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5623 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5624 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5625 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5626 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5627
0396e69d
PB
56282012-04-17 Petr Baudis <pasky@ucw.cz>
5629
5630 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5631 with altivec.
5632
750b5926
MP
56332012-04-16 Marek Polacek <polacek@redhat.com>
5634
5635 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5636
751728a1
MP
56372012-04-16 Marek Polacek <polacek@redhat.com>
5638
5639 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5640 operands of fdivp instruction.
5641
34a27407
L
56422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5643
5644 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5645 * elf/tst-auditmod3b.c: Likewise.
5646 * elf/tst-auditmod4b.c: Likewise.
5647 * elf/tst-auditmod5b.c: Likewise.
5648 * elf/tst-auditmod6b.c: Likewise.
5649 * elf/tst-auditmod6c.c: Likewise.
5650 * elf/tst-auditmod7b.c: Likewise.
5651 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5652 * sysdeps/x86_64/preconfigure.in: Likewise.
5653 * sysdeps/x86_64/preconfigure: Regenerated.
5654
7e73e17d
L
56552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5656
5657 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5658 __ILP32__.
5659
c7a6ab72
AB
56602012-04-13 Antoine Balestrat <merkil33@gmail.com>
5661
5662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5663 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5664
a9e8e0e0
CL
56652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5666
5667 [BZ #13973]
5668 * locale/iso-639.def: Fix gl language name. Spotted by
5669 Yaron Shahrabani.
5670
ec98af7d
RM
56712012-04-12 Roland McGrath <roland@hack.frob.com>
5672
5673 [BZ #2074]
5674 * libio/libio.h (__io_write_fn): Update comment.
5675
247c3ede
PB
56762012-04-12 Petr Baudis <pasky@ucw.cz>
5677
5678 [BZ #2074]
5679 * stdio.texi (Hook Functions): The user provided writer function
5680 is not allowed to return -1.
5681
55939d6d
DM
56822012-04-11 David S. Miller <davem@davemloft.net>
5683
5684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5685
90020f5a
MF
56862012-04-11 Mike Frysinger <vapier@gentoo.org>
5687
5688 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5689 Add a leading slash to rtkaio.
5690
288f9098
JM
56912012-04-11 Jim Meyering <meyering@redhat.com>
5692
90020f5a
MF
5693 [BZ #11959]
5694 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5695 It is not necessarily an error to ignore fwrite's return
5696 value. One can reliably use ferror to test for errors after
5697 the fact.
288f9098 5698
4be2b570
L
56992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5700
5701 * bits/types.h (__snseconds_t): New type.
5702 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5703
5704 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5706 (__SNSECONDS_T_TYPE): Likewise.
5707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5708 (__SNSECONDS_T_TYPE): Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5710 (__SNSECONDS_T_TYPE): Likewise.
5711
288f9098 57122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5713
5714 [BZ #2636]
5715 * manual/time.texi (Processor Time): Return type of times is
5716 elapsed real time since an arbitrary point in the past.
5717 (CPU Time): Move CLK_TCK from here...
5718 (Processor Time): ...to here. Correct description.
5719 * manual/conf.texi (Constants for Sysconf): Correct description of
5720 _SC_CLK_TCK.
5721
d7dd4413
DM
57222012-04-10 David S. Miller <davem@davemloft.net>
5723
5724 [BZ #13967]
5725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5726 where the is a gap between DT_REL(A) and DT_JMPREL.
5727
b46068fc
L
57282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5729
5730 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5731 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5732 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5733
73d65cc3
SP
57342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5735
5736 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5737 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5738 (dl_main): Handle --inhibit-cache.
5739 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5740 _dl_inhibit_cache.
5741 * elf/dl-load.c (_dl_map_object): Use it.
5742 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5743
bcc8d661
JM
57442012-04-09 Joseph Myers <joseph@codesourcery.com>
5745
8f9a2fae
JM
5746 [BZ #13872]
5747 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5748 (__ieee754_powl): Saturate large exponents rather than testing for
5749 overflow of y*log2(x).
5750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5751 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5752 exceptions.
5753
bcc8d661
JM
5754 [BZ #11521]
5755 * math/s_ctan.c: Include <float.h>.
5756 (__ctan): Avoid internal overflow or cancellation in calculating
5757 denominator.
5758 * math/s_ctanf.c: Likewise.
5759 * math/s_ctanl.c: Likewise.
5760 * math/s_ctanh.c: Likewise.
5761 * math/s_ctanhf.c: Likewise.
5762 * math/s_ctanhl.c: Likewise.
5763 * math/libm-test.inc (ctan_test): Add more tests.
5764 (ctanh_test): Likewise.
5765 * sysdeps/i386/fpu/libm-test-ulps: Update.
5766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767
823fbbb4
AJ
57682012-04-09 Andreas Jaeger <aj@suse.de>
5769
03879793
AJ
5770 [BZ #6894]
5771 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5772 is an optional BSD extension.
5773
823fbbb4
AJ
5774 [BZ #10254]
5775 * manual/stdio.texi (Opening Streams): Document additional fopen
5776 parameters.
5777
8de131cb
RM
57782012-04-09 Roland McGrath <roland@hack.frob.com>
5779
5780 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5781 %eax without telling the compiler.
5782
c0ed9d7d
CD
57832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5784
5785 [BZ # 13963]
5786 * manual/install.texi: Use sourceware.org.
5787
c483f6b4
JM
57882012-04-09 Joseph Myers <joseph@codesourcery.com>
5789
d7dd9453
JM
5790 [BZ #13873]
5791 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5792 (__ieee754_pow): Generate overflow and underflow using huge*huge
5793 and tiny*tiny rather than just returning constant infinity or zero
5794 for large exponents.
5795 * math/libm-test.inc (pow_test): Require overflow exceptions for
5796 applicable cases of large exponents.
5797
c483f6b4
JM
5798 [BZ #706]
5799 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5800 (__ieee754_pow): Use iterative multiplication algorithm only for
5801 integer exponents with absolute value below 1024. Check for odd
5802 integer exponents when using algorithm for real exponents.
5803 * math/libm-test.inc (pow_test): Add more tests.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5805
d2de7579
JM
58062012-04-08 Joseph Myers <joseph@codesourcery.com>
5807
5808 [BZ #13705]
5809 * math/libm-test.inc (exp_test): Do not allow overflow exception
5810 on underflow test.
5811
f77f1232
AJ
58122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5813
5814 [BZ #13705]
5815 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5816 instead of __kernel_standard_f.
5817
3884932b
MF
58182012-04-08 Mike Frysinger <vapier@gentoo.org>
5819
5820 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5821 * sysdeps/x86_64/memset_chk.S: Likewise.
5822
54472e9c
AJ
58232012-04-08 Andreas Jaeger <aj@suse.de>
5824
6ab0fbfc
AJ
5825 [BZ #10153]
5826 * manual/startup.texi (Environment Access): Describe return value
5827 for putenv and setenv.
5828
61efba8c
AJ
5829 [BZ #6895]
5830 * manual/filesys.texi (Directory Entries): Add description for
5831 DT_LNK.
5832
95c3f29a
AJ
5833 [BZ #6890]
5834 * manual/filesys.texi (Directory Entries): Clarify that it's file
5835 system not operating system in the description of DT_UNKNOWN.
5836
54472e9c
AJ
5837 [BZ #6578]
5838 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5839
624254b1
SC
58402012-04-08 Stephen Compall <s11@member.fsf.org>
5841
5842 [BZ #6649]
5843 * manual/llio.texi (Opening and Closing Files): Add cross
5844 reference to explain mode argument.
5845
1e4920e0
MF
58462012-04-07 Mike Frysinger <vapier@gentoo.org>
5847
5848 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5849 * sysdeps/x86_64/memset_chk.S: Likewise.
5850
5ed848f3
DM
58512012-04-07 David S. Miller <davem@davemloft.net>
5852
5853 * elf/elf.h (R_SPARC_WDISP10): Define.
5854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5855 R_SPARC_SIZE32.
5856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5857 R_SPARC_SIZE64 and R_SPARC_H34.
5858
96154cd8
CD
58592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5860
5861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5862 conditions and remove no longer applicable assertion.
5863
9904dc47
L
58642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5865
5866 * bits/byteswap.h: Include <features.h>.
5867 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5868 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5869
f8887d0a
L
58702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5871
5872 * bits/byteswap.h (__bswap_16): Removed.
5873 Include <bits/byteswap-16.h> to get __bswap_16.
5874 * sysdeps/i386/bits/byteswap.h: Likewise.
5875 * sysdeps/s390/bits/byteswap.h: Likewise.
5876 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5877 * bits/byteswap-16.h: New file.
5878 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5879 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5880 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5881 * string/Makefile (headers): Add bits/byteswap-16.h.
5882
62470f60
PP
58832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5884
5885 [BZ #13895]
5886 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5887 extra indirection.
5888 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5889 * nss/tst-nss-static.c: New.
5890
4dad7bab
RM
58912012-04-06 Robert Millan <rmh@gnu.org>
5892
5893 [BZ #6486]
5894 * manual/llio.texi (File Position Primitive): lseek
5895 refers to WHENCE when it really means OFFSET.
5896
e9142a17
AJ
58972012-04-06 Andreas Jaeger <aj@suse.de>
5898
2c040eff
AJ
5899 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5900 strncmp declarations.
5901
e9142a17
AJ
5902 * abilist/libc.abilist: Add __poll and __ppoll.
5903
ff9f1c5f
DM
59042012-04-05 David S. Miller <davem@davemloft.net>
5905
dcd2ae90
DM
5906 * scripts/check-local-headers.sh: Accept a host triplet in the
5907 path matched by the exclude regexp.
5908
993eb054
DM
5909 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5910 definition.
5911 * sysdeps/powerpc/powerpc32/dl-machine.h
5912 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5913 * sysdeps/s390/s390-32/dl-machine.h
5914 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5915 * sysdeps/sparc/sparc32/dl-machine.h
5916 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5917 * sysdeps/sparc/sparc64/dl-machine.h
5918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5919
ff9f1c5f
DM
5920 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5921 lazy binding.
48e2e132 5922 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5923 undefined symbol errors.
5924
48e2e132 5925 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5926 DT_NEEDED entries.
5927
e80d6f94
MM
59282012-04-05 Michael Matz <matz@suse.de>
5929
5930 [BZ #13592]
5931 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5932
349fa79f
AJ
59332012-04-05 Andreas Jaeger <aj@suse.de>
5934
5935 [BZ #13908]
5936 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5937 comment.
5938
f402708f
KK
59392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5940
5941 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5942 which ROUND is no valid rounding mode.
5943
2ecccfc9
KK
59442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5945
5946 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5947 read again.
5948 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5949
8a53f50f
KK
59502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5951
5952 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5953 an exception using FPU order intentionally.
5954
59552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5956
5957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5958 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5959 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5960 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5961
d653abb7
SJ
59622012-04-05 Simon Josefsson <simon@josefsson.org>
5963
5964 [BZ #12340]
5965 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5966 EINVAL when BUFLEN is too smal.
5967
c3b1bf7d
TS
59682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5969
5970 [BZ #13553]
5971 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5972 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5973
b1aa60f3
AJ
59742012-04-03 Andreas Jaeger <aj@suse.de>
5975
c3b1bf7d 5976 [BZ #13938]
67f60a26
AJ
5977 * manual/setjmp.texi (System V contexts): Fix sentence.
5978
b1aa60f3
AJ
5979 [BZ #13926]
5980 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5981 New macro for this case.
5982 [!__GNUC__] (__bswap_64): New inline function for this case.
5983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5984 * bits/byteswap.h: Likewise.
5985 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5986 ull, guard with __GLIBC_HAVE_LONG_LONG.
5987
5988 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5989 __GLIBC_HAVE_LONG_LONG.
5990
5991 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5992 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5993
39c59c35
TMQMF
59942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5995
5996 [BZ #13691]
5997 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5998 inptr and inend, rather than using last_ch.
5999
135ffda8
DM
60002012-04-02 David S. Miller <davem@davemloft.net>
6001
6002 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6003 * stdio-common/printf-parse.h (read_int): Change return type to
6004 'int', return -1 on INT_MAX overflow.
6005 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6006 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6007 overflows INT_MAX. Check for overflow of in-format-string precision
6008 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6009 SIZE_MAX not INT_MAX for integer overflow test.
6010 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6011 skip the construct in the format string but do not record anything.
6012 * stdio-common/bug22.c: Adjust to test both width/prevision
6013 INT_MAX overflow as well as total length INT_MAX overflow. Check
6014 explicitly for proper errno values.
6015
228c019e
TS
60162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6017
302cadd3
TS
6018 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6019 CHAR_MAX.
6020 * string/test-strcmp.c [! WIDE]: Likewise.
6021 * time/tst-mktime2.c: Likewise for INT_MAX.
6022 * string/test-string.h: #include <sys/param.h> for MIN.
6023
228c019e
TS
6024 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6025 * sysdeps/i386/init-first.c (init): Likewise.
6026 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6027 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6028 * sysdeps/sh/init-first.c (init): Likewise.
6029
cfa633f5
UD
60302012-04-01 Ulrich Drepper <drepper@gmail.com>
6031
6032 * po/ru.po: Update from translation team.
d1635ef8 6033 * po/vi.po: Likewise.
cfa633f5 6034
6cd0a5ea
SP
60352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6036
6037 * resolv/nss_dns/dns-host.c: Merge copyright years.
6038
4b43400f
LD
60392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6040
6041 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6042 Optimize memcpy with prefetch if
6043 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6044 src, dst pointers have unequal 16 byte alignments.
6045
48c41d04
SP
60462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6047
6048 [BZ #13928]
6049 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6050 from a CNAME entry and return the minimum ttl for the query.
6051 (gaih_getanswer_slice): Likewise.
6052
b8dc394d
JL
60532012-03-30 Jeff Law <law@redhat.com>
6054
6055 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6056 due to long keys.
6057 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6058 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6059
2f5a5ed0
JL
6060 * resolv/nss_dns/dns-host.c: Update copyright year.
6061
1d39e359
UD
60622012-03-30 Ulrich Drepper <drepper@gmail.com>
6063
c030f70c 6064 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6065 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6066
1d39e359
UD
6067 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6068 comments for sendmmsg.
6069
60702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6071
6072 [BZ #13691]
6073 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6074 with only 1 character between 0x0041 and 0x01b0.
6075 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6076 * wcsmbs/tst-mbsnrtowcs.c: New file.
6077
20fde227
DM
60782012-03-29 David S. Miller <davem@davemloft.net>
6079
6080 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6081 small copies by hand.
6082
984a4237
JL
60832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6084
6085 [BZ #13761]
6086 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6087 _nss_compat_initgroups_dyn): Fall back to malloc/free
6088 for large group memberships.
6089
18c9d62b
DM
60902012-03-28 David S. Miller <davem@davemloft.net>
6091
88d85d4f
DM
6092 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6093 that branches into memcpy.
6094 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6097 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6099 bits.
6100 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6101 implementation too.
6102 * sysdeps/sparc/mempcpy.S: New file.
6103
e5aa83e1
DM
6104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6105 the IFUNC routine in the libc case.
6106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6107
88570753
DM
6108 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6109 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6110 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6111 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6112 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6113 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6114 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6115 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6116
249d7567
DM
6117 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6118 loop to 256 bytes instead of 64 bytes and fix test signedness.
6119
18c9d62b
DM
6120 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6121 * sysdeps/sparc/sparc32/Makefile: rather than here...
6122 * sysdeps/sparc/sparc64/Makefile: and here.
6123
05f3d1f6
UD
61242012-03-28 Ulrich Drepper <drepper@gmail.com>
6125
6126 * malloc/mallocbug.c: Avoid warnings about unused variables.
6127
86ae07a8
JL
61282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6129
6130 [BZ #13760]
6131 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6132 in the right place. Discard and retry query if response is
6133 larger than input buffer size.
6134
41bf21a1
JM
61352012-03-28 Joseph Myers <joseph@codesourcery.com>
6136
d6270972
JM
6137 [BZ #369]
6138 [BZ #2678]
6139 [BZ #3866]
6140 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6141 x for large integer exponent.
6142 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6143 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6144 sign of result as needed afterwards.
6145 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6146 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6147 result for underflowing pow the same as for overflow.
6148 (__kernel_standard_l): Handle powl overflow and underflow here
6149 rather than calling __kernel_standard.
6150 * math/libm-test.inc (pow_test): Add more tests.
6151
414fca03 6152 [BZ #3868]
41bf21a1
JM
6153 [BZ #13879]
6154 [BZ #13910]
6155 [BZ #13911]
6156 [BZ #13912]
6157 [BZ #13913]
6158 [BZ #13915]
6159 [BZ #13916]
6160 [BZ #13917]
6161 [BZ #13918]
6162 [BZ #13919]
6163 [BZ #13920]
6164 [BZ #13921]
6165 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6166 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6167 (__kernel_standard_l): New function.
6168 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6169 __kernel_standard.
6170 * math/w_acosl.c (__acosl): Likewise.
6171 * math/w_asinl.c (__asinl): Likewise.
6172 * math/w_atan2l.c (__atan2l): Likewise.
6173 * math/w_atanhl.c (__atanhl): Likewise.
6174 * math/w_coshl.c (__coshl): Likewise.
6175 * math/w_exp10l.c (__exp10l): Likewise.
6176 * math/w_exp2l.c (__exp2l): Likewise.
6177 * math/w_fmodl.c (__fmodl): Likewise.
6178 * math/w_hypotl.c (__hypotl): Likewise.
6179 * math/w_j0l.c (__j0l, __y0l): Likewise.
6180 * math/w_j1l.c (__j1l, __y1l): Likewise.
6181 * math/w_jnl.c (__jnl, __ynl): Likewise.
6182 * math/w_lgammal.c (__lgammal): Likewise.
6183 * math/w_log10l.c (__log10l): Likewise.
6184 * math/w_log2l.c (__log2l): Likewise.
6185 * math/w_logl.c (__logl): Likewise.
6186 * math/w_powl.c (__powl): Likewise.
6187 * math/w_remainderl.c (__remainderl): Likewise.
6188 * math/w_scalbl.c (sysv_scalbl): Likewise.
6189 * math/w_sinhl.c (__sinhl): Likewise.
6190 * math/w_sqrtl.c (__sqrtl): Likewise.
6191 * math/w_tgammal.c (__tgammal): Likewise.
6192 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6193 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6194 * math/libm-test.inc (acos_test): Add more tests.
6195 (acosh_test): Likewise.
6196 (asin_test): Likewise.
6197 (atanh_test): Likewise.
6198 (exp_test): Likewise.
6199 (exp10_test): Likewise.
6200 (exp2_test): Likewise.
6201 (expm1_test): Likewise.
6202 (lgamma_test): Likewise.
6203 (log_test): Likewise.
6204 (log10_test): Likewise.
6205 (log1p_test): Likewise.
6206 (log2_test): Likewise.
6207 (pow_test): Do not allow some spurious overflow exceptions.
6208 (sqrt_test): Add more tests.
6209 (tgamma_test): Likewise.
6210 (y0_test): Likewise.
6211 (y1_test): Likewise.
6212 (yn_test): Likewise.
6213
dd62fda6
AB
62142012-03-27 Anton Blanchard <anton@samba.org>
6215
6216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6217 MAP_HUGETLB.
6218 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6219 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6221
1e3cdfda
AJ
62222012-03-27 David S. Miller <davem@davemloft.net>
6223
b855ab85
DM
6224 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6225
1e3cdfda
AJ
6226 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6227 have-as-vis3 check.
6228
62292012-03-27 Andreas Jaeger <aj@suse.de>
6230
6231 * sysdeps/x86_64/elf/configure.in: Moved to ...
6232 * sysdeps/x86_64/configure.in: ... here.
6233 * sysdeps/x86_64/elf/start.S: Moved to ...
6234 * sysdeps/x86_64/start.S: ... here.
6235 * sysdeps/x86_64/elf/configure: Delete.
6236
6237 * sysdeps/x86_64/configure.in: Merge contents from
6238 sysdeps/i386/configure.in (without i686 check).
6239
6240 * sysdeps/i386/elf/Versions: Merge into ...
6241 * sysdeps/i386/Versions: ... this.
6242 * sysdeps/i386/elf/Versions: Delete file.
6243 * sysdeps/i386/elf/start.S: Moved to ...
6244 * sysdeps/i386/start.S: ...here.
6245 * sysdeps/i386/elf/configure.in: Merge into...
6246 * sysdeps/i386/configure.in: ...here.
6247 * sysdeps/i386/elf/configure.in: Delete file.
6248 * sysdeps/i386/elf/configure: Delete file.
6249
6250 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6251 * debug/backtracesyms.c: ... here.
6252 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6253 * debug/backtracesymsfd.c: ... here.
6254 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6255 * sysdeps/generic/ifunc-sel.h: ... here.
6256
6257 * sysdeps/unix/i386/start.c: Delete file.
6258 * sysdeps/unix/sparc/start.c: Delete file.
6259 * sysdeps/unix/start.c: Delete file.
6260
6261 * sysdeps/sh/elf/configure.in: Moved to ...
6262 * sysdeps/sh/configure.in: ... here.
6263 * sysdeps/sh/elf/start.S: Moved to ...
6264 * sysdeps/sh/start.S: ... here.
6265 * sysdeps/sh/elf/configure: Delete file.
6266
6267 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6268 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6269 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6270 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6271 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6272 * sysdeps/powerpc/powerpc64/start.S: here.
6273 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6274 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6275 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6276 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6277 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6278
6279 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6280 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6281 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6282 * sysdeps/powerpc/powerpc32/start.S: ... here.
6283 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6284 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6285 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6286
6287 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6288 * sysdeps/powerpc/ifunc-sel.h: ... here.
6289 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6290 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6291
6292 * sysdeps/sparc/elf/configure.in: Moved to ...
6293 * sysdeps/sparc/configure.in: ... here.
6294 * sysdeps/sparc/elf/configure: Delete file.
6295 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6296 * sysdeps/sparc/sparc32/start.S: ... here.
6297 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6298 * sysdeps/sparc/sparc64/start.S: ... here.
6299 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6300 * sysdeps/sparc/sparc32/Makefile: ... this.
6301 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6302 * sysdeps/sparc/sparc64/Makefile: ... this.
6303
6304 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6305 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6306 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6307 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6308 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6309 * sysdeps/s390/s390-32/setjmp.S: ... here.
6310 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6311 * sysdeps/s390/s390-32/configure.in: ... here.
6312 * sysdeps/s390/s390-32/elf/configure: Delete file.
6313 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6314 * sysdeps/s390/s390-32/start.S: ... here.
6315
6316 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6317 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6318 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6319 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6320 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6321 * sysdeps/s390/s390-64/setjmp.S: ... here.
6322 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6323 * sysdeps/s390/s390-64/configure.in: ... here
6324 * sysdeps/s390/s390-64/elf/configure: Delete file.
6325 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6326 * sysdeps/s390/s390-64/start.S: ... here.
6327 * sysdeps/s390/s390-64/elf/configure: Delete.
6328
6329 * configure.in: Remove support for elf directories in sysdeps.
6330
6331 * configure: Regenerated.
6332 * sysdeps/i386/configure: Regenerated.
6333 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6334 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6335 * sysdeps/s390/s390-32/configure: Regenerated.
6336 * sysdeps/s390/s390-64/configure: Regenerated.
6337 * sysdeps/sh/configure: Regenerated.
6338 * sysdeps/sparc/configure: Regenerated.
6339 * sysdeps/x86_64/configure: Regenerated.
6340
a3f61311
AS
63412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6342
c876e002
AS
6343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6344
a3f61311
AS
6345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6346 denormal result into account.
6347
ac4c54f0
RM
63482012-03-25 Roland McGrath <roland@hack.frob.com>
6349
6350 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6351 Reported by Allan McRae <allan@archlinux.org>.
6352
6a9b9c02
JL
63532012-03-23 Jeff Law <law@redhat.com>
6354
6355 * nss/getnssent.c (__nss_getent): Fix typo.
6356
4c42a0c1
DM
63572012-03-23 David S. Miller <davem@davemloft.net>
6358
6359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6360
1532c7ac
L
63612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6364 to pad to uint64_t for each field.
6365 (dl_tls_index): Replace unsigned long with uint64_t.
6366
3ff42526
PP
63672012-03-23 Daniel Jacobowitz <dmj@google.com>
6368 Paul Pluzhnikov <ppluzhnikov@google.com>
6369
6370 [BZ #6528]
6371 * grp/Makefile (otherlibs): Don't set it.
6372 * inet/Makefile (otherlibs): Likewise.
6373 * login/Makefile (otherlibs): Likewise.
6374 * nscd/Makefile (otherlibs): Likewise.
6375 * posix/Makefile (otherlibs): Likewise.
6376 * pwd/Makefile (otherlibs): Likewise.
6377 * rt/Makefile (otherlibs): Likewise.
6378 * sunrpc/Makefile (otherlibs): Likewise.
6379 * nss/Makefile (otherlibs): Likewise.
6380 Add libnss_files to routines and static-only-routines.
6381 ($(objpfx)getent): Remove rule.
6382 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6383 static-only-routines.
6384
7c69cd14
JM
63852012-03-22 Joseph Myers <joseph@codesourcery.com>
6386
6387 [BZ #13892]
6388 * math/s_cexp.c: Include <float.h>.
6389 (__cexp): Handle exp result overflowing not necessarily
6390 overflowing both real and imaginary parts of result.
6391 * math/s_cexpf.c: Likewise.
6392 * math/s_cexpl.c: Likewise.
6393 * math/libm-test.inc (cexp_test): Add more tests.
6394 * sysdeps/i386/fpu/libm-test-ulps: Update.
6395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396
81b035fe
L
63972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * include/link.h (ELFW): New macro.
6400 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6401 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6402
1da7940c
L
64032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6404
6405 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6406 with uint64_t.
6407
b749dbb9
L
64082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6411 declaration.
6412 (struct La_x32_retval): Likewise.
6413
2ff87f3f
L
64142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6415
6416 * sysdeps/x86_64/preconfigure.in: New file.
6417 * sysdeps/x86_64/preconfigure: New generated file.
6418
c0df8e69
JM
64192012-03-22 Joseph Myers <joseph@codesourcery.com>
6420
48e44791
JM
6421 [BZ #13824]
6422 * math/e_exp2l.c: Include <float.h>.
6423 (__ieee754_exp2l): Handle overflow and underflow cases
6424 separately. Only pass fractional part of argument to
6425 __ieee754_expl.
6426 * math/libm-test.inc (exp2_test): Add more tests.
6427
c0df8e69
JM
6428 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6429 negating x to take absolute value.
6430 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6431 Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6434 Likewise.
6435 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6436 computing low part if x was negated.
6437 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6438
c8e43ba7
L
64392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6442 la_x32_gnu_pltexit.
6443 (pltexit): Cast int_retval to ptrdiff_t.
6444 * elf/tst-auditmod3b.c: Likewise.
6445 * elf/tst-auditmod4b.c: Likewise.
6446 * elf/tst-auditmod5b.c: Likewise.
6447 * elf/tst-auditmod6b.c: Likewise.
6448 * elf/tst-auditmod6c.c: Likewise.
6449 * elf/tst-auditmod7b.c: Likewise.
6450
6451 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6452 and x32_gnu_pltexit.
6453
6454 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6455 __ELF_NATIVE_CLASS.
6456 (La_x32_regs): New macro.
6457 (La_x32_retval): Likewise.
6458 (la_x32_gnu_pltenter): New function prototype.
6459 (la_x32_gnu_pltexit): Likewise.
6460
7998fa78
AS
64612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6462
dcb33988
AS
6463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6464 exponent.
6465
233fc563
AS
6466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6467
7998fa78
AS
6468 * configure.in (libc_cv_cc_nofma): Check for option to disable
6469 generation of FMA instructions.
6470 * configure: Regenerate.
6471 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6472 * sysdeps/ieee754/dbl-64/Makefile: New file.
6473 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6474 Remove brandred-fma4.
6475 (CFLAGS-brandred-fma4.c): Remove.
6476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6478 define.
6479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6480 define.
6481
8e95c99a
L
64822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6485 LLONG_MAX != LONG_MAX.
6486 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6487 (_fitoa_word): Likewise.
6488 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6489 LLONG_MAX != LONG_MAX.
6490 * stdio-common/_itowa.h: Include <_itoa.h>.
6491 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6492 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6493 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6494 only if not defined.
6495 (_ITOA_WORD_TYPE): Likewise.
6496 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6497 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6498
6f4db457
DM
64992012-03-21 David S. Miller <davem@davemloft.net>
6500
6501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6502
7785fe5a
L
65032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6506 of x86_64 when setting libc_cv_slibdir, libdir and
6507 libc_cv_localedir.
6508 * sysdeps/unix/sysv/linux/configure: Regenerated.
6509
4535cd55
JM
65102012-03-21 Joseph Myers <joseph@codesourcery.com>
6511
6512 * manual/lang.texi (Old Varargs): Remove section.
6513 (How Variadic): Update menu.
6514 (va_start): Do not mention varargs.h.
6515
17228132
TS
65162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6517 Joseph Myers <joseph@codesourcery.com>
6518
6519 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6520 link test.
6521 * configure: Regenerated.
6522
8149f976
TS
65232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6524
05f3d1f6
UD
6525 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6526 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6527 conformtest.pl
8149f976 6528
1a4ac776
JM
65292012-03-21 Joseph Myers <joseph@codesourcery.com>
6530
be22ce65
JM
6531 * NOTES: Remove.
6532 * Makefile (files-for-dist): Remove NOTES.
6533 (NOTES): Remove rule.
6534 * README: Don't refer to NOTES.
6535 * manual/creature.texi: Don't include macros.texi.
6536 * manual/intro.texi (creature.texi): Remove comment referring to
6537 NOTES.
6538
40b601fb
JM
6539 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6540 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6541 * configure: Regenerated.
6542 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6543 LIBC_TRY_CC_OPTION.
6544 (libc_cv_as_i686): Likewise.
6545 (libc_cv_cc_avx): Likewise.
6546 (libc_cv_cc_sse2avx): Likewise.
6547 (libc_cv_cc_fma4): Likewise.
6548 (libc_cv_cc_novzeroupper): Likewise.
6549 * sysdeps/i386/configure: Regenerated.
6550
1a4ac776
JM
6551 [BZ #13883]
6552 * sysdeps/i386/fpu/s_cexp.S: Remove.
6553 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6554 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6555 * math/libm-test.inc (cexp_test): Add more tests.
6556 * sysdeps/i386/fpu/libm-test-ulps: Update.
6557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6558
a458e7fe
AM
65592012-03-21 Allan McRae <allan@archlinux.org>
6560
6561 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6562
0cb7efc5
JM
65632012-03-21 Joseph Myers <joseph@codesourcery.com>
6564
6565 [BZ #13871]
6566 * math/w_exp2.c: Do not include <float.h>.
6567 (o_threshold, u_threshold): Remove.
6568 (__exp2): Calculate result before checking finiteness and calling
6569 __kernel_standard.
6570 * math/w_exp2f.c: Likewise.
6571 * math/w_exp2l.c: Likewise.
6572 * math/libm-test.inc (exp2_test): Require overflow exception for
6573 1e6 input.
2460d3aa
JM
6574
6575 [BZ #3866]
6576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6577 range of signed 64-bit integers before using fistpll. Remove
6578 checks for whether integers fit in mantissa bits.
6579 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6580 the range of signed 32-bit integers before using fistpl. Remove
6581 checks for whether integers fit in mantissa bits.
6582 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6583 (__ieee754_powl): Test for y outside the range of signed 64-bit
6584 integers before using fistpll. Reduce 64-bit values to 63-bit
6585 ones as needed.
6586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6587 divide-by-zero is raised for zero to large negative powers.
6588 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6589 (__ieee754_powl): Test for y outside the range of signed 64-bit
6590 integers before using fistpll. Reduce 64-bit values to 63-bit
6591 ones as needed.
6592 * math/libm-test.inc (pow_test): Add more tests.
6593
eb96ffb0
L
65942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6595
6596 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6597 <stdio-common/_itoa.h>.
6598 * debug/segfault.c: Likewise.
6599 * elf/dl-cache.c: Likewise.
6600 * elf/dl-minimal.c: Likewise.
6601 * elf/dl-misc.c: Likewise.
6602 * elf/dl-sysdep.c: Likewise.
6603 * elf/dl-version.c: Likewise.
6604 * elf/rtld.c: Likewise.
6605 * hurd/hurdsock.c: Likewise.
6606 * hurd/lookup-retry.c: Likewise.
6607 * malloc/malloc.c: Likewise.
6608 * malloc/mtrace.c: Likewise.
6609 * nscd/nscd_getgr_r.c: Likewise.
6610 * nscd/nscd_getpw_r.c: Likewise.
6611 * nscd/nscd_getserv_r.c: Likewise.
6612 * posix/getopt_init.c: Likewise.
6613 * posix/wordexp.c: Likewise.
6614 * stdio-common/_itoa.c: Likewise.
6615 * stdio-common/printf_fphex.c: Likewise.
6616 * stdio-common/vfprintf.c: Likewise.
6617 * string/_strerror.c: Likewise.
6618 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6619 * sysdeps/i386/i686/hp-timing.h: Likewise.
6620 * sysdeps/mach/_strerror.c: Likewise.
6621 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6622 * sysdeps/mach/hurd/sethostid.c: Likewise.
6623 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6624 * sysdeps/mach/xpg-strerror.c: Likewise.
6625 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6627 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6628 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6629 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6630 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6631 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6632 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6633 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6634 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6635 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6636 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6641 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6643 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6644 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6645 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6646
6647 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6648
6649 * stdio-common/_itoa.h: Moved to ...
6650 * sysdeps/generic/_itoa.h: Here.
6651
6652 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6653
6654 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6655 instead of "_itoa.h" and "_itowa.h".
6656 * stdio-common/vfprintf.: Likewise.
6657
d1af992d
L
66582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6661 <bits/wordsize.h>.
6662 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6663 (__signbit): Likwise.
6664 (llrintf): Likwise.
6665 (llrint): Likwise.
6666
114883e0
L
66672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6668
6669 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6670 __WORDSIZE != 64.
6671
c135cc1b
JM
66722012-03-20 Joseph Myers <joseph@codesourcery.com>
6673
6674 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6675 OVERFLOW_EXCEPTION_OK.
6676 * math/libm-test.inc ("Philosophy"): Update comment about
6677 exception testing.
6678 (OVERFLOW_EXCEPTION): Define.
6679 (OVERFLOW_EXCEPTION_OK): Likewise.
6680 (INVALID_EXCEPTION_OK): Renumber.
6681 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6682 (IGNORE_ZERO_INF_SIGN): Likewise.
6683 (test_exceptions): Handle FE_OVERFLOW.
6684 (exp10_test): Expect overflow exceptions.
6685 (exp2_test): Likewise.
6686 (expm1_test): Likewise.
6687 (nextafter_test): Likewise.
6688 (pow_test): Likewise.
6689 (scalbn_test): Likewise.
6690 (scalbln_test): Likewise.
6691
95443d88
L
66922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * sysdeps/x86_64/bits/atomic.h
6695 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6696 64bit integer.
6697 (atomic_exchange_acq): Likewise.
6698 (__arch_exchange_and_add_body): Likewise.
6699 (__arch_add_body): Likewise.
6700 (atomic_add_negative): Likewise.
6701 (atomic_add_zero): Likewise.
6702
490df6c4
L
67032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6704
c2722551 6705 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6706 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6707
5e52b189
L
67082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6709
6710 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6711 Check __x86_64__ instead of __WORDSIZE.
6712
a9879d4c
L
67132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6714
6715 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6716
5df98260
DM
67172012-03-19 David S. Miller <davem@davemloft.net>
6718
e1497744
DM
6719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6720
5df98260
DM
6721 * sysdeps/sparc/fpu/fenv_private.h: New file.
6722 * sysdeps/sparc/fpu/math_private.h: Use it.
6723 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6724 Remove.
6725 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6726 (libc_feholdexcept_setroundl): Remove.
6727 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6728 Remove.
6729 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6730 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6731
b4c35121
L
67322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6733
6734 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6735 int64_t instead of long int.
6736 (INSERT_WORDS64): Likwise.
6737
56965fd7
L
67382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6741 _Unwind_GetCFA return to _Unwind_Ptr first.
6742
83d1aec8
JM
67432012-03-19 Joseph Myers <joseph@codesourcery.com>
6744
1897ad44
JM
6745 [BZ #13629]
6746 * math/s_clog.c: Include <float.h>.
6747 (__clog): Scale large or subnormal inputs.
6748 * math/s_clogf.c: Likewise.
6749 * math/s_clogl.c: Likewise.
6750 * math/s_clog10.c: Include <float.h>.
6751 (M_LOG10_2): Define.
6752 (__clog10): Scale large or subnormal inputs.
6753 * math/s_clog10f.c: Likewise.
6754 * math/s_clog10l.c: Likewise.
6755 * math/libm-test.inc (clog_test): Add more tests.
6756 (clog10_test): Likewise.
6757 * sysdeps/i386/fpu/libm-test-ulps: Update.
6758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6759
7726d6a9
JM
6760 [BZ #11451]
6761 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6762 x and y.
6763 * math/libm-test.inc (atan2_test): Add another test.
6764
83d1aec8
JM
6765 * Makerules (common-objdir-compile): Remove.
6766 * sysdeps/unix/Makefile (config-generated): Do not add
6767 $(unix-generated) to variable.
6768 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6769 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6770 Remove rule.
6771 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6772 Likewise.
6773 [generic bits/local_lim.h] (before-compile): Do not append to
6774 variable.
6775 [generic bits/local_lim.h] (common-generated): Likewise.
6776 [generic sys/param.h] (before-compile): Do not append to variable.
6777 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6778 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6779 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6780 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6781 include.
6782 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6783 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6784 [generic sys/param.h] ($(addprefix
6785 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6786 [generic sys/param.h] (common-generated): Do not append to
6787 variable.
6788 [generic sys/param.h] (sysdep_headers): Likewise.
6789 [generic bits/errno.h] (before-compile): Do not append to
6790 variable.
6791 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6792 rule.
6793 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6794 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6795 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6796 [generic bits/errno.h] (common-generated): Do not append to
6797 variable.
6798 [generic bits/ioctls.h] (before-compile): Do not append to
6799 variable.
6800 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6801 rule.
6802 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6803 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6804 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6805 rule.
6806 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6807 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6808 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6809 [generic bits/ioctls.h] (common-generated): Do not append to
6810 variable.
6811 [generic sys/syscall.h] (syscall.h): Remove variable.
6812 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6813 rule.
6814 [generic sys/syscall.h] (before-compile): Do not append to
6815 variable.
6816 [generic sys/syscall.h] (common-generated): Likewise.
6817 * sysdeps/unix/errnos-tmpl.c: Remove file.
6818 * sysdeps/unix/errnos.awk: Likewise.
6819 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6820 * sysdeps/unix/ioctls.awk: Likewise.
6821 * sysdeps/unix/mk-local_lim.c: Likewise.
6822 * sysdeps/unix/snarf-ioctls: Likewise.
6823
4851a949
RH
68242012-03-19 Richard Henderson <rth@twiddle.net>
6825
bd37f2ee
RH
6826 * sysdeps/i386/fpu/fenv_private.h: New file.
6827 * sysdeps/i386/fpu/math_private.h: Use it.
6828 (math_opt_barrier, math_force_eval): Remove.
6829 (libc_feholdexcept_setround_53bit): Remove.
6830 (libc_feupdateenv_53bit): Remove.
6831 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6832 (math_opt_barrier, math_force_eval): Remove.
6833 (libc_feholdexcept): Remove.
6834 (libc_feholdexcept_setround): Remove.
6835 (libc_fetestexcept, libc_fesetenv): Remove.
6836 (libc_feupdateenv_test): Remove.
6837 (libc_feupdateenv, libc_feholdsetround): Remove.
6838 (libc_feresetround): Remove.
6839
d0adc922
RH
6840 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6841 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6842
0fe0f1f8
RH
6843 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6844 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6845 (libc_feupdateenv_testl): New.
6846 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6847 (libc_feupdateenv_testf): New.
6848 (libc_feupdateenv): Use libc_feupdateenv_test.
6849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6850 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6851
eb92c487
RH
6852 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6853 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6854 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6855 (libc_feresetround_noex): New.
6856 (libc_feresetround_noexf): New.
6857 (libc_feresetround_noexl): New.
6858 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6859 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6860 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6861 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6862 SET_RESTORE_ROUND.
6863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6865 (__cos): Likewise.
6866 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6867 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6868 SET_RESTORE_ROUND_NOEX.
6869 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6870 SET_RESTORE_ROUND_NOEXF.
6871 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6872 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6873 (libc_feholdsetroundf): New.
6874 (libc_feresetround, libc_feresetroundf): New.
6875
7d2e8012
RH
6876 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6877 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6878 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6879
b4dabbb4
RH
6880 * sysdeps/generic/math_private.h: Include <fenv.h>.
6881 (default_libc_feholdexcept): New.
6882 (default_libc_feholdexcept_setround): New.
6883 (default_libc_fesetenv, default_libc_feupdateenv): New.
6884 (libc_feholdexcept): Only define if undefined.
6885 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6886 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6887 (libc_feholdexcept_setroundl): Likewise.
6888 (libc_feholdexcept_setround_53bit): Likewise.
6889 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6890 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6891 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6892 (libc_feupdateenv_53bit): Likewise.
6893 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6894 (libc_feholdexcept): Convert from macro to inline function.
6895 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6896 (libc_fesetenv, libc_feupdateenv): Likewise.
6897
4851a949
RH
6898 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6899 not previously defined.
6900 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6901 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6902 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6903 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6904 * sysdeps/ieee754/flt-32/math_private.h: New file.
6905 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6906 math_private.h below SET_FLOAT_WORD.
6907 (__isnan, __isinf_ns, __finite): Remove.
6908 (__isnanf, __isinf_nsf, __finitef): Remove.
6909
e79d442e
AS
69102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6911
6912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6913
90b80344
DM
69142012-03-17 David S. Miller <davem@davemloft.net>
6915
6916 [BZ #6471]
6917 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6918 for 2.16.
6919
edc21804
DM
69202012-03-16 David S. Miller <davem@davemloft.net>
6921
77e927af
DM
6922 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6923 warnings.
6924
374976dd
DM
6925 [BZ #6471]
6926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6927 properly.
6928 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6929 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6930 sysdep_routines when subdir is sysvipc.
6931 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6932 __getshmlba helper.
6933
edc21804
DM
6934 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6935
473c3ef3
L
69362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6939 [__LP64__].
6940
eb0f39b6
L
69412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6942
6943 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6944 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6945 (__lround): Renamed to ...
6946 (__llround): This. Replace long int with long long int.
6947 Define lround functions as aliases of llround functions.
6948 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6949
6b6cd74b
L
69502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6951
6952 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6953 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6954 adresses to uintptr_t. Replace "long int" and "unsigned long
6955 int" with "greg_t" on va_arg.
6956
f1a77b01
L
69572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6958
6959 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6960 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6961
6962 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6963 Move e_machine check before EI_CLASS check. Handle x32
6964 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6965 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6966 SKIP_EM_IA_64 and include
6967 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6968
6969 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6970 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6971 (add_system_dir): New macro.
6972
6973 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6974 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6975
11b90b9f
JM
69762012-03-16 Joseph Myers <joseph@codesourcery.com>
6977
c36e1d23
JM
6978 [BZ #2551]
6979 [BZ #2552]
6980 [BZ #2553]
6981 [BZ #2554]
6982 [BZ #2562]
6983 [BZ #2563]
6984 [BZ #2565]
6985 [BZ #2566]
6986 [BZ #2576]
6987 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6988 (y0): Likewise.
6989 * math/w_j0f.c (j0f): Likewise.
6990 (y0f): Likewise.
6991 * math/w_j0l.c (__j0l): Likewise.
6992 (__y0l): Likewise.
6993 * math/w_j1.c (j1): Likewise.
6994 (y1): Likewise.
6995 * math/w_j1f.c (j1f): Likewise.
6996 (y1f): Likewise.
6997 * math/w_j1l.c (__j1l): Likewise.
6998 (__y1l): Likewise.
6999 * math/w_jn.c (jn): Likewise.
7000 (yn): Likewise.
7001 * math/w_jnf.c (jnf): Likewise.
7002 (ynf): Likewise.
7003 * math/w_jnl.c (__jnl): Likewise.
7004 (__ynl): Likewise.
7005 * math/libm-test.inc (j0_test): Add more tests.
7006 (j1_test): Likewise.
7007 (jn_test): Likewise. Add trailing semicolon to existing test.
7008 (y0_test): Likewise.
7009 (y1_test): Likewise.
7010 * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012
11b90b9f
JM
7013 [BZ #13851]
7014 [BZ #13854]
7015 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7016 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7017 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7019 (__tanl): Set errno for infinite argument.
7020 * sysdeps/i386/fpu/mptan.c: Remove.
7021 * sysdeps/i386/fpu/s_tan.S: Likewise.
7022 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7023 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7024 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7025 * math/libm-test.inc (tan_test): Add more tests and enable more
7026 tests for double and long double.
7027 * sysdeps/i386/fpu/libm-test-ulps: Update.
7028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7029
6a1bd2a1
JK
70302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7033 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7034
10a803e0
RM
70352012-03-16 Roland McGrath <roland@hack.frob.com>
7036
7037 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7038 * configure.in: Use it for both main tree and add-ons.
7039 * configure: Regenerated.
7040
f196c7f7
L
70412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7042
7043 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7044
8848d99d
JM
70452012-03-16 Joseph Myers <joseph@codesourcery.com>
7046
96cbe7f4
JM
7047 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7048 in comment.
7049
8848d99d
JM
7050 [BZ #13851]
7051 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7052 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7056 infinite argument.
7057 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7059 != 0 for prec == 2.
7060 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7061 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7062 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7063 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7064 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7065 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7066 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7067 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7068 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7069 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7070 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7071 * math/libm-test.inc (cos_test): Add more tests and enable more
7072 tests for long double.
7073 (sin_test): Likewise.
7074 (sincos_test): Likewise.
7075 * sysdeps/i386/fpu/libm-test-ulps: Update.
7076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077
dd7f4703
DM
70782012-03-16 David S. Miller <davem@davemloft.net>
7079
7080 * sysdeps/sparc/fpu/math_private.h: New file.
7081
006f1daa
DM
70822012-03-15 David S. Miller <davem@davemloft.net>
7083
c0c83bc8
DM
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7085 file.
e6a62e18 7086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7088 file.
e6a62e18
DM
7089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7095 sysdep routines.
7096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7097
88cb87d9
DM
7098 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7099 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7100
006f1daa 7101 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7103 sparc-ifunc.h
006f1daa 7104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7106 Likewise.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7108 Likewise.
006f1daa
DM
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7113 Likewise.
006f1daa
DM
7114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7119 Likewise.
7120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7121 Likewise.
006f1daa
DM
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7146
11e0098e
AS
71472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7148
7149 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7150 scaling.
7151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7152
e85b09d0
AJ
71532012-03-15 Andreas Jaeger <aj@suse.de>
7154
7155 [BZ #13852]
7156 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7157 ieee754/flt-32 implementation for sin, cos and sincos.
7158 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7159 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7160 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7161 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7162 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7163 ieee754/flt-32 implementation for tan.
7164
7165 * math/libm-test.inc (cos_test): Enable some large input tests for
7166 float as well
7167 (sin_test): Likewise.
7168 (sincos_test): Likewise.
7169 (tan_test): Add tests for large input.
7170
7171 * sysdeps/i386/fpu/libm-test-ulps: Update.
7172
81c64153
AJ
71732012-03-15 Andreas Jaeger <aj@suse.de>
7174
7175 [BZ #13658]
7176 * math/libm-test.inc (cos_test): Add more test cases.
7177 (sin_test): Likewise.
7178 (sincos_test): Likewise.
7179
7bbfa5c6
AJ
71802012-03-15 Andreas Jaeger <aj@suse.de>
7181
7182 [BZ #13837]
7183 * math/libm-test.inc (cos_test): Add a test case for large input
7184 value.
7185 (sin_test): Likewise.
7186 (sincos_test): Likewise.
7187
71882012-03-15 Andreas Jaeger <aj@suse.de>,
7189 Joseph Myers <joseph@codesourcery.com>
7190
7191 [BZ #13658]
0671f479 7192 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7193 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7194 * sysdeps/i386/fpu/branred.c: Likewise.
7195 * sysdeps/i386/fpu/dosincos.c: Likewise.
7196 * sysdeps/i386/fpu/mpa.c: Likewise.
7197 * sysdeps/i386/fpu/s_cos.S: Likewise.
7198 * sysdeps/i386/fpu/s_sin.S: Likewise.
7199 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7200 * sysdeps/i386/fpu/sincos32.c: Likewise.
7201
7202 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7203 Define.
7204 (libc_feupdateenv_53bit): Define.
7205 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7206 Define.
7207 (libc_feupdateenv_53bit): Define.
7208
7209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7210 53 bit (without extend i386 double precision).
7211
7212 * math/libm-test.inc (sincos_test): Add tests for large input.
7213 (sin): Likewise.
7214 (cos): Likewise.
7215
7216 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7217
9cad04ea
AS
72182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7219
7220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7221
f7062b9a
DM
72222012-03-15 David S. Miller <davem@davemloft.net>
7223
7224 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7225 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7226 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7227 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7240 file.
f7062b9a 7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7243 file.
f7062b9a 7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7246 file.
f7062b9a 7247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7249 file.
f7062b9a
DM
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7252 fmin/fmax sysdep routines.
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7254
7bd951ff
DM
72552012-03-14 David S. Miller <davem@davemloft.net>
7256
559398ab
DM
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7286 routines.
7287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7288 file.
559398ab 7289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7291 file.
559398ab 7292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7294 file.
559398ab 7295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7297 file.
559398ab 7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7300 file.
559398ab 7301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7303 file.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7305 file.
7306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7307 file.
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7309 file.
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7311 New file.
7312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7313 file.
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7315 file.
559398ab 7316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7318 file.
559398ab 7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7321 file.
559398ab 7322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7324 file.
559398ab 7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7327 VIS3 routines.
559398ab
DM
7328
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7330 New file.
7331
5a1c1e32
DM
7332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7333
eae47a36
DM
7334 * sysdeps/sparc/configure.in: New file.
7335 * sysdeps/sparc/configure: Generate.
7336 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7337 * configure: Regenerate.
7338 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7339 * config.make.in (have-as-vis3): New.
7340 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7341 available use -Av9d instead of -Av9a.
7342 * sysdeps/sparc/sparc64/Makefile: Likewise.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7345 New file.
7346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7347 file.
7348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7349 New file.
7350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7351 file.
eae47a36
DM
7352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7357
c0c83bc8
DM
7358 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7359 fzeros/fnegs to load 0x80000000 into a float register instead of
7360 using the stack.
7bd951ff
DM
7361 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7362
bd951ccb
JM
73632012-03-14 Joseph Myers <joseph@codesourcery.com>
7364
7365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7366 bits/syscall.h.
7367 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7368 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7369 ($(inst_includedir)/bits/syscall.h): Remove rule.
7370 ($(objpfx)bits/syscall.d): Include instead of
7371 $(objpfx)syscall-list.d.
7372 (generated): Change syscall-list.h and syscall-list.d to
7373 bits/syscall.h and bits/syscall.d.
7374
bb4e6db2
RM
73752012-03-14 Roland McGrath <roland@hack.frob.com>
7376
7377 [BZ #13846]
7378 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7379
aa4a2ae1
JM
73802012-03-14 Joseph Myers <joseph@codesourcery.com>
7381
e456826d
JM
7382 [BZ #13841]
7383 * math/s_csqrt.c: Include <float.h>.
7384 (__csqrt): Scale large or subnormal inputs.
7385 * math/s_csqrtf.c: Likewise.
7386 * math/s_csqrtl.c: Likewise.
7387 * math/libm-test.inc (csqrt_test): Add more tests.
7388 * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7390
aa4a2ae1
JM
7391 [BZ #13840]
7392 * math/libm-test.inc (hypot_test): Add more tests.
7393
7c10fd35
DM
73942012-03-13 David S. Miller <davem@davemloft.net>
7395
7396 [BZ #13840]
7397 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7398 double-precision for the calculation instead of scaling.
7399
f453b98b
JM
74002012-03-13 Joseph Myers <joseph@codesourcery.com>
7401
7402 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7403 manipulate bits before adding and subtracting TWO52[sx].
7404 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7405 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7406 Likewise.
7407 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7408
09a3453f
DM
74092012-03-13 David S. Miller <davem@davemloft.net>
7410
8e59da90
DM
7411 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7412 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7414 rtld-global-offsets.h
7415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7416
2a8ab7f2
DM
7417 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7418 large parameters.
7419
10f62770
DM
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7421
5f0bdb18
DM
7422 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7423 'err' in the ifdef scope in which it is actually used.
7424
09a3453f
DM
7425 * nss/nss_db/db-init.c: Include string.h
7426
b4b2eb5e
DM
74272012-03-12 David S. Miller <davem@davemloft.net>
7428
98bb2f1c
DM
7429 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7430 masking out of the most significant byte of random value used.
7431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7432 Fix coding style in previous change.
7433
b4b2eb5e
DM
7434 * sysdeps/unix/sysv/linux/kernel-features.h
7435 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7436 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7437 expression.
7438 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7439 later.
7440
6e226b09
DM
74412012-03-11 David S. Miller <davem@davemloft.net>
7442
a1bcbd40
DM
7443 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7444 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7445 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7446 for 'resultvar' otherwise things get truncated on 64-bit.
7447
cb9d6174
DM
7448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7449 Fix masking out of the most significant byte of random value used.
7450
6e226b09
DM
7451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7452
058c132d
AS
74532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7454
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456
2d2cd515
DM
74572012-03-09 David S. Miller <davem@davemloft.net>
7458
7459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7460 variables with appropriate CPP guards.
7461 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7462 frame pointer, not the stack pointer. Correct layout comments. Fix test
7463 on resulting framesize and the management of the outregs buffer for pltexit.
7464 Preserve floating point return values across _dl_call_pltexit call.
7465 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7466 framesize and the management of the outregs buffer for pltexit.
7467 Preserve floating point return values across _dl_call_pltexit
7468 call.
7469 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7470 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7471 (print_exit): Fix format string for return register value.
7472
9a07f9d0
JM
74732012-03-10 Joseph Myers <joseph@codesourcery.com>
7474
7475 * sunrpc/Makefile (others): Add rpcgen.
7476 ($(objpfx)rpcgen): Remove special build rule and dependency on
7477 libc.
7478 * sunrpc/rpcgen.c: New file.
7479
547b5e30
PE
74802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7481
c524201a
PE
7482 [BZ #13673]
7483 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7484 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7485 * sysdeps/i386/crti.S: Likewise.
7486 * sysdeps/i386/crtn.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7490 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7491 * sysdeps/sh/crti.S: Likewise.
7492 * sysdeps/sh/crtn.S: Likewise.
7493 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7494
7b6235f2
PE
7495 [BZ #13673]
7496 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7497 with URL.
7498 * locale/programs/locfile-kw.gperf: Likewise.
7499 * locale/programs/charmap-kw.h: Regenerated.
7500 * locale/programs/locfile-kw.h: Likewise.
7501
547b5e30
PE
7502 [BZ #13673]
7503 * intl/plural.y: Replace FSF snail mail address with URL.
7504 * intl/plural.c: Regenerated.
7505
5f0a5dae
RH
75062012-03-09 Richard Henderson <rth@twiddle.net>
7507
7508 * include/math_private.h: Remove file.
7509 * math/math_private.h: Move file ...
7510 * sysdeps/generic/math_private.h: ... here.
7511
b8c03620
RH
7512 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7513 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7514 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7515
4e234f5d 7516 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7517 and <math_private.h>.
7518 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7519 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7520 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7521 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7522 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7606 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7607 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7608 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7609 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7611 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7612 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7613 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7614 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7615 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7616 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7617 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7618 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7619 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7620 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7621 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7622 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7623 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7624 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7625 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7629 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7630 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7631 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7632 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7634 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7635 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7636 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7637 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7638 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7639 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7640 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7642 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7644 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7645 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7646 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7648 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7650 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7651 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7653 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7654 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7656 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7657 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7658 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7659 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7660 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7661 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7662 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7664 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7665 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7666 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7667 * sysdeps/ieee754/k_standard.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7787 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7800 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7818 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7828 * sysdeps/ieee754/s_lib_version.c: Likewise.
7829 * sysdeps/ieee754/s_matherr.c: Likewise.
7830 * sysdeps/ieee754/s_signgam.c: Likewise.
7831 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7832 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7833 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7834 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7835 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7836 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7837 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7838 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7839 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7840 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7841 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7842 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7843 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7845 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7846 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7848 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7849 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7852
1991fa03
JM
78532012-03-09 Joseph Myers <joseph@codesourcery.com>
7854
7855 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7856 * sunrpc/rpc_main.c: Likewise.
7857 * sunrpc/rpc_svcout.c: Likewise.
7858
60d6f5a6
DM
78592012-03-09 David S. Miller <davem@davemloft.net>
7860
7861 * include/math_private.h: New file.
7862
4962050e
JM
78632012-03-09 Joseph Myers <joseph@codesourcery.com>
7864
02a6f887
JM
7865 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7866 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7867 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7868 from <bits/socket_type.h>.
7869 (enum __socket_type): Don't define here.
7870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7872 bits/socket_type.h.
7873
c6e013c1
JM
7874 [BZ #13566]
7875 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7876 checking __USE_GNU.
7877
4962050e
JM
7878 * Makerules ($(inst_includedir)/%.h): New rule.
7879 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7880 (install-others): Remove variable setting.
7881 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7882
38842f45
RH
78832012-03-08 Richard Henderson <rth@twiddle.net>
7884
67bb6da6
RH
7885 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7886 from macro to inline function; merge with the
7887 !__LIBC_INTERNAL_MATH_INLINES version.
7888 (__ieee754_sqrtf): Likewise.
7889
15194b4b
RH
7890 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7891 to inline function.
7892 (__rintf, __floor, __floorf): Likewise.
7893
64e21ede
RH
7894 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7895 macro to inline function.
7896 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7897
38842f45
RH
7898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7899 not <math/math_private.h>.
7900
c64bf5fe
DM
79012012-03-08 David S. Miller <davem@davemloft.net>
7902
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7904 copyright year.
7905 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7906
82d86f28
TS
79072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7908
7909 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7910 normalization.
7911 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7912 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7913
aea5d727
UD
79142012-03-08 Ulrich Drepper <drepper@gmail.com>
7915
7916 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7917 be defined individually, they must be defined as a block. Define
7918 S for printing a string instead of hidint the different by using a
7919 macro for adding the 'l'.
7920 * stdio-common/tst-fphex-wide.c: Adjust.
7921
70bca0a3
MP
79222012-03-07 Marek Polacek <polacek@redhat.com>
7923
7924 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7925
65b81130
MP
79262012-03-08 Marek Polacek <polacek@redhat.com>
7927
7928 [BZ #13806]
7929 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7930 * stdio-common/tst-fphex.c: Define a few macros to make the
7931 test reusable. Use them.
7932 * stdio-common/tst-fphex-wide.c: New file.
7933
07037eeb
JM
79342012-03-08 Joseph Myers <joseph@codesourcery.com>
7935
a7a93d50
JM
7936 [BZ #6911]
7937 * manual/macros.texi (gnusystems): New macro.
7938 (nongnusystems): Likewise.
7939 (gnulinuxhurdsystems): Likewise.
7940 (gnuhurdsystems): Likewise..
7941 (gnulinuxsystems): Likewise.
7942 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7943 variants of the GNU system, not "GNU system".
7944 * manual/conf.texi: Likewise.
7945 * manual/errno.texi: Likewise. Update example of errno macro
7946 expansion.
7947 * manual/filesys.texi: Likewise.
7948 (getumask): Document as specific to GNU/Hurd.
7949 * manual/install.texi: Likewise. Reword some references to
7950 GNU/Linux.
7951 * manual/intro.texi: Likewise.
7952 * manual/io.texi: Likewise.
7953 (File Name Portability): Detail which constraints are inapplicable
7954 to all GNU systems and which are only inapplicable to GNU/Hurd.
7955 * manual/job.texi: Likewise.
7956 * manual/llio.texi: Likewise.
7957 (O_NOCTTY): Document as present on GNU/Linux.
7958 * manual/maint.texi: Likewise.
7959 * manual/memory.texi: Likewise.
7960 * manual/pattern.texi: Likewise.
7961 * manual/pipe.texi: Likewise.
7962 * manual/process.texi: Likewise.
7963 * manual/resource.texi: Likewise.
7964 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7965 child on GNU/Hurd.
7966 * manual/setjmp.texi: Likewise.
7967 * manual/signal.texi: Likewise.
7968 * manual/startup.texi: Likewise.
7969 * manual/stdio.texi: Likewise.
7970 * manual/terminal.texi: Likewise.
7971 (ONLCR): Document as POSIX.
7972 (OXTABS): Document availability on GNU/Linux as XTABS.
7973 (ONOEOT): Document availability separately from other bits.
7974 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7975 * manual/time.texi: Likewise.
7976 * manual/users.texi: Likewise.
7977 * INSTALL: Regenerated.
7978 * sysdeps/gnu/errlist.c: Regenerated.
7979
07037eeb
JM
7980 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7981 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7982 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7983 puts.
7984 * configure: Regenerated.
7985
d1d3431a
JM
79862012-03-07 Joseph Myers <joseph@codesourcery.com>
7987
af6a1e37
JM
7988 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7989 default includes instead of AC_HEADER_CHECK.
7990 * sysdeps/i386/configure: Regenerated.
7991
d1d3431a
JM
7992 [BZ #10716]
7993 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7994 * math/s_cacoshf.c (__cacoshf): Likewise.
7995 * math/s_cacoshl.c (__cacoshl): Likewise.
7996 * math/s_casinh.c (__casinh): Set signs of result from argument.
7997 * math/s_casinhf.c (__casinhf): Likewise.
7998 * math/s_casinhl.c (__casinhl): Likewise.
7999 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8000 (casinh_test): Add more tests.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003
482ff4da
UD
80042012-03-07 Ulrich Drepper <drepper@gmail.com>
8005
872fda05
UD
8006 * po/zh_TW.po: Update from translation team.
8007
a4300c7a
UD
8008 * login/Makefile (distribute): Remove variable.
8009 * catgets/Makefile: Likewise.
8010 * mach/Makefile: Likewise.
8011 * malloc/Makefile: Likewise.
8012 * misc/Makefile: Likewise.
8013 * iconv/Makefile: Likewise.
8014 * nscd/Makefile: Likewise.
8015 * hurd/Makefile: Likewise.
8016 * manual/Makefile: Likewise.
8017 * locale/Makefile: Likewise.
8018 * intl/Makefile: Likewise.
8019 * conform/Makefile: Likewise.
8020 * nss/Makefile: Likewise.
8021 * time/Makefile: Likewise.
8022 * soft-fp/Makefile: Likewise.
8023 * dirent/Makefile: Likewise.
8024 * gmon/Makefile: Likewise.
8025 * po/Makefile: Likewise.
8026 * rt/Makefile: Likewise.
8027 * socket/Makefile: Likewise.
8028 * math/Makefile: Likewise.
8029 * signal/Makefile: Likewise.
8030 * debug/Makefile: Likewise.
8031 * elf/Makefile: Likewise.
8032 * timezone/Makefile: Likewise.
8033 * stdlib/Makefile: Likewise.
8034 * iconvdata/Makefile: Likewise.
8035 * sunrpc/Makefile: Likewise.
8036 * io/Makefile: Likewise.
8037 * argp/Makefile: Likewise.
8038 * inet/Makefile: Likewise.
8039 * hesiod/Makefile: Likewise.
8040 * grp/Makefile: Likewise.
8041 * csu/Makefile: Likewise.
8042 * wctype/Makefile: Likewise.
8043 * crypt/Makefile: Likewise.
8044 * libio/Makefile: Likewise.
8045 * string/Makefile: Likewise.
8046 * nis/Makefile: Likewise.
8047 * resolv/Makefile: Likewise.
8048 * stdio-common/Makefile: Likewise.
8049 * wcsmbs/Makefile: Likewise.
8050 * dlfcn/Makefile: Likewise.
8051 * posix/Makefile: Likewise.
8052
3b7c4e74 8053 [BZ #6959]
482ff4da
UD
8054 * timezone/Makefile: Don't install timezone files, just the programs
8055 and scripts.
8056
f72ed77d
UD
80572012-03-06 Ulrich Drepper <drepper@gmail.com>
8058
a000466f
UD
8059 * nss/databases.def: Add missing gshadow entry.
8060
f72ed77d
UD
8061 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8062
a53b7a4e
MP
80632012-03-06 Marek Polacek <polacek@redhat.com>
8064
8065 [BZ #13726]
8066 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8067 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8068 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8069 * stdio-common/tst-long-dbl-fphex.c: New file.
8070
e9258400
DM
80712012-03-06 David S. Miller <davem@davemloft.net>
8072
8073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8074 (set_obp_int): New function.
8075 (get_obp_int): New function.
8076 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8078 Avoid unused variable warnings on 'val' and use builtin_expect.
8079 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8080 __builtin_expect.
e9258400
DM
8081 (INLINE_CLONE_SYSCALL): Likewise.
8082
3bd2c723
DM
80832012-03-05 David S. Miller <davem@davemloft.net>
8084
8085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8086
bbb78d03
AS
80872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8088
884c5db4
AS
8089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8090
bbb78d03
AS
8091 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8092 only for |x| >= 40.
8093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8094
1c9f702a 80952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8096
8097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8098 Replace gettimeofday with __vdso_gettimeofday.
8099
7be16f82
RM
8100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8101 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8102 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8103
8104 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8105 time with __vdso_time.
8106
ed58a00f
JM
81072012-03-05 Joseph Myers <joseph@codesourcery.com>
8108
8109 * manual/lang.texi (size_t): Note types to which size_t may be
8110 equivalent with the GNU C Library, but do not describe when
8111 differences between them are significant.
8112
30ee4ced
AJ
81132012-03-05 Andreas Jaeger <aj@suse.de>
8114
8115 * sysdeps/i386/fpu/libm-test-ulps: Update.
8116
b7cd39e8
JM
81172012-03-05 Joseph Myers <joseph@codesourcery.com>
8118
8119 [BZ #3976]
8120 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8121 (__ieee754_pow): Save and restore rounding mode and use
8122 round-to-nearest for main computations.
8123 * math/libm-test.inc (pow_test_tonearest): New function.
8124 (pow_test_towardzero): Likewise.
8125 (pow_test_downward): Likewise.
8126 (pow_test_upward): Likewise.
8127 (main): Call the new functions.
8128 * sysdeps/i386/fpu/libm-test-ulps: Update.
8129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8130
8131 [BZ #3976]
8132 * math/libm-test.inc (cosh_test_tonearest): New function.
8133 (cosh_test_towardzero): Likewise.
8134 (cosh_test_downward): Likewise.
8135 (cosh_test_upward): Likewise.
8136 (sinh_test_tonearest): Likewise.
8137 (sinh_test_towardzero): Likewise.
8138 (sinh_test_downward): Likewise.
8139 (sinh_test_upward): Likewise.
8140 (main): Call the new functions.
8141 * sysdeps/i386/fpu/libm-test-ulps: Update.
8142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8143
6c6a98c9
TV
81442012-03-05 Tom de Vries <tom@codesourcery.com>
8145
8146 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8147 default stack guard is set in last bytes.
8148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8149
21bb2d2e 81502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8151
21bb2d2e 8152 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8153
21bb2d2e
AJ
8154 [BZ #13656]
8155 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8156 possibly allocate from heap instead of stack.
8157 * stdio-common/bug-vfprintf-nargs.c: New file.
8158 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8159
c6922934
AS
81602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8161
8162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8163
bc957d53
MP
81642012-03-03 Marek Polacek <polacek@redhat.com>
8165
8166 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8167 * math/math_private.h: Likewise.
8168 * stdlib/tst-strtod.c: Likewise.
8169 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8170 * sysdeps/x86_64/bits/atomic.h: Likewise.
8171
6358490d
DM
81722012-03-02 David S. Miller <davem@davemloft.net>
8173
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8178 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8179 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8180 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8181 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8182
01ae168d
RM
81832012-03-02 Roland McGrath <roland@hack.frob.com>
8184
d9a17c07
RM
8185 [BZ #13792]
8186 * manual/examples/README: New file, says the example source files
8187 can be used under GPL>=2.
8188 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8189 line containing just "*/".
8190 * manual/examples/add.c: Add copyright header (GPL>=2).
8191 * manual/examples/argp-ex1.c: Likewise.
8192 * manual/examples/argp-ex2.c: Likewise.
8193 * manual/examples/argp-ex3.c: Likewise.
8194 * manual/examples/argp-ex4.c: Likewise.
8195 * manual/examples/atexit.c: Likewise.
8196 * manual/examples/db.c: Likewise.
8197 * manual/examples/dir.c: Likewise.
8198 * manual/examples/dir2.c: Likewise.
8199 * manual/examples/execinfo.c: Likewise.
8200 * manual/examples/filecli.c: Likewise.
8201 * manual/examples/filesrv.c: Likewise.
8202 * manual/examples/fmtmsgexpl.c: Likewise.
8203 * manual/examples/genpass.c: Likewise.
8204 * manual/examples/inetcli.c: Likewise.
8205 * manual/examples/inetsrv.c: Likewise.
8206 * manual/examples/isockad.c: Likewise.
8207 * manual/examples/longopt.c: Likewise.
8208 * manual/examples/memopen.c: Likewise.
8209 * manual/examples/memstrm.c: Likewise.
8210 * manual/examples/mkfsock.c: Likewise.
8211 * manual/examples/mkisock.c: Likewise.
8212 * manual/examples/mygetpass.c: Likewise.
8213 * manual/examples/pipe.c: Likewise.
8214 * manual/examples/popen.c: Likewise.
8215 * manual/examples/rprintf.c: Likewise.
8216 * manual/examples/search.c: Likewise.
8217 * manual/examples/select.c: Likewise.
8218 * manual/examples/setjmp.c: Likewise.
8219 * manual/examples/sigh1.c: Likewise.
8220 * manual/examples/sigusr.c: Likewise.
8221 * manual/examples/stpcpy.c: Likewise.
8222 * manual/examples/strdupa.c: Likewise.
8223 * manual/examples/strftim.c: Likewise.
8224 * manual/examples/strncat.c: Likewise.
8225 * manual/examples/subopt.c: Likewise.
8226 * manual/examples/swapcontext.c: Likewise.
8227 * manual/examples/termios.c: Likewise.
8228 * manual/examples/testopt.c: Likewise.
8229 * manual/examples/testpass.c: Likewise.
8230 * manual/examples/timeval_subtract.c: Likewise.
8231
01ae168d
RM
8232 [BZ #13792]
8233 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8234 function to ...
8235 * manual/timeval_subtract.c.texi: ... here, new file.
8236
49efa33d
DM
82372012-03-02 David S. Miller <davem@davemloft.net>
8238
8239 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8240
28afd92d
JM
82412012-03-02 Joseph Myers <joseph@codesourcery.com>
8242
804360ed
JM
8243 [BZ #3976]
8244 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8245 (__sin): Save and restore rounding mode and use round-to-nearest
8246 for all computations.
8247 (__cos): Save and restore rounding mode and use round-to-nearest
8248 for all computations.
8249 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8250 <fenv.h>.
8251 (tan): Save and restore rounding mode and use round-to-nearest for
8252 all computations.
8253 * math/libm-test.inc (cos_test_tonearest): New function.
8254 (cos_test_towardzero): Likewise.
8255 (cos_test_downward): Likewise.
8256 (cos_test_upward): Likewise.
8257 (sin_test_tonearest): Likewise.
8258 (sin_test_towardzero): Likewise.
8259 (sin_test_downward): Likewise.
8260 (sin_test_upward): Likewise.
8261 (tan_test_tonearest): Likewise.
8262 (tan_test_towardzero): Likewise.
8263 (tan_test_downward): Likewise.
8264 (tan_test_upward): Likewise.
8265 (main): Call the new functions.
8266 * sysdeps/i386/fpu/libm-test-ulps: Update.
8267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8268
a6d06d7b
JM
8269 [BZ #10135]
8270 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8271 small n, then large n, before computing and testing k+n.
8272 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8274 Likewise.
8275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8276 Likewise.
8277 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8278 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8283 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8285 * math/libm-test.inc (scalbn_test): Add more tests.
8286 (scalbln_test): Likewise.
8287
07e12bb3
JM
8288 * manual/filesys.texi (mode_t): Describe constraints on size and
8289 signedness, not exact equivalence to a particular type.
8290 (ino_t): Likewise.
8291 (ino64_t): Likewise.
8292 (dev_t): Likewise.
8293 (nlink_t): Likewise.
8294 (blkcnt_t): Likewise.
8295 (blkcnt64_t): Likewise.
8296 * manual/llio.texi (off_t): Likewise.
8297
28afd92d
JM
8298 [BZ #3976]
8299 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8300 (__ieee754_exp): Save and restore rounding mode and use
8301 round-to-nearest for all computations.
8302 * math/libm-test.inc (exp_test_tonearest): New function.
8303 (exp_test_towardzero): Likewise.
8304 (exp_test_downward): Likewise.
8305 (exp_test_upward): Likewise.
8306 (main): Call the new functions.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309
b1eeb65d
CD
83102012-03-01 Chris Demetriou <cgd@google.com>
8311
8312 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8313 have predictable order.
8314
53362a4b
DM
83152012-03-01 David S. Miller <davem@davemloft.net>
8316
3c969083
DM
8317 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8318
759707de
DM
8319 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8320 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8321 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8322 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8323
dfdb8ff2
DM
8324 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8325 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8326 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8328 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8329 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8330 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8331 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8332 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8333
ead89f96
DM
8334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8335
7f66bd07
DM
8336 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8337 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8339
53362a4b
DM
8340 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8341 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8342 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8343 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8344 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8347 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8348 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8349 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8350 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8356 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8357 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8358 * sysdeps/sparc/elf/configure: Regenerated.
8359
7b1902cb
JM
83602012-03-01 Joseph Myers <joseph@codesourcery.com>
8361
bec039bc
JM
8362 * configure.in (AS, LD): Require binutils 2.20 or later.
8363 * configure: Regenerated.
8364 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8365 as required minimum version.
8366 * INSTALL: Regenerated.
8367
7b1902cb
JM
8368 [BZ #2541]
8369 [BZ #4108]
8370 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8371 before squaring exponent.
8372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8373 bottom long double and 27 bits of top long double before squaring
8374 exponent.
8375 * math/libm-test.inc (erfc_test): Add more tests.
8376 * sysdeps/i386/fpu/libm-test-ulps: Update.
8377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8379
f775c276
KT
83802012-03-01 Kai Tietz <ktietz@redhat.com>
8381
8382 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8383 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8384 containing bit-fields.
8385 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8386 * soft-fp/single.h (_FP_UNION_S): Likewise.
8387 * soft-fp/double.h (_FP_UNION_D): Likewise.
8388
5b8a4d4a
JM
83892012-02-29 Joseph Myers <joseph@codesourcery.com>
8390
0bab47b6
JM
8391 [BZ #13786]
8392 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8393 not include ../strcmp.S.
8394 [USE_AS_STRNCASECMP_L]: Likewise.
8395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8396 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8397 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8398 (__strncasecmp_l_ia32): Define as alias to
8399 __strncasecmp_l_nonascii.
8400
0fcad3e2
JM
8401 [BZ #5794]
8402 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8403 * sysdeps/i386/fpu/libm-test-ulps: Update.
8404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405
5b8a4d4a
JM
8406 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8408
8fdceb2e
JL
84092012-02-29 Jeff Law <law@redhat.com>
8410
8411 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8412 out of bounds read.
8413
1f393a11
MP
84142012-02-29 Marek Polacek <polacek@redhat.com>
8415
8416 [BZ #13706]
8417 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8418 * elf/Makefile: Add rules to run tst-unused-dep.out.
8419
8847f037
DM
84202012-02-28 David S. Miller <davem@davemloft.net>
8421
8422 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8423 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8426 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8427 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8428
169d7f11
JM
84292012-02-29 Joseph Myers <joseph@codesourcery.com>
8430
8431 * math/libm-test.inc (llround_test): Move one test from
8432 lround_test. Use TEST_f_L in moved test.
8433 (lround_test): Move misplaced test to llround_test. Add testcase
8434 from bug 2561.
8435
39adf059
UD
84362012-02-28 Ulrich Drepper <drepper@gmail.com>
8437
8438 * sysdeps/x86_64/fpu/e_expf.S: New file.
8439 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8440
71b5d1c5
SB
84412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8442
8443 [BZ #13637]
8444 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8445 of remain_len that may cause incomplete multi-byte character and
8446 false match.
8447 * posix/bug-regex33.c: New file.
8448 * posix/Makefile (tests): Add bug-regex33.
8449
1f77f049
JM
84502012-02-28 Joseph Myers <joseph@codesourcery.com>
8451
8452 * manual/macros.texi: New file.
8453 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8454 * manual/libc.texinfo: Include macros.texi.
8455 * manual/creatute.texi: Likewise.
8456 * manual/install.texi: Likewise.
8457 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8458 @glibcadj{} in references to the GNU C Library.
8459 * manual/charset.texi: Likewise.
8460 * manual/conf.texi: Likewise.
8461 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8462 when not using those macros.
8463 * manual/creature.texi: Likewise.
8464 * manual/crypt.texi: Likewise.
8465 * manual/errno.texi: Likewise.
8466 * manual/filesys.texi: Likewise.
8467 * manual/header.texi: Likewise.
8468 * manual/install.texi: Likewise.
8469 * manual/intro.texi: Likewise.
8470 * manual/io.texi: Likewise.
8471 * manual/job.texi: Likewise.
8472 * manual/lang.texi: Likewise.
8473 * manual/libc.texiinfo: Likewise.
8474 * manual/llio.texi: Likewise.
8475 * manual/locale.texi: Likewise.
8476 * manual/maint.texi: Likewise.
8477 * manual/math.texi: Likewise.
8478 * manual/memory.texi: Likewise.
8479 * manual/message.texi: Likewise.
8480 * manual/nss.texi: Likewise.
8481 * manual/pattern.texi: Likewise.
8482 * manual/process.texi: Likewise.
8483 * manual/resource.texi: Likewise.
8484 * manual/search.texi: Likewise.
8485 * manual/setjmp.texi: Likewise.
8486 * manual/signal.texi: Likewise.
8487 * manual/socket.texi: Likewise.
8488 * manual/startup.texi: Likewise.
8489 * manual/stdio.texi: Likewise.
8490 * manual/string.texi: Likewise.
8491 * manual/sysinfo.texi: Likewise.
8492 * manual/syslog.texi: Likewise.
8493 * manual/terminal.texi: Likewise.
8494 * manual/time.texi: Likewise.
8495 * manual/users.texi: Likewise.
8496 * INSTALL: Regenerated.
8497 * NOTES: Regenerated.
d40c5d54 8498 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8499
450bf206
AS
85002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8501
8502 * include/dirent.h: Include <dirstream.h> before
8503 <dirent/dirent.h>.
8504
741a235b
DM
85052012-02-28 David S. Miller <davem@davemloft.net>
8506
8507 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8508 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8509 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8510 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8511
d6b5aa58
DM
85122012-02-27 David S. Miller <davem@davemloft.net>
8513
1aff59a3
DM
8514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8516 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8518
d6b5aa58
DM
8519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8520 frame pointer instead of stack pointer relative arg slot.
8521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8524
433f48bf
CD
85252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8526
8527 [BZ #3992]
8528 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8529
d674b76d
DM
85302012-02-27 David S. Miller <davem@davemloft.net>
8531
8532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8538 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8540
0e7727f7
JM
85412012-02-27 Joseph Myers <joseph@codesourcery.com>
8542
8543 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8544 later. Allow versions 5-9.
43be4ca2 8545 * configure: Regenerated.
0e7727f7
JM
8546 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8547 required minimum version and 4.6 as recommended version. Do not
8548 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8549 * INSTALL: Regenerated.
0e7727f7 8550
a78bc654
DM
85512012-02-27 David S. Miller <davem@davemloft.net>
8552
428d5830
DM
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8559 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8560 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8561
a78bc654
DM
8562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8563 manipulate bits before adding and subtracting TWO112[sx].
8564 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8565
4579f81c
RM
85662012-02-27 Roland McGrath <roland@hack.frob.com>
8567
36c8acb4
RM
8568 [BZ #13775]
8569 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8570 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8571 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8572 being in POSIX, because they are in 1003.1-2008.
8573
84ad622b
RM
8574 * rt/tst-aio.c: Include <fcntl.h>.
8575 * rt/tst-aio7.c: Likewise.
8576 * rt/tst-aio64.c: Likewise.
8577
4579f81c
RM
8578 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8579
abd923db
JM
85802012-02-27 Joseph Myers <joseph@codesourcery.com>
8581
8582 * manual/install.texi (--with-headers): Describe headers as
8583 interface headers, not private headers.
8584 (Specific advice for GNU/Linux systems): Describe use of headers
8585 from "make headers_install", not private headers from older
8586 kernels.
43be4ca2 8587 * INSTALL: Regenerated.
abd923db
JM
8588 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8589 Change to 2.6.19.
8590 * sysdeps/unix/sysv/linux/configure: Regenerated.
8591
6664049b
JM
8592 * manual/llio.texi (fclean): Remove documentation.
8593
bb8b6697
JM
8594 * manual/Makefile (libc-texi-generated): New variable. Include
8595 version.texi.
8596 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8597 $(libc-texi-generated), not duplicated list of files.
8598 (version.texi, stamp-version): New rules.
8599 (realclean): Remove $(libc-texi-generated), not individual files
8600 from that list. Do not remove dir-add.texinfo.
8601 * manual/libc.texinfo: Comment out uses of edition numbers and
8602 references to printed manual. Remove last-updated dates.
8603 (EDITION): Comment out.
8604 (ISBN): Likewise.
8605 (VERSION, UPDATED): Remove.
8606 (version.texi): Include.
8607
12e5c3b9
AS
86082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8609
8610 * sysdeps/posix/spawni.c: Include <signal.h>.
8611 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8612 * sysdeps/pthread/aio_fsync.c: Likewise.
8613
4efeffc1 86142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8615
ba63ba08
UD
8616 * conform/Makefile (tests): Run only when not cross-compiling and
8617 when fast-check is not defined.
8618
d94a4670
UD
8619 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8620 * conform/data/limits.h-data: Fixes for POSIX2008.
8621 * conform/run-conformtest.sh: Run all tests.
8622 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8623 headers.
8624 * include/bits/dlfcn.h: Likewise.
8625 * include/langinfo.h: Likewise.
8626 * include/monetary.h: Likewise.
8627 * include/sys/poll.h: Likewise.
8628
8629 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8630 for __USE_GNU.
8631 * posix/spawn.h: Define __need_sigset_t.
8632 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8633 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8634 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8635 to get sigevent_t only.
8636 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8637 only for __USE_GNU.
8638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8639 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8640 process_vm_writev only for __USE_GNU.
8641 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8642
8643 * conform/Makefile: For now ignore errors from run-conformtest.
8644 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8645 POSIX to avoid namespace pollution. Don't prepend headers.
8646 * conform/data/aio.h-data: Fixes for POSIX testing.
8647 * conform/data/fcntl.h-data: Likewise.
8648 * conform/data/glob.h-data: Likewise.
8649 * conform/data/grp.h-data: Likewise.
8650 * conform/data/pthread.h-data: Likewise.
8651 * conform/data/pwd.h-data: Likewise.
8652 * conform/data/signal.h-data: Likewise.
8653 * conform/data/spawn.h-data: Likewise.
8654 * conform/data/stdio.h-data: Likewise.
8655 * conform/data/stdlib.h-data: Likewise.
8656 * conform/data/stropts.h-data: Likewise.
8657 * conform/data/sys/mman.h-data: Likewise.
8658 * conform/data/sys/stat.h-data: Likewise.
8659 * conform/data/sys/types.h-data: Likewise.
8660 * conform/data/sys/wait.h-data: Likewise.
8661 * conform/data/time.h-data: Likewise.
8662 * conform/data/unistd.h-data: Likewise.
8663 * conform/data/utime.h-data: Likewise.
8664
8665 * io/sys/stat.h: fchmod was always in POSIX.
8666 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8667 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8668 * rt/aio.h: Define __need_timespec before including <time.h>.
8669 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8670 struct. Add forward declaration of pthread_attr_t and use it in
8671 sigevent.
8672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8674 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8675 always remove CLK_TCK definition.
8676
c20105c3
AS
86772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8678
8679 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8680
7a270350
UD
86812012-02-25 Ulrich Drepper <drepper@gmail.com>
8682
31341567
UD
8683 * conform/run-conformtest.sh: New file.
8684 * conform/Makefile: Run run-conformtest for tests.
8685 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8686 support.
8687
8688 * conform/data/uchar.h-data: New file.
8689 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8690 * conform/data/arpa/inet.h-data: Likewise.
8691 * conform/data/assert.h-data: Likewise.
8692 * conform/data/complex.h-data: Likewise.
8693 * conform/data/cpio.h-data: Likewise.
8694 * conform/data/ctype.h-data: Likewise.
8695 * conform/data/dirent.h-data: Likewise.
8696 * conform/data/dlfcn.h-data: Likewise.
8697 * conform/data/errno.h-data: Likewise.
8698 * conform/data/fcntl.h-data: Likewise.
8699 * conform/data/float.h-data: Likewise.
8700 * conform/data/fmtmsg.h-data: Likewise.
8701 * conform/data/fnmatch.h-data: Likewise.
8702 * conform/data/ftw.h-data: Likewise.
8703 * conform/data/glob.h-data: Likewise.
8704 * conform/data/grp.h-data: Likewise.
8705 * conform/data/iconv.h-data: Likewise.
8706 * conform/data/inttypes.h-data: Likewise.
8707 * conform/data/langinfo.h-data: Likewise.
8708 * conform/data/libgen.h-data: Likewise.
8709 * conform/data/limits.h-data: Likewise.
8710 * conform/data/locale.h-data: Likewise.
8711 * conform/data/math.h-data: Likewise.
8712 * conform/data/monetary.h-data: Likewise.
8713 * conform/data/mqueue.h-data: Likewise.
8714 * conform/data/ndbm.h-data: Likewise.
8715 * conform/data/net/if.h-data: Likewise.
8716 * conform/data/netdb.h-data: Likewise.
8717 * conform/data/netinet/in.h-data: Likewise.
8718 * conform/data/nl_types.h-data: Likewise.
8719 * conform/data/poll.h-data: Likewise.
8720 * conform/data/pthread.h-data: Likewise.
8721 * conform/data/pwd.h-data: Likewise.
8722 * conform/data/regex.h-data: Likewise.
8723 * conform/data/sched.h-data: Likewise.
8724 * conform/data/search.h-data: Likewise.
8725 * conform/data/semaphore.h-data: Likewise.
8726 * conform/data/setjmp.h-data: Likewise.
8727 * conform/data/signal.h-data: Likewise.
8728 * conform/data/spawn.h-data: Likewise.
8729 * conform/data/stdarg.h-data: Likewise.
8730 * conform/data/stdio.h-data: Likewise.
8731 * conform/data/stdlib.h-data: Likewise.
8732 * conform/data/string.h-data: Likewise.
8733 * conform/data/strings.h-data: Likewise.
8734 * conform/data/stropts.h-data: Likewise.
8735 * conform/data/sys/ipc.h-data: Likewise.
8736 * conform/data/sys/mman.h-data: Likewise.
8737 * conform/data/sys/msg.h-data: Likewise.
8738 * conform/data/sys/resource.h-data: Likewise.
8739 * conform/data/sys/select.h-data: Likewise.
8740 * conform/data/sys/sem.h-data: Likewise.
8741 * conform/data/sys/shm.h-data: Likewise.
8742 * conform/data/sys/socket.h-data: Likewise.
8743 * conform/data/sys/stat.h-data: Likewise.
8744 * conform/data/sys/statvfs.h-data: Likewise.
8745 * conform/data/sys/time.h-data: Likewise.
8746 * conform/data/sys/timeb.h-data: Likewise.
8747 * conform/data/sys/times.h-data: Likewise.
8748 * conform/data/sys/types.h-data: Likewise.
8749 * conform/data/sys/uio.h-data: Likewise.
8750 * conform/data/sys/un.h-data: Likewise.
8751 * conform/data/sys/utsname.h-data: Likewise.
8752 * conform/data/sys/wait.h-data: Likewise.
8753 * conform/data/syslog.h-data: Likewise.
8754 * conform/data/tar.h-data: Likewise.
8755 * conform/data/termios.h-data: Likewise.
8756 * conform/data/utime.h-data: Likewise.
8757 * conform/data/utmpx.h-data: Likewise.
8758 * conform/data/varargs.h-data: Likewise.
8759 * conform/data/wchar.h-data: Likewise.
8760 * conform/data/wctype.h-data: Likewise.
8761 * conform/data/wordexp.h-data: Likewise.
8762
8763 * include/stropts.h: New file.
8764 * include/uchar.h: New file.
8765 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8766 * include/assert.h: Likewise.
8767 * include/ctype.h: Likewise.
8768 * include/dirent.h: Likewise.
8769 * include/dlfcn.h: Likewise.
8770 * include/fcntl.h: Likewise.
8771 * include/fnmatch.h: Likewise.
8772 * include/glob.h: Likewise.
8773 * include/grp.h: Likewise.
8774 * include/libio.h: Likewise.
8775 * include/locale.h: Likewise.
8776 * include/math.h: Likewise.
8777 * include/net/if.h: Likewise.
8778 * include/netdb.h: Likewise.
8779 * include/netinet/in.h: Likewise.
8780 * include/pthread.h: Likewise.
8781 * include/pwd.h: Likewise.
8782 * include/regex.h: Likewise.
8783 * include/sched.h: Likewise.
8784 * include/search.h: Likewise.
8785 * include/setjmp.h: Likewise.
8786 * include/signal.h: Likewise.
8787 * include/stdio.h: Likewise.
8788 * include/stdlib.h: Likewise.
8789 * include/string.h: Likewise.
8790 * include/sys/cdefs.h: Likewise.
8791 * include/sys/mman.h: Likewise.
8792 * include/sys/msg.h: Likewise.
8793 * include/sys/resource.h: Likewise.
8794 * include/sys/select.h: Likewise.
8795 * include/sys/socket.h: Likewise.
8796 * include/sys/stat.h: Likewise.
8797 * include/sys/statvfs.h: Likewise.
8798 * include/sys/time.h: Likewise.
8799 * include/sys/times.h: Likewise.
8800 * include/sys/uio.h: Likewise.
8801 * include/sys/utsname.h: Likewise.
8802 * include/sys/wait.h: Likewise.
8803 * include/termios.h: Likewise.
8804 * include/time.h: Likewise.
8805 * include/ulimit.h: Likewise.
8806 * include/unistd.h: Likewise.
8807 * include/utime.h: Likewise.
8808 * include/wchar.h: Likewise.
8809 * include/wctype.h: Likewise.
8810 * include/wordexp.h: Likewise.
8811
8812 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8813
7a270350
UD
8814 * time/time.h: TIME_UTC must be a macro.
8815 Make timespec_get available for ISO C11 only as well.
8816
7724defc
UD
88172012-02-24 Ulrich Drepper <drepper@gmail.com>
8818
8819 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8820 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8821
6b1d1d46
JM
88222012-02-24 Joseph Myers <joseph@codesourcery.com>
8823
8824 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8825
0f8bbd69
JM
88262012-02-24 Joseph Myers <joseph@codesourcery.com>
8827
8828 * manual/texinfo.tex: Update to version 2012-01-19.16.
8829
66ab80bc
JM
88302012-02-24 Joseph Myers <joseph@codesourcery.com>
8831
8832 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8833
74981cc5
RM
88342012-02-24 Roland McGrath <roland@hack.frob.com>
8835
ee968201
RM
8836 [BZ #13738]
8837 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8838 * manual/fdl-1.3.texi: New file.
8839 * manual/fdl-1.1.texi: File removed.
8840
74981cc5
RM
8841 [BZ #13738]
8842 * manual/libc.texinfo (FDL_VERSION): New @set.
8843 Use it for mention of FDL in cover text.
8844 (Documentation License): Use it in @include file name.
8845
7bb764bc
JM
88462012-02-22 Joseph Myers <joseph@codesourcery.com>
8847 Roland McGrath <roland@hack.frob.com>
8848
8849 [BZ #5461]
8850 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8851 not LONG_LONG_MAX and LONG_LONG_MIN.
8852 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8853 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8854 name.
8855 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8856
6cbeae47
JM
88572012-02-22 Joseph Myers <joseph@codesourcery.com>
8858
8859 [BZ #2547]
8860 [BZ #11365]
8861 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8862 manipulate bits before adding and subtracting TWO23[sx].
8863 * math/libm-test.inc (nearbyint_test): Add more tests.
8864
fe45ce09
JM
88652012-02-22 Joseph Myers <joseph@codesourcery.com>
8866
8867 [BZ #2548]
8868 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8869 bits before adding and subtracting TWO23[sx].
8870 * math/libm-test.inc (rint_test): Add more tests.
8871 (rint_test_tonearest): Likewise.
8872 (rint_test_towardzero): Likewise.
8873 (rint_test_downward): Likewise.
8874 (rint_test_upward: Likewise.
8875
ff3b3d82
JM
88762012-02-22 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #10110]
8879 * include/stdc-predef.h: New file. Extracted from features.h.
8880 * include/features.h: Include stdc-predef.h.
8881 * Makefile (headers): Add stdc-predef.h.
8882 * CONFORMANCE (Compiler limitations): Update.
8883
ef0aab35
JM
88842012-02-22 Joseph Myers <joseph@codesourcery.com>
8885
8886 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8887
58639409
DM
88882012-02-21 David S. Miller <davem@davemloft.net>
8889
8890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8892
c0e70b25
DM
88932012-02-20 David S. Miller <davem@davemloft.net>
8894
8895 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8896 using a normal save/restore sequence, rather than allocating a
8897 dummy stack frame just to store a frame pointer and restore.
8898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8899
fb06851d
JM
89002012-02-21 Joseph Myers <joseph@codesourcery.com>
8901
8902 * manual/install.texi: Fix stray word in line-wrapped comment.
8903
7a8b71c3
DM
89042012-02-20 David S. Miller <davem@davemloft.net>
8905
d510c123
DM
8906 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8907 both binutils and gcc support GOTDATA.
8908
0722d7c2
DM
8909 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8910 "rd %pc" in the PIC register setup sequences.
8911
3d2b3019
DM
8912 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8913 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8914 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8915 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8916 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8918 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8921 (SYSCALL_ERROR_HANDLER): Likewise.
8922 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8923 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8925 (SYSCALL_ERROR_HANDLER): Likewise.
8926
c80098a9
DM
8927 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8928 (HAVE_GCC_GOTDATA): New.
8929 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8930 relocation support in both binutils and gcc.
8931 * sysdeps/sparc/elf/configure: Regenerate.
8932
3a2545a0
DM
8933 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8934 * sysdeps/sparc/sparc32/elf/configure: Delete.
8935 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8936 * sysdeps/sparc/sparc64/elf/configure: Delete.
8937 * sysdeps/sparc/elf/configure.in: New file.
8938 * sysdeps/sparc/elf/configure: Generate.
8939
7a8b71c3
DM
8940 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8941 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8942 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8943 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8944 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8945
f1e86fca
JM
89462012-02-21 Joseph Myers <joseph@codesourcery.com>
8947
8948 * manual/install.texi: Do not mention specific glibc version
8949 numbers.
8950 * manual/libc.texinfo (VERSION, UPDATED): Update.
8951 (@copying): Use @copyright{} and range of years.
8952
0e7dfaef
JM
89532012-02-21 Joseph Myers <joseph@codesourcery.com>
8954
8955 [BZ #13695]
8956 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8957 [crti.S not in sysdirs] (generated): Do not append.
8958 [crti.S not in sysdirs] (omit-deps): Likewise.
8959 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8960 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8961 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8962 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8963 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8964 Likewise.
8965 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8966 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8967 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8968 * csu/defs.awk: Remove file.
8969 * sysdeps/generic/initfini.c: Likewise.
8970 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8971 variable.
8972 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8973 Likewise.
8974
599af3ca
JM
89752012-02-20 Joseph Myers <joseph@codesourcery.com>
8976
8977 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8978 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8981 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8982 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8983 <bits/epoll.h>.
8984 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8985 (__EPOLL_PACKED): Define to empty if not defined by
8986 <bits/epoll.h>.
8987 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8989 bits/epoll.h.
8990
0e499750
JM
89912012-02-20 Joseph Myers <joseph@codesourcery.com>
8992
8993 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8994 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8995 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8996 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8997 <bits/timerfd.h>.
8998 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9000 bits/timerfd.h.
9001
5ad91f6e
JM
90022012-02-20 Joseph Myers <joseph@codesourcery.com>
9003
9004 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9005 in C locale.
9006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9007 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9010
06b99b02
AJ
90112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9012
9013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9015
7638c0fd
AS
90162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9017
9018 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9019 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9020 defined.
9021 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9022 Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9024 entry for 2.16.
9025
92221550
AJ
90262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9027
9028 * math/w_acos.c: Use non-signaling floating-point comparisons.
9029 * math/w_acosf.c: Likewise.
9030 * math/w_acosh.c: Likewise.
9031 * math/w_acoshf.c: Likewise.
9032 * math/w_acoshl.c: Likewise.
9033 * math/w_acosl.c: Likewise.
9034 * math/w_asin.c: Likewise.
9035 * math/w_asinf.c: Likewise.
9036 * math/w_asinl.c: Likewise.
9037 * math/w_atanh.c: Likewise.
9038 * math/w_atanhf.c: Likewise.
9039 * math/w_atanhl.c: Likewise.
9040 * math/w_exp2.c: Likewise.
9041 * math/w_exp2f.c: Likewise.
9042 * math/w_exp2l.c: Likewise.
9043 * math/w_j0.c: Likewise.
9044 * math/w_j0f.c: Likewise.
9045 * math/w_j0l.c: Likewise.
9046 * math/w_j1.c: Likewise.
9047 * math/w_j1f.c: Likewise.
9048 * math/w_j1l.c: Likewise.
9049 * math/w_jn.c: Likewise.
9050 * math/w_jnf.c: Likewise.
9051 * math/w_log.c: Likewise.
9052 * math/w_log10.c: Likewise.
9053 * math/w_log10f.c: Likewise.
9054 * math/w_log10l.c: Likewise.
9055 * math/w_log2.c: Likewise.
9056 * math/w_log2f.c: Likewise.
9057 * math/w_log2l.c: Likewise.
9058 * math/w_logf.c: Likewise.
9059 * math/w_logl.c: Likewise.
9060 * math/w_sqrt.c: Likewise.
9061 * math/w_sqrtf.c: Likewise.
9062 * math/w_sqrtl.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9065 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9066 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9068
ebaf36eb
JM
90692012-02-19 Joseph Myers <joseph@codesourcery.com>
9070
9071 [BZ #9739]
9072 * manual/string.texi (strnlen): Use correct parameter name in
9073 equivalent expression.
9074
71c254a6
JM
90752012-02-19 Joseph Myers <joseph@codesourcery.com>
9076
9077 [BZ #11174]
9078 * manual/users.texi (seteuid): Consistently use neweuid for
9079 argument name.
9080
16d2c631
JM
90812012-02-19 Joseph Myers <joseph@codesourcery.com>
9082
9083 [BZ #13704]
9084 * manual/nss.texi (Services in the NSS configuration): Correct
9085 list of services in example configuration file.
9086
cd837b09
NB
90872012-02-19 Nick Bowler <nbowler@draconx.ca>
9088
9089 [BZ #11322]
9090 * manual/arith.texi: Remove statements about negative zero
9091 behaving identically to zero.
9092
02c4bbad
JM
90932012-02-18 Joseph Myers <joseph@codesourcery.com>
9094
9095 [BZ #5993]
9096 * manual/install.texi: Do not document upgrading from libc5.
9097
366842e7
JM
90982012-02-18 Joseph Myers <joseph@codesourcery.com>
9099
9100 [BZ #4596]
9101 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9102
dd54084d
DM
91032012-02-18 David S. Miller <davem@davemloft.net>
9104
9105 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9106 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9107 %o7 across the call.
9108 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9109 instead.
9110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9111 SETUP_PIC_REG_LEAF.
9112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9113 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9114 * sysdeps/sparc/crtn.S: Likewise.
9115
2bcc53a3
UD
91162012-02-17 Ulrich Drepper <drepper@gmail.com>
9117
9118 * aout/Makefile: Remove.
9119
09c093b5
RK
91202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9121
9122 [BZ #13058]
9123 * manual/examples/argp-ex1.c (main): Format definition in GNU
9124 style.
9125 * manual/examples/argp-ex2.c (main): Likewise.
9126 * manual/examples/argp-ex3.c (main): Likewise.
9127 * manual/examples/argp-ex4.c (main): Likewise.
9128 * manual/examples/longopt.c (main): Use new-style prototype
9129 definition.
9130 * manual/examples/strncat.c (main): Specify return type and use
9131 (void) for arguments.
9132 * manual/examples/subopt.c (main): Use char **argv argument.
9133
2ee633a2
JM
91342012-02-17 Joseph Myers <joseph@codesourcery.com>
9135
9136 [BZ #5077]
9137 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9138 rounding modes.
9139
0520adde
FB
91402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9141
9142 [BZ #6907]
9143 * manual/string.texi (strchr): Change when strchrnul is
9144 recommended.
9145
3f4081cd
DGM
91462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9147
9148 [BZ #174]
9149 * manual/locale.texi (setlocale): Document LOCPATH.
9150
d1b10e78
JM
91512012-02-17 Joseph Myers <joseph@codesourcery.com>
9152
9153 [BZ #10210]
9154 * manual/process.texi (execle): Move @dots{} before last argument.
9155
79c6869c
PB
91562012-02-17 Paul Bolle <pebolle@tiscali.nl>
9157
9158 [BZ #12047]
9159 * manual/charset.texi (Generic Charset Conversion): Fix typo
9160 (LC_TYPE -> LC_CTYPE).
9161
cc6e48bc
NB
91622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9163
9164 [BZ #5805]
9165 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9166 (scalbnf): Likewise.
9167 (scalbnl): Likewise.
9168 (scalbln): Likewise.
9169 (scalblnf): Likewise.
9170 (scalblnl): Likewise.
9171 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9172 (vwarnx): Likewise.
9173 (verr): Likewise.
9174 (verrx): Likewise.
9175 * manual/filesys.texi (telldir): Use braces around return type.
9176 * manual/llio.texi (mmap): Add space after comma.
9177 (mmap64): Likewise.
9178 * manual/math.texi (jn): Use @var{} on parameter names.
9179 (jnf): Likewise.
9180 (jnl): Likewise.
9181 (yn): Likewise.
9182 (ynf): Likewise.
9183 (ynl): Likewise.
9184 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9185 line.
9186 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9187 "...".
9188 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9189 (sched_get_priority_max): Likewise.
9190 * manual/signal.texi (sigvec): Add space after comma.
9191 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9192 names.
9193 (if_indextoname): Likewise.
9194 (if_freenameindex): Likewise.
9195 (sendto): Use ',' instead of '.' in prototype.
9196 * manual/startup.texi (syscall): Use @dots{} instead of literal
9197 "...".
9198 * manual/stdio.texi (__fpending): Separate initial words of
9199 paragraph from @deftypefun line.
9200 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9201 "...".
9202 (vsyslog): Use @var{} on parameter names.
9203 * manual/terminal.texi (stty): Use @var{} on parameter names.
9204 * manual/users.texi (getutmp): Use @var{} on parameter names.
9205 (getutmpx): Likewise.
9206
5b23062f
JM
92072012-02-17 Joseph Myers <joseph@codesourcery.com>
9208
9209 [BZ #6884]
9210 * manual/stdio.texi (fopen): Fix typos in description of
9211 ",ccs=STRING".
9212
8dee4833
AJ
92132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9214
9215 [BZ #4026]
9216 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9217 get clock_id definition.
9218
9078ce93
TS
92192012-02-17 Thomas Schwinge <thomas@schwinge.name>
9220
9221 [BZ #4822]
9222 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9223 (madvise): Cast every argument to void on its own.
9224
3835c55f
JM
92252012-02-17 Joseph Myers <joseph@codesourcery.com>
9226
9227 [BZ #9902]
9228 * manual/startup.texi (Exit Status): Fix typo.
9229
35c47e37
JM
92302012-02-17 Joseph Myers <joseph@codesourcery.com>
9231
9232 [BZ #10140]
9233 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9234 * manual/examples/argp-ex2.c: Likewise.
9235 * manual/examples/argp-ex3.c: Likewise.
9236
e3b69ca7
RH
92372012-02-16 Richard Henderson <rth@redhat.com>
9238
9239 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9240 * sysdeps/s390/s390-32/initfini.c: Remove.
9241 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9242 * sysdeps/s390/s390-64/initfini.c: Remove.
9243
df83af67
KK
92442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9245
9246 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9247 compiler output for sysdeps/generic/initfini.c.
9248 * sysdeps/sh/elf/initfini.c: Remove file.
9249
f63f3380
DM
92502012-02-16 David S. Miller <davem@davemloft.net>
9251
fb59b3a4
DM
9252 [BZ #11494]
9253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9254
f63f3380
DM
9255 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9256 * sysdeps/sparc/crti.S: New file.
9257 * sysdeps/sparc/crtn.S: New file.
9258 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9259 * sysdeps/sparc/sparc64/Makefile: Likewise.
9260
df6a4a4a
MF
92612012-02-15 Mike Frysinger <vapier@gentoo.org>
9262
6dd8f3dc 9263 [BZ #3335]
df6a4a4a
MF
9264 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9265
1cac7236
RM
92662012-02-15 Roland McGrath <roland@hack.frob.com>
9267
d2c736f8
RM
9268 [BZ #4822]
9269 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9270
1cac7236
RM
9271 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9272 (write, read, close): Likewise.
9273 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9274
8e475601
JM
92752012-02-15 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9278 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9279 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9280 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9281 <bits/signalfd.h>.
9282 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9284 bits/signalfd.h.
9285
ed656b40
MP
92862012-02-14 Marek Polacek <polacek@redhat.com>
9287
9288 * sysdeps/x86_64/crti.S: New file.
9289 * sysdeps/x86_64/crtn.S: New file.
9290 * sysdeps/x86_64/elf/initfini.c: Remove file.
9291
2a979d3a
JM
92922012-02-13 Joseph Myers <joseph@codesourcery.com>
9293
9294 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9295 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9297 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9298 <bits/inotify.h>.
9299 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9301 bits/inotify.h.
9302
2a418ac3
JM
93032012-02-13 Joseph Myers <joseph@codesourcery.com>
9304
9305 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9306 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9307 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9308 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9309 <bits/eventfd.h>.
9310 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9312 bits/eventfd.h.
9313
fb779be7
TS
93142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9315
e19e83c5
RM
9316 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9317 __feraiseexcept instead of feraiseexcept.
7c35ffed 9318
fb779be7
TS
9319 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9320 nanosleep invocations.
9321 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9322 strings, and add error checking for a nanosleep invocations.
9323
59ba27a6
PE
93242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9325
9326 Replace FSF snail mail address with URLs, as per GNU coding standards.
9327 Most of the snail mail addresses were wrong anyway, and omitting
9328 them makes the source code easier to maintain. Almost all of the
9329 changes are to license notices and to locale LC_IDENTIFICATION
9330 addresses, except for this one:
9331 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9332 not its snail mail address.
9333
57b957eb
RH
93342012-02-09 Richard Henderson <rth@twiddle.net>
9335
af850b1c
RH
9336 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9337 of kernel-features.h.
9338
57b957eb
RH
9339 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9340
6b73181a
MP
93412012-02-08 Marek Polacek <polacek@redhat.com>
9342
9343 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9344 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9345 * sysdeps/gnu/_G_config.h: Likewise.
9346 * sysdeps/generic/_G_config.h: Likewise.
9347
26ecc33a
AS
93482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9349
6c6dbc63
AS
9350 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9351 tests.
9352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9353
e216c012
AS
9354 * sysdeps/powerpc/powerpc32/crti.S: New file.
9355 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9356 * sysdeps/powerpc/powerpc64/crti.S: New file.
9357 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9358
26ecc33a
AS
9359 * Makeconfig (have-initfini): Don't set.
9360 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9361 * configure.in (nopic_initfini): Don't substitute.
9362 * config.h.in (HAVE_INITFINI): Don't #undef.
9363 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9364 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9365
3add8e13
JM
93662012-02-08 Joseph Myers <joseph@codesourcery.com>
9367
9368 Support crti.S and crtn.S provided directly by architectures.
9369 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9370 [crti.S in sysdirs] (omit-deps): Likewise.
9371 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9372 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9373 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9374 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9375 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9376 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9377 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9378 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9379 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9380 compiler output for sysdeps/generic/initfini.c.
9381 * sysdeps/i386/elf/Makefile: Remove file.
9382 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9383
a22f12b4
MP
93842012-02-07 Marek Polacek <polacek@redhat.com>
9385
9386 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9387 * sysdeps/gnu/_G_config.h: Likewise.
9388 * sysdeps/mach/hurd/_G_config.h: Likewise.
9389
148cf100
MP
93902012-02-07 Marek Polacek <polacek@redhat.com>
9391
9392 * math/Makefile (tests): Add tst-CMPLX2.
9393 * math/tst-CMPLX2.c: New file.
9394
cfdc0dd7
AS
93952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9396
84ba42c4
AS
9397 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9398
cfdc0dd7
AS
9399 * math/libm-test.inc (jn_test): Add missing L suffix.
9400
622c86f4
MP
94012012-02-06 Marek Polacek <polacek@redhat.com>
9402
9403 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9404 * sysdeps/i386/fpu/e_powf.S: Likewise.
9405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9406 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9408 * sysdeps/i386/fpu/e_pow.S: Likewise.
9409 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9411 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9412 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9413 * sysdeps/i386/fpu/e_log2.S: Likewise.
9414 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9415 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9416 * sysdeps/i386/fpu/e_powl.S: Likewise.
9417 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9418 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9419 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9420 * sysdeps/i386/fpu/e_logl.S: Likewise.
9421 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9422 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9427 * sysdeps/i386/fpu/e_log.S: Likewise.
9428 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9429 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9430 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9431 * sysdeps/i386/fpu/e_logf.S: Likewise.
9432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9434 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9435 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9436 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9437 * sysdeps/i386/fpu/e_log10.S: Likewise.
9438 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9440 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9441 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9443 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9444 * sysdeps/i386/asm-syntax.h: Likewise.
9445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9448 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9449 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9450 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9451 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9452 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9453 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9454 * sysdeps/powerpc/sysdep.h: Likewise.
9455 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9456 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9457
d4a54ac6
JM
94582012-02-06 Joseph Myers <joseph@codesourcery.com>
9459
9460 [BZ #411]
9461 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9462
314054ea
JM
94632012-02-06 Joseph Myers <joseph@codesourcery.com>
9464
9465 * sysdeps/i386/sysdep.h: Include <features.h>.
9466 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9467 version.
9468
d8e0ca50
JM
94692012-02-05 Joseph Myers <joseph@codesourcery.com>
9470
9471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9472 Define.
9473 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9474 LOAD_PIC_REG_STR.
9475
b1da7dd9
JM
94762012-02-03 Joseph Myers <joseph@codesourcery.com>
9477
9478 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9479 (SETUP_PIC_REG): Use GET_PC_THUNK.
9480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9481 macro.
9482
9a1d9254
JM
94832012-02-03 Joseph Myers <joseph@codesourcery.com>
9484
9485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9486 for non-PIC compilation.
9487 (SETUP_PIC_REG): Add .p2align directive.
9488 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9489 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9491 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9493 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9494 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9496 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9497 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9498 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9499 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9500 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9502 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9503 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9504 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9505 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9506 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9507 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9509 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9510 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9511 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9529
65dc3b75
JM
95302012-02-03 Joseph Myers <joseph@codesourcery.com>
9531
9532 * math/tst-CMPLX.c: Include <stdio.h>.
9533
d55bf177
JM
95342012-01-31 Joseph Myers <joseph@codesourcery.com>
9535
9536 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9537 float.
9538 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9539 * sysdeps/sparc/bits/mathdef.h: Likewise.
9540
69db4f8f
MP
95412012-01-31 Marek Polacek <polacek@redhat.com>
9542
9543 * libio/libio.h: Don't define _PARAMS.
9544 * locale/programs/config.h: Don't define PARAMS.
9545 * stdlib/strtol_l.c: Likewise.
9546 (__strtol_l): Remove PARAMS from the prototype.
9547
41b81892
UD
95482012-01-31 Ulrich Drepper <drepper@gmail.com>
9549
3b49edc0
UD
9550 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9551 names. Just use the correct names. Remove unnecessary wrapper
9552 functions.
9553 * malloc/arena.c: Likewise.
9554 * malloc/hooks.c: Likewise.
9555
41b81892
UD
9556 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9557 ARENA_TEST says not to. Simplify test for creation of a new arena.
9558 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9559
27a25b6e
UD
95602012-01-30 Ulrich Drepper <drepper@gmail.com>
9561
9562 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9563 into tail calls.
9564 (update_get_addr): New function.
9565 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9566 GET_ADDR_MODULE parameter.
9567
c8a89e7d
JM
95682012-01-30 Joseph Myers <joseph@codesourcery.com>
9569
9570 * crypt/cert.c: Remove __STDC__ conditionals.
9571 * crypt/crypt-entry.c: Likewise.
9572 * crypt/crypt_util.c: Likewise.
9573 * libio/filedoalloc.c: Likewise.
9574 * libio/fileops.c: Likewise.
9575 * libio/genops.c: Likewise.
9576 * libio/iofclose.c: Likewise.
9577 * libio/iofdopen.c: Likewise.
9578 * libio/iofopen.c: Likewise.
9579 * libio/iofopen64.c: Likewise.
9580 * libio/iogetdelim.c: Likewise.
9581 * libio/iopopen.c: Likewise.
9582 * libio/obprintf.c: Likewise.
9583 * libio/oldfileops.c: Likewise.
9584 * libio/oldiofclose.c: Likewise.
9585 * libio/oldiofdopen.c: Likewise.
9586 * libio/oldiofopen.c: Likewise.
9587 * libio/oldiopopen.c: Likewise.
9588 * libio/wfiledoalloc.c: Likewise.
9589 * libio/wgenops.c: Likewise.
9590 * locale/programs/xmalloc.c: Likewise.
9591 * misc/syslog.c: Likewise.
9592 * stdio-common/xbug.c: Likewise.
9593 * string/memchr.c: Likewise.
9594 * string/memcmp.c: Likewise.
9595 * string/memrchr.c: Likewise.
9596 * string/rawmemchr.c: Likewise.
9597 * sysdeps/posix/getcwd.c: Likewise.
9598 * time/strftime_l.c: Likewise.
9599
3b100462
JM
96002012-01-30 Joseph Myers <joseph@codesourcery.com>
9601
9602 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9603 * config.make.in (config-cflags-sse2avx): Define.
9604 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9605 Fix typo.
9606
607998af
CM
96072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9608
9609 * scripts/config.guess: Update from upstream config git repository.
9610 * scripts/config.sub: Likewise.
9611
3601428f
CM
96122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9613
3ac8b282
CM
9614 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9615 (EM_NUM): Update.
9616 (R_TILEPRO_*, R_TILEGX_*): New macros.
9617
e034841e
CM
9618 * scripts/firstversions.awk: Fix bug in version range handling.
9619
540d7568
CM
9620 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9621
3601428f
CM
9622 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9623
463de862
CM
9624 * include/sys/epoll.h: New file.
9625 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9626 libc_hidden_def.
9627
73139a76
UD
96282012-01-28 Ulrich Drepper <drepper@gmail.com>
9629
96bc5b45
UD
9630 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9631 Avoid unnecessary __WORDSIZE == 64 test.
9632 (fmaxf): Use VEX format if possible.
9633 (fmax): Likewise.
9634 (fminf): Likewise.
9635 (fmin): Likewise.
9636
56f6f6a2
UD
9637 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9638 * math/math_private.h: Remove libc_fegetround* and
9639 libc_fesetround*.
9640 * sysdeps/i386/configure.in: Check for -msse2avx.
9641 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9642 also if SSE2AVX is defined.
9643 Remove libc_fegetround* and libc_fesetround*.
9644 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9645 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9647 of HAS_YMM_USABLE.
9648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9653
73139a76
UD
9654 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9655
d73f93a4
AZ
96562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9657
9658 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9659 size is not set.
9660 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9661
6ee65ed6
UD
96622012-01-27 Ulrich Drepper <drepper@gmail.com>
9663
9664 [BZ #13618]
9665 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9666 relocation.
9667 * Makeconfig (libm): Define.
9668 * elf/Makefile: Add rules to build and run tst-relsort1.
9669 * elf/tst-relsort1.c: New file.
9670 * elf/tst-relsort1mod1.c: New file.
9671 * elf/tst-relsort1mod2.c: New file.
9672
8db21882
JM
96732012-01-27 Joseph Myers <joseph@codesourcery.com>
9674
9675 * math/s_ldexp.c: Remove __STDC__ conditionals.
9676 * math/s_ldexpf.c: Likewise.
9677 * math/s_ldexpl.c: Likewise.
9678 * math/s_nextafter.c: Likewise.
9679 * math/s_nexttowardf.c: Likewise.
9680 * math/s_significand.c: Likewise.
9681 * math/s_significandf.c: Likewise.
9682 * math/s_significandl.c: Likewise.
9683 * math/w_jnl.c: Likewise.
9684 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9685 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9686 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9687 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9688 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9705 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9706 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9707 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9708 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9710 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9713 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9714 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9715 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9716 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9718 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9719 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9720 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9721 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9724 * sysdeps/ieee754/k_standard.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9804 * sysdeps/ieee754/s_matherr.c: Likewise.
9805 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9806 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9809
965a54a4
JM
98102012-01-26 Joseph Myers <joseph@codesourcery.com>
9811
9812 * crypt/md5.h: Remove __STDC__ conditionals.
9813 * libio/libioP.h: Likewise.
9814 * locale/programs/config.h: Likewise.
9815 * sysdeps/generic/sysdep.h: Likewise.
9816 * sysdeps/i386/asm-syntax.h: Likewise.
9817 * sysdeps/s390/asm-syntax.h: Likewise.
9818 * sysdeps/unix/sysdep.h: Likewise.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9821
7071ad79
JM
98222012-01-26 Joseph Myers <joseph@codesourcery.com>
9823
9824 * libio/libio.h: Remove __STDC__ conditionals.
9825 * malloc/obstack.h: Likewise.
9826 * math/complex.h: Likewise.
9827 * math/math.h: Likewise.
9828 * sysdeps/generic/_G_config.h: Likewise.
9829 * sysdeps/gnu/_G_config.h: Likewise.
9830 * sysdeps/mach/hurd/_G_config.h: Likewise.
9831 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9832 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9833 * sysdeps/sparc/bits/mathdef.h: Likewise.
9834
afc5ed09
UD
98352012-01-26 Ulrich Drepper <drepper@gmail.com>
9836
9837 [BZ #13583]
9838 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9839 Clean up HAS_* macros.
afc5ed09 9840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9841 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9842 possible.
9843 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9844 HAS_AVX.
9845 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9846 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9850
bdb6de1d
JM
98512012-01-25 Joseph Myers <joseph@codesourcery.com>
9852
9853 * elf/tst-unique3.cc (gets): Remove declaration.
9854 * elf/tst-unique3lib.cc (gets): Likewise.
9855 * elf/tst-unique3lib2.cc (gets): Likewise.
9856 * elf/tst-unique4.cc (gets): Likewise.
9857
b15549e6
UD
98582012-01-24 Ulrich Drepper <drepper@gmail.com>
9859
9860 * include/stdio.h: Add C++ protection. Add gets declarations and
9861 definitions.
9862 * debug/tst-chk1.c: Don't declare gets here.
9863 * stdio-common/tst-gets.c: Likewise.
9864
a037381f
JM
98652012-01-24 Joseph Myers <joseph@codesourcery.com>
9866
9867 * posix/glob: Remove directory.
9868
f1d4aa75
JM
98692012-01-24 Joseph Myers <joseph@codesourcery.com>
9870
9871 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9872
81c0c964
PT
98732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9874
9875 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9876 of the non-standard EPFNOSUPPORT.
9877
0ea698ae
ST
98782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9879
9880 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9881 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9882 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9883
d220b117
UD
98842012-01-21 Ulrich Drepper <drepper@gmail.com>
9885
9886 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9887
3e1aa84e
UD
98882012-01-20 Ulrich Drepper <drepper@gmail.com>
9889
9890 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9891 transient errors.
9892 * nscd/grpcache.c (cache_addgr): Likewise.
9893 * nscd/hstcache.c (cache_addhst): Likewise.
9894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9895 * nscd/pwdcache.c (cache_addpw): Likewise.
9896 * nscd/servicescache.c (cache_addserv): Likewise.
9897
400aa020
UD
98982012-01-16 Ulrich Drepper <drepper@gmail.com>
9899
d77e7869
UD
9900 * malloc/malloc.c: Various cleanups.
9901 * malloc/hooks.c: Likewise.
9902
400aa020
UD
9903 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9904 * stdlib/bug-fmtmsg1.c: New file.
9905
9906 * stdlib/fmtmsg.c (init): Add missing unlock.
9907 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9908
e0a309cf
MP
99092012-01-12 Marek Polacek <polacek@redhat.com>
9910
9911 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9912 and _GNU_SOURCE.
9913
929d11c7
WS
99142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9915
9916 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9917 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9918 macro to ensure uniqueness of label name.
9919 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9920 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9921
41d0e869
UD
99222012-01-11 Ulrich Drepper <drepper@gmail.com>
9923
0cc5ed3b
UD
9924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9925
41d0e869
UD
9926 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9927 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9930
a47a831a
UD
99312012-01-10 Ulrich Drepper <drepper@gmail.com>
9932
daa891c0
UD
9933 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9934
9935 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9936 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9937 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9938
e58ef0f2
UD
9939 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9940
a47a831a 9941 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9942 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9945
9946 * math/bits/math-finite.h: Add ldexp support.
9947
a0bfc9c7
MP
99482012-01-10 Marek Polacek <polacek@redhat.com>
9949
9950 * locale/programs/localedef.h (show_archive_content): Add noreturn
9951 attribute.
9952
d6e97a1d
UD
99532012-01-09 Ulrich Drepper <drepper@gmail.com>
9954
9955 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9956
d5835c26
UD
99572012-01-08 Ulrich Drepper <drepper@gmail.com>
9958
e5f484c6
UD
9959 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9960
d5835c26
UD
9961 * io/Makefile (headers): Add bits/poll2.h.
9962
d1f741e9
WS
99632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9964
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9966 typo #include statement.
9967
ec09c1c4
UD
99682012-01-08 Ulrich Drepper <drepper@gmail.com>
9969
9970 * include/sys/cdefs.h: Define __attribute_alloc_size.
9971 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9972 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9973 * elf/pldd.c: Likewise.
9974 * iconv/iconv_charmap.c: Likewise.
9975 * iconv/iconvconfig.c: Likewise.
9976 * iconv/strtab.c: Likewise.
9977 * locale/programs/locale.c: Likewise.
9978 * locale/programs/localedef.h: Likewise.
9979 * locale/programs/simple-hash.c: Likewise.
9980 * nscd/nscd.h: Likewise.
9981 * nss/makedb.c: Likewise.
9982 * sysdeps/generic/ldconfig.h: Likewise.
9983 * locale/programs/localedef.c: Remove xmalloc prototype.
9984 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9985
20b38e03
PP
99862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9987
9988 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9989 appropriate.
9990
a0da5fe1
UD
99912012-01-08 Ulrich Drepper <drepper@gmail.com>
9992
1d5a644a 9993 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9994 * math/tst-CMPLX.c: New file.
1d5a644a 9995
8784a6db
UD
9996 * math/complex.h (CMPLXL): Fix typo.
9997
d9a216c0
UD
9998 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9999 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10000 GLIBC_2.16.
10001 * debug/tst-chk1.c: Add poll and ppoll tests.
10002 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10003 * include/sys/poll.h: Add hidden proto for ppoll.
10004 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10005 * sysdeps/mach/hurd/ppoll.c: Likewise.
10006 * io/ppoll.c: Likewise.
10007 * debug/poll_chk.c: New file.
10008 * debug/ppoll_chk.c: New file.
10009 * include/bits/poll2.h: New file.
10010 * io/bits/poll2.h: New file.
10011
ac097f5c
UD
10012 [BZ #1350]
10013 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10014
2119dcfa
UD
10015 * configure.in: static is always set to yes. Remove.
10016 * config.make.in: Don't set build-static.
10017 * Makeconfig: Remove use of build-static.
10018 * dlfcn/Makefile: Likewise.
10019 * elf/Makefile: Likewise.
10020 * math/Makefile: Likewise.
10021 * misc/Makefile: Likewise.
10022 * nptl/Makefile: Likewise.
10023 * sysdeps/mach/hurd/Makefile: Likewise.
10024
121766a9
UD
10025 * configure.in: PWD_P is not used anymore.
10026 * config.make.in: Remove PWD_P entry.
10027
51a1d39c 10028 * configure.in: Remove last remnants of RANLIB.
8720d066 10029 No need to check for signed size_t anymore.
215f4bdc
UD
10030 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10031 and IA-64.
3857022a 10032 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10033 * aclocal.m4: Likewise.
10034
d3ed7225
UD
10035 * wcsmbs/mbrtoc16.c: Implement using towc function.
10036 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10037 * wcsmbs/wcsmbsload.c: Likewise.
10038 * iconv/gconv_simple.c: Likewise.
10039 * iconv/gconv_int.h: Likewise.
10040 * iconv/gconv_builtin.h: Likewise.
10041 * iconv/iconv_prog.c: Remove CHAR16 handling.
10042
10043 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10044
10045 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10046
a0da5fe1
UD
10047 * configure.in: Remove --with-elf and --enable-bounded options.
10048 Dont set base_machine for ia64. More non-ELF conditions removed.
10049 Remove testing and setting of leading underscore information.
10050 * config.make.in (build-bounded): Set to no.
10051 * config.h.in: Remove NO_UNDERSCORES entry.
10052 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10053 them.
10054 * csu/start.c: Remove !NO_UNDERSCORE code.
10055 * locale/localeinfo.h: Likewise.
10056 * sysdeps/generic/machine-gmon.h: Likewise.
10057 * sysdeps/generic/sysdep.h: Likewise.
10058 * sysdeps/i386/sysdep.h: Likewise.
10059 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10060 * sysdeps/mach/sysdep.h: Likewise.
10061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10063 * sysdeps/sh/sysdep.h: Likewise.
10064 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10065 * sysdeps/unix/i386/sysdep.S: Likewise.
10066 * sysdeps/unix/sparc/start.c: Likewise.
10067 * sysdeps/unix/sparc/sysdep.S: Likewise.
10068 * sysdeps/unix/sparc/sysdep.h: Likewise.
10069 * sysdeps/unix/start.c: Likewise.
10070 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10071 * sysdeps/x86_64/sysdep.h: Likewise.
10072
df78418a
UD
100732012-01-07 Ulrich Drepper <drepper@gmail.com>
10074
a784e502
UD
10075 [BZ #13553]
10076 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10077 for non-gcc.
10078 * argp/argp-fmtstream.h: Use const instead __const.
10079 * argp/argp.h: Likewise.
10080 * assert/assert.h: Likewise.
10081 * bits/fenv.h: Likewise.
10082 * bits/sched.h: Likewise.
10083 * bits/sigset.h: Likewise.
10084 * bits/sigthread.h: Likewise.
10085 * catgets/nl_types.h: Likewise.
10086 * conform/data/pthread.h-data: Likewise.
10087 * crypt/crypt-private.h: Likewise.
10088 * crypt/crypt.h: Likewise.
10089 * crypt/crypt_util.c: Likewise.
10090 * ctype/ctype.h: Likewise.
10091 * debug/execinfo.h: Likewise.
10092 * debug/mbsnrtowcs_chk.c: Likewise.
10093 * debug/mbsrtowcs_chk.c: Likewise.
10094 * debug/wcsnrtombs_chk.c: Likewise.
10095 * debug/wcsrtombs_chk.c: Likewise.
10096 * debug/wcstombs_chk.c: Likewise.
10097 * dirent/dirent.h: Likewise.
10098 * dlfcn/dlfcn.h: Likewise.
10099 * elf/neededtest4.c: Likewise.
10100 * grp/grp.h: Likewise.
10101 * gshadow/gshadow.h: Likewise.
10102 * iconv/gconv.h: Likewise.
10103 * iconv/gconv_int.h: Likewise.
10104 * iconv/gconv_simple.c: Likewise.
10105 * iconv/iconv.h: Likewise.
10106 * iconv/loop.c: Likewise.
10107 * iconv/skeleton.c: Likewise.
10108 * include/aio.h: Likewise.
10109 * include/aliases.h: Likewise.
10110 * include/argz.h: Likewise.
10111 * include/arpa/inet.h: Likewise.
10112 * include/assert.h: Likewise.
10113 * include/dirent.h: Likewise.
10114 * include/dlfcn.h: Likewise.
10115 * include/execinfo.h: Likewise.
10116 * include/fcntl.h: Likewise.
10117 * include/fenv.h: Likewise.
10118 * include/glob.h: Likewise.
10119 * include/grp.h: Likewise.
10120 * include/libintl.h: Likewise.
10121 * include/mntent.h: Likewise.
10122 * include/netdb.h: Likewise.
10123 * include/pwd.h: Likewise.
10124 * include/rpc/netdb.h: Likewise.
10125 * include/sched.h: Likewise.
10126 * include/search.h: Likewise.
10127 * include/shadow.h: Likewise.
10128 * include/signal.h: Likewise.
10129 * include/stdio.h: Likewise.
10130 * include/stdlib.h: Likewise.
10131 * include/string.h: Likewise.
10132 * include/sys/socket.h: Likewise.
10133 * include/sys/stat.h: Likewise.
10134 * include/sys/statfs.h: Likewise.
10135 * include/sys/statvfs.h: Likewise.
10136 * include/sys/syslog.h: Likewise.
10137 * include/sys/time.h: Likewise.
10138 * include/sys/uio.h: Likewise.
10139 * include/time.h: Likewise.
10140 * include/unistd.h: Likewise.
10141 * include/utmp.h: Likewise.
10142 * include/wchar.h: Likewise.
10143 * include/wctype.h: Likewise.
10144 * inet/aliases.h: Likewise.
10145 * inet/arpa/inet.h: Likewise.
10146 * inet/netinet/ether.h: Likewise.
10147 * inet/netinet/in.h: Likewise.
10148 * intl/libintl.h: Likewise.
10149 * io/bits/fcntl2.h: Likewise.
10150 * io/fcntl.h: Likewise.
10151 * io/ftw.h: Likewise.
10152 * io/sys/poll.h: Likewise.
10153 * io/sys/stat.h: Likewise.
10154 * io/sys/statfs.h: Likewise.
10155 * io/sys/statvfs.h: Likewise.
10156 * io/utime.h: Likewise.
10157 * libio/bits/stdio.h: Likewise.
10158 * libio/bits/stdio2.h: Likewise.
10159 * libio/libio.h: Likewise.
10160 * libio/libioP.h: Likewise.
10161 * libio/stdio.h: Likewise.
10162 * locale/lc-ctype.c: Likewise.
10163 * locale/locale.h: Likewise.
10164 * login/utmp.h: Likewise.
10165 * malloc/arena.c: Likewise.
10166 * malloc/malloc.c: Likewise.
10167 * malloc/malloc.h: Likewise.
10168 * malloc/mcheck.c: Likewise.
10169 * malloc/mtrace.c: Likewise.
10170 * math/bits/mathcalls.h: Likewise.
10171 * math/fenv.h: Likewise.
10172 * math/math_private.h: Likewise.
10173 * misc/bits/error.h: Likewise.
10174 * misc/bits/syslog.h: Likewise.
10175 * misc/err.h: Likewise.
10176 * misc/error.h: Likewise.
10177 * misc/fstab.h: Likewise.
10178 * misc/mntent.h: Likewise.
10179 * misc/regexp.h: Likewise.
10180 * misc/search.h: Likewise.
10181 * misc/sgtty.h: Likewise.
10182 * misc/sys/mman.h: Likewise.
10183 * misc/sys/syslog.h: Likewise.
10184 * misc/sys/uio.h: Likewise.
10185 * misc/sys/xattr.h: Likewise.
10186 * misc/ttyent.h: Likewise.
10187 * nis/rpcsvc/ypclnt.h: Likewise.
10188 * nss/nss.h: Likewise.
10189 * posix/bits/unistd.h: Likewise.
10190 * posix/fnmatch.h: Likewise.
10191 * posix/glob.h: Likewise.
10192 * posix/sched.h: Likewise.
10193 * posix/spawn.h: Likewise.
10194 * posix/sys/wait.h: Likewise.
10195 * posix/unistd.h: Likewise.
10196 * posix/wordexp.h: Likewise.
10197 * pwd/pwd.h: Likewise.
10198 * resolv/netdb.h: Likewise.
10199 * resource/sys/resource.h: Likewise.
10200 * rt/aio.h: Likewise.
10201 * rt/bits/mqueue2.h: Likewise.
10202 * rt/mqueue.h: Likewise.
10203 * shadow/shadow.h: Likewise.
10204 * signal/signal.h: Likewise.
10205 * socket/send.c: Likewise.
10206 * socket/sendto.c: Likewise.
10207 * socket/sys/socket.h: Likewise.
10208 * stdio-common/printf.h: Likewise.
10209 * stdlib/bits/stdlib.h: Likewise.
10210 * stdlib/fmtmsg.h: Likewise.
10211 * stdlib/monetary.h: Likewise.
10212 * stdlib/stdlib.h: Likewise.
10213 * stdlib/ucontext.h: Likewise.
10214 * streams/stropts.h: Likewise.
10215 * string/argz.h: Likewise.
10216 * string/bits/string2.h: Likewise.
10217 * string/string.h: Likewise.
10218 * string/strings.h: Likewise.
10219 * sunrpc/rpc/auth.h: Likewise.
10220 * sunrpc/rpc/auth_des.h: Likewise.
10221 * sunrpc/rpc/clnt.h: Likewise.
10222 * sunrpc/rpc/netdb.h: Likewise.
10223 * sunrpc/rpc/pmap_clnt.h: Likewise.
10224 * sunrpc/rpc/xdr.h: Likewise.
10225 * sysdeps/generic/inttypes.h: Likewise.
10226 * sysdeps/generic/net/if.h: Likewise.
10227 * sysdeps/generic/sys/swap.h: Likewise.
10228 * sysdeps/gnu/net/if.h: Likewise.
10229 * sysdeps/gnu/utmpx.h: Likewise.
10230 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10231 * sysdeps/i386/i486/bits/string.h: Likewise.
10232 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10233 * sysdeps/s390/bits/string.h: Likewise.
10234 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10235 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10236 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10237 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10238 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10239 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10240 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10241 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10242 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10243 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10244 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10245 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10246 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10247 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10248 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10249 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10250 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10252 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10255 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10256 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10257 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10258 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10259 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10260 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10262 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10263 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10264 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10265 * sysvipc/sys/ipc.h: Likewise.
10266 * sysvipc/sys/msg.h: Likewise.
10267 * sysvipc/sys/sem.h: Likewise.
10268 * sysvipc/sys/shm.h: Likewise.
10269 * termios/termios.h: Likewise.
10270 * time/sys/time.h: Likewise.
10271 * time/time.h: Likewise.
10272 * wcsmbs/bits/wchar2.h: Likewise.
10273 * wcsmbs/uchar.h: Likewise.
10274 * wcsmbs/wchar.h: Likewise.
10275 * wctype/wctype.h: Likewise.
10276
0269750c
UD
10277 [BZ #13551]
10278 * Makeconfig: Remove all but ELF support including AIX support.
10279 * Makerules: Likewise.
10280 * config.h.in: Likewise.
10281 * config.make.in: Likewise.
10282 * configure: Likewise.
10283 * configure.in: Likewise.
10284 * csu/Makefile: Likewise.
10285 * csu/version.c: Likewise.
10286 * debug/Makefile: Likewise.
10287 * dlfcn/Makefile: Likewise.
10288 * elf/Makefile: Likewise.
10289 * extra-lib.mk: Likewise.
10290 * iconv/Makefile: Likewise.
10291 * include/libc-symbols.h: Likewise.
10292 * include/shlib-compat.h: Likewise.
10293 * resolv/Makefile: Likewise.
10294 * resolv/res_libc.c: Likewise.
10295 * rt/Makefile: Likewise.
10296 * sysdeps/i386/asm-syntax.h: Likewise.
10297 * sysdeps/i386/sysdep.h: Likewise.
10298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10299 * sysdeps/mach/sysdep.h: Likewise.
10300 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10301 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10302 * sysdeps/s390/asm-syntax.h: Likewise.
10303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10304 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10305 * sysdeps/sh/sysdep.h: Likewise.
10306 * sysdeps/unix/sparc/sysdep.h: Likewise.
10307 * sysdeps/wordsize-32/divdi3.c: Likewise.
10308 * sysdeps/x86_64/sysdep.h: Likewise.
10309
00bbd29b
UD
10310 * argp/Versions: Remove _argp_unlock_xxx.
10311
10312 [BZ #13559]
10313 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10314 * abilist/libBrokenLocale.abilist: Likewise.
10315 * abilist/libanl.abilist: Likewise.
10316 * abilist/libc.abilist: Likewise.
10317 * abilist/libcrypt.abilist: Likewise.
10318 * abilist/libdl.abilist: Likewise.
10319 * abilist/libm.abilist: Likewise.
10320 * abilist/libnsl.abilist: Likewise.
10321 * abilist/libpthread.abilist: Likewise.
10322 * abilist/libresolv.abilist: Likewise.
10323 * abilist/librt.abilist: Likewise.
10324 * abilist/libthread_db.abilist: Likewise.
10325 * abilist/libutil.abilist: Likewise.
10326 * abilist/libnss_db.abilist: New file.
10327
10328 * scripts/abilist.awk: Add support for indirect functions.
10329
a2693a0e
UD
10330 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10331
3f05895f
UD
10332 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10333
ecb6fb48
UD
10334 * shlib-versions: Remove entries for ports architectures.
10335
664f8cb9
UD
10336 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10337 files in ports.
10338 * elf/stackguard-macros.h: Remove support for IA-64.
10339 * elf/tst-auditmod1.c: Likewise.
10340 * sysdeps/generic/ldsodefs.h: Likewise.
10341
7ae81d88
UD
10342 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10343 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10344 configure files.
10345
bdeba135
UD
10346 [BZ #13552]
10347 * configure.in: Remove --enable-omitfp support.
10348 * FAQ.in: Adjust.
10349 * config.make.in: Likewise.
10350 * Makeconfig: Likewise.
10351 * manual/install.texi: Likewise.
10352
d75a0a62
UD
10353 In case anyone cares, the IA-64 architecture could move to ports.
10354 * sysdeps/ia64/*: Removed.
10355 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10356 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10357
dcc9756b
UD
10358 [BZ #13555]
10359 * configure.in: Remove entries for unsupported architectures.
10360
d3761ebc 10361 [BZ #13533]
9954432e
UD
10362 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10363 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10364 routines.
10365 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10366 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10367 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10368 fall back to using wcrtomb.
10369 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10370 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10371 renaming.
10372 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10373 * wcsmbs/tst-c16c32-1.c: New file.
10374
10375 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10376 local variable.
10377
c3a87236
UD
10378 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10379
28926a1b
UD
10380 * elf/tst-unique3.cc: Add explicit declaration of gets.
10381 * elf/tst-unique3lib.cc: Likewise.
10382 * elf/tst-unique3lib2.cc: Likewise.
10383 * elf/tst-unique4.cc: Likewise.
10384
df78418a
UD
10385 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10386
8ecd6b2a
JM
103872012-01-06 Joseph Myers <joseph@codesourcery.com>
10388
10389 [BZ #13566]
10390 * assert/assert.h (static_assert): Don't define for C++.
10391 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10392 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10393
9f115170
UD
103942012-01-03 Ulrich Drepper <drepper@gmail.com>
10395
5e0d0300
UD
10396 * iconv/loop.c (single loop): Fix assertion in storing of
10397 remaining bytes.
10398
9f115170
UD
10399 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10400
81fb02b0
UD
104012012-01-01 Ulrich Drepper <drepper@gmail.com>
10402
10403 * posix/getconf.c: Update copyright year.
10404 * nss/getent.c: Likewise.
a316c1f6 10405 * nss/makedb.c: Likewise.
81fb02b0
UD
10406 * iconv/iconvconfig.c: Likewise.
10407 * iconv/iconv_prog.c: Likewise.
10408 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10409 * elf/pldd.c: Likewise.
10410 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10411 * catgets/gencat.c: Likewise.
10412 * csu/version.c: Likewise.
10413 * elf/ldd.bash.in: Likewise.
10414 * elf/sprof.c (print_version): Likewise.
10415 * locale/programs/locale.c: Likewise.
10416 * locale/programs/localedef.c: Likewise.
a316c1f6 10417 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10418 * nscd/nscd.c (print_version): Likewise.
10419 * debug/xtrace.sh: Likewise.
10420 * malloc/memusage.sh: Likewise.
10421 * malloc/mtrace.pl: Likewise.
10422 * debug/catchsegv.sh: Likewise.
10423
2ba92745
JJ
104242011-12-30 Jakub Jelinek <jakub@redhat.com>
10425
10426 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10427 pure attribute.
10428
dadebdae
UD
104292011-12-24 Ulrich Drepper <drepper@gmail.com>
10430
d3761ebc 10431 [BZ #13533]
db6af3eb
UD
10432 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10433 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10434 transformations.
10435 * iconv/gconv_int.h: Likewise.
10436 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10437 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10438 from libc for GLIBC_2.16.
10439 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10440 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10441 * wcsmbs/uchar.h: Really define mbstate_t.
10442 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10443 * wcsmbs/c16rtomb.c: New file.
10444 * wcsmbs/mbrtoc16.c: New file.
10445 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10446 for C/POSIX locale.
10447 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10448 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10449
dadebdae
UD
10450 * wcsmbs/wchar.h: Add missing __restrict.
10451
67371b56
UD
104522011-12-23 Ulrich Drepper <drepper@gmail.com>
10453
74033a25
UD
10454 [BZ #13532]
10455 * time/Makefile (routines): Add timespec_get.
10456 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10457 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10458 timespec for ISO C11.
10459 * time/timespec_get.c: New file.
10460 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10461 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10462
380d7e87
UD
10463 [BZ #13531]
10464 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10465 * stdlib/stdlib.h: Declare aligned_alloc.
10466 * Versions.def: Add GLIBC_2.16 for libc.
10467 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10468
4e9e7a35
UD
10469 [BZ 13527]
10470 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10471 ISO C11.
10472
380d7e87 10473 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10474 code.
10475
03a71829
UD
10476 [BZ #13528]
10477 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10478
839e283e
UD
10479 [BZ #13529]
10480 * assert/assert.h (static_assert): Define.
10481
ce5294e2 10482 * version.h: Update for 2.16 development version.
90fa7312 10483
8d44e150 10484 [BZ #13526]
d7809905
UD
10485 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10486 _ISOC11_SOURCE.
10487
c0da14cd
UD
10488 * version.h (RELEASE): Bump for 2.15 release.
10489 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10490
530a3249
MP
10491 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10492 Patch by Marek Polacek <mpolacek@redhat.com>.
10493
67371b56
UD
10494 * bits/byteswap.h: Protect long long constants with __extension__.
10495 * sysdeps/i386/bits/byteswap.h: Likewise.
10496 * sysdeps/ia64/bits/byteswap.h: Likewise.
10497 * sysdeps/s390/bits/byteswap.h: Likewise.
10498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10499
15db4de1
LD
105002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10501
10502 [BZ #13540]
bbe315ea
LD
10503 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10504 destination buffer.
15db4de1
LD
10505 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10506
2b2596b1
MP
105072011-12-23 Marek Polacek <polacek@redhat.com>
10508
10509 * elf/dl-addr.c (determine_info): Add inline keyword.
10510 * elf/tst-auditmod4b.c (check_avx): Likewise.
10511 * elf/tst-auditmod6b.c (check_avx): Likewise.
10512 * elf/tst-auditmod6c.c (check_avx): Likewise.
10513 * elf/tst-auditmod7b.c (check_avx): Likewise.
10514
70c6c246
UD
105152011-12-23 Ulrich Drepper <drepper@gmail.com>
10516
10517 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10518 !__SSE_MATH__.
10519
c044cf14
LD
105202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10521
15db4de1 10522 [BZ #13540]
c044cf14
LD
10523 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10524 processing for last bytes.
10525
6b13d9d9
BH
105262011-08-06 Bruno Haible <bruno@clisp.org>
10527
d455f537
BH
10528 [BZ #13061]
10529 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10530 U+0385, not to U+1FEE.
10531
6b13d9d9
BH
10532 [BZ #13062]
10533 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10534 entry for U+00A5 U+0301.
10535
db910efd
UD
105362011-12-22 Ulrich Drepper <drepper@gmail.com>
10537
27deeafc
UD
10538 [BZ #13166]
10539 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10540 buffer for the output is too small.
10541
aed9d171
UD
10542 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10543 optimization.
10544
db910efd
UD
10545 [BZ #13185]
10546 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10547 SSE flags if possible.
10548
2bd779ae
LD
105492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10550
e7f9dac3 10551 [BZ #13540]
2bd779ae
LD
10552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10553 processing for last bytes.
10554
154bfc16
JM
105552011-12-22 Joseph Myers <joseph@codesourcery.com>
10556
10557 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10558 (syscall-list-default-options, syscall-list-default-condition)
10559 (syscall-list-includes): Define.
10560 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10561 list of ABIs and options and #if conditions for each ABI. Do not
10562 handle common syscalls between ABIs specially.
10563 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10564 Remove.
10565 (syscall-list-variants, syscall-list-32bit-options)
10566 (syscall-list-32bit-condition, syscall-list-64bit-options)
10567 (syscall-list-64bit-condition): Define.
10568 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10569 (syscall-list-variants, syscall-list-32bit-options)
10570 (syscall-list-32bit-condition, syscall-list-64bit-options)
10571 (syscall-list-64bit-condition): Define.
10572 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10573 Remove.
10574 (syscall-list-variants, syscall-list-32bit-options)
10575 (syscall-list-32bit-condition, syscall-list-64bit-options)
10576 (syscall-list-64bit-condition): Define.
10577 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10578 Remove.
10579 (syscall-list-variants, syscall-list-32bit-options)
10580 (syscall-list-32bit-condition, syscall-list-64bit-options)
10581 (syscall-list-64bit-condition): Define.
10582
21eaf3a5
UD
105832011-12-22 Ulrich Drepper <drepper@gmail.com>
10584
16c6f992
UD
10585 * locale/iso-639.def: Add brx entry.
10586
41043168
UD
10587 [BZ #13328]
10588 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10589 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10590
21eaf3a5
UD
10591 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10592 __feraiseexcept_renamed.
10593
e3a851a2
UD
105942011-12-21 Ulrich Drepper <drepper@gmail.com>
10595
4920765e
UD
10596 [BZ #13538]
10597 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10598 EPOLLET with unsigned values.
10599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10601
e3a851a2
UD
10602 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10603 to large cancellation.
10604 * math/s_cacoshf.c: Likewise.
10605 * math/s_cacoshl.c: Likewise.
10606
b27e24b8
RK
106072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10608
10609 [BZ #13305]
aebefeee 10610 [BZ #12786]
b27e24b8
RK
10611 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10612 * math/s_cacoshf.c: Likewise.
10613 * math/s_cacoshl.c: Likewise.
10614
ee190f67
UD
106152011-12-21 Ulrich Drepper <drepper@gmail.com>
10616
10617 [BZ #13439]
10618 * iconv/gconv.h: Define __GCONV_SWAP.
10619 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10620 * iconvdata/utf-16.c: Likewise.
10621 * iconvdata/utf-32.c: Likewise.
10622
707f25df
AS
106232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10624
10625 [BZ #13524]
10626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10627 numerator after shifting it by one limb.
10628
d2daaa1e
RÁE
106292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10630
10631 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10632 under [__USE_EXTERN_INLINES].
10633
a4647e72
UD
106342011-12-17 Ulrich Drepper <drepper@gmail.com>
10635
10636 [BZ #13446]
10637 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10638
f0b264f1
AZ
106392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640
10641 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10642 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10643 optimized code.
10644 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10645 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10646 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10647 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10648 for strncasecmp/strncasecmp_l compilation.
10649 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10650 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10651
8ef4f244
MP
106522011-12-08 Marek Polacek <mpolacek@redhat.com>
10653
10654 [BZ #13484]
10655 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10656 of __asm__.
10657
97ac2654
UD
106582011-12-17 Ulrich Drepper <drepper@gmail.com>
10659
10660 [BZ #13506]
10661 * time/tzfile.c (__tzfile_read): Check values from file header.
10662
91d2a845
WS
106632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10664
10665 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10666 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10667 * powerpc/powerpc32/dl-start.S: Likewise.
10668 * powerpc/powerpc32/elf/start.S: Likewise.
10669 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10670 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10671 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10672 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10673 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10674 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10675 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10676 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10677 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10678 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10679 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10680 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10681 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10682 * powerpc/powerpc32/memset.S: Likewise.
10683 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10684 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10685 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10686 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10687 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10688 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10689 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10690 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10691 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10692 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10693 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10694 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10695 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10696
a1267ba1
AZ
106972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10698
10699 * math/libm-test.inc: Added more nearbyint tests.
10700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10704
ad8ac1bd
RL
107052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10706
10707 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10708 FD_CLOEXEC.
10709
1d3e4b61
UD
107102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10711
10712 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10713 Add wcscpy-ssse3 wcscpy-c.
10714 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10715 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10716 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10717 * sysdeps/x86_64/wcschr.S: New file.
10718 * sysdeps/x86_64/wcsrchr.S: New file.
10719 * string/test-strcmp.c: Remove checking of wcscmp function for
10720 wrong alignments.
10721 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10722 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10723 wcsrchr-sse2 wcsrchr-c.
10724 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10725 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10726 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10727 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10728 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10729 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10730 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10731 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10732 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10733 * wcsmbc/wcschr.c (WCSCHR): New macro.
10734
5b330a2d
UD
107352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10736
10737 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10738 * wcsmbs/test-wcsrchr.c: New file.
10739 * string/test-strrchr.c: Add wcsrchr support.
10740 (WIDE): New macro.
10741 * wcsmbs/test-wcscpy.c: New file.
10742 * string/test-strcpy.c: Add wcscpy support.
10743 (WIDE): New macro.
26428b7c 10744
f039c043
UD
107452011-12-10 Ulrich Drepper <drepper@gmail.com>
10746
10747 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10748 the inner loop.
10749
850fb039
AS
107502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10751
10752 [BZ #13472]
10753 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10754
4efbd5cb
UD
107552011-12-04 Ulrich Drepper <drepper@gmail.com>
10756
52ff5dd0 10757 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10758 Minor optimizations.
52ff5dd0 10759
4efbd5cb
UD
10760 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10761 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10762 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10763
8a426e12
UD
107642011-12-03 Ulrich Drepper <drepper@gmail.com>
10765
aff2453d
UD
10766 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10767 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10768 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10769 for gcc to avoid warnings.
10770 * inet/Makefile (tests): Add tst-checks.
10771 * inet/tst-checks.c: New file.
10772
10773 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10774 warning.
10775
10776 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10777 __wmemcmp_sse2.
10778
10779 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10780 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10781
8a426e12
UD
10782 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10783
9bea3473
UD
107842011-12-02 Ulrich Drepper <drepper@gmail.com>
10785
3a965496
UD
10786 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10787 problem.
10788
9bea3473
UD
10789 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10790
f101631b
UD
107912011-11-29 Joseph Myers <joseph@codesourcery.com>
10792
10793 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10794 conditional on GCC version.
10795 (__arch_compare_and_exchange_val_8_acq)
10796 (__arch_compare_and_exchange_val_16_acq)
10797 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10798 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10799 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10800
a98275aa
UD
108012011-12-02 Joseph Myers <joseph@codesourcery.com>
10802
10803 * sysdeps/sh/backtrace.c: New file.
10804
d4cc29a2
AS
108052011-12-02 Andreas Schwab <schwab@redhat.com>
10806
10807 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10808 parenthesis.
10809
6257af2d
AS
108102011-12-01 Andreas Schwab <schwab@redhat.com>
10811
10812 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10813 falling back to utime.
10814
b5f44c1a
AS
108152011-11-30 Andreas Schwab <schwab@redhat.com>
10816
10817 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10818 expectations for float.
10819
f3a6cc0a
AS
108202011-11-29 Andreas Schwab <schwab@redhat.com>
10821
10822 * locale/weight.h (findidx): Add parameter len.
10823 * locale/weightwc.h (findidx): Likewise.
10824 * posix/fnmatch_loop.c (FCT): Adjust caller.
10825 * posix/regcomp.c (build_equiv_class): Likewise.
10826 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10827 * posix/regexec.c (check_node_accept_bytes): Likewise.
10828 * string/strcoll_l.c (STRCOLL): Likewise.
10829 * string/strxfrm_l.c (STRXFRM): Likewise.
10830
9d65ea3a
UD
108312011-11-17 Ulrich Drepper <drepper@gmail.com>
10832
10833 * Makefile.in: Remove CVSOPT handling.
10834 * configure.in: Remove use of AC_REVISION.
10835 * iconvdata/Makefile (distribute): No need to filter out CVS.
10836 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10837 handling.
10838
5583a086
AS
108392011-11-16 Andreas Schwab <schwab@redhat.com>
10840
10841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10842 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10843 [USE_AS_STRNCASECMP_L]: Likewise.
10844 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10845 NO_TLS_DIRECT_SEG_REFS.
10846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10847 Fix argument offsets for non-PIC.
10848 [USE_AS_STRNCASECMP_L]: Likewise.
10849 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10850 NO_TLS_DIRECT_SEG_REFS.
10851
d62a8200
UD
108522011-11-15 Ulrich Drepper <drepper@gmail.com>
10853
9d65ea3a 10854 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10855 O_CLOEXEC.
10856 * locale/loadlocale.c (_nl_load_locale): Likewise.
10857
09f93bd3
AS
108582011-11-15 Andreas Schwab <schwab@redhat.com>
10859
446514f9
AS
10860 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10861 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10863 (SYSCALL_GETTIME): Set errno on error.
10864
09f93bd3
AS
10865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10866 count references to noai6ai_cached.
10867
312be3f9
UD
108682011-11-15 Ulrich Drepper <drepper@gmail.com>
10869
10870 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10871
10872 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10873 FD_CLOEXEC for /proc/self/maps.
10874
10875 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10876 FD_CLOEXEC for /proc/meminfo.
10877
10878 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10879 gai.conf.
10880
10881 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10882 FD_CLOEXEC for given file.
10883
10884 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10885
10886 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10887 FD_CLOEXEC for /etc/hosts.
10888 (_gethtent): Likewise.
10889
10890 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10891
10892 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10893 cancellation and set FD_CLOEXEC for /etc/netgroup.
10894
10895 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10896 reading /etc/publickey.
10897
10898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10899 allow cancellation when reading /etc/group.
10900
10901 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10902 cancellation.
10903 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10904
10905 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10906 when using data file.
10907
10908 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10909
10910 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10911 (write_nis_obj): Use "c" and "e" in fopen.
10912
10913 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10914
10915 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10916
10917 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10918
10919 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10920
10921 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10922 locale.alias.
10923
10924 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10925
10926 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10927
10928 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10929
10930 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10931 file parsing and set FD_CLOEXEC.
10932
82af0fa8
UD
109332011-11-14 Ulrich Drepper <drepper@gmail.com>
10934
10935 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10936
a5fb313c
AS
109372011-11-14 Andreas Schwab <schwab@redhat.com>
10938
10939 * malloc/arena.c (arena_get2): Don't call reused_arena when
10940 _int_new_arena failed.
10941
6abf3465
UD
109422011-11-14 Ulrich Drepper <drepper@gmail.com>
10943
10944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10945 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10947 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10950 to compile strcasecmp and strncasecmp.
10951 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10952 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10953
10954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10955
76e3966e
UD
109562011-11-13 Ulrich Drepper <drepper@gmail.com>
10957
10958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10959 locale-defines.sym to gen-as-const-headers.
10960 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10961 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10963 to compile strcasecmp and strncasecmp.
10964 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10965 strcasecmp_l and strncasecmp_l.
10966 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10967 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10968 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10969 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10970 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10971 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10972 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10973 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10974 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10975 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10976 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10977
ab26144e
UD
109782011-11-12 Ulrich Drepper <drepper@gmail.com>
10979
7edb22ef
UD
10980 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10981 result of SYSDEP_GETTIME_CPU to retval.
10982 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10983 parameter list to macro. Remove trailing semicolon. Adjust users.
10984
9694fc44
UD
10985 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10986 variable.
10987
8ad89ef8
UD
10988 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10989 mantissa words.
10990 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10991
0c822ef9
UD
10992 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10993 from unused variable.
10994
874e0564
UD
10995 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10996 DWARF definitions.
10997 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10998 for assembling.
10999
3a2edc79
UD
11000 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11001 over namespaces.
11002
f3c2577f
UD
11003 * sunrpc/rpc_prot.c (rejected): Fix case value.
11004
294ce126
UD
11005 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11006 unsigned long long int to avoid warnings in shift.
11007
5e2b63c6
UD
11008 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11009 of use of trans.
11010 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11011 variable tmp.
11012
e7f4b08e
UD
11013 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11014 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11015 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11016
ab26144e
UD
11017 * nis/nis_table.c (nis_list): Use variable of correct type for
11018 result of __follow_path call.
11019
8a6d5255
AZ
110202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11021
11022 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11023 of math functions ceil, trunc, floor, round, and sqrt, when
11024 avaliable on the platform.
11025 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11026 name clash.
11027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11028 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11029 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11030
aaddc98c
MP
110312011-10-30 Marek Polacek <mpolacek@redhat.com>
11032
11033 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11035
95b7042b
RM
110362011-11-11 Roland McGrath <roland@hack.frob.com>
11037
11038 * include/unistd.h: Fix __readlink return type.
11039 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11040
57769839
UD
110412011-11-11 Ulrich Drepper <drepper@gmail.com>
11042
11043 * stdlib/ucontext.h: Undo last change for makecontext.
11044
edc5984d
AS
110452011-11-11 Andreas Schwab <schwab@redhat.com>
11046
98591e58
AS
11047 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11048
edc5984d
AS
11049 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11050 * setjmp/setjmp.h: Mark functions as non-leaf.
11051 * setjmp/bits/setjmp2.h: Likewise.
11052 * stdlib/ucontext.h: Likewise.
11053
77cdc054
AS
110542011-11-10 Andreas Schwab <schwab@redhat.com>
11055
11056 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11057 (reused_arena): Don't check arena limit.
11058 (arena_get2): Atomically check arena limit.
11059
fe72eebd
UD
110602011-11-08 Ulrich Drepper <drepper@gmail.com>
11061
5f078c32
UD
11062 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11063 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11064
fe72eebd
UD
11065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11066 instructions.
11067
ae1bc2fa
AS
110682011-11-07 Andreas Schwab <schwab@redhat.com>
11069
7583a88d
AS
11070 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11071 handler when locking.
11072
ae1bc2fa
AS
11073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11074 Fix size of allocated buffer.
11075
10fb0bfa
AS
110762011-11-04 Andreas Schwab <schwab@redhat.com>
11077
998832a4
AS
11078 [BZ #10103]
11079 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11080 declarations for long double functions.
11081 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11082
10fb0bfa
AS
11083 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11084
3d7ba52b
AS
110852011-11-03 Andreas Schwab <schwab@redhat.com>
11086
a9ae54a1
AS
11087 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11088 installed.
11089
3d7ba52b
AS
11090 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11091 is disabled.
11092
bc8db248
ST
110932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11094
11095 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11096
45b96dd6
AS
110972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11098
647776f6
AS
11099 * include/alloca.h (stackinfo_alloca_round): Define.
11100 (extend_alloca): Use it.
11101 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11102 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11103 here.
11104
d91a8b93
AS
11105 * scripts/check-local-headers.sh: Ignore libaudit.h.
11106
45b96dd6
AS
11107 * nscd/Makefile (extra-objs): Make recursively expanded.
11108
432d41ce
UD
111092011-11-01 Ulrich Drepper <drepper@gmail.com>
11110
34372fc6
UD
11111 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11113
fadb59f8
UD
11114 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11115 * posix/tst-rfc3484-2.c: Likewise.
11116 * posix/tst-rfc3484-3.c: Likewise.
11117
78239589
UD
11118 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11119 process_vm_writev.
11120 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11121 process_vm_writev.
11122 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11123 process_vm_writev from libc using GLIBC_2.15 version.
11124
432d41ce
UD
11125 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11126
02f9c6cf
PP
111272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11128
11129 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11130 stack usage.
11131
3a2c0242
UD
111322011-10-31 Ulrich Drepper <drepper@gmail.com>
11133
f4ec4833
UD
11134 [BZ #13367]
11135 * nss/getent.c (initgroups_keys): Show error message in case no group
11136 names are given.
11137
3a2c0242
UD
11138 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11139 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11140 __bump_nl_timestamp.
11141 * nscd/connections (nscd_init): When host database is served open
11142 netlink socket and request notification about configuration changes.
11143 (main_loop_poll): Track netlink file descriptor and bump timestamp
11144 in case data becomes available.
11145 (main_loop_epoll): Likewise.
11146 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11147 (database_pers_head): Add extra_data fileds.
11148 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11149 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11150 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11151 Adjust caller.
11152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11153 in6ai data, call __free_in6ai.
11154 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11155 Add -DHAVE_NETLINK.
11156 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11157 interface information. Reuse previous data if netlink timestamp
11158 is not changed.
11159 (__bump_nl_timestamp): New function.
11160 (__free_in6ai): New function.
11161
636064eb
UD
111622011-10-30 Ulrich Drepper <drepper@gmail.com>
11163
11164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11165 close_not_cancel_no_status here.
11166 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11167
9beb2334
UD
111682011-10-29 Ulrich Drepper <drepper@gmail.com>
11169
6ef76f3b
UD
11170 [BZ #13276]
11171 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11172 return value.
11173
0ffc4f3e 11174 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11175 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11176 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11177
cb95113e
UD
111782011-07-03 Andreas Jaeger <aj@suse.de>
11179
11180 [BZ #10709]
11181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11182 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11183 * math/libm-test.inc (sin_test): Add test case.
11184
a1b560ff
UD
111852011-10-29 Ulrich Drepper <drepper@gmail.com>
11186
c9aaface
UD
11187 [BZ #13337]
11188 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11189 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11190
d272e7f1
UD
11191 * elf/chroot_canon.c (chroot_canon): Cleanups.
11192
1bc33071
UD
11193 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11194
1760874d
TJ
11195 [BZ #13335]
11196 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11197 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11198
51d91b18
UD
11199 * string/test-strchr.c: Make usable for strchrnul testing.
11200 * string/test-strchrnul.c: New file.
11201 * string/Makefile (strop-tests): Add strchrnul.
11202
a1b560ff 11203 * po/it.po: Update from translation team.
b611fb81 11204 * po/es.po: Likewise.
a1b560ff 11205
a5b81e1f
UD
112062011-10-28 Ulrich Drepper <drepper@gmail.com>
11207
fd52bc6d
UD
11208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11209 the three constants needed as parameters. Drop the others.
11210 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11211 __m128i_strloadu_tolower.
52e4b9eb
UD
11212 Create and initialize variable zero and use it in all the places
11213 where _mm_setzero_si128 was used.
fd52bc6d 11214
a5b81e1f
UD
11215 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11216 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11217 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11218 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11219 anymore.
11220 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11221 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11222 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11223 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11224 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11225 __mpranred, __mptan.
11226 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11227 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11228 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11229 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11230 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11231 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11233 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11234 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11235
b4343346
AS
112362011-10-28 Andreas Schwab <schwab@redhat.com>
11237
0c92d8a8
AS
11238 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11239 redefine if SHARED.
11240 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11241
b4343346
AS
11242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11243 wide char related routines to wcsmbs subdir.
11244
3871f58f
AS
112452011-10-27 Andreas Schwab <schwab@redhat.com>
11246
11247 [BZ #13344]
11248 * misc/sys/cdefs.h (__THROWNL): Define.
11249 * posix/unistd.h: Use __THREADNL instead of __THREAD
11250 for memory synchronization functions.
11251
94d44d9f
RM
112522011-10-26 Roland McGrath <roland@hack.frob.com>
11253
21b64b15 11254 [BZ #13349]
94d44d9f
RM
11255 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11256 doesn't exist.
11257 * manual/stdio.texi (Obstack Streams): Node removed.
11258
f6ce9294
AS
112592011-10-26 Andreas Schwab <schwab@redhat.com>
11260
80479147
AS
11261 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11262 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11263 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11264
f6ce9294
AS
11265 * math/math_private.h (math_force_eval): Allow non-addressable
11266 arguments.
11267 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11268
618280a1
UD
112692011-10-25 Ulrich Drepper <drepper@gmail.com>
11270
e0016b11
UD
11271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11272 file is not needed.
11273
11274 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11277 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11278 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11281 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11282 Add AVX variants.
11283 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11284 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11285 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11286 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11288 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11289 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11290 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11291 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11292 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11293 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11294 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11296 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11297 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11298 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11299 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11300 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11301 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11302
11303 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11304 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11305
618280a1
UD
11306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11307 place. Use VEX encoding when compiling for AVX.
11308
37822576
AS
113092011-10-25 Andreas Schwab <schwab@redhat.com>
11310
1f1e1947
AS
11311 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11312 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11313
37822576
AS
11314 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11315
31ea014d
UD
113162011-10-25 Ulrich Drepper <drepper@gmail.com>
11317
d7826aa1 11318 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11319 useless if() expression.
d7826aa1
UD
11320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11329 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11332 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11333 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11339
31ea014d
UD
11340 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11341
16437fec
AS
113422011-10-25 Andreas Schwab <schwab@redhat.com>
11343
11344 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11345 condition.
11346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11347
31d3cc00
UD
113482011-10-25 Ulrich Drepper <drepper@gmail.com>
11349
11350 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11351 .text section. Avoid duplicate constants.
11352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11362 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11364 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11369 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11376 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11377 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11378 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11379 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11380 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11381 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11382 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11383 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11385 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11386 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11387 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11388 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11389 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11390 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11392 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11393 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11397
58985aa9
UD
113982011-10-24 Ulrich Drepper <drepper@gmail.com>
11399
202c9deb
UD
11400 * sysdeps/x86_64/dla.h: Move to ...
11401 * sysdeps/x86_64/fpu/dla.h: ...here.
11402 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11403 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11404
af968f62
UD
11405 * config.make.in: Add have-mfma4 entry.
11406 * configure.in: Substitute libc_cv_cc_fma4.
11407 * math/Makefile (dbl-only-routines): Add sincostab.
11408 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11409 Use __sincostab not sincos.
11410 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11411 name is a macro.
11412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11416 using __copysign.
11417 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11418 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11419 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11420 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11421 and __inv.
11422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11423 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11424 __copysign.
11425 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11426 define aliases when function name is a macro.
11427 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11428 sysdeps/ieee754/dbl-64/sincos.tbl.
11429 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11430 fma4-enabled routines.
11431 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11432 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11433 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11434 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11436 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11441 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11442 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11443 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11451 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11461
58985aa9
UD
11462 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11463 rename.
11464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11472
a201fbcf
AS
114732011-10-24 Andreas Schwab <schwab@redhat.com>
11474
11475 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11476
fc2ee42a
LD
114772011-10-23 Ulrich Drepper <drepper@gmail.com>
11478
bb3129bd
UD
11479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11480
0275fff8
UD
11481 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11482 prediction.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11484
2fa2ae85
UD
11485 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11486 Remove unused variable magic_bits.
11487 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11488
fc2ee42a
LD
11489 * string/strnlen.c: Define and use STRNLEN macro.
11490 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11491 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11493 * wcsmbs/wcslen.c: Define and use WCSLEN.
11494 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11495 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11496 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11497 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11498 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11499 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11500 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11501
ce7dd29f
LD
115022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11503
11504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11505 strnlen-sse2-no-bsf.
11506 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11508 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11509 Add strnlen support.
11510 (USE_AS_STRNLEN): New macro.
11511 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11512 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11513 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11514 * sysdeps/x86_64/wcslen.S: New file.
11515
979c70a3
MZ
115162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11517
11518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11519 XMM-moves are used for copying on small sizes.
11520
2d09f82f
LD
115212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11522
11523 * wcsmbs/Makefile (strop-tests): Add wcschr.
11524 * wcsmbs/test-wcschr.c: New file.
11525 * string/test-strchr.c: Update.
11526 Add wcschr support.
11527 (WIDE): New macro.
11528
619fccca
LD
115292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11530
2d09f82f 11531 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11532 * wcsmbs/test-wcslen.c: New file.
11533 * string/test-strlen.c: Update.
11534 Add wcslen support.
11535 (WIDE): New macro.
11536
09f699ea
UD
115372011-10-23 Ulrich Drepper <drepper@gmail.com>
11538
11539 * po/it.po: Update from translation team.
11540
95584d3b
LD
115412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11542
11543 * sysdeps/x86_64/wcscmp.S: Update.
11544 Fix wrong comparison semantics.
11545 wcscmp shall use signed comparison not unsigned.
11546 Don't use substraction to avoid overflow bug.
11547 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11548 * wcsmbc/wcscmp.c: Likewise.
11549 * string/test-strcmp.c: Likewise.
11550 Add new tests to check cases with negative values.
11551
c8b3296b
UD
115522011-10-23 Ulrich Drepper <drepper@gmail.com>
11553
11554 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11555 * sysdeps/x86_64/dla.h: ...here. New file.
11556 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11565
246ad57a
AS
115662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11567
11568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11569 __ynl_finite aliases.
11570
a1a87169
UD
115712011-10-22 Ulrich Drepper <drepper@gmail.com>
11572
0d355eb7
UD
11573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11574
a1a87169
UD
11575 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11576 define DLA_FMA.
11577 [DLA_FMA] (EMULV): Use DLA_FMA.
11578 [DLA_FMA] (MUL12): Use EMULV.
11579 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11580 that are not needed.
11581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11588
ee2aafe0
AS
115892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11590
11591 * math/s_nan.c: Undef __nan.
11592 * math/s_nanf.c: Undef __nanf.
11593 * math/s_nanl.c: Undef __nanl.
11594 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11595 "math_private.h".
11596
bc62c2fb
UD
115972011-10-22 Ulrich Drepper <drepper@gmail.com>
11598
77425c63
UD
11599 * math/s_catan.c: Add branch predictions.
11600 * math/s_catanf.c: Likewise.
11601 * math/s_catanh.c: Likewise.
11602 * math/s_catanhf.c: Likewise.
11603 * math/s_catanhl.c: Likewise.
11604 * math/s_catanl.c: Likewise.
11605 * math/s_cexp.c: Likewise.
11606 * math/s_cexpf.c: Likewise.
11607 * math/s_cexpl.c: Likewise.
11608 * math/s_clog.c: Likewise.
11609 * math/s_clog10.c: Likewise.
11610 * math/s_clog10f.c: Likewise.
11611 * math/s_clog10l.c: Likewise.
11612 * math/s_clogf.c: Likewise.
11613 * math/s_clogl.c: Likewise.
11614 * math/s_csqrt.c: Likewise.
11615 * math/s_csqrtf.c: Likewise.
11616 * math/s_csqrtl.c: Likewise.
11617 * math/s_ctanf.c: Likewise.
11618 * math/s_ctanh.c: Likewise.
11619 * math/s_ctanhf.c: Likewise.
11620 * math/s_ctanhl.c: Likewise.
11621 * math/s_ctanl.c: Likewise.
11622
bc62c2fb
UD
11623 * math/math_private.h: Define __nan, __nanf, __nanl.
11624 * math/s_cacosh.c: Include <math_private.h>.
11625 * math/s_cacoshl.c: Likewise.
11626 * math/s_casinh.c: Likewise.
11627 * math/s_casinhf.c: Likewise.
11628 * math/s_casinhl.c: Likewise.
11629 * math/s_ccos.c: Rely entire on ccosh.
11630 * math/s_ccosf.c: Rely entire on ccoshf.
11631 * math/s_ccosl.c: Rely entirely on ccoshl.
11632 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11633 Remove tests for FE_INVALID.
11634 * math/s_ccoshf.c: Likewise.
11635 * math/s_ccoshl.c: Likewise.
11636 * math/s_csin.c: Likewise.
11637 * math/s_csinf.c: Likewise.
11638 * math/s_csinh.c Likewise.
11639 * math/s_csinhf.c: Likewise.
11640 * math/s_csinhl.c: Likewise.
11641 * math/s_csinl.c: Likewise.
11642 * math/s_ctan.c: Likewise.
11643 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11644 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11646
8ec250a4
UD
116472011-10-21 Ulrich Drepper <drepper@gmail.com>
11648
c196fed8
UD
11649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11650 compilation problems.
11651
8ec250a4
UD
11652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11653 __builtin_expect.
11654
8d4f46c6
UD
116552011-10-20 Ulrich Drepper <drepper@gmail.com>
11656
ed72b654
UD
11657 * sysdeps/i386/configure.in: Test for -mfma4 option.
11658 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11659 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11660 COMMON_CPUID_INDEX_80000001.
11661 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11662 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11663 use it if FMA3 is not supported.
11664 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11665
8d4f46c6
UD
11666 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11667 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11668
d45c60c2
AS
116692011-10-20 Andreas Schwab <schwab@redhat.com>
11670
11671 [BZ #12892]
11672 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11673 it would create a cycle with a link time dependency.
11674
d9a4d2ab
UD
116752011-10-19 Ulrich Drepper <drepper@gmail.com>
11676
855d1560
UD
11677 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11678 instruction.
11679 * string/Makefile (strop-tests): Add rawmemchr.
11680 * string/test-rawmemchr.c: New file.
11681
d9a4d2ab
UD
11682 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11683 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11684 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11685 when compiling str{,n}casecmp and when AVX is available. Hook up
11686 new optimized code in initializers.
11687
8f3b1ffe
AS
116882011-10-19 Andreas Schwab <schwab@redhat.com>
11689
11690 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11691 __feraiseexcept instead of feraiseexcept.
11692
d38f1dba
UD
116932011-10-18 Ulrich Drepper <drepper@gmail.com>
11694
d9a8d0ab
UD
11695 * math/math_private.h: Define defaults for libc_fetestexcept and
11696 libc_feupdateenv.
11697 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11698 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11699 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11700 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11702 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11703 libc_fetestexcept and libc_feupdateenv.
11704
4855e3dd
UD
11705 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11706 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11707 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11708 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11709 libc_feholdexcept_setround.
11710
581d30e3
UD
11711 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11712 Add s_nearbyint-c and s_nearbyintf-c.
11713 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11714 nearbyintf inlines.
11715 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11716 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11717 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11718 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11719
d38f1dba
UD
11720 * math/math_private.h: Define defaults for libc_fegetround,
11721 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11722 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11723 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11725 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11726 standard functions.
11727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11728 Remove comments and hacks for old compiler versions.
11729 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11730 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11731 libc_feholdexceptl.
11732
caa6c9d8
AS
117332011-10-18 Andreas Schwab <schwab@redhat.com>
11734
11735 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11736 (__feraiseexcept_renamed): Add __NTH.
11737 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11738 namespace violations.
11739
97c066e6
UD
117402011-10-17 Ulrich Drepper <drepper@gmail.com>
11741
99ce7b04
UD
11742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11743
1004d182
UD
11744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11745
228a984d
UD
11746 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11747 recently added interfaces.
11748 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11749
c8553a6a
UD
11750 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11751 about macro parameter expansion.
11752
ed22dcf6
UD
11753 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11754 __NO_MATH_INLINES is defined. Cleanups.
11755
11756 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11757 and __floorf is target has SSE4.1.
11758 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11759 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11760 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11761 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11762
b171c137
UD
11763 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11764 name.
11765 (floorf): Likewise.
11766
97c066e6
UD
11767 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11768
629f62ef
AS
117692011-10-17 Andreas Schwab <schwab@redhat.com>
11770
49a43d80
AS
11771 * misc/sys/cdefs.h: Fix last change.
11772
629f62ef
AS
11773 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11774 database lookup.
11775
e453f6cd
UD
117762011-10-16 Ulrich Drepper <drepper@gmail.com>
11777
aa78043a
UD
11778 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11779
ad0f5cad
UD
11780 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11786 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11787 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11788 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11789 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11790 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11791 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11792 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11793 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11794 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11795 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11796 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11797 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11798 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11799 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11800 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11801 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11802
11803 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11804 ceil, ceilf, floor, floorf.
11805
11806 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11807 Perform IRELATIVE relocations last.
11808
e453f6cd
UD
11809 * elf/do-rel.h: Add another parameter nrelative, replacing the
11810 local variable with the same name. Change name of the function
11811 to end in Rel or Rela (uppercase).
11812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11813 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11814 elf_dynamic_do_##reloc function.
11815
fd5bdc09
UD
118162011-10-15 Ulrich Drepper <drepper@gmail.com>
11817
79b195b5
UD
11818 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11819 is sufficient, at least on modern CPUs.
11820
d4a28569
UD
11821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11822
b61099b5
UD
11823 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11825
bcf01e6d
UD
11826 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11827 __expl_finite.
11828 * math/bits/math-finite.h: Add entries for exp.
11829 * math/e_expl.c: Add __*_finite alias.
11830 * sysdeps/i386/fpu/e_exp.S: Likewise.
11831 * sysdeps/i386/fpu/e_expf.S: Likewise.
11832 * sysdeps/i386/fpu/e_expl.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11834 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11838 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11839 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11840
ba1a0d59
UD
11841 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11842 is sufficient, at least on modern CPUs.
11843
fd5bdc09
UD
11844 * ctype/ctype-info.c (__ctype_init): Define.
11845 * include/ctype.h (__ctype_init): Declare.
11846 (__ctype_b_loc): The variable is always initialized.
11847 (__ctype_toupper_loc): Likewise.
11848 (__ctype_tolower_loc): Likewise.
11849 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11850 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11851
7872cfb0
AS
118522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11853
b468825a
AS
11854 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11855
7872cfb0
AS
11856 * configure.in: Also look in $cxxmachine/include for C++ system
11857 headers.
11858
be13f7bf
LD
118592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11860
11861 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11862 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11863 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11864 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11866 (USE_AS_WMEMCMP): New macro.
11867 Fixing indents.
11868 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11869 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11870 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11871 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11873 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11874 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11875 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11876 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11877 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11878 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11879 (USE_AS_WMEMCMP): New macro.
11880 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11881 * sysdeps/string/test-memcmp.c: Update.
11882 Fix simple_wmemcmp.
11883 Add new tests.
11884 * wcsmbs/wmemcmp.c: Update.
11885 (WMEMCMP): New macro.
11886 Fix overflow bug.
11887
556a2007
AJ
118882011-10-12 Andreas Jaeger <aj@suse.de>
11889
11890 [BZ #13268]
11891 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11892
538faaa7
UD
118932011-10-15 Ulrich Drepper <drepper@gmail.com>
11894
ab6737ff
UD
11895 * libio/iofwide.c (do_length): Avoid warning.
11896
538faaa7
UD
11897 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11898
396a21b1
UD
118992011-10-14 Ulrich Drepper <drepper@gmail.com>
11900
cdf2901f
UD
11901 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11902
38ad40ce
UD
11903 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11904 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11905 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11906 * sysdeps/i386/i686/fpu/e_log.S: New file.
11907 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11908 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11909
396a21b1
UD
11910 * ctype/ctype.h: Add support for inlined isXXX functions when
11911 compiling C++ code.
11912
6b1f68c9
AS
119132011-10-14 Andreas Schwab <schwab@redhat.com>
11914
349290c0
AS
11915 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11916
6b1f68c9
AS
11917 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11918
f2282d42
RM
119192011-10-13 Roland McGrath <roland@hack.frob.com>
11920
11921 [BZ #13291]
11922 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11923
5298ffa8
AS
119242011-10-13 Andreas Schwab <schwab@redhat.com>
11925
714fad23
AS
11926 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11927 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11928 feraiseexcept.
11929
81dcc7fb
AS
11930 * sysdeps/x86_64/memrchr.S: Check for zero size.
11931
5298ffa8
AS
11932 * string/stratcliff.c: Add memrchr tests.
11933
951fbcec
LD
119342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11935
11936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11937 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11938 rawmemchr-sse2 rawmemchr-sse2-bsf.
11939 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11940 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11941 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11942 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11943 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11944 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11945 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11946 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11947 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11948 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11949 * string/memrchr.c (MEMRCHR): New macro.
11950
0ac5ae23
UD
119512011-10-12 Ulrich Drepper <drepper@gmail.com>
11952
11953 Add integration with gcc's -ffinite-math-only and optimize wrapper
11954 functions in libm.
11955 * Versions.def: Define GLIBC_2.15 version for libm.
11956 * math/Makefile (headers): Add bits/math-finite.h.
11957 * math/bits/math-finite.h: New file.
11958 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11959 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11960 * math/e_acoshl.c: Add __*_finite alias.
11961 * math/e_acosl.c: Likewise.
11962 * math/e_asinl.c: Likewise.
11963 * math/e_atan2l.c: Likewise.
11964 * math/e_atanhl.c: Likewise.
11965 * math/e_coshl.c: Likewise.
11966 * math/e_exp10.c: Likewise.
11967 * math/e_exp10f.c: Likewise.
11968 * math/e_exp10l.c: Likewise.
11969 * math/e_exp2l.c: Likewise.
11970 * math/e_fmodl.c: Likewise.
11971 * math/e_gammal_r.c: Likewise.
11972 * math/e_hypotl.c: Likewise.
11973 * math/e_j0l.c: Likewise.
11974 * math/e_j1l.c: Likewise.
11975 * math/e_jnl.c: Likewise.
11976 * math/e_lgammal_r.c: Likewise.
11977 * math/e_log10l.c: Likewise.
11978 * math/e_log2l.c: Likewise.
11979 * math/e_logl.c: Likewise.
11980 * math/e_powl.c: Likewise.
11981 * math/e_sinhl.c: Likewise.
11982 * math/e_sqrtl.c: Likewise.
11983 * math/e_scalb.c: Completely rewritten and optimized.
11984 * math/e_scalbf.c: Likewise.
11985 * math/e_scalbl.c: Likewise.
11986 * math/w_acos.c: Likewise.
11987 * math/w_acosf.c: Likewise.
11988 * math/w_acosl.c: Likewise.
11989 * math/w_acosh.c: Likewise.
11990 * math/w_acoshf.c: Likewise.
11991 * math/w_acoshl.c: Likewise.
11992 * math/w_asin.c: Likewise.
11993 * math/w_asinf.c: Likewise.
11994 * math/w_asinl.c: Likewise.
11995 * math/w_atan2.c: Likewise.
11996 * math/w_atan2f.c: Likewise.
11997 * math/w_atan2l.c: Likewise.
11998 * math/w_atanh.c: Likewise.
11999 * math/w_atanhf.c: Likewise.
12000 * math/w_atanhl.c: Likewise.
12001 * math/w_exp10.c: Likewise.
12002 * math/w_exp10f.c: Likewise.
12003 * math/w_exp10l.c: Likewise.
12004 * math/w_fmod.c: Likewise.
12005 * math/w_fmodf.c: Likewise.
12006 * math/w_fmodl.c: Likewise.
12007 * math/w_j0.c: Likewise.
12008 * math/w_j0f.c: Likewise.
12009 * math/w_j0l.c: Likewise.
12010 * math/w_j1.c: Likewise.
12011 * math/w_j1f.c: Likewise.
12012 * math/w_j1l.c: Likewise.
12013 * math/w_jn.c: Likewise.
12014 * math/w_jnf.c: Likewise.
12015 * math/w_log.c: Likewise.
12016 * math/w_logf.c: Likewise.
12017 * math/w_logl.c: Likewise.
12018 * math/w_log10.c: Likewise.
12019 * math/w_log10f.c: Likewise.
12020 * math/w_log10l.c: Likewise.
12021 * math/w_log2.c: Likewise.
12022 * math/w_log2f.c: Likewise.
12023 * math/w_log2l.c: Likewise.
12024 * math/w_pow.c: Likewise.
12025 * math/w_powf.c: Likewise.
12026 * math/w_powl.c: Likewise.
12027 * math/w_remainder.c: Likewise.
12028 * math/w_remainderf.c: Likewise.
12029 * math/w_remainderl.c: Likewise.
12030 * math/w_scalb.c: Likewise.
12031 * math/w_scalbf.c: Likewise.
12032 * math/w_scalbl.c: Likewise.
12033 * math/w_sqrt.c: Likewise.
12034 * math/w_sqrtf.c: Likewise.
12035 * math/w_sqrtl.c: Likewise.
12036 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12037 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12038 used.
12039 * math/math_private.h: Declare __kernel_standard_f.
12040 * math/w_cosh.c: Remove cruft and optimize a bit.
12041 * math/w_coshf.c: Likewise.
12042 * math/w_coshl.c: Likewise.
12043 * math/w_exp2.c: Likewise.
12044 * math/w_exp2f.c: Likewise.
12045 * math/w_exp2l.c: Likewise.
12046 * math/w_hypot.c: Likewise.
12047 * math/w_hypotf.c: Likewise.
12048 * math/w_hypotl.c: Likewise.
12049 * math/w_lgamma.c: Likewise.
12050 * math/w_lgamma_r.c: Likewise.
12051 * math/w_lgammaf.c: Likewise.
12052 * math/w_lgammaf_r.c: Likewise.
12053 * math/w_lgammal.c: Likewise.
12054 * math/w_lgammal_r.c: Likewise.
12055 * math/w_sinh.c: Likewise.
12056 * math/w_sinhf.c: Likewise.
12057 * math/w_sinhl.c: Likewise.
12058 * math/w_tgamma.c: Likewise.
12059 * math/w_tgammaf.c: Likewise.
12060 * math/w_tgammal.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12063 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12064 Minor optimizations. Pretty printing. Remove cruft.
12065 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12066 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12067 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12068 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12069 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12070 * sysdeps/i386/fpu/e_asin.S: Likewise.
12071 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12072 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12073 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12074 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12075 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12076 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12078 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12079 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12080 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12081 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12082 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12083 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12084 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12085 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12086 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12087 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12088 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12089 * sysdeps/i386/fpu/e_log.S: Likewise.
12090 * sysdeps/i386/fpu/e_log10.S: Likewise.
12091 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12092 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12093 * sysdeps/i386/fpu/e_log2.S: Likewise.
12094 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12095 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12096 * sysdeps/i386/fpu/e_logf.S: Likewise.
12097 * sysdeps/i386/fpu/e_logl.S: Likewise.
12098 * sysdeps/i386/fpu/e_pow.S: Likewise.
12099 * sysdeps/i386/fpu/e_powf.S: Likewise.
12100 * sysdeps/i386/fpu/e_powl.S: Likewise.
12101 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12102 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12103 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12104 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12105 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12106 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12107 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12108 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12109 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12131 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12135 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12136 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12137 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12139 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12141 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12142 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12144 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12145 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12146 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12147 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12148 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12149 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12150 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12203 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12204 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12205 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12206 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12207 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12208 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12209 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12210 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12211 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12212 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12213 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12215 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12216 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12217 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12218 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12219 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12220 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12221 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12222 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12223 (__isnanf): Likewise.
12224 (__isinf_ns): Likewise.
12225 (__isinf_nsf): Likewise.
12226 (__finite): Likewise.
12227 (__finitef): Likewise.
12228 (__ieee754_sqrt): Define as macro.
12229 (__ieee754_sqrtf): Define as macro.
12230 (__ieee754_sqrtl): Define as macro.
12231 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12232 inlined copy.
12233 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12234 __FINITE_MATH_ONLY__ consistent.
12235 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12236
12cc2fcd
AS
122372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12238
a843a204
AS
12239 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12240 of rawmemchr.
12241
12cc2fcd
AS
12242 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12243
c853acd5
UD
122442011-10-09 Ulrich Drepper <drepper@gmail.com>
12245
12246 * po/ja.po: Update from translation team.
12247
c658d255
RM
122482011-10-08 Roland McGrath <roland@hack.frob.com>
12249
110946e4
RM
12250 * locale/programs/locarchive.c (prepare_address_space): New function.
12251 (create_archive, enlarge_archive, open_archive): Use it.
12252
50604220
RM
12253 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12254 inside [SHARED], where it is used.
12255
c658d255
RM
12256 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12257
12258 * nss/getent.c (netgroup_keys): Remove unused variable.
12259 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12260
6a621eb7
UD
122612011-10-08 Ulrich Drepper <drepper@gmail.com>
12262
7edb55ce
UD
12263 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12264 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12266 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12267 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12268 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12269 * math/Makefile (libm-calls): Add s_isinf_ns.
12270 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12271 * math/multc3.c: Likewise.
12272 * math/s_casin.c: Likewise.
12273 * math/s_casinf.c: Likewise.
12274 * math/s_casinl.c: Likewise.
12275 * math/s_ccos.c: Likewise.
12276 * math/s_ccosf.c: Likewise.
12277 * math/s_ccosl.c: Likewise.
12278 * math/s_ctan.c: Likewise.
12279 * math/s_ctanf.c: Likewise.
12280 * math/s_ctanh.c: Likewise.
12281 * math/s_ctanhf.c: Likewise.
12282 * math/s_ctanhl.c: Likewise.
12283 * math/s_ctanl.c: Likewise.
12284 * math/w_fmod.c: Likewise.
12285 * math/w_fmodf.c: Likewise.
12286 * math/w_fmodl.c: Likewise.
12287 * math/w_remainder.c: Likewise.
12288 * math/w_remainderf.c: Likewise.
12289 * math/w_remainderl.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12291 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12294 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12295 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12296 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12297 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12298
187da0ae
UD
12299 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12300 of the number.
12301 * stdio-common/printf_fphex.c: Likewise.
12302 * stdio-common/printf_size.c: Likewise.
12303
9277c064
UD
12304 * math/e_exp10.c: Include math_private.h using <...> not "...".
12305 * math/e_exp10f.c: Likewise.
12306 * math/e_exp10l.c: Likewise.
12307 * math/e_exp2l.c: Likewise.
12308 * math/e_j0l.c: Likewise.
12309 * math/e_j1l.c: Likewise.
12310 * math/e_jnl.c: Likewise.
12311 * math/e_lgammal_r.c: Likewise.
12312 * math/e_rem_pio2l.c: Likewise.
12313 * math/e_scalb.c: Likewise.
12314 * math/e_scalbf.c: Likewise.
12315 * math/e_scalbl.c: Likewise.
12316 * math/k_cosl.c: Likewise.
12317 * math/k_sinl.c: Likewise.
12318 * math/k_tanl.c: Likewise.
12319 * math/s_cacoshf.c: Likewise.
12320 * math/s_catan.c: Likewise.
12321 * math/s_catanf.c: Likewise.
12322 * math/s_catanh.c: Likewise.
12323 * math/s_catanhf.c: Likewise.
12324 * math/s_catanhl.c: Likewise.
12325 * math/s_catanl.c: Likewise.
12326 * math/s_ccosh.c: Likewise.
12327 * math/s_ccoshf.c: Likewise.
12328 * math/s_ccoshl.c: Likewise.
12329 * math/s_cexp.c: Likewise.
12330 * math/s_cexpf.c: Likewise.
12331 * math/s_cexpl.c: Likewise.
12332 * math/s_clog.c: Likewise.
12333 * math/s_clog10.c: Likewise.
12334 * math/s_clog10f.c: Likewise.
12335 * math/s_clog10l.c: Likewise.
12336 * math/s_clogf.c: Likewise.
12337 * math/s_clogl.c: Likewise.
12338 * math/s_csin.c: Likewise.
12339 * math/s_csinf.c: Likewise.
12340 * math/s_csinh.c: Likewise.
12341 * math/s_csinhf.c: Likewise.
12342 * math/s_csinhl.c: Likewise.
12343 * math/s_csinl.c: Likewise.
12344 * math/s_csqrt.c: Likewise.
12345 * math/s_csqrtf.c: Likewise.
12346 * math/s_csqrtl.c: Likewise.
12347 * math/s_ctan.c: Likewise.
12348 * math/s_ctanf.c: Likewise.
12349 * math/s_ctanh.c: Likewise.
12350 * math/s_ctanhf.c: Likewise.
12351 * math/s_ctanhl.c: Likewise.
12352 * math/s_ctanl.c: Likewise.
12353 * math/s_ldexp.c: Likewise.
12354 * math/s_ldexpf.c: Likewise.
12355 * math/s_ldexpl.c: Likewise.
12356 * math/s_significand.c: Likewise.
12357 * math/s_significandf.c: Likewise.
12358 * math/s_significandl.c: Likewise.
12359 * math/w_acos.c: Likewise.
12360 * math/w_acosf.c: Likewise.
12361 * math/w_acosh.c: Likewise.
12362 * math/w_acoshf.c: Likewise.
12363 * math/w_acoshl.c: Likewise.
12364 * math/w_acosl.c: Likewise.
12365 * math/w_asin.c: Likewise.
12366 * math/w_asinf.c: Likewise.
12367 * math/w_asinl.c: Likewise.
12368 * math/w_atan2.c: Likewise.
12369 * math/w_atan2f.c: Likewise.
12370 * math/w_atan2l.c: Likewise.
12371 * math/w_atanh.c: Likewise.
12372 * math/w_atanhf.c: Likewise.
12373 * math/w_atanhl.c: Likewise.
12374 * math/w_cosh.c: Likewise.
12375 * math/w_coshf.c: Likewise.
12376 * math/w_coshl.c: Likewise.
12377 * math/w_dremf.c: Likewise.
12378 * math/w_exp10.c: Likewise.
12379 * math/w_exp10f.c: Likewise.
12380 * math/w_exp10l.c: Likewise.
12381 * math/w_exp2.c: Likewise.
12382 * math/w_exp2f.c: Likewise.
12383 * math/w_fmod.c: Likewise.
12384 * math/w_fmodf.c: Likewise.
12385 * math/w_fmodl.c: Likewise.
12386 * math/w_hypot.c: Likewise.
12387 * math/w_hypotf.c: Likewise.
12388 * math/w_hypotl.c: Likewise.
12389 * math/w_j0.c: Likewise.
12390 * math/w_j0f.c: Likewise.
12391 * math/w_j0l.c: Likewise.
12392 * math/w_j1.c: Likewise.
12393 * math/w_j1f.c: Likewise.
12394 * math/w_j1l.c: Likewise.
12395 * math/w_jn.c: Likewise.
12396 * math/w_jnf.c: Likewise.
12397 * math/w_jnl.c: Likewise.
12398 * math/w_lgamma.c: Likewise.
12399 * math/w_lgamma_r.c: Likewise.
12400 * math/w_lgammaf.c: Likewise.
12401 * math/w_lgammaf_r.c: Likewise.
12402 * math/w_lgammal.c: Likewise.
12403 * math/w_lgammal_r.c: Likewise.
12404 * math/w_log.c: Likewise.
12405 * math/w_log10.c: Likewise.
12406 * math/w_log10f.c: Likewise.
12407 * math/w_log10l.c: Likewise.
12408 * math/w_log2.c: Likewise.
12409 * math/w_log2f.c: Likewise.
12410 * math/w_log2l.c: Likewise.
12411 * math/w_logf.c: Likewise.
12412 * math/w_logl.c: Likewise.
12413 * math/w_pow.c: Likewise.
12414 * math/w_powf.c: Likewise.
12415 * math/w_powl.c: Likewise.
12416 * math/w_remainder.c: Likewise.
12417 * math/w_remainderf.c: Likewise.
12418 * math/w_remainderl.c: Likewise.
12419 * math/w_scalb.c: Likewise.
12420 * math/w_scalbf.c: Likewise.
12421 * math/w_scalbl.c: Likewise.
12422 * math/w_sinh.c: Likewise.
12423 * math/w_sinhf.c: Likewise.
12424 * math/w_sinhl.c: Likewise.
12425 * math/w_sqrt.c: Likewise.
12426 * math/w_sqrtf.c: Likewise.
12427 * math/w_sqrtl.c: Likewise.
12428 * math/w_tgamma.c: Likewise.
12429 * math/w_tgammaf.c: Likewise.
12430 * math/w_tgammal.c: Likewise.
12431
6a621eb7
UD
12432 * po/ja.po: Update from translation team.
12433
bf582445
AJ
124342011-09-29 Andreas Jaeger <aj@suse.de>
12435
f9efbf3a
AJ
12436 [BZ #13179]
12437 * sunrpc/netname.c (netname2host): Fix logic.
12438
bf582445
AJ
12439 [BZ #6779]
12440 [BZ #6783]
12441 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12442 correctly.
12443 * math/w_remainder.c (__remainder): Likewise.
12444 * math/w_remainderf.c (__remainderf): Likewise.
12445 * math/libm-test.inc (remainder_test): Add test cases.
12446
48693bea
AK
124472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12448
12449 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12450 sdiv_qrnnd.
12451
42622229
LD
124522011-10-07 Ulrich Drepper <drepper@gmail.com>
12453
12454 * string/test-memcmp.c: Avoid unncessary #defines.
12455 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12456
093ecf92
LD
124572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12458
12459 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12460 Use new sse2 version for core i3 - i7 as it's faster
12461 than sse42 version.
12462 (bit_Prefer_PMINUB_for_stringop): New.
12463 * sysdeps/x86_64/rawmemchr.S: Update.
12464 Replace with faster SSE2 version.
12465 * sysdeps/x86_64/memrchr.S: New file.
12466 * sysdeps/x86_64/memchr.S: Update.
12467 Replace with faster SSE2 version.
12468
fde56e5c
MP
124692011-09-12 Marek Polacek <mpolacek@redhat.com>
12470
12471 * elf/dl-load.c (lose): Add cast to avoid warning.
12472
21fd49a9
UD
124732011-10-07 Ulrich Drepper <drepper@gmail.com>
12474
5a06e643
UD
12475 * po/ca.po: Update from translation team.
12476
684ae515
UD
12477 * inet/getnetgrent_r.c: Hook up nscd.
12478 * nscd/Makefile (routines): Add nscd_netgroup.
12479 (nscd-modules): Add netgroupcache.
12480 (CFLAGS-netgroupcache.c): Define.
12481 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12482 (cache_search): Add const to second parameter.
12483 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12484 INNETGR.
12485 (dbs): Add netgrdb entry.
12486 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12487 (verify_persistent_db): Handle netgrdb.
12488 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12489 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12490 GETFDNETGR.
12491 (netgroup_response_header): Define.
12492 (innetgroup_response_header): Define.
12493 (datahead): Add netgroup_response_header and innetgroup_response_header
12494 elements.
12495 * nscd/nscd.conf: Add entries for netgroup cache.
12496 * nscd/nscd.h (dbtype): Add netgrdb.
12497 (_PATH_NSCD_NETGROUP_DB): Define.
12498 (netgroup_iov_disabled): Declare.
12499 (xmalloc, xcalloc, xrealloc): Move declarations here.
12500 (cache_search): Adjust prototype.
12501 Add netgroup-related prototypes.
12502 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12503 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12504 (__nscd_innetgr): Declare.
12505 * nscd/selinux.c (perms): Use access_vector_t as element type and
12506 add netgroup-related initializers.
12507 * nscd/netgroupcache.c: New file.
12508 * nscd/nscd_netgroup.c: New file.
12509 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12510 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12511 For four parameters use innetgr.
12512 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12513 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12514 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12515 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12516
21fd49a9
UD
12517 * nscd/connections.c (register_traced_file): Don't register file
12518 for disabled databases.
12519
054c0457
UD
125202011-10-06 Ulrich Drepper <drepper@gmail.com>
12521
32b63198
UD
12522 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12523
054c0457
UD
12524 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12525 from tree and freeing node.
12526
64031225
JO
125272011-09-25 Jiri Olsa <jolsa@redhat.com>
12528
12529 * nss/nsswitch.c (__nss_database_lookup): Handle
12530 nss_parse_service_list out of memory case.
12531
0490345c
JO
125322011-09-15 Jiri Olsa <jolsa@redhat.com>
12533
12534 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12535 out of memory case.
12536
3a62d00d
AS
125372011-10-04 Andreas Schwab <schwab@redhat.com>
12538
12539 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12540 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12541 pass it down.
12542 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12543 elf_machine_rela, elf_machine_lazy_rel.
12544 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12545 (ELF_DYNAMIC_DO_REL): Likewise.
12546 (ELF_DYNAMIC_DO_RELA): Likewise.
12547 (ELF_DYNAMIC_RELOCATE): Likewise.
12548 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12549 to ELF_DYNAMIC_DO_REL.
12550 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12551 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12552 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12553 elf_machine_rela.
12554 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12555 skip_ifunc, don't call ifunc function if non-zero.
12556 (elf_machine_rela): Likewise.
12557 (elf_machine_lazy_rel): Likewise.
12558 (elf_machine_lazy_rela): Likewise.
12559 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12560 (elf_machine_lazy_rel): Likewise.
12561 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12562 Likewise.
12563 (elf_machine_lazy_rel): Likewise.
12564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12565 Likewise.
12566 (elf_machine_lazy_rel): Likewise.
12567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12568 (elf_machine_lazy_rel): Likewise.
12569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12570 (elf_machine_lazy_rel): Likewise.
12571 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12572 (elf_machine_lazy_rel): Likewise.
12573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12574 (elf_machine_lazy_rel): Likewise.
12575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12576 (elf_machine_lazy_rel): Likewise.
12577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12578 (elf_machine_lazy_rel): Likewise.
12579
68577918
UD
125802011-09-28 Ulrich Drepper <drepper@gmail.com>
12581
12582 * nss/nss_files/files-init.c (_nss_files_init): Use static
12583 initialization for all the *_traced_file variables.
12584
68822d74
AS
125852011-09-28 Andreas Schwab <schwab@redhat.com>
12586
12587 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12588
2056100b
RM
125892011-09-27 Roland McGrath <roland@hack.frob.com>
12590
12591 [BZ #13226]
12592 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12593
32c76b63
AS
125942011-09-27 Andreas Schwab <schwab@redhat.com>
12595
12596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12597 Reread the line before reparsing it.
12598
bf972c9d
AS
125992011-09-26 Andreas Schwab <schwab@redhat.com>
12600
12601 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12602
e057a1b5
JM
126032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12604 Maxim Kuvyrkov <maxim@codesourcery.com>
12605 Joseph Myers <joseph@codesourcery.com>
12606
12607 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12608 if needed for __stack_chk_guard.
12609
bc7e1c36
RM
126102011-09-19 Roland McGrath <roland@hack.frob.com>
12611
ecb1482f
RM
12612 * sysdeps/posix/spawni.c (script_execute): Always define it.
12613 It will be optimized away if unused.
12614 (maybe_script_execute): New function.
12615 (__spawni): Call it.
12616
bc7e1c36
RM
12617 * Makerules: Don't include tls.make.
12618 (config-tls): Always set to thread.
12619 * tls.make.c: File removed.
12620
1c3b002b
MF
126212011-09-19 Mike Frysinger <vapier@gentoo.org>
12622
12623 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12624 * config.make.in (CPPFLAGS-config): New substituted variable.
12625
2840865d
UD
126262011-09-15 Ulrich Drepper <drepper@gmail.com>
12627
88738eb6
UD
12628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12629
cbf645a6 12630 [BZ #13192]
2840865d
UD
12631 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12632 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12633
b402e91a
RM
126342011-09-15 Roland McGrath <roland@hack.frob.com>
12635
12636 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12637 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12638 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12639 (CALL_FAIL): Likewise.
12640 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12641 (CALL_FAIL): Macro removed.
12642 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12643
4c1a1f71
UD
126442011-09-15 Ulrich Drepper <drepper@gmail.com>
12645
12646 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12647 for __FINITE_MATH_ONLY__ == 1.
12648
edc121be
AS
126492011-09-15 Andreas Schwab <schwab@redhat.com>
12650
12651 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12652 __ieee754_sqrt instead of sqrt.
12653 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12654 __ieee754_sqrtf instead of sqrtf.
12655 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12656 __floorf instead of floorf.
12657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12658 __floorf, __truncf instead of floorf, truncf.
12659
cd205654
UD
126602011-09-14 Ulrich Drepper <drepper@gmail.com>
12661
ee4d0315
UD
12662 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12663
cd205654
UD
12664 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12665 __extern_always_inline.
12666 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12667 32-bit.
12668
48b67d71
AS
126692011-09-14 Andreas Schwab <schwab@redhat.com>
12670
12671 * elf/rtld.c (dl_main): Also relocate in dependency order when
12672 doing symbol dependency testing.
12673
1ae12c75
AS
126742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12677 Always define `refsym'.
12678
995a80df
AS
126792011-09-13 Andreas Schwab <schwab@redhat.com>
12680
e529793b
AS
12681 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12682 (__FD_ELT): Renamed from __FDELT.
12683 * misc/bits/select2.h (__FD_ELT): Likewise.
12684 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12685 __FD_MASK instead of __FDELT, __FDMASK.
12686 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12687 Likewise.
12688 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12689 Likewise.
12690
52d4fef8
AS
12691 * elf/Makefile (gen-ldd): Fix pattern.
12692
995a80df
AS
12693 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12694 (init_tls): Likewise.
12695
8682f8b0
UD
126962011-09-12 Ulrich Drepper <drepper@gmail.com>
12697
12698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12699
de82006d
AS
127002011-09-12 Andreas Schwab <schwab@redhat.com>
12701
a7c8e6a1
AS
12702 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12703 `struct cmsghdr *' instead of `void *'.
12704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12705 Likewise.
12706
0f31fe77
AS
127072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12708
12709 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12710 if non-absolute.
12711 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12712 ldd_rewrite_script.
0f31fe77 12713
32b4c839
UD
127142011-09-11 Ulrich Drepper <drepper@gmail.com>
12715
83cd1420
UD
12716 * configure.in: Remove --with-tls option.
12717 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12718 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12719 out in case it is missing.
12720 * sysdeps/ia64/elf/configure.in: Likewise.
12721 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12722 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12723 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12724 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12725 * sysdeps/sh/elf/configure.in: Likewise.
12726 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12727 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12728 * sysdeps/x86_64/elf/configure.in: Likewise.
12729 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12730 * sysdeps/mach/hurd/tls.h: Likewise.
12731
633f745d
UD
12732 [BZ #13067]
12733 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12734
f318beb8
UD
12735 [BZ #13090]
12736 * configure.in: Fix use of AC_INIT.
12737
32b4c839
UD
12738 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12739
3ce1f295
UD
127402011-09-10 Ulrich Drepper <drepper@gmail.com>
12741
bb016596
UD
12742 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12743 __set_errno.
8e58439c
UD
12744 * malloc/hooks.c: Likewise.
12745
aebae053 12746 [BZ #11929]
02d46fc4
UD
12747 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12748 variables statically.
12749 (narenas): Initialize.
12750 (list_lock): Initialize.
bb016596
UD
12751 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12752 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12753 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12754 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12755 Add initializers to main_arena and mp_.
12756 (malloc_state): Remove pagesize member. Change all users to use
12757 GLRO(dl_pagesize).
12758
12759 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12760 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12761 is always initialized.
12762
22a89187
UD
12763 * malloc/malloc.c: Removed unused configurations and dead code.
12764 * malloc/arena.c: Likewise.
12765 * malloc/hooks.c: Likewise.
02d46fc4 12766 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12767
d063d164
UD
12768 * include/tls.h: Removed. USE___THREAD must always be defined.
12769 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12770 * elf/dl-libc.c: Likewise.
12771 * elf/dl-tsd.c: Likewise.
12772 * include/errno.h: Likewise.
12773 * include/netdb.h: Likewise.
12774 * include/resolv.h: Likewise.
12775 * inet/herrno-loc.c: Likewise.
12776 * inet/herrno.c: Likewise.
12777 * malloc/arena.c: Likewise.
12778 * malloc/hooks.c: Likewise.
12779 * malloc/malloc.c: Likewise.
12780 * resolv/res-state.c: Likewise.
12781 * resolv/res_libc.c: Likewise.
12782 * sysdeps/i386/dl-machine.h: Likewise.
12783 * sysdeps/ia64/dl-machine.h: Likewise.
12784 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12785 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12786 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12787 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12788 * sysdeps/sh/dl-machine.h: Likewise.
12789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12790 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12791 * sysdeps/unix/i386/sysdep.S: Likewise.
12792 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12793 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12798 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12802 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12803 * sysdeps/x86_64/dl-machine.h: Likewise.
12804 * tls.make.c: Likewise.
12805
3ce1f295
UD
12806 * configure.in: Remove --with-__thread option. Make tests for
12807 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12808 tls_model attribute fail if no support is available. Remove
12809 USE_IN_LIBIO.
12810 * Makeconfig: Adjust for dropped configure option. All features are
12811 now mandatory.
12812 * Makerules: Likewise.
12813 * Versions.def: Likewise.
12814 * argp/argp-fmtstream.c: Likewise.
12815 * argp/argp-fmtstream.h: Likewise.
12816 * argp/argp-help.c: Likewise.
12817 * assert/assert.c: Likewise.
12818 * config.h.in: Likewise.
12819 * config.make.in: Likewise.
12820 * configure: Likewise.
12821 * configure.in: Likewise.
12822 * csu/Versions: Likewise.
12823 * csu/init.c: Likewise.
12824 * elf/tst-audit2.c: Likewise.
12825 * elf/tst-tls10.c: Likewise.
12826 * elf/tst-tls10.h: Likewise.
12827 * elf/tst-tls11.c: Likewise.
12828 * elf/tst-tls12.c: Likewise.
12829 * elf/tst-tls14.c: Likewise.
12830 * elf/tst-tlsmod11.c: Likewise.
12831 * elf/tst-tlsmod12.c: Likewise.
12832 * elf/tst-tlsmod13.c: Likewise.
12833 * elf/tst-tlsmod13a.c: Likewise.
12834 * elf/tst-tlsmod14a.c: Likewise.
12835 * elf/tst-tlsmod15b.c: Likewise.
12836 * elf/tst-tlsmod16a.c: Likewise.
12837 * elf/tst-tlsmod16b.c: Likewise.
12838 * elf/tst-tlsmod7.c: Likewise.
12839 * elf/tst-tlsmod8.c: Likewise.
12840 * elf/tst-tlsmod9.c: Likewise.
12841 * gmon/gmon.c: Likewise.
12842 * grp/fgetgrent_r.c: Likewise.
12843 * grp/putgrent.c: Likewise.
12844 * hurd/fopenport.c: Likewise.
12845 * include/libc-symbols.h: Likewise.
12846 * include/tls.h: Likewise.
12847 * intl/gettextP.h: Likewise.
12848 * intl/loadinfo.h: Likewise.
12849 * locale/global-locale.c: Likewise.
12850 * locale/localeinfo.h: Likewise.
12851 * mach/devstream.c: Likewise.
12852 * malloc/arena.c: Likewise.
12853 * malloc/set-freeres.c: Likewise.
12854 * misc/err.c: Likewise.
12855 * misc/getttyent.c: Likewise.
12856 * misc/mntent_r.c: Likewise.
12857 * posix/getopt.c: Likewise.
12858 * posix/wordexp.c: Likewise.
12859 * pwd/fgetpwent_r.c: Likewise.
12860 * resolv/Versions: Likewise.
12861 * resolv/res_hconf.c: Likewise.
12862 * shadow/fgetspent_r.c: Likewise.
12863 * shadow/putspent.c: Likewise.
12864 * stdio-common/printf_fphex.c: Likewise.
12865 * stdio-common/tmpfile.c: Likewise.
12866 * stdlib/abort.c: Likewise.
12867 * stdlib/fmtmsg.c: Likewise.
12868 * sunrpc/auth_unix.c: Likewise.
12869 * sunrpc/clnt_perr.c: Likewise.
12870 * sunrpc/clnt_tcp.c: Likewise.
12871 * sunrpc/clnt_udp.c: Likewise.
12872 * sunrpc/clnt_unix.c: Likewise.
12873 * sunrpc/openchild.c: Likewise.
12874 * sunrpc/svc_simple.c: Likewise.
12875 * sunrpc/svc_tcp.c: Likewise.
12876 * sunrpc/svc_udp.c: Likewise.
12877 * sunrpc/svc_unix.c: Likewise.
12878 * sunrpc/xdr.c: Likewise.
12879 * sunrpc/xdr_array.c: Likewise.
12880 * sunrpc/xdr_rec.c: Likewise.
12881 * sunrpc/xdr_ref.c: Likewise.
12882 * sunrpc/xdr_stdio.c: Likewise.
12883
1248c1c4
PB
128842011-09-09 Ulrich Drepper <drepper@gmail.com>
12885
12886 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12887
128882011-07-03 Andreas Jaeger <aj@suse.de>
12889
12890 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12891 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12892 regenerate with gen-libm-tests.pl.
12893
128942010-05-12 Petr Baudis <pasky@suse.cz>
12895
12896 [BZ #11589]
12897 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12898 around j0() zero points by switching to j1().
12899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12903
f22e1074
UD
129042011-09-09 Ulrich Drepper <drepper@gmail.com>
12905
f19009c1
UD
12906 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12907 instead of 0.
12908 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12909 instead of 0. .
12910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12911 Patch in part by Pavel Roskin <proski@gnu.org>.
12912
3f8cc204
UD
12913 [BZ #13138]
12914 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12915 realloc.
12916 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12917 Free memory block if necessary.
12918
f22e1074
UD
12919 [BZ #12847]
12920 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12921 be NULL. Don't lock in this case.
12922
0a2349f9
RM
129232011-09-09 Roland McGrath <roland@hack.frob.com>
12924
12925 * elf/elf.h (ELFOSABI_GNU): New macro.
12926 (ELFOSABI_LINUX): Define to that.
12927
f3cdd467
DZ
129282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12929
12930 * string/strncat.c (strncat): Undef the symbol in case it has been
12931 defined in bits/string.h.
12932
74718d13
UD
129332011-09-09 Ulrich Drepper <drepper@gmail.com>
12934
633e9e0f
UD
12935 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12936
0a2349f9 12937 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12938 link map.
12939
f9924780
AJ
129402011-08-17 Andreas Jaeger <aj@suse.de>
12941
12942 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12943
7f5517aa
PP
129442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12945 Ian Lance Taylor <iant@google.com>
12946
12947 * math/libm-test.inc (lround_test): New testcase.
12948 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12949
762011fe
UD
129502011-09-08 Ulrich Drepper <drepper@gmail.com>
12951
92963737
UD
12952 * Makefile: Remove support for automatic cvs check-ins.
12953 * Makerules: Likewise.
12954 * config.make.in: Likewise.
12955 * configure.in: Likewise.
12956 * intl/Makefile: Likewise.
12957 * locale/Makefile: Likewise.
12958 * po/Makefile: Likewise.
12959 * posix/Makefile: Likewise.
12960 * sysdeps/gnu/Makefile: Likewise.
12961 * sysdeps/mach/hurd/Makefile: Likewise.
12962 * sysdeps/sparc/sparc32/Makefile: Likewise.
12963
b0727fd8
JS
12964 [BZ #13118]
12965 * posix/Makefile (bug-regex32-ENV): Define.
12966 Patch by John Stanley <jpsinthemix@verizon.net>.
12967
a0f33f99
UD
12968 * misc/Makefile (headers): Add bits/select2.h.
12969 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12970 * misc/bits/select2.h: New file.
12971 * include/bits/select2.h: New file.
12972 * debug/Makefile (routines): Add fdelt_chk.
12973 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12974 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12975 FD_ISSET.
12976 * debug/fdelt_chk.c: New file.
12977
762011fe
UD
12978 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12979 * wcsmbs/test-wmemcmp.c: Likewise.
12980 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12981 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12982
129832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12984
12985 * string/Makefile (strop-tests): Add memcmp.
12986 * string/test-wmemcmp.c: New file.
12987 * string/test-memcmp.c: Add wmemcmp support.
12988
7f513ec8
RM
129892011-09-08 Roland McGrath <roland@hack.frob.com>
12990
0442afb4
RM
12991 [BZ #13153]
12992 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12993 2011-07-19 change.
12994
7f513ec8
RM
12995 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12996 garbage value in a __mach_port_mod_refs call in the cases of the
12997 task-self and thread-self ports.
12998
a12b2239
ST
129992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13000
13001 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13002
610f9ab4
AS
130032011-09-08 Andreas Schwab <schwab@redhat.com>
13004
7f513ec8 13005 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13006
48882a1a
LD
130072011-09-07 Ulrich Drepper <drepper@gmail.com>
13008
b49865be
UD
13009 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13010
fdc86bc9
UD
13011 * elf/dl-libc.c (dlerror_run): Pass back error code from
13012 dl_catch_error.
13013
c966526a
UD
13014 [BZ #13123]
13015 * elf/dl-load.c (lose): Free l_origin if it is valid.
13016
48882a1a
LD
13017 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13018 names.
13019 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13020 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13022 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13023 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13024 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13025
77a2a8b4
AZ
130262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13027
13028 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13029 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13030 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13031 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13032 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13033 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13034 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13035 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13036 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13037 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13038
24f579d8
AM
130392011-08-15 Alan Modra <amodra@gmail.com>
13040
13041 [BZ #13092]
13042 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13043 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13044 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13045 ppc_mcount to static-only-routines.
13046 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13047 __mcount_internal.
13048 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13049 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13050
3d4837df
UD
130512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13052
13053 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13054 for finite and infinity parameters.
13055
22700377
WS
130562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13057
13058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13059 and add nop instructions for throughput optimization.
13060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13061
5025581e
WS
130622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13063
13064 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13065 aligned copy for power7 with vector-scalar instructions.
13066 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13067
08a300c9
L
130682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13069
13070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13071 AVX check.
13072
59178ef9
AS
130732011-09-07 Andreas Schwab <schwab@redhat.com>
13074
13075 [BZ #13144]
13076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13077 last change.
13078
e38ba7ab
UD
130792011-09-07 Ulrich Drepper <drepper@gmail.com>
13080
13081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13082 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13083 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13085 clock_gettime.
13086
d53a73ac
UD
130872011-09-06 Ulrich Drepper <drepper@gmail.com>
13088
fc8bffcc
UD
13089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13090 Forgot to demangle the pointer.
13091
ceaa0c5d
UD
13092 * sysdeps/i386/sysdep.h: Define atom_text_section.
13093 * sysdeps/x86_64/sysdep.h: Likewise.
13094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13095 section with atom_text_section.
13096 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13098 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13100 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13101
a77d3c17
UD
13102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13103 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13104 already be defined. Change to take two parameters and don't assign
13105 result to variable. Adjust all users.
13106 Define INTERNAL_GETTIME if not already defined.
13107 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13108 call.
13109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13110 HAVE_CLOCK_GETTIME_VSYSCALL.
13111 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13112
d53a73ac
UD
13113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13114 gettimeofday vsyscall, just use time.
13115
a8f84144
AS
131162011-09-06 Andreas Schwab <schwab@redhat.com>
13117
13118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13119 <errno.h>.
13120
ef606249
UD
131212011-09-06 Ulrich Drepper <drepper@gmail.com>
13122
13123 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13124 syscall on x86-64.
13125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13126 syscall.
13127 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13129 syscall if possible.
13130
6585cb60
UD
131312011-09-05 Ulrich Drepper <drepper@gmail.com>
13132
13133 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13134 e_ident. Don't pass to find_mapsXX.
13135 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13136
a5f524e4
LD
131372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13138
13139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13140 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13141 * sysdeps/x86_64/multiarch/strchr.S: Update.
13142 Check bit_slow_BSF bit.
13143 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13144 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13145 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13146
554881ef
UD
131472011-09-05 Ulrich Drepper <drepper@gmail.com>
13148
d96de963
UD
13149 [BZ #13134]
13150 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13151 before glibc 2.15.
13152 (tryshell): Define.
13153 (__spawni): Change last parameter to be flag. Test
13154 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13155 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13156 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13157 * posix/spawni.c: Likewise.
13158 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13159 * posix/spawnp.c: Likewise. Change normal version to use
13160 SPAWN_XFLAGS_USE_PATH.
13161 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13162 SPAWN_XFLAGS_TRY_SHELL.
13163
d48e5868
UD
13164 [BZ #13150]
13165 * posix/glob.h: Remove gcc 1.x support.
13166
554881ef
UD
13167 [BZ #13068]
13168 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13169
693fb948
LD
131702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13171
13172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13173 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13174 strrchr-sse2-bsf
13175 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13176 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13177 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13178 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13179 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13180 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13181
1b48c537
UD
131822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13183
49d42c37
UD
13184 * sysdeps/x86_64/wcscmp.S: New file.
13185
1b48c537
UD
13186 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13187 wcscmp-c wcscmp-sse2
13188 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13189 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13190 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13191 * wcsmbs/wcscmp.c: Allow renaming.
13192
15c95c5d
DM
131932011-09-05 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13196 stack slot, rather than the struct return pointer slot.
13197 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13198 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13200 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13201
2f0ad8f3
UD
132022011-09-05 Ulrich Drepper <drepper@gmail.com>
13203
d88ae418
UD
13204 * po/ja.po: Update from translation team.
13205
2f0ad8f3
UD
13206 [BZ #13144]
13207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13208 kernel in 64-bit binaries.
13209
5f4318d1
DM
132102011-09-01 David S. Miller <davem@davemloft.net>
13211
13212 * elf/elf.h (HWCAP_SPARC_*): Move to..
13213 * sysdeps/sparc/sysdep.h: this new file and add new values.
13214 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13215 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13216 _DL_HWCAP_COUNT to 24.
13217 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13218 entries.
13219 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13220 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13221 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13223 instead of magic constants.
13224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13225
3ba57516
DM
132262011-08-31 David S. Miller <davem@davemloft.net>
13227
13228 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13230 Reimplement to do errno handling inline.
13231 (SYSCALL_ERROR_HANDLER): New macro.
13232 (__SYSCALL_STRING): Do not do errno handling in asm.
13233 (__CLONE_SYSCALL_STRING): Delete.
13234 (__INTERNAL_SYSCALL_STRING): Delete.
13235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13236 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13237 (PSEUDO): Reimplement to do errno handling inline.
13238 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13239 (SYSCALL_ERROR_HANDLER): New macro.
13240 (__SYSCALL_STRING): Do not do errno handling in asm.
13241 (__CLONE_SYSCALL_STRING): Delete.
13242 (__INTERNAL_SYSCALL_STRING): Delete.
13243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13244 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13245 i386.
13246 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13247 (inline_syscall*): Add 'err' argument.
13248 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13249 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13250 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13251 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13252
13253 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13254 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13255
2bc17433
AS
132562011-08-30 Andreas Schwab <schwab@redhat.com>
13257
13258 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13259
fbeb5f4d
JO
132602011-08-29 Jiri Olsa <jolsa@redhat.com>
13261
13262 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13263 directive.
13264
ad69cc26
DM
132652011-08-24 David S. Miller <davem@davemloft.net>
13266
13267 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13268
39dd69df
AS
132692011-08-24 Andreas Schwab <schwab@redhat.com>
13270
13271 * elf/Makefile: Add rules to build and run unload8 test.
13272 * elf/unload8.c: New file.
13273 * elf/unload8mod1.c: New file.
13274 * elf/unload8mod1x.c: New file.
13275 * elf/unload8mod2.c: New file.
13276 * elf/unload8mod3.c: New file.
13277
13278 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13279 it wasn't used.
13280
2c0b250a
DM
132812011-08-23 David S. Miller <davem@davemloft.net>
13282
13283 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13284 subtract stack bias.
13285 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13286 %sp not %fp in calculations.
13287 (_JMPBUF_UNWINDS_ADJ): Likewise.
13288
22044b48
DM
13289 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13290 (aio_suspend): Call it to force an exception region around the
13291 AIO_MISC_WAIT() invocation.
13292
2cae4995
AS
132932011-08-23 Andreas Schwab <schwab@redhat.com>
13294
13295 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13296 backslash.
13297
873a772e
AJ
132982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13299
13300 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13301 protection macro.
13302 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13303 and <dl-machine.h>.
13304 (Elf64_FuncDesc): Remove.
13305
25ad0df1
DM
133062011-08-22 David S. Miller <davem@davemloft.net>
13307
13308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13309 sigaltstack check, add missing cfi directives.
13310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13311 missing cfi directives, and sigaltstack handling.
13312
e888bcbe
AS
133132011-08-16 Andreas Schwab <schwab@redhat.com>
13314
13315 [BZ #11724]
13316 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13317 object is seen twice.
13318 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13319
13320 * elf/Makefile (distribute): Add tst-initorder2.c.
13321 (tests): Add tst-initorder2.
13322 (modules-names): Add tst-initorder2a tst-initorder2b
13323 tst-initorder2c tst-initorder2d. Add rules to build them.
13324 ($(objpfx)tst-initorder2.out): New rule.
13325 * elf/tst-initorder2.c: New file.
13326 * elf/tst-initorder2.exp: New file.
13327
87162f46
AS
133282011-08-22 Andreas Schwab <schwab@redhat.com>
13329
70538b7f
AS
13330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13331
f55ffe58
AS
13332 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13333 dependencies back to end of function.
13334
87162f46
AS
13335 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13336 $(elfobjdir)/ld.so.
13337
91b392a4
UD
133382011-08-21 Ulrich Drepper <drepper@gmail.com>
13339
13340 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13341 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13343 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13344 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13345 of __vdso_gettimeofday.
13346 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13347 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13348 attribute_hidden.
13349 (_libc_vdso_platform_setup): Remove initialization of
13350 __vdso_gettimeofday and __vdso_time.
13351
5c43483f
UD
133522011-08-20 Ulrich Drepper <drepper@gmail.com>
13353
775a77e7
UD
13354 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13355 and fgetc_unlocked.
13356 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13357 getc_unlocked.
89f447ed 13358
49c74ba9
UD
13359 * elf/dl-open.c (add_to_global): Report additions to the global scope
13360 for LD_DEBUG=scopes.
13361 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13362 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13363
5c43483f
UD
13364 [BZ #13114]
13365 * stdio-common/Makefile (tests): Add bug24.
13366 * stdio-common/bug24.c: New file.
13367
a101b025
AJ
133682011-08-19 Andreas Jaeger <aj@suse.de>
13369
13370 [BZ #13114]
13371 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13372 non-existant file when using close-on-exec mode.
13373
c88f1766
UD
133742011-08-20 Ulrich Drepper <drepper@gmail.com>
13375
0276a718
UD
13376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13377 the very first instruction.
13378
c88f1766
UD
13379 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13380 the CFI state in the end.
13381 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13382 inclusion of dl-trampoline.h.
13383 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13384
51ccffa0
AS
133852011-08-19 Andreas Schwab <schwab@redhat.com>
13386
94d7165f
AS
13387 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13388 expectations for long double.
13389
51ccffa0
AS
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13391 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13392
fd708658 133932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13394
13395 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13396 artificual limit depends upon the system page size.
13397
44f0a71e
UD
133982011-08-17 Ulrich Drepper <drepper@gmail.com>
13399
13400 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13401 * resolv/Makefile: Define CFLAGS-libresolv.
13402
8de79a24
AS
134032011-08-17 Andreas Schwab <schwab@redhat.com>
13404
13405 * nss/makedb.c (compute_tables): Make variables used in nested
13406 function static.
13407
27724598
UD
134082011-08-17 Ulrich Drepper <drepper@gmail.com>
13409
c5305d88
UD
13410 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13411 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13412 if buffer was too small.
13413
27724598
UD
13414 * elf/pldd.c (main): Attach to all threads in the process.
13415 Rewrite /proc handling to use *at functions.
13416
076fe015
UD
134172011-08-16 Ulrich Drepper <drepper@gmail.com>
13418
174baab3
UD
13419 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13420 specifies first scope to show.
13421 (dl_open_worker): Update callers. Move printing scope of new
13422 object to before the relocation.
44f0a71e 13423 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13424 * sysdeps/generic/ldsodefs.h: Update declaration.
13425
076fe015
UD
13426 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13427 string for the scope number.
13428
a60df2c3
UD
134292011-08-14 Ulrich Drepper <drepper@gmail.com>
13430
13431 * nscd/servicescache.c (cache_addserv): Make sure written is always
13432 initialized.
13433
5e4287d1
RM
134342011-08-14 Roland McGrath <roland@hack.frob.com>
13435
85ae0589
RM
13436 * sysdeps/i386/i486/bits/atomic.h
13437 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13438 statement expression, so as to suppress "set but not used" warning.
13439 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13440
69f63097
RM
13441 * string/strncat.c (STRNCAT): Use prototype definition.
13442
675456ef
RM
13443 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13444 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13445 -Iprograms here.
13446 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13447 (localedef-modules): Add localedef.
13448 (locale-modules): Add locale.
13449
5e4287d1
RM
13450 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13451 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13452 to avoid a warning.
13453
9c96ff23
DM
134542011-08-14 David S. Miller <davem@davemloft.net>
13455
13456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13457 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13458
f9ddf089
UD
134592011-08-13 Ulrich Drepper <drepper@gmail.com>
13460
44f0a71e 13461 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13462 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13463 * elf/rtld.c (dl_main): Set l_name of vDSO.
13464 Call _dl_show_scope when DL_DEBUG_SCOPES.
13465 (process_dl_debug): Recognize scopes flag and also set it for all.
13466 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13467 Declare _dl_show_scope.
13468
1dc27704
UD
13469 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13470 (do_dlopen): Pass caller_dlopen to dl_open.
13471 (__libc_dlopen_mode): Initialize caller_dlopen.
13472
f9ddf089
UD
13473 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13474 of libc. Make tolower call locale-independent. Optimize a bit by
13475 using isdigit instead of isalnum.
13476 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13477
9ac533d3
UD
134782011-08-12 Ulrich Drepper <drepper@gmail.com>
13479
13480 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13481 was a dependency or dynamically loaded.
13482
89edf2e9
UD
134832011-08-11 Ulrich Drepper <drepper@gmail.com>
13484
8e999d29
UD
13485 * intl/l10nflist.c: Allow architecture-specific pop function.
13486 * sysdeps/x86_64/l10nflist.c: New file.
13487
89edf2e9
UD
13488 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13489 classification.
13490
14d96785
AS
134912011-08-10 Andreas Schwab <schwab@redhat.com>
13492
13493 * include/dirent.h: Add libc_hidden_proto for scandirat and
13494 scandirat64. Don't declare __scandirat64.
13495 * dirent/scandirat.c: Add libc_hidden_def.
13496 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13497 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13498
6761ac04
DM
134992011-08-10 David S. Miller <davem@davemloft.net>
13500
13501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13502 enum.
13503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13506
c55fbd1e
UD
135072011-08-09 Ulrich Drepper <drepper@gmail.com>
13508
13509 * Versions.def [libc]: Add GLIBC_2.15.
13510 * dirent/Makefile (routines): Add scandirat and scandirat64.
13511 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13512 GLIBC_2.15.
13513 * dirent/dirent.h: Declare scandirat and scandirat64.
13514 * dirent/scandirat.c: New file.
13515 * dirent/scandirat64.c: New file.
13516 * sysdeps/wordsize-64/scandirat.c: New file.
13517 * sysdeps/wordsize-64/scandirat64.c: New file.
13518 * dirent/opendir.c: Define opendirat.
13519 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13520 using scandirat.
13521 * dirent/scandir64.c: Adjust for scandir.c change.
13522 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13523 __scandirat64, and __scandir_cancel_handler.
13524 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13525 additional parameter and use openat instead of open (outside of ld.so).
13526 Add new __opendir as wrapper around __opendirat.
13527 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13528 here without requiring old scandirat implementation.
13529
879165f2
UD
135302011-08-08 Ulrich Drepper <drepper@gmail.com>
13531
13532 * dirent/scandir.c (cancel_handler): Renamed to
13533 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13534 defined. Adjust users.
13535 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13537
cb7e923b
UD
135382011-08-04 Ulrich Drepper <drepper@gmail.com>
13539
16292edd
UD
13540 * string/test-string.h (IMPL): Use __STRING to expand name and then
13541 stringify it.
13542
cb7e923b
UD
13543 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13544 of cleanups.
13545
cff82933
LD
135462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13547
13548 * string/Makefile: Update.
13549 (strop-tests): Append strncat.
13550 * string/test-wcscmp.c: New file.
13551 New comprehensive test for wcscmp.
13552 * string/test-strcmp.c: Update.
13553 (WIDE): New define.
13554
9be9bfcc
AS
135552011-07-22 Andreas Schwab <schwab@redhat.com>
13556
13557 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13558 line.
13559
2e96f1c7
AS
135602011-07-26 Andreas Schwab <schwab@redhat.com>
13561
13562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13563 encoding to ACE if AI_IDN.
13564
85188888
JJ
135652011-08-01 Jakub Jelinek <jakub@redhat.com>
13566
13567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13568 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13569
5fa16e9b
LD
135702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13571
13572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13573 Fix overflow bug in strncat.
13574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13575
13576 * string/test-strncat.c: Update.
13577 Add new tests for checking overflow bugs.
13578
135792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13580
13581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13582 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13583 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13584 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13586 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13587 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13588 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13589 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13590
13591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13592 (USE_AS_STRCAT): Define.
13593 Add strcat and strncat support.
13594 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13595
8c1a459f
AS
135962011-07-25 Andreas Schwab <schwab@redhat.com>
13597
13598 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13599 __n bigger than INT_MAX+1.
13600 (__strncmp_g): Likewise.
13601
bba33c28
UD
136022011-07-23 Ulrich Drepper <drepper@gmail.com>
13603
798be72d
UD
13604 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13605 * libio/stido.h: Likewise.
13606
8accd4dc
UD
13607 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13608 (AF_NFC): Define.
13609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13610 (AF_NFC): Define.
13611
cbff0d96
UD
13612 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13614 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13615 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13617
9191c04a
UD
13618 [BZ #13021]
13619 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13620 installed.
13621
bba33c28
UD
13622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13623 typo.
13624 (_dl_x86_64_save_sse): Likewise.
13625
90f139dd
UD
136262011-07-22 Ulrich Drepper <drepper@gmail.com>
13627
1aae088a
UD
13628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13629 OSXSAVE.
13630 (_dl_x86_64_save_sse): Likewise.
13631
8e2045f5
UD
13632 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13633
90f139dd
UD
13634 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13635
1d002f25
AS
136362011-07-21 Andreas Schwab <schwab@redhat.com>
13637
13638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13639 change.
13640 (_dl_x86_64_save_sse): Use correct AVX check.
13641
21137f89
UD
136422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13643
13644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13645 bug in strncpy/strncat.
13646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13647
a65c0b7a
UD
136482011-07-21 Ulrich Drepper <drepper@gmail.com>
13649
13650 * string/tester.c (test_strcat): Add tests for different alignments
13651 of source and destination.
13652 (test_strncat): Likewise.
13653
6986b98a
UD
136542011-07-20 Ulrich Drepper <drepper@gmail.com>
13655
90bb2039
UD
13656 [BZ #12852]
13657 * posix/glob.c (glob): Check passed in values before using them in
13658 expressions to avoid some overflows.
13659 (glob_in_dir): Likewise.
13660
5644ef54
UD
13661 [BZ #13007]
13662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13663 check for AVX enablement so that we don't crash with old kernels and
13664 new hardware.
13665 * elf/tst-audit4.c: Add same checks here.
13666 * elf/tst-audit6.c: Likewise.
13667
13668 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13669
bfc9dc9b
AS
136702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13671
13672 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13673
702e64bb
UD
136742011-07-20 Ulrich Drepper <drepper@gmail.com>
13675
13676 * po/cs.po: Update from translation team.
13677 * po/bg.po: Likewise.
13678
295e904f
MP
136792011-07-12 Marek Polacek <mpolacek@redhat.com>
13680
13681 * misc/sys/cdefs.h: Add support for const attribute.
13682 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13683 to gnu_dev_{major,minor,makedev} functions.
13684
3ff94596
MP
136852011-07-20 Marek Polacek <mpolacek@redhat.com>
13686
13687 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13688
28b59fca
AS
136892011-07-20 Andreas Schwab <schwab@redhat.com>
13690
13691 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13692 strlen results.
13693
19df733e
AK
136942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13695
13696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13697 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13698 register in order to avoid conflicts with the soft frame pointer
13699 being held in r11 when necessary.
13700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13701 (INTERNAL_VSYSCALL_NCS): Likewise.
13702
c8835729
MP
137032011-07-14 Marek Polacek <mpolacek@redhat.com>
13704
13705 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13706 * elf/dl-fini.c (_dl_fini): Adjust caller.
13707 * elf/dl-close.c (_dl_close_worker): Likewise.
13708 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13709
b902330c
MP
137102011-07-15 Marek Polacek <mpolacek@redhat.com>
13711
8991e135
MP
13712 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13713 "aux_cache->nlibs < 0".
13714
b902330c
MP
13715 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13716 in the reload-count case.
13717
99710781
LD
137182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13719
13720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13721 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13722 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13723 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13724 * sysdeps/x86_64/multiarch/strcat.S: New file.
13725 * sysdeps/x86_64/multiarch/strncat.S: New file.
13726 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13727 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13728 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13729 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13731 (USE_AS_STRCAT): Define.
13732 Add strcat and strncat support.
13733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13735 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13736 * string/strncat.c: Update.
13737 (USE_AS_STRNCAT): Define.
13738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13739 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13740 and i7.
13741 * sysdeps/x86_64/multiarch/init-arch.h
13742 (bit_Prefer_PMINUB_for_stringop): New.
13743 (index_Prefer_PMINUB_for_stringop): Likewise.
13744 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13745 bit_Prefer_PMINUB_for_stringop.
13746
7dc6bd90
UD
137472011-07-19 Ulrich Drepper <drepper@gmail.com>
13748
13749 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13750 buffer64.
13751 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13752 of casting of buffer.
13753 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13754 buffer32 and buffer64.
13755 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13756 writes instead of casting of buffer.
13757 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13758 buffer32.
13759 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13760 casting of buffer.
13761
e0e72284
AS
137622011-07-19 Andreas Schwab <schwab@redhat.com>
13763
13764 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13765
feb1eb0b
UD
137662011-07-19 Ulrich Drepper <drepper@gmail.com>
13767
13768 * nscd/nscd.c (termination_handler): Don't do anything for a database
13769 if it has not yet been initialized.
13770
298711ff
UD
137712011-07-18 Ulrich Drepper <drepper@gmail.com>
13772
13773 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13774
137752011-07-15 Marek Polacek <mpolacek@redhat.com>
13776
13777 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13778
f9d68389
UD
137792011-07-18 Ulrich Drepper <drepper@gmail.com>
13780
13781 * po/nl.po: Update from translation team.
13782 * po/sv.po: Likewise.
13783
db290cf5
RM
137842011-07-16 Roland McGrath <roland@hack.frob.com>
13785
13786 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13787 now disallowed by GCC.
5c550700 13788
fd5e21c7
RM
13789 * configure.in (use-default-link): Default to yes if a test -shared
13790 link meets our qualifications.
13791 * configure: Regenerated.
13792
5c550700
RM
13793 * config.make.in (output-format): New variable.
13794 * configure.in: Check for ld --print-output-format support.
13795 * configure: Regenerated.
13796 * Makerules ($(common-objpfx)format.lds)
13797 [$(output-format) != unknown]: Just use $(output-format),
13798 instead of the linker-script munging.
13799
9fa2c032
RM
138002011-07-14 Roland McGrath <roland@hack.frob.com>
13801
a6928d51
RM
13802 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13803 of $(common-objpfx)shlib.lds.
13804 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13805
661607b3
RM
13806 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13807 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13808
9fa2c032
RM
13809 * configure.in (-z relro check): Adjust test code to add a large
13810 writable data section after it.
13811 * configure: Regenerated.
13812
defe9061
RM
138132011-07-11 Roland McGrath <roland@hack.frob.com>
13814
13815 * configure.in (-z relro check): Fix test code to make the variable
13816 truly const.
13817 * configure: Regenerated.
13818
319b9ad4
UD
138192011-07-11 Ulrich Drepper <drepper@gmail.com>
13820
13821 * nscd/nscd.h (struct traced_file): Define.
13822 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13823 elements. Add traced_files.
13824 (inotify_fd): Declare.
13825 (register_traced_file): Declare.
13826 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13827 (inotify_fd): Export.
13828 (resolv_conf_descr): Remove.
13829 (nscd_init): Move inotify descriptor creation to main.
13830 Don't register files for notification here.
13831 (register_traced_file): New function.
13832 (invalidate_cache): Don't use reset_res to determine whether to call
13833 res_init, go through the list of registered files.
13834 (main_loop_poll): The inotify descriptors are now stored in the
13835 structures for the traced files.
13836 (main_loop_epoll): Likewise
13837 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13838 to __nss_disable_nscd.
13839 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13840 for a database anymore. Check the records for all the registered
13841 files instead.
13842 * nss/Makefile (libnss_files-routines): Add files-init.
13843 (libnss_db-routines): Add db-init.
13844 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13845 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13846 * nss/nss_db/db-init.c: New file.
13847 * nss/nss_files/files-init.c: New file.
13848 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13849 __nss_lookup_function.
13850 (__nss_lookup_function): Call nss_load_library.
13851 (nss_load_all_libraries): New function.
13852 (__nss_disable_nscd): Take parameter with callback function for files
13853 to register. Set is_nscd. Load all the DSOs for the NSS modules
13854 used for the cached services.
13855 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13856 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13857 options for features to all the files in nscd.
13858
13859 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13860
23bee3e8
RM
138612011-07-10 Roland McGrath <roland@hack.frob.com>
13862
13863 * csu/elf-init.c (__libc_csu_init): Comment typo.
13864
46a5b7f0
UD
138652011-07-09 Ulrich Drepper <drepper@gmail.com>
13866
13867 * po/pl.po: Update from translation team.
13868 * po/ja.po: Likewise.
13869 * po/ru.po: Likewise.
13870 * po/ko.po: Likewise.
13871 * po/fr.po: Likewise.
13872
d30cf5bb
RM
138732011-07-09 Roland McGrath <roland@hack.frob.com>
13874
113ddea4
RM
13875 * configure.in (.ctors/.dtors header and trailer check):
13876 Use an empirical test on a built program.
13877 * configure: Regenerated.
13878
574920b4
RM
13879 * configure.in (-z relro check): Use an empirical test on a built DSO.
13880 Detect, but do not require, on ia64.
13881 * configure: Regenerated.
13882
d30cf5bb
RM
13883 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13884 Update tests that use readelf to use $READELF instead.
13885 * configure: Regenerated.
13886
8538fdb3
UD
138872011-07-08 Ulrich Drepper <drepper@gmail.com>
13888
13889 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13890 if the result is not used.
13891
04d08991
AJ
138922011-07-05 Andreas Jaeger <aj@suse.de>
13893
13894 [BZ#9696]
13895 * stdlib/tst-strtod.c: Add testcase.
13896
de283087
AD
138972011-07-07 Ulrich Drepper <drepper@gmail.com>
13898
4e5f31c8 13899 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13900 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13901 The latter has a higher limit. Take additional parameter to pass to
13902 the new function.
13903 (__pathconf): Pass file to __statfs_link_max.
13904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13905 __statfs_link_max.
13906 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13907 __statfs_link_max.
13908
de283087
AD
13909 [BZ #12868]
13910 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13912 Handle Lustre.
13913 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13914 (__statfs_filesize_max): Likewise.
13915 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13916
c75fa153
AJ
139172011-07-05 Andreas Jaeger <aj@suse.de>
13918
13919 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13920
1a544854
UD
139212011-07-06 Marek Polacek <mpolacek@redhat.com>
13922
13923 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13924 `status' variable.
13925 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13926 Likewise.
13927
6f0eec67
UD
139282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 * Makefile (strop-tests): Add strncat.
13931 * string/test-strncat.c: New file.
13932
aae30307
UD
139332011-06-30 Marek Polacek <mpolacek@redhat.com>
13934
13935 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13936
c0cfb5eb
UD
139372011-06-21 Andreas Jaeger <aj@suse.de>
13938
13939 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13940 Copy rule from iconvdata/Makefile.
13941
01636b21
UD
139422011-07-06 Ulrich Drepper <drepper@gmail.com>
13943
13944 [BZ #12922]
13945 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13946 but no long options are defined, just return 'W'.
13947
9895c8bc
UD
139482011-06-22 Marek Polacek <mpolacek@redhat.com>
13949
13950 [BZ #9696]
13951 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13952
5d4cf042
UD
139532011-07-06 Ulrich Drepper <drepper@gmail.com>
13954
13955 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13956 netgroups to read.
960e5535 13957 (innetgr): Likewise.
5d4cf042 13958
751eb97e
RM
139592011-07-05 Roland McGrath <roland@hack.frob.com>
13960
13961 * config.make.in (install_root): Default to $(DESTDIR).
13962
f15f1e45
UD
139632011-07-05 Ulrich Drepper <drepper@gmail.com>
13964
13965 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13966
4e34ac6a
RM
139672011-07-02 Roland McGrath <roland@hack.frob.com>
13968
5e9b6af4
RM
13969 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13970
84f9ea0f
RM
13971 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13972 containing directory rather than embedding absolute directory names.
13973
ea5ee9f7
RM
13974 * scripts/check-local-headers.sh: Rewritten using awk.
13975 Match by word, not by line. Print error messages for matches.
13976 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13977
1b74661a
RM
13978 * Makerules [shlib-lds-flags empty]:
13979 ($(common-objpfx)libc_pic.opts): New target.
13980 ($(common-objpfx)libc_pic.os.clean): New target.
13981 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13982
13983 * config.make.in (OBJCOPY): New variable.
13984 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13985 * configure: Regenerated.
13986
f781ef40
RM
13987 * config.make.in (use-default-link): New variable.
13988 * configure.in (use_default_link): Grok --with-default-link to set it.
13989 * configure: Regenerated.
13990 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13991 (shlib-lds, shlib-lds-flags): Define to empty.
13992
2d4fa81e
RM
13993 * Makerules (shlib-lds): New variable.
13994 (shlib-lds-flags): New variable.
13995 (build-shlib, build-moduile, build-module-asneeded): Use it.
13996 ($(common-objpfx)libc.so): Use $(shlib-lds).
13997 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13998 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13999
31fffa6b
RM
14000 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14001 DT_FLAGS/DT_FLAGS_1 with zero flags.
14002
4e34ac6a
RM
14003 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14004 linker script munging.
14005
fcfc776b
UD
140062011-07-02 Ulrich Drepper <drepper@gmail.com>
14007
14008 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14009 as 128-bit value.
14010 * crypt/sha512.c (sha512_process_block): Perform total addition using
14011 128-bit if possible.
14012 (__sha512_finish_ctx): Likewise.
14013 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14014 as 64-bit value.
14015 * crypt/sha256.c (SWAP64): Define.
14016 (sha256_process_block): Perform total addition using 64-bit if
14017 possible.
14018 (__sha256_finish_ctx): Likewise.
14019
99231d9a
UD
140202011-07-01 Ulrich Drepper <drepper@gmail.com>
14021
14022 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14024 * nscd/hstcache.c (cache_addhst): Likewise.
14025 * nscd/grpcache.c (cache_addgr): Likewise.
14026 * nscd/aicache.c (addhstaiX): Likewise
14027 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14028
445b4a53
TK
140292011-07-01 Thorsten Kukuk <kukuk@suse.de>
14030
14031 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14033 * nscd/hstcache.c (cache_addhst): Likewise.
14034 * nscd/grpcache.c (cache_addgr): Likewise.
14035 * nscd/aicache.c (addhstaiX): Likewise
14036
6d4d8e8e
AS
140372011-07-01 Andreas Schwab <schwab@redhat.com>
14038
14039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14040 domain only when needed.
14041
89f654c5
AS
140422011-06-30 Andreas Schwab <schwab@redhat.com>
14043
14044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14045 is always restored.
14046
cf3b23ff
UD
140472011-06-29 Ulrich Drepper <drepper@gmail.com>
14048
14049 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14050 are re-adding the entry.
14051 * nscd/servicescache.c (cache_addserv): Likewise.
14052
751626f9
AJ
140532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14054
14055 * sysdeps/generic/dl-irel.h: fix protection against multiple
14056 inclusions.
14057 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14058
9113ea1f
UD
140592011-06-28 Ulrich Drepper <drepper@gmail.com>
14060
5c0b8d90
UD
14061 [BZ #12935]
14062 * malloc/memusage.sh: Fix quoting in message.
14063 * debug/xtrace.sh: Likewise.
14064
9113ea1f
UD
14065 * configure.in: Remove support for --experimental-malloc option, make
14066 it the default.
14067 * config.make.in: Likewise.
14068 * malloc/Makefile: Likewise.
14069
a4172181
AS
140702011-06-27 Andreas Schwab <schwab@redhat.com>
14071
14072 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14073 two-byte characters.
14074
78a7eee7
RM
140752011-06-27 Roland McGrath <roland@hack.frob.com>
14076
62bede13
RM
14077 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14078 AC_CACHE_CHECK invocation.
14079 * configure: Regenerated.
14080
78a7eee7
RM
14081 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14082
5ce33a62
UD
140832011-06-27 Ulrich Drepper <drepper@gmail.com>
14084
034807a9
UD
14085 [BZ #12350]
14086 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14087 bit from old_res_options.
14088
4902da17
UD
14089 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14090
5ce33a62
UD
14091 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14092 value type for setfct.
14093
c2344f56
L
140942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14095
14096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14097 __gettimeofday instead of gettimeofday.
14098
68468076
UD
140992011-06-26 Ulrich Drepper <drepper@gmail.com>
14100
14101 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14102
acb0d739
L
141032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14104
14105 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14106
14107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14108 info.
14109
8912479f
L
141102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14111
14112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14113 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14114 strcpy-sse2-unaligned strncpy-sse2-unaligned
14115 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14116 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14117 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14118 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14119 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14120 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14121 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14122 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14123 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14124 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14125 (STRCPY): Support SSE2 and SSSE3 versions.
14126
d5495a11
UD
141272011-06-24 Ulrich Drepper <drepper@gmail.com>
14128
14129 [BZ #12874]
14130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14131 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14132 kernels which artificially limit size of requests.
14133
0b1cbaae
L
141342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14137 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14138 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14139 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14140 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14141 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14142 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14143 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14144 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14146 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14147 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14148 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14149 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14150 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14152 Enable unaligned load optimization for Intel Core i3, i5 and i7
14153 processors.
14154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14155 Define.
14156 (index_Fast_Unaligned_Load): Define.
14157 (HAS_FAST_UNALIGNED_LOAD): Define.
14158
07f494a0
MP
141592011-06-23 Marek Polacek <mpolacek@redhat.com>
14160
14161 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14162
fa3fc0fe
UD
141632011-06-22 Ulrich Drepper <drepper@gmail.com>
14164
14165 [BZ #12907]
14166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14167 until it is clear that the information is realy needed.
14168 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14169
e12df166
AS
141702011-06-22 Andreas Schwab <schwab@redhat.com>
14171
14172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14173
852eb34d
UD
141742011-06-22 Ulrich Drepper <drepper@gmail.com>
14175
84e2a551
UD
14176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14177 /sys/devices/system/cpu/online if it is usable.
14178
852eb34d
UD
14179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14180 reading the information from the /proc filesystem to once a second.
14181
6e502e19
UD
141822011-06-21 Andreas Jaeger <aj@suse.de>
14183
14184 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14185 NULL after inclusion of kernel headers.
14186
75d39ff2
UD
141872011-06-21 Ulrich Drepper <drepper@gmail.com>
14188
51f9aa6a
UD
14189 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14190 calls to internal_setent.
14191
c0244a9d
UD
14192 [BZ #12885]
14193 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14194 addresses using gethostbyname4_r ignore IPv4 addresses.
14195
c5e3c2ae
UD
14196 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14197 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14198
75d39ff2
UD
14199 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14200
42675c6f
DM
142012011-06-20 David S. Miller <davem@davemloft.net>
14202
14203 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14204 inclusions.
14205 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14206
14207 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14208 (elf_irel): Use it.
14209 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14210 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14211 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14212 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14213 * sysdeps/x86_64/dl-irel.h: Likewise.
14214
14215 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14216 * elf/dl-sym.c: Likewise.
14217
57912a71
UD
142182011-06-15 Ulrich Drepper <drepper@gmail.com>
14219
14220 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14221 need to dereference resplen2.
14222
ee22793d
AS
142232011-06-14 Andreas Schwab <schwab@redhat.com>
14224
14225 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14226
a9e836b0
UD
142272011-06-15 Ulrich Drepper <drepper@gmail.com>
14228
77fb9117
UD
14229 * Makeconfig: Define vardbdir and inst_vardbdir.
14230 * nss/Makefile: Add rules to install db-Makefile.
14231
40c1b22c
UD
14232 * nss/nss_db/db-XXX.c: Cleanup.
14233
9f2da732
UD
14234 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14235 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14236 GLIBC_PRIVATE.
14237 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14238 * nss/makedb.c: Implement -g option to specify that value strings
14239 are generated and should not be added to table iterated over for
14240 get*ent calls.
14241 * nss/nss_db/db-initgroups.c: New file.
14242
82e9a1f7
UD
14243 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14244 interface.
14245
c41af17e
UD
14246 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14247 (internal_getgrouplist): Adjust to name change.
14248 Update use_initgroups_entry if this is not the first call.
14249 * nss/databases.def: Add initgroups entry.
14250
a9e836b0
UD
14251 * nss/makedb.c (compute_tables): Check result of multiple hash table
14252 sizes to minimize maximum chain length.
14253
2666d441
UD
142542011-06-14 Ulrich Drepper <drepper@gmail.com>
14255
14256 * Versions.def: Add entry for libnss_db.
14257 * shlib-versions: Likewise.
14258 * nss/Makefile: Add rules to build libnss_db.
14259 * nss/Versions: Add libnss_db information. Organize libnss_files
14260 entries better.
14261 * nss/db-Makefile: Add gshadow support. Change rules for the new
14262 makedb progra. Some minor improvements to generate smaller files.
14263 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14264 here from...
14265 * nss/makedb.c: ...here.
14266 Improve database format to be smaller and require less memory at
14267 runtime.
14268 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14269 db anymore.
14270 * nss/nss_db/db-netgrp.c: Likewise.
14271 * nss/nss_db/db-open.c: Likewise.
14272 * nss/nss_files/flies-XXX.x: Adjust comments.
14273 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14274 * nss/nss_files/files-grp.c: Likewise.
14275 * nss/nss_files/files-hosts.c: Likewise.
14276 * nss/nss_files/files-network.c: Likewise.
14277 * nss/nss_files/files-proto.c: Likewise.
14278 * nss/nss_files/files-pwd.c: Likewise.
14279 * nss/nss_files/files-rpc.c: Likewise.
14280 * nss/nss_files/files-service.c: Likewise.
14281 * nss/nss_files/files-sgrp.c: Likewise.
14282 * nss/nss_files/files-spwd.c: Likewise.
14283 * nss/nss_db/db-alias.c: Removed.
14284 * nss/nss_db/dummy-db.h: Removed.
14285
9ee76b5a
UD
142862011-06-02 Ulrich Drepper <drepper@gmail.com>
14287
14288 * nss/makedb.c: Rewritten to not use database library.
14289 * nss/Makefile: Update to build new makedb program.
14290
c71ca1f8
AJ
142912011-06-14 Andreas Jaeger <aj@suse.de>
14292
14293 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14294 memset declaration.
14295
3154bfb8
UD
142962011-06-10 Andreas Schwab <schwab@redhat.com>
14297
14298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14299 tmpbuf.
14300
b350afab
RM
143012011-06-10 Roland McGrath <roland@hack.frob.com>
14302
decd4e50
RM
14303 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14304 * elf/Makefile ($(objpfx)ld.so): Likewise.
14305
5615eaf2
RM
14306 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14307 Don't list ld.so twice in dependencies.
14308
14309 * posix/bug-regex31.c: Include <stdlib.h>.
14310
14311 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14312
14313 * nis/nss_compat/compat-spwd.c
14314 (getspent_next_nss_netgr): Remove unused variable.
14315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14316
14317 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14318 nonmembers" output to use the right array.
14319
14320 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14321
14322 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14323
14324 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14325 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14326 * catgets/gencat.c (read_input_file): Likewise.
14327 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14328
14329 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14330 variable definition inside #if's controlling its use.
14331
14332 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14333
14334 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14335
14336 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14337
14338 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14339 unreachable code.
14340
14341 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14342
b68e08db
RM
14343 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14344 * configure: Regenerated.
14345
b350afab
RM
14346 * Makerules: Revert last change.
14347 * elf/Makefile: Likewise.
14348
28368601
RM
143492011-06-09 Roland McGrath <roland@hack.frob.com>
14350
14351 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14352 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14353 (reloc-link): Likewise.
14354
11988f8f
UD
143552011-06-09 Ulrich Drepper <drepper@gmail.com>
14356
14357 * elf/Makefile: Add rules to build pldd.
14358 * elf/pldd.c: New file.
14359 * elf/pldd-xx.c: New file.
14360
e80fab37
UD
143612011-06-07 Ulrich Drepper <drepper@gmail.com>
14362
14363 * version.h: Update for 2.15 development version.
14364
9b849836
DM
143652011-06-07 David S. Miller <davem@davemloft.net>
14366
14367 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14368 ifuncs.
14369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14370 elf_machine_lazy_rel): Likewise.
14371 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14373 elf_machine_lazy_rel): Likewise.
14374 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14375 dl_hwcap via passed in argument.
14376 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14377 Likewise.
14378
5a31b283
AK
143792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14380
14381 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14382
069e52f8
RM
143832011-06-06 Roland McGrath <roland@hack.frob.com>
14384
14385 [BZ #12849]
14386 * manual/fdl-1.1.texi: New file, verbatim from:
14387 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14388 * manual/lgpl-2.1.texi: New file, verbatim from:
14389 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14390 * manual/Makefile (licenses): New variable, list those new file names.
14391 (texis): Use it.
14392 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14393
14394 * manual/fdl.texi: File removed.
14395 * manual/lesser.texi: File removed.
14396 * manual/libc.texinfo (Copying, Documentation License):
14397 Use new @include file names, put @appendix directive before @include.
14398
f16846a5
JJ
143992011-06-04 Jakub Jelinek <jakub@redhat.com>
14400
14401 [BZ #12841]
14402 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14403 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14404 (mq_open): Add __NTH.
14405
3d29045b
L
144062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14407
14408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14409 Assume Intel Core i3/i5/i7 processor if AVX is available.
14410
8c297311
UD
144112011-05-31 Ulrich Drepper <drepper@gmail.com>
14412
14413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14414 typo.
14415
c8fc0c91
UD
144162011-05-31 Andreas Schwab <schwab@redhat.com>
14417
14418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14419 memory. Use alloca_account. Fix memory leak when retrying.
14420
5b27a807
UD
144212011-05-31 Ulrich Drepper <drepper@gmail.com>
14422
356f8bc6
UD
14423 * version.h (RELEASE): Bump for 2.14 release.
14424 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14425
5b27a807
UD
14426 * config.make.in (RANLIB): Remove entry.
14427
01f16ab0
UD
144282011-05-30 Ulrich Drepper <drepper@gmail.com>
14429
41fce8bd
UD
14430 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14431 (libc.pot): Work around missing support for .ksh extension in xgettext.
14432
4769ae77
UD
14433 [BZ #12684]
14434 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14435 if both request failed.
14436 (send_dg): In case of server errors clear resplen or *resplen2.
14437
6b1e7d19
UD
14438 [BZ #12454]
14439 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14440 when there are multiple maps.
14441 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14442 (_dl_fini): Remove test here.
14443
01f16ab0
UD
14444 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14445
b1ebd700
UD
144462011-05-29 Ulrich Drepper <drepper@gmail.com>
14447
7ae22829
UD
14448 [BZ #12350]
14449 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14450 bit from old_res_options.
14451 (gaih_inet): Likewise.
14452
553149f6 14453 [BZ #11099]
18a84741 14454 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14455 as signed.
14456
652ffab1
UD
14457 * resolv/res_init.c (res_setoptions): Make the code more compact.
14458
16985fd0
UD
14459 [BZ #11558]
14460 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14461 set RES_USEVC.
14462
0464f746
UD
14463 [BZ #11634]
14464 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14465
7d17596c
UD
14466 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14467
cf6bbbd7
UD
14468 [BZ #11781]
14469 * malloc/malloc.h: Declare malloc hook variables as volatile.
14470
13f1ab36
UD
14471 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14472 in last patch.
14473
b1ebd700
UD
14474 [BZ #11799]
14475 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14476 raise in the comment.
80e2212d
UD
14477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14479 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14480
ce67228d
UD
144812011-05-28 Ulrich Drepper <drepper@gmail.com>
14482
8887a920
UD
14483 [BZ #12811]
14484 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14485 grow the buffers more if it already has to be sufficient.
14486 (build_wcs_upper_buffer): Likewise.
14487 * posix/regexec.c (check_matching): Likewise.
14488 (clean_state_log_if_needed): Likewise.
14489 (extend_buffers): Don't enlarge buffers beyond size of the input
14490 buffer.
14491 Patches mostly by Emil Wojak <emil@wojak.eu>.
14492 * posix/bug-regex32.c: New file.
14493 * posix/Makefile (tests): Add bug-regex32.
14494
4f031072
UD
14495 * locale/findlocale.c (_nl_find_locale): Return right away if
14496 _nl_explode_name failed.
14497 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14498
d0478f0c
UD
14499 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14500
de81b246
UD
14501 * debug/xtrace.sh: Unify messages.
14502 * malloc/memusage.sh: Likewise.
14503
c738465a
UD
14504 [BZ #12813]
14505 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14506 time symbol from vDSO. Substitute with vsyscall if not available.
14507 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14508 __vdso_time.
14509
f1f929d7
UD
14510 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14511 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14512 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14513 Add sendmmsg and internal_sendmmsg.
14514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14515 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14516 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14517
ce67228d
UD
14518 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14519 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14521
e57420c6
UD
145222011-05-27 Ulrich Drepper <drepper@gmail.com>
14523
a8509ca5
UD
14524 [BZ #12813]
14525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14526 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14527 available.
14528 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14529 __vdso_getcpu.
14530
e57420c6
UD
14531 [BZ #12814]
14532 * iconvdata/Makefile (tests): Add bug-iconv9.
14533 * iconvdata/bug-iconv9.c: New file.
14534
4d07db15
AS
145352011-05-27 Andreas Schwab <schwab@redhat.com>
14536
14537 [BZ #12814]
14538 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14539
ea486f69
JJ
145402011-05-25 Jakub Jelinek <jakub@redhat.com>
14541
14542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14543 (struct user_regs_struct): Change intcs field back to cs.
14544
6f038433
UD
145452011-05-25 Ulrich Drepper <drepper@gmail.com>
14546
14547 * po/ja.po: Update from translation team.
14548
67f86a25
UD
145492011-05-23 Ulrich Drepper <drepper@gmail.com>
14550
14551 [BZ #12795]
14552 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14553 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14554
def7fbd6
AS
145552011-05-20 Andreas Schwab <schwab@redhat.com>
14556
14557 * stdlib/longlong.h: Update from GCC.
14558
f50ef8f1
AS
145592011-05-23 Andreas Schwab <schwab@redhat.com>
14560
14561 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14562 parameter name.
14563 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14564 Add parameter name.
14565 (__sysconf): Pass it down.
14566
de7ce8f1
UD
145672011-05-22 Ulrich Drepper <drepper@gmail.com>
14568
f2962a71
UD
14569 [BZ #12671]
14570 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14571 some situations.
14572 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14573 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14574 add in in __libc_use_alloca calls. Adjust callers.
14575 (glob): Use malloc in some situations.
14576
de7ce8f1
UD
14577 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14578 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14579 pltexit.
14580
aec84f53
UD
145812011-05-21 Ulrich Drepper <drepper@gmail.com>
14582
05bb4a68
UD
14583 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14584 and CLOCK_BOOTTIME_ALARM.
14585
7ea72f99
UD
14586 [BZ #12782]
14587 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14588 is returned.
14589
7e4afad5
UD
14590 * string/_strerror.c (__strerror_r): Print negative errors as signed
14591 numbers.
14592
8e211fec
UD
14593 [BZ #12777]
14594 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14595 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14596 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14597
f7d82dc9
UD
14598 * configure.in: Fix typo in redirection and correct removal of test
14599 files in two cases.
14600
cc9e536d
UD
14601 [BZ #12788]
14602 * locale/setlocale.c (new_composite_name): Fix test to check for
14603 identical name of all categories.
14604
aec84f53
UD
14605 [BZ #12792]
14606 * libio/filedoalloc.c (local_isatty): New function.
14607 (_IO_file_doallocate): Use local_isatty.
14608 * stdio-common/perror.c (perror): In case a new stream is used
14609 forward the stream error.
14610 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14611 error flag.
14612
78e64fdc
RT
146132011-05-20 Ulrich Drepper <drepper@gmail.com>
14614
34a9094f
UD
14615 [BZ #11869]
14616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14617 alloca.
14618 * include/alloca.h (extend_alloca_account): Define.
14619
78e64fdc
RT
14620 [BZ #11857]
14621 * posix/regex.h: Fix comments with documentation of user-accessible
14622 fields after compilation and describe correct free'ing of pattern
14623 after re_compile_pattern.
14624 Patch by Reuben Thomas <rrt@sc3d.org>.
14625
457bddfc
RA
146262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14627
14628 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14629 and -mno-altivec to prevent the compiler from using Altivec and/or
14630 VSX instructions when the corresponding registers are not available.
14631
a4527b51
AS
146322011-05-19 Andreas Schwab <schwab@redhat.com>
14633
14634 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14635
ed690b2f
UD
146362011-05-19 Ulrich Drepper <drepper@gmail.com>
14637
14638 * libio/freopen.c (freopen): Use __dup2, not dup2.
14639 * libio/freopen64.c (freopen64): Likewise.
14640
8db73634
L
146412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14642
14643 [BZ #12775]
14644 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14645 * math/Makefile (tests): Add test-powl.
14646 (CFLAGS-test-powl.c): Define.
14647 * math/test-powl.c: New file.
14648
0a197a9d
L
146492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14650
14651 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14652
ee30c380
UD
146532011-05-17 Ulrich Drepper <drepper@gmail.com>
14654
14655 [BZ #11837]
14656 * iconvdata/gb18030.c: Update to GB18020-2005.
14657
6ce75379
UD
146582011-05-16 Ulrich Drepper <drepper@gmail.com>
14659
a4b89fd8
AR
14660 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14661 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14662 Patch by Aharon Robbins <arnold@skeeve.com>.
14663
ea389b12
UD
14664 [BZ #11892]
14665 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14666 on the stack.
14667
68a3f91f
UD
14668 [BZ #11895]
14669 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14670 through underflows.
14671
15cc7dd1
UD
14672 [BZ #12766]
14673 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14674 point to strings before performing equality test for error_one_per_line
14675 mode.
14676
f3799213
UD
14677 [BZ #11697]
14678 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14679
d79a9c94
UD
14680 [BZ #11820]
14681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14682 (struct user_fpregs_struct): Avoid __uint*_t types.
14683
56e5eb46
UD
14684 [BZ #6420]
14685 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14686 symbol info. Use it instead of calling _dl_addr locally.
14687 (lock_and_info): New function.
14688 (tr_freehook): Call lock_and_info and pass symbol info as additional
14689 parameter to tr_where.
14690 (tr_mallochook): Likewise.
14691 (tr_reallochook): Likewise.
14692 (tr_memalignhook): Likewise.
14693
6ce75379
UD
14694 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14695 used and couldn't be at all thread-safe.
14696
f8a3b5bf
UD
146972011-05-15 Ulrich Drepper <drepper@gmail.com>
14698
94b7cc37
UD
14699 * libio/freopen.c (freopen): Don't close old file descriptor
14700 before the new one is opened. Instead dup the new file descriptor
14701 to the old one after the new stream is created.
14702 * libio/freopen64.c (freopen64): Likewise.
14703 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14704 * libio/fileops.c (_IO_new_file_close_it): Handle new
14705 _IO_FLAGS2_NOCLOSE flag.
14706 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14707 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14708 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14709 _IO_FLAGS2_NOCLOSE flag.
14710 * include/unistd.h: Add hidden_proto for dup3.
14711 Define __have_dup3.
14712 * io/dup3.c: Define hidden symbol.
14713 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14714
bd25564e
UD
14715 [BZ #7101]
14716 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14717 when an incomplete long option is used.
14718 * posix/tst-getopt_long1.c: New file.
14719 * posix/Makefile (tests): Add tst-getopt_long1.
14720
c84cfef4
UD
14721 [BZ #10138]
14722 * scripts/config.guess: Update from autoconf-2.68.
14723 * scripts/config.sub: Likewise.
14724
3b85df27
UD
14725 [BZ #10157]
14726 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14727 tests into ...
14728 (has_cpuclock): ...this. New function.
14729 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14730 macro here based on has_cpuclock code.
14731
15a856b1
UD
14732 [BZ #10149]
14733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14734 First byte (not low byte) is now always NUL.
14735 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14736
05f399e6
UD
14737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14738 Use non-cancelable interfaces.
14739
10a52685 14740 [BZ #9809]
94ecc67d
UD
14741 * locale/iso-639.def: Add entry for Sorani.
14742
f8a3b5bf
UD
14743 [BZ #11901]
14744 * include/stdlib.h: Move include protection to the right place.
14745 Define abort_msg_s. Declare __abort_msg with it.
14746 * stdlib/abort.c (__abort_msg): Adjust type.
14747 * assert/assert.c (__assert_fail_base): New function. Majority
14748 of code from __assert_fail. Allocate memory for __abort_msg with
14749 mmap.
14750 (__assert_fail): Now call __assert_fail_base.
14751 * assert/assert-perr.c: Remove bulk of implementation. Use
14752 __assert_fail_base.
14753 * include/assert.hL Declare __assert_fail_base.
14754 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14755 mmap.
14756 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14757
1af4e298
UD
147582011-05-14 Ulrich Drepper <drepper@gmail.com>
14759
f8a3b5bf 14760 [BZ #11952]
d26dfc60
MG
14761 [BZ #12453]
14762 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14763 until all modules are registered in the DTV.
14764 * elf/Makefile: Add rules to build and run tst-tls19.
14765 * elf/tst-tls19.c: New file.
14766 * elf/tst-tls19mod1.c: New file.
14767 * elf/tst-tls19mod2.c: New file.
14768 * elf/tst-tls19mod3.c: New file.
14769 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14770
2fc54d6f
UD
14771 [BZ #12083]
14772 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14773 correctly.
14774
98d76b46
UD
14775 [BZ #12601]
14776 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14777 two-byte sequence errors.
14778 * iconvdata/Makefile (tests): Add bug-iconv8.
14779 * iconvdata/bug-iconv8.c: New file.
14780
da3c19ef
UD
14781 [BZ #12626]
14782 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14783 buf2 definition.
14784
ca408c15
UD
14785 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14786
d6f67f7d
UD
14787 [BZ #12432]
14788 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14789 (dummy_getcfa): New function.
14790 (init): Get _Unwind_GetCFA address, use dummy if not found.
14791 (backtrace_helper): In recursion check, also check whether CFA changes.
14792 (__backtrace): Completely initialize arg.
14793
1af4e298 14794 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14795 storing incomplete byte sequence in state object. Avoid testing for
14796 guaranteed too small input if we know there is enough data available.
1af4e298 14797
da62f81b
AS
147982011-05-11 Andreas Schwab <schwab@redhat.com>
14799
14800 * Makeconfig (+link-pie): Indent.
14801 * Rules (binaries-pie): Define if $(have-fpie) and
14802 $(build-shared).
14803 (binaries-shared): Also filter out $(binaries-pie).
14804 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14805 * nscd/Makefile (others-pie): Add nscd.
14806 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14807 ($(objpfx)nscd): Remove command override.
14808 * login/Makefile (others-pie): Add pt_chown.
14809 ($(objpfx)pt_chown): Remove command override.
14810 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14811 remove command overrides.
14812
fcabc0f8
UD
148132011-05-13 Ulrich Drepper <drepper@gmail.com>
14814
20030ae6
UD
14815 * libio/tst_putwc.c: Fix error messages.
14816
fcabc0f8
UD
14817 [BZ #12724]
14818 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14819 currently writing and seek to current position when not.
14820 * libio/Makefile (tests): Add bug-fclose1.
14821 * libio/bug-fclose1.c: New file.
14822
320a5dc0
PB
148232011-05-12 Ulrich Drepper <drepper@gmail.com>
14824
14825 [BZ #12511]
14826 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14827 don't set DF_1_NODELETE here.
14828 (do_lookup_x): When entering new entry test for copy relocation
14829 and if necessary set DF_1_NODELETE flag.
14830 * elf/tst-unique4.cc: New file.
14831 * elf/tst-unique4.h: New file.
14832 * elf/tst-unique4lib.cc: New file.
14833 * elf/Makefile: Add rules to build and run tst-unique4.
14834 Patch by Piotr Bury <pbury@goahead.com>.
14835
22836f52
UD
148362011-05-11 Ulrich Drepper <drepper@gmail.com>
14837
f574184a
UD
14838 [BZ #12052]
14839 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14840
e1fb097f
UD
14841 [BZ #12625]
14842 * misc/mntent_r.c (addmntent): Flush the stream after the output
14843
22836f52
UD
14844 [BZ #12393]
14845 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14846 (is_trusted_path_normalize): Skip initial colon. Append slash
14847 to empty buffer. Duplicate is_trusted_path code but allow
14848 constructed patch to be prefix.
14849 (is_dst): Allow $ORIGIN followed by /.
14850 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14851 Correct testing of result of is_trusted_path_normalize
14852 (decompose_rpath): Fix warning.
14853
7b3b0b2a
UD
148542011-05-10 Ulrich Drepper <drepper@gmail.com>
14855
14856 [BZ #11257]
14857 * grp/initgroups.c (internal_getgrouplist): When we found the service
14858 list through the initgroups entry in nsswitch.conf do not always
14859 continue on a successful lookup. Don't always use the
eac80ce2 14860 __nss_group_database value if it is set.
7b3b0b2a
UD
14861 * nss/nsswitch.conf (initgroups): Change action for successful db
14862 lookup to continue for compatibility.
14863
2a81eaa5
UD
148642011-05-09 Ulrich Drepper <drepper@gmail.com>
14865
be97a69e
UD
14866 [BZ #11532]
14867 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14868 and CP774 modules.
14869 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14870 and CP774 modules.
14871 * iconvdata/tst-tables.sh: Likewise.
14872 * iconvdata/cp770.c: New file.
14873 * iconvdata/cp771.c: New file.
14874 * iconvdata/cp772.c: New file.
14875 * iconvdata/cp773.c: New file.
14876 * iconvdata/cp774.c: New file.
14877 * iconvdata/testdata/CP770: New file.
14878 * iconvdata/testdata/CP770..UTF8: New file.
14879 * iconvdata/testdata/CP771: New file.
14880 * iconvdata/testdata/CP771..UTF8: New file.
14881 * iconvdata/testdata/CP772: New file.
14882 * iconvdata/testdata/CP772..UTF8: New file.
14883 * iconvdata/testdata/CP773: New file.
14884 * iconvdata/testdata/CP773..UTF8: New file.
14885 * iconvdata/testdata/CP774: New file.
14886 * iconvdata/testdata/CP774..UTF8: New file.
14887
14888 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14889 END CHARMAP line.
14890 * iconvdata/gen-8bit-gap.sh: Likewise.
14891 * iconvdata/gen-8bit.sh: Likewise.
14892
c1e9e399
UD
14893 * locale/iso-639.def: Add ary entry.
14894
24c55fb3 14895 [BZ #11258]
96b4b1b0
UD
14896 * locale/C-translit.h.in: Add U20A1 transliteration.
14897
bdc2f971
KB
14898 [BZ #12178]
14899 * locale/iso-639.def: Add wae entry.
14900 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14901
2952b117
UD
14902 [BZ #12545]
14903 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14904 for n.
14905
2a81eaa5
UD
14906 [BZ #12711]
14907 * locale/C-translit.h.in: Add entry for U20B9.
14908 Patch by pravin.d.s@gmail.com.
14909
28377d1b
UD
149102011-05-08 Ulrich Drepper <drepper@gmail.com>
14911
7fb90fb8
UD
14912 [BZ #12713]
14913 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14914 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14915 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14916 in rtld. Use *stat64.
7fb90fb8 14917 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14918 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14919 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14920 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14921 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14922 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14923 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14924 __fstatat64 macros.
7fb90fb8
UD
14925 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14926 * dirent/rewinddir.c: Add libc_hidden_def.
14927 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14928 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14929
28377d1b
UD
14930 * include/dirent.h (__alloc_dir): Add flags parameter.
14931 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14932 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14933 __alloc_dir.
14934 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14935 from fdopendir if O_CLOEXEC is already set.
14936
66bdbaa4
AM
149372011-03-15 Alan Modra <amodra@gmail.com>
14938
14939 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14940 l_tls_firstbyte_offset non-zero. Save padding offset in
14941 l_tls_firstbyte_offset for later use.
14942 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14943 freeing static tls block.
14944
95721191
JN
149452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14946
14947 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14948 where #ifdef was intended. The intent is to prevent ARG_MAX from
14949 being defined by the kernel headers.
14950
f87dfb1f
UD
149512011-05-07 Ulrich Drepper <drepper@gmail.com>
14952
14953 [BZ #12734]
14954 * resolv/resolv.h: Define RES_NOTLDQUERY.
14955 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14956 no-tld-query and set RES_NOTLDQUERY.
14957 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14958 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14959 modern BIND to search name as TLD unless forbidden.
14960
47c3cd7a
UD
149612011-05-07 Petr Baudis <pasky@suse.cz>
14962 Ulrich Drepper <drepper@gmail.com>
14963
14964 [BZ #12393]
14965 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14966 (is_trusted_path): ...to here.
c1e9ea35 14967 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14968 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14969 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14970
8a35c912
PP
149712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14972
14973 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14974 __BEGIN/__END_DECLS.
14975
acd41f47
UD
149762011-05-06 Ulrich Drepper <drepper@gmail.com>
14977
14978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14979 NSS_STATUS_NOTFOUND if no record was found.
14980
597df647
AS
149812011-05-05 Andreas Schwab <schwab@redhat.com>
14982
14983 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14984 (headers-not-in-tirpc): Remove rpc/netdb.h
14985 * resolv/netdb.h: Revert last change.
14986
b9af1301
PP
149872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14988
14989 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14990 circular dependency between libgcc.a and libc.a.
14991
4e34d5f5
AS
149922011-05-05 Andreas Schwab <schwab@redhat.com>
14993
14994 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14995 * nis/Makefile: Don't install rpcsvc/*.
14996 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14997 instead of <rpc/types.h>.
14998 (MAXHOSTNAMELEN): Define.
14999
00ee369c
AS
150002011-05-03 Andreas Schwab <schwab@redhat.com>
15001
15002 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15003
0b592a30
MB
150042011-04-28 Maciej Babinski <mbabinski@google.com>
15005
15006 [BZ #12714]
15007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15008 gethostbyname4_r when IPv6 results are possible.
15009
6e04cbbe
UD
150102011-05-02 Ulrich Drepper <drepper@gmail.com>
15011
15012 [BZ #12723]
15013 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15014 _PC_PIPE_BUF handling.
15015
e4ecafe0
BH
150162011-04-30 Bruno Haible <bruno@clisp.org>
15017
15018 [BZ #12717]
15019 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15020 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15021 to 'int'.
15022 * inet/getnameinfo.c (getnameinfo): Likewise.
15023
125ee683
UD
150242011-04-29 Ulrich Drepper <drepper@gmail.com>
15025
15026 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15027 to groups setting in database lookup.
15028 * nss/nsswitch.conf: Add initgroups entry.
15029
b722481a
EB
150302011-04-22 Ulrich Drepper <drepper@gmail.com>
15031
15032 [BZ #12685]
15033 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15034 mode string.
15035 Patch by Eric Blake <eblake@redhat.com>.
15036
4df46dbd
L
150372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 * sunrpc/Makefile (need-export-routines): Add svc_run.
15040 (routines): Remove svc_run.
15041 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15042 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15043 * sunrpc/svc_run.c (svc_run): Likewise.
15044 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15045
e84142d2
UD
150462011-04-21 Ulrich Drepper <drepper@gmail.com>
15047
15048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15049 problem in reallocation in last patch.
15050
877175d8
UD
150512011-04-20 Ulrich Drepper <drepper@gmail.com>
15052
15053 * sunrpc/Makefile: Move inclusion of Rules.
15054
ab8eed78
UD
150552011-04-19 Ulrich Drepper <drepper@gmail.com>
15056
15057 * nss/nss_files/files-initgroups.c: New file.
15058 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15059 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15060 _nss_files_initgroups_dyn.
15061
e3d8f584
RS
150622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15063
15064 * elf/elf.h (R_ARM_IRELATIVE): Define.
15065
af190f45
UD
150662011-04-19 Ulrich Drepper <drepper@gmail.com>
15067
15068 * po/ru.po: Update from translation team.
15069
53cf59ef
UD
150702011-04-17 Ulrich Drepper <drepper@gmail.com>
15071
15072 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15073 dependencies.
15074
4c559bcd
MF
150752011-02-06 Mike Frysinger <vapier@gentoo.org>
15076
15077 [BZ #12653]
15078 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15079 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15083
4420675c
AS
150842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15085
15086 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15087 differing bytes.
15088 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15091
75ea32ab
UD
150922011-04-17 Ulrich Drepper <drepper@gmail.com>
15093
15094 [BZ #12420]
15095 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15096 storing it.
15097 * stdlib/bug-getcontext.c: New file.
15098 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15099
27390476
AK
151002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15101
15102 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15103 instructions into .machine "z9-109".
15104 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15105 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15106
10442705
AK
151072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15108
15109 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15110 between environment variables and auxiliary vector.
15111
7b57bfe5
UD
151122011-04-16 Ulrich Drepper <drepper@gmail.com>
15113
15114 * Makefile: Add rules to build linkobj/libc.so.
15115 * include/libc-symbols.h: Define libc_hidden_nolink.
15116 * include/rpc/auth.h: Mark functions which are to be hidden.
15117 * include/rpc/auth_des.h: Likewise.
15118 * include/rpc/auth_unix.h: Likewise.
15119 * include/rpc/clnt.h: Likewise.
15120 * include/rpc/des_crypt.h: Likewise.
15121 * include/rpc/key_prot.h: Likewise.
15122 * include/rpc/pmap_clnt.h: Likewise.
15123 * include/rpc/pmap_prot.h: Likewise.
15124 * include/rpc/pmap_rmt.h: Likewise.
15125 * include/rpc/rpc_msg.h: Likewise.
15126 * include/rpc/svc.h: Likewise.
15127 * include/rpc/svc_auth.h: Likewise.
15128 * include/rpc/xdr.h: Likewise.
15129 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15130 * nss/Makefile: Likewise.
15131 * sunrpc/Makefile: Don't install headers. Build library with normal
15132 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15133 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15134 for the compat linking library. Remove use of INTDEF/INTUSE.
15135 * sunrpc/auth_none.c: Likewise.
15136 * sunrpc/auth_unix.c: Likewise.
15137 * sunrpc/authdes_prot.c: Likewise.
15138 * sunrpc/authuxprot.c: Likewise.
15139 * sunrpc/clnt_gen.c: Likewise.
15140 * sunrpc/clnt_perr.c: Likewise.
15141 * sunrpc/clnt_raw.c: Likewise.
15142 * sunrpc/clnt_simp.c: Likewise.
15143 * sunrpc/clnt_tcp.c: Likewise.
15144 * sunrpc/clnt_udp.c: Likewise.
15145 * sunrpc/clnt_unix.c: Likewise.
15146 * sunrpc/des_crypt.c: Likewise.
15147 * sunrpc/des_soft.c: Likewise.
15148 * sunrpc/get_myaddr.c: Likewise.
15149 * sunrpc/key_call.c: Likewise.
15150 * sunrpc/key_prot.c: Likewise.
15151 * sunrpc/netname.c: Likewise.
15152 * sunrpc/pm_getmaps.c: Likewise.
15153 * sunrpc/pm_getport.c: Likewise.
15154 * sunrpc/pmap_clnt.c: Likewise.
15155 * sunrpc/pmap_prot.c: Likewise.
15156 * sunrpc/pmap_prot2.c: Likewise.
15157 * sunrpc/pmap_rmt.c: Likewise.
15158 * sunrpc/publickey.c: Likewise.
15159 * sunrpc/rpc_cmsg.c: Likewise.
15160 * sunrpc/rpc_common.c: Likewise.
15161 * sunrpc/rpc_dtable.c: Likewise.
15162 * sunrpc/rpc_prot.c: Likewise.
15163 * sunrpc/rpc_thread.c: Likewise.
15164 * sunrpc/rtime.c: Likewise.
15165 * sunrpc/svc.c: Likewise.
15166 * sunrpc/svc_auth.c: Likewise.
15167 * sunrpc/svc_authux.c: Likewise.
15168 * sunrpc/svc_raw.c: Likewise.
15169 * sunrpc/svc_run.c: Likewise.
15170 * sunrpc/svc_simple.c: Likewise.
15171 * sunrpc/svc_tcp.c: Likewise.
15172 * sunrpc/svc_udp.c: Likewise.
15173 * sunrpc/svc_unix.c: Likewise.
15174 * sunrpc/svcauth_des.c: Likewise.
15175 * sunrpc/xcrypt.c: Likewise.
15176 * sunrpc/xdr.c: Likewise.
15177 * sunrpc/xdr_array.c: Likewise.
15178 * sunrpc/xdr_float.c: Likewise.
15179 * sunrpc/xdr_intXX_t.c: Likewise.
15180 * sunrpc/xdr_mem.c: Likewise.
15181 * sunrpc/xdr_rec.c: Likewise.
15182 * sunrpc/xdr_ref.c: Likewise.
15183 * sunrpc/xdr_sizeof.c: Likewise.
15184 * sunrpc/xdr_stdio.c: Likewise.
15185
e6c61494
UD
151862011-04-10 Ulrich Drepper <drepper@gmail.com>
15187
15188 [BZ #12650]
15189 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15190 * sysdeps/ia64/dl-tls.h: Likewise.
15191 * sysdeps/powerpc/dl-tls.h: Likewise.
15192 * sysdeps/s390/dl-tls.h: Likewise.
15193 * sysdeps/sh/dl-tls.h: Likewise.
15194 * sysdeps/sparc/dl-tls.h: Likewise.
15195 * sysdeps/x86_64/dl-tls.h: Likewise.
15196 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15197
34fe483e
AS
151982011-03-14 Andreas Schwab <schwab@redhat.com>
15199
15200 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15201 rpath element also skip the following colon.
15202 (expand_dynamic_string_token): Add is_path parameter and pass
15203 down to DL_DST_REQUIRED and _dl_dst_substitute.
15204 (decompose_rpath): Call expand_dynamic_string_token with
15205 non-zero is_path. Ignore empty rpaths.
15206 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15207 with zero is_path.
15208
f12a32e6
AS
152092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15210
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15212 Make cancelable.
15213
38a7d692
UD
152142011-04-09 Ulrich Drepper <drepper@gmail.com>
15215
15216 [BZ #12655]
15217 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15218 Patch by Filipe David Manana <fdmanana@apache.org>.
15219
e451d22b
AS
152202011-04-07 Andreas Schwab <schwab@redhat.com>
15221
15222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15223 Maintain aligned stack.
15224 (CHECK_RSP): Remove unused macro.
15225
dedc7c7b
UD
152262011-04-03 Ulrich Drepper <drepper@gmail.com>
15227
15228 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15229 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15230
94521213
UD
152312011-04-02 Ulrich Drepper <drepper@gmail.com>
15232
15233 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15234
8cb700c0 15235 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15236
0354e355
L
152372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 [BZ #12518]
15240 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15241 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15242 * sysdeps/x86_64/memmove.c: New file.
15243 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15244 (memcpy): Renamed to ...
15245 (__new_memcpy): This.
15246 (memcpy): Provide GLIBC_2_14 memcpy.
15247 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15248 (memcpy): Provide GLIBC_2_2_5 memcpy.
15249
8593482f
UD
152502011-04-01 Ulrich Drepper <drepper@gmail.com>
15251
15252 [BZ #12631]
15253 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15254
81a5726b
AS
152552011-03-30 Andreas Schwab <schwab@redhat.com>
15256
15257 * misc/syncfs.c: New file.
15258 * misc/Makefile (routines): Add syncfs.
15259 * posix/unistd.h: Declare syncfs.
15260 * sysdeps/unix/syscalls.list: Add syncfs.
15261
00e5419f
AS
152622011-04-01 Andreas Schwab <schwab@redhat.com>
15263
15264 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15265 open_by_handle_at.
15266 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15271 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15273
748876bf
UD
152742011-04-01 Ulrich Drepper <drepper@gmail.com>
15275
658e451d
UD
15276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15283
748876bf
UD
15284 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15285 sync_file_range.c with -fexceptions.
15286 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15287 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15288 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15289 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15290 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15291 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15293 sync_file_range as cancellation point
15294 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15295 now a wrapper around __call_sync_file_range with cancellation handling.
15296 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15297 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15298 function name to __call_sync_file_range.
15299 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15300 Add call_sync_file_range.
748876bf 15301
6e63d5e1
AS
153022011-04-01 Andreas Schwab <schwab@redhat.com>
15303
15304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15305 bits/timex.h.
6e63d5e1 15306
46998f74
UD
153072011-04-01 Ulrich Drepper <drepper@gmail.com>
15308
4c1423ed
UD
15309 * iconv/iconv.h: Fix typo in comment.
15310 * io/fcntl.h: Likewise.
15311 * libio/stdio.h: Likewise.
15312 * posix/spawn.h: Likewise.
15313 * posix/unistd.h: Likewise.
15314 * stdlib/stdlib.h: Likewise.
15315 * time/time.h: Likewise.
15316 * wcsmbs/wchar.h: Likewise.
15317
158648c0
UD
15318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15319 open_by_handle): Add.
15320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15321 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15322 Augment a few comments.
15323 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15325 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15328 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15329 open_by_handle.
15330
46998f74
UD
15331 * io/fcntl.h (AT_EMPTY_PATH): Define.
15332
83fe108b
UD
153332011-03-30 Ulrich Drepper <drepper@gmail.com>
15334
15335 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15336 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15337 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15338 to...
15339 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15340 * Versions.def: Add GLIBC_2.14.
15341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15342 Export.
83fe108b 15343
bb242059
UD
153442011-03-22 Ulrich Drepper <drepper@gmail.com>
15345
15346 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15347 round counter.
15348 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15349
c97a1282
L
153502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15351
15352 [BZ #12597]
15353 * string/test-strncmp.c (do_page_test): New function.
15354 (check2): Likewise.
15355 (test_main): Call check2.
15356 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15357
2a115601
UD
153582011-03-20 Ulrich Drepper <drepper@gmail.com>
15359
15360 [BZ #12587]
15361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15362 Handle cache information in CPU leaf 4.
15363 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15364
8126d904
UD
153652011-03-18 Ulrich Drepper <drepper@gmail.com>
15366
042c49c6 15367 [BZ #12583]
8126d904
UD
15368 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15369 character representation.
15370 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15371
ccfe366e
RA
153722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15373
15374 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15375 END(__isnan) to END(__isnanf) to match function entry point/label
15376 EALIGN(__isnanf,...).
15377
c6e13027
JJ
153782011-03-10 Jakub Jelinek <jakub@redhat.com>
15379
15380 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15381
33f85a3f
UD
153822011-03-10 Ulrich Drepper <drepper@gmail.com>
15383
028478fa
UD
15384 [BZ #12510]
15385 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15386 copy from the symbol referenced in the relocation to initialize the
15387 used variable.
15388 Patch by Piotr Bury <pbury@goahead.com>.
15389 * elf/Makefile: Add rules to build and tst-unique3.
15390 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15391 * elf/tst-unique3.cc: New file.
15392 * elf/tst-unique3.h: New file.
15393 * elf/tst-unique3lib.cc: New file.
15394 * elf/tst-unique3lib2.cc: New file.
15395
33f85a3f
UD
15396 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15397
03592fc7
MF
153982011-03-10 Mike Frysinger <vapier@gentoo.org>
15399
15400 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15401 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15402 to _start.
03592fc7 15403
6a5ee102
UD
154042011-03-06 Ulrich Drepper <drepper@gmail.com>
15405
15406 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15407 to-be-loaded object along a path to loader is ld.so.
15408
7e4ba49c
HJ
154092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15410 Ulrich Drepper <drepper@gmail.com>
15411
15412 * sysdeps/x86_64/memset.S: After aligning destination, code
15413 branches to different locations depending on the value of
15414 misalignment, when multiarch is enabled. Fix this.
15415
154162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15417
15418 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15419 Set _x86_64_preferred_memory_instruction for AMD processsors.
15420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15421 Set bit_Prefer_SSE_for_memop for AMD processors.
15422
13a804de
UD
154232011-03-04 Ulrich Drepper <drepper@gmail.com>
15424
15425 * libio/fmemopen.c (fmemopen): Optimize a bit.
15426
9d25c392
AS
154272011-03-03 Andreas Schwab <schwab@redhat.com>
15428
15429 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15430
a5543c6a
RM
154312011-03-03 Roland McGrath <roland@redhat.com>
15432
15433 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15434
012d35f7
DM
154352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15436
7e4ba49c 15437 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15438 __bzero_ultra1 instead of __memset_ultra1.
15439
4bff6e01
AS
154402011-02-23 Andreas Schwab <schwab@redhat.com>
15441 Ulrich Drepper <drepper@gmail.com>
15442
15443 [BZ #12509]
15444 * include/link.h (struct link_map): Add l_orig_initfini.
15445 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15446 returning unsuccessfully.
15447 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15448 close of a file loaded at startup, restore the original l_initfini
15449 list.
15450 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15451 list, store the pointer.
15452 * elf/Makefile ($(objpfx)noload-mem): New rule.
15453 (noload-ENV): Define.
15454 (tests): Add $(objpfx)noload-mem.
15455 * elf/noload.c: Include <memcheck.h>.
15456 (main): Call mtrace. Close all opened handles.
15457
f2092faf
AS
154582011-02-17 Andreas Schwab <schwab@redhat.com>
15459
15460 [BZ #12454]
15461 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15462 dependencies are missing.
15463
6c8a2e88
ST
154642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15465
f2092faf 15466 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15467 Hurd needs munmap.
15468 * sysdeps/mach/hurd/ifreq.h: New file.
15469
84a42118
PB
154702011-01-27 Petr Baudis <pasky@suse.cz>
15471 Ulrich Drepper <drepper@gmail.com>
15472
071f805e 15473 [BZ 12445]#
84a42118
PB
15474 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15475 to extend_alloca().
15476 * stdio-common/bug23.c: New file.
15477 * stdio-common/Makefile (tests): Add bug23.
15478
e23fe25b
AS
154792010-09-28 Andreas Schwab <schwab@redhat.com>
15480 Ulrich Drepper <drepper@gmail.com>
15481
15482 [BZ #12489]
15483 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15484 before performing relro protection. At old place add assertion
15485 to make sure nothing changed.
15486
d3f02e10
NS
154872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15488 Glauber de Oliveira Costa <glommer@gmail.com>
15489
15490 * elf/elf.h: Add new ARM TLS relocs.
15491
d55fd7a5
RA
154922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15493
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15495 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15496 cast from r3.
15497 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15498 'tests' variable.
15499 * sysdeps/wordsize-64/tst-writev.c: New file.
15500
2206397e
RA
155012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15502
15503 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15504 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15505 insns in _dl_start to prevent a TOC reference before relocs are
15506 resolved.
15507
e9433893
UD
155082011-02-15 Ulrich Drepper <drepper@gmail.com>
15509
15510 [BZ #12469]
15511 * Makeconfig: Remove RANLIB definition.
15512 * Makerules: Don't use RANLIB.
15513 * aclocal.m4: Remove ranlib test.
15514 * configure.in: No need to check for ranlib.
15515 * elf/rtld-Rules: Don't use RANLIB.
15516
f75286c6
ST
155172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15518
8e31c82d
ST
15519 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15520 protection macro.
15521 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15522 inclusion protection macro.
15523
f75286c6
ST
15524 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15525 SIGRTMIN and SIGRTMAX and print information in that case only when
15526 SIGRTMIN is defined.
15527
c1d0e639
JJ
155282011-02-11 Jakub Jelinek <jakub@redhat.com>
15529
15530 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15531 arginfo fn returning -1.
15532
15533 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15534 and thousands string is zero terminated.
15535
edf9294e
AS
155362011-02-03 Andreas Schwab <schwab@redhat.com>
15537
15538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15539 sysdeps/unix/sysv/linux/bits/socket.h.
15540
2b7e92df
ST
155412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15542
edf9294e
AS
15543 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15544 (__CPU_COUNT): Remove old macros.
15545 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15546 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15547 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15548 (__sched_cpualloc, __sched_cpufree): Add declarations.
15549
a4c7ea7b
UD
155502011-02-05 Ulrich Drepper <drepper@gmail.com>
15551
15552 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15553 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15554 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15555 (readdhstai): Return value of addhstaiX call.
15556 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15557 (addgrbyX): Return value returned by cache_addgr.
15558 (readdgrbyname): Return value returned by addgrbyX.
15559 (readdgrbygid): Likewise.
15560 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15561 (addpwbyX): Return value returned by cache_addpw.
15562 (readdpwbyname): Return value returned by addhstbyX.
15563 (readdpwbyuid): Likewise.
15564 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15565 (addservbyX): Return value returned by cache_addserv.
15566 (readdservbyname): Return value returned by addservbyX:
15567 (readdservbyport): Likewise.
15568 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15569 (addhstbyX): Return value returned by cache_addhst.
15570 (readdhstbyname): Return value returned by addhstbyX.
15571 (readdhstbyaddr): Likewise.
15572 (readdhstbynamev6): Likewise.
15573 (readdhstbyaddrv6): Likewise.
15574 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15575 (readdinitgroups): Return value returned by addinitgroupsX.
15576 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15577 (prune_cache): Keep track of timeout value of re-added entries.
15578 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15579 * nscd/nscd.h: Adjust prototypes of readd* functions.
15580
a0bf67cc
RM
155812011-02-04 Roland McGrath <roland@redhat.com>
15582
15583 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15584 (nis_stats): Likewise.
15585 * nis/nis_modify.c (nis_modify): Likewise.
15586 * nis/nis_remove.c (nis_remove): Likewise.
15587 * nis/nis_add.c (nis_add): Likewise.
15588
15589 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15590
15591 * posix/fnmatch_loop.c: Add some consts.
15592
15593 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15594
435b95eb
L
155952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 [BZ #12460]
15598 * config.make.in (config-cflags-novzeroupper): Define.
15599 * configure.in: Substitute libc_cv_cc_novzeroupper.
15600 * elf/Makefile (AVX-CFLAGS): Define.
15601 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15602 (CFLAGS-tst-auditmod4a.c): Likewise.
15603 (CFLAGS-tst-auditmod4b.c): Likewise.
15604 (CFLAGS-tst-auditmod6b.c): Likewise.
15605 (CFLAGS-tst-auditmod6c.c): Likewise.
15606 (CFLAGS-tst-auditmod7b.c): Likewise.
15607 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15608
8517b15e
UD
156092011-02-02 Ulrich Drepper <drepper@gmail.com>
15610
15611 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15612 function to the callback.
15613 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15614
10a656fe
AS
156152011-02-02 Andreas Schwab <schwab@redhat.com>
15616
15617 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15618 of errno.
15619
968dad0a
UD
156202011-01-19 Ulrich Drepper <drepper@gmail.com>
15621
9f94d2ea 15622 [BZ #11724]
968dad0a
UD
15623 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15624 of constructors.
15625 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15626 of destructors.
15627 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15628
15629 [BZ #11724]
15630 * elf/Makefile: Add rules to build and run new test.
15631 * elf/tst-initorder.c: New file.
15632 * elf/tst-initorder.exp: New file.
15633 * elf/tst-initordera1.c: New file.
15634 * elf/tst-initordera2.c: New file.
15635 * elf/tst-initordera3.c: New file.
15636 * elf/tst-initordera4.c: New file.
15637 * elf/tst-initorderb1.c: New file.
15638 * elf/tst-initorderb2.c: New file.
15639 * elf/tst-order-a1.c: New file.
15640 * elf/tst-order-a2.c: New file.
15641 * elf/tst-order-a3.c: New file.
15642 * elf/tst-order-a4.c: New file.
15643 * elf/tst-order-b1.c: New file.
15644 * elf/tst-order-b2.c: New file.
15645 * elf/tst-order-main.c: New file.
15646 New test case by George Gensure <werkt0@gmail.com>.
15647
86e92359
UD
156482010-10-01 Andreas Schwab <schwab@redhat.com>
15649
15650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15651 decoding ACE if AI_CANONIDN.
15652
5d5732b0
UD
156532011-01-18 Ulrich Drepper <drepper@gmail.com>
15654
15655 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15656
a77e8cbc
UD
156572011-01-17 Ulrich Drepper <drepper@gmail.com>
15658
6392473f
UD
15659 * version.h (RELEASE): Bump for 2.13 release.
15660 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15661
620a0529
UD
15662 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15663
18ba70a5
UD
15664 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15665 MADV_NOHUGEPAGE.
32465c3e
UD
15666 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15667 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15671 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15672
c0dafcf1
UD
15673 * posix/getconf.c: Update copyright year.
15674 * catgets/gencat.c: Likewise.
15675 * csu/version.c: Likewise.
15676 * debug/catchsegv.sh: Likewise.
15677 * debug/xtrace.sh: Likewise.
15678 * elf/ldconfig.c: Likewise.
15679 * elf/ldd.bash.in: Likewise.
15680 * elf/sprof.c (print_version): Likewise.
15681 * iconv/iconv_prog.c: Likewise.
15682 * iconv/iconvconfig.c: Likewise.
15683 * locale/programs/locale.c: Likewise.
15684 * locale/programs/localedef.c: Likewise.
15685 * malloc/memusage.sh: Likewise.
15686 * malloc/mtrace.pl: Likewise.
15687 * nscd/nscd.c (print_version): Likewise.
15688 * nss/getent.c: Likewise.
15689
a77e8cbc
UD
15690 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15691 PF_CAIF, and PF_ALG.
15692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15693
77e8bddf
AS
156942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15695
1f20b93a
AS
15696 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15697 (modules-names): Use them.
15698 (ifunc-test-modules, ifunc-pie-tests): Define.
15699 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15700 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15701 (test-extras): Likewise.
15702 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15703 $(compile-command.c).
15704 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15705 (all-built-dso): Define.
15706 (check-textrel.out, check-execstack.out): Depend on it.
15707
77e8bddf
AS
15708 * configure.in: Don't override --enable-multi-arch.
15709
bc425b33
UD
157102011-01-15 Ulrich Drepper <drepper@gmail.com>
15711
15712 [BZ #6812]
15713 * nscd/hstcache.c (tryagain): Define.
15714 (cache_addhst): Return tryagain not notfound for temporary errors.
15715 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15716 failed.
15717
794c3ad3
UD
157182011-01-14 Ulrich Drepper <drepper@gmail.com>
15719
70181fdd
UD
15720 [BZ #10563]
15721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15722 to make the syscall.
15723 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15724
794c3ad3
UD
15725 [BZ #12378]
15726 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15727 and fall back to matching as normal character if the string ends before
15728 the matching ']' is found. This is what POSIX requires.
15729 * posix/testfnm.c: Adjust test result.
15730 * posix/globtest.sh: Adjust test result. Add new test.
15731 * posix/tst-fnmatch.input: Likewise.
15732 * posix/tst-fnmatch2.c: Add new test.
15733
68dc9497
AS
157342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15735
15736 * elf/Makefile (check-execstack): Revert last change. Depend on
15737 check-execstack.h.
15738 (check-execstack.h): New target.
15739 (generated): Add check-execstack.h.
15740 * elf/check-execstack.c: Include "check-execstack.h".
15741 (main): Revert last change.
15742 (handle_file): Return zero if GNU_STACK is absent and
15743 DEFAULT_STACK_PERMS doesn't include PF_X.
15744
451f001b
UD
157452011-01-13 Ulrich Drepper <drepper@gmail.com>
15746
cfa28e56
UD
15747 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15748 in child fails because the descriptor is already closed.
8cf8ce17
UD
15749 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15750 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15751 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15752
1086d70d
UD
15753 [BZ #12397]
15754 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15755 syscall.
15756
451f001b
UD
15757 [BZ #10484]
15758 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15759 temporary buffer used to handle multi lookups locally.
a85b5cb4 15760 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15761
08769175
UD
157622011-01-12 Ulrich Drepper <drepper@gmail.com>
15763
15764 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15765 loader is ld.so.
15766
5e49c52e
UD
157672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15768
15769 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15770 alignment for SSE2.
15771
60522a5f
UD
157722011-01-12 Ulrich Drepper <drepper@gmail.com>
15773
15774 [BZ #12394]
15775 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15776 characters. When rounding increased number of integer digits recompute
15777 number of groups.
15778 * stdio-common/tst-grouping.c: New file.
15779 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15780
f257bbd7
UD
157812011-01-09 Ulrich Drepper <drepper@gmail.com>
15782
15783 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15784 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15785
15786 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15787 void.
15788 * bits/select.h: Likewise.
15789
fa9c15cb
UD
157902011-01-08 Ulrich Drepper <drepper@gmail.com>
15791
15792 * po/ja.po: Update from translation team.
15793
16c2895f
DM
157942011-01-04 David S. Miller <davem@sunset.davemloft.net>
15795
15796 [BZ #11155]
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15798 implementation just like for lxstat, fxstatat, et al.
15799
2543fef2
JM
158002010-12-27 Jim Meyering <meyering@redhat.com>
15801
15802 [BZ #12348]
15803 * posix/regexec.c (build_trtable): Return failure indication upon
15804 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15805
98727dbe
UD
158062010-12-25 Ulrich Drepper <drepper@gmail.com>
15807
5bd6dc5c
UD
15808 [BZ #12201]
15809 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15810 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15811 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15813
97983464
UD
15814 [BZ #12207]
15815 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15816
98727dbe
UD
15817 [BZ #12204]
15818 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15819 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15820
4a531bb0
L
158212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15822
15823 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15824 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15825 script has SORT_BY_INIT_PRIORITY.
15826 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15827 NO_CTORS_DTORS_SECTIONS is defined.
15828 * elf/soinit.c: Likewise.
15829 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15830 NO_CTORS_DTORS_SECTIONS is defined.
15831 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15832 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15833 * sysdeps/sh/init-first.c: Likewise.
15834 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15835
07eb4b71
UD
158362010-12-24 Ulrich Drepper <drepper@gmail.com>
15837
15838 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15839 always use the slow path.
15840
30950a5f
RA
158412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15842
15843 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15844 similar rule which adds the sysdep directories to the header search in
15845 order to pick up the correct platform stackinfo.h.
15846 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15847 perform test if it is, otherwise return successfully without testing.
15848 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15849 DEFAULT_STACK_PERMS define in stackinfo.h.
15850 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15851 defined in stackinfo.h.
15852 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15853 DEFAULT_STACK_PERMS defined in stackinfo.h.
15854 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15855 * sysdeps/ia64/stackinfo.h: Likewise.
15856 * sysdeps/s390/stackinfo.h: Likewise.
15857 * sysdeps/sh/stackinfo.h: Likewise.
15858 * sysdeps/sparc/stackinfo.h: Likewise.
15859 * sysdeps/x86_64/stackinfo.h: Likewise.
15860 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15861 PF_X for powerpc64. Retain PF_X for powerpc32.
15862
db753e2c
UD
158632010-12-19 Ulrich Drepper <drepper@gmail.com>
15864
14b697f7
UD
15865 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15866 accurately.
db753e2c
UD
15867 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15868 GETDENTS_64BIT_ALIGNED.
15869
28300719
UD
158702010-12-14 Ulrich Drepper <dreper@gmail.com>
15871
14b697f7 15872 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15873
4f197237
AS
158742010-12-10 Andreas Schwab <schwab@redhat.com>
15875
dbb0472f
AS
15876 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15877 _GNU_SOURCE.
15878
4f197237
AS
15879 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15880 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15881 Remove __restrict.
15882 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15883 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15884
fb88ac72
UD
158852010-12-09 Ulrich Drepper <drepper@gmail.com>
15886
15887 [BZ #11655]
15888 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15889 are initialized.
15890
42acbb92
JJ
158912010-12-09 Jakub Jelinek <jakub@redhat.com>
15892
15893 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15894
c038d98d
UD
158952010-12-03 Ulrich Drepper <drepper@gmail.com>
15896
15897 * po/it.po: Update from translation team.
15898
3a4a2499
L
158992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15902 unused codes.
15903
1e24cf6e
UD
159042010-11-30 Ulrich Drepper <drepper@gmail.com>
15905
15906 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15907
a7690819
AS
159082010-11-24 Andreas Schwab <schwab@redhat.com>
15909
15910 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15911 specially.
15912 (gaih_getanswer_slice): Likewise.
15913
3bf8d1b1
JJ
159142010-10-20 Jakub Jelinek <jakub@redhat.com>
15915
15916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15917
6db52fbb
PB
159182010-05-31 Petr Baudis <pasky@suse.cz>
15919
15920 [BZ #11149]
15921 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15922 silently even in the chroot mode.
15923
eaca7569
UD
159242010-11-22 Ulrich Drepper <drepper@gmail.com>
15925
15926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15927 last patch a bit. Pretty printing
15928
3056dcdb
UD
159292010-05-31 Petr Baudis <pasky@suse.cz>
15930
15931 [BZ #10085]
15932 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15933 initialization of skip_initgroups_dyn.
15934
cf7c9078
UD
159352010-11-19 Ulrich Drepper <drepper@gmail.com>
15936
15937 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15938 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15939
a1fb5e3e
UD
159402010-11-16 Ulrich Drepper <drepper@gmail.com>
15941
15942 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15943
3540d66b
AS
159442010-11-11 Andreas Schwab <schwab@redhat.com>
15945
15946 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15947 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15948 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15949 ($(objpfx)tst-fnmatch-mem): New rule.
15950 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15951 * posix/tst-fnmatch.c (main): Call mtrace.
15952
13b69574
L
159532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15954
15955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15956 Support Intel processor model 6 and model 0x2c.
15957
da93d214
LM
159582010-11-10 Luis Machado <luisgpm@br.ibm.com>
15959
15960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15961 signed comparison.
15962
8ca52c6e
L
159632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15964
15965 [BZ #12205]
15966 * string/test-strncasecmp.c (check_result): New function.
15967 (do_one_test): Use it.
15968 (check1): New function.
15969 (test_main): Use it.
15970 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15971 Support strcasecmp and strncasecmp.
15972
69da074d
UD
159732010-11-08 Ulrich Drepper <drepper@gmail.com>
15974
15975 [BZ #12194]
15976 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15978
ff02d528
L
159792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15980
15981 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15982 IFUNC support.
15983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15984 memset-x86-64.
15985 * sysdeps/x86_64/multiarch/bzero.S: New file.
15986 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15987 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15988 * sysdeps/x86_64/multiarch/memset.S: New file.
15989 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15991 Set bit_Prefer_SSE_for_memop for Intel processors.
15992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15993 Define.
15994 (index_Prefer_SSE_for_memop): Define.
15995 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15996
344d0b54
LM
159972010-11-04 Luis Machado <luisgpm@br.ibm.com>
15998
15999 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16000 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16001
c0dde15b
UD
160022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16003
16004 [BZ #12191]
16005 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16006 (__x86_64_raw_data_cache_size_half): Likewise.
16007 (__x86_64_raw_shared_cache_size): Likewise.
16008 (__x86_64_raw_shared_cache_size_half): Likewise.
16009
16010 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16011 (__x86_64_raw_data_cache_size_half): Likewise.
16012 (__x86_64_raw_shared_cache_size): Likewise.
16013 (__x86_64_raw_shared_cache_size_half): Likewise.
16014 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16015 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16016 and __x86_64_raw_shared_cache_size_half. Round
16017 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16018 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16019 to multiple of 256 bytes.
16020
0e516e0e
MS
160212010-11-03 Ulrich Drepper <drepper@gmail.com>
16022
16023 [BZ #12167]
16024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16025 of inacessible symlinks. Verify result of symlink before returning it.
16026 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16027 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16028
0e012e87
ER
160292010-10-28 Erich Ritz <erichritz@gmail.com>
16030
16031 * math/math.h (isinf): Fix typo in comment.
16032
de0ff7bc
UD
160332010-11-01 Ulrich Drepper <drepper@gmail.com>
16034
16035 * po/da.po: Update from translation team.
16036
fa41c84d
UD
160372010-10-26 Ulrich Drepper <drepper@gmail.com>
16038
16039 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16040 is added to the list.
16041
f0967738
AK
160422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16043 Ulrich Drepper <drepper@gmail.com>
16044
16045 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16046 the global list here. Move code to...
16047 (_dl_add_to_namespace_list): ...here. New function.
16048 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16049 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16050 * elf/dl-load.c (lose): Don't remove the element from the list.
16051 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16052 (_dl_map_object): Likewise.
16053
160542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16055
16056 [BZ #12159]
16057 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16058 into all bytes of SSE register.
16059 Patch by Richard Li <richardpku@gmail.com>.
16060
f0967738 160612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16062
16063 [BZ #12140]
16064 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16065 perturbing.
16066
d0b9e94f
MB
160672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16068
16069 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16070 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16071 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16072 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16074 submachine.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16076
8e9f92e9
AS
160772010-10-22 Andreas Schwab <schwab@redhat.com>
16078
16079 * include/dlfcn.h (__RTLD_SECURE): Define.
16080 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16081 mode & __RTLD_SECURE instead.
16082 (open_path): Rename preloaded parameter to secure.
16083 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16084 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16085 * elf/dl-deps.c (openaux): Likewise.
16086 * elf/rtld.c (struct map_args): Remove is_preloaded.
16087 (map_doit): Don't use it.
16088 (dl_main): Likewise.
16089 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16090 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16091
bc96fbda
AS
160922010-09-09 Andreas Schwab <schwab@redhat.com>
16093
16094 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16095 (sysd-rules-targets): Remove duplicates.
16096 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16097 rtld-%.$o dependency.
16098
22cd1c9b
AS
160992010-10-18 Andreas Schwab <schwab@redhat.com>
16100
16101 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16102 _dl_map_object do it.
16103
18edac48
UD
161042010-10-19 Ulrich Drepper <drepper@gmail.com>
16105
16106 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16107 fast fma builtins, define the macros in the C99 standard.
16108 (FP_FAST_FMAF): Likewise.
16109 (FP_FAST_FMAL): Likewise.
16110 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16111
16112 * bits/mathdef.h: Update copyright year.
16113 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16114
d2050124
MM
161152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16116
16117 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16118 builtins, define the macros in the C99 standard.
16119 (FP_FAST_FMAF): Likewise.
16120 (FP_FAST_FMAL): Likewise.
16121 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16122 multiply/add.
16123 (FP_FAST_FMAF): Likewise.
16124
475facd1
JJ
161252010-10-15 Jakub Jelinek <jakub@redhat.com>
16126
16127 [BZ #3268]
16128 * math/libm-test.inc (fma_test): Some new testcases.
16129 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16130 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16131 y and infinite z. Do multiplication by C already in long double.
16132 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16134 y and infinite z. Do bitwise or of inexact bit into u.d.
16135 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16136 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16137 * sysdeps/i386/fpu/s_fma.S: Removed.
16138 * sysdeps/i386/fpu/s_fmal.S: Removed.
16139
7c08a05c
JJ
161402010-10-16 Jakub Jelinek <jakub@redhat.com>
16141
16142 [BZ #3268]
16143 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16145 computation is not scheduled after fetestexcept. Fix value
16146 of minimum denormal long double.
16147
f3f7372d
JJ
161482010-10-14 Jakub Jelinek <jakub@redhat.com>
16149
16150 [BZ #3268]
16151 * math/libm-test.inc (fma_test): Add some more tests.
16152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16153 correctly.
16154
14d43591
AS
161552010-10-15 Andreas Schwab <schwab@redhat.com>
16156
16157 * scripts/data/localplt-s390-linux-gnu.data: New file.
16158 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16159
5e908464
JJ
161602010-10-13 Jakub Jelinek <jakub@redhat.com>
16161
16162 [BZ #3268]
16163 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16164 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16165 instead of dbl-64.
16166 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16167 inlines.
16168 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16170 if one of x and y is very large and the other is subnormal.
16171 * sysdeps/s390/fpu/s_fmaf.c: New file.
16172 * sysdeps/s390/fpu/s_fma.c: New file.
16173 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16174 * sysdeps/powerpc/fpu/s_fma.S: New file.
16175 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16176 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16177 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16178
161792010-10-12 Jakub Jelinek <jakub@redhat.com>
16180
16181 [BZ #3268]
16182 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16183 fma tests.
16184 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16185 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16186 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16187 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16188 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16189 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16190 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16191
b833d51f
UD
161922010-10-12 Ulrich Drepper <drepper@redhat.com>
16193
16194 [BZ #12078]
16195 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16196 * posix/bug-regex31.input: Add test case.
16197
1751705d
UD
161982010-10-11 Ulrich Drepper <drepper@gmail.com>
16199
e9b9cbf5
UD
16200 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16201 * posix/bug-regex31.input: New file.
16202
16203 [BZ #12078]
16204 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16205 (parse_sub_exp): Fix last change, use postorder.
16206
ef06edbe
UD
16207 * posix/bug-regex31.c: New file.
16208 * posix/Makefile: Add rules to build and run bug-regex31.
16209
a129c80d
UD
16210 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16211
16212 [BZ #12078]
16213 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16214
b76b818e
UD
16215 [BZ #12108]
16216 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16217 to have entries in sys_siglist.
16218
1751705d
UD
16219 [BZ #12093]
16220 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16221 be NULL.
16222
9ff8d36f
JJ
162232010-10-07 Jakub Jelinek <jakub@redhat.com>
16224
16225 [BZ #3268]
16226 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16227 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16228 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16229 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16230 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16231 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16232 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16233 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16234 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16235 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16236 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16237 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16238 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16239 * math/ftestexcept.c (fetestexcept): Likewise.
16240 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16241 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16242 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16243 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16244 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16245 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16247
af325969
UD
162482010-10-11 Ulrich Drepper <drepper@gmail.com>
16249
c579b202 16250 [BZ #12107]
af325969
UD
16251 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16252 newline.
16253
67a67b95
UD
162542010-10-06 Ulrich Drepper <drepper@gmail.com>
16255
16256 * string/bug-strstr1.c: New file.
16257 * string/Makefile: Add rules to build and run bug-strstr1.
16258
5fb308bc
EB
162592010-10-05 Eric Blake <eblake@redhat.com>
16260
16261 [BZ #12092]
16262 * string/str-two-way.h (two_way_long_needle): Always clear memory
16263 when skipping input due to the shift table.
16264
45db99c7
UD
162652010-10-03 Ulrich Drepper <drepper@gmail.com>
16266
3b111893
UD
16267 [BZ #12005]
16268 * malloc/mcheck.c: Handle large requests.
16269
45db99c7
UD
16270 [BZ #12077]
16271 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16272 for strncmp and strncasecmp.
16273 * string/stratcliff.c: Add tests for strcmp and strncmp.
16274 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16275
cf7a1eb8
NI
162762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16277
16278 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16279 __set_fpscr.
16280
6484ba5e
AJ
162812010-09-30 Andreas Jaeger <aj@suse.de>
16282
16283 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16284 (CGROUP_SUPER_MAGIC): Define.
16285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16286 Handle btrfs and cgroup file systems.
16287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16288 Likewise.
16289
91c42559
LM
162902010-09-27 Luis Machado <luisgpm@br.ibm.com>
16291
16292 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16293 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16294
87a97932
AK
162952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16296
16297 [BZ #12067]
16298 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16299 trying to locate the ELF header.
16300
c21cc9bc
AS
163012010-09-27 Andreas Schwab <schwab@redhat.com>
16302
16303 [BZ #11611]
16304 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16305 Mask out sign-bit copies when constructing f_fsid.
16306
315970f6
PB
163072010-09-24 Petr Baudis <pasky@suse.cz>
16308
16309 * debug/stack_chk_fail_local.c: Add missing licence exception.
16310 * debug/warning-nop.c: Likewise.
16311
1ac7a2c7
JM
163122010-09-15 Joseph Myers <joseph@codesourcery.com>
16313
16314 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16315 implementing getdents64 using getdents syscall, set d_type if
16316 __ASSUME_GETDENTS32_D_TYPE.
16317
56801c50
AS
163182010-09-16 Andreas Schwab <schwab@redhat.com>
16319
16320 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16321 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16322
dda51327
UD
163232010-09-21 Ulrich Drepper <drepper@redhat.com>
16324
16325 [BZ #12037]
16326 * posix/unistd.h: Undo change of feature selection for ftruncate from
16327 2010-01-11.
16328
8ffcee4a
UD
163292010-09-20 Ulrich Drepper <drepper@redhat.com>
16330
a545ecd9 16331 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16332 detection.
16333
e24f0a8b
AS
163342010-09-20 Andreas Schwab <schwab@redhat.com>
16335
16336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16337 fanotify_mark.
16338 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16339
7291c56f
AS
163402010-09-14 Andreas Schwab <schwab@redhat.com>
16341
16342 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16343 variables after CHECK_SP call.
16344 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16345
bc5fb037
AS
163462010-09-13 Andreas Schwab <schwab@redhat.com>
16347 Ulrich Drepper <drepper@redhat.com>
16348
16349 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16350 re-relocationg ld.so.
16351 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16352 _dl_init_paths call.
16353 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16354 here anymore.
16355
e66e7419
UD
163562010-09-14 Ulrich Drepper <drepper@redhat.com>
16357
16358 * resolv/res_init.c (__res_vinit): Count the default server we added.
16359
c044aa75
CLT
163602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16361 Ulrich Drepper <drepper@redhat.com>
16362
16363 [BZ #11968]
16364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16365 (____longjmp_chk): Use %ebx for saving value across system call.
16366 Add unwind info.
16367
32cf4069
AS
163682010-09-06 Andreas Schwab <schwab@redhat.com>
16369
16370 * manual/Makefile: Don't mix pattern rules with normal rules.
16371
817328ee
AS
163722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16373
16374 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16375 operation.
16376 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16377 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16378 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16379 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16381 Likewise.
16382
29fddf61
UD
163832010-09-04 Ulrich Drepper <drepper@redhat.com>
16384
16385 [BZ #11979]
16386 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16387 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16388
0959ffc9
UD
163892010-09-02 Ulrich Drepper <drepper@redhat.com>
16390
16391 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16392 * sysdeps/x86_64/addmul_1.S: Likewise.
16393 * sysdeps/x86_64/lshift.S: Likewise.
16394 * sysdeps/x86_64/mul_1.S: Likewise.
16395 * sysdeps/x86_64/rshift.S: Likewise.
16396 * sysdeps/x86_64/sub_n.S: Likewise.
16397 * sysdeps/x86_64/submul_1.S: Likewise.
16398
ece29840
ST
163992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16400
0959ffc9
UD
16401 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16402 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16403 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16404 * bits/sched.h [__need_schedparam]
ece29840 16405 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16406 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16407 (__defined_schedparam): Define to 1.
ece29840
ST
16408 (__sched_param): New structure, identical to sched_param.
16409 (__need_schedparam): Undefine.
16410
e53a31fe
MF
164112010-08-31 Mike Frysinger <vapier@gentoo.org>
16412
fdc0c10d
MF
16413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16414 (epoll_create1): Declare.
16415
e53a31fe
MF
16416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16417
a726d796
AS
164182010-08-31 Andreas Schwab <schwab@redhat.com>
16419
16420 [BZ #7066]
16421 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16422 shifting retval into place.
16423
2f3e3dc7
UD
164242010-09-01 Ulrich Drepper <drepper@redhat.com>
16425
f2933da9
UD
16426 * nis/rpcsvc/nis.h: Update copyright notice.
16427 * nis/rpcsvc/nis.x: Likewise.
16428 * nis/rpcsvc/nis_callback.h: Likewise.
16429 * nis/rpcsvc/nis_callback.x: Likewise.
16430 * nis/rpcsvc/nis_object.x: Likewise.
16431 * nis/rpcsvc/nis_tags.h: Likewise.
16432 * nis/rpcsvc/yp.h: Likewise.
16433 * nis/rpcsvc/yp.x: Likewise.
16434 * nis/rpcsvc/ypupd.h: Likewise.
16435 * nis/yp_xdr.c: Likewise.
16436 * nis/ypupdate_xdr.c: Likewise.
16437
2f3e3dc7
UD
16438 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16439 mainly the body of pmap_getport. Add parameters to specify timeouts.
16440 (pmap_getport): Use __libc_rpc_getport.
16441 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16442 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16443 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16444
f3dcc2f9
AS
164452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16446
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16448 fanotify_mark.
16449
6d34eb5b
RM
164502010-08-27 Roland McGrath <roland@redhat.com>
16451
16452 * sysdeps/i386/i686/multiarch/Makefile
16453 (CFLAGS-varshift.c): New variable.
16454
9ea3de11
UD
164552010-08-27 Ulrich Drepper <drepper@redhat.com>
16456
c96d23fc
UD
16457 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16458 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16459
9ea3de11
UD
16460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16461
16462 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16463
623aac7f
L
164642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/x86_64/strlen.S: Unroll the loop.
16467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16468 strlen-sse2 strlen-sse2-bsf.
16469 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16470 __strlen_no_bsf if bit_Slow_BSF is set.
16471 (__strlen_sse42): Removed.
16472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16473 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16474
8b2b7715
RM
164752010-08-25 Roland McGrath <roland@redhat.com>
16476
16477 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16478 * sysdeps/x86_64/multiarch/varshift.c: New file.
16479 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16480 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16481 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16482 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16483
e73015f2
L
164842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16487 strlen-sse2 strlen-sse2-bsf.
16488 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16489 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16490 (__strlen_sse2): Removed.
16491 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16494 bit_Slow_BSF for Atom.
16495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16496 (index_Slow_BSF): Define.
16497 (HAS_SLOW_BSF): Define.
16498
df24a73e
UD
164992010-08-25 Ulrich Drepper <drepper@redhat.com>
16500
16501 [BZ #10851]
16502 * resolv/res_init.c (__res_vinit): When no server address at all
16503 is given default to loopback.
16504
f2ac4868
RM
165052010-08-24 Roland McGrath <roland@redhat.com>
16506
09055553
RM
16507 * configure.in: Remove config-name.h generation.
16508 * configure: Regenerated.
16509 * config-name.in: File removed.
16510 * scripts/config-uname.sh: New file.
16511 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16512 ($(objdir)config-name.h): New target.
16513
f2ac4868
RM
16514 * sunrpc/rpc_parse.h: Avoid nested comment.
16515
73f27d5e
RH
165162010-08-24 Richard Henderson <rth@redhat.com>
16517 Ulrich Drepper <drepper@redhat.com>
16518 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16522 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16523 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16524 _mm_alignr_epi8 with _mm_loadu_si128.
16525 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16526 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16527 (__m128i_shift_right): Removed.
16528 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16529 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16530 * sysdeps/x86_64/multiarch/varshift.h: New file.
16531 * sysdeps/x86_64/multiarch/varshift.S: New file.
16532
84b9230c
MF
165332010-08-21 Mike Frysinger <vapier@gentoo.org>
16534
16535 * configure.in: Move assembler checks to before sysdep dir checking.
16536
9bbd0ddc
PB
165372010-08-20 Petr Baudis <pasky@suse.cz>
16538
16539 * LICENSES: Sync the sunrpc license.
16540
9da4bb31
UD
165412010-08-19 Ulrich Drepper <drepper@redhat.com>
16542
a7ab6ec8
UD
16543 * sunrpc/auth_des.c: Update copyright notice once again.
16544 * sunrpc/auth_none.c: Likewise.
16545 * sunrpc/auth_unix.c: Likewise.
16546 * sunrpc/authdes_prot.c: Likewise.
16547 * sunrpc/authuxprot.c: Likewise.
16548 * sunrpc/bindrsvprt.c: Likewise.
16549 * sunrpc/clnt_gen.c: Likewise.
16550 * sunrpc/clnt_perr.c: Likewise.
16551 * sunrpc/clnt_raw.c: Likewise.
16552 * sunrpc/clnt_simp.c: Likewise.
16553 * sunrpc/clnt_tcp.c: Likewise.
16554 * sunrpc/clnt_udp.c: Likewise.
16555 * sunrpc/clnt_unix.c: Likewise.
16556 * sunrpc/des_crypt.c: Likewise.
16557 * sunrpc/des_soft.c: Likewise.
16558 * sunrpc/get_myaddr.c: Likewise.
16559 * sunrpc/getrpcport.c: Likewise.
16560 * sunrpc/key_call.c: Likewise.
16561 * sunrpc/key_prot.c: Likewise.
16562 * sunrpc/openchild.c: Likewise.
16563 * sunrpc/pm_getmaps.c: Likewise.
16564 * sunrpc/pm_getport.c: Likewise.
16565 * sunrpc/pmap_clnt.c: Likewise.
16566 * sunrpc/pmap_prot.c: Likewise.
16567 * sunrpc/pmap_prot2.c: Likewise.
16568 * sunrpc/pmap_rmt.c: Likewise.
16569 * sunrpc/rpc/auth.h: Likewise.
16570 * sunrpc/rpc/auth_unix.h: Likewise.
16571 * sunrpc/rpc/clnt.h: Likewise.
16572 * sunrpc/rpc/des_crypt.h: Likewise.
16573 * sunrpc/rpc/key_prot.h: Likewise.
16574 * sunrpc/rpc/netdb.h: Likewise.
16575 * sunrpc/rpc/pmap_clnt.h: Likewise.
16576 * sunrpc/rpc/pmap_prot.h: Likewise.
16577 * sunrpc/rpc/pmap_rmt.h: Likewise.
16578 * sunrpc/rpc/rpc.h: Likewise.
16579 * sunrpc/rpc/rpc_des.h: Likewise.
16580 * sunrpc/rpc/rpc_msg.h: Likewise.
16581 * sunrpc/rpc/svc.h: Likewise.
16582 * sunrpc/rpc/svc_auth.h: Likewise.
16583 * sunrpc/rpc/types.h: Likewise.
16584 * sunrpc/rpc/xdr.h: Likewise.
16585 * sunrpc/rpc_clntout.c: Likewise.
16586 * sunrpc/rpc_cmsg.c: Likewise.
16587 * sunrpc/rpc_common.c: Likewise.
16588 * sunrpc/rpc_cout.c: Likewise.
16589 * sunrpc/rpc_dtable.c: Likewise.
16590 * sunrpc/rpc_hout.c: Likewise.
16591 * sunrpc/rpc_main.c: Likewise.
16592 * sunrpc/rpc_parse.c: Likewise.
16593 * sunrpc/rpc_parse.h: Likewise.
16594 * sunrpc/rpc_prot.c: Likewise.
16595 * sunrpc/rpc_sample.c: Likewise.
16596 * sunrpc/rpc_scan.c: Likewise.
16597 * sunrpc/rpc_scan.h: Likewise.
16598 * sunrpc/rpc_svcout.c: Likewise.
16599 * sunrpc/rpc_tblout.c: Likewise.
16600 * sunrpc/rpc_util.c: Likewise.
16601 * sunrpc/rpc_util.h: Likewise.
16602 * sunrpc/rpcinfo.c: Likewise.
16603 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16604 * sunrpc/rpcsvc/key_prot.x: Likewise.
16605 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16606 * sunrpc/rpcsvc/mount.x: Likewise.
16607 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16608 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16609 * sunrpc/rpcsvc/rex.x: Likewise.
16610 * sunrpc/rpcsvc/rstat.x: Likewise.
16611 * sunrpc/rpcsvc/rusers.x: Likewise.
16612 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16613 * sunrpc/rpcsvc/spray.x: Likewise.
16614 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16615 * sunrpc/rtime.c: Likewise.
16616 * sunrpc/svc.c: Likewise.
16617 * sunrpc/svc_auth.c: Likewise.
16618 * sunrpc/svc_authux.c: Likewise.
16619 * sunrpc/svc_raw.c: Likewise.
16620 * sunrpc/svc_run.c: Likewise.
16621 * sunrpc/svc_simple.c: Likewise.
16622 * sunrpc/svc_tcp.c: Likewise.
16623 * sunrpc/svc_udp.c: Likewise.
16624 * sunrpc/svc_unix.c: Likewise.
16625 * sunrpc/svcauth_des.c: Likewise.
16626 * sunrpc/xcrypt.c: Likewise.
16627 * sunrpc/xdr.c: Likewise.
16628 * sunrpc/xdr_array.c: Likewise.
16629 * sunrpc/xdr_float.c: Likewise.
16630 * sunrpc/xdr_mem.c: Likewise.
16631 * sunrpc/xdr_rec.c: Likewise.
16632 * sunrpc/xdr_ref.c: Likewise.
16633 * sunrpc/xdr_sizeof.c: Likewise.
16634 * sunrpc/xdr_stdio.c: Likewise.
16635
9da4bb31
UD
16636 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16637 handling.
16638
bdaa77bc
AS
166392010-08-19 Andreas Schwab <schwab@redhat.com>
16640
16641 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16642
fe2f79db
LM
166432010-08-19 Luis Machado <luisgpm@br.ibm.com>
16644
16645 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16646 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16647 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16648 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16649 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16650 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16651 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16652 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16654 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16655 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16656 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16657 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16658 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16659
b9b42ee0
AB
166602010-07-26 Anton Blanchard <anton@samba.org>
16661
16662 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16663 * malloc/arena.c (heap_trim): Likewise.
16664
1c06ba31
UD
166652010-08-16 Ulrich Drepper <drepper@redhat.com>
16666
16667 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16668 here. Not...
16669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16670 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16671
f8392f40
L
166722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 * sysdeps/i386/elf/Makefile: New file.
16675
3162f12e
AS
166762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16677
16678 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16679 from fanotify_init.
16680 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16682
28c90b2c
UD
166832010-08-15 Ulrich Drepper <drepper@redhat.com>
16684
16685 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16686 of strncasecmp_l.
1feccb6c 16687 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16688
ca6bb004
UD
166892010-08-14 Ulrich Drepper <drepper@redhat.com>
16690
e9f82e0d
UD
16691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16692 strncase_l-nonascii.
16693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16694 Add strncase_l-ssse3.
16695 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16696 * sysdeps/x86_64/strcmp.S: Likewise.
16697 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16698 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16699 * sysdeps/x86_64/strncase.S: New file.
16700 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16701 * sysdeps/x86_64/strncase_l.S: New file.
16702 * string/Makefile (strop-tests): Add strncasecmp.
16703 * string/test-strncasecmp.c: New file.
16704
16705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16706 warning.
16707
ca6bb004
UD
16708 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16709 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16710
052fa7b3
AS
167112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16712
16713 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16714
962dba78
UD
167152010-08-12 Ulrich Drepper <drepper@redhat.com>
16716
16717 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16720
bebff237
AM
167212010-05-01 Alan Modra <amodra@gmail.com>
16722
16723 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16724 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16725 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16726 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16727 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16728 tidying. Don't tail-call __sigjmp_save for static lib.
16729 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16730 save location.
16731 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16732 (CALL_MCOUNT): Add eh info, and nop after bl.
16733 (TAIL_CALL_SYSCALL_ERROR): New macro.
16734 (PSEUDO_RET): Use it.
16735 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16736 Correct save location of integer regs and cr.
16737 (_dl_profile_resolve): Correct cr save location. Delete nops
16738 after bl when SHARED. Reduce cfi size a little by better
16739 placement of cfi directives.
16740 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16741 make a stack frame. Instead use parm save area as a temp.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16743 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16745 Don't make a stack frame for parent, use parm save area.
16746 Increase child stack frame to 112 bytes. Don't save unused reg,
16747 and adjust reg usage. Set up cfi on error recovery and
16748 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16750 (__makecontext): Add dummy nop after jump to exit.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16752 Use correct parm save area and cr save, reduce stack frame.
16753 Correct cfi for possible PSEUDO_RET frame setup.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16755 Branch to local label emitted by PSEUDO_RET rather than
16756 __syscall_error.
16757
02637374
AS
167582010-08-12 Andreas Schwab <schwab@redhat.com>
16759
16760 [BZ #11904]
16761 * locale/programs/locale.c (print_assignment): New function.
16762 (show_locale_vars): Use it.
16763
c3e2f19b
UD
167642010-08-11 Ulrich Drepper <drepper@redhat.com>
16765
3cdaa6ad
UD
16766 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16767 field.
16768 (struct statfs64): Likewise.
16769 (_STATFS_F_FLAGS): Define.
16770 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16772 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16773 (ST_VALID): Define locally.
16774 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16775 __statvfs_getflags, use the provided value.
16776 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16777 __ASSUME_STATFS_F_FLAGS.
16778
754f7da3
UD
16779 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16780
10b3bedc
UD
16781 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16782 Add sys/fanotify.h.
16783 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16784 fanotify_mask for GLIBC_2.13.
16785 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16786 fanotify_init and fanotify_mark.
16787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16788 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16789
c08fb0d7
UD
16790 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16791 Add prlimit.
16792 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16793 prlimit64 for GLIBC_2.13.
16794 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16795 prlimit64.
16796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16797 syscall.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16800 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16803 add prlimit alias.
16804 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16805
15bac72b
UD
16806 [BZ #11903]
16807 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16808 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16809
c3e2f19b
UD
16810 * nss/Makefile: Add rules to build and run tst-nss-test1.
16811 * shlib-versions: Add entry for libnss_test1.
16812 * nss/nss_test1.c: New file.
16813 * nss/tst-nss-test1.c: New file.
16814
16815 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16816 (__nss_configure_lookup): Set appropriate entry in
16817 __nss_configure_lookup to true.
16818 * nss/nsswitch.h: Define enum with indeces of databases in
16819 databases and __nss_database_custom arrays. Declare
16820 __nss_database_custom.
16821 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16822 to avoid using nscd when custom rules are installed.
16823 * nss/getXXbyYY_r.c: Likewise.
16824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16825
16826 * nss/nss_files/files-parse.c: Whitespace fixes.
16827
f15ce4d8
UD
168282010-08-09 Ulrich Drepper <drepper@redhat.com>
16829
16830 [BZ #11883]
16831 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16832 * posix/fnmatch_loop.c: Likewise.
16833
d22e4cc9
AK
168342010-07-17 Andi Kleen <ak@linux.intel.com>
16835
16836 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16837 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16838 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16839 * Versions.def [GLIBC_2.13]: Add.
16840
805bc17d
UD
168412010-08-06 Ulrich Drepper <drepper@redhat.com>
16842
16843 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16844 Also fail if tpwd after pwuid call is NULL.
16845
5a42321d
ST
168462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16847
16848 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16849 when converting to ms.
16850
fd3ebeda
ST
168512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16852
16853 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16854 EOPNOTSUPP errors with ENOTTY.
16855 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16856 EOPNOTSUPP errors with ENOTTY.
16857
73507d3a
UD
168582010-07-31 Ulrich Drepper <drepper@redhat.com>
16859
16860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16861 Add strcasecmp_l-ssse3.
16862 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16863 strcasecmp.
16864 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16865 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16866 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16867
fe36dd02
UD
168682010-07-30 Ulrich Drepper <drepper@redhat.com>
16869
66f6765a
UD
16870 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16871
42e08a54
UD
16872 * string/Makefile (strop-tests): Add strcasecmp.
16873 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16874 strcasecmp_l-nonascii.
16875 (gen-as-const-headers): Add locale-defines.sym.
16876 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16877 * sysdeps/x86_64/strcasecmp.S: New file.
16878 * sysdeps/x86_64/strcasecmp_l.S: New file.
16879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16880 * sysdeps/x86_64/locale-defines.sym: New file.
16881 * string/test-strcasecmp.c: New file.
16882
fe36dd02
UD
16883 * string/test-strcasestr.c: Test both ends of the range of characters.
16884 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16885
48cbc0d6
RM
168862010-07-29 Roland McGrath <roland@redhat.com>
16887
76e6d6bc 16888 [BZ #11856]
48cbc0d6
RM
16889 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16890
880113d9
UD
168912010-07-27 Ulrich Drepper <drepper@redhat.com>
16892
16893 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16894 for ld.so.
16895
deb9cabb
AS
168962010-07-27 Andreas Schwab <schwab@redhat.com>
16897
16898 * manual/memory.texi (Malloc Tunable Parameters): Document
16899 M_PERTURB.
16900
1c7570ff
RM
169012010-07-26 Roland McGrath <roland@redhat.com>
16902
16903 [BZ #11840]
16904 * configure.in (-fgnu89-inline check): Set and substitute
16905 gnu89_inline, not libc_cv_gnu89_inline.
16906 * configure: Regenerated.
16907 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16908
24fb0f88
UD
169092010-07-26 Ulrich Drepper <drepper@redhat.com>
16910
16911 * string/test-strnlen.c: New file.
16912 * string/Makefile (strop-tests): Add strnlen.
16913 * string/tester.c (test_strnlen): Add a few more test cases.
16914 * string/tst-strlen.c: Better error reporting.
16915
16916 * sysdeps/x86_64/strnlen.S: New file.
16917
8e96b93a
UD
169182010-07-24 Ulrich Drepper <drepper@redhat.com>
16919
16920 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16921 lower-latency instructions.
16922
dbc676d4
UD
169232010-07-23 Ulrich Drepper <drepper@redhat.com>
16924
16925 * string/test-strcasestr.c: New file.
16926 * string/test-strstr.c: New file.
16927 * string/Makefile (strop-tests): Add strstr and strcasestr.
16928 * string/str-two-way.h: Don't undefine MAX.
16929 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16930
f6a31e0e
AS
169312010-07-21 Andreas Schwab <schwab@redhat.com>
16932
16933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16934 strcasestr-nonascii.
16935 (CFLAGS-strcasestr-nonascii.c): Define.
16936 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16937 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16938 Remove unused attribute.
16939
5dbc3b6c
RM
169402010-07-20 Roland McGrath <roland@redhat.com>
16941
16942 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16943 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16944 ld.so.cache was broken. With it, there is no way to disable dsocaps
16945 like LD_HWCAP_MASK can disable hwcaps.
16946
23d101d8
EPM
169472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16948
16949 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16950
cc9f2e47
UD
169512010-07-16 Ulrich Drepper <drepper@redhat.com>
16952
16953 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16954 call in strcasestr.
16955 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16956 __strcasestr_sse42_nonascii.
16957 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16958 strcasestr-nonascii.c.
16959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16960
77c1b069
LM
169612010-06-15 Luis Machado <luisgpm@br.ibm.com>
16962
16963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16964 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16967
440566c3
UD
169682010-07-09 Ulrich Drepper <drepper@redhat.com>
16969
16970 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16971 fcntl.
16972
5be9d05d
AS
169732010-07-06 Andreas Schwab <schwab@redhat.com>
16974
c30b7ee2 16975 [BZ #11577]
5be9d05d
AS
16976 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16977 dl_signal_cerror.
16978
8a492a67
UD
169792010-07-06 Ulrich Drepper <drepper@redhat.com>
16980
16981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16982 _PC_PIPE_BUF using F_GETPIPE_SZ.
16983
713df3d5
RM
169842010-07-05 Roland McGrath <roland@redhat.com>
16985
16986 * manual/arith.texi (Rounding Functions): Fix rint description
16987 implicit in round description.
16988
702e8f14
UD
169892010-07-02 Ulrich Drepper <drepper@redhat.com>
16990
16991 * elf/Makefile: Fix linking for a few tests to make recent linker
16992 happy.
16993
52ed8be9
AS
169942010-06-30 Andreas Schwab <schwab@redhat.com>
16995
16996 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16997 $(common-objpfx)libc_nonshared.a.
16998
f47c9a11
LM
169992010-06-21 Luis Machado <luisgpm@br.ibm.com>
17000
17001 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17002 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17003 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17004 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17005 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17006 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17007 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17008 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17023 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17024 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17025 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17026 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17027 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17028 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17029 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17030 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17031 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17032 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17033 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17034 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17049
6fb8cbcb
L
170502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17051
17052 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17053 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17054 * string/memmove.c (memmove): Renamed to ...
17055 (MEMMOVE): ...this. Default to memmove.
17056 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17057 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17058 (END_CHK): Define.
17059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17060 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17061 mempcpy-ssse3-back memmove-ssse3-back.
17062 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17064 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17065 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17066 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17067 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17068 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17069 * sysdeps/x86_64/multiarch/memmove.c: New file.
17070 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17071 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17072 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17073 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17074 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17076 Define.
17077 (index_Fast_Copy_Backward): Define.
17078 (HAS_ARCH_FEATURE): Define.
17079 (HAS_FAST_REP_STRING): Define.
17080 (HAS_FAST_COPY_BACKWARD): Define.
17081
4e733bac 170822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17083
17084 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17085 Restore proper fallback handling.
17086
63c4ed22
UD
170872010-06-19 Ulrich Drepper <drepper@redhat.com>
17088
ac2b484c
UD
17089 [BZ #11701]
17090 * posix/group_member.c (__group_member): Correct checking loop.
17091
63c4ed22
UD
17092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17093 OOM in getpwuid_r correctly. Return error number when the caller
17094 should return, otherwise -1.
17095 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17096 call returning > 0 value.
17097 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17098
765ade4b
AS
170992010-06-07 Andreas Schwab <schwab@redhat.com>
17100
17101 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17102 libc_nonshared.a from targets in modules-names.
17103
80da2e09
KS
171042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17105
17106 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17107 requires it.
17108
158db122
LM
171092010-06-10 Luis Machado <luisgpm@br.ibm.com>
17110
17111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17112 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17115
caa78cf8
AS
171162010-06-02 Andreas Schwab <schwab@redhat.com>
17117
17118 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17119
b2ef2c01
UD
171202010-06-14 Ulrich Drepper <drepper@redhat.com>
17121
17122 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17123 and F_GETPIPE_SZ.
17124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17129 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17130
fbd643b6
RM
171312010-06-14 Roland McGrath <roland@redhat.com>
17132
17133 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17134
f32f2869
JJ
171352010-06-07 Jakub Jelinek <jakub@redhat.com>
17136
17137 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17138 __REDIRECT followed by __THROW.
17139 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17140 * posix/getopt.h (getopt): Likewise.
17141
2a50c078
EPM
171422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17143
17144 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17145 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17146 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17147 in AT_FLAGS.
17148 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17149 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17150
eb5ad2eb
LM
171512010-05-28 Luis Machado <luisgpm@br.ibm.com>
17152
17153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17154
3c88fe1e
L
171552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 [BZ #11640]
17158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17159 Properly check family and model.
17160
d2f73151
TY
171612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17162
17163 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17164
ebd2e13d
LM
171652010-05-24 Luis Machado <luisgpm@br.ibm.com>
17166
17167 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17168
b32b8b45
UD
171692010-05-21 Ulrich Drepper <drepper@redhat.com>
17170
17171 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17172 symbol reference.
17173
9acbe24d
AS
171742010-05-19 Andreas Schwab <schwab@redhat.com>
17175
17176 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17177 symbol reference.
17178
f0ccf6ea
AS
171792010-05-21 Andreas Schwab <schwab@redhat.com>
17180
3d04ff3a
AS
17181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17182 and internal_recvmmsg.
17183 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17184 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17185 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17186 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17187
f0ccf6ea
AS
17188 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17189 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17190 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17191
5b08ac57
AS
171922010-05-20 Andreas Schwab <schwab@redhat.com>
17193
17194 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17195
4828935d
LM
171962010-05-17 Luis Machado <luisgpm@br.ibm.com>
17197
17198 POWER7 optimizations.
17199 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17200 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17201
373d545e
UD
172022010-05-19 Ulrich Drepper <drepper@redhat.com>
17203
17204 * version.h: Update for 2.13 development version.
17205
21a2b1ae
AS
172062010-05-12 Andrew Stubbs <ams@codesourcery.com>
17207
17208 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17209 exceptions. Return 0.
17210
3f7dcb2b
RM
172112010-05-07 Roland McGrath <roland@redhat.com>
17212
17213 * elf/ldconfig.c (main): Add a const.
17214
5f24d53a 172152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17216
a160f8d8
UD
17217 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17218 (args_options): Add no-idn option.
17219 (ahosts_keys_int): Add idn_flags to ai_flags.
17220 (parse_option): Handle 'i' option to clear idn_flags.
17221
5f24d53a
UD
17222 * malloc/malloc.c (_int_free): Possible race in the most recently
17223 added check. Only act on the data if no current modification
17224 happened.
265bb1ce
UD
17225
17226See ChangeLog.17 for earlier changes.